Matthias Melcher
b9e4886cfe
Tabs now show the correct tooltip (STR #1282 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-21 09:41:47 +00:00
Matthias Melcher
20ad7d23fa
STR #1282 : added tooltips to the 'tabs' demo so we can test and fix this bug.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5138 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-21 08:59:40 +00:00
Matthias Melcher
e35e2a27a2
Included fltk.spec in configure.in
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5137 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-21 08:50:25 +00:00
Matthias Melcher
92d0163f40
Declarations in Fluid can now explicitly be made non-static or non-extern. This allows the declaration of types like 'enum'
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-18 14:40:10 +00:00
Matthias Melcher
b0c7fc3ab7
Fixed insufficiently invalidated cache in Fl_Browser (STR #1265 ). Fl_Browser::cahceline was set to 0, but Fl_Browser::cache was not which lead to confusion if the cache was usable or not.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5095 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-10 10:45:59 +00:00
Matthias Melcher
fc57e07cbf
STR #1153 : This is an attempt to fix the described issues when querying multiple monitors on defferntly set up Windows environments. Would the posters please test if the new version works. Thanks.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-10 10:37:32 +00:00
Michael R Sweet
65031137c5
Update svn:ignore props.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-07 17:22:20 +00:00
Matthias Melcher
cdc1d7d5e3
Fixed FLUID undo. Thanks Fabien fr finding this.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 18:12:05 +00:00
Matthias Melcher
22b1499904
STR #1152 : Fixed Cygwin compiler warnings
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 14:36:58 +00:00
Matthias Melcher
48c8932fd5
Some minor improvements for the Mac keyboard mapping: accent-space would under some cicumstances add an extra space; tilde-space would add a 'funny' tilde from far up un the MacRoman font, not the ASCII tilde as expected.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 14:09:50 +00:00
Matthias Melcher
8e37fbafc8
STR #1187 : Fixed missing reset of flag in FLUID
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 13:50:44 +00:00
Matthias Melcher
6fd58ca7cf
Added fl_encoding_... files to VC6 dll build.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5082 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 13:41:04 +00:00
Matthias Melcher
93cb7b5487
STR 1264: Editor uses "delete" instead of the required "delete_widget"
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 13:38:47 +00:00
Matthias Melcher
37e05f9df2
Fixed maximizing in OS X (STR #1221 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 02:57:15 +00:00
Matthias Melcher
4e038ef82b
STR #1169 : Fixed 'make distclean' to remove binaries inside MacOS app packages
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:10:00 +00:00
Matthias Melcher
d90102f9d2
Fluid Code Viewer is now truly a viewer, not an editor. I would love to allow text editing in the Code Viewer and re-enter the code into the UI, but that is currently close to impossible to implement
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:00:41 +00:00
Matthias Melcher
f74a812003
STR #1158 : Fl_Spinner is now fully supported by Fluid. Previously, min, max, step and value could not be edited the usual way because spinner is derived from Fl_Group, not Fl_Valuator...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 22:47:59 +00:00
Matthias Melcher
ad0fc9ca23
STR #1162 : Fl_Menu_Button::popup was trying to access a previously deleted widget (itself). The delayed deleting mechanism in 'Fl::delete_widget' did not work in this case because the main loop is called before the callback returns. The fix implements a type of automatic pointer that will be cleared to NULL should the widget get deleted. This may not be a 'nice' solution, but it does fix the problem reliably. We could actually use this for all widget pointers and remove the delayed delete mechanism alltogether
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 21:40:47 +00:00
Matthias Melcher
cbbec03b5e
fl_font(0, 0) as a first call in Xft would try to access a member in fl_fontsize, which was still set to NULL. This fix is untersted as I don't have a Unix machine here. Please verify this fix!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 13:54:08 +00:00
Matthias Melcher
8ffe967089
STR 1161: Setting a new value in Fl_Input_ wil now actually move cursor to the end of the input field as documented
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 03:06:23 +00:00
Matthias Melcher
b72e1d6699
STR 1252: fixed missing includes in 'encoding' additions
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-25 18:28:56 +00:00
Matthias Melcher
0e750cdd65
Static destuctor must be public of course
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 12:40:42 +00:00
Michael R Sweet
9b0ac3c1c7
Update changelog to show all of Matthias's fixes... :)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 10:37:19 +00:00
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