Commit Graph

2499 Commits

Author SHA1 Message Date
Matthias Melcher
4f6119433b Fixed Makefile configuration for OS X dynamic library. STR #1391
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-12 11:05:04 +00:00
Michael R Sweet
8266e090f5 Don't call dummy function inside dummy function - some compilers don't like
it...

Drop +DAportable from default HP-UX optimizations.

Move HP-UX C++ compiler warning options to CXXFLAGS.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-02 18:03:10 +00:00
Michael R Sweet
d9eecaf4ab Fix problems with new FLUID output, add common to closing braces to show
what widget is being closed, and bump the version number to 1.1.8 in the
repo...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-27 19:26:11 +00:00
Michael R Sweet
0043e7a44d Fix return of window widget - use "w" or the name of the window, as
appropriate.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-26 23:27:32 +00:00
Michael R Sweet
7e3daaf145 Update copyrights on changed files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-26 19:53:19 +00:00
Michael R Sweet
500d7616fd Revamp variable tests so that we rarely need to provide "o" and
"w" variables. This eliminates most of the "variable is shadowed"
warnings from GCC we get after creating .cxx files from FLUID.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-26 19:52:28 +00:00
Michael R Sweet
9ee02e0f01 Fix compiler warning by adding a cast...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-25 19:14:11 +00:00
Michael R Sweet
58699112db Fix use of LDFLAGS and make install depend on all target...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-25 19:06:56 +00:00
Matthias Melcher
a24e33b36e Fixed bad English. Matt, you need to polish up on you irregular verbs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-18 17:51:29 +00:00
Matthias Melcher
e6818b19a6 Fixed byte order in OS X cursor shape data. Added Xft font pointer fl_xftfont.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-18 11:23:20 +00:00
Matthias Melcher
b6f3595669 Fixed Endianness in OS X Mouse Pointer graphics (STR 1348)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-18 08:19:14 +00:00
Michael R Sweet
846cfd4416 Allow non-JFIF JPEG images.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-18 01:10:51 +00:00
Matthias Melcher
924e8a92d1 Fixed crash on mixed use of keyboard and mouse for Fl_Menu_Button (STR #1356)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-17 20:33:45 +00:00
Matthias Melcher
f0fcbb3866 Fixed my previous fix... . Resizing events were not handled anymore.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-17 20:14:50 +00:00
Matthias Melcher
30f4aebe8a STR #1341: Fixed Fl_Window::visible() and shown() for OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5257 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-16 20:37:41 +00:00
Matthias Melcher
d20a41681d Fixed Fl_Window::copy_label() losing copy (STR #1332)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5251 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-28 10:23:33 +00:00
Matthias Melcher
a794dcf8ee Another documentation update (STR #1340)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5245 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-27 11:59:14 +00:00
Matthias Melcher
6167376e2b Added two missing html files to the Makefile based installation process (STR #1339)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-27 11:55:20 +00:00
Michael R Sweet
8761079f3c Revert change to --enable-cygwin option since ARCHFLAGS does not work with
the configure tests for strlcpy and friends.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-26 13:45:07 +00:00
Matthias Melcher
05c80896b2 fixed wrong word
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-23 10:58:37 +00:00
Matthias Melcher
ae7fb2af5d Added warning to Fl_Gl_Window documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5228 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-23 10:56:15 +00:00
Matthias Melcher
0027b5edc3 Documentation fix (STR #1336)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5227 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-23 10:39:40 +00:00
Matthias Melcher
3f5710ca72 Attempt to improve on fl_scroll for Quartz on Mac, but we probably already use the best function. Added comment noting this attempt.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5226 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-23 10:27:09 +00:00
Matthias Melcher
05bd3ade18 Added support for floating point Fl_Spinner
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-22 07:35:39 +00:00
Matthias Melcher
baa92d1d7d STR #1330: Repeat button now cancels timeout if it should get deactivated during a callback
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-21 06:52:10 +00:00
Matthias Melcher
77a20dbef3 STR #1280: added support for assigning Fl_Menu_Items to array variables in Fluid
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5218 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-20 10:18:49 +00:00
Matthias Melcher
87bb58803a Another attempt at the window stacking problem in WIN32. It does fix the issue described in STR #1296 without the negative effects described by Torsten Giebl.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-20 08:55:43 +00:00
Michael R Sweet
eea2b38b34 Add --with-archflags option to configure script, and use it in the right
places.

Update changes file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 18:29:31 +00:00
Matthias Melcher
6190aa5728 It seems that the long standing window stacking order problem in MSWindows is now finally solved. The solution is too silly to belive. It seems like WIN32 needs a HideWindow before the DestroyWindow, or the window manager gets confused. DOH!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:51:14 +00:00
Matthias Melcher
11de032d6d If the value field for scrollbars was not zero, Fluid would generate code that accesses the hidden function Fl_Scrollbar::value(double), causing a compile time error. The fix circumevents the hidden function by calling Fl_Slider::value. It would be better to change the entire Fluid interface to reflect the Scrollbar interface.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:34:19 +00:00
Matthias Melcher
0148f1cfd0 Mark a FLUID Project as "modified" when the user changes the visible Tab widget because that change will reflect in the generated source code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:08:48 +00:00
Matthias Melcher
0728999a83 Loading a file would not update the Widget Propertis dialog in FLUID (STR #1326)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:01:01 +00:00
Matthias Melcher
ad8d7c4b87 Fixed key compose sequences for shifted keys (STR #1194)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 07:43:39 +00:00
Michael R Sweet
855e42c20f Update svn:ignore properties.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-18 17:14:33 +00:00
Michael R Sweet
1c89391ee1 Remove svn:executable from Visual C++ project files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-18 16:40:57 +00:00
Michael R Sweet
cc081f4959 Update svn:ignore properties
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-18 16:33:06 +00:00
Matthias Melcher
582447c164 Converted global static variables into class static variables
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-18 15:53:26 +00:00
Matthias Melcher
baeafbea45 Removed debugging messages, added character lookup table for HTML enteties into Mac Roman font.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-18 15:45:49 +00:00
Matthias Melcher
b51dd39f07 Added text selection and copy/paste to Fl_Help_View. Text can be selected by clicking and dragging the mouse over text. After releasing the mouse button, a stripped down ASCII text is in the text clipboard. Press Ctrl-C to copy the text into the main clipboard. Pressing Ctrl-A selects all text.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-16 19:45:13 +00:00
Matthias Melcher
ec8ab0f22d STR #1322: fixes wrong menutitle position for popup menus. This was originally another fix for pulldown menus (see STR #794, SVN 4259), but had an impact on popups. This fix should work well for both situations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-16 10:42:58 +00:00
Matthias Melcher
27e5b81fd4 Changed Tooltip::exit_() to Tooltip::exit()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-14 11:01:03 +00:00
Matthias Melcher
c468a521b0 STR #1321: Calling Fl_Window::show() will exit from the current Fl_Tooltip. Changing window order or creating a new window is a pretty major action, so temporarily disabeling Tooltips seems beneficial. This avoids Tooltips interfering with popup menus.
Of course, poping up a tooltip window does *not* disable further tooltips... .

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-14 10:48:36 +00:00
Matthias Melcher
bc03e9b1a9 Avoiding crash when passing NULL as a string in Fl_Preferences::set(key, char *string_value);
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-14 08:03:16 +00:00
Matthias Melcher
fee47dba98 STR 1306: udated documentation to reflect limitation in Fl::delete_widget(). For a different bug, I was forced to implement an automated widget deletion system which seems to work well. I would like to reuse that for all cases that depend on 'delete_widget', making 'delete_widget' obsolete. I will change the STR accordingly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-14 07:24:05 +00:00
Matthias Melcher
a0cbcf3d1d STR #1227: Thanks to Albrecht Schlosser for commiting this patch to fix Fl_Test_Display. The little I could check seemed fine, and he's certain that he fixed the bugs that he found himself.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-13 19:08:32 +00:00
Matthias Melcher
d625425d96 STR #1319: added missing '#' in Fl_Clock_Output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-13 06:22:56 +00:00
Matthias Melcher
4f38c2c1c9 Fixing the fix: restored the FL_KEYUP behavior of WIN32 before the NumLock fix. Now NumLock and Keyup work well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-09 18:44:50 +00:00
Michael R Sweet
30d8dc5eeb Make sure that all source files expand $Id$...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-09 16:16:34 +00:00
Matthias Melcher
2db125bc43 Fixed the Fl::event_original_key() function for X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-09 08:06:14 +00:00
Matthias Melcher
428a283f83 Added an event variable "Fl::event_original_key()" which returns the current key code (see Fl::event_key()) before it gets mangled through the NumLock keypad conversion. This way, an application can differentiate between an arrow key and a numeric keypad w/NumLock off.
On Win32, releasing a numeric keypad key w/NumLock off wiould return the wrong keycode (keypad instead of arrow key).

Documentation changed accordingly. X11 code is yet to be tested.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-09 07:48:08 +00:00