Commit Graph

5984 Commits

Author SHA1 Message Date
Albrecht Schlosser
ada02ea752 Fix memory leak (STR #3069).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-19 16:28:16 +00:00
Albrecht Schlosser
d98853628b Add "Known Problems" section for MinGW builds to README.MSWindows.txt (STR #2971).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-19 12:19:50 +00:00
Manolo Gouy
527190420c Allow compilation with Mac OS SDK 10.10 and the i386 architecture
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-18 20:23:59 +00:00
Greg Ercolano
d5698e8ed9 Documentation: clarification of fl_width()'s dependence on the current font face/size.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-18 15:25:55 +00:00
Greg Ercolano
36b1ad056a Removed leftover item variable (now unused)
as noted by Albrecht on fltk.coredev today;
was giving warnings with Windows/MinGW builds.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-17 16:27:01 +00:00
Albrecht Schlosser
49e21120b6 Improve clipboard example program, fix compilation warnings.
Use show(argc,argv) to enable command line arguments and colors,
fix indentation, Windows compilation warnings, and change tab
selection color, which was too dark on my Win7 system (low
contrast with tab labels).

I also added #define TAB_COLOR to make changing the tab selection
colors easier, if needed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10318 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-17 11:51:56 +00:00
Manolo Gouy
9dae6e96b2 Implemented panel:shouldEnableURL: for the open dialog delegate.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10317 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-16 17:34:29 +00:00
Albrecht Schlosser
5ceae63ed2 Rename doxygen image file hello.C.png to hello_cxx.png.
Doxygen 1.8.x wouldn't show the image hello.C.png in its pdf output.
Maybe a doxygen bug - or feature ?


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-16 11:21:37 +00:00
Albrecht Schlosser
2cba87376f Improve formatting, adjust indenting for proper doxygen output.
Doxygen has changed in version 1.8.x, such that some (or all?) formatting
commands in lines with more than 3 spaces at the beginning of the line
are ignored (displayed verbatim). 


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-16 11:18:16 +00:00
Pierre Ossman
1c7409e0a1 Add methods to enable and disable the system's input methods.
This needs to be done from FLTK as it affects the window interaction,
which FLTK is largely responsible for.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10314 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15 09:44:35 +00:00
Pierre Ossman
5101a8ea1c Remove commented out, alternative IM code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15 09:40:46 +00:00
Pierre Ossman
61e1b18f7b Consolidate the Win32 init and cleanup code in to one place so
it's easier to keep track of it.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15 09:35:05 +00:00
Pierre Ossman
53888cf064 Get rid of the old IActiveIMMApp code as the newer code calls
fatal() if it cannot be loaded and is hence already required.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15 09:31:46 +00:00
Pierre Ossman
e145df2165 Add methods to intercept low level system events.
This gives applications the means to handle some low level
integration with the system that might otherwise not be possible
without modifying FLTK itself.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15 09:17:56 +00:00
Pierre Ossman
321fb4ed7a Clean up Win32 message pump. The logic was a bit overly complex
with the double calls to PeekMessage() and the extra if clause.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-15 09:14:07 +00:00
Manolo Gouy
0356bd257c Fixed compilation warning messages that Fl_PostScript_File_Device::start_job() hides an overloaded virtual function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-13 17:51:20 +00:00
Manolo Gouy
1b74551e9d Removed ‘array subscript is of type char’ compilation warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-13 17:04:20 +00:00
Manolo Gouy
eadd6e87f1 Removed several compilation warnings with OS X SDK 10.10
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-13 16:49:47 +00:00
Manolo Gouy
76418b352b Allow compilation with SDK 10.10 and use new API to discover os version at runtime.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-13 14:29:53 +00:00
Manolo Gouy
6482acf15a Allow compilation with SDK 10.10 and use new API to identify OS version at runtime.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10304 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-13 14:18:34 +00:00
Pierre Ossman
952369163f Revert r3215. The original issue it "fixed" is no longer
reproduciable, and the change causes the wrong symbol to be
generated for Ctrl-minus. STR 264.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-12 12:38:07 +00:00
Albrecht Schlosser
8d2491544b More documentation fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10302 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-12 09:51:55 +00:00
Albrecht Schlosser
7e6af270d0 Fix documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-12 09:12:15 +00:00
Albrecht Schlosser
21ae6c2903 Fix indentation and remove trailing white space.
This does not fully apply the FLTK coding standard, but makes it more
consistent in that indentation is done with tabs as much as possible.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10300 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-12 09:08:41 +00:00
Lauri Kasanen
2ac54f6aca Fix Fl_Spinner never reporting changed().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-09 16:52:18 +00:00
Manolo Gouy
aecb3ac594 Fix for STR #3128
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10298 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-09 11:02:33 +00:00
Albrecht Schlosser
dd37bc2c12 Update dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 23:54:11 +00:00
Albrecht Schlosser
f459ecd82f Fix documentaion typos and small errors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 23:51:20 +00:00
Manolo Gouy
2af3261d51 Fixed typo ./FL/Fl_Plugin.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10295 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:55:46 +00:00
Manolo Gouy
9e8eba7818 Replaced Xutf8.H by Xutf8.h
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:48:53 +00:00
Manolo Gouy
c3d04a6c42 Added dependencies of Fl_PostScript.o
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:45:58 +00:00
Manolo Gouy
4f2790d793 Add Fl_PostScript.cxx to list of files compiled in libfltk for VisualC projects.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:16:58 +00:00
Manolo Gouy
11f55e80b3 Put Fl_PostScript.cxx in list of files compiled in libfltk rather than including it in Fl_Printer.cxx.
VisualC project files still need to be changed accordingly.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:03:52 +00:00
Manolo Gouy
c7f0ee3bd0 Fix for STR #3130 where PostScript printing may fail when program modifies LC_NUMERIC of its locale.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 12:35:23 +00:00
Lauri Kasanen
3ce67eb594 Expose the INACTIVE flag in Fl_Widget similarly to other flags. STR #3122
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 08:55:49 +00:00
Manolo Gouy
3e0bb410f8 Handle deprecation with Mac OS 10.9 of SetFrontProcess(), GetCurrentProcess(), GetFrontProcess(), SameProcess().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-07 20:30:46 +00:00
Manolo Gouy
2031e30069 Added file src/Fl_sleep.cxx to list of files compiled in target fltk.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-07 16:52:44 +00:00
Albrecht Schlosser
267ba82aa5 Fix documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 23:42:18 +00:00
Albrecht Schlosser
23b6a36ff1 Remove doxygen note about changed interface in fltk 2.0
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 21:22:06 +00:00
Albrecht Schlosser
77d72b9ef8 Escape '%' in doxygen comment where needed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 20:57:30 +00:00
Greg Ercolano
1fefa174c9 Adding some parameter docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 20:27:39 +00:00
Albrecht Schlosser
6928a416e4 Enhance documentation of Fl_Menu_Item::value().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 19:03:43 +00:00
Lauri Kasanen
031a30a4b5 Bilinear div-by-zero fix
Probably temporary if this will be replaced with Roman's int version, but
better have it anyway.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 13:22:28 +00:00
Lauri Kasanen
8bc524ef27 Remove trailing comma in the last value of an enum, some compilers dislike it
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 09:31:53 +00:00
Lauri Kasanen
d3a8566cab Move the ewmh_supported check into fl_fix_focus to avoid a double show() on new WMs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 16:42:00 +00:00
Lauri Kasanen
523c657f2e Robustness fix for the first window
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 13:14:16 +00:00
Lauri Kasanen
7ebbe0baf4 Add a two-window focus test
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 12:45:49 +00:00
Lauri Kasanen
005bfa4294 Fix cross-window focus throwing on X11, similar to the Mac case. STR #3129
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 12:33:35 +00:00
Lauri Kasanen
d1d203ca57 Add support for dragging to reorder in Fl_Tree, STR #2828 (I)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10275 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 12:04:28 +00:00
Albrecht Schlosser
d67f2e8e3e Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 09:31:37 +00:00