summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-01-09Removed compilation warning.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09First step to support CJK input under Mac OS: implementation of the function Manolo Gouy
firstRectForCharacterRange of the NSTextInput protocol. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8228 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09Added missing static function qualifierManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8225 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09Corrected typosManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8224 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09STR 1760: using the alt modifier on OS X to access menubar accelerators.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-08Removed unused (but unnecessarily incremented and decremented)Albrecht Schlosser
timeout counter variables and improved comment. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07Fix to take care of Cygwin that uses UTF-16 as well as native Windows,Albrecht Schlosser
i.e. sizeof(wchar_t) = 2, and Unicode is UTF-16 with surrogate pairs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07Removed compilation warning in fl_font_win32.cxxManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07Removed requirement of Mac OS 10.4 because of use of [NSScreen ↵Manolo Gouy
userSpaceScaleFactor] git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07STR #2505: Fixed double string conversion.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07src/screen_xywh.cxx:Albrecht Schlosser
Fix X11 screen_init() if Xinerama is available, but not active. Still investigating why there are nonsense dpi values under Cygwin/X11, but maybe this is an X server problem. test/hello.cxx: Extended test statements - don't forget to remove before release. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07fix build with xineramayuri
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07Fix STR #2505. This allows bad UTF-8 strings to be displayed under X11+Xft ↵Manolo Gouy
without crash. Any string is converted to Unicode (to UTF-16 under Cygwin) by fl_utf8decode() within the fl_draw() and fl_width() functions, and the converted data is drawn/measured. fl_utf8decode() accepts any byte input, even bad UTF-8. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07DPI fixed for X11Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07DPI fixed for Xinerama?Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07DPI fixes for MSWindows GDIMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07First attempt at finding the screen pixel sizes. Can't test Xinerame, ↵Matthias Melcher
MSWindows, or X11 yet. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and ↵Manolo Gouy
USE_CAIRO by FLTK_USE_CAIRO everywhere. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06Classes Fl_Printer and Fl_Postscript_Printer: added missing class_name() calls.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05Fix STR #2507. Applied supplied patch modified for Mac OS X. Checked OK on ↵Manolo Gouy
Linux. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05Renamed Fl_Device::type() to Fl_Device::class_name() to avoid conflict or ↵Manolo Gouy
confusion with Fl_Widget::type(). Added a setter function Fl_Device::class_name(const char *). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04Better position of the Fl_Printer class in the Fl_Device class hierarchy.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04Some minor doc changes to avoid doxygen warning.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03Fixed warning in Fl_Gl_Choice.cxxManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03Mac OS X: removed all uses of Carbon (except for older OS versions) and ↵Manolo Gouy
re-organized text input around the NSTextInput protocol. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-31STR 2501: fixed freeing of incremented pointer.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-30Fix STR #2498: removed run-time array allocations.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8143 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-30Updated dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-29Mac OS X: keep Mac-specific fl_beep() code in file src/fl_ask.cxxManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8136 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-29Mac OS X: removed dependency from AudioToolbox.framework by calling NSBeep() ↵Manolo Gouy
from Cocoa. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28Win32 right-to-left text: output whole string to obtain correct ligatures ↵Manolo Gouy
between Arabic letters. This new algorithm is not coherent with fl_width() but allows minimal usage of fl_rtl_draw(). The utf8 demo shows the effect of this change. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28Use device abstraction for colors.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28Use device abstraction for image drawing.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28Added right-to-left text drawing to PostScript graphics driver.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28Use device abstraction for font and text drawing.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27Updated dependenciesAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27Removed useless statements.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27Finishing up STR#2479 as per Manolo/Greg/Albrecht conversation.Greg Ercolano
We return 0 for all unused keystrokes in Fl_Input. So instead of 'return 1: absorb keystroke and ignore', we're going with 'return 0: ignore keystroke and let parent have a shot at it'. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23Adopted use of FL_LIBRARY #define symbol under Mac OS X. This allows to compileManolo Gouy
client applications without including Mac OS system headers, with a gain in speed of compilation and portability. The source files of all FLTK libraries must now be compiled with -DFL_LIBRARY under Mac OS X. Make, CMake and Xcode project support files have been modified accordingly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23Doc changes: mention that FL_COMMAND modifier exists in doc of the ↵Manolo Gouy
Fl_Menu_::add() function. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22Fixes to ensure readonly() widget is not modified by destructive keyboard ↵Greg Ercolano
functions. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22Added Fl_Tabs::client_area() (STR #2480).Albrecht Schlosser
Fixed some typos in CHANGES. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22Make sure not to call XFree with NULL pter.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8098 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22Fix STR #2474. This allows an FLTK application to be started at X startup ↵Manolo Gouy
and to respond to X input methods even if the XIM server starts after the application. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8097 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20Removed unnecessary function call (the result is always 1).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20#2490: attempt to fix the issue. PLease test on 1.3 w/X11Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8076 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20Recent changes to the include files meant that numericsort would no longer ↵Ian MacArthur
compile on WIN32 (at least under MSYS/mingw.) This change reintroduces the ref to filename.H, but ONLY for WIN32 compiles. This seems to allow numericsort to build once again, though I am unsure that this is the correct fix! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8074 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20change __linux__ to USE_X11 fix STR #2437yuri
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8071 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20Added new tab_nav() control for Fl_Multiline_Input tab navigation behavior.Greg Ercolano
New default behavior is what most users expect; hitting Tab navigates over the widget. Fl_Input modified to support the new flag. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20Removed emacs shortcuts from Fl_Input,Greg Ercolano
conformed Fl_Input keystrokes to native environment (much research went into this, citations included). Tested editing functions on all three platforms. Doxygen docs updated. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8067 ea41ed52-d2ee-0310-a9c1-e6b18d33e121