Commit Graph

4702 Commits

Author SHA1 Message Date
Manolo Gouy
97fce6b748 Removed requirement of Mac OS 10.4 because of use of [NSScreen userSpaceScaleFactor]
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 14:47:02 +00:00
Albrecht Schlosser
8197ba8d9b STR #2505: Fixed double string conversion.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 13:28:42 +00:00
Albrecht Schlosser
cdaff761f7 src/screen_xywh.cxx:
Fix X11 screen_init() if Xinerama is available, but not active.
Still investigating why there are nonsense dpi values under Cygwin/X11,
but maybe this is an X server problem.

test/hello.cxx:
Extended test statements - don't forget to remove before release.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 12:39:51 +00:00
yuri
3c25646121 fix build with xinerama
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 09:45:40 +00:00
Manolo Gouy
5c4cfa8863 Fix STR #2505. This allows bad UTF-8 strings to be displayed under X11+Xft without crash.
Any string is converted to Unicode (to UTF-16 under Cygwin) by fl_utf8decode() within
the fl_draw() and fl_width() functions, and the converted data is drawn/measured.
fl_utf8decode() accepts any byte input, even bad UTF-8.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 09:15:02 +00:00
Matthias Melcher
af1d2731d0 DPI fixed for X11
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:37:47 +00:00
Matthias Melcher
ecc423c2f1 DPI fixed for Xinerama?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:33:29 +00:00
Matthias Melcher
308c6bc307 DPI fixes for MSWindows GDI
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:12:04 +00:00
Matthias Melcher
7dc05cb20e First attempt at finding the screen pixel sizes. Can't test Xinerame, MSWindows, or X11 yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:01:04 +00:00
Matthias Melcher
d6bffb20a3 STR 2511: some minor doc changes. I did some extensive changes just after releasing RC2
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8203 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 21:48:37 +00:00
Matthias Melcher
3ed49c0793 STR 2510: send Fluid help string to an FLTK dialog box for Visual Studio builds.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8202 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 21:36:04 +00:00
Manolo Gouy
22111debb8 Fixed use of FLTK_HAVE_CAIRO under Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 13:17:21 +00:00
Manolo Gouy
0e066f5511 Fix STR #2504 (last part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:27:18 +00:00
Manolo Gouy
0300ea28e7 Fix STR #2504 (2nd part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8199 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:26:25 +00:00
Manolo Gouy
bc509d32eb Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:24:58 +00:00
Manolo Gouy
ead3432f9b Classes Fl_Printer and Fl_Postscript_Printer: added missing class_name() calls.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 08:46:54 +00:00
Manolo Gouy
9f61a96b85 Declared protected the constructors of classes Fl_System_Printer and Fl_Postscript_Printer,
so end users only employ the system-independent Fl_Printer class.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 06:06:57 +00:00
Albrecht Schlosser
128636292a Added refman.pdf to clean target in documentation/Makefile.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 23:00:33 +00:00
Albrecht Schlosser
3eb5a172a3 Changed remaining _WIN32 to WIN32.
Added 'all' target to Makefile. Do we need the 'default' target?


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 22:28:39 +00:00
Greg Ercolano
974c369e3b Indenting mods for platform macro/includes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 17:58:16 +00:00
Manolo Gouy
18ae07b181 Fix STR #2507. Applied supplied patch modified for Mac OS X. Checked OK on Linux.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 16:50:10 +00:00
Albrecht Schlosser
3d470e8c0d Modified documentation/Makefile to correctly generate docs.
Generating HTML and PDF docs is now independent, order doesn't matter.

New and modified make targets:

 - html: generate HTML docs only
 - pdf:  generate PDF docs only
 - dist: generate HTML and PDF docs (use for distribution files)
 - html-online: HTML docs with "stripping" modification dates
 - alldocs: retained as synonym for 'dist'

To do: README file must be updated...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 12:55:10 +00:00
Manolo Gouy
4beb3b88e8 Renamed Fl_Device::type() to Fl_Device::class_name() to avoid conflict or confusion
with Fl_Widget::type(). Added a setter function Fl_Device::class_name(const char *).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 10:21:45 +00:00
Manolo Gouy
6320a7c680 Fix in Doxygen comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 22:04:54 +00:00
Manolo Gouy
e11677bfaf Better position of the Fl_Printer class in the Fl_Device class hierarchy.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 21:42:02 +00:00
Matthias Melcher
7b302635e7 Removed PDF from the regular distrubution. This will be generated at dist time along with the html docs and distributed separately.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 19:12:44 +00:00
Albrecht Schlosser
526131a89b Fixed a typo and an error. We must not use "make html-dist" for distribution.
This Makefile tag is misleading and should be corrected.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 19:06:02 +00:00
Greg Ercolano
bd539d4f90 Clarify platform ifdef's with indenting and grouping.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 18:44:25 +00:00
Matthias Melcher
cf95f8d261 Some minor doc changes to avoid doxygen warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 18:28:01 +00:00
Albrecht Schlosser
18791a10f6 Adjusted svn properties in examples directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8183 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 17:31:56 +00:00
Albrecht Schlosser
e5c3b267ff Use Fl_Double_Window in table-sort example because of flickering.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 17:19:50 +00:00
Matthias Melcher
bcff5beb33 STR 2506: after reading Greg's comment, I modified my last commit to use 'dir' on all MSWindows builds
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8181 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 16:10:56 +00:00
Matthias Melcher
023fc6384c STR 2506: changed dependency on _WIN32 (deprecated) to _MSC_VER, assuming that Cygwin and MinGW apps on MSWindows will run in a Unix style shell.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 16:06:52 +00:00
Albrecht Schlosser
21f1c67b60 Updated dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 15:15:48 +00:00
Manolo Gouy
ec2cfd3bf5 Doxygen typo fixed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8178 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 14:09:37 +00:00
Greg Ercolano
e4b4ecb53d Mods to allow building on Windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 02:05:56 +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
Manolo Gouy
d4d4a24eff Fixed warning in Fl_Gl_Choice.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 20:51:17 +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
Manolo Gouy
29b06ba51b set file properties.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 15:31:09 +00:00
Albrecht Schlosser
335eb340ca More typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 14:54:20 +00:00
Albrecht Schlosser
0cf4899e78 Fixed typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 14:50:39 +00:00
Matthias Melcher
37002c6155 Changed checkers field color because pieces were close to invisibel on OS X. I hope this has no negative effect on very dark desktops... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 03:55:23 +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
Matthias Melcher
4be4baed6b native filchooser test now uses system colors and resizes nicely.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 20:27:07 +00:00
Matthias Melcher
028533b451 OS X adds a -psn_... argument to command line calls. Ignore that.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8164 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 20:17:58 +00:00
Matthias Melcher
4562798f69 Text sample field in utf8 test resizable
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 19:34:14 +00:00