Manolo Gouy
34c69d3922
Fix for STR#3016: Fl_Input and Fl_Text_Editor have now the standard behavior when doing
...
drag-n-drop of text: if the dragged text is dropped in the widget it comes from, it's cut and pasted.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
12 years ago
Pierre Ossman
f7e88141c3
Catch WM_QUIT and convert it to SIGTERM. This gives Windows
...
applications a convenient way to request termination, rather
than forcing it. And it does so in a way that mimics UNIX's
way, allowing code reuse.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
12 years ago
Pierre Ossman
7bffc7bd3b
Add an autogen.sh script as is customary for autoconf based
...
projects. Also update the documentation to steer people to
use this scripts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
12 years ago
Manolo Gouy
c65852122c
Added informative comment to Fl_Paged_Device::print_window()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
12 years ago
Fabien Costantini
8edcf8f29f
STR#3012 Fix: cairo_make_current(void*, int, int) would not release previously allocated cc in certain conditions, fixed the extra cc non null test condition erronously formulated in previous submission.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Greg Ercolano
da737bb10b
Avoid freeing NULL.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago