Commit Graph

5061 Commits

Author SHA1 Message Date
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
Albrecht Schlosser
fa731c806c ide/VisualC2008:
Fixed unittests(d).exe name (was: unittest(d).exe).
  Added missing custom build rule to tree.fl in Release mode.
  Fixed fluid dependency (removed fltkdll), since this made fluid.exe build
  with fltkdll.dll (strange, the same config works in VisualC2010).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-22 17:33:03 +00:00
Albrecht Schlosser
8a03632e25 Documentation updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-22 09:45:40 +00:00
Manolo Gouy
2a9d1e7bec Fix STR #2638. The X11 part is simplified as suggested by Bill.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-21 21:55:59 +00:00
Manolo Gouy
695613433a Fix STR #2635 for Mac OS: allow fl_xid() even if window is not yet shown.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8708 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-21 21:31:35 +00:00
Albrecht Schlosser
fce1e80ee3 Fix potential crash in fl_xid() on Linux (STR #2635). This would
crash if called when a window is not shown().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-21 10:05:19 +00:00
Manolo Gouy
b87a0b7390 Added missing FL_EXPORT class declarations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-20 16:39:06 +00:00
Manolo Gouy
422a2570a8 Allows to set the chooser's type at construction time without calling the type(int) function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-19 15:40:43 +00:00
Manolo Gouy
a64c0dc9f3 Mac OS: implemented the effect of the 2nd arg of Fl_Window::label(label, iconlabel) - continued.
Now works also if called before the window is shown().

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-15 12:34:31 +00:00
Manolo Gouy
9e1a7079c3 Mac OS: implemented the effect of the 2nd arg of Fl_Window::label(label, iconlabel)
that sets the window name when it is iconized (or minimized).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-15 09:42:36 +00:00