Commit Graph

5220 Commits

Author SHA1 Message Date
Manolo Gouy
682a8fc062 Mac OS: use cmd-A and cmd-C to select all and copy (instead of ctrl-A and ctrl-C).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-26 07:42:07 +00:00
Manolo Gouy
77e393f9b6 Added %%PageBoundingBox clause in each PostScript page so Evince, the Gnome doc
viewer recognizes page formats.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-20 13:23:05 +00:00
Manolo Gouy
258949918c Added reference to print_window() to the doc of the Fl_Printer class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-20 07:53:06 +00:00
Albrecht Schlosser
6027f410ed Fixed Windows DLL import of fl_xid() (STR #2670)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-18 12:29:49 +00:00
Manolo Gouy
c5784d139d Fix STR #2671: added missing object deallocation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-18 08:36:16 +00:00
Manolo Gouy
29d9c40dea Removed Doxygen documentation of function Fl_File_Chooser::browser() that 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-17 11:39:25 +00:00
Matthias Melcher
07cb1667ad Formatting
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8815 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:11:18 +00:00
Matthias Melcher
2b6b6a6104 Fixed Copyright (I think I got it. Ya know, computers are not so much my thing...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:08:35 +00:00
Albrecht Schlosser
b36b3dd155 fix svn properties
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:07:15 +00:00
Matthias Melcher
189a563ef0 Fixed Copyright (another try - sorry!)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:05:00 +00:00
Matthias Melcher
a998fa5114 Fixed Copyright (damn, why does it not updae the ID?)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:02:55 +00:00
Matthias Melcher
fb1f981c39 Fixed Copyright (2
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:02:14 +00:00
Matthias Melcher
5415e0ec09 Fixed Copyright
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:01:30 +00:00
Manolo Gouy
6475f1a424 Fix STR #2668.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 13:31:25 +00:00
Manolo Gouy
598057f079 Fix STR #2665: Mac OS: use bundle name when available.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 12:35:32 +00:00
Manolo Gouy
82e53806aa Fix STR #2664.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 11:13:59 +00:00
Albrecht Schlosser
5e7fea33d9 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8802 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-11 09:11:08 +00:00
Manolo Gouy
0aafa58701 Fix STR #2661: fluid may crash when printing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-10 13:37:07 +00:00
Matthias Melcher
d2e2ed7e2b STR #2651: fixed line ending in SVN settings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-09 16:21:40 +00:00
Matthias Melcher
6a5026055f Tooltip test
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-08 14:35:22 +00:00
Manolo Gouy
b95f1c40bb Corrected typo in Doxygen data.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-08 10:47:03 +00:00
Manolo Gouy
75c9d386fa Fix STR #2657: repaired indentation error in fluid-output code.
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-07 11:41:36 +00:00
Manolo Gouy
7feb5a9dfe Added "Show hidden files" check button to the file chooser panel.
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-06 16:11:22 +00:00
Manolo Gouy
9223527992 Mac OS: allow internationalization of file dialogs (continued).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-06 12:11:04 +00:00
Albrecht Schlosser
c53313ac6e Fix potential NULL pointer dereference, if !XineramaIsActive(...).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-06 09:37:21 +00:00
Albrecht Schlosser
385ab5f354 - Removed "makefiles" directory, including obsolete Makefiles for MinGW
and OS/2.
- Removed references to files in makefiles/ from README.
- Fixed spelling errors in README


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-06 08:29:00 +00:00
Matthias Melcher
4236124af2 STR 2655: applied commited patch. Looks good to me.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03 19:51:19 +00:00
Manolo Gouy
6fde8226fa Mac OS: allow internationalization of file dialogs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03 16:08:42 +00:00
Manolo Gouy
f5de82aac5 Fix STR #2654.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03 14:07:52 +00:00
Manolo Gouy
ad73700388 Fix STR #2653: (Mac OS only) filters in file chooser panels have now the form filter_name (pattern)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03 10:06:27 +00:00
Manolo Gouy
965e81fc87 Fixes bug entitled "Fl::event_text() omitted for keyups?" in fltk.development.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-03 09:12:07 +00:00
Manolo Gouy
b87078e02d Fix STR #2656: removed compilation warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-02 08:06:09 +00:00
Manolo Gouy
bd1e9c8ca3 Fix STR #2652: Mac OS-specific bug in Fl::remove_fd().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-31 11:20:52 +00:00
Manolo Gouy
1bef30d503 Fix STR #2647: crash when copying text from firefox under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-30 16:47:48 +00:00
Manolo Gouy
2e397fcd81 Fix STR #2649: fl_measure() did not handle well double @@ at line start.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-30 16:08:46 +00:00
Albrecht Schlosser
8c6864adea Fixed silly missing dependencies that prevented successful fltkdll builds
with VisualC2008. Works w/o errors and warnings for Release build, but
issues lots of warnings about "missing debug info for referencing module"
for Debug build (I have no idea how to solve these). Anyway, everything
builds "successful" now.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-30 12:56:02 +00:00
Manolo Gouy
18a902ca31 Fix Fl_Paged_Device::print_window(), Fl_Window::decorated_w() and 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-30 12:33:51 +00:00
Manolo Gouy
39998a972c Fix for STR #2648 continued: Fl_Window::decorated_w() and 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-29 18:01:17 +00:00
Manolo Gouy
84a025b174 Fix for STR #2648: when compiz is used, the window's parent is the root 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-29 17:34:57 +00:00
Manolo Gouy
493accc905 Attempt to fix STR #2648 by testing all X-API return codes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-29 16:29:09 +00:00
Matthias Melcher
76454cb77b #2646: improved queries for screen sizes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-26 13:48:00 +00:00
Albrecht Schlosser
9846e7879c Fix constructors for VC++ DLL builds (STR #2645).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-24 20:00:56 +00:00
Albrecht Schlosser
203f4d8c7e Fix STR #2643: derefenced NULL pointer, if Xinerama is available, but inactive.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8733 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-24 10:20:25 +00:00
Albrecht Schlosser
c690c6fb1c Fix STR #2637, part 2: accessing pixel values beyond array bounds. 64-bit
converters to X image formats would access one more pixel per line
for images with odd widths.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-23 21:05:22 +00:00
Manolo Gouy
e86bbe4be8 Removes a compilation warning because of use of X->xid = NULL
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-23 19:40:23 +00:00
Albrecht Schlosser
4bea46c1ce src/screen_xywh.cxx: Fix STR #2637, part 1.
Fix array bounds error when Xinerama and Xlib disagree about number of screens.
Fix setting vertical resolution (dpi) of different monitors.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-23 19:16:16 +00:00
Albrecht Schlosser
0c8f264df0 Add FL_EXPORT to several classes to fix MS VC++ dll builds (STR #2632).
Remove FL_EXPORT from fl_clip_region() since this is an inline function
on all platforms (and issued a warning when building fltkdll with MS VC++).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-23 18:32:47 +00:00
Manolo Gouy
ea020f0081 Fix STR #2640: Fl::w() and Fl::h() are documented to return the width and height of the
main screen's work area (system-occupied space excluded); Fl::screen_xywh() functions
instead compute the full width and height of a screen.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8724 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-23 18:01:29 +00:00
Manolo Gouy
b3f6de1f37 Fix STR #2627: if an X11 window is externally destroyed, FLTK now reacts coherently
either deleting the corresponding FLTK window, or recreating the X11 window.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-23 16:49:02 +00:00
Ian MacArthur
4614fffc29 Rework the ifdefs for defining the appropriate value of WINVER in our builds.
In particular, ensure that if we redefine WINVER we undef it first (if it is already set) and also ensure that it is set before we include windows.h (by any hidden nested path!) in Fl.cxx.

Previously, we were hitting issues with WINVER being redefined in some build cases, e.g. with --enable-cairo set on a win32 build.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8722 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-23 16:06:13 +00:00