Fabien Costantini
32aba335c6
STR#3012 Fix: cairo_make_current(void*, int, int) would not release previously allocated cc in certain conditions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-11 06:16:57 +00:00
Manolo Gouy
0e8f2f786b
Removed use of deprecated NSStringPboardType constant.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-10 12:07:09 +00:00
Manolo Gouy
b11af6e5e1
Simplified the code that supports application opening by dropping file onto icon.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10024 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-09 12:12:26 +00:00
Manolo Gouy
076de1c617
Improved window printing by using a vectorial font for the window title.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-08 16:16:24 +00:00
Manolo Gouy
1f6585c15a
The FLView object is now released just after the setContentView message is sent.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-30 21:50:00 +00:00
Manolo Gouy
05dd61d4ee
Fix STR#3010: Program can crash under Mac OS when a dialog window is closed
...
if the opening of this dialog window made the previous window to be redrawn.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-29 18:14:49 +00:00
Manolo Gouy
8f34835c17
Explicit what unicode characters represent keyboard modifiers in menus on the Mac platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-25 10:05:05 +00:00
Manolo Gouy
6b67e50cbe
Bracket calls to timer callbacks with fl_lock_function()/fl_unlock_function() as occurs under WIN32 and X11.
...
This was also missing in the FLTK 1.1 carbon version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10019 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-13 15:49:48 +00:00
Greg Ercolano
88cea3c82d
o Added Fl_Tree::item_draw_callback(), letting one define a custom draw function for Fl_Tree_Item's.
...
o Added examples/tree-custom-draw-items.cxx to demonstrate its use.
o Fixed small doc error for recent Fl_Tree::get_selected_items()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-10 04:33:44 +00:00
Greg Ercolano
39a8ef3c4c
Updated CHANGES file with ABI mods.
...
Also: added release dates for all releases I could easily find copies of.
To determine release dates, I used e.g.
tar tvfz /net/software/fltk/fltk-1.1.1-source.tar.gz | sort --key=4 | tail
..the date stamps on the directories at the bottom of the report indicate
the date the tar file was created.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-09 21:28:51 +00:00
Greg Ercolano
33ab9cfed1
Fl_Tree:
...
o Added new method Fl_Tree::get_selected_items()
o Modified Fl_Tree_Item_Array to usable in a general way (i.e. beyond Fl_Tree's internal use)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-06 20:44:47 +00:00
Greg Ercolano
52d395ad81
Fix problem with Fl_Tree::select_only() invoking select callbacks
...
before all other items have first been deselected.
Also: added some related demo code to tree-simple to demonstrate
'reselect' callbacks, where a callback can be invoked when an item
that's selected already is 're-selected'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-06 20:12:08 +00:00
Manolo Gouy
2fd7086605
Improved the ordering of font names consistently grouping them by family (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10014 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-30 13:36:16 +00:00
Manolo Gouy
830f9eec89
Improved the ordering of font names consistently grouping them by family.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-30 12:03:49 +00:00
Manolo Gouy
8550d28608
After r.10011 that removed the q_name member from class Fl_Font_Descriptor, change in gl_font() was needed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-29 14:48:26 +00:00
Manolo Gouy
1ad6b09de7
Fix mac-specific STR#2999. Use PostScript font name to ask the system for a font, and full font name
...
to display a font name.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-29 12:46:51 +00:00
Greg Ercolano
f947042535
STR #2997 : Disable ESC from closing code window.
...
This drives VI users crazy; a comman 'save' pattern is:
(1) enter some code, (2) hit ESC, (3) type :w ENTER.
In VI these actions save the code entered.
in fluid it /dumps/ the code typed because ESC is a shortcut for the Cancel key.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-25 22:03:47 +00:00
Greg Ercolano
d2f83a42c2
Extension of r10008; fix width problem for "C declaration" button..
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-25 21:16:04 +00:00
Greg Ercolano
3f8ebf0ebb
Fix width problem with "C declaration" button
...
in the Function/Method Properties panel.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-25 21:14:42 +00:00
Manolo Gouy
4827a696df
Modified Fl_Paged_Device::print_window() so it works with any kind of Fl_Paged_Device instance.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-23 14:39:14 +00:00
Manolo Gouy
49e2f6e9db
Replaced one fopen() call by fl_fopen() to work correctly under MSWindows with non ASCII filenames.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-23 09:24:30 +00:00
Manolo Gouy
fb38d1cfda
Replaced fopen() by fl_fopen() calls so the app works correctly under MSWindows with non ASCII filenames.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-22 09:09:53 +00:00
Greg Ercolano
45d7ae0a4c
Fixes STR#2991: prevents crash when file browser
...
encounters an image that can't be loaded.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-21 04:58:43 +00:00
Greg Ercolano
da187139bc
STR #2991 : No functionality changed.
...
Simplify used_colors[]: replace uchar array with rgb struct.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-21 03:39:53 +00:00
Greg Ercolano
fb16febf3c
Fix brace indents, various code cosmetics/comments.
...
No functionality changed yet; preparation for STR #2991 mods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10002 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-21 03:33:11 +00:00
Greg Ercolano
a40aa8311b
While investigating STR#2991, noted (but did not remove) misleading comments.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10001 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-20 23:07:01 +00:00
Greg Ercolano
a5f2ef5ccd
When reading XPMs, don't parse more than 2 hex digits
...
in \xff style escape sequences.
Also, 10000'th commit. :P
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-20 22:35:31 +00:00
Greg Ercolano
da737bb10b
Avoid freeing NULL.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-20 20:17:13 +00:00
Albrecht Schlosser
e77c0cd47c
Small addition to fix for STR #2985 - see comment in source file.
...
Fixes a small potential of another leak.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-09 11:46:36 +00:00
Manolo Gouy
83e4329695
Added member function Fl_Sys_Menu_Bar::update().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-05 15:20:18 +00:00
Manolo Gouy
dc2f7ba034
Document the fl_sys_menu_bar global Mac OS-specific variable.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-05 15:06:39 +00:00
Greg Ercolano
2fcb616831
Added note regarding Windows not always handling
...
file: uris with anchor suffixes properly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-04 16:48:08 +00:00
Greg Ercolano
a8417b6eb8
Apply Michael Baeuerle's fix for NetBSD
...
(as per discussion on fltk.general Sep 24 2013, Subject: Potential problem in xutf8/utf8Wrap.c)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-25 21:09:00 +00:00
Manolo Gouy
ce0e298a8a
Removed some of the warnings mentioned in [fltk.coredev] New warnings with FLTK 1.3.x svn r9991
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-25 08:55:01 +00:00
Greg Ercolano
15367447cd
Fix some warnings for IRIX 6.5
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-24 19:58:24 +00:00
Manolo Gouy
99f2010dce
Remove errors with the Apple LLVM version 4.2 compiler.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-24 16:25:29 +00:00
Pierre Ossman
e1df29b852
Stop relying on uname and instead ask autoconf what platform
...
we are building for. This makes cross compiling things a lot
easier.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-24 09:10:04 +00:00
Manolo Gouy
1029debb66
Clarification of change in constant used for text-containing pasteboards across Mac OS versions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-24 08:27:10 +00:00
Greg Ercolano
92ad1fb62b
STR #2987 : Added Michael Baeuerle's docs for Sun/HP-UX/NetBSD/SunOS.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-23 21:01:05 +00:00
Greg Ercolano
497570c4fc
STR# 2973: removing ABI guard as per fltk.coredev discussion on Sep 21 - 23
...
with Manolo (Subject: ABI question)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-23 20:26:54 +00:00
Manolo Gouy
3d7d2938c7
Fixes the copy/paste implementation to run on many Mac OS versions.
...
Checked on 10.3, 10.5, 10.6 and 10.8
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-23 19:00:15 +00:00
Manolo Gouy
cedcc3f52e
Fixed implementation of paste with NSPasteboard that did not work well under Mac OS 10.5
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-23 15:01:54 +00:00
Greg Ercolano
25ff26df12
STR #2973 : Removed old HP-UX dummy() code in favor of typedef;
...
Skunk confirms compiles on two HP-UX variants as well as Sun.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-22 17:20:48 +00:00
Greg Ercolano
81dfeab19e
Fixed some odd/misleading code indent issues in this file.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-22 03:22:41 +00:00
Greg Ercolano
5d4fed1ef9
STR #2860 : Mods for full screen support.
...
Applied the fltk-1.3.x-screen_num.patch
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-22 02:33:17 +00:00
Greg Ercolano
bedb7fd6f0
Fixes STR# 2973: collection of Sun compiler fixes to Makefiles.
...
o Adds $(CXXFLAGS) to $(CXX) commands
o Implements older, more backwards compatible Bourne shell test(1) syntax for equality tests (= vs ==)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21 17:23:09 +00:00
Greg Ercolano
2082d7e197
Fixes STR# 2973: collection of Sun compiler fixes.
...
Applied str_2973_r9979_sun-fix-warnings-7.patch (with small mods)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21 16:41:23 +00:00
Greg Ercolano
2fc6c3a39b
Fixes STR #2985 : prevent memory leaks with XGetWindowProperty()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-20 03:36:02 +00:00
Greg Ercolano
67ed1a8da9
STR# #2973 : applied patch str_2973_r9958_sun-fix-errors-5.patch verbatim.
...
src/Fl_Tree_Item.cxx -- solve: "Fl_Tree_Item.cxx", line 614: Error: Initializing int& requires an lvalue.
FL/Fl_Preferences.H -- solve: "FL/Fl_Preferences.H", line 196: Error: Fl_Preferences::RootNode is not accessible from 0
FL/Fl_Tree_Item.H -- solve: "Fl_Tree_Item.cxx", line 614: Error: Initializing int& requires an lvalue.
test/unittests.cxx -- solve: "unittests.cxx", line 95: Error: The type "UnitTest*[]" is incomplete.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-16 20:25:14 +00:00
Greg Ercolano
578310dd0f
Fix Solaris warnings mentioned by Micha on fltk.coredev Sep 16 '13
...
in thread entitled "Re: STR 2636, clipboard notification".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-16 12:02:40 +00:00