fab672000
8c44c9a6b1
As requested implement cmake builds and also implement matrix customization to use a static analyzer and also doc gen in only one target to avoid having too many targets
2018-12-27 21:47:23 -06:00
fabien
c361b64096
Travis implementation allowing to build four targets on change of master or a matching pattern of feature/*.
...
This implementation differs from existing fltk-test and also gitlab implementation :
- minimum, fast light implementation: stripoped all unused constructions compared to other implementations
- supports successful builds of four targets (linu, osx and then gcc and clang for each of them)
- uses before_script instead of before_install
- uses after_success for building documentation, instead of building always if error
- only builds documentation on linux targets for now (can easily change if future)
2018-12-26 16:19:25 -06:00
fabien
5c7118f8d9
Add documentation on how to build Cairo in Linux Debian and derivatives.
2018-12-25 12:25:35 -06:00
fabien
65d90c33dc
Removes few tabs from options.cmake. When removing tabs, also apply cmp standard (two spaces) recommended indentation.
2018-12-22 15:01:20 -06:00
fabien
9338385da7
remove unnecessary double braces in option.cmake cairo detection code
2018-12-22 10:35:52 -06:00
fabien
caea9c0c01
Make .gitignore ignore CMake autogenerated files and also visual studio .vs directory
2018-12-22 08:56:33 -06:00
fabien
e3b289e008
CMake CAIRO support minor improvements: Make the conditional code more readeable by reusing the already parsed PKG_CAIRO_FOUND variable instead of testing for it again, which also simplifies the preconditions testing. Fix typo (. in endif statement comment).
2018-12-22 08:26:56 -06:00
fabien
31dddf5719
Fix typo in README.Cairo.txt
2018-12-22 08:24:17 -06:00
fabien
4ad9b5af0c
Ignore .tlog file generated by msbuild when using msvc tools.
2018-12-22 08:23:12 -06:00
fab672000
4ded3c2099
Added as well the .DS_Store pattern as recommended by Manolo.
2018-12-03 15:19:25 -06:00
fab672000
ee9bd35266
Fix building on mac OSX (using ./configure unix makefiles) still shows not ignored binaries. Note that fltk block, checkers and sudoku games do have special content inside the .app folder, so ensure that these are not globally ignored while cleaning up the other test apps binary content that should be ignored.
2018-12-01 17:25:21 -06: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
Fabien Costantini
54b0123eab
Added a new portable sleep API(ABI compatible). Now features a flexible multi-usage sleep() api accepting decimals, msleep() for millisecs only, usleep() for microsecs. Updated Makefiles, cmakefiles, vs2008, vs2010 with the new Fl_sleep add-on. Documented new API. still needs to be added in Xcode.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 04:10:12 +00:00
Fabien Costantini
8edcf8f29f
STR#3012 Fix: cairo_make_current(void*, int, int) would not release previously allocated cc in certain conditions, fixed the extra cc non null test condition erronously formulated in previous submission.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-11 06:33:14 +00:00
Fabien Costantini
32aba335c6
STR#3012 Fix: cairo_make_current(void*, int, int) would not release previously allocated cc in certain conditions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-11 06:16:57 +00:00
Fabien Costantini
145b44110b
Minor comments formatting discrepancies fix.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-06 03:38:02 +00:00
Fabien Costantini
0ab2bd9dda
Added cocoa improvement inspired for from ossman improvement STR2802 for modal windows...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9407 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-28 00:46:24 +00:00
Fabien Costantini
e67e798aeb
Fixed build break on FLTK_ABI_VERSION >= 10302 introduce in r9293 as extern ref to fl_copy_offscreen would not be found anymore by linker... This can't be captured yet by the Jenkins continous intergration builds as the compilation is for the FLTK_ABIVERSION >= 10302
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9406 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-28 00:42:31 +00:00
Fabien Costantini
fa60da1ca7
Optimized final string ending sorting test
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9403 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 04:58:28 +00:00
Fabien Costantini
78a8821bc5
Optimized unnecessary use of strlen()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9402 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 04:50:56 +00:00
Fabien Costantini
41d77efe8e
Fixed comments
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 04:42:46 +00:00
Fabien Costantini
6588c7f390
Fixed indentation as specified by the CMP
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9398 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 04:40:50 +00:00
Fabien Costantini
2340ea06a6
Fixed a sorting issue w/ different sizes
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9397 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 04:32:51 +00:00
Fabien Costantini
8154316dc5
improved ascii strcasecmp, and use it in font sort instead of strcasecmp
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9396 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 03:52:00 +00:00
Fabien Costantini
d90b170c8d
Fixed more warnings in VC2010 32+64 bits builds
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9395 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 03:34:26 +00:00
Fabien Costantini
36c52ce810
Fixed even more warnings in Fl_x.cxx & utf8Wrap.c
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9394 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 02:44:21 +00:00
Fabien Costantini
5e0ecd4dab
Fixed a warning in utf8Wrap.c
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9393 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 02:28:51 +00:00
Fabien Costantini
88cbdd46f7
removed more 64 bits warning in curve/arc demos
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 02:06:52 +00:00
Fabien Costantini
636885f28c
removed 64 bits warning in arc demo
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 02:03:10 +00:00
Fabien Costantini
9011c77c0e
Added range test in new fl_ascii_strcasecmp to avoid potential false positives.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9390 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 01:12:54 +00:00
Fabien Costantini
dc6e8a5f8a
fixed missing win32 preprocessor clause
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-22 03:09:31 +00:00
Fabien Costantini
a5196976cc
restore transparent_c use for win32...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-22 02:59:27 +00:00
Fabien Costantini
822bc272fc
Fixed linux 64 gcc 4.6.1 compilation problems
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-22 02:45:09 +00:00
Fabien Costantini
1b01c3a94c
STR 2771 fix cont'd used the new api in scheme(const char*)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 17:40:07 +00:00
Fabien Costantini
56a184d529
STR 2771 fix: introduce a new ascii strcasecmp that does not rely on locale sensitive toupper tolower.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 17:21:11 +00:00
Fabien Costantini
157a96aa4b
STR2783: make potential null string substituted to an empty string, still achieve internal cleanup in Fl_Text_Buffer::text(s)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 15:05:00 +00:00
Fabien Costantini
8ec35982ee
STR2726 fix. proper cast should be int as specified in isspace documentation, not unsigned char
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 03:17:40 +00:00
Fabien Costantini
226f425443
STR2731 fixing: potential use of unassigned (Y) value
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 03:02:25 +00:00
Fabien Costantini
1d3f79bc23
Made homogen the scope of the new fl_tree enum with previous Fl_Tree_Reason enum.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-16 03:29:56 +00:00
Fabien Costantini
0f493a9739
Fixed comment was misplaced in new tree api
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9348 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-15 20:47:02 +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
Fabien Costantini
8809c5d65d
Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05 05:12:30 +00:00
Fabien Costantini
cc79642a94
Say goodbye to weird comctl32.lib link clause in vc20xx builds. Now embeds it if it is supported, so no need to specify more than fltk libs in new fltk projects ! Makes it similar to other platforms linkage options and will probably improve learning curve of fltk new users. Improvements could be implemented for even easier/transparent linkage (fltk libs, fltk dlls?) of fltk apps.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8461 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-21 18:33:46 +00:00
Fabien Costantini
c7fff91435
Fixed FL_EXPORT missing would fail MSVS builds.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-21 16:36:10 +00:00
Fabien Costantini
7b64bc866d
Fixed vs2005 project dependencies, fixed bad file refs for recent projects added.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-22 06:31:05 +00:00
Fabien Costantini
e85ff24c22
Fixed another FL_EXPORT missing in fl_draw.H.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-22 06:17:47 +00:00
Fabien Costantini
4f7629a109
Fixed broken vs2005 ide project files and created table, tree, blocks vcproj projects for vs2005 solution.
...
Fixed missing FL_EXPORT statements would break dll gen in all visual studio projects.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7314 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-22 05:50:49 +00:00
Fabien Costantini
bf4635d00d
Fixed executable in release mode would have the debug mode name (ex: help.d.exe instead of help.exe). fltk dll's should be checked as well, in particular : intermediate obj gen. is done at the same place that other static compilation...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-21 23:34:59 +00:00
Fabien Costantini
31a54bcf1b
Fixed msvc6 compilation was broken. What is the use of visualc now? seems we should remove that one ...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-21 22:55:18 +00:00
Fabien Costantini
9eaf693d4a
Fl_Text_Display C code simple refactoring:
...
+ Replaced uninitialized C parameters archaisms, by on the fly C++ local var. decl.
Not only it will be more optimized by modern c++ compilers,
code is easier to read, maintain and debug and is shorter.
Most local variables are now explicitly intialized when declared.
+ Replaced some non const vars by const equivalents when required.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04 05:18:29 +00:00
Fabien Costantini
80ce73bc22
UTF8: Fl_Text_Display and related:
...
+ more const methods modifications for Fl_Text_Display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04 01:09:43 +00:00
Fabien Costantini
1b4b02f7a1
UTF8: Fl_Text_Display and related:
...
+ Constrained many Fl_Text_Display (get and measurement) methods to const.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04 00:57:46 +00:00
Fabien Costantini
691ab84503
UTF8: Fl_Text_Display and related:
...
+ Modified selection buffer access methods to return const Fl_Text_Selection pointers. Added a non const get method for the main selection buffer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04 00:24:26 +00:00
Fabien Costantini
06b58d92bd
Updated CHANGES with recent Fl_Text_Buffer and Fl_Text_Selection changes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04 00:10:51 +00:00
Fabien Costantini
9182195f17
UTF8: Fl_Text_Display and related:
...
+ Even more const constraints added to Fl_Text_Selection and Fl_Text_Buffer methods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04 00:06:32 +00:00
Fabien Costantini
e982ba24a9
UTF8: Fl_Text_Display and related:
...
+ Added more const constraints to Fl_Text_Selection and Fl_Text_Buffer methods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-03 23:54:34 +00:00
Fabien Costantini
d4e85cef93
UTF8: Fl_Text_Display and related:
...
+ Made char * text() const., this method should be further checked for UTF8 compat.
+ Added a fixme comment to remember we must check for the potential incorrect
assumption that that a buffer size equals the string length + 1.
+ Correct a protected attrib. typo as we don't need to care about ABI compat. for now.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-03 23:32:47 +00:00
Fabien Costantini
d94e82c6c2
Updated make etags target src files filter.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-27 16:39:36 +00:00
Fabien Costantini
4d82b14831
vc2005 update:
...
+ Added readmes to the solution explorer
+ Added folder to solution explorer to help navigating in the distrib faster and more easily.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-27 00:02:20 +00:00
Fabien Costantini
a8dad162af
vc2005 Project files:
...
- Fixed dependencies problems for line_style and cairo_test targets making full build failed because fltk lib would build after them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-26 22:46:46 +00:00
Fabien Costantini
792f2adb41
Updated UTF8 todo list from current google shared document for those who can't/ don't know where to look at.
...
Great addons Greg, Thanks!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6722 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-26 21:52:24 +00:00
Fabien Costantini
9c191c2317
Removed former TODO.utf8 file as suggested and confirmed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6719 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-25 16:38:28 +00:00
Fabien Costantini
9c7d2ed48a
Started a new TODO.utf8 list canvas. Please fill the lists. moved the former todo content to a TOD-files.utf8 file. Should be removed IMHO
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-25 16:23:14 +00:00
Fabien Costantini
15489bda1b
Major documentation update including: now html doc API is sorted, navigation problems/side effects fixed, html tags replaced by proper doxygen commands, parameters command switched from a to p. Includes a pdf update.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-24 01:40:44 +00:00
Fabien Costantini
3ed30905a9
Updated the make html process, adding a new strip functionality that removes the date in each and every html autogenerated files. Now a constant message is displayed thus reducing drastically the size of future web updates.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14 20:29:11 +00:00
Fabien Costantini
b30b9e170a
minor compile warning solved in test/utf8.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-29 21:55:23 +00:00
Fabien Costantini
1a297e1947
STR#2127:
...
- Applied third version of greg patch adding new external link functionality.
- Corrected it so that it can compile under linux (minor include problem)
- Corrected old documentation link to new one (toc.hmmtl is now index.html)
Tested succesfully on linux and mac os x 10.5
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-29 21:14:42 +00:00
Fabien Costantini
b4a3ce9d08
STR#2133 fix: erroneously releasing flavorType would cause a crash when pasting twice in an Fl_Input object.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-27 13:38:23 +00:00
Fabien Costantini
0e6409c3a0
Fixed fl_color() setters would crash under X11 when called with no valid fl_gc.
...
The fix prefer not to set a default gc to avoid side unpredictable side effects
(i.e: the color would not be set on the expected window)
Maybe this could be later further improved by using
fl_GetGC() with the current or the first fltk window
so that a color would always be set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-21 16:09:39 +00:00
Fabien Costantini
ecf26b1d12
Doxygen documentation corrected a typo in new module entry name.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-20 12:04:13 +00:00
Fabien Costantini
b00d2bfa42
Doxygen documentation
...
+ Added a new Module section named : File names and URI utility funtions
+ updated the pdf file adequately
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-20 11:10:29 +00:00
Fabien Costantini
8d590e0ed8
Help demo: now loads the non framed version main.html instead of index.html
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-20 08:53:11 +00:00
Fabien Costantini
49bb1ab55d
Fluid: fixed Help dialog would open the non handled frame version (index.html) instead of the non framed version (main.html) of the documentation, thus making necessary to click to the redirected non-framed page. Now fluid opens directly the non framed documentation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-20 08:47:18 +00:00
Fabien Costantini
2689cedc36
Fixed Mac OS X text descent would not return correct height, now multi input lines space between lines matches exactly the spacing in fltk 1.1. No more pixels eaten during drawing.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-17 15:58:11 +00:00
Fabien Costantini
0836f376e5
STR#2121: fixed a potential memory leak on flavorType, made local stack variables declaration zero initialized when necessary, those not zero initialized are now declared when used.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-17 09:18:46 +00:00
Fabien Costantini
b7e9f1eb77
STR#2121: added a break in the flavortypes main loop just in case one day we have more than one to choose from so that the order of the one choosed is guaranteed, also fixed potential memory leaks by releasing flavorTypeArray when exiting the main loop prematurely.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-16 14:39:41 +00:00
Fabien Costantini
b511a4df08
Updated CHANGES with recent revisions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-14 18:11:32 +00:00
Fabien Costantini
49ed3ac908
STR#890 non-lazy fix: as suggested, replaced the one level color attribute saving by a better font style stack including the color in its font style elements.
...
Took this opportunity to remove the separated font stack (font and size) tables by an opaque and dedicated font stack object implementation. This permits i.e to change easily the stack size or even impl. (like a linked list impl.) without impacting the widget code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-14 17:59:49 +00:00
Fabien Costantini
4cac674b25
STR#2121 improvements:
...
- Added the manolo improved paste version which I in turn improved with the following:
+ transformafed the number of flavor iteration to a generic number (we can add new flavors without changing the autocalculated dim)
+ replaced local stored stack encoding data tables by constant declarations
+ added error checking to the Fl::paste() code.
- Added error checking to Fl::copy(), corrected the memory leak.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-14 14:49:17 +00:00
Fabien Costantini
9c523405a8
Updated CHANGES with recent modifications.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 17:34:29 +00:00
Fabien Costantini
43d5a9de55
STR#890 fix attempt: correct imbricated font color handling.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 17:24:44 +00:00
Fabien Costantini
cbd3151d4f
STR#2121: Added old fltk 1.1.x scrap buffer paste detection to Fl::paste().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 16:45:55 +00:00
Fabien Costantini
a33d0a6d29
STR#2035 fix : Changed all 1998-200[0-8] dates to 1998-2009 for supported fltk files (this excludes i.e the png subdir).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 14:52:45 +00:00
Fabien Costantini
e9ef99002f
STR#2121 fix: Fixed paste from utf16 content would not work in fltk input widgets,
...
thanks manolo for the code fragment.
Code inserted into Fl_mac.cxx, tested, regression tested with utf greg japanese example from fltk to fltk, now all test cases work fine in mac os x (10.5.5).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 13:55:55 +00:00
Fabien Costantini
84920d7cf1
STR #2104 fix: applied patch from sadysta, modified it to harmonize with existing win32 code like global alloc code, wchar_t type use. Added a wchar.h include for gcc win32 targets, compiled and tested under vc2005, gcc mingw, gcc cygwin.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 12:43:03 +00:00
Fabien Costantini
601a0f0d3e
+ Fixed font set to const string was potentially free in
...
Fl_x.cxx:fl_set_spot()
+ Fixed fl_ask.h erroneous include replaced by fl_ask.H include in
colbrowser.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-04 16:21:42 +00:00
Fabien Costantini
8a53f05688
STR50 fix attemp. Added a new check_redraw_corresponding_parent() function to redraw the corresponding tab of a Fl_Tabs or Fl_Wizard group. tested with single, multiple selection. Compared to the proposed patch this version only add one function similar to redraw_overlays() without modifying the Fl_Type class.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-03 15:44:06 +00:00
Fabien Costantini
d7e4bfe777
Doxygen Documentation:
...
updated more copyright date info to 2009 in html and tex headers/footers
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-03 10:00:41 +00:00
Fabien Costantini
cdf64d9a84
Doxygen documentation:
...
Updated fltk pdf reference manual
Updated copyright date (2008) to 2009
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-02 10:21:22 +00:00
Fabien Costantini
a85a33aa87
Core lib:
...
Cleaned up 3 unused variables warnings in Fl_mac.cxx.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-28 11:32:54 +00:00
Fabien Costantini
79838655ba
Doxygen Documentation:
...
- Added a new Drawing module, re-ordered it to follow color and fonts
module by ading a little defgroup hack in Fl.H
- Completed color and fonts module with global functions found in fl_draw.H
Modules should be quite exhaustive now, please review and add missing modules/ functions if any.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-28 11:21:03 +00:00
Fabien Costantini
63b8523126
Updated CHANGES for STR 2106 fix for 1.3.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-17 12:23:37 +00:00
Fabien Costantini
2b931a6f77
STR#2106 fix:callback not called if radio button state changed from a shortcut but is called when changed with mouse.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-17 10:36:46 +00:00
Fabien Costantini
fd959f45ba
XCode31 ide project: Fixed missing header include for the jpeg local lib. Harmonized the osx deprecated api warning removal, now like in the unix makefiles.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 20:55:12 +00:00
Fabien Costantini
4047f3dba7
Sorted buttons order as they appear in fluid, changed the 'same shortcuts A1 and A2 as it is more confusing than helping in finding bugs for this test case.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6586 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 20:11:04 +00:00
Fabien Costantini
d592a5fe81
Reverting this change that was intented for another branch, not trunk, sorry.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 16:33:21 +00:00
Fabien Costantini
76bcfdd4de
patch from STR2026 for testing
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 16:30:26 +00:00
Fabien Costantini
b1fefe0645
Fixed vc6 fltkdll would not link in test directory.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 15:45:27 +00:00
Fabien Costantini
8391354f36
Fixed some vc6 targets would not output their binaries to correct directories since last move in ide directory and disparities between slash and backslashes declarations, not all the targets were modified. Should be ok now.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 15:39:24 +00:00
Fabien Costantini
7b49e892b8
Fixing corelib would not compile under vc6 following fl_text_extents() addons. checked on win32/vc6,macosx. Please on other win32 compilers.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 14:38:04 +00:00