Matthias Melcher
0b98e816d8
Fixed crash in Fl_Preferences if 2nd or 3rd argument in the 'path' constructor were NULL
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 04:34:18 +00:00
Matthias Melcher
a82e7879ce
STR #1232 : it was not possible to toggle a checkbox in Fl_Check_Browser by clicking the same box twice.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 03:53:41 +00:00
Matthias Melcher
49791adf78
Added '&255' to 'isspace(*p)' calls in order to avoid problems with signed int vs. unsigned char.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 03:21:32 +00:00
Matthias Melcher
afbe855296
STR #1231 : moved clearing of resources out of Fl::run() into a static class destructor. Although this should work, I was unable to test this (no Windows machine at this time). Also, since the order in which static destructors are called is undefined, this code can still lead to a crash if the main window was alos statically allocate in global space. Suggestions welcome.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 03:11:47 +00:00
Matthias Melcher
9460fcc375
STR #1233 : previous timer implementation on Mac OS X was eating up various resources. The new implementation will return Timer and UPP to the system, or just reprogram a timer for efficiency, where possible.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 03:02:37 +00:00
Matthias Melcher
9a2ca6b701
Fixed forgotten line from previouos commit
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-19 13:57:46 +00:00
Matthias Melcher
1df4a9fb4a
STR #1195 : It was not possible to enter a whole range of characters on Mac OS X, including umlauts, etc. . The changes in this patch should not only allow the FLTK way of composing characters, but also support the Mac way of composing including the dead-key preview.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-19 03:00:26 +00:00
Matthias Melcher
c9908d97e3
THIS FIX CONTAINS TWO MORE FILES THAT MUST BE COMPILED. I would
...
like to ask the maintainers of the build environments to please
add these files to the setup:
src/fl_encoding_latin1.cxx
src/fl_encoding_mac_roman.cxx
I ADDED SOME DOCUMENTATION THAT NEEDS TO BE FIXED. Beeing not a
native English speaker, I have a hard time writing documentation.
Would someone please update my babbeling in
documentation/drawing.html? Thanks.
This commit fixes some very basic problems with OS X's code page in
preparation for the compose-character keyboard fix. It also fixes
issues with MS Windows and X11 not rendering the characters
in the Western (Latin-1) set between 0x80 and 0x9F. In the original
ISO font, they were unused, but are now assigned to international
characters like the Euro currency sign.
This patch also tries to fix one basic flaw with FLTK 1 and
font encoding. I will not put much more work into this because
FLTK 1.2 and FLTK 2 fix the problem entirely by using UTF-8
instead of 8-bit "C"-style strings.
All these changes are only meaningful for foreign language
users or users of special characters like the Euro, the Degree
or the Permille symbol. A short explanation follows.
Max OS X uses a different code page than X11 and Win32. This means
that all characters above 0x7f have an entirely different meaning.
If your source code contains international characters, your
text will appear different if you change to another OS. This patch
provides two functions that convert text with international
characters from the character set of the source code into the
local character set. Two more functions are provided to convert
them back. The functions are fl_latin1_to_local (source is in Win32
or X11), fl_mac_roman_to_local (source was written on OS X) and the
corresponding fl_local_to_latin1 and fl_local_to_mac_roman, which
are very useful if yoou want to store strings with intl. characters
that will be moved between systems.
All this is assuming a "Western" code page as it is common in
the Americas and most of Europe. User of other languages will have
to use FLTK 2.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-18 13:07:42 +00:00
Matthias Melcher
e682ec6339
Allowing characters between 0x80 and 0x9f to be enetered into Fl_Input_ derived widgets. Although these were not defined in the western ISO code page, they seem to be implemented in most X11 drivers now as MSWindows Latin-1. For example, the Euro symbol is at 0x80. It should now be possible to enter the Euro sign and other chars in this range correctly. Please verify.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4971 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-17 17:56:05 +00:00
Matthias Melcher
1184d7eee6
Changed special handling on ISO characters 0x80 to 0xA0 for OS X, since this characters must be handled as standard characters here.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4957 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-15 16:19:54 +00:00
Matthias Melcher
eea06b4d6f
in preperation of STR#1195: On OS X, we don't need to do the octal conversion because all characters in MacROman are defiend.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-15 02:13:39 +00:00
Matthias Melcher
8c9fb5465c
in preperatio of STR#1195:ISO 8859-1 fixes for Fl_Input_ and derived classes
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-15 02:05:06 +00:00
Matthias Melcher
570e3f850b
Fixed previous commit.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-04 12:24:36 +00:00
Matthias Melcher
fe9b1fce28
STR 1195: caret key lookup entry was missing on Mac OS X
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-04 11:44:20 +00:00
Matthias Melcher
23655ba4d5
STR 1200: fixed wrong allocation of copy/paste buffer
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4891 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-01 13:28:46 +00:00
Matthias Melcher
a33f1f7b35
STR 1167: updated documentation for Fl_Valuator and Fl_Value_Input
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-29 14:54:39 +00:00
Matthias Melcher
668f127024
Str 1171: added documentation for Fl_Toggle_Button
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4884 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-29 14:40:44 +00:00
Fabien Costantini
467bedb315
Fixing STR #1222 (case sensitive include fl_draw.H correction)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4883 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-29 13:11:56 +00:00
Matthias Melcher
4c481a5736
STR 1157: Attempt to make the documentation on Fl_Valuator::format clearer. An native English speaker should check this please.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-29 08:09:26 +00:00
Matthias Melcher
d490097eaa
STR 1192: Added documentation for Fl_Clock_Output
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-28 23:53:15 +00:00
Matthias Melcher
b8bc24764e
STR 1183: swapping two items in an Fl_Browser_ widget would corrupt redrawing if either item was "top". This fix swaps the top_ variable correctly, and also swaps the selection flag as the user would expect.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4879 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-28 23:27:20 +00:00
Matthias Melcher
8fcdb4beba
STR 1179: function fl_scroll should now be correctly exported, even on VC6 :-)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-28 15:31:07 +00:00
Matthias Melcher
7e42a63aa6
ST 1148: a preselected filename will also be selected in the file chooser when popping up. I put a lot of effort into trying to make the chooser behave as it previously did in all other situations, e.g. to choose a directory
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-28 15:24:14 +00:00
Matthias Melcher
37518df9b3
Reverted Help Browser to previous faster and simpler code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4872 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-28 06:50:32 +00:00
Matthias Melcher
450b73e63b
STR 1186: Fixed Help Browser buffer overflow by adding a self-enlarging buffer for reading text blocks. Without this, blocks of more than 1024 chars without attributes would corrupt memory.
...
TEST USERS: Please check this fix. It is not trivial.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-27 18:50:49 +00:00
Matthias Melcher
094f1b0f7e
STR 1213: leaving the area of a menubar when dragging would not cancel out the menu selection. This version now deselects a menu if the mouse leaves a menu structure, moving or dragging.
...
This is an extension of the original patch which would file on selecting menu titles, or returning to the previous menu window inside a menu hierarchy.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-27 12:59:49 +00:00
Michael R Sweet
7d8d1883d5
Don't increment read-only cells on a multiple-click.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-02-22 15:29:10 +00:00
Michael R Sweet
cbd3bd40a9
Don't try to load image file we couldn't open
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-02-22 15:27:39 +00:00
Michael R Sweet
e6bbd2d525
Update copyrights.
...
Also check for feof() when the character returned by getc is < 0
to work around a bug in Cygwin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 19:00:08 +00:00
Michael R Sweet
e976174d61
FLUID didn't handle loading .fl files with international
...
characters properly with all compilers (STR #1150 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 16:22:06 +00:00
Michael R Sweet
192e0ed3bd
Fl_Spinner's minimum() and maximum() "get" methods were
...
misspelled (STR #1146 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 16:06:45 +00:00
Michael R Sweet
bf7082f16c
Fix fl_filename_list() bug (STR #1159 ) caused by changing of the ABI
...
(dirent size is different for large file mode)
The default is now --disable-largefile; if you use --enable-largefile,
the large file support definitions are propagated to the fltk-config
script as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 15:50:06 +00:00
Michael R Sweet
3fa9dd7dbd
Update announcement with edited changelog.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-18 02:25:56 +00:00
Michael R Sweet
db822d2fd9
Fix menubar menu clicking, so that menu items work again and clicking outside
...
the menu cancels it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-17 21:04:55 +00:00
Michael R Sweet
826eb45715
Clicking outside a menu window dismisses it (STR #1144 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-17 15:02:36 +00:00
Michael R Sweet
c1c84a620a
Check if the user clicks outside the menu area in the menu bar so that we
...
don't get stuck with the focus in the menubar.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-17 04:32:51 +00:00
Matthias Melcher
42a6245bdd
STR #1109 re-fix: when fixing 1109, I accidentally enabled clicking on grayed out menu items. This commit should fix that an make the menu ignore grayed out items altogether.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-16 23:22:32 +00:00
Michael R Sweet
1a12cf01d2
Update Linux desktop files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 20:44:00 +00:00
Michael R Sweet
89d3f74435
Fix EPM list file and games programs.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 20:33:10 +00:00
Michael R Sweet
9b12d18155
Update EPM list file and OSX icon for FLUID.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 20:05:11 +00:00
Michael R Sweet
f20fc63567
Fix OSX make and install stuff.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 19:26:08 +00:00
Michael R Sweet
d4713f59c5
Add OSX application stuff for FLUID.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 19:14:04 +00:00
Michael R Sweet
6607a6b436
Update OSX icons.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4757 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 19:12:08 +00:00
Michael R Sweet
115d539691
More packaging fun.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:36:16 +00:00
Michael R Sweet
61b86ce0e5
More packaging fun (games package to "advertise" FLTK...)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:02:44 +00:00
Michael R Sweet
464c2f4a5e
Separate the desktop install/uninstall stuff so that users that don't
...
want desktop integration (or don't have root access) will be able to
install/uninstall.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 15:15:34 +00:00
Michael R Sweet
45ff3267cd
Fix installation of Linux desktop files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:25:44 +00:00
Michael R Sweet
887a458227
Work on Linux and OSX desktop integration stuff via make install and
...
packaging via EPM.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:16:09 +00:00
Michael R Sweet
93e158df5f
Another copyright notice update.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:27:48 +00:00
Michael R Sweet
f7305675c4
More copyright updates.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:26:54 +00:00