summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-08-21Enable symbol visibility on Linux, bringing a shared libfltk on par with ↵Lauri Kasanen
Windows. Also drops the size of libfltk.so nicely. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10236 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Sprinkle some more const on internal arrays. STR #3110Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10234 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Constify the pointers in some XPM images. STR #3108Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10233 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Mark a few symbols static. This is the bulk from STR #3111.Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10232 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Constify an internal table in Fl_Help_View. STR #3109Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Use system vsnprintf when possible, saves 2kb lib size.Lauri Kasanen
Currently with Linux guards, as the function seems to be broken in Windows. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Fix two typos in comments (test commit)Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10228 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-19Fix a comment, remove trailing white space.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10227 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-19Fix a typo (cut'n'paste error).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10226 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-03Fixes STR #3113 memory overrunGreg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10225 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-07-21Removed unused variable last_y to prevent this warning under mingw:Greg Ercolano
Compiling Fl_Text_Display.cxx... Fl_Text_Display.cxx: In member function 'void Fl_Text_Display::draw_line_numbers(bool)': Fl_Text_Display.cxx:2875:9: warning: variable 'last_y' set but not used [-Wunused-but-set-variable] git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-07-21Removed unused code strcnt() to prevent warnings w/mingwGreg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10222 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-07-16* Small doxygen doc improvements + elaborationsGreg Ercolano
* Small name change for new typedef. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-07-16* Modified the ScrollInfo structure for more modularity,Greg Ercolano
which helps doxygen docs be clear. * Changed loop in recalc_scrollbars() to loop thru /all/ children and skip over scrollbars, instead of assuming fix_scrollbar_order() has been called. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10220 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-07-10Fix for STR #3106: a tiled image could fail if the size of the tiled surface ↵Manolo Gouy
exceeded the size of the main screen. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10218 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-07-01Fix for STR #3101 to handle e.g. "foo.f[ld]" filters properly.Greg Ercolano
(Was only counting ',' style filters, not character oriented filters) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-30Changes brought in at r. 10046 make fluid crash when open or saving files ↵Manolo Gouy
with Fl_Native_File_Chooser on the WIN32 platform. The filter used by fluid "FLUID files \t*.f[ld]/n" makes Fl_Native_File_Chooser::parse_filter() crash. The present changes TEMPORARILY avoid this crash, but r. 10046 changes should be closely reviewed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-30Follow up to earlier commit. Missed one reference to fixcursor.Pierre Ossman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-30The SGI 320 is obsolete since many many years, so remove this codePierre Ossman
rather than try to port it to the new fancy cursor handling. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-28Fixed a menu-positioning problem where a menu window could appear on another ↵Manolo Gouy
screen than where expected. Occurred when one screen has negative x coordinates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-26Mac OS: a borderless, non-modal window was not created properly.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-24It's probably better to also change SendMessage into SendMessageWManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-24Fixed error when browsing for a directory and using a non-ascii starting ↵Manolo Gouy
directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-23Added const qualifier to remove compiler warnings.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-23Since fl_cursor_wait.xpm is used only on Mac OS, draw it the Mac way.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-21Removed non-standard allocation of variable-sized array on the stack.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-20GTK file chooser: set correct current directory when selecting for a folder.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10203 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-20GTK file chooser: honor request of current directory for the file chooser.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10202 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-19Fixed a possible crash of the GTK file chooser.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-18Sets the return type of Fl_Image_Surface::image() to its real value, ↵Manolo Gouy
Fl_RGB_Image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-17Fix inverted logic. It's the even depth values that include alpha.Pierre Ossman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10199 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16Make sure the XPM files define const char arrays to avoidPierre Ossman
compiler warnings. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16Add ability to set custom icons for windows. STR #2816.Pierre Ossman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16Add method to set any custom cursor, based on a Fl_RGB_Image object.Pierre Ossman
Also change our fallback cursors to use this method, so that fallback cursors are handled in a platform independent manner. STR #2660. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16Make sure that modal and non-modal windows are at a higher levelPierre Ossman
than "normal" windows. This is mostly necessary when full screen windows are present as those are raised to a higher level in order to obscure the dock and main menu. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-15After r.10119 calling Fl_Window::make_current() within a widget's draw ↵Manolo Gouy
function created errors. This patch fixes that. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-14Fixed problem of upside-down text when compiling with SDK OS X 10.4Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-12Add ability to convert a Fl_Pixmap into a Fl_RGB_Image.Pierre Ossman
This is very convenient as a lot of other functions only accept a Fl_RGB_Image. Adding this functionality also required a bit of spring cleaning in the the drawing routines. STR #2659. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-11canBecomeMainWindow() is not absolutely necessary, but it makesPierre Ossman
the window decorations behave better by properly graying out windows that will have their input stolen by a modal one. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-11Behave better when it comes to modal windows. Primarily thisPierre Ossman
makes sure that windows are decorated better when a modal window is active. STR #2802. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-11Support for full screen over multiple monitors.Pierre Ossman
The API follows that of EWMH, which gives you a good control over which monitors to use. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-10Windows' clipboard chain is a very fragile thing that canPierre Ossman
easily break if an application misbehaves and/or crashes. So to minimise risk, don't register ourselves unless we really need to. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-10We are required to pass along WM_CHANGECBCHAIN messages to thePierre Ossman
next window in order for the chain to properly update. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-07STR #3088: make Fl_Native_File_Chooser use the standard GTK file dialog when ↵Manolo Gouy
available. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-01Fixed D&D to FLTK broken by recent commits.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10181 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-01Fixed source formatting error.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-01Restore D&D of filenames that was broken in recent commits.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-30Removed -Wuninitialized compilation warning.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-29Fl::clipboard_contains(): handle now properly the case when there's nothing ↵Manolo Gouy
in the clipboard. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-29Avoid crash when XftFontOpenPattern() returns NULL.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121