Commit Graph

4266 Commits

Author SHA1 Message Date
Matthias Melcher
6e7ed9c46a Ooops, Fl_Text_Buffer::insertfile must read in binary format, or it will screw up line endings! (Actually, this could be debated, but by reading and writing in binary format, the file integrity would remain)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 23:25:52 +00:00
Matthias Melcher
804ef7d4f9 Fixed case when reading empty file
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7967 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 23:23:44 +00:00
Matthias Melcher
f18e8f4377 Fixed Fl_Text_Editor::insert_file to load all text in a single chung to avoid UTF8 confusion and missmatched gaps.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 18:44:33 +00:00
Matthias Melcher
1bac8a0cca Fixed crashes when Fl_Text_* detects illegal UTF 8 sequences. Widgets will not do any further processing but just jump over the character. Screen representation depends largely on whatever the underlying OS does with those sequences, but I feel that this is out of the scope of this library. (STR 2348)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 18:22:22 +00:00
Matthias Melcher
06e5a163cd Forgot to removed an unused line
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 17:42:48 +00:00
Albrecht Schlosser
1124abc911 Fixed typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 15:54:52 +00:00
Albrecht Schlosser
f77228f2ef One more copyright fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7962 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 15:51:22 +00:00
Matthias Melcher
52fcab2607 Fixed 'Fractal' demo. Tree's were not random at all.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7961 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 15:39:31 +00:00
Matthias Melcher
2da2153c77 README on IDE's
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7960 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 15:14:42 +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
Greg Ercolano
41c28597b9 Added rules to create eps files (if they don't exist) using ImageMagick convert(1).
This would probably allow us to remove the documentation/src/*.eps files from svn at some point.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7958 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 03:00:06 +00:00
Greg Ercolano
81dd665b46 Removed unused FL.eps (see today's thread on fltk.development: "RFC docs")
Adjusted documentation/Makefile: in IMAGEFILES and EPSFILES: removed duplicates, added missing, sorted all.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7957 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 02:47:27 +00:00
Greg Ercolano
7d6e83aab6 Fixing zero sized eps files, as per Albrecht's request on fltk.dev today.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7956 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 17:52:00 +00:00
Greg Ercolano
4abadf9df5 Fixed tree-elements image
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 16:07:55 +00:00
Albrecht Schlosser
0e49ecd3d3 Improved documentation/README, removed old and obsolete text, and
tried to clarify documentation generation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 15:49:48 +00:00
Albrecht Schlosser
3226204369 Fixed one doxygen warning and cleaned up documentation/Makefile.
Removed unused statements and old comment.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 14:45:06 +00:00
Greg Ercolano
65d02841c2 Added latex \image refs to tree+table docs,
and eps image filenames to documentation/Makefile.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 09:50:59 +00:00
Greg Ercolano
d527040121 Adding a few widget images and eps equivs for Fl_Table and Fl_Tree
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 09:48:02 +00:00
Greg Ercolano
770c2c2eaf CMP mods: bracing, doxygen fixes for code examples and #if DOXYGEN -> #if FL_DOXYGEN.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7950 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 01:22:53 +00:00
Greg Ercolano
0abd2665f5 Reformatting for CMP: Indent fixes, bracing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7949 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 00:38:16 +00:00
Albrecht Schlosser
f6975396a8 Reverted unintenional change of test/editor.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-04 12:06:29 +00:00
Albrecht Schlosser
2db2db587c Fixed typos and reformatted some lines that were longer than 80 characters.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7947 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-04 12:03:08 +00:00
Manolo Gouy
0861422c71 Improved interaction with non-FLTK windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-03 19:22:15 +00:00
Albrecht Schlosser
286e523125 Another fix for Fl_Preferences when creating a "user data" path for system
preferences (STR #2465).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-03 17:40:05 +00:00
Albrecht Schlosser
8c72400a20 Fixed reading the correct preferences for Fl::options() (STR #2463).
Fixed not to override system options with user options, if they are not
explicitly set (same STR).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7944 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-03 16:41:45 +00:00
Manolo Gouy
b6bfb36bc1 Removed breakMacEventLoop() from function Fl::remove_timeout that is apparently not needed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7943 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-03 15:39:16 +00:00
Manolo Gouy
c95c08e627 Fix STR 2281: documentation changes only to clarify names and functions of the 2 clipboards
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 22:59:30 +00:00
Manolo Gouy
c5ef8d13d1 Fix for STR #2465: make sure that system preference files are user readable (unix).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7941 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 22:07:29 +00:00
Greg Ercolano
a343f7555b STR#2466: Added copy_tooltip().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7940 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 17:58:58 +00:00
Manolo Gouy
3578d1d6f8 About STR #2456: clipping added to solve STR now requires USE_XFT.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7939 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 13:01:44 +00:00
Albrecht Schlosser
b4299c2387 More Fl_Text_Display documentation updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 09:46:01 +00:00
Manolo Gouy
ad879c3a48 To fix STR #2464
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7937 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 09:07:31 +00:00
Albrecht Schlosser
e5fc1560b0 Fixed Doxygen comments, typos, and a few indenting issues.
Part 1, more to come ...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 00:43:07 +00:00
Manolo Gouy
17963c0475 Fix STR #2462.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-01 23:12:06 +00:00
Manolo Gouy
2f8b7e47c2 Should fix STR #2464 by not calling fl_open_display when running fluid in command line mode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-01 18:31:23 +00:00
Manolo Gouy
bbb273cb3a Doxygen changes: replaced "defined" by "declared" where appropriate.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-01 17:48:59 +00:00
Manolo Gouy
180ec65687 Doxygen changes to indicate what to #include for functions documented in modules.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-01 17:38:29 +00:00
Manolo Gouy
04ca835e3a Consistent usage of __APPLE_QUARTZ__
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7931 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-01 15:52:02 +00:00
Manolo Gouy
5f3988e934 Fixes STR #2462.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-01 12:56:42 +00:00
Greg Ercolano
93135e36f4 Applied patch "str-2416-erco-v1.patch" to solve STR #2416
issue with UTF8 window labels not working with xwininfo.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-01 08:13:27 +00:00
Manolo Gouy
6c1f31ff20 Mac OS X: Added shadows to menu and tooltip windows; this was lost when going Cocoa.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 19:08:02 +00:00
Manolo Gouy
0d6177412a Fixes STR #2456: adds, for X11, clipping around text to prevent leaking on line above.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 17:56:23 +00:00
Greg Ercolano
ddf187af37 Added sortable table example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 17:02:11 +00:00
Manolo Gouy
a8a5e3603c Fixes STR #2277.
Many thanks for the patch.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7925 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 16:36:38 +00:00
Manolo Gouy
142f80e8b2 Back to v.7909 because changes in v.7922 don't work with underscores under Linux.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7924 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 15:17:52 +00:00
Manolo Gouy
d2334f610e Fixes STR #2461. Also, the drag'n-drop X11 cursor has been set to FL_CURSOR_MOVE.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 14:06:15 +00:00
Manolo Gouy
1303ce4597 Fixes STR #2456. The text background was cleared one pixel too low for very "high" characters.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7922 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 11:07:54 +00:00
Matthias Melcher
cc4e22eabb Fixed argument type in X11 calls (STR 2432)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 11:05:38 +00:00
Albrecht Schlosser
8c56fc7e22 Updated CMake files with patches from Michael Surette (STR #2317).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7919 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 10:34:43 +00:00
Greg Ercolano
806542a84f Fixed Fl_Table's docs referencing example programs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7918 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 04:48:29 +00:00