Commit Graph

443 Commits

Author SHA1 Message Date
Albrecht Schlosser b60be8c55d Updated dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 14:05:41 +00:00
Albrecht Schlosser c45fa0f1d8 Backported FLTK 1.3 unit tests to FLTK 1.1 as far as possible.
Missing tests: scrollbar size and text extents.
These tests would require some new features of FLTK 1.3.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8610 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 13:45:35 +00:00
Albrecht Schlosser eba70247c3 Updated dependencies (makedepend).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 15:31:37 +00:00
Matthias Melcher a4587be93d Removed clutter
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 14:36:56 +00:00
Albrecht Schlosser 5ee73008ee Removed test output and test button (#ifdef TEST_MYBUTTON).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 10:01:08 +00:00
Albrecht Schlosser d14693d307 Fixed index for sudoku difficulty menu entry - thanks to Manolo Gouy
for finding this, mentioned "BTW" in STR #2221.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-21 16:35:06 +00:00
Matthias Melcher 4cfa43da56 STR #2007: removed hardcoded '../lib/' prefix in installation process
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 20:21:29 +00:00
Matthias Melcher 65ff21e2aa STR #1962: I tried to fix the configuration scripts so that the image support libraries (fltk_jpeg fltk_png fltk_z) are linked in the same fashion as the fltk_image library. Please verify this fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6610 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 17:24:51 +00:00
Albrecht Schlosser d2ded112ed STR 2079, part 1: Improved test/subwindow.cxx
- removed confusing character output (define DEBUG_POS for testing)
- included FL/names.h instead of hand-made eventnames array
- added more input widgets for better dnd and focus testing


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 11:15:29 +00:00
Matthias Melcher c0a8bd653d Fixed adding an idle handler during a draw() call (STR #1950)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:15:48 +00:00
Matthias Melcher aea7302145 Fixed wrong relative path when absolute path has a trailing slash in fl_filename_relative (STR #1920). Also added some comment to understand that function to begin with ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-21 19:54:34 +00:00
Matthias Melcher 3724e507cc Multiple selections of files was cleared before the user had a chance to extract filenames. It was impossible to extract a multiple selection of directory names even though it was possible to select them in Fl_File_Chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-11 12:57:37 +00:00
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