summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-09-04Fixed Mac OS crash when using Fl_Native_File_Chooser with filter that does ↵Manolo Gouy
not end with \n. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-02Before deleting a window, it's better to check whether it contains the ↵Manolo Gouy
currently focused NSView, and unlock focus there. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-30Fixed fl_pie() drawing too small on X11 (STR #2703)Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-19Fix window positioning on screen (Fl_X::fake_X_wm()) by testing theAlbrecht Schlosser
entire window area instead of the top left corner only to find the screen to put the window on (Windows only). Note that this *should* be changed to use the work area instead of the screen area, as discussed in fltk.development. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-18Initial fixes for window position at or beyond (0,0) under win32.Ian MacArthur
This is not the whole story, but is better. We were messing up the initialisation of num_screens on Win32 in that it was being set to a non-zero value by a call to GetSystemMetrics(SM_CMONITORS) but was then subsequently incremented even higher by each iteration call to the screen_cb(...) function, so what we were storing for the screen rectangles was a bit messed up. Under fltk-1.1, the code used to explicitly reset num_screens to zero before starting to iterate the screen_cb(...) function, so that worked OK. I have sort-of restored that behaviour, and removed the (now redundant) call to GetSystemMetrics(SM_CMONITORS) since we *always* enumerate the monitors now to get the per-screen DPI values out. I've also put in a commented out stub where we could store the per-screen work-area, which it seems we do also need now, though I have not yet contrived to actually implement that. Volunteers welcomed... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-08Fix STR #2695 (continued). Use of Fl::x() is appropriate only under Mac OS.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-08Fix STR #2688. fl_width(' ') was wrong under X11 without XFT.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-08Fix STR #2695: to scroll menus properly, use Fl::x(),y(),w() and h() ↵Manolo Gouy
functions that return the work area rather than the screen size. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-03Add a #warning to scandir.c with the intent of trying to flag up which,Ian MacArthur
if any, hosts actually use this code now. Will only trigger on hosts using gcc though, so may not help at all... This is part of trying to remove this (possibly) not fltk license compliant code from the codebase. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-03fix typo in debug output, as per #2690Ian MacArthur
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-20Fixed crash under Solaris if no printer is defined.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-20Fixed Fl_Menu issue with unusual menu flags (STR #2680).Albrecht Schlosser
Setting some flags in a terminating Fl_Menu_Item (one with a NULL label/text/name) caused an endless loop. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Mac OS: Greatly simplified the open document handler.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8865 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(to clarify static exception LGPL by changing license references) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-17Fixing STR #2679; Fl_Table makes use of FLTK's Fl::scrollbar_size() global.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-13Under X11, allow to call printable_rect() before any start_page() call.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-11Mac OS: fix STR #2666 allowing to display copyright info in the default ↵Manolo Gouy
About window. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-11Mac OS: added missing lock/unlock pairs when running system menu items.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-11Mac OS: Added missing lock/unlock calls in Fl_Paged_Device::print_window().Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-04Added initial value of _driver member in Fl_Printer constructor.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-04Fl_Paged_Device::print_window() now works with any output surface on Mac ↵Manolo Gouy
platform. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-04Arguments x_offset & y_offset of function Fl_Paged_Device::print_window() ↵Manolo Gouy
were partially ignored by the Mac version. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-26Mac OS: use cmd-A and cmd-C to select all and copy (instead of ctrl-A and ↵Manolo Gouy
ctrl-C). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-20Added %%PageBoundingBox clause in each PostScript page so Evince, the Gnome doc Manolo Gouy
viewer recognizes page formats. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-18Fixed Windows DLL import of fl_xid() (STR #2670)Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-18Fix STR #2671: added missing object deallocation.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-17Removed Doxygen documentation of function Fl_File_Chooser::browser() that ↵Manolo Gouy
had been removed at r. 8785. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8817 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16Fix STR #2668.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16Fix STR #2665: Mac OS: use bundle name when available.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16Fix STR #2664.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-11Update dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8802 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-08Tooltip testMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-07Fix STR #2657: repaired indentation error in fluid-output code.Manolo Gouy
Also changed copyright year to 2011. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-06Added "Show hidden files" check button to the file chooser panel.Manolo Gouy
This had been previously done in r.8282 and r.8286 without accounting for the existence of the Fl_File_Chooser.fl file. With this commit, files Fl_File_Chooser.{cxx, H} are properly generated by Fl_File_Chooser.fl git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8785 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-06Mac OS: allow internationalization of file dialogs (continued).Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-06Fix potential NULL pointer dereference, if !XineramaIsActive(...).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03STR 2655: applied commited patch. Looks good to me.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03Mac OS: allow internationalization of file dialogs.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03Fix STR #2654.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03Fix STR #2653: (Mac OS only) filters in file chooser panels have now the ↵Manolo Gouy
form filter_name (pattern) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03Fixes bug entitled "Fl::event_text() omitted for keyups?" in fltk.development.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-31Fix STR #2652: Mac OS-specific bug in Fl::remove_fd().Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-30Fix STR #2647: crash when copying text from firefox under X11.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-30Fix STR #2649: fl_measure() did not handle well double @@ at line start.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-30Fix Fl_Paged_Device::print_window(), Fl_Window::decorated_w() and ↵Manolo Gouy
Fl_Window::decorated_h() when the window is iconized for all platforms. Also, factorized some duplicated code in src/Fl_x.cxx. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-29Fix for STR #2648 continued: Fl_Window::decorated_w() and ↵Manolo Gouy
Fl_Window::decorated_h() are also involved in this fix. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-29Fix for STR #2648: when compiz is used, the window's parent is the root ↵Manolo Gouy
window, not the title bar-containing window, so we resign printing the window decoration. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-29Attempt to fix STR #2648 by testing all X-API return codes.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-26#2646: improved queries for screen sizes.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-24Fix constructors for VC++ DLL builds (STR #2645).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121