Commit Graph

61 Commits

Author SHA1 Message Date
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
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
b4c9f84118 To fix "MACOSX issue while building latest SVN 1.3.2" from fltk.general
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-27 18:13:54 +00:00
Greg Ercolano
c5d5ba1cf5 Applying the etorres gleam patch. STR #2672.
TODO: Xcode 4 ide needs fl_gleam.cxx added
      Test of Visual Studio IDE mods (which were hand-modified)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-25 04:24:41 +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
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
Fabien Costantini
b31264e473 STR 2827 implementation. Implemented Reselect code and related API all within ABI controlled preprocessor blocks because of new attribute defintion would break ABI anyway. Because the code is already ABI controlled, I took the opportunity to keep keep the REASON enum sorted. Added test code in Tree.fl adequately.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-15 20:11:36 +00:00
Manolo Gouy
0373e02f5d Reflects update of libpng to v. 1.5.1
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 12:52:34 +00:00
Manolo Gouy
97f7c0f524 Define WORDS_BIGENDIAN using __BIG_ENDIAN__ value
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-04 17:51:22 +00:00
Manolo Gouy
803a7c4d52 WORDS_BIGENDIAN has an architecture-dependent value.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-01 19:45:05 +00:00
Manolo Gouy
85256d15c4 Two png-related #define's were missing. This caused transparent png images to be wrong.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-01 14:39:22 +00:00
Manolo Gouy
00554a3ef5 Reflects update of zlib to v. 1.2.5
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-27 16:04:40 +00:00
Michael R Sweet
1216e9530f Update JPEG library to v8b.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-15 15:25:53 +00:00
Matthias Melcher
210114ca0f test/help now finds some documentation. This kind of works, but since we decided to load a sample page instead, I will have to improve this... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 00:53:13 +00:00
Matthias Melcher
523a2ed9b7 Recompiled pdf with newest versions of doxygen and epstopdf, generating a much smaller yet complete pdf
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 20:47:16 +00:00
Manolo Gouy
874bca74f5 Mac OS X: removed all uses of Carbon (except for older OS versions) and re-organized
text input around the NSTextInput protocol.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 16:50:34 +00:00
Matthias Melcher
bb6392f7ec Added Table and Tree support to Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 08:28:38 +00:00
Matthias Melcher
e203237eb3 Integrated menu into demo resource branch for OS X. Indicating items that open more choices with ...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 03:50:54 +00:00
Matthias Melcher
5f2aa6ca9c Change colbrowser to btter conform to FLTK coding standards. For OS X bundle format, move the RGB file into the bundel.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8166 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 21:06:56 +00:00
Manolo Gouy
dbb7be0fee Mac OS X: removed dependency from AudioToolbox.framework by calling NSBeep() from Cocoa.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-29 11:33:42 +00:00
Manolo Gouy
a8530c73fa Adopted use of FL_LIBRARY #define symbol under Mac OS X. This allows to compile
client applications without including Mac OS system headers, with a gain in speed of 
compilation and portability. The source files of all FLTK libraries must now be compiled with 
-DFL_LIBRARY under Mac OS X. Make, CMake and Xcode project support files
have been modified accordingly.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23 14:24:29 +00:00
Matthias Melcher
88093df6e8 Removed IDE support from Fluid because it never got finished and seemed more like a race against windmills. I may pick this up again later - maybe.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 20:33:24 +00:00
Matthias Melcher
9092dccab8 Changed all fixed filename buffers (that I could find) to use FL_PATH_MX instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19 21:20:10 +00:00
Manolo Gouy
d4fa5481d6 Updated to compile the 3 objective-c++ files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8050 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-17 13:02:14 +00:00
Matthias Melcher
318b3dea57 Added an 'Options' dialog (replacing test/preferences) that can be used to set system wide or user real options like Visible Focus.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 19:52:26 +00:00
Matthias Melcher
a74dfcd192 Moved VisualC 2005 support to 'deprecated' directory. All deprecated IDE's will be removed before 1.3.0rc1. STR 2467.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7959 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 15:02:07 +00:00
Matthias Melcher
906549e4f9 Added unittests to the Xcode IDE.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7843 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 17:22:21 +00:00
Matthias Melcher
f1f1d8ed42 STR 2382: Fixed compile errors when HAVE_LIBJPEG was not defined
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 20:01:16 +00:00
Matthias Melcher
ff09e7237c Fl_Button shortcut handling would crash if the widget was deleted in the callback.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 16:50:44 +00:00
Matthias Melcher
2870b6efe1 Added new project template for Xcode (part 2 of 3). Part 3 will be done later (see TODO: tag sin README.OSX)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-25 10:20:21 +00:00
Matthias Melcher
9ec755f5fa Removed outdated Project Templates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-25 09:26:31 +00:00
Matthias Melcher
a05a160101 Removed outdated Project Templates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-25 09:15:08 +00:00
Matthias Melcher
24e14c2470 Fixed a pretty fatal instruction in the Xcode README (oooops) and modified the project files for a correct Universal Build.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-25 08:08:07 +00:00
Matthias Melcher
bfeac78693 Trying to bring the Xcode 3 OS X builds to a better standard, including automatic builds and project templates. 1 of 3 done.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-24 20:53:36 +00:00
Matthias Melcher
10ebe9f862 New build instructions for OS X users.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-23 22:50:39 +00:00
Matthias Melcher
463416d0c7 Remove OS X Xcode compiler warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-22 15:15:23 +00:00
Manolo Gouy
55c20361dd Renamed device-info.plist to device-Info.plist as it should be named
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 15:24:33 +00:00
Manolo Gouy
6d0807e40a File needed for device demo program and Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 14:54:53 +00:00
Matthias Melcher
32716d6b1e Updated the Fluid IDE support for the current source file structure. Changed the Fl_Tree rendering code around a bit to make the tree more like MSWindows on Windows and more like Apple on Apple machines. I hope you guys like it. I also moved the function to load Fl_Preferences into an Fl_Tree into the Fl_Tree class where it belongs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 09:44:45 +00:00
Matthias Melcher
3ef47f712a Added 'rotated_text' to the Fluid IDE setup. It should probably be in 'Demo' as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-07 20:23:07 +00:00
Matthias Melcher
92fa35e4fb Remove obsolete plists
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-01 21:39:33 +00:00
Matthias Melcher
6918b952a1 Added missing plists
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-01 21:38:21 +00:00
Matthias Melcher
30d00ceb07 Fludi IDE: now supporting header files for OS X. If those are included for a library, the resulting framework will receive a copy of the headers, allowing Xcode to simply include the file into any new project. frameworks must be installed in /Library?Frameworks to be found automatically. A little more fixing is required.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:17:44 +00:00
Matthias Melcher
e1d22ebba7 Added ide generating code to command line version of Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 05:18:38 +00:00
Matthias Melcher
a73a70a2c7 Fluid IDE tools: added some more human readable annotations to the database
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 20:23:38 +00:00
Matthias Melcher
ed2870637f Fluid IDE support: rewrite all Makefiles. This has no smart parts inside yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 20:16:47 +00:00