Commit Graph

472 Commits

Author SHA1 Message Date
Greg Ercolano 592f934229 Removed DOS style ^M's; they were preventing SGI compiles (partial STR#2174)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-13 22:58:31 +00:00
Ian MacArthur 39c0a8a320 Check in Greg's revised and updated unittest example code.
NOTE: This still isn't called from the demo GUI anywhere , AFAIK. Should it be?



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6658 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-14 18:33:29 +00:00
Fabien Costantini b30b9e170a minor compile warning solved in test/utf8.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-29 21:55:23 +00:00
Fabien Costantini 8d590e0ed8 Help demo: now loads the non framed version main.html instead of index.html
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-20 08:53:11 +00:00
Fabien Costantini a33d0a6d29 STR#2035 fix : Changed all 1998-200[0-8] dates to 1998-2009 for supported fltk files (this excludes i.e the png subdir).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 14:52:45 +00:00
Fabien Costantini 601a0f0d3e + Fixed font set to const string was potentially free in
Fl_x.cxx:fl_set_spot()

+ Fixed fl_ask.h erroneous include replaced by fl_ask.H include in 
colbrowser.cxx


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-04 16:21:42 +00:00
Matthias Melcher a6e76c29fd Cahngad copyrights in 'test'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:35:13 +00:00
Matthias Melcher 167d767e0f Changed the copyright to 2009 for header files. Still todo: src and test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:11:32 +00:00
Matthias Melcher 6b3f61e3ff In the configuration setp, LIBNAME (which contains the local path of the library as seen from the src directory) was used wrong. I added LIBBASENAME, the true library name without the path, and replaced LIBNAME wherever it was used wrongly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 19:45:46 +00:00
Albrecht Schlosser 1cfa95ae79 This is a complete rewrite of the "X Color Browser" demo program
(colbrowser.cxx) without dependencies on (X)Forms compatibility methods.

The previous version can still be retrieved from svn (up to -r 6605) and
from the FLTK 1.1 branch.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-27 20:27:03 +00:00
Matthias Melcher fad309329b STR #2113: added sorting and a few other functions to Fl_Browser_.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26 21:20:38 +00:00
Albrecht Schlosser 1b788c8c14 Coordinate transformations in test programs to avoid using the old
Fl_Group::forms_end() method, because this _may_ be removed later.
Replaced forms_end() with end().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6598 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 15:38:52 +00:00
Albrecht Schlosser 4495388e8d test/line_style: Added shortcut (&Line) for better "line on/off" testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6597 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 15:01:57 +00:00
Albrecht Schlosser 60b723c00c simplified and removed an extraneous statement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 14:05:36 +00:00
Albrecht Schlosser 0aacaeb2c2 Improved line_style test program to draw an optional 1-pixel line drawing
over the existing one to be able to see the real coordinates of the lines.
With line width > 1 and different colors it is now possible to see and
compare line offsets to the left/right/top/bottom of lines.

This has been inspired by the discussion in fltk.general, see link:
http://www.fltk.org/newsgroups.php?gfltk.general+v:27131


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 13:48:14 +00:00
Fabien Costantini 4047f3dba7 Sorted buttons order as they appear in fluid, changed the 'same shortcuts A1 and A2 as it is more confusing than helping in finding bugs for this test case.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6586 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 20:11:04 +00:00
Albrecht Schlosser fbea5019fb Replaced all occurrences of the deprecated fl_clip() function by
fl_push_clip().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 14:59:52 +00:00
Albrecht Schlosser e907ce4a11 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.3@6550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 13:02:49 +00:00
Fabien Costantini 655f7c41a2 Added functionalities to the radio (Button) test program so that we can use it as a more complete test case:
+ Added shortcuts
  + Added Tooltips to help user understand what differs in each example
  + Added a button callback and a text output to visualize it in the demo
  + Added a Normal button with a changed state as we did not test that before
This is going to be immediately useful for STR#2026 review and fix.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-05 14:59:10 +00:00
Fabien Costantini 9225a43f9f Corrected new documentation local (build) path so that index.html can be found in test programs when no env variable is set. Added svn:ignore filters to test and lib subdirs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-02 13:19:13 +00:00
Fabien Costantini 29ff9d8936 Reverted my own modified test/Makefile for more utf9 test because it is not finished yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 22:08:30 +00:00
Fabien Costantini 250090b3f0 More optimisation and cleanup for the PNG lib handling in configure.in. Also reordered the variables the same way in the main if test code so that differences now are obvious between the two modes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 22:03:55 +00:00
Matthias Melcher 0490b30383 Fixed adding an idle handler during a draw() call (STR #1950)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:15:32 +00:00
Fabien Costantini 268ffc6ef2 Cairo increment 2: Finer cairo granularity, less deps, new fltk_cairo lib
+ added new USE_CAIRO config preprocessor def. 
   to differentiate from HAVE_CAIRO so that we can use the cairo lib 
   without forcing the full fltk lib to be linked against it.
   In that case, cairo autolink context functionality which needs fltk lib 
   instrumentation is disabled.
 + added new --enable-cairoext, which correspond to previous --enable-cairo.
   now, --enable-cairo only adds HAVE_CAIRO def. and keeps fltk lib
   from referencing cairo.
   In both cases (--enable-cairo & --enable-cairoext), a new fltk_cairo lib is 
   created. This lib, similarly to local versions of png,jpeg and zlib, 
   is not generated if cairo is not enabled.
 + added cairo to fltk-config : now new --use-cairo flag is available
 + modified all unix like makefiles to now generate minimum cairo deps and also
   new libfltk_cairo lib.
 + added new cairo subdir to permit conditional fltk_cairo lib generation. 
 + vc2005 project minimum update to compile without be broken, but still needs
   to create a similar fltk_cairo independent lib. For now, it works as before
   with a dedicated cairo env. similar to --enable-cairoext context in unix.
 + regression tested ok with cairo disabled on win32, mac osx, mingw.
  


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 01:42:35 +00:00
Fabien Costantini cf001ac338 STR#2051 fix: Tile would still change the mouse cursor when inactive.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-05 17:21:08 +00:00
Fabien Costantini 5fcfaa2fa1 Doxygen documentation: more paranoid fixes and complements in common dialogs. Added new test cases in the ask demo now featuring fl_message() and fl_password() API, made fl_choice() more specific about its return value tests in caller (also added a third button).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 12:00:16 +00:00
Fabien Costantini ffad932289 + Cairo branch merged after successful testing on Mac OS X 10.5.4, Linux Ubuntu 8.04,Windows XPSP2.
This integration is minimum as discussed, in particular it does not feature any fltk cairo drawing substitution
  as in fltk2.
  Still it provides all the fundations to go further even in next 1.4 ... 
  By default *no* cairo features are implemented nor linked, it can only be activated by --enable-cairo
  whose default is false.
  Please visit the README.cairo for complete description.

+ fixed UTF8 compilation pb on linux ubuntu

+ minor comments fixes on the fly



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-25 18:26:33 +00:00
Matthias Melcher e8f467b9e3 Updating fl_utf8.h references. Fixing copyright date in .fl files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-19 17:40:20 +00:00
Fabien Costantini ae697b80b2 Doxygen documentation : took the opportunity to update copyright info as we modified already in batch almost all sources, added also a fil doxygen command to class headers to harmonize with original matt Fl_Widget dox. format.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16 07:26:22 +00:00
Matthias Melcher 483dab9e92 Remove compile-time dependency on Imm32.dll on Win32. I have no MSWindows machine here, so this code is likely to contain one or more typos... . When working, this will take the burdon of linking to imm32 away, so that existing makefiles will need no changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-11 11:14:06 +00:00
Matthias Melcher cf61ea83a4 Remove mcast and dnd test programs. I do like them and they should be back eventually, however right now they ae not in the scope of the UTF8 port.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-11 10:38:40 +00:00
Matthias Melcher b6bde2e456 Merging the UTF8 patch, consisting of O'ksi'd s original 1.1.6 patch and additions by Ian. PLEASE BE AWARE that the patch in its current incarnation is a regression in many aspects and further work is required before we can announce Unicode support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-10 23:56:49 +00:00
Albrecht Schlosser eee7fe5775 made the window its own resizable() for better resize testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-02 21:42:36 +00:00
Fabien Costantini 0174324bdf STR2025 fix:now both debug and release mode compiles beautifully, demo compile and works with its bundled file. Hardcoded debug paths in fluid sh invocation have been set to TARGET_BUILD_DIR variable so that it now works in debug and in release mode properly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-25 17:01:31 +00:00
Michael R Sweet ba2e9f3375 Make --post create a basic Mac OS X application bundle with a shell script
that executes the bundled program.

Change the defaults for Quartz, threading, large file support, XDBE, Xft,
and Xinerama to "yes".

Remove the old Mac OS X resource fork file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-07-13 21:39:07 +00:00
Matthias Melcher 466ba461f1 Added first half of XCode 3.0 IDE support for FLTK 1.3. FLTK is built as a set of frameworks. Fluid will be used to compile .fl files just in time.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-13 14:48:28 +00:00
yuri 1488c10f7e STR # 1908 - usage example
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-01 18:04:41 +00:00
Matthias Melcher a19a1da794 Text_Display was using a wrong border margin STR 1909
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-24 09:10:22 +00:00
Matthias Melcher 8198e51799 Added support for keyboard shortcuts to Fl_Input_ derived widgets (STR #1770). Code added for Fluid. Documentation updated.
This commit must be considered partial because there is no shortcut handling for Fl_Text_Display derived widgets or Fl_Value_Input which is derived form Fl_Valuator.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 23:33:17 +00:00
Matthias Melcher 6a143b1f61 Applying 1.1.9 changes to the 1.3 branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 18:11:51 +00:00
Matthias Melcher 232ef4e159 Updated 1.3 with changes from 1.1.9
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-12 19:16:19 +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