Commit Graph

5497 Commits

Author SHA1 Message Date
Manolo Gouy
3d7d2938c7 Fixes the copy/paste implementation to run on many Mac OS versions.
Checked on 10.3, 10.5, 10.6 and 10.8

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-23 19:00:15 +00:00
Manolo Gouy
cedcc3f52e Fixed implementation of paste with NSPasteboard that did not work well under Mac OS 10.5
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-23 15:01:54 +00:00
Greg Ercolano
25ff26df12 STR #2973: Removed old HP-UX dummy() code in favor of typedef;
Skunk confirms compiles on two HP-UX variants as well as Sun.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-22 17:20:48 +00:00
Greg Ercolano
81dfeab19e Fixed some odd/misleading code indent issues in this file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-22 03:22:41 +00:00
Greg Ercolano
5d4fed1ef9 STR #2860: Mods for full screen support.
Applied the fltk-1.3.x-screen_num.patch



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-22 02:33:17 +00:00
Greg Ercolano
bedb7fd6f0 Fixes STR# 2973: collection of Sun compiler fixes to Makefiles.
o Adds $(CXXFLAGS) to $(CXX) commands
    o Implements older, more backwards compatible Bourne shell test(1) syntax for equality tests (= vs ==)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21 17:23:09 +00:00
Greg Ercolano
2082d7e197 Fixes STR# 2973: collection of Sun compiler fixes.
Applied str_2973_r9979_sun-fix-warnings-7.patch (with small mods)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21 16:41:23 +00:00
Greg Ercolano
2fc6c3a39b Fixes STR #2985: prevent memory leaks with XGetWindowProperty()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-20 03:36:02 +00:00
Greg Ercolano
67ed1a8da9 STR# #2973: applied patch str_2973_r9958_sun-fix-errors-5.patch verbatim.
src/Fl_Tree_Item.cxx -- solve: "Fl_Tree_Item.cxx",    line 614: Error: Initializing int& requires an lvalue.
    FL/Fl_Preferences.H  -- solve: "FL/Fl_Preferences.H", line 196: Error: Fl_Preferences::RootNode is not accessible from 0
    FL/Fl_Tree_Item.H    -- solve: "Fl_Tree_Item.cxx",    line 614: Error: Initializing int& requires an lvalue.
    test/unittests.cxx   -- solve: "unittests.cxx",        line 95: Error: The type "UnitTest*[]" is incomplete.
            


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-16 20:25:14 +00:00
Greg Ercolano
578310dd0f Fix Solaris warnings mentioned by Micha on fltk.coredev Sep 16 '13
in thread entitled "Re: STR 2636, clipboard notification".



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-16 12:02:40 +00:00
Greg Ercolano
4e6779bc49 Added code example for ossman's new add_clipboard_notify(),
and updated CHANGES.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-13 22:57:30 +00:00
Manolo Gouy
3baf5e0d58 Implemented copy/paste with Cocoa's NSPasteboard instead of Core Foundation's Pasteboard Manager
which allows quite simpler code.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-12 12:21:57 +00:00
Pierre Ossman
1d6cc80d59 STR 2636. Add ability to get notifications whenever the
clipboard changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-11 12:54:40 +00:00
Pierre Ossman
f410352c7c Copy over NSInteger safety typedefs from Fl_cocoa.mm
so that we can continue to compile for OS X 10.4.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-11 12:06:03 +00:00
Pierre Ossman
9ce5d7c2ad Simplify clipboard handling on Windows by consolidating
it into one central function. 


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9972 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-11 11:11:22 +00:00
Greg Ercolano
6755a24ce3 STR# 2983.
Updated README to reflect how docs are built,
removed some old email addresses and URLs.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9971 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-10 16:23:39 +00:00
Manolo Gouy
154694fe19 Transmitted to Doxybook all changes that occurred in Doxyfile.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9970 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-10 08:34:23 +00:00
Manolo Gouy
65226e073e Fixed typo in comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-06 09:24:28 +00:00
Manolo Gouy
1fa38347bb Fixed typo in Doxygen doc of Fl::compose(int&)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-06 09:03:22 +00:00
Manolo Gouy
bc17e8c6f9 Removed linkage with undocumented function CPSEnableForegroundOperation() used to support
Mac OS 10.2 or below. This made no sense because the Copy/Paste implementation requires Mac OS 10.3.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-05 09:12:35 +00:00
Manolo Gouy
cc68c2e43c Copy directly pasteboard data when pasting if it's UTF-8 encoded.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9962 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-04 14:39:59 +00:00
Manolo Gouy
0585de060c Added fl_lock/unlock_function() calls for extra caution in - (void)applicationDidChangeScreenParameters:
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9959 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-04 09:30:18 +00:00
Manolo Gouy
eaa6084f9a Prevent unwanted classes IActiveIMMApp and XUtf8FontStruct from appearing in Doxygen doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9958 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-02 15:05:58 +00:00
Greg Ercolano
33933f8c13 Added "Pick Dir" button to allow checking of directory browsing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9957 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-08-15 23:01:15 +00:00
Greg Ercolano
3e96dfe855 Small doc typo fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9956 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-08-12 15:46:57 +00:00
Greg Ercolano
1b4a5a1d96 Small edits to last commit for clarity.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-08-05 18:21:58 +00:00
Greg Ercolano
a00dd72b8f Elaborate on Fl_Tab's transparent region (behind and to the right of tabs),
and some example code on how to keep tab heights constant. (Thanks to Ian MacArthur's post on fltk.general)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-08-05 18:05:44 +00:00
Manolo Gouy
c450606e4e Fixed mac-specific minor error visible when typing forward-delete in keyboard demo program.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-07-23 16:02:44 +00:00
Manolo Gouy
86c9ef0c76 Fixed a PostScript error triggered when calling
Fl_PostScript_Graphics_Driver::arc(int x, int y, int w, int h, double a1, double a2)
with w == 1 or h == 1, as reported in 
http://www.fltk.org/newsgroups.php?s28125+gfltk.general+v28133


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9950 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-07-16 19:09:57 +00:00
Manolo Gouy
56da8bd24e Minor reformatting so documentation is correct also with Doxygen v 1.8
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9949 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-26 13:51:01 +00:00
Manolo Gouy
b94c8b0d73 mac os: added mark of support for high resolution in 3 test applications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-24 16:05:12 +00:00
Greg Ercolano
0aba84051a Include code examples for use of path form of fl_arc()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9937 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-22 12:01:11 +00:00
Manolo Gouy
cd56917312 Documented in the OS issues section how to add an application icon for the Mac platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-21 09:03:15 +00:00
Greg Ercolano
30d6ef80a3 Small mods to codeblocks comment..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-17 19:23:49 +00:00
Greg Ercolano
4d318ef519 added mingodad's CodeBlocks/Fluid recommendations
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-17 18:41:38 +00:00
Ian MacArthur
998020f758 Remove a header file I added during testing, but which is not required now...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-06 12:59:24 +00:00
Ian MacArthur
ed04fc6774 Attempt to fix UTF8 encoding of WIN32 Native File Chooser BROWSE_DIRECTORY options
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-06 12:11:08 +00:00
Ian MacArthur
c9598ade18 Attempt to fix UTF8 encoding of WIN32 Native File Chooser BROWSE_DIRECTORY options
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9931 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-06 12:10:44 +00:00
Manolo Gouy
12fbd8b6b4 Mac OS X text input: stop sending the FL_PASTE event after character palette events;
send instead FL_KEYBOARD as for regular text input. Fl::event_key() will return 0 during
palette events.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-29 09:12:38 +00:00
Greg Ercolano
1f06318f9a Fixes STR #2964.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-22 18:27:05 +00:00
Albrecht Schlosser
e9767cce34 Removed autoconf/configure and CMake tests and defines for
unused function strtoll() [resolves one part of STR #2965].


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-22 10:40:58 +00:00
Manolo Gouy
502280c097 It doesn't seem necessary to redraw a GL window before capturing its pixel content.
Calling Fl_Gl_Window::make_current() is enough.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-19 12:34:31 +00:00
Greg Ercolano
d31afde9d8 Fixes STR #2962: Applied patch from ossman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9920 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-16 13:48:22 +00:00
Greg Ercolano
29c22b7ca2 Format tweaks, added some examples.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9919 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-16 13:29:49 +00:00
Greg Ercolano
406a22487f Adding simple access to input widget's selection_color()..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9918 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-16 05:02:18 +00:00
Manolo Gouy
a22eba2b38 Fixes Fl_System_Printer::printable_rect() and Fl_System_Printer::margins() that did not work well
after calls to Fl_System_Printer::translate() under MSWindows.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-15 13:42:19 +00:00
Manolo Gouy
0d04ce9f58 Fixes a typo introduced at r.9915.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9916 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-15 10:50:10 +00:00
Manolo Gouy
75076f6a40 Fixes a MSWindows' specific bug where GL windows where not printed at their correct location.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-13 16:53:59 +00:00
Greg Ercolano
538f0d1d82 Reverting authz test mods
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-08 18:23:09 +00:00
Greg Ercolano
89aaf0a8bb More testing dev write access after authz automation mods
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-08 18:19:06 +00:00