Commit Graph

18 Commits

Author SHA1 Message Date
Greg Ercolano 67ed1a8da9 STR# #2973: applied patch str_2973_r9958_sun-fix-errors-5.patch verbatim.
src/Fl_Tree_Item.cxx -- solve: "Fl_Tree_Item.cxx",    line 614: Error: Initializing int& requires an lvalue.
    FL/Fl_Preferences.H  -- solve: "FL/Fl_Preferences.H", line 196: Error: Fl_Preferences::RootNode is not accessible from 0
    FL/Fl_Tree_Item.H    -- solve: "Fl_Tree_Item.cxx",    line 614: Error: Initializing int& requires an lvalue.
    test/unittests.cxx   -- solve: "unittests.cxx",        line 95: Error: The type "UnitTest*[]" is incomplete.
            


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-16 20:25:14 +00:00
Greg Ercolano ceb12d51ab Added unittest for checking symbol rendering and fl_measure() with symbols.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-27 18:32:41 +00:00
Greg Ercolano 4a2e8fa883 Added schemes test to unittests app, to check fltk schemes for artifacts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-08 20:37:00 +00:00
Greg Ercolano 4f4a8fc3c7 Modifications to all LGPL headers for STR #2685.
(to clarify static exception LGPL by changing license references)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 04:49:30 +00:00
Matthias Melcher e454f97acc Fixed Copyright to 2010.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:06:39 +00:00
Greg Ercolano fe687baefd Fl_Scroll mods for global scrollbar size control.
Also, unittest added (scrollbar size) to test these changes.
    Thanks to Albrecht for testing/peer review.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-12 00:15:06 +00:00
Greg Ercolano 6de77851fe unittests modified for Fl_Double_Window to prevent flicker.
Extension of r6772.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-22 07:57:35 +00:00
Matthias Melcher afe1b90dd0 Reorganized Unittest / fixed and improved OS X keybord support and alternative input methods / fixed OS X utf8 DnD
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-12 13:48:03 +00:00
Greg Ercolano efdf1c1774 Undoing changes made in r6738.. someone checked in my code for me ;)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-02 08:53:39 +00:00
Greg Ercolano dc0b3af663 Rework of the unittests.cxx program, as per discussions
in fltk.dev:

	Subject: New unittest app suggestion -- RFC



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-02 08:18:24 +00:00
Matthias Melcher fb10b252a0 Typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-25 15:05:30 +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
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
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
Michael R Sweet ebddf5bf94 Change int to long in unittests callback, and add the standard FLTK
header/footer text.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02 12:52:44 +00:00
Michael R Sweet 23bb059065 Watcom fixes (STR #584, STR #594, STR #595)
Fixed library include order when building DSOs on MacOS X (STR
#596)

fl_xid() could cause a WIN32 application to crash (STR #560, STR
#576, STR #618)

Fl_Browser::remove_() removed the item from the list before
computing the item height, which caused problems with some
programs (STR #613)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 03:19:59 +00:00
Matthias Melcher 93798e2f83 FLTK1.1 Quartz:
- fixed fl_arc and fl_pie
Check out test/boxtype: it looks really sweet in antialised mode!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-08-27 00:22:28 +00:00
Matthias Melcher c29b4b5e16 FLTK1.1 Quartz support:
- added a 'test/unittests' which wil check for identical drawing on all
  platforms. This was desperatly needed to fix tremendous problems in
  getting the Quartz drawing routines right
- disabled anti-aliasing for functions that draw straight lines at integer
  coordinates


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-08-26 22:24:24 +00:00