Commit Graph

783 Commits

Author SHA1 Message Date
Carl E. Thompson
4605f0f635 Guillaume's fix for Fl_Menu_::copy()
-Carl


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-08 19:13:02 +00:00
gustavo
761adb89f5 Missing header guards in FL/math.h.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-07 14:22:21 +00:00
gustavo
4a9596d9da Broken link in docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-05 18:11:57 +00:00
Carl E. Thompson
4435aed5ca textstuff() methods no longer inline to work around a bug in a compiler.
Don not merge into 2.0 tree!  Already done!

-Carl


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-03 15:51:39 +00:00
Carl E. Thompson
d19b50423c Updated 1.0 Borland C++ files.
This should NOT be merged with the 2.0 tree!

-Carl


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-01 20:24:43 +00:00
No Author
b3f489116a This commit was manufactured by cvs2svn to create branch 'branch-1.0'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-01 20:24:43 +00:00
Michael R Sweet
4cb0fad70f Applied Gustavo's WIN32 timer patch to the 1.0.x branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@495 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-01 14:45:47 +00:00
Carl E. Thompson
cd6f7adfe0 Bugfix. FLUID now compiles under UNIX! ;->
-Carl


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-30 23:11:26 +00:00
Carl E. Thompson
81c7d9b215 Changes needed to get FLTK to compile on Borland C++ 5 under Windows. I
compiled this on BC++ 5.0 upgraded to 5.0B via the two monster patches.
I didn't turn on optimization because my version of BC++ doesn't seem to
do much in the way of optimization (FLUID was only 1k smaller when
optimized for size).  VC++ generates smaller code.

The examples that use OpenGL don't work because Borland's linker can't find
"wglShareLists".  I'm sure this is a simple problem, but I don't know how
to fix it.

Borland's C++ compiler won't allow you to call main() from C++, so I had
to add a c function in "fl_call_main.c" to call it so that you don't have
to do that WinMain crap.  However, when I added this file to the Visual C++
project it converted the whole thing from 5.0 format to 6.0 format.  The
files look the nearly identical so I don't think this should be a problem
for 5.0 users, but if it is then you can revert them back to the previous
version and just add this one source file.

Borland really doesn't suck that bad.  It doesn't look as polished as VC++
and it refused to supress some warnings for no reason, but I forgot how
much I liked the feel of Borlands compilers...  Much more intuitive then
MS VC++.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-29 17:39:46 +00:00
Michael R Sweet
617a7ee619 Makefile didn't clean DSO...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-26 12:46:25 +00:00
Bill Spitzak
db2a9d49ce Changed the valuators demo so only one copy of the callback code is
generated.  This also demonstrates a second function put into fluid.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-26 08:42:00 +00:00
Bill Spitzak
cf2a058806 consistent use of $(LIBRARY) rather than $(LIBNAME)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@468 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-26 07:28:39 +00:00
Michael R Sweet
cb63ab17d8 The HAVE_SYS_SELECT_H define was wrong in configin.h and friends.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 22:19:31 +00:00
Michael R Sweet
963f225ab5 Changed hard references to libfltk.a and friends to $(LIBRARY) and
$(DSONAME)...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@466 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 22:15:53 +00:00
Michael R Sweet
95c20c07a8 Fixed stupid bug in IRIX distribution (fluid not executable...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@464 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 16:22:09 +00:00
Michael R Sweet
edab1ef055 Can't use chmod -R on header directory...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 16:09:54 +00:00
Michael R Sweet
18aeef78c6 Forgot to change documentation from /usr/info to /usr/doc/fltk-1.0.1...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 16:05:40 +00:00
Michael R Sweet
0872167f48 Update install docos to 1.0.1 and fixed typos in IRIX and Linux package
files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@461 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 15:57:50 +00:00
Michael R Sweet
08a3198886 Fixed install rule for DSOs - was copying the wrong file...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 15:47:11 +00:00
Michael R Sweet
ca6aa51915 Removed extra link commands from install target (these are done in
src/Makefile!)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 15:44:12 +00:00
Michael R Sweet
a5778a1864 Updated README and distribution packages to use v1.0.1.
Updated makefiles and makeincludes to use DSONAME and GLDLIBS.

Updated configure.in to use DSONAME instead of LIBNAME.

Updated editor example code in documentation.

Added ANSI C++ changes to make things compile with the latest EGCS
compiler.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 15:26:44 +00:00
Michael R Sweet
7b19ba41ae Added gluDeleteQuadric() call to avoid memory leak.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 13:37:00 +00:00
Michael R Sweet
8fb6c44298 Updated patch version number to 1...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@456 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 13:35:37 +00:00
Michael R Sweet
5df541f4f8 Applied Dmitry's timeout patch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 13:32:52 +00:00
Bill Spitzak
2eafe965c9 Changes from Luis Ibanez to make it compile under Borland.
Includes a real bug that was in Fl_Gl_Window.c (#if WIN32)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-18 20:04:13 +00:00
Bill Spitzak
4163d5b5ad Added clipping suggested by Dmitry Potapov
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-16 08:51:02 +00:00
Bill Spitzak
860eda9df2 Clears value() when you clear the menu()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-16 08:44:48 +00:00
Bill Spitzak
8b80ea35fe Fixes for os2x by Alexander Mai
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-15 07:06:46 +00:00
Bill Spitzak
cb3e368539 Fixed alignment of Fl_Choice label with the text in the pop-up menu
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13 20:45:20 +00:00
Bill Spitzak
05c916d353 DOH! Fixed even more typos in my fix for Fl_Browser::item_height.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@424 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13 20:35:33 +00:00
Bill Spitzak
f34388f29a fixed typo that I managed to check in last time...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13 20:25:09 +00:00
Bill Spitzak
0f64401722 Fixed Fl_Browser::item_height, I believe this will fix Adrian Miranda's
problems with it.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13 20:20:37 +00:00
Bill Spitzak
2316172e5f Fixed fluid bug that caused styles patch to crash when you delete menu item.
Changed a comment in Fl.cxx
Changed valuators demo to remove code to set value() on some widgets and
put the value into the gui box instead.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13 20:07:21 +00:00
Carl E. Thompson
fcaa42485f Fix return value of Fl::check(). This fixes the "cube" demo and possibly
other programs.

-Carl


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-12 19:17:53 +00:00
Carl E. Thompson
8436538ba4 Test. Please ignore.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@418 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-12 18:30:19 +00:00
No Author
41e5d003dd This commit was manufactured by cvs2svn to create branch 'branch-1.0'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-12 18:30:19 +00:00
Michael R Sweet
b5f85fd9d6 Changed PostScript output to Level 1 for maximum compatibility.
Fixed some more typos and formatting problems.


git-svn-id: file:///fltk/svn/fltk/trunk@415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 20:18:38 +00:00
Michael R Sweet
ce193d0ec5 Fix from Dmitry - wasn't copying data when replacing the text value of a
list item.


git-svn-id: file:///fltk/svn/fltk/trunk@414 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 20:06:37 +00:00
Michael R Sweet
2ae936fdeb Now remove links directory after building installation.
git-svn-id: file:///fltk/svn/fltk/trunk@413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 19:19:53 +00:00
Michael R Sweet
406364e5d0 Now remove old depot.gz file prior to compressing...
git-svn-id: file:///fltk/svn/fltk/trunk@412 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 19:19:19 +00:00
Michael R Sweet
e91d5ca029 Fixed bug in IRIX makedist.sh script.
git-svn-id: file:///fltk/svn/fltk/trunk@411 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 19:11:09 +00:00
Michael R Sweet
8befe433e3 Added README and install documentation for binary packages.
git-svn-id: file:///fltk/svn/fltk/trunk@410 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 18:43:57 +00:00
Michael R Sweet
ed49b39660 Added Solaris SPACE distribution files.
git-svn-id: file:///fltk/svn/fltk/trunk@409 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 18:35:48 +00:00
Michael R Sweet
f965e15ac0 Added Solaris Intel distribution files.
git-svn-id: file:///fltk/svn/fltk/trunk@408 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 18:34:17 +00:00
Michael R Sweet
67cc36da2e Fixed .mi file.
makedist now copies all files over (otherwise they are just links...)


git-svn-id: file:///fltk/svn/fltk/trunk@407 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 17:46:58 +00:00
Michael R Sweet
4f21f74c4a Added documentation subset.
git-svn-id: file:///fltk/svn/fltk/trunk@406 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 17:45:48 +00:00
Michael R Sweet
0298501719 Added Digital UNIX distribution files.
git-svn-id: file:///fltk/svn/fltk/trunk@405 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 17:06:34 +00:00
Michael R Sweet
2b4b055204 Updated not to use v3f() macro.
No longer use glColor4ub(), as 1) Sun's compilers have trouble with their
own headers with this (glColor4ub is a macro, a VERY bad thing to do!), and
2) it's an OpenGL 1.1 feature, and not all platforms support it.

Also optimized the QUAD and LINE primitives.


git-svn-id: file:///fltk/svn/fltk/trunk@404 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 16:40:19 +00:00
Michael R Sweet
51c3b154dd Removed unused "u32" type...
git-svn-id: file:///fltk/svn/fltk/trunk@403 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 16:25:02 +00:00
Michael R Sweet
26068ce30e Removed extra \ in HP-UX DSO command.
git-svn-id: file:///fltk/svn/fltk/trunk@402 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 14:22:29 +00:00