Commit Graph

49 Commits

Author SHA1 Message Date
Greg Ercolano
0d189a0814 Adds external editor capability to fluid for all platforms.
Solves STR#3213. [CORRECTED]



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-17 19:51:54 +00:00
Manolo Gouy
d6906ffb16 Copy help-test.html inside the help bundle
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 13:18:48 +00:00
Manolo Gouy
1a1c68e0c5 Changed the run-script so t copies abi-version.ide to FL/abi-version.h
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11014 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-20 05:41:25 +00:00
Manolo Gouy
1a9f105ef6 Added 'run script phase' that copies abi-version.ide
to ide/Xcode4/FL/abi-version.h before building the FLTK library.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-19 17:42:30 +00:00
Manolo Gouy
8ac33d6b71 Mac OS: Enhanced the application bundle for the editor demo
so it is launchable by dropping any file on its icon. This is
done both for the configure/make and the CMake build systems
(the Xcode build system did that already).
The editor demo is the only one calling fl_open_callback().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-29 16:41:15 +00:00
Manolo Gouy
6ccbedb5db Better deployment targets for the Release configuration.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10949 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-03 17:27:37 +00:00
Manolo Gouy
403c29267f Mac OS IDE project: localize the application menu of the menubar test app.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10939 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-01 10:19:36 +00:00
Manolo Gouy
3c82a3d736 Mac OS: Show how to localize the "Preferences…" custom application menu item
of the menubar test app.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-01 10:03:23 +00:00
Manolo Gouy
4f6903eed5 The unittests target had wrong product name, and the animated target did not copy the fltk framework.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10802 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-20 12:50:16 +00:00
Albrecht Schlosser
449e15ecee Add copyright comments, improve comments, don't set FL_ABI_VERSION.
FL_ABI_VERSION should not be set in the IDE projects to avoid having to
update the version numbers for each release.

The default is used if FL_ABI_VERSION is not defined.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-13 18:17:33 +00:00
Albrecht Schlosser
9adb181156 Make FL_ABI_VERSION configurable (STR #3161).
This commit adds the configure option --with-abiversion and the CMake option
OPTION_ABI_VERSION. Both options can be set e.g. to 10304 to build with
FL_ABI_VERSION = 10304 (FLTK 1.3.4).

For IDE builds there are new files ide/<IDE-NAME>/FL/abi-version.h that
can be edited to change the ABI version before the FLTK lib is built.
Note that this file MUST be copied to the include/FL directory if the
IDE-built library is to be installed.

The default is FL_ABI_VERSION = FL_MAJOR*10000 + FL_MINOR*100 + 0, i.e.
10300 for all FLTK 1.3.x versions to keep binary compatibility (ABI).

Todo: more tests and more documentation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-12 19:23:55 +00:00
Albrecht Schlosser
c9d8e0feaa Update fluid .fl files and generated code - remove trailing white space.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-09 02:09:33 +00:00
Manolo Gouy
c0b97d86d4 Simpler target-specific options
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-21 08:23:21 +00:00
Manolo Gouy
59914ef57d Removed some warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-21 08:08:39 +00:00
Manolo Gouy
d7aa656044 Remove some minor warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10768 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-21 07:46:16 +00:00
Manolo Gouy
b414576331 Added the libfltk target producing a static FLTK library libfltk.a
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-02 08:48:39 +00:00
Manolo Gouy
130bbf6efa MacOS Xcode project: give proper icons to the blocks, checkers and sudoku test programs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10693 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-09 11:42:31 +00:00
Manolo Gouy
792cf70daf MacOS: fix XCode4 -> Xcode4 typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-09 11:18:44 +00:00
Manolo Gouy
d2edec0517 MacOS: removed XCode3 from header search paths in Xcode FLTK project,
and fix the help demo.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-09 11:05:36 +00:00
Manolo Gouy
1a820df25f Reflect in README.OSX.txt the removal of the Xcode project. A single Xcode project is now used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 11:51:54 +00:00
Manolo Gouy
b055364dd0 Used by the animated demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 11:35:28 +00:00
Manolo Gouy
e4531949ab Fixed a series of warnings when building with Xcode on Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 10:28:13 +00:00
Manolo Gouy
7a7046e4f2 Added the new animated test program. Removed references to the AGL framework.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 10:14:35 +00:00
Albrecht Schlosser
0f45a7adf5 [Version 1.3.4] Update version numbers - hopefully complete.
Note to devs: if I missed something, please mark follow-up commits with
[Version 1.3.4] so we can find the necessary commits for version updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10 01:41:55 +00:00
Manolo Gouy
36c2877a60 Removed use of AGL framework
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-20 08:09:03 +00:00
Manolo Gouy
c39387eac4 Don’t generate debug symbols in the Release mode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10424 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 20:45:30 +00:00
Manolo Gouy
9aee477062 Updated version numbers displayed in the "About fluid" menu item under Mac OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 18:30:37 +00:00
Albrecht Schlosser
3e1da3012a Remove Fl::*sleep() method family, as discussed in fltk.coredev.
Hopefully this doesn't break Windows or Mac OX IDE builds, please help
testing.

Short story: these functions showed compatibility problems, lacked some
quality (regarding interruption by signals), and maybe more.

This is a combined commit that reverts three (3) svn commits. The following
lists are extracted from git, but show the svn revisions and files:

    Remove Fl::*sleep() family, part 1: revert svn r 10287.

:100644 100644 a988702... 794920f... M	ide/Xcode4/FLTK.xcodeproj/project.pbxproj

    Remove Fl::*sleep() family, part 2: revert svn r 10151.

:100644 100644 cf839e6... bfde9c4... M	ide/Xcode3/FLTK.xcodeproj/project.pbxproj
:100644 100644 794920f... c0c772a... M	ide/Xcode4/FLTK.xcodeproj/project.pbxproj

    Remove Fl::*sleep() family, part 2b: revert svn r 10151 (continued).

:100644 100644 bfde9c4... abf2922... M	ide/Xcode3/FLTK.xcodeproj/project.pbxproj

    Remove Fl::*sleep() family, part 3: revert svn r 10150.

:100644 100644 b469018... e76a3e5... M	FL/Fl.H
:100644 100644 7bb7899... 4d4755d... M	ide/VisualC2008/fltk.lib.vcproj
:100644 100644 9d9a2cf... 334aef8... M	ide/VisualC2008/fltkdll.vcproj
:100644 100644 5533a54... e30058b... M	ide/VisualC2010/fltk.lib.vcxproj
:100644 100644 e49f691... 1259c87... M	ide/VisualC2010/fltk.lib.vcxproj.filters
:100644 100644 946f31a... d53ab80... M	src/CMakeLists.txt
:100644 000000 fed36fd... 0000000... D	src/Fl_sleep.cxx
:100644 100644 3d9656c... 3b265f9... M	src/Makefile
:100644 100644 6eadbcb... 5dd5872... M	test/sudoku.cxx


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 16:05:22 +00:00
Manolo Gouy
f1b2c92fce STR#3093 continued: deleted the Fl_Shaped_Window class. Instead, added new member function Fl_Window::shape(Fl_Image*)
that gives a non-rectangular shape to a standard window. The benefit is that it works with Fl_Double_Window and Fl_Menu_Window as well.
It also works for free with Fl_Gl_Window on the X11 platform only.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-21 14:10:36 +00:00
Manolo Gouy
11f55e80b3 Put Fl_PostScript.cxx in list of files compiled in libfltk rather than including it in Fl_Printer.cxx.
VisualC project files still need to be changed accordingly.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:03:52 +00:00
Manolo Gouy
2031e30069 Added file src/Fl_sleep.cxx to list of files compiled in target fltk.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-07 16:52:44 +00:00
Manolo Gouy
8a675919fd Removed file FL/Xutf8.h that moved to src/ and is X11-specific.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-02 09:28:36 +00:00
Manolo Gouy
8997131377 Added the Fl_Shaped_Window class to support windows of arbitrary shapes.
The new class is fully Doxygen-documented.
Added an example program (example/shapedwindow.cxx) that exercises the new class.
Modified all IDE-supporting files accordingly.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10255 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-27 11:55:57 +00:00
Manolo Gouy
07dd8ba328 Added copy/paste from/to FLTK applications of graphical data.
Added Fl_Image_Surface class to draw into an Fl_Image object.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 16:47:21 +00:00
Fabien Costantini
cb0f80cde7 Updated XCode 3+4 project files with new Fl_sleep.cxx file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 04:24:05 +00:00
Manolo Gouy
deef2000fa To fix "MACOSX issue while building latest SVN 1.3.2" from fltk.general (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-27 18:37:31 +00:00
Manolo Gouy
6b69461ea9 Renamed src/Fl_Sys_Menu_Bar.cxx to src/Fl_Sys_Menu_Bar.mm because objective-c code is used.
Some code is transferred from Fl_cocoa.mm thus reducing somewhat this very large source file.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-16 14:02:42 +00:00
Manolo Gouy
da07dcd6be Added the NSHighResolutionCapable item to all .plist files for fltk apps to be high-resolution ready.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-05 15:09:50 +00:00
Manolo Gouy
3c47de0b28 Added the NSHighResolutionCapable item to all .plist files for fltk apps to be high-resolution ready.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9859 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-05 14:53:26 +00:00
Manolo Gouy
e7c0c31661 Improved German translation, thanks to Albrecht.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-28 16:14:48 +00:00
Manolo Gouy
e9c3075c26 added directories
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-25 16:27:31 +00:00
Manolo Gouy
155e099f4a Documented how to make a Mac OS FLTK application launchable by dropping files on its icon.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 13:03:20 +00:00
Manolo Gouy
660a9ac0aa Fix STR #2868: removed file cmap.cxx from list of components of the fltk target
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-30 16:07:22 +00:00
Matthias Melcher
4c11d57da7 OS X: fixed compilation on Xcode 4.4. Removed SDKROOT dependency on 10.6
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-06 08:16:37 +00:00
Matthias Melcher
b5465c7cde Testing Jenkins
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-30 23:02:50 +00:00
Matthias Melcher
55b3b19bbc Wrong SDK in Xcode4 project
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-19 00:34:40 +00:00
Manolo Gouy
c2fa0114dd Mac OS: walk back changes from r.9312 that were not a good idea.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-30 17:38:19 +00:00
Manolo Gouy
bc5731c3b7 Mac OS: use last ABI version when compiling with Xcode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-30 17:00:31 +00:00
Matthias Melcher
23f78899bb Added Xcode 4 IDE support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-27 15:18:54 +00:00