Commit Graph

3211 Commits

Author SHA1 Message Date
Fabien Costantini 29ff9d8936 Reverted my own modified test/Makefile for more utf9 test because it is not finished yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 22:08:30 +00:00
Fabien Costantini 250090b3f0 More optimisation and cleanup for the PNG lib handling in configure.in. Also reordered the variables the same way in the main if test code so that differences now are obvious between the two modes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 22:03:55 +00:00
Albrecht Schlosser 6c279f9909 Test the system png lib and headers only, if --enable-localpng is _not_ set.
Commented out an obsolete statement.
Added a check for png_get_valid, if using the system lib.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 21:05:22 +00:00
Fabien Costantini 9481db94d9 Now we finally can check as well if a correct PNG header was found, if it is not the case or the lib is not found, then syslib will be updated adequately. Reused latest Al AC_CHECK_HEADER() and included them from the begining in the syslib_ok test. Tested with default,disable,enable png.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 20:11:36 +00:00
Albrecht Schlosser 04f6740b35 Added header checks for png image library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 18:21:38 +00:00
Fabien Costantini c2d5dd32b5 Fixes the configure problem when the png option is not specified.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 17:22:14 +00:00
Fabien Costantini 5dfe62a97b Fixed broken png image include.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-09 21:05:52 +00:00
Ian MacArthur f61a8993d5 STR 1949 - revise configure.in to cerrectly detect png_set_tRNS_to_alpha
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-09 13:15:05 +00:00
Fabien Costantini 4ec0d5c005 Updated CHANGES for reflecting non polymorph behavior with hide() show(), fixes STR#396
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-06 23:32:16 +00:00
Fabien Costantini 383a1f5f22 Fixe #396 : non consistent hide and show behavior in Fl_Widget vs Fl_Window. As suggested by mike, now hide and show are virtual from Fl_Widget, as it breaks the abi, it has to be done before we release 1.3, last chance before 1.4 ...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-06 23:24:38 +00:00
Fabien Costantini 8878c68256 Doxygenized fl_expand_text() comment, more minor code comment and debug printf cleanup.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-06 22:36:01 +00:00
Fabien Costantini a6def7d9de UTF8 nbsp detection before string expansion fixed: as explained, now the fl_expand_txt() main loop is utf8 multibyte char aware and should not confuse nbsp chars with utf8, even mixed with other CP125x code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-06 22:30:14 +00:00
Matthias Melcher ebbb485040 Reverted to old Mac Keyboard handling until new code is functional on allMac versions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-06 20:19:00 +00:00
Fabien Costantini c6b9818f4a Got inspired from manolo STR#2067 proposal to fix OSX window title not utf8 aware, but generalized it so that all Fl_mac.cxx calls the same new q_set_window_title() function(). Now OSX Window shows UTF8 title correctly. old code is still present but factorized in the new q_set_window_title() function(BTW the Str255 truncation was omitted in one part of the old code), please review so that we can remove that old non-UTF8 aware code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-05 12:54:39 +00:00
Fabien Costantini 8094043bcb Added fast utf8 string detection routine fl_is_valid_utf8(). Solves the drawing problem in #2080 related fl_expand_text() use. The particularity of this routine is that the complete scan is cached so that it executes 0 to 1 time in the fl_expand_text() loop. Now chinese example in str 2080 seems to works perfectly here. Still, incorrect windows title in Win32 need to be adressed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6497 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-05 01:55:17 +00:00
Albrecht Schlosser a26fe4d320 Re-applying change to Makefile reverted by Fabien (STR 2063).
Although this may look strange for somebody, it is the correct fix for
the _current_ Makefile implementation, as discussed in fltk.development.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6496 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-04 08:16:50 +00:00
Fabien Costantini 28688e9b7b corrected non cairo build targets and also fast_slow project not loading problem.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6495 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-03 00:21:15 +00:00
Fabien Costantini 28553f266f Reverted las Makefile changes. This is not acceptable because any modification tyo xutf8 file must be achieved in corresponding xutf Makefile. So Instead of cleaning the file generated by xutf Makefile by src makefile, you have to do that in the xutf8 Makefile instead.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-02 11:25:51 +00:00
Albrecht Schlosser 962f924d04 make clean (and make distclean) now delete src/xutf/*.o
STR #2063


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-01 17:33:38 +00:00
Matthias Melcher d67cb76d5a Typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-31 16:47:01 +00:00
Matthias Melcher 2ecabfa676 Moved Fl_Preferences documentation to the correct places.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-31 16:30:07 +00:00
engelsman 13267ea186 added doxygen comments for more font/text functions in fl_draw.{H,cxx}
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-28 20:58:44 +00:00
engelsman 642d8e63fb added more minor doxygen comments for fl_color.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-27 22:58:49 +00:00
Fabien Costantini b2deb4b6f4 Fixed one typoe in configure.in, changed LINKFLTKCAIRO parameter passing in LINKSHARED.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 21:06:31 +00:00
Fabien Costantini 0c69cbc7a0 Fixed cairo dso lib would not be generated automatically, missing one dep in darwin dso gen, missing make depend target.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 20:40:20 +00:00
Fabien Costantini ed6ac69dd6 Fixed cairo makefiles link error when shared option activated under linux.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 18:31:44 +00:00
Fabien Costantini f6d5f48bbe Fixed enable-shared would not work when cairo is not available. Added a new flag name FLTKCAIROOPTION for conditional -l cairo lib include.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 14:53:03 +00:00
Fabien Costantini ab5d636106 Added visual6 moved to ide subdirectory to CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:53:53 +00:00
Matthias Melcher b989051bd6 Improved stability of fl_read_image (STR #2021)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:35:53 +00:00
Matthias Melcher 0490b30383 Fixed adding an idle handler during a draw() call (STR #1950)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:15:32 +00:00
Fabien Costantini f3180baff0 Moved visualc6 env to ide, no cairo stuff yet. builds ok rel. and debug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 16:40:38 +00:00
Fabien Costantini a8450fee4f Added ignore filters prop to visual ide dir.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 14:30:51 +00:00
Albrecht Schlosser 68c34f9ec9 documented the major code changes in migration_1_3.dox
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 14:24:35 +00:00
Fabien Costantini 488ee44257 vc2005 ide fixes: old fluid custom compile would not use variables making difficult to port them -> now uses devenv (InputName) var. Moved vc2005 to ide. Checked full builds in Release/Debug and Release Cairo/Debug Cairo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 13:11:06 +00:00
Albrecht Schlosser ac7c97572c Fl_Group::clip_children() is now public (STR #2017)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 10:23:37 +00:00
Fabien Costantini 9d3b6d2b73 corrected makeinclude IMGDSONAME to CAIRODSONAME paste typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6466 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 10:19:11 +00:00
Albrecht Schlosser 587a23b3bb Minor documentation Makefile tweaks.
Removed fltk.pdf from svn:ignore and make distclean.
Added svn:ignore for man pages in documentation/src.
Added *.log to make clean in documentation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6465 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 09:46:08 +00:00
Matthias Melcher baa5549c00 Moving some doxygen dox around (Fl_Preferences).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6464 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 09:37:21 +00:00
Fabien Costantini 268ffc6ef2 Cairo increment 2: Finer cairo granularity, less deps, new fltk_cairo lib
+ added new USE_CAIRO config preprocessor def. 
   to differentiate from HAVE_CAIRO so that we can use the cairo lib 
   without forcing the full fltk lib to be linked against it.
   In that case, cairo autolink context functionality which needs fltk lib 
   instrumentation is disabled.
 + added new --enable-cairoext, which correspond to previous --enable-cairo.
   now, --enable-cairo only adds HAVE_CAIRO def. and keeps fltk lib
   from referencing cairo.
   In both cases (--enable-cairo & --enable-cairoext), a new fltk_cairo lib is 
   created. This lib, similarly to local versions of png,jpeg and zlib, 
   is not generated if cairo is not enabled.
 + added cairo to fltk-config : now new --use-cairo flag is available
 + modified all unix like makefiles to now generate minimum cairo deps and also
   new libfltk_cairo lib.
 + added new cairo subdir to permit conditional fltk_cairo lib generation. 
 + vc2005 project minimum update to compile without be broken, but still needs
   to create a similar fltk_cairo independent lib. For now, it works as before
   with a dedicated cairo env. similar to --enable-cairoext context in unix.
 + regression tested ok with cairo disabled on win32, mac osx, mingw.
  


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 01:42:35 +00:00
Fabien Costantini 7a5e64a4f3 Fixed mingw was broken because src/XUtf8 Makefile didn't point to proper ../../lib and ../../makeinclude paths.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6461 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 01:27:26 +00:00
Matthias Melcher fc28028954 Updated some documentation for Fl_Preferences::getUserdataPath()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-18 20:35:13 +00:00
Matthias Melcher b91aec5b87 Added clarification to Fl_GL_Window mode function (STR #1945)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-18 20:01:04 +00:00
Fabien Costantini fd13aabd19 Enabled Xcode docset makefile generation as it is transparent for non xcode users.
More precisely this option only adds a new hmtl/Makefile target and will permit 
to make and install fltk doc to be incorporated to XCode 3, 
but it is not automatically generated, even on the mac platform; 
as you still have to run manually make install from the html directory to activate that one. 
Works Great, FLTK documentation side by side with Apple Documentation in your XCode environment !!!



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-18 16:23:26 +00:00
Fabien Costantini b047ee943f Doxygen documentation:updated README
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6456 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-18 07:52:26 +00:00
Fabien Costantini 83c49f6fba Documentation makefile: Fixed make install would return an error if html folder does not exist.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-17 20:46:27 +00:00
Fabien Costantini b110a858d6 Changed the former todo_filelist used for WPs about porting old html to doxygen to a general TODO.doc now.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-17 12:50:16 +00:00
Fabien Costantini 6ff84799a3 Moved latex related files to src, man files to src, updated Makefile and Doxyfile accordingly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6453 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-17 12:42:28 +00:00
Fabien Costantini 69dbe4ea9c now renaming restoring dir src_doc src.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6452 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-17 11:26:30 +00:00
Fabien Costantini 09cfc1a1ea Removing current broken history documentation/src dir.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-17 11:22:35 +00:00
Fabien Costantini 4b5a6d1b23 adding jpg files from 6430 to restore dir
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-17 11:17:55 +00:00