Commit Graph

1255 Commits

Author SHA1 Message Date
Albrecht Schlosser
c93ab39040 Fix Windows IDE solutions VisualC2008 and VisualC2010.
Add proper quoting to build properly if the FLTK source directory
  is located in a path that contains spaces.

Note: this is a source tar file update that is only necessary if you
build one of the above mentioned Visual Studio IDE solutions in a path
with spaces. Nothing else changed, no documentation updates.

See also important notes below.

------------------------------------------------------------------------

Note to svn (subversion) users: This branch (branch-1.3) is finished
since the release of FLTK 1.3.4.

Only very serious bug fixes will be available in FLTK 1.3 if FLTK 1.4
is not yet released or not (yet) stable.

The new development branch is now branch-1.4 -- please checkout a new,
clean svn working copy if you want to get branch-1.4.

------------------------------------------------------------------------

Note to Git users: FLTK's svn branch-1.3 has been the 'master' branch
in our Git repository, but this branch is finished since the release
of FLTK 1.3.4.

Only very serious bug fixes will be available in the new Git 'branch-1.3'
(this branch) if FLTK 1.4 is not yet released or not (yet) stable.

The new development branch is now branch-1.4 -- please checkout
branch-1.4 if you want to get the current FLTK 1.4 development branch.

The Git 'master' branch will stay as-is for some time, but in the
near future branch-1.4 will likely become the new 'master' branch.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-15 11:52:20 +00:00
Greg Ercolano
9ea3f40961 Small grammatical changes/clarifications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-10 15:29:23 +00:00
Albrecht Schlosser
487af0904b Update CHANGES for release (1.3.4), add KNOWN_BUGS.html.
KNOWN_BUGS.html is a snapshot of the current roadmap, i.e. the list of
current STR's and RFE's (feature requests).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-10 00:44:07 +00:00
Manolo Gouy
31a470df68 Reflect recent commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-09 20:24:39 +00:00
Manolo Gouy
2bf7d7af26 Reflect recent commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-08 21:39:30 +00:00
Albrecht Schlosser
7c248d5ec7 Fix test/native-filechooser help display artefact (STR #3349).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12080 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-06 10:40:39 +00:00
Albrecht Schlosser
af12372e42 Accept empty Fl_Pixmap in Fl_RGB_Image c'tor (STR #3348).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-02 11:47:36 +00:00
Manolo Gouy
77d071427b Update CHANGES to reflect a recent commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-01 21:32:36 +00:00
Albrecht Schlosser
115bf82d2b Update CHANGES for fltk-1.3.4-rc3.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-31 19:14:06 +00:00
Albrecht Schlosser
ed6d68825f Update CHANGES to reflect recent commits.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12058 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-28 21:04:00 +00:00
Albrecht Schlosser
b9d0177bc1 Update CHANGES for fltk-1.3.4-rc2.
Note: this commit *is* included in fltk-1.3.4-rc2 although it was committed
after the release.

I forgot to commit it, but since it was modified in my working copy
it was included in the RC.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12054 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-24 13:06:11 +00:00
Manolo Gouy
8f52fcdd95 Add: Make sure the "File Systems" menu item of Fl_File_Chooser lists "/" as the first mounted file system (Linux/Unix platform)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-19 06:04:46 +00:00
Albrecht Schlosser
1bcb9c83bc Small mod to CHANGES file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12046 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 23:04:48 +00:00
Manolo Gouy
b1dbcf4c3a Add support for Mac OS 10.12 "Sierra"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 16:18:37 +00:00
Albrecht Schlosser
de80a36218 Fix inconsistent interpretation of ld() in image handling (STR #3308).
Documentation has been fixed and clarified, and ld() handling is now
consistent in Fl_(RGB_)Image, their subclasses and fl_draw_image()
and similar functions.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-14 16:35:44 +00:00
Albrecht Schlosser
7d6caa94a2 Configure #4: update libs and header configuration and summary.
Rewrite library and header configuration so HAVE_something is only set
in config.h if both library and header files are found.

Fix and enhance summary output to display _found_ options instead of
_requested_ options (e.g. don't show Xft if Xft was requested but not found).

Configure is aborted if Xft is requested explicitly but not found.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-30 20:51:45 +00:00
Albrecht Schlosser
b7fc62a589 Fix potential crash when using keyboard nav. on Fl_Tabs (STR #3333).
Also: more consistent use of 'const int nc = children()'. Added 'const'
qualifier for clarity only. This does not change the behavior.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-23 14:01:12 +00:00
Albrecht Schlosser
b68501bddd Improve documentation, fix Fl_Window::icon(NULL).
This is now documented as legal to reset a window icon.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-20 17:08:27 +00:00
Greg Ercolano
dd41bc9eb0 small addition for recent feature.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-16 20:20:48 +00:00
Greg Ercolano
91cd90be3b Updating CHANGES file for fluid external editor support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 13:22:18 +00:00
Albrecht Schlosser
fa2bb6514b Improve drawing of rounded box (STR #2943).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 22:10:23 +00:00
Albrecht Schlosser
6e503e90a0 Allow widget callback to be NULL (STR #2835).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 19:23:16 +00:00
Albrecht Schlosser
f41ef4e158 Clarification and better documentation of ABI version configuration.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-09 18:43:31 +00:00
Albrecht Schlosser
bc9bb9bd70 Fix Fl_Help_View buffer overflow (STR #3275).
This version works much better than the previous one:

 - fixed buffer overflow ("stack corruption")
 - fixed potential long text truncation
 - fixed tab formatting at line start or any offset divisible by 8
 - better handling of HTML entities (aka quoted characters)
 - code simplifications, e.g. HV_Edit_Buffer::cmp() + width()

Todo:

 - improve and standardize handling of HTML entities
 - more tests

Missing features and known bugs:

 - strike out text (not implemented)
 - table and horizontal line formatting issues (STR #3227)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11745 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-17 16:25:27 +00:00
Albrecht Schlosser
4db4c2910e Fix Fl_Browser::textsize(int) to adjust the scrollbars (STR #3057).
Setting a different text size didn't affect the scrollbars.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11453 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-28 16:16:29 +00:00
Albrecht Schlosser
a9b052b038 Update CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-08 17:05:50 +00:00
Albrecht Schlosser
6f18ec06d5 Fix overflow in Fl_Valuator::precision(int) to 0...9 (STR #3280).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-08 13:40:18 +00:00
Albrecht Schlosser
3948405951 Fix negative 'd' and 'ld' args in fl_draw_image() (X11 + Windows).
This commit fixes a regression in FLTK 1.3.x, where negative values
of 'd' (pixel delta) and 'ld' (line delta) didn't work anymore under
Unix/Linux (X11) and Windows.

With this commit the regression is fixed on all supported platforms.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-02 15:45:26 +00:00
Albrecht Schlosser
e4f26ea33a Don't expose X11 headers in user space any more (mostly).
Platform headers should not be #include'd in public FLTK header files,
so that user space is not polluted by platform specific definitions.

This commit fixes FL/fl_utf8.h to #include X11 headers only if compiled
in the FLTK library.

Todo (FLTK 1.4): Remove more unnecessary (unwanted) system header #include
statements from FL/x.H and other public header files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-02 12:15:08 +00:00
Manolo Gouy
25b6e93c44 Mention fix for fl_draw_image() on the Mac.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-02 08:00:41 +00:00
Albrecht Schlosser
8922a226d8 Update CHANGES (compiler warnings, STR #2988).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11247 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27 17:39:29 +00:00
Albrecht Schlosser
7d3eaf31c2 Update CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-22 17:11:02 +00:00
Albrecht Schlosser
557b2fff45 Update CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11203 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-21 12:24:11 +00:00
Manolo Gouy
bd8b8fd717 Mention Fl_Shared_Image *Fl_Image_Surface::highres_image().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-11 20:49:29 +00:00
Albrecht Schlosser
90a2d680e5 Fix valgrind warning (uninitialized variable) in Fl_Window.
Visible only with FLTK_ABI_VERSION >= 10303, since FLTK 1.3.3.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-09 01:11:03 +00:00
Albrecht Schlosser
cd4284f056 Fixed Windows drag'n'drop not showing insert position (STR #3209).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-07 10:10:52 +00:00
Albrecht Schlosser
dab925c1e9 Update CHANGES for release (up to svn r11112).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-03 01:28:58 +00:00
Albrecht Schlosser
9ae2f1f259 Update CHANGES for release (up to svn r10679).
To be continued...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-02 13:54:32 +00:00
Albrecht Schlosser
d9ef5c51be Document ABI version configuration and CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-02 02:45:09 +00:00
Manolo Gouy
7523748660 Mention new method Fl_Image_Surface::draw_decorated_window().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-07 05:09:11 +00:00
Manolo Gouy
25fc85190e Mac OS: Fix for STR#3268 where a fullscreen window could become relocated
behind the menu bar and dock.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-21 13:38:49 +00:00
Manolo Gouy
9c2a7e4a72 FLTK code and fluid-generated code can be used in static initializers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-19 07:27:11 +00:00
Manolo Gouy
fc89c11ddf Mention the --enable-x11 configure option is now allowed on the Mac OS platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-15 17:34:47 +00:00
Albrecht Schlosser
14669685d8 Fix Fl_Browser if text argument to some methods is NULL (STR #3269).
Fl_Browser::add(), Fl_Browser::insert(), and Fl_Browser::text() didn't
test if the provided text argument was NULL, although this was explicitly
allowed in the documentation.

Also applied some minor documentation fixes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-15 10:16:56 +00:00
Manolo Gouy
22af09dae7 Mac OS: support for high resolution OpenGL windows.
Methods Fl::event_x_pixel() and Fl::event_y_pixel() committed at r.10941
are removed. Instead method Fl_Gl_Window::pixels_per_unit() is added.

The documentation explains in more detail how to write cross-platform
FLTK code supporting high resolution OpenGL windows on retina displays.

The examples/OpenGL3test.cxx app exercises Fl_Gl_Window::pixels_per_unit().

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-02 09:59:37 +00:00
Manolo Gouy
82f68ac756 Fixed typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10943 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-01 16:29:23 +00:00
Manolo Gouy
6c9ceb3ab0 Mention new Fl_Gl_Window::pixel_w(), Fl_Gl_Window::pixel_w(),
Fl::event_x_pixel(),  and Fl::event_y_pixel() functions.
Also, put tab at start of lines, as required.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-01 16:28:17 +00:00
Manolo Gouy
28355afa15 Mention addition of Fl_Mac_App_Menu::custom_application_menu_items()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-26 16:40:34 +00:00
Manolo Gouy
311bd8971e Mention Fl_Copy_Surface::draw_decorated_window().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10931 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-26 15:37:43 +00:00
Albrecht Schlosser
144c656360 Fixed missing image release as described in STR #2840.
Thanks to OP (Nikego) and Matt!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-07 00:11:45 +00:00