Manolo Gouy
8b672ee655
Rewrite fl_open_uri.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 15:15:33 +00:00
Albrecht Schlosser
d98a8e13e6
Fix compiler warning when compiled with USING_XCODE [-fpermissive].
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 12:37:44 +00:00
Albrecht Schlosser
d56e2ec9f0
Fix typos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 10:42:17 +00:00
Albrecht Schlosser
72ced0ddd3
Fix compiler warnings [-Wmissing-declarations].
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 10:15:42 +00:00
Albrecht Schlosser
9aa5e497ba
Fix C++ comment in C header file.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 09:59:46 +00:00
Manolo Gouy
3ac718fd32
Rewrite Fl_Menu.cxx for the driver model.
...
See the detailed description in menuwindow::handle(int e) of Fl_Menu.cxx
of how the menu window class could require 1 or 2 less support functions from
the Fl_System_Driver class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 09:48:34 +00:00
Manolo Gouy
1ba6928313
Rewrite filename_ext.cxx for the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-08 16:00:26 +00:00
Manolo Gouy
90682dbd48
Rewrite filename_isdir.cxx for the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-08 15:48:28 +00:00
Manolo Gouy
62952ea295
Rewrite filename_absolute.cxx for the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-08 15:17:39 +00:00
Manolo Gouy
19b98e40de
Rewrite filename_expand.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-07 16:54:20 +00:00
Manolo Gouy
050dfb5504
Place #include <FL/platform_types.h> as first directive
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-07 15:29:54 +00:00
Manolo Gouy
56e9d58a60
Add missing :
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-07 15:16:16 +00:00
Manolo Gouy
23a60edb44
Rewrite filename_list.cxx under the driver model.
...
One more platform-dependent type is necessary: struct dirent
Create a new header file, FL/platform_types.h, to define all
types whose definition is platform-dependent.
This file is for C because it is included by scandir_XXX.c
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-07 15:10:30 +00:00
Albrecht Schlosser
406fcaf305
Improve Unicode documentation, fix typos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-07 00:03:19 +00:00
Albrecht Schlosser
f120334da3
Fix Doxygen warnings.
...
There was one obvious warning in src/fl_read_image.cxx, but others
have to do with incomplete code and platform specific definitions.
I'm not entirely happy with these changes. Temporary changes have been
marked with 'FIXME' and should be removed later if possible.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06 22:20:32 +00:00
Manolo Gouy
9fa4059f43
Rewrite Fl_get_key.cxx for the driver model - cont'd
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06 20:33:53 +00:00
Manolo Gouy
f3462a2abe
Rewrite Fl_get_key.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06 20:30:28 +00:00
Manolo Gouy
a2eeca92f0
Rewrite Fl_Input.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06 19:39:15 +00:00
Manolo Gouy
2a36225036
Make Fl_Native_File_Chooser_FLTK.cxx platform-independent.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06 15:57:43 +00:00
Manolo Gouy
ae0d15f1a3
Begin to rewrite files using #include <sys/stat.h> under the driver model.
...
struct stat is considered a platform-specific type.
The Unix, Mac OS, and WIN32 platforms define it with #include <sys/stat.h>
Other platforms may do that their own way.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06 15:49:52 +00:00
Manolo Gouy
d905769e69
Fix typos in macro names S_IBLK, S_ILNK, S_ICHR and S_IFIFO
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11541 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06 14:30:30 +00:00
Manolo Gouy
888427f2fe
Remove unused #define directives
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06 13:55:20 +00:00
Manolo Gouy
f7b70c6866
Remove unnecessary #include <sys/stat.h> directive
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06 13:16:33 +00:00
Manolo Gouy
f62dfac8e1
Remove unneeded #include directives
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06 13:13:14 +00:00
Albrecht Schlosser
1099338262
Clean up Makefile and CMakeLists.txt
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11537 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05 23:33:04 +00:00
Albrecht Schlosser
020a96b4a8
Fix more compiler warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05 21:15:45 +00:00
Albrecht Schlosser
f0f41708a4
Fix typo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05 17:52:58 +00:00
Manolo Gouy
6f3825483f
Set correct svn properties.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05 15:08:21 +00:00
Manolo Gouy
7c3f3cef39
Delete this file. Its content is now in file Fl_Native_File_Chooser.cxx.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05 14:55:45 +00:00
Manolo Gouy
fa67aafa9d
Rewrite the Fl_File_Native_Chooser class under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05 11:25:35 +00:00
Manolo Gouy
1dfe311998
Remove unused member function declaration (Mac OS platform)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-04 11:57:34 +00:00
Manolo Gouy
a22791b691
Have the device demo operate also the Fl_PostScript_File_Device class.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-04 11:31:51 +00:00
Manolo Gouy
01ef0a6ec6
Modify files keysym2Ucs.c, utf8Input.c, utf8Utils.c and utf8Wrap.c for the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-04 10:39:42 +00:00
Manolo Gouy
bc11bd8d5f
Fix typo Fl --> FL
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-04 08:18:26 +00:00
Manolo Gouy
8be74c3fe4
Remove platform-dependent code from file is_spacing.c
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-04 05:15:37 +00:00
Manolo Gouy
2aa1088533
Remove platform-specific code from file case.c
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-04 05:10:48 +00:00
Manolo Gouy
664c2b6357
Remove code to draw rounded bottom window corners which is not effective.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 17:54:41 +00:00
Manolo Gouy
2eecc67e7e
Fix error introduced in Fl_arg.cxx when converted to the driver model.
...
fluid built by CMake no longer started under the finder.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 15:34:31 +00:00
Manolo Gouy
d292de92ef
Rewrite fl_scroll_area.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 14:25:42 +00:00
Manolo Gouy
7c8e337942
Remove "(if fl_window is null)" from Doxygen comment.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 08:47:52 +00:00
Manolo Gouy
b3af5591ca
Stop using fl_read_image() to read window decoration.
...
Use instead an API internal to each platform code base.
fl_read_image() is used only for its documented feature
of reading inside the current window or an offscreen buffer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 08:36:19 +00:00
Manolo Gouy
9a97fc37fd
Delete because content is now in Fl_XXX_Screen_Driver.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 06:58:07 +00:00
Manolo Gouy
f1ffe2f1fe
Rewrite fl_read_image.cxx under the driver model.
...
Files fl_read_image_mac.cxx and fl_read_image_win32.cxx are no longer used;
their content is now in Fl_XXX_Screen_Driver.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-03 06:51:09 +00:00
Manolo Gouy
c88af210e7
Move function draw_layer_to_context() from Fl_Cocoa_Screen_Driver to Fl_Cocoa_Window_Driver
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 16:24:57 +00:00
Manolo Gouy
64c96b9098
Continue removing from class Fl_X all what is not window-related.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 16:08:56 +00:00
Manolo Gouy
ddc95025fd
Fix lowercase typo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 15:47:54 +00:00
Manolo Gouy
6b6c71265f
Complete removal of platform-dependent code from fl_set_font.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 15:37:03 +00:00
Manolo Gouy
7a8f307fca
fl_font.o no longer depends on Fl_Font.H
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 15:12:44 +00:00
Manolo Gouy
09e0864f3e
Remove #include directive for Fl_Font.H from mac.H
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 13:53:41 +00:00
Manolo Gouy
851c17d43b
Remove platform-dependent code from src/fl_font.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-02 13:48:50 +00:00