Commit Graph

3123 Commits

Author SHA1 Message Date
Albrecht Schlosser
eee7fe5775 made the window its own resizable() for better resize testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-02 21:42:36 +00:00
Albrecht Schlosser
c3b29633d7 corrected some typos and wrong argument references.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-02 20:25:52 +00:00
Fabien Costantini
c7f4b8c930 merged modification from my private branch after successful regression testing on win32,cygwin/mingw, mac osx, linux.
Fl_win32.cxx and Fl_x.cxx modified for:
======================================
 - STR# 2029 fix: async select using USE_ASYNC_SELECT def. would not work. Obsoleted and commented as discussed
 - STR# 2032 fix: fl_ready would load wsock dll unnecessarily. Bad indents corrected

fluid.cxx modifed for:
======================
Added a local portable Fl_Process class to fluid enabling popen encapsulated win32 impl. based on CreateProcess() to work as expected in non console apps, so that exec command output window is now also implemented in win32, also permitting testing add_fd()/remove_fd() API relying on winsock on win32.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-02 12:03:30 +00:00
Fabien Costantini
295c7720b9 fixes on missing fltk.lib ref in release mode for vc6 build files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6183 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-01 08:22:44 +00:00
Fabien Costantini
d436a13198 STR#2028 new fix: replace ' by \" for the $compile var wrapping in fltk-config.in.
Tested successfully on _both_ bash and sh shells,  on Mac OS X 10.5,linux fedora 4,latest cygwin/mingw.

Should also works under IRIX sh, please report feedback on other non bashed based unix platforms.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-29 09:15:26 +00:00
Michael R Sweet
bfbfe8a7b2 Revert change for STR #2028, which is not correct.
$(foo) is NOT portable, and nested quotes like "'$foo'" are required to do
variable expansion for POSIX compatibility.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-28 19:55:57 +00:00
Fabien Costantini
2718170bfd STR #2028 fix: single quotes changed to double quotes around the variable $compile to make it interpreted, Thanks alvin
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-28 18:12:23 +00:00
Fabien Costantini
e77a5d14d8 wsock32 static lib dependency removal from win build files.
error msg if wsock load fails changed by Fl::fatal() API use.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-28 17:33:56 +00:00
Fabien Costantini
5156431137 STR #1972 fix :check validity of icrsr before updating cursor state.
Fixes crashes when setting up Fl_Wizard pane dynamically before show() is called.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-27 18:12:28 +00:00
Fabien Costantini
bc6d15183c + Added a new optional compile time varaible named USE_WSOCK1 that would change the use of the WINSOCK2 libray by default, by the use of Winsock 1 (also implies the use of winsock.h instead of winsock2.h)
+ Removed one unused ret variable.

TODO: remove unnecessary wsock32.lib dependency from fltk-config, and other win32 build files.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-27 16:53:39 +00:00
Michael R Sweet
18b431e02c Make sure script double-quotes $0...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-26 21:07:32 +00:00
Michael R Sweet
e9b9ec812d Use $@ for arguments passed to the bundled executable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-26 19:21:22 +00:00
Fabien Costantini
05a6292ac0 included the broken_image test in the free() method of Fl_Help_View for Win32, now also fixes heap error on exit
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-26 15:08:55 +00:00
Fabien Costantini
a8e192e6b4 STR #2004 fix: got inspired from suggested modifications but limited their impact for broken_image test because it is not needed for osx and win32 platforms. thanks Mark and Sebastian. Works great in X11 now.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-26 14:49:51 +00:00
Fabien Costantini
c874be7712 removed unused wsock api, fixed return result in fl_ready()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-26 08:24:54 +00:00
Fabien Costantini
cc6c750d60 STR #1906 fix continued:
vc2005 proj files updated accordingly as stated in previous commit, to reflect the wsock32.lib removal from the makefiles.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-25 23:53:52 +00:00
Fabien Costantini
fa58041f11 STR #1906 fixed as discussed :
Now winsock2 is linked instead of winsock1 by default.
 Also, this lib is now linked dynamically on-the-fly, only when needed.
 Separate commit will follow for vc2005 proj. modifications (removing wsock32.lib) for more readability.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6164 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-25 23:51:34 +00:00
Fabien Costantini
0174324bdf STR2025 fix:now both debug and release mode compiles beautifully, demo compile and works with its bundled file. Hardcoded debug paths in fluid sh invocation have been set to TARGET_BUILD_DIR variable so that it now works in debug and in release mode properly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-25 17:01:31 +00:00
Matthias Melcher
b6b746cd69 Replaced badly named type Fl_FontSize with Fl_Font_Descriptor. This type is only used in the core files and not available to the user.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-15 21:18:27 +00:00
Matthias Melcher
e63c50b2d1 Rename type Fl_Font_Size into Fl_Fontsize to comply with other naming in FLTK.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-15 21:11:21 +00:00
Matthias Melcher
3d6201a610 Made the 'align' flags somewhat more typesafe and the associated functions more self explenatory. The large commit results from a new run of Fluid of the Fluid .fl files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-15 20:32:01 +00:00
Matthias Melcher
358af515f7 Typos found by Albrecht. Thanks.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-12 17:44:34 +00:00
Matthias Melcher
797f63592a Wrong attribute fixed in Doxygen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6158 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-12 15:04:35 +00:00
Matthias Melcher
478d9762b8 Added all the remaining doxygen documentation for Fl_Widget
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-12 14:30:43 +00:00
Matthias Melcher
718c37b31b Fixed argument renaming
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6156 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-12 13:08:26 +00:00
Matthias Melcher
2bded55947 Moving more documentation into doxygen format
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-11 08:35:34 +00:00
Matthias Melcher
c16e7212cd Added a little more doxygen documentation for enumerations
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-10 14:07:09 +00:00
Michael R Sweet
ba2e9f3375 Make --post create a basic Mac OS X application bundle with a shell script
that executes the bundled program.

Change the defaults for Quartz, threading, large file support, XDBE, Xft,
and Xinerama to "yes".

Remove the old Mac OS X resource fork file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-07-13 21:39:07 +00:00
yuri
d2d7daa20a Fixed Fl_File_Chooser::add_extra docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-06-17 08:44:21 +00:00
Matthias Melcher
19ef41b897 Modfied README.mac to explain how to build Universal Binaries for earlier OS X versions like Tiger.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-21 21:18:53 +00:00
Matthias Melcher
ef0d19d125 Further improvements for the XCode IDE
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-21 19:08:49 +00:00
Matthias Melcher
95a9464aff XCode: removed user-specific configuration files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-14 09:36:35 +00:00
Matthias Melcher
55bbecd4e0 XCode: Changed 'Adjuster' to use fltk as an embedded framework (which may break all other executables at this point!). Embedding corresponds to statically linking and will be an option for fltk within XCode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-14 09:34:32 +00:00
Matthias Melcher
5e5ae29c60 XCode: adding application icon to Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-13 19:39:31 +00:00
Matthias Melcher
e78f1264f4 XCode: cleaning up property lists
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-13 19:19:58 +00:00
Matthias Melcher
e8eadf334a Adding the remaining test programs to the OS X XCode project. Still far from done... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-13 19:01:20 +00:00
Matthias Melcher
466ba461f1 Added first half of XCode 3.0 IDE support for FLTK 1.3. FLTK is built as a set of frameworks. Fluid will be used to compile .fl files just in time.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-13 14:48:28 +00:00
yuri
c04f2f8bff fix Fl_Font and Fl_Font_Size types in Fl_File_Chooser.fl file
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-01 18:56:12 +00:00
yuri
1488c10f7e STR # 1908 - usage example
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-01 18:04:41 +00:00
yuri
385c38912e STR #1908 add Fl_Widget* add_extra(Fl_Widget*) function to Fl_File_Chooser class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-01 18:03:45 +00:00
Matthias Melcher
a19a1da794 Text_Display was using a wrong border margin STR 1909
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-24 09:10:22 +00:00
Matthias Melcher
5134c0988d Fixed issues with Fl_Scroll inside and Fl_Scroll (STR #265)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-24 09:01:37 +00:00
Matthias Melcher
7f7debce52 Upating CHANGES
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6116 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 20:09:54 +00:00
Matthias Melcher
433dec6b92 Changed Makefile in src to use 1.3 instead of 1.1 (STR #1922). Fixed minor issue with handling of shortcuts in text input fields.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 20:08:39 +00:00
Matthias Melcher
b812f9701f A few more chnaged to get Fl_Font as a new type going
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 19:32:47 +00:00
Matthias Melcher
7c8f5cc888 First attempt at consistently using Fl_Font as a type for the font index and Fl_Font_Size as a type to measure font height (or rather size).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 19:09:28 +00:00
Matthias Melcher
88c0d727aa All widget coordinates are now 32 bit. Beware though, on a 16 bit graphics system, line drawing and window positioning is still messed up for coordinates beyond 16 bit. See STR #1929.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 15:07:13 +00:00
Matthias Melcher
8683ea2c81 Adding keyboard shortcut to Fl_Value_Input and Fl_Text_Editor
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6111 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 14:19:58 +00:00
Matthias Melcher
8d6b757bfe Fl_Value_Input is not derived from Fl_Input_. Fixing Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 23:54:47 +00:00
Matthias Melcher
8198e51799 Added support for keyboard shortcuts to Fl_Input_ derived widgets (STR #1770). Code added for Fluid. Documentation updated.
This commit must be considered partial because there is no shortcut handling for Fl_Text_Display derived widgets or Fl_Value_Input which is derived form Fl_Valuator.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 23:33:17 +00:00