Commit Graph

431 Commits

Author SHA1 Message Date
Matthias Melcher
8902c1ca6a Added missing semicolons in desktop file
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6071 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-16 12:20:30 +00:00
Matthias Melcher
6b53adbf41 STR 1896: updated categories in the KDE desktop files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-16 12:07:41 +00:00
Matthias Melcher
a87355980e STR 1885: fixed silly bugs in Sudoku
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-26 20:37:01 +00:00
Matthias Melcher
9c538a4b2e STR 1883: Attempt to fix installation of binaries in .app bundle on platforms other than OS X. Must be tested with Cygwin and on Linux!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-26 15:26:08 +00:00
Matthias Melcher
5382d3c8d5 STR 1795: applied patch to fix Icon path settings. Will try on my Linux machine next.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 14:43:34 +00:00
Matthias Melcher
491ab820f6 Fixing previousy destroyed hello.cxx - dummy me
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 18:36:38 +00:00
Matthias Melcher
272b19ff34 STR #1868: fixed horizontal scrolbar in help view thanks to wavexx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 18:23:56 +00:00
Matthias Melcher
61e1a616b3 Fixed wrong version of hello.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-10 21:56:46 +00:00
Matthias Melcher
923f9fe353 STR #1854: fixed win32 issue with possible NULL pointer
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-10 21:53:34 +00:00
Matthias Melcher
b92ee9f21c Fixed some typos and some funny language (my own) in the documentation of the test applications. ADded a hidden [+] key support for 'Blocks' so that I can increase the level to my prefered one (6) and not have to play through 1-5 ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-19 14:14:13 +00:00
Matthias Melcher
c1d5dc3b19 Fixed previously damaged 'hello.cxx'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5947 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:04:01 +00:00
Matthias Melcher
05cf7832af STR #1792: fixed documentation of FL_HORIZONTAL vs. the correct Fl_Pack::HORIZONTAL
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 09:58:45 +00:00
Matthias Melcher
3c62765e3a #1706: changed test/tile to expose issues with reversed order of 'show'. Changed Fluid to disallow a widget class inside a widget class, because Fluid has no subwindow support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 09:35:42 +00:00
Matthias Melcher
5d7d16cc8c Making sure that the 'changed' flag is set on every menu pulldown. (STR #1693)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5890 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-07 17:38:49 +00:00
Matthias Melcher
abde88e220 On OS X: disable all 'deprecated' warnings to be able to see the really important warnings. Nevertheless, we will have to replace all Carbon calls as soon as possible. Also re-fixed (i hope) the 'return' from an endless loop in 'threads.cxx'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:32:37 +00:00
Michael R Sweet
d8c288df3e Fix compiler warnings/errors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:18:31 +00:00
Michael R Sweet
56a50b9f0e Rats, Sun's compilers error out if there is no return statement in the
thread function, so we'll have to just live with the "statement unreachable"
warning...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:03:55 +00:00
Matthias Melcher
7697347fd4 Missing underscore in previous commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 15:26:09 +00:00
Michael R Sweet
73d01dd659 Fix all compiler warnings from various build systems.
Fix vsnprintf() implementation to properly handle long and long long ints.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 00:01:06 +00:00
Matthias Melcher
8f8882a084 Reverted my changes in the message dialog boxes. Reapplied the static size icon, fixing it to 50x50 pixels and avoiding the superlarge bang on long texts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-09 12:42:39 +00:00
Matthias Melcher
b4b6776d8f Added static icon, text selection, and HTML formatting to fl_message etc. (STR #1626)
Fixed selection of first word in Fl_Help_View


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 23:20:39 +00:00
Matthias Melcher
82195b6d68 STR #1641: fixing 'make clean'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 20:22:59 +00:00
Matthias Melcher
488f27d1eb STR #1652: allowing shortcuts in tabs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 20:20:21 +00:00
Matthias Melcher
18f2016b1f Removed the Fl::set_awake_cb API and documented the Fl::awake(function, data) API.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 10:41:14 +00:00
Michael R Sweet
24c9f071b3 Fix include name...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5735 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-09 16:33:13 +00:00
Matthias Melcher
11a15d83a2 This is a suggested change. It is complete except for documentation.
I did not like the awake_cb system at all. These changes implement Fl::awake(Fl_Awake_Handler, void*) which is called from a thread and tells the main loop to call the specified handler (rather a callback I guess) as soon as possible from within the main thread. It is implemented as Fifo (currently 1024 entry ring buffer), so handlers are called in the order that they are generated in.

"test/threads" was modified to change the label color as soon as a thread reaches 10000 - pretty boring, but it show the wonderful simplicity of this approach: you can write libraries that don't need to add to the main loop or register a handler at all... .

I will do some more stress testing tonight.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 17:15:03 +00:00
Matthias Melcher
6df72e8979 STR #1623: restored the unloved POSTBUILD command because the reulting executable is still better than the automatically foregrounding one. The 'right thing' is to create a bundle anyways.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 17:03:25 +00:00
Matthias Melcher
c47b4c91ae Avoiding to wait forever under Cygwin. (STR #1608)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-23 19:27:43 +00:00
Matthias Melcher
f178a4c577 Stopped test/keyboard consuming 100% cpu.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-21 15:49:38 +00:00
Michael R Sweet
00c66abc0e Update copyright years and use "#ifndef" instead of "#if !defined".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 18:43:10 +00:00
Matthias Melcher
8ea59b412e Fixed Watcom compiler setup without verification using a patch by mnieuw
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 17:02:41 +00:00
Matthias Melcher
8adb964b48 Updated log message when generating source files from an .fl file. (STR #1600).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-13 13:55:58 +00:00
Matthias Melcher
b3dd53585e Updated log message when generating source files from an .fl file. (STR #1600).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-13 13:54:56 +00:00
Michael R Sweet
b5d637a4cd Clean up threads example, use new set_awake_cb().
Update chapter 10 of the documentation to provide cleaner examples.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-12 16:00:28 +00:00
Michael R Sweet
1dd28f6e4b Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-10 14:31:12 +00:00
Michael R Sweet
3d54048d52 Add "mute sound" option to sudoku game, on request from a user.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 16:37:03 +00:00
Matthias Melcher
624e885b24 STR #1584: even smarter mouse pointer hiding. I also fixed two little historic bugs in "ask" (double adding a widget, and not using "label.obj()" instead of "copy_label()" for non-static buffer. Lastly, I changed "boxtype" to use a Double_Window because it has become so big now that it started flickering.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 07:58:47 +00:00
Michael R Sweet
58cfbc6c82 Use INSTALL_BIN instead of CP for Mac OS bundles...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 21:46:02 +00:00
Michael R Sweet
44b2ff35cf Use install command instead of CHMOD, CP, and MKDIR.
Drop all POSTBUILD stuff as it is no longer used.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:35:28 +00:00
Matthias Melcher
ecdd893933 - Added automated little helpers to Sudoku
(Menu Difficulty->add helpers)
- Added example code for Wizard with the
  Tabs demo (STR #1564)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 12:03:36 +00:00
Matthias Melcher
bb6f36cffe GLPuzzle kept on solving, keeping the CPU busy and my legs warm (Laptop) (STR #1527)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 20:26:53 +00:00
Matthias Melcher
49e0997c9d mandelbrot demo uses single buffering. Doublebuffering needs to be done differently in this particular case.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 15:37:25 +00:00
Matthias Melcher
fbd01308b9 Fixed Quartz image drawing and screen reading
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 15:25:09 +00:00
Matthias Melcher
01af5901b0 Fixed modified .fl file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 10:41:27 +00:00
Matthias Melcher
5411396ea6 Fixed mousewheel event propagation (STR #1521)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 10:40:37 +00:00
Matthias Melcher
2c16ddb964 Fixed silly bug in OS X that would free a pixmap multiple times within Fl_RGB_Image::unchache.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-12-21 22:39:11 +00:00
Matthias Melcher
549ef06358 STR #1467: explained tooltip inheritance - and how to avoid it).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-29 09:46:43 +00:00
Michael R Sweet
5ae7999e41 Move icons for blocks game to the right directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-13 20:19:17 +00:00
Michael R Sweet
b5b97b305f Make sure all of the demos use the scheme, and add a scheme chooser to the
demo program.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-11 03:12:15 +00:00
Michael R Sweet
7b15f5b159 Fix install-linux target in test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-07 11:32:22 +00:00