Manolo Gouy
beb02e12f6
Made Mac OS X menu windows very slightly transparent.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-11 13:33:29 +00:00
Manolo Gouy
85a03a76c9
Fix STR #2348 . Files encoded with UTF-8 or CP1252 are accepted. Any non-UTF-8-encoded
...
data is interpreted according to CP1252 and transcoded to UTF-8. By default, a warning
message is displayed when the input file was transcoded. This default behavior can be
modified by changing a function pointer. A flag has been added to the Fl_Text_Buffer object
that informs the caller if the input file was transcoded to UTF-8.
The Fl_Text_Buffer.cxx file contains some preliminary code that could be used in the future
to input other encodings provided they are fixed-length (e.g., all ISO-8859-* character sets,
UTF-16). This code is not compiled at this point.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 19:24:28 +00:00
Greg Ercolano
395f5a70aa
Adjusted Fl_Table docs to reference new examples.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 18:31:38 +00:00
Greg Ercolano
675fff09cf
Renamed table-with-keyboard-nav.cxx -> table-spreadsheet-with-keyboard-nav.cxx,
...
(since it is a spreadsheet as well as demonstrating keyboard nav in tables).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8002 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 18:28:07 +00:00
Greg Ercolano
4f74131106
Code cleanup for two table spreadsheet examples.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8001 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 18:24:47 +00:00
Manolo Gouy
efeb50019d
Fix the MSWindows part of STR #2472 . DnD now works well with UTF-8 data
...
between FLTK and other apps in both directions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 17:52:14 +00:00
Manolo Gouy
3ed11e08b0
Fix STR #2475
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 16:57:23 +00:00
Manolo Gouy
042cc7085e
Fix STR #2473
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 12:27:29 +00:00
Albrecht Schlosser
1156ad5e98
Fixed buffer null termination inconsistency when removing cr's from
...
selection, source file indenting, and a crash if we have an empty selection.
Update for previous fix to STR #2472 (X11).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 12:05:01 +00:00
Greg Ercolano
3d94092dcc
Header mods for submission history, copyright notices, consistency.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 08:09:27 +00:00
Greg Ercolano
ca8f6d72b6
Small mod to spreadsheet example (single click cells)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 07:52:05 +00:00
Greg Ercolano
7457f0dcaf
Added table-spreadsheet example.
...
Various example mods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 07:49:22 +00:00
Greg Ercolano
4525d46ed9
Added color Fl_Text_Display example.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 05:27:20 +00:00
Manolo Gouy
e931f660ca
STR #2472 : X11 only: fixes DnD between FLTK and other apps for non-ASCII text.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 21:52:07 +00:00
Greg Ercolano
5ca2671de8
Added texteditor-simple example program.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 20:26:00 +00:00
Manolo Gouy
60764e05ca
Doc: removed duplicate word.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 13:41:12 +00:00
Greg Ercolano
de8ca00a65
More doc fixes:
...
o stray \code in the docs for Fl_Align
o smaller latex/pdf widget screenshot sizes for Fl_Value_Input/Output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 12:19:03 +00:00
Greg Ercolano
a01d246ead
Fix oversized color swatch in PDF docs.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 12:08:13 +00:00
Albrecht Schlosser
ceba5030a1
Windows: removed hidden old winsock 1 (wsock32.dll) support, as
...
discussed in fltk.development. We exclusively use winsock 2
(ws2_32.dll) and winsock2.h now.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 09:03:17 +00:00
Greg Ercolano
ea3cb98f4f
IMAGEFILES macro: gif -> png
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 01:03:59 +00:00
Albrecht Schlosser
ff9c9ed973
Updated image name in html_footer.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 00:25:34 +00:00
Greg Ercolano
4b22612fc4
Menubar example added.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 00:05:24 +00:00
Albrecht Schlosser
5da53f578e
Improved Fl_Menu_Item's documentation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 00:04:06 +00:00
Albrecht Schlosser
f9388a37df
Removed unnecessary casts (STR #2308 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 23:58:32 +00:00
Greg Ercolano
9e2d044caa
As per thread on fltk.development: "RFC: Docs - getting rid of .eps files"
...
Summary:
Get rid of eps files,
change all doxygen '\image latex' references to eps files to png/jpeg instead,
convert doxygen images from gif -> png (to support html+latex).
Actual operations:
1) svn remove *.eps
2) convert all gifs -> png
3) svn remove *.gif
4) svn add *.png
5) For jpeg/png images, change all \image latex foo.eps .. -> \image latex foo.[jpg,png] ..
6) For gif images, change all \image html foo.gif .. -> \image html foo.png
and (harder to do): change \image latex foo.eps .. -> \image latex foo.png ..
7) Remove EPSFILES macro from documentation/Makefile
and remove eps related dependencies that were added recently
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 23:53:04 +00:00
Manolo Gouy
163476f665
Fix STR #2277 for crash when DnD of filename to editor.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 17:10:05 +00:00
Albrecht Schlosser
ee3e8180b4
Fixed Windows text file line endings, as discussed in STR 2348 and
...
fltk.development. Side effect: All Windows text files written are
in Windows, aka DOS format (with CR/LF line endings), no matter what
format they had when read. This is compatible with FLTK 1.1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 14:47:11 +00:00
Albrecht Schlosser
97b4b0c704
Fixed Compiling with mingw-w64 (STR #2308 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 14:00:35 +00:00
Albrecht Schlosser
ef831abaa7
Fixed more Windows compiler warnings:
...
- unused functions: dnullprint, strapp
- format mismatch for newer compilers and/or 64-bit mode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 13:16:27 +00:00
Albrecht Schlosser
8e0cceff6e
Fixed cast for ShellExecute (Windows) as proposed by HenryN (STR 2308).
...
This is better since ShellExecute() returns a HINSTANCE value.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 12:42:45 +00:00
Albrecht Schlosser
f90c190a8e
Fixed some compiler warnings, most of them in Windows-specific code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 12:15:48 +00:00
Manolo Gouy
3105ab9de5
Added reference to Fl::dnd() in documentation of Drag and Drop events.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 11:42:47 +00:00
Albrecht Schlosser
e1cff96f1f
Added Windows Resource Compiler ("RC") to configure/makeinclude for
...
easier cross-compiling (not yet fully supported).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 09:48:07 +00:00
Manolo Gouy
a0af2510b6
Rephrased statement for international readership.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7972 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 09:24:02 +00:00
Manolo Gouy
4b9b38484e
Doc: specify in modules what .H file is to be included.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7971 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-07 21:47:57 +00:00
Manolo Gouy
271e1d8212
Fix STR #2470 . Don't call Xutf8TextPropertyToTextList if X_HAVE_UTF8_STRING isn't defined
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7970 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-07 18:25:15 +00:00
Matthias Melcher
0db080e762
Restoring the non-binary read for MSWindows files. Still, I think this is harmful because now we read in ASCII and write in binary format...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-07 16:00:16 +00:00
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