summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-04-19Cosmetic improvement of image used when dragging non-text data.Manolo Gouy
Minimum OS version has been verified. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9892 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-18Cosmetic improvement of image used when dragging non-text data.Manolo Gouy
Minimum OS version still has to be verified. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9891 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-17Removed some unnecessary data duplication.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-17Updated describing comments.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-16Renamed src/Fl_Sys_Menu_Bar.cxx to src/Fl_Sys_Menu_Bar.mm because ↵Manolo Gouy
objective-c code is used (cont'd). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9886 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-16Renamed src/Fl_Sys_Menu_Bar.cxx to src/Fl_Sys_Menu_Bar.mm because ↵Manolo Gouy
objective-c code is used. Some code is transferred from Fl_cocoa.mm thus reducing somewhat this very large source file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-16Apply the *nix file-chooser patches from STR #2935.Ian MacArthur
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9884 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-15Removed processing of obsolete deadkey flag.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9882 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-15Reduced the usage of global variables.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9878 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12Switched to const_cast<> for calling as_window().Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12Small fixes to new top_window_offset() method as per discussion in STR #2948.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12fl_set_fonts_xft had a lower case, rather than upper case "S" in the switch ↵Ian MacArthur
so would not detect the SuperBold font style correctly. Also, do a bit of defensive clipping of the generated font name, in case we run off the end of the name buffer (if the input font name is infeasibly long...!) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10As per notes from STR#2948:Greg Ercolano
Moved top_window_offset() to being a member of Fl_Widget (was Fl_Window) and moved its code near implementations of top_window() and window(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9872 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10Solve STR#2948: Add new method Fl_Widget::top_window() to return the ↵Greg Ercolano
widget's top-level window. Docs for existing Fl_Widget::window() revised to clarify the difference between these two methods. Docs for window() also moved from .H -> .cxx as per CMP (docs should be where code implementation is). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10While suggesting a new top_window() method for STR#2948,Greg Ercolano
it's realized that for consistency, the recently added window_offset() method (a few days ago) should be renamed to top_window_offset(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-09Fix STR# 2772: remove dead code in fl_measure()Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08Solves STR #2939; adding when() support to Fl_Tabs.Greg Ercolano
Also added a general Fl_Tabs code example to the docs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08Fix for STR #2944 [2]: Fix Apple-specifc nested window problem for ↵Greg Ercolano
Fl_Gl_Window's. Added new method Fl_Widget::window_offset(x,y) to access the top-level window offset of the current widget. Open to alternative names for the new method. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08Fix STR# 2944 [1]: When an app uses overlays and gl_draw(),Greg Ercolano
gl_draw() would mess up the raster position affecting the Mac overlay emulation in swapbuffer code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9865 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-06Small comment mods regarding Fl_mac.cxx -> Fl_cocoa.mmGreg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-06Removing Fl_mac.cxx -- this code is no longer used.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-05File config.h is included with #include <config.h> in scandir.c as ↵Manolo Gouy
everywhere else. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29Code readability -- No logic was changed.Greg Ercolano
o Adjusted /*FALLTHROUGH*/ comments for clarity o Added /* NOTREACHED */ comment for clarity o Brace cosmetics git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9855 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29Document Fl_Tabs::value()'s integer return value.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29Documenting the public methods Fl_Tabs::push()Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-26Added docs for undocumented public 'which()' method.Greg Ercolano
Added a \todo marker for undocumented public 'push()' method. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23Default behavior of table /without/ ABI mods is to follow strict ruleGreg Ercolano
where Tab and Shift-Tab navigate off the table widget. This enables the Tab key to work properly with: o The test/table program; Tab can move focus to other input fields o With the foo_v2.cxx example code in STR#2862, Tab can navigate to/from the Fl_Input field git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23o Added tab_cell_nav() method to control Tab/Shift-Tab navigation of table ↵Greg Ercolano
cells. o Added move_cursor(R,C,shiftflag). Needed allow Shift-Tab not to create a reverse selection. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-17Added examples for Fl::option() methodsGreg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-06Oops! Forgot to update the copyright date.Ian MacArthur
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-06This check-in brings in the simplified version ofIan MacArthur
Michael Baeuerle's patch to restore scandir like operation on *nix like hosts that do not provide a native scandir implementation, notably SunOS and some others. STR #2931 refers... These changes are tested to have no effect on OSX, Win32 or Linux systems, and indeed on any system that has a working scandir implementation that configure can detect. Michael has released these changes to the fltk project, and they are licensed under our usual conditons. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-28Update version number in src/Makefile (STR #2932).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-19Introduced new Fl_Native_File_Chooser option USE_FILTER_EXT.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-19Introduced new Fl_Native_File_Chooser option USE_FILTER_EXT.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-14Fixes STR#2930:Greg Ercolano
Applying Chris's patch to fix d+d of text selections from Firefox/Thunderbird -> FLTK. Also applied Greg's fix for d+d of utf8 text in same use case. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-12Mac OS Fl_Native_File_Chooser: when saving with multiple filters, changing ↵Manolo Gouy
the file type changes the output file extension in the dialog window. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-11Mac OS save file dialog: display extension of preset file.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-09Mac OS text input: fixed processing of dead key followed by non-text key.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9817 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-08Mac OS text input: removed the Fl::marked_text_length() function that's not ↵Manolo Gouy
necessary. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-02Mac OS text input: a single FL_KEYBOARD event is now sent when processing ↵Manolo Gouy
dead keys. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-28Fix STR#2928: alt+e on US keyboard not processed correctly as shortcut on ↵Manolo Gouy
Mac OS. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-25Mac OS: added support for internationalization of the application menu.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-21Fixed STR#2921 by adding 2 missing colons.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-20Mac OS: changed memory allocation style of static NSBitmapImageRep* ↵Manolo Gouy
rect_to_NSBitmapImageRep(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-19Mac OS: fixed a crash when printing window with OS 10.5Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-19Mac OS: fixed processing of system menu shortcuts that had been partly ↵Manolo Gouy
damaged in r.9799, and fixed application menu with OS <= 10.3 that was duplicated. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-18r.9800 was a bad move; going back.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-18Simplification of the - (BOOL)[FLView ↵Manolo Gouy
performKeyEquivalent:(NSEvent*)theEvent] method. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-17Mac OS: reorganized the text input handling code. Added a detailed ↵Manolo Gouy
description of what the code does for this rather complex issue in comments. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16Removed compilation warnings with old Mac OS SDKsManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121