Commit Graph

76 Commits

Author SHA1 Message Date
Michael R Sweet
3f47369dbc Changed $(DSONAME) target to "libfltk.so.1 libfltk.sl.1"...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-26 12:36:17 +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
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
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
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
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
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
47e91e6c26 Added libfltk.a to install rules, so both the shared and static libraries
will get installed.


git-svn-id: file:///fltk/svn/fltk/trunk@388 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 18:33:46 +00:00
Michael R Sweet
022e5d90f1 Updated Linux DSO rules.
Changed configure.in, makeinclude, and src/Makefile to use DSOCOMMAND
instead of replacing LIBCOMMAND.

src/Makefile now creates both static and shared libraries if
--enable-shared is requested.

fluid/Makefile always uses the static library so that a CVS build will
always work, even if libfltk.so.1 isn't installed (problem for Solaris
and Linux, which don't support LD_LIBRARY_PATH).


git-svn-id: file:///fltk/svn/fltk/trunk@387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 18:32:44 +00:00
Michael R Sweet
681ff11d8e Updated DSO install commands - now remove the symlink before remaking it.
git-svn-id: file:///fltk/svn/fltk/trunk@356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 14:54:18 +00:00
Michael R Sweet
209f38157b Added shell commands to create symbolic links for all .H header files in
the FL directory.  This allows any combination of Fl/FL and .H/.h.


git-svn-id: file:///fltk/svn/fltk/trunk@332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 15:37:19 +00:00
Michael R Sweet
74ea22b252 Added ln -s for DSOs - must have gotten dropped in a previous update?
git-svn-id: file:///fltk/svn/fltk/trunk@310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 18:05:20 +00:00
Michael R Sweet
ae5a281a39 Updated install rules to install files with write permission for the
owner.  This isn't necessary for root installs, but is for user-level
installs.


git-svn-id: file:///fltk/svn/fltk/trunk@298 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 13:10:20 +00:00
Michael R Sweet
d59ce3cc34 Removed fl_line_style.cxx from makefile...
git-svn-id: file:///fltk/svn/fltk/trunk@274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 14:01:46 +00:00
Bill Spitzak
8009fef12c Put Fl::grab() into it's own source file. Rewritten as suggested so that
it takes a window pointer, and grab(0) releases.  You can now call grab
repeatedly with the same or different values without it failing.  The old
Fl::grab() and Fl::release() are emulated in inline functions in Fl.H

Added Fl_Menu_::copy(Fl_Menu_Item*), which will be useful for fluid, although
that use is nyi.

Fixes and cleanup to the code for Fl_Menu_::add(...).


git-svn-id: file:///fltk/svn/fltk/trunk@268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-03 08:43:35 +00:00
Bill Spitzak
4c53a5d8f4 Added optimization for SGI builds (mike: please run autoconf before making
a distribution).
Documentation fixes.


git-svn-id: file:///fltk/svn/fltk/trunk@259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-31 07:43:16 +00:00
Michael R Sweet
e8b804cade Updated Makefile for shared libraries (wasn't copying both files).
Added symlink for FL->Fl mapping under UNIX.


git-svn-id: file:///fltk/svn/fltk/trunk@251 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-27 14:44:32 +00:00
Michael R Sweet
b9cb06b5a6 Makefile didn't define .cxx extension...
git-svn-id: file:///fltk/svn/fltk/trunk@133 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 15:19:37 +00:00
Michael R Sweet
16252e5faf Changes for .C == .cxx and .H == .h.
git-svn-id: file:///fltk/svn/fltk/trunk@128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 14:59:14 +00:00
Michael R Sweet
80b1529ef4 Multiple patches from Bill:
- Double-buffered window fixes.
  - Tabs fixes.
  - X/WIN32 fixes.
  - Fl_Input fixes.
  - Support for vsnprintf and friends.
  - Support for printf-style arguments in utility functions.


git-svn-id: file:///fltk/svn/fltk/trunk@52 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 16:04:53 +00:00
Michael R Sweet
60399e3945 Fixed install targets...
git-svn-id: file:///fltk/svn/fltk/trunk@51 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 22:03:53 +00:00
Michael R Sweet
7657a2e4a5 Fixed all the frigging file headings - was missing a $ in the Id string.
Applied some damage bit fixes from Bill Spitzak.


git-svn-id: file:///fltk/svn/fltk/trunk@28 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 14:21:44 +00:00
Michael R Sweet
74858f12e3 Updated makefiles for new heading and new top-level makefile.
git-svn-id: file:///fltk/svn/fltk/trunk@25 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-20 21:06:19 +00:00
Michael R Sweet
45bb73a9bf Commited WIN32 patches from Bill Spitzak and Gustavo Hime.
git-svn-id: file:///fltk/svn/fltk/trunk@11 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-15 14:06:16 +00:00
Michael R Sweet
f9039b2ae2 Initial revision
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06 18:21:25 +00:00