Commit Graph

3910 Commits

Author SHA1 Message Date
Greg Ercolano
4fd11eba88 Changed references to fltk-bugs@fltk.org -> STR form.
Todo: LGPL license file references (COPYING, license.dox, etc)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 03:15:47 +00:00
engelsman
a10e58a690 added implementations of fl_wcwidth_() and fl_wcwidth() to src/fl_utf.c
these supercede the old fl_wcwidth() code in src/xutf8/fl_wcwidth.c.
also added corresponding declarations to FL/fl_utf.c, and updated
src/Fl_Text_Buffer.c to enable the call to fl_wcwidth()



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-20 21:43:31 +00:00
engelsman
d50ca53788 tweaked fl_wcwidth.c and mk_wcwidth.c to remove system wchar_t
commented out, or replaced, wchar_t with unsigned int.
commented out unused functions from mk_wcwidth.c.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-19 21:15:30 +00:00
engelsman
a7a81061be tweaked fl_wcwidth.c and mk_wcwidth.c to supercede system wchar_t
fl_wcwidth.c has a typedef unsigned int wchar_t; and
mk_wcwidth.c has an #if 0 to stop #include <wchar.h>



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 18:38:13 +00:00
engelsman
4f928ef3d6 vanilla version of Markus Kuhn's wcwidth.c plus wrapper code
wcwidth() function required to give column widths for UTF-8
and is required from solving remaining parts of STR-2158



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 15:13:03 +00:00
Albrecht Schlosser
1ad2e5bf81 Added missing examples in CMake files: applied missing_examples_7473.patch
(STR #2317).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 15:09:04 +00:00
engelsman
9545e033bb Fl_Text_Buffer/Display fixes for UTF-8 / STR-2158 (part 1)
fixes to handle incorrect counting of UTF-8 characters by checking
for complete UTF-8 encodings in char* rather than char by char.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 14:33:33 +00:00
Manolo Gouy
1cd1045572 Fixed Quartz printing of custom dashed-lines.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 07:53:20 +00:00
Manolo Gouy
d0b1cc30f7 Removed multiple inheritance: back to r. 7519 exactly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 06:57:37 +00:00
Manolo Gouy
828568a336 Fixed compilation error at line 44.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-17 13:48:35 +00:00
Manolo Gouy
913530758a Improved the hierarchy of Fl_Device subclasses to allow separation of platform-specific devices.
This introduces multiple inheritance.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 20:19:09 +00:00
Greg Ercolano
0f180e1306 Small doc clarification for new insert() item.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 19:50:40 +00:00
Manolo Gouy
5a8c6087b0 Added Fl_Sys_Menu_Bar::insert(), clear(), clear_submenu()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 19:27:28 +00:00
Greg Ercolano
cba451be45 Doc sync.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 17:55:45 +00:00
Albrecht Schlosser
4d22e65e53 One more correction to misc/README.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 14:58:30 +00:00
Albrecht Schlosser
0aa28e28b4 Minor corrections and additions to misc UTF-8 test files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 14:49:08 +00:00
Albrecht Schlosser
ead526760f Added test files for UTF-8 character testing (use test/editor).
See the README file for more info.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 14:25:20 +00:00
Manolo Gouy
e0c8890874 Back to use of fl_file_chooser()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 12:58:42 +00:00
Manolo Gouy
590020a945 Replaced fl_file_chooser() by Fl_Native_File_Chooser uses in test programs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 11:27:15 +00:00
Matthias Melcher
2a2e0821c9 Small fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7507 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 08:56:37 +00:00
Manolo Gouy
595b20f802 ps_image.cxx: better byte-swapping algorithm.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 08:24:25 +00:00
Manolo Gouy
fe76949b83 Made fl_register_images() seen by Doxygen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:47:34 +00:00
Matthias Melcher
30d00ceb07 Fludi IDE: now supporting header files for OS X. If those are included for a library, the resulting framework will receive a copy of the headers, allowing Xcode to simply include the file into any new project. frameworks must be installed in /Library?Frameworks to be found automatically. A little more fixing is required.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:17:44 +00:00
Manolo Gouy
79b2c201a0 Fl_Pixmap: improved algorithm for WIN32 printing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:12:06 +00:00
Manolo Gouy
f4a08a3672 Removed compilation warning
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 13:21:10 +00:00
Manolo Gouy
be9127c61a More logical use of Fl_Device::draw(<image class> *,...) functions
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 13:07:34 +00:00
Manolo Gouy
97c893ab5e gl_draw.cxx: simplified/clarified #define's
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 09:29:08 +00:00
Manolo Gouy
4b32140457 Making fl_old_shortcut() seen by Doxygen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 08:07:53 +00:00
Manolo Gouy
7551309325 gl_draw.cxx: removed the suspenders but kept the belt.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 07:58:37 +00:00
Manolo Gouy
009ff54aea gl_draw.cxx (Mac-specific): fixed bad shading of text color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7497 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 21:34:20 +00:00
Greg Ercolano
5888784fc2 Added some extra doc examples for this function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7496 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 21:08:06 +00:00
Manolo Gouy
9ae353c6be gl_draw.cxx (Mac-specific): fixed another bad use of non null-terminated string.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7495 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 19:56:23 +00:00
Manolo Gouy
96c392763e gl_draw.cxx (Mac-specific): fixed use of fl_measure with non null-terminated string.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 17:58:30 +00:00
Manolo Gouy
d36eb9b30f gl_draw.cxx (Mac-specific): account for text color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 17:44:52 +00:00
Manolo Gouy
c5352b84cc gl_draw.cxx (Mac-specific): for __ppc__ only, back to old gl_draw algo without texture.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 16:10:08 +00:00
Manolo Gouy
241b2c746e gl_draw.cxx (Mac-specific): implemented a fifo pile of pre-computed textures for faster GL text rendering.
Also added new function gl_texture_pile_height(int) that sets the height of this pile.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 14:26:12 +00:00
Matthias Melcher
a9f8b70019 Fixed Copyright.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 13:37:13 +00:00
Matthias Melcher
8a2049d64c Fluid: IDE. Removed some redundant code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 12:28:46 +00:00
Matthias Melcher
8cbb278769 Removed commented out fields.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 15:21:35 +00:00
Matthias Melcher
9100fc0b51 Solved MSWin type conflict UUID
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 15:15:03 +00:00
Albrecht Schlosser
9604b556b8 Updating dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 10:24:32 +00:00
Ian MacArthur
1fb3b9ff4b Work around a typedef in ide_support.h that breaks win32 builds.
Does not appear to be used anyway, so nothing is lost be excising it.

NOTE: The dependency files are not up to date for fluid with the latest modifications, so changes to the headers are not triggering a recompile of the source files when they ought to.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 09:55:43 +00:00
Matthias Melcher
e1d22ebba7 Added ide generating code to command line version of Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 05:18:38 +00:00
Matthias Melcher
a73a70a2c7 Fluid IDE tools: added some more human readable annotations to the database
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 20:23:38 +00:00
Matthias Melcher
ed2870637f Fluid IDE support: rewrite all Makefiles. This has no smart parts inside yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 20:16:47 +00:00
Albrecht Schlosser
bbda62f267 Updated bundled pdf docs (documentation/fltk.pdf) to svn -r 7480.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7481 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 19:34:55 +00:00
Albrecht Schlosser
6359f8be73 Made the printer dialog customization strings platform independent, so that
they can be set on all platforms to avoid platform-specific end user code.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7480 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 18:42:35 +00:00
Matthias Melcher
896c6c2766 Apple Cocoa: modal windows would not resize.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 09:52:05 +00:00
Matthias Melcher
2fe7eabb62 Completed the alignment pulldown menus for all new alignment styles. Hope you guys like it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-10 22:16:55 +00:00
Matthias Melcher
927fd35165 Added new label alignments for image and text to Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-09 22:18:05 +00:00