Commit Graph

5361 Commits

Author SHA1 Message Date
Manolo Gouy
598e2cb63b MacOS: create a bundled version of all example programs with fltk-config --post
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-05 14:53:03 +00:00
Manolo Gouy
4b6613cbd2 Fix STR #2890: MacOS unbundled applications don't appear in dock nor menu bar (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-30 18:20:36 +00:00
Manolo Gouy
246157b51d Documented all changes from 1.3.1 release to 2012/11/25.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9733 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-26 11:59:14 +00:00
Greg Ercolano
09c80a3d7e Document mods for STR #2889
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9732 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-23 20:12:59 +00:00
Greg Ercolano
c853380472 Continued fix for STR#2889
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-23 20:07:22 +00:00
Manolo Gouy
0d97108c7a Extended copyright date range to 2012.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-22 10:06:18 +00:00
Manolo Gouy
4b3855f8c5 Fix STR #2890: MacOS 10.8 unbundled applications don't appear in dock nor menu bar
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-21 11:37:57 +00:00
Greg Ercolano
84f374f805 Solves STR#2889, increases reusability of SetSize() in example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-20 18:32:59 +00:00
Manolo Gouy
c5baa8dac3 Removed useless tests of whether unsigned Fl_Color is < 0
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-20 12:29:46 +00:00
Manolo Gouy
98d5dd690d Mac OS: make clear that image capture from screen returns an image in premultiplied RGBA format (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-17 14:57:55 +00:00
Manolo Gouy
9adccd6df6 Mac OS: make clear that image capture from screen returns an image in premultiplied RGBA format.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-15 12:28:29 +00:00
Manolo Gouy
302200668b Fixes STR #2887: Fl_Scroll widget fails under Mac OS X 10.8 on MacBook Pro with retina display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-15 08:30:44 +00:00
Greg Ercolano
272514cebf Fixes STR#2886: prevents scrollbars from drawing
when widget is sized too small to be visible.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 21:29:12 +00:00
Manolo Gouy
674b2475b9 Documentation: repair some instances of documented functions that did not appear in the index.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9719 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 14:45:42 +00:00
Manolo Gouy
155e099f4a Documented how to make a Mac OS FLTK application launchable by dropping files on its icon.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 13:03:20 +00:00
Manolo Gouy
82878a7225 Fix a Mac OS bug appeared with OS X 10.8: when a file is dragged on the application icon,
a delay of several seconds occur until the first application window opens (cont'd).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 09:34:54 +00:00
Manolo Gouy
e8f8434054 Fix a Mac OS bug appeared with OS X 10.8: when a file is dragged on the application icon,
a delay of several seconds occur until the first application window opens.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-12 15:57:39 +00:00
Manolo Gouy
73069f9fdb Fix STR#2884: Fl_PNG_Image made from static memory will forget share name (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-10 09:01:16 +00:00
Manolo Gouy
54d5327958 Fix STR#2884: Fl_PNG_Image made from static memory will forget share name
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-10 08:31:35 +00:00
Manolo Gouy
cff8941836 Fix STR#2881: the new static function Fl_RGB_Image::max_size(size) allows to control the maximum
memory size allowed when creating an Fl_RGB_Image.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-09 16:02:08 +00:00
Matthias Melcher
8701434312 Upgrade version number to 1.3.1
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 21:13:54 +00:00
Matthias Melcher
78039ecb55 Replaced 10302 with 10301 for FLTK_ABI_VERSION
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 20:46:14 +00:00
Manolo Gouy
00ed897277 Documented the fl_open() utility function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-19 11:23:51 +00:00
Manolo Gouy
406bafecc6 Documented the fl_fopen() utility function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-19 09:23:05 +00:00
Manolo Gouy
702b452540 Fix STR#2857: screen_xywh() mouse pointer functions may initially return wrong data.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-18 12:56:31 +00:00
Manolo Gouy
9788ee6709 Fix STR #2859: after a window resize refused by the window manager, the window becomes freezed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-16 15:35:34 +00:00
Manolo Gouy
d277fa4a2f Use the function Fl_Menu_Item::argument(long) where it's useful.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-08 10:32:05 +00:00
Manolo Gouy
5e5fb530a2 Fix for STR#2877: try to load libXrandr.so.2
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-10-04 17:08:23 +00:00
Manolo Gouy
91a300f6b6 Added missing use of NSAutoreleasePool object in calc_mac_os_version().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-28 08:07:47 +00:00
Manolo Gouy
74496aa2cc Removed several deprecation warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-27 12:49:39 +00:00
Manolo Gouy
6ec40d3676 Removed deprecation warning for FSCompareFSRefs().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-26 14:34:02 +00:00
Manolo Gouy
e59cab29d3 More accurate documentation of when the PostScript graphics driver uses vectorial fonts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-20 11:23:38 +00:00
Greg Ercolano
9ddc9f70a8 Changed example code to make widths[] array static, as per
problems reported in fltk.general thread on or around 09/12/12 ("Subject: Fl_Browser columns")..



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-17 22:44:54 +00:00
Manolo Gouy
7ee7973040 Fix for bug described in fltk.development "fl_scroll not copying all channels on OS X"
http://www.fltk.org/newsgroups.php?s13117+gfltk.development+v13134+T0
Sending the CGImage message to an NSBitmapImageRep object seems to be the solution
when Mac OS X >=10.5.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-17 09:00:22 +00:00
Manolo Gouy
703d78c4b0 Fixed CMake use for Mac OS and the scandir() function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-13 14:19:01 +00:00
Manolo Gouy
660a9ac0aa Fix STR #2868: removed file cmap.cxx from list of components of the fltk target
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-30 16:07:22 +00:00
Albrecht Schlosser
9f350c654f Remove more (Windows only) compiler warnings, similar to:
... deleting object of polymorphic class type 'FLDropTarget' which has
 ... non-virtual destructor might cause undefined behaviour
 ... [-Wdelete-non-virtual-dtor]


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-18 11:32:50 +00:00
Albrecht Schlosser
228e5a0dc2 Silence compiler warning: "... may be used uninitialized ..."
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-18 10:47:48 +00:00
Manolo Gouy
5fab123cd1 Corrected typo in doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-17 09:18:06 +00:00
Matthias Melcher
4a198a941c STR 2858: include statements were wrong
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-16 21:48:25 +00:00
Matthias Melcher
d751db12ff STR 2711: another try at fixing the text position in Menu_Button. The label does move a little bit to the left, so it may be necessary to make these buttons larger for long text. It does reduce the risk of overlapping text though.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-16 21:35:14 +00:00
Matthias Melcher
590c315081 STR 2730: avoid putting widgets into the delete list twice
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9666 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-16 20:59:36 +00:00
Manolo Gouy
fdb8fdfb2a Mac OS X: don't use the HAVE_SCANDIR_POSIX preprocessor variable because it has an
OS version-dependent value.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-14 09:23:22 +00:00
Matthias Melcher
4c11d57da7 OS X: fixed compilation on Xcode 4.4. Removed SDKROOT dependency on 10.6
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-06 08:16:37 +00:00
Manolo Gouy
bf6024175d Fixed compilation under Mac OS X 10.8 "Mountain Lion".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-01 08:43:20 +00:00
Greg Ercolano
71a2e6dd32 Doc fixes for resize() and fullscreen_off():
added variable names to prototypes so doxygen will doc them properly.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-26 00:40:37 +00:00
Greg Ercolano
dd966cb135 Doc fixes for Fl_Window::size_range().
Fixes STR#2863.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-26 00:30:25 +00:00
Matthias Melcher
4e0bc49713 Fixed fl_utf_strncasecmp etc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-24 19:49:37 +00:00
Matthias Melcher
398acd9c2a STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-24 04:37:22 +00:00
Greg Ercolano
e607c90877 Added docs to Fl_Sys_Menu_Bar to refer to fl_mac_set_about().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-23 15:31:38 +00:00