Commit Graph

1220 Commits

Author SHA1 Message Date
Albrecht Schlosser
414ad1dce7 Remove unnecessary include files, update dependencies 2022-11-01 20:04:37 +01:00
Matthias Melcher
dd7edd7c7f Fluid subgroup visibility 2022-11-01 16:24:54 +01:00
Matthias Melcher
93ea93ee2b
Fluid support for Fl_Flex (#523) and some Fl_Flex improvements
* Adding Fluid support for Fl_Flex, margins, and gap.

* Fluid Fl_Flex mostly working. Fixed in Fl_Flex::set_size().

* Fluid Flex live mode works, interactive dragging works

* Fluid Flex: adding check box for fixed children

* Fluid Flex: visual flexibility indicator in guides.

* Fluid Flex: bug in generated code.

* Fix formatting

* Fixing Tooltip, fixing resize issue PR #518.

* Removing unused variables.

Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2022-11-01 13:30:05 +01:00
Gonzalo Garramuño
f8058aae52 Fixes incorrect install of fluid in macOS Applications directory.
This requires sudo permissions to do it, and breaks ExtenalProject_Add.
2022-09-23 11:29:55 +02:00
ManoloFLTK
b37576aa55 New configure setting "--enable-wayland --disable-x11" to build pure Wayland platform. 2022-09-10 07:44:23 +02:00
ManoloFLTK
c720aae515 Make hybrid Wayland/X11 platform. 2022-08-29 12:15:32 +02:00
Albrecht Schlosser
228d04d0e0 Build and use fluid-cmd on Windows for .fl files (#224, #293)
On Windows fluid.exe is a "GUI" program and does not allow console
output which can be a problem in automated builds. In Visual Studio
the fluid GUI program would pop up console windows when generating
.cxx and .h files from .fl files.

The new (additional) fluid-cmd.exe is built as console application
for users that need it and it is used in the FLTK build process on
Windows to convert the .fl files.
2022-04-03 23:47:23 +02:00
ManoloFLTK
6216165dec Add the Wayland platform to FLTK 1.4 - continued. 2022-03-04 16:58:20 +01:00
Albrecht Schlosser
a773fdc44b Fix whitespace, update dependencies and fluid files 2022-03-03 17:20:24 +01:00
Albrecht Schlosser
7810cda145 Fix Visual Studio build warnings 2022-02-26 18:19:43 +01:00
Matthias Melcher
72fe8c6035
Fluid: no grid on window resizing. (#399) 2022-02-20 22:03:39 +01:00
Matthias Melcher
a878e253ad
Fluid: fixed missing return value (#398)
...and possible devision by zero
2022-02-20 21:15:58 +01:00
Matthias Melcher
390095392b Adding comments to recent Fluid changes. 2022-02-14 13:20:34 +01:00
Matthias Melcher
8c3778e13f
Better Fluid Widget dimension controls (#394)
* Size and position widgets can evaluate basic math.

* Allowing x, y, w, and h as variables for formulas.

Also supporting 'i' as a counting index when selecting multiple
widgets, so setting Y: to i*25+10 arranges all selected widgets
vertically.

* Additional variables cx, etc. for children box

cx, cy, cw, ch
2022-02-13 22:01:16 +01:00
Matthias Melcher
c9b44064d2
Fluid: adding feature: Functions can also be "local". (#390)
Before, Functions could only be "static" (keyword static is added)
or "global" (prototype is added). This is harmful if the function or
method was declared elsewhere. "local" solves that.
2022-02-13 00:54:44 +01:00
Matthias Melcher
62daf00a9e Fixed Fluid Alignment panel i18n to none. 2022-02-11 16:00:37 +01:00
Albrecht Schlosser
04ccc8cc46 Remove experimental platforms Android, Pico, SDL (PR #376)
... as discussed in fltk.coredev: "FLTK 1.4.0 release schedule"
https://groups.google.com/g/fltkcoredev/c/PDbHTRpXVh0/m/JqboexZ_AwAJ
2022-01-23 18:12:47 +01:00
Matthias Melcher
09eff7243a
Fixing and upgrading Fl_Preferences (#374)
* Added filename function to Fl_Preferences

Static function to get filename before opening.
Member to get filename after opening.
Bug fixes for memory mapped preferences.

* ERROR is a macro on Windows, don't use it

* Added Fl_Preferences::dirty().

User can now check if the database will be written
when flushed or destroyed.
Flush returns a crude error code.

* Fl_Preferences::get binary data returns # of bytes read.

* Verified group deletion code

* Fl_Preferences ignores locale.

This will make .prefs files interchangeable
between different computers.

* Updating the Preferences Mode to ignore locale.

* Fixes in docs.
2022-01-19 16:08:29 +01:00
ManoloFLTK
793f4b90fa Remove potential compiler error with -Wc++11-narrowing 2022-01-19 12:03:45 +01:00
Albrecht Schlosser
4041608e94 Update fluid files and generated files
fluid/widget_panel.cxx: apply previous fluid fix
2022-01-16 19:47:16 +01:00
Albrecht Schlosser
788ca208f7 Rename FL/Fl_String_class.H to FL/Fl_String.H
This is part 2 of the final fix for a previous name clash on case
insensitive file systems (fl_string.h vs. Fl_String.H).
2022-01-16 19:47:16 +01:00
Albrecht Schlosser
92e9181a0a Rename FL/fl_string.h to FL/fl_string_functions.h
This is part 1 of the final fix for a previous name clash on case
insensitive file systems (fl_string.h vs. Fl_String.H).
2022-01-16 19:47:16 +01:00
Matthias Melcher
42f4ebab2f Renewing old code, as suggested by Albrecht. 2022-01-12 11:38:14 +01:00
Matthias Melcher
b2498781de Reintroducing delet o; 2022-01-11 23:01:48 +01:00
Matthias Melcher
59384b359c Fluid: Window was not updated when widget was deleted.
For parents with a box type based on FRAME.
2022-01-11 21:42:03 +01:00
Matthias Melcher
d699b617ac Avoiding CodeQL warning.
Changed a statement emitted by Fluid to avoid 'unused'
warnings: if(w){} into (void)w; to avoid triggering 'Bad
error checking' warnings.
2022-01-11 11:56:54 +01:00
Matthias Melcher
42a93eb8de avoid early include of Fl.H option 2022-01-08 22:12:41 +01:00
Matthias Melcher
bcb78859bc Fixed a crash bug in Fluid where partial menus were deleted.
Reading an .fl file rebuilds a menu item arrays with every item read.
If a menu is only partially read, the end marker (label==NULL) is
not set, so that deleting the menu will run beyond the missing marker.
This bug was exposed by adding images to menu items, which
requires additional deletes.
2022-01-07 18:04:31 +01:00
Albrecht Schlosser
9d474dfcdf Fix whitespace and Makefile dependencies
No code changes
2022-01-05 22:00:54 +01:00
Matthias Melcher
14ae784f7f Installing Fluid correctly on macOS 2022-01-01 13:58:44 +01:00
Matthias Melcher
0d435d51ac GitHub #328: removed stray ';' in Fluid code generation. 2021-12-20 01:23:59 +01:00
Albrecht Schlosser
e8961f10b8 Update fluid generated and .fl files (remove mac_shell...)
Commit updated .cxx files in src/ with fixed indenting

Remove `mac_shell_*' statements from fluid (.fl) files
2021-12-19 22:45:53 +01:00
Matthias Melcher
2328547538 Github #351: fixed missing curly brackets. 2021-12-19 22:33:12 +01:00
Matthias Melcher
29531873ea STR 3289: Fluid i18n, gettext, catguts improvements
Removed some unneeded code.
2021-12-19 02:03:05 +01:00
Albrecht Schlosser
5438954d8c Generate FL/fl_config.h rather than FL/abi-version.h
... as discussed in fltk.coredev in thread "RFC: introduce public
config header <FL/fl_config.h>", see:
https://groups.google.com/g/fltkcoredev/c/xLCs1AIXMVo/m/MHZpQggzAQAJ

- Rename abi-version.h to fl_config.h, rename input files,
  update dependencies, .gitignore, CMake, configure and Makefiles.

- Include Cairo options in FL/fl_config.h

- Rename FLTK_USE_CAIRO to FLTK_HAVE_CAIROEXT for consistency.

- Include <FL/fl_config.h> in config.h and wherever necessary,
  fix include order (move FL/Fl.H to the top) and more.

- Move USE_X11 to fl_config.h and rename to FLTK_USE_X11

- Do not include <config.h> in Cairo demo program which is no
  longer required in Cairo programs since FLTK 1.4.0
2021-12-18 22:44:08 +01:00
Albrecht Schlosser
797616841c Remove unused and outdated demo, update dependencies
- remove test/connect.cxx
- fix typos in comments in a related android file
- update dependencies
2021-12-18 18:26:48 +01:00
Matthias Melcher
de2585d9f1
Removed superfluous comments 2021-12-18 15:22:19 +01:00
Matthias Melcher
763ba46e54 Github #340: removing two warnings. 2021-12-18 15:11:39 +01:00
Matthias Melcher
6343148f9d Correcting UFT vs. UTF character flip 2021-12-18 14:44:41 +01:00
Matthias Melcher
b490ce3463 STR 3355: allow Unicode UTF-8 in source code
This includes changes in the UI in Project Settings.
2021-12-17 21:28:23 +01:00
Matthias Melcher
6d9df0763f GitHub #327: menu buttons will no longer grab arrow keys.
In Fluid, selecting a menu button, and selecting it again to make it
movable would also grab the text input focus, which would prevent
the enclosing window from using arrow key events to manipulate
the selected widget.
2021-12-17 19:48:59 +01:00
Matthias Melcher
3626e82057 GitHub #326: browser scrolling should be much improved
Code now convinces browser to rebuild when the tree changes by UI.
When widgets are move, the current widget should always be visible.
It's the responsibility of the UI callback to update the browser.
2021-12-17 18:38:26 +01:00
Matthias Melcher
983777535e GitHub #329: fixed missing code
Commented out code was obsolete.
line_len was a true bug which can shred the end of lines.

Removed Warning
2021-12-16 19:51:37 +01:00
Matthias Melcher
20593074c6 github #328: temporarily disabling new project flags
Project wide settings require a redesign.
Temporarily disabled until I find a satisfying solution.
2021-12-15 20:19:33 +01:00
Matthias Melcher
7161cad2c7 #329 #318: Fixed Fluid indenting and trailing whitespace 2021-12-15 19:38:09 +01:00
Albrecht Schlosser
f57b074378 Fix trailing whitespace and a MSVC compiler warning
No code changes
2021-12-14 23:55:21 +01:00
Albrecht Schlosser
81d07af93a Fluid: convert Fl_Group::forms_end() to a static function
... just in case we disable forms compatibility in the future and
remove Fl_Group::forms_end().

Also: improve doxygen docs, fix some typos.
2021-12-13 21:55:03 +01:00
Matthias Melcher
5fea96dd92 #319: Fixed Live Resize Mode in Fluid 2021-12-13 21:01:56 +01:00
Matthias Melcher
21c328f0c5 #322: remove Fluid's dependency on fltk_forms. 2021-12-13 18:44:33 +01:00
Matthias Melcher
e76611a1fe STR 3442: invalid conversion warning in VisualC 2021-12-13 18:17:07 +01:00
Matthias Melcher
08c69a548c STR 3442: changed .cxx file, but not .fl 2021-12-13 18:17:07 +01:00
Matthias Melcher
160832ce04 STR 3442: copy/paste now inserts widget as expected.
Fluid would add pasted widgets as the last child of the
current group, even if they were cut at the beginning
of the group. This patch adds a 'startegy' to adding
widgets to allow merging closer to the 'current' widget.

Also added d'n'd for the widget bin and some other
UI improvements.

STR 3442: some preparation, variable renaming

STR 3442: unifying functions to add widgets.

Adding widgets interactively is merged into one function,
making undo/redo work as expected and removing
unexpected differences between adding by menu or bin.

STR 3442: adding drag'n'drop for windows from bin.

Just drag the window symbol out of the tree and drop it anywhere
on the desktop.

Visual representation of dragged Window.

STR 3442: insert individual nodes after 'current'

STR 3442: adding new widget at expected positions.

The widget bin can finally do drag'n'drop.
Widgets appear in the tree close to the last selection.
Duplicating now ads right below.
Cut and paste inserts after last selection.

Fluid: replaced #define with strict enum type.
2021-12-13 18:17:07 +01:00
James Palmer
a802aaeb17 Fluid: "Widget Class" subclasses Group but incorrectly shows Window subtypes. 2021-12-13 12:06:07 +01:00
Albrecht Schlosser
20f7db27ba Fluid: use fl_strdup() to fix MSVC compiler warning 2021-12-11 14:49:42 +01:00
Matthias Melcher
8e864bae21 Fluid PR 313: update subtype menu to show "Normal" when deactivated.
Based on jdpalmer's pull request:
If the subtype menu is disabled because there are no subtypes, the deactivated menu will still display the subtype of the last widget that had a subtype value. Clearing the menu when there are no subtypes fixes this minor inconsistency.
2021-12-11 13:19:15 +01:00
Matthias Melcher
1c962bf5e2 STR 3210: indentation is now controlled in one single position for all source and header files. 2021-12-11 03:40:07 +01:00
Albrecht Schlosser
235f9ed709 Fluid: clean up Doxyfile, fix two minor doxygen issues
Note: I "downgraded" this Doxyfile from 1.9.2 to 1.9.1 and edited all
offending tags in the file for compatibility with 1.9.1 and 1.9.2.

Older versions may issue warnings.
2021-12-10 17:52:39 +01:00
Matthias Melcher
6d7faa93e1 Fluid: added keyboard shortcuts documentation. 2021-12-10 15:16:42 +01:00
Matthias Melcher
5655f79d63 STR 3426: indicating in the title bar if the design is newer than the code file.
In this first version, we assume that the code file is newer whenever it is written,
until the current design is modified in any way. So instead of a status bar at the bottom
of the main window, the title bar will now show the status of the design and the code at
the same place.
2021-12-10 01:22:24 +01:00
Matthias Melcher
a4b6175dbe STR 3210: be smarter about appending ';' in callbacks 2021-12-09 22:38:04 +01:00
Matthias Melcher
c175d1276d STR 3210: fixing indentation of Fl_Menu_Item cnd Widget allbacks.
also added and fixed a few comments

STR 3210: fixed indenting of widget callbacks.

Also fixed what is considered a 'name' (could still be improved).
Also better formatting inlined functions in the header.
2021-12-09 21:51:37 +01:00
Matthias Melcher
0c1f78c1f2 STR 3460.D: fixed .fl file reading code 2021-12-09 18:55:51 +01:00
Matthias Melcher
83f6bb50b2 Fluid: sample documentation, please check http://messagepad.org/fluid/code.html 2021-12-09 18:25:51 +01:00
Matthias Melcher
ace6a64161 Fluid STR 3460.D: making dialog more interactive. 2021-12-09 12:42:56 +01:00
Matthias Melcher
4f2febd801 Fluid STR 3460.D: Shell commands are now saved in the .fl file (user option)
The shell properties toolbox is completely redesigned:

This dialog box offers a field for a command line and three check buttons
 to generate and save various files before the command is run.

 If the fourth checkbox, "use settings in .fl design files" is checked,
 all shell settings will be store in the current .fl file, and they will
 be read and restored when the .fl is loaded again.

 Fluid will save different shell settings for different operating system as
 it is common that a different OS requires a different shell command.

 Fluid comes with default shell settings. Pressing the "save as default" button
 will store the current setting in the Fluid app settings and are used for new
 designs, or if the "use settings..." box is not checked.

 Fluid app settings are saved per user and per machine.
2021-12-09 02:48:40 +01:00
Matthias Melcher
1be158a840 STR 3460.b: fixed scrollbar update in widget_browser
Also fixed a bug where a Manu item was accessed by index, which
already was out of sync.
2021-12-08 20:52:51 +01:00
Albrecht Schlosser
b9c0933de2 Update dependencies (no code changes)
Done after the first large commit of fluid changes.
2021-12-08 19:23:01 +01:00
Matthias Melcher
17c8f73a88 STR 3460.C: Code Properties remembers the editor's scroll bar position. 2021-12-08 18:55:44 +01:00
Matthias Melcher
16dae3ea06 Fluid: restructuring and commenting.
tl;dr : making Fluid maintainable, no changes in code execution and logic.

This is a pretty extensive restructuring of the Fluid source tree.
It was neccessary because source and header files were getting
much too big to handle. Many source files had no header, and many
headers declared functions that were in diffrent source files.

Reorganized much of the include statements.
Added comments to some of the files.
Added Doxygen configuration file for standalone Fluid docs.

Tested everything by rebuilding Fluid .fl designs with the resorted
version of Fluid.
2021-12-08 15:52:15 +01:00
Albrecht Schlosser
9154291940 Fix filename in doxygen comment, update dependencies 2021-12-06 00:43:24 +01:00
Matthias Melcher
a646c3f012 Fluid: fixing missing return. 2021-12-05 23:46:11 +01:00
Matthias Melcher
ff869e7419 Fluid STR 3460: Shell Cmd would saye code to wrong path. 2021-12-05 23:30:41 +01:00
Matthias Melcher
45d1d95b57 Fluid: Adding shortcuts for Checkbox and Radio Menuitems. 2021-12-05 21:51:18 +01:00
Matthias Melcher
2e08864f9e Fluid: Adding shortcuts for Checkbox and Radio Menuitems. 2021-12-05 21:50:46 +01:00
Matthias Melcher
7d26ee6ac2 Fluid: fixed typos in pixmap's XPM format. 2021-12-05 13:02:03 +01:00
Matthias Melcher
30371740ac STR #2842: new widgets will be created where the user clicked the RMB
If a user adds a new widget using the right mouse button in any of the
design's windows, the new widget will be located with its top left corner
at the selected position.
2021-12-05 00:40:08 +01:00
Matthias Melcher
204ac3dfdf Fluid: adapting menu to pixmap changes. 2021-12-05 00:18:41 +01:00
Matthias Melcher
21a75a18f8 Fluid support for high res graphics
Changing all pixmaps to Hi DPI
Fixed wrong tooltip
Fixed misleading "invisible" indicator
2021-12-04 23:28:07 +01:00
Albrecht Schlosser
7a7e50df6e Rename FL/Fl_String.H to FL/Fl_String_class.H
The previous name existed already with different case (fl_string.h)
in the FL folder which broke the build on macOS and Windows.

This may be a temporary fix - until I find a better way.
2021-12-04 15:34:41 +01:00
Albrecht Schlosser
b6de09cff2 Re-enable nested (aka recursive) common dialogs (STR 3242, #282)
Apply Fl_Dialog_r10831.patch as given in STR 3242:
https://www.fltk.org/strfiles/3242/Fl_Dialog_r10831.patch

Reformat, add missing pieces, rename private members, cleanup...

Improve documentation, add fl_choice_n() (issue #282)

New methods fl_input_str() and fl_password_str() return Fl_String
2021-12-04 14:49:27 +01:00
Matthias Melcher
c55fd6f704 CMake for Apple Xcode usability improvements 2021-12-03 20:29:20 +01:00
Albrecht Schlosser
0bc06e8f1a Reformat and move clipboard demo from examples to test folder
The clipboard demo is more a test program than an example and very
useful even if the examples are not built.

Also update dependencies.
2021-11-18 13:44:41 +01:00
Albrecht Schlosser
654e20ff8b CMake: Build fluid when cross-compiling 2021-11-11 23:11:06 +01:00
Albrecht Schlosser
6d1f5608ba Support all image depths (1-4) in fl_write_png() 2021-11-11 20:58:09 +01:00
Albrecht Schlosser
500e470d39 Refactor fluid: make fl_write_png() public
The new function fl_write_png() was moved to its own file and is now
publicly available ("exported") so other programs can use it.

This function was used in fluid to write a window screenshot (.png)
together with a template (.fl) to preferences storage.
2021-11-09 20:36:23 +01:00
Albrecht Schlosser
5c5244b162 Fix a fluid crash when writing a template screenshot
We need to show() the window before we call fl_read_image() if it
is not shown yet, otherwise fluid would crash.
2021-11-09 19:36:26 +01:00
Albrecht Schlosser
14f842708d Fix indenting, whitespace errors and dependencies
(no code changes)
2021-10-27 20:52:08 +02:00
Albrecht Schlosser
8863ef7901 Avoid multiple definition of macro __fl_attr()
This could happen if both FL/fl_ask.H and fluid/Fl_Type.h were
included in the same file.
2021-10-17 12:24:39 +02:00
Albrecht Schlosser
b6a69db9a6 Rename 'fileno()' method to 'get_fileno()' for MinGW
See fltk.coredev thread "fltk-1.4 fluid build broken on 32-bit mingw"
https://groups.google.com/g/fltkcoredev/c/W9LWbsNuGZg/m/MW1BVAkeAgAJ

This regression was introduced in commit c8c1f51db7 in an
attempt to fix a Visual Studio (MSVC) warning but broke "old" MinGW
builds that define 'fileno' as a macro.
2021-09-28 12:40:43 +02:00
Albrecht Schlosser
c8c1f51db7 Fix MSVC "fileno" warnings in fluid 2021-08-30 23:45:16 +02:00
Albrecht Schlosser
1a8b94162d Fix Windows (VS) compiler warnings in fluid 2021-08-30 23:45:16 +02:00
Albrecht Schlosser
410a01c6db Add CMake compatibility functions and macros
CMake/compatibility.cmake: define functions and macros to be used
  if a particular CMake functionality requires a higher CMake version
  than FLTK's minimum CMake version, see 'cmake_minimum_required(...)'
  in the root CMakeLists.txt.

Note: target_link_directories() is available since CMake 3.13
2021-07-26 17:40:26 +02:00
Albrecht Schlosser
3c84894f19 Windows: Fix compiler warning: unused variable 2021-05-31 14:20:08 +02:00
ManoloFLTK
b027d2ba57 Windows platform: use GDI+ to antialias oblique lines and curves. 2021-05-31 08:28:06 +02:00
Albrecht Schlosser
773467dee4 Refactor macOS bundle generation to avoid "quarantine"
macOS Big Sur 11.3 introduced a new "security feature" such that
app bundles created from existing bundle templates in downloaded
files (tar distibutions, expanded) could no longer be executed
without unsetting the "quarantine" attribute. This commit fixes
this by creating all bundles from scratch.

Known *workaround* for older tarballs and snapshots:

  $ xattr -d -r com.apple.quarantine xxx.app
2021-05-13 16:18:13 +02:00
Albrecht Schlosser
b5cdd2fa71 Update copyright in fluid bundle (macOS: Info.plist) 2021-05-07 16:50:52 +02:00
Albrecht Schlosser
a484541d4b CMake: improve detection and configuration of image libs
Also: fix old (pre 3.13) link_directories() usage
2021-04-30 19:47:47 +02:00
Albrecht Schlosser
2555e3b37e Fix build with Cairo for CMake < 3.13
target_link_directories() was introduced in CMake 3.13
2021-04-30 12:46:58 +02:00
Albrecht Schlosser
41266df7ae Remove unnecessary system includes from public headers
Add includes of system headers in the implementation files
where necessary.
2021-03-21 00:42:28 +01:00
Albrecht Schlosser
49a78bc482 Fix cairo build (autoconf + CMake) + README's
- rewrite to use pkg-config with both autoconf + CMake
- remove hardcoded library names
- fix build dependencies and search directories
- remove or replace old and unused variables
- update README files

To be done:
- implement fallback for autoconf/configure if pkg-config is missing
- fix pango build (uses cairo internally)
2021-03-01 10:45:59 +01:00
Greg Ercolano
3c37cd033b Solves all "conversion" warnings in fluid for issue #109. 2021-02-18 16:37:51 -08:00
Albrecht Schlosser
f519aceb85 Update dependencies 2020-11-21 13:20:26 +01:00
Albrecht Schlosser
5cb72ef065 Fix whitespace and minor formatting issues 2020-11-17 16:11:03 +01:00
Greg Ercolano
d66e146a89 Handle single quotes 2020-11-01 12:16:23 -08:00
Greg Ercolano
4d503899a3 Mods for Albrecht's 09/19/20 code review 2020-11-01 12:16:23 -08:00
Greg Ercolano
890533a863 Code cleanup: moved keyword/type arrays to StyleParse
Needed to do this to prevent lower StyleParse class from #including upper CodeEditor.
2020-11-01 12:16:23 -08:00
Greg Ercolano
cec029dbee Rewrite CodeEditor syntax highlighting for issue #135 2020-11-01 12:16:23 -08:00
ManoloFLTK
06504e1840 Add Fl_Option::OPTION_SHOW_SCALING to fluid's "Global FLTK Settings". 2020-09-27 10:02:39 +02:00
Albrecht Schlosser
c9bee9ba80 Fix fluid output for international languages
The fluid version and other values in .fl files are written as float
values which means that locale settings apply since we enabled the
locale with "setlocale()".

Update the "rebuild" target in fluid and src folders to update
the fluid (.fl) files and related {.cxx|.h} files.
2020-09-16 12:15:54 +02:00
Albrecht Schlosser
340e2ac3a1 Fix .clang-format and some whitespace errors
.clang-format: UseTab: ForIndentation -> Never

Update fluid generated files
2020-08-22 13:35:42 +02:00
Michael Dickens
4c012bd706 Fluid: when linking include LDFLAGS order
LDFLAGS often contains "-L*" flags as provided outside the build to tell the linker where to search for libraries. If these are included -before- the ones used for internal linkage as found in LINKSHARED, and FLTK is already installed on the system, then the already-installed FLTK libraries will be found before those internal to the build. Moving the LDFLAGS after LINKSHARED generally solves this issue. Worst case the move won't hurt linking since all of the flags are still included in the link command.
2020-08-20 17:34:57 +02:00
Albrecht Schlosser
fcd5239adc CMake: Fix macOS bundle wrapper generation
Now bundle wrapper scripts are created in the particular build folder,
i.e. in subdir 'Debug', 'Release' etc. in multi config builds (Xcode).
To do this, the scripts are now copied whenever the target is built
and not during the configuration phase.

To do: "install" wrapper scripts.
2020-08-18 16:23:25 +02:00
Albrecht Schlosser
4d0b04456e Update dependencies + fluid/generated files 2020-08-03 13:03:14 +02:00
Greg Ercolano
3d18d325f6 Commiting fluid generated template_panel.h as per issue #116
Regarding this comment thread:
https://github.com/fltk/fltk/pull/116#discussion_r458517450
2020-08-02 10:56:40 -07:00
Greg Ercolano
2141c63628 Implement + deploy fl_strdup() 2020-08-01 14:19:40 -07:00
Albrecht Schlosser
720b84ef9d CMake: refactor and reformat CMake files
- raise minimum CMake version from 2.6.3 to 3.2.3 (Jun 01, 2015)
- indent all CMake files according to the CMP (2 col.)
- refactor FLTK version number definitions and usage
- unify CMake and autoconf/configure variable names:
  - FL_VERSION -> FLTK_VERSION
  - FL_MAJOR_VERSION -> FLTK_VERSION_MAJOR
  - etc. for _MINOR_ and _PATCH_, respectively
  - note: this does not affect FL_VERSION etc. in source code
- generate "export headers" for all libraries (experimental: OFF)
- port some forgotten goodies from branch-1.3 to master
- merge and improve macro 'create_example' (WIP)
- remove "temporary" options and code for older CMake versions
- include and use 'GenerateExportHeader' (experimental, WIP: OFF)
  - note: created header files are not yet used
- build only *one* DLL with Visual Studio (tested, works)
  - similar to the bundled IDE projects in 1.3.x
- add some dynamically linked test/demo programs ('*-shared')
  if shared libraries are built (WIP)
- split 'macros.cmake': use one file per macro
2020-07-15 00:34:53 +02:00
Greg Ercolano
da76085fe7 Import Albrecht's utf8 mods for FormatMessage() to fluid
Amended by Albrecht:
 - fix comments
 - add setlocale() to fluid

Note: the latter is also necessary to honor locale in GTK filechooser.
2020-07-14 13:14:37 +02:00
Albrecht Schlosser
8a3d3684ac Fluid: fix "trailing whitespace" errors (#100)
Fluid would write trailing whitespace at some points when generating
.cxx and .h files from .fl files.

This was an old issue but became obvious since we removed trailing
whitespace from source and header files recently.

This commit fixes all whitespace errors in files generated from .fl
files in the FLTK repository, i.e. in fluid/, src/, and test/ folders.

I can't guarantee that I found all possible whitespace errors, but
this commit:

Fixes #100
2020-07-11 18:48:42 +02:00
Greg Ercolano
2b88ce521d Shortcut tooltip elaborates on how to clear shortcut
A user was having trouble figuring this out on fltk.general,
seemed like a tooltip could have helped, so added it.
2020-07-06 21:31:25 -07:00
Albrecht Schlosser
f09e17c3c5 Remove $Id$ tags, update URL's, and more
- remove obsolete svn '$Id$' tags from all source files
- update .fl files and generated files accordingly
- replace 'http://www.fltk.org' URL's with 'https://...'
- replace bug report URL 'str.php' with 'bugs.php'
- remove trailing whitespace
- fix other whitespace errors flagged by Git
- add and/or fix missing or wrong standard headers
- convert tabs to spaces in all source files

The only relevant code changes are in the fluid/ folder where
some .fl files and other source files were used to generate
the '$Id' headers and footers.
2020-07-06 20:28:20 +02:00
Albrecht Schlosser
1da349579d Fix static code analyzer warnings
Note: there's more to do ...
2020-06-24 20:20:11 +02:00
Greg Ercolano
0dc16dd8c9 Added fluid command line '-d' debug flag 2020-06-19 08:59:48 -07:00
Greg Ercolano
db07cea758 Fix problem with Windows pids being unsigned DWORDs
Had to get away from overloading PIDs with error codes,
so now error codes are returned separately from the PID.
2020-06-18 18:24:45 -07:00
Albrecht Schlosser
1078b8fe43 Update dependencies
Change sort order using -f (--ignore-case):
  fold lower case to upper case characters
2020-06-13 12:50:06 +02:00
Albrecht Schlosser
adb2a719d4 Fix fluid undo/redo menu activation and deactivation
(1) fix typo in recent commit
(2) deactivate undo/redo menus on startup and after reset

Fixes issue #84
2020-05-24 22:24:48 +02:00
Greg Ercolano
dcfe826b2f Fix broken undo
Replaced hardwired index#s for undo/redo menu items with dynamic lookup.
2020-05-24 09:02:24 -07:00
Albrecht Schlosser
f930e834c5 Fix documentation URL's 2020-04-08 00:53:16 +02:00
Albrecht Schlosser
d46351a591 Update copyright and FLTK site URL
All .fl files and generated files have been updated.
2020-04-06 20:04:16 +02:00
Albrecht Schlosser
21fb8725c6 Generate copyright year in fluid's about_panel
Copyright year "1998-XXXX" is now generated from current year.
This avoids editing the source code every year.
2020-04-06 20:02:42 +02:00
Albrecht Schlosser
8a7d4c9f61 Remove CodeWarrior "support"
Metrowerks CodeWarrior was an ancient macOS compiler (discontinued
since 2005) that defined the macro __MWERKS__. Code using this macro
and several comments have been removed.
2020-03-11 14:38:02 +01:00
Albrecht Schlosser
a03220aba5 Fix a memory leak in fluid
Also fixed two typos in comments.
2020-03-08 12:42:30 +01:00
Albrecht Schlosser
c4ed2341ec Fix potential null pointer dereferences in fluid 2020-02-11 19:01:48 +01:00
Albrecht Schlosser
8ea4b5b5b1 Fix static analyzer errors and warnings
Fix several bugs found by scan-build (more to come).
https://clang-analyzer.llvm.org/scan-build.html

See also current travis-ci build log with static analyzer, e.g.
https://travis-ci.com/fltk/fltk/jobs/285426415
(link may become invalid in the future).
2020-02-11 15:46:46 +01:00
Matthias Melcher
0a23d7fe6e Fluid needs to include text and binary files from within the .fl source directory.
Fixed including binaries and text to use the same path as the source code. This is consistent with the way the file is selected in the corresponding dialog box. Since the old behavior was false, I don't think this will break any existing projects.
2019-12-24 00:19:23 +01:00
ManoloFLTK
c549b7acbd X11 platform: use Gnome printer dialog when the GTK library is available at run-time
The code to determine whether the GTK library is available is now in Fl_X11_System_Driver::probe_for_GTK()
called both by Fl_Printer::begin_job() and Fl_Native_File_Chooser.
New Fl::option OPTION_PRINTER_USES_GTK allows to deactivate use of
the Gnome print dialog.

Minor change in Fl_Native_File_Chooser: GTK version 3 is searched before version 2,
whereas the search order was the opposite before.
2019-09-15 15:57:29 +02:00
Albrecht Schlosser
6e683783f4 Fix another compiler warning (STR 3529)
fluid/template_panel.{fl|cxx}:

  .../fluid/template_panel.cxx:261:44: warning: ‘%s’ directive output
  may be truncated writing up to 255 bytes into a region of size
  between 0 and 1023 [-Wformat-truncation=]

Solution: increase buffer size from 1024 to 1400.
2019-08-29 17:32:26 +02:00
Albrecht Schlosser
ba8db654ff Fix one compiler warning (STR 3529)
fluid/undo.cxx: fix warning [-Wformat-truncation=]

This fix also removes some static variables and simplifies the
function undo_filename(). It does no longer copy the full filename
string back to a given buffer. Now it returns a pointer to the
internal filename string.

Summary: fix compiler warning, save memory, simplify a function, and
  speed up code by not copying data unnecessarily.
2019-08-29 17:17:37 +02:00
Albrecht Schlosser
44b2b7126c Update dependency system
Try to make `make depend' independent of locale.
2019-06-22 23:42:39 +02:00
Albrecht Schlosser
42afc70b6a Fix potential crash in fluid (issue #14)
trimclassname() would crash if it was given a NULL pointer. Now a
NULL pointer is returned instead.

Fixes #14
2019-04-04 17:20:57 +02:00
Albrecht Schlosser
debc1a39ce Update dependencies 2019-03-25 13:16:05 +01:00
Matthias Melcher
2b1bed470f Fix Fluid batch mode with Fl_Simple_Terminal.
Fl_Simple_Terminal would connect Fluid to the Display in batch mode. We
fix that by creating an Fl_Text_Display instead.
2019-02-16 00:00:24 +01:00
ManoloFLTK
ff8f38f080 Fix Makefile to produce an app bundle under macOS 2019-02-10 16:29:58 +01:00
Matthias Melcher
7d9d7dd7b8 Fixed all Pixmaps to be '*const' (STR #3108). 2019-02-05 00:14:37 +01:00
Matthias Melcher
f4dd9c5199 Added widget visibilit indicator to Fluid (STR #2669). 2019-02-02 23:22:40 +01:00
Matthias Melcher
d6294ac2fc Reorganized Fluid Template feature (STR #3336). 2019-02-01 23:16:49 +01:00
Matthias Melcher
2b6347d0bd STR #3445: Duplicating Widget Class in Fluid no longer crashes. 2019-02-01 21:32:48 +01:00
Albrecht Schlosser
bb91970122 Update dependencies (now sorted)
The main dependencies (makedepend files) are now sorted alphabetically
with one dependency per line.
2019-01-18 16:27:32 +01:00
Albrecht Schlosser
80ad88555f Sort makedepend files for better comparability
The intention is to improve (and minimize) diffs when dependencies
are changed and `make depend' is executed.

(1) use `makedepend ... -w 20'
(2) `sort -u' the resultant file with some more "magic".

(1) makes sure that there is only one dependent file per line,
(2) makes lines unique since `makedepend' can output one file
    many times which is redundant and makes diffs hard to read.

This uses 'mv', 'grep', and 'sort' in all FLTK library Makefiles.
Image libraries are intentionally left for a later update.
2019-01-18 15:44:24 +01:00
Albrecht Schlosser
2167908f8e Update (remaining) dependencies 2019-01-18 14:11:41 +01:00
Matthias Melcher
6ff11dd8d0 Added Fl_Simple_Terminal to Fluid. 2019-01-14 01:43:17 +01:00
Matthias Melcher
6a61772c80 STR 3460: Fluid menu item types
Added pulldown menus to create radio style and checkbox style
menu items without going through the Class menu.
2019-01-14 01:14:40 +01:00
Matthias Melcher
b71601fe7c STR 3460: shell window remembers position
The Fluid window to display the execute shell command result
is now reopened where it was previously closed.
2019-01-14 00:09:31 +01:00
Matthias Melcher
3d6b234c27 STR 3460: remember cursor position in code editor
When editing code in Fluid, the COde_Type class will now
remember the last cursor position and reopen the editor
dialog at that position (not for external editor).
2019-01-13 23:32:34 +01:00
Matthias Melcher
a1ebe87a88 STR 3460: removed nanny code for Fluid comments
When writing comments, FLuid would check if the comment was
C compatible. However, comments don;t need to comply to C
syntax. We could check for the "*/", but is that really needed?
2019-01-13 22:42:01 +01:00
Matthias Melcher
75eefbcd42 Fixing some minor lint, found by Pavel Shlyak using PVS studio 2018-12-27 13:05:35 +01:00
Albrecht Schlosser
474d6e2393 Fix 'fluid.app' for case sensitive macOS file systems.
Change 'Fluid.app' to 'fluid.app'.

Also changed documentation and (https) links in modified files.
2018-12-04 14:20:33 +01:00
Albrecht Schlosser
0321ce7a1c Add missing include file <string.h>.
Preparing for another commit...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-10-22 01:04:57 +00:00
Matthias Melcher
f58c1d85b8 Fluid inlined text data must be 'const'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-10-09 19:56:33 +00:00
Matthias Melcher
b10524fce2 Avoiding crash when accessing free'd memory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-10-09 19:53:05 +00:00
Albrecht Schlosser
86b0756e15 Update dependencies and fluid files, fix typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-30 10:41:16 +00:00
Matthias Melcher
40add7bc5f MacOS X: Fixed Fluid CMake to use the included Info.plist instead of the CMake template. This will teach Fluid to accept .fl and .fld files again.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-27 11:06:51 +00:00
Matthias Melcher
982b21bd58 Fixed indenting and some wording in previous changes to Fluid
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-27 09:26:49 +00:00
Matthias Melcher
1156e8b305 Beautified some of the code. Removed size calculation error.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-25 15:38:25 +00:00
Matthias Melcher
011e5c498a Added new functionality to Fluid: the 'binary data' type can now include text files as well as binary files into the source code. There is an additional check box in the dialog. Terminology is now "inlined data" instead of "binary data". Texts were modified to reflect the changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-25 15:17:16 +00:00
Matthias Melcher
b8e97d7c28 Doxygen only: fixed all block comments starting with an asterisk to space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12970 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23 20:50:22 +00:00
Albrecht Schlosser
e70733b46f fluid: update copyright year.
This is particularly useful for fluid/about_panel.{fl,cxx,h}.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-01 11:08:38 +00:00
Albrecht Schlosser
2e9ba0a10e Update fluid (.fl) files.
src/Fl_Help_Dialog.fl: Add one missing declaration.

Other files: update (fluid -u) and update source (fluid -c).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-01 10:58:16 +00:00
Albrecht Schlosser
efc3ec1b7b Remove unnecessary dependency on FL/Fl_Rect.H.
Fl_Rect.H is no longer included by Fl_Group.H to avoid unnecessary
dependencies on Fl_Rect.H. Currently it is only needed to access the
array returned by the protected method bounds().

Also clarified documentation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-12 12:58:10 +00:00
Albrecht Schlosser
5e98a9e292 Remove unused variable, update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-10 21:10:53 +00:00
Matthias Melcher
b9dac8f6f6 Android: should build and run
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-02 20:12:55 +00:00
Matthias Melcher
42555053a1 More Android changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-02 20:03:04 +00:00
Albrecht Schlosser
52ae3582a2 Replace "WIN32" with "_WIN32" or "Windows".
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32".
Replace "WIN32" in text and documentation with "Windows".
Replace "MSWindows" with "Windows".

To do: README.Windows.txt (and maybe other documentation as well)
needs updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-09 14:39:42 +00:00
Albrecht Schlosser
42d8aba117 Replace FL/x.H with FL/platform.H - step 2 (STR #3435).
This second step replaces FL/x.H with FL/platform.H in all source files.
Dependencies have been adjusted as well.

This commit completes the replacement of FL/x.H with FL/platform.H.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-31 21:17:17 +00:00
Albrecht Schlosser
cc595ce4ed Replace FL/x.H with FL/platform.H - step 1.
This first step replaces FL/x.H with FL/platform.H but keeps a small
FL/x.H that #include's FL/platform.H for backwards compatibility.
Documentation sources in documentation/src/*.dox have been fixed,
but references in other source files need to be fixed in another step.
Dependencies have been adjusted.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-31 17:46:48 +00:00
Albrecht Schlosser
a877466a21 Fix illegal memory access after free when closing fluid (STR #3427).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-18 18:13:06 +00:00
Albrecht Schlosser
16db9a0c82 Fix crash when closing fluid with Fl_Table (STR #3427).
Many thanks to Chris for the patch!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-18 17:55:47 +00:00
Albrecht Schlosser
f3896460d6 Replace chdir() with new wrapper fl_chdir().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-12 18:00:45 +00:00
Greg Ercolano
9c2b0d743f Fixes STR# 3420; fluid crash on certain static functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-28 21:23:35 +00:00
Albrecht Schlosser
06ca7993a5 Replace remaining calls to getcwd() with fl_getcwd().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-15 13:04:45 +00:00
Albrecht Schlosser
1ff9144801 Replace remaining calls to access() with fl_access().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-15 11:47:01 +00:00
Albrecht Schlosser
a8b58f6b79 Replace inappropriate usage of __WATCOM__ with _MSC_VER.
Note: this is in parts temporary since some of the functions redefined
for Visual Studio will be replaced with fl_*() functions in later commits.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-15 10:46:16 +00:00
Albrecht Schlosser
41f92be2f1 Replace remaining calls to unlink() with fl_unlink().
Tested under Linux, MinGW, and Visual Studio 2015.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12496 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-15 10:18:53 +00:00
Albrecht Schlosser
aff3a0ac12 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-13 15:00:06 +00:00
Albrecht Schlosser
66b1690aa8 Replace remaining calls to getenv() with fl_getenv().
... except in driver code that uses Fl_System_Driver::getenv().

Todo: Check if all remaining calls of getenv() in driver code are correct
or might use ::getenv() to avoid one calling level for optimization.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-13 14:58:30 +00:00
Albrecht Schlosser
900314d4f4 Documentation and copyright updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-12 15:26:36 +00:00
Albrecht Schlosser
141c3594d2 Fluid: remove redundant code, fix FL_IMAGE_LABEL labeltype.
Remove leading underscore from _FL_IMAGE_LABEL.
Remove redundant assignment of image().

Thanks to Greg for finding these issues.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-12 13:44:15 +00:00
Albrecht Schlosser
e629a9275b Fluid: align internal tables (no code changes).
Note: tab width 8.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12447 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-12 12:55:30 +00:00
Albrecht Schlosser
3a5e2f074b Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-08-18 15:18:46 +00:00
Albrecht Schlosser
d9460d787b Update dependencies (makedepend).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-07 19:42:12 +00:00
Albrecht Schlosser
90f6c8ee26 Update copyright year(s).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-06-29 18:12:57 +00:00
Albrecht Schlosser
9041a3dc70 Fix fluid's widget_panel coordinates and widget order.
Added comments to hidden widgets and (also hidden) resizable box.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-06-27 13:01:12 +00:00
Albrecht Schlosser
680631b834 Fix dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-19 10:53:04 +00:00
Albrecht Schlosser
66cdcfcd1b Fluid: Fix platform-specific build system (CMake + configure).
Don't compile "empty" file (avoid warning: empty translation unit).
Add '-u' (update) command switch to 'make rebuild'.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-02-15 20:28:13 +00:00
Albrecht Schlosser
2c043fb5b3 Fix string truncation in fluid (STR #2722 continued).
This commit fixes the truncated string drawing that was partly fixed
in svn r 9112 (FLTK 1.3.1, 2011-10-01).

Combined port of svn r 12057 and 12059. The latter adds sanity checks
and fixes potential buffer overflows.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-28 21:42:42 +00:00
Greg Ercolano
43c98c7c90 Bring over combined fix [r12044] from 1.3 current to the porting branch.
Applied patch from STR #3335 to fix simple GUI issues.
 


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 19:20:36 +00:00
Greg Ercolano
de4572ffdd Bring over combined fix [r12041/12042] from 1.3 current to the porting branch.
Added line numbers to Edit -> Show Source Code viewer (source + header tabs)
Fixes Aditya Siram's observation today on fltk.coredev.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12043 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 17:00:58 +00:00
Albrecht Schlosser
e3670dfda6 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-porting@12029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-14 16:35:52 +00:00
Albrecht Schlosser
26601983c6 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11957 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-20 13:35:44 +00:00
Albrecht Schlosser
eede707852 Update fluid files and copyright.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11956 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-20 13:31:38 +00:00
Greg Ercolano
560e2d06ba Bringing over fix [r11880] from 1.3 current to the porting branch.
Limit line numbering to New>Code editor.
(was affecting Properties->Callback and New>Code>Comment editors)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-30 06:00:57 +00:00
Greg Ercolano
4e7603f26e Bringing over fix [11878+11879] from 1.3 current to the porting branch.
Solves STR #3318: options for how to handle external editors on fluid quit
        



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-16 21:20:06 +00:00
Greg Ercolano
5f445ab306 Bringing over fix [r11875] from 1.3 current to the porting branch.
Solves STR #3319: enable line numbers in fluid: Edit -> Show Source Code.
  



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11877 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-16 20:23:51 +00:00
Albrecht Schlosser
524fb8ae27 Fix more Windows 64-bit g++ compiler warnings.
Fixed warnings:

  42 cast to pointer from integer of different size [-Wint-to-pointer-cast]


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-29 10:54:22 +00:00
Greg Ercolano
aa5ac8656d svn property mods..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11839 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 18:40:49 +00:00
Greg Ercolano
d1dd240bd4 Bringing over fix [r11835] from 1.3 current to the porting branch.
Improved fluid-org.png diagram.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 18:06:27 +00:00
Greg Ercolano
8850c5c822 Adds external editor capability to fluid for all platforms.
Solves STR#3213. [CORRECTED]



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-18 21:12:25 +00:00
Manolo Gouy
b870641f34 Begin to remove platform-specific code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11705 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-27 17:02:57 +00:00
Albrecht Schlosser
7e04657ce7 Remove obsolete EMX (DOS, OS/2 extender) support.
This commit changes all files except src/Fl_File_Chooser2.cxx.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-12 17:53:18 +00:00
Albrecht Schlosser
aafd8b6031 Fix VisualC++ build (Visual Studio 2015).
IDE generated with CMake, still many warnings, but compiles and runs.

Note: we *must* get rid of all VisualStudio-specific #define's like:

 #define unlink _unlink

This one led to a compilation error (not a warning).

src/Fl_File_Icon.cxx: I had to add _MSC_VER (WIN32) distinction as in
  previous code (FLTK 1.3). Obviously MinGW is more Unixy than MS VC++
  since MinGW compiled and linked the code. Needs a better fix ...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-11 00:46:11 +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
3dfec155ad [CMake] Remove redundant linking in CMake build process (STR #3298).
[CMake] Simplify CMake build files, remove redundancies.

Ports of branch-1.3, svn r 11442 and 11444:

Remove src/fl_call_main.c from non-Windows (static) libraries. It would
be an empty object file anyway.
 
Use CMake variables to set up used files and linked libraries to remove
redundancies. All files and libs are used only in the definition of
CMake variables and used later in static and shared builds, resp.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11447 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-27 20:59:39 +00:00
Manolo Gouy
915d6c643a Isolate the definition of the 3 public, OS-dependent types (Fl_Offscreen, Fl_Region, Fl_Bitmask).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-26 14:36:11 +00:00
Manolo Gouy
01e991840c Remove a bunch of useless #include <FL/x.H> directives.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-25 16:06:00 +00:00
Albrecht Schlosser
3d28ff46fb Update dependencies.
Note: the manually edited dep's have not been updated.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-19 22:23:34 +00:00
Matthias Melcher
b496d18b85 Fixed 'flush()' code for single, double, and overlay buffering
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-13 22:16:37 +00:00
Matthias Melcher
53859c584f Add support for SDL as a base library on OS X.
This commit adds the basic setup in CMake to allow SDL as a base
library for FLTK on OS X (and probably for other platforms as well).

The SDL library driver set is derived from yet another new driver
set named 'Pico'. 'Pico' is a base class for a driver that will
allow porting of FLTK with the tinyest amount of effort. This 
implementation of the SDL driver shall be documented very well
to explain the porting process.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-02 00:54:37 +00:00
Albrecht Schlosser
d67e9ccb73 Fix compiler warnings (STR #2988) - final commit.
This commit includes all fixes from branch-1.3 (svn r 11243) and additional
fixes for warnings that crept in during the porting efforts, particularly
C++ ("//") comments in C and included header files, and some more.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27 17:27:21 +00:00
Albrecht Schlosser
425867ad2a Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11238 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27 01:26:10 +00:00
Albrecht Schlosser
12b3e335ed Fix Makefiles (particularly target 'clean').
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27 01:24:32 +00:00
Albrecht Schlosser
e1f5f5f7ec Update dependencies.
Note: we should really get rid of that!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-26 11:17:48 +00:00
Albrecht Schlosser
00dd296ff2 Bump version numbers for next minor release: FLTK 1.4.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-30 00:56:42 +00:00
Manolo Gouy
69ec698e41 Mac OS: modified CMake config files to allow use of OPTION_APPLE_X11
to build an X11-using version of FLTK on the Mac OS platform.
This matches the recent support of the --enable-x11 option
by the configure script on the mac.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-31 06:19:59 +00:00
Albrecht Schlosser
4f5e6e7732 Harmonize configure and CMake build system (part 1).
The files "config.h" generated by configure and CMake are now almost
identical, except a few comments and some still missing or failing
config tests, for instance checks for some functions in libraries.
[Note: tested and compared on Linux.]

configh.cmake.in: Fixed many #cmakedefine and #cmakedefine01 statements
  so they #define their variables as 0 or 1, or /* #undef */ it, resp.,
  as it is done in the configure build.

Added tests:
  - libXrender

Fixed tests:
  - function glXGetProcAddressARB

Todo (still failing tests in CMake):
  - HAVE_PNG_GET_VALID
  - HAVE_PNG_SET_TRNS_TO_ALPHA
  - HAVE_DLSYM

Other remaining issues:
  - compiler flags introduced in configure/make build
  - HAVE_SYS_NDIR_H - maybe missing test in configure ?
  - HAVE_SYS_DIR_H  - maybe missing test in configure ?
  - HAVE_NDIR_H     - maybe missing test in configure ?
  - WORDS_BIGENDIAN and #include <mac_endianness.h> ...
    i.e. Mac OS X specific #include needed or not ?



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-30 14:37:35 +00:00
Manolo Gouy
43bfe74b25 Running FLTK in static initializers (cont'd):
1) Changed the way fluid attaches images to widgets and menu items so
it is compatible with running fluid-generated code containing such images
in a static initializer. Images are now attached calling a function:
  widget->image( image_function_name() );
and this function is defined before in fluid-generated code as:
   static Fl_Image *image_function_name() {
     static Fl_Image *image = new image_type(......);
     return image;
   }

2) Changed src/Fl_File_Chooser.fl so the source code generate by fluid
from it is compatible with running in a static initializer.

3) Changed src/Fl_File_Chooser.cxx and FL/Fl_File_Chooser.H
to the result of running fluid on src/Fl_File_Chooser.fl 

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10972 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-18 18:56:58 +00:00
Albrecht Schlosser
3666209659 Finish "rename" of *.xcf.gz - delete uncompressed files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-24 14:43:20 +00:00
Albrecht Schlosser
bf873db029 Rename *.xcf.gz files to *.xcf_gz instead of uncompressing.
This is intended circumvent the Apache/Subversion protocol issue
described by Ian in the previous few commits.

Todo: If this works we can remove the uncompressed files again ...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-24 14:37:37 +00:00
Ian MacArthur
a2b8700a82 Replace the "renamed" fluid.xcf[.gz] file that
was blocking repository access for checkouts.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-24 11:51:06 +00:00
Ian MacArthur
df12bf6c66 Attempting to unblcok repository access.
The Apache server is currently mis-handling
files with a .gz extension, and this causes
checksum errors and blocks checkouts etc.

Renaming the files does not work (it also
fails) but it seems deleting the files, then
adding them back with a "new" name does work.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-24 11:49:30 +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
Albrecht Schlosser
d7d57f9113 Fixed copyright year, updated CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-03 15:45:41 +00:00
Albrecht Schlosser
2aae73febc Fix out-of-bounds memory access in fluid (STR #3263).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-03 15:08:54 +00:00
Albrecht Schlosser
99c536234e Add light gray separator line to fluid widget browser (STR #2997).
Also fix some comments.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-08-01 19:04:07 +00:00
Albrecht Schlosser
a2e13ee3a2 Fix documentation, adjust comments in fluid/Fl_Type.cxx.
No code changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-23 00:22:42 +00:00
Albrecht Schlosser
01cbcc8406 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-22 23:20:47 +00:00
Albrecht Schlosser
c9d8e0feaa Update fluid .fl files and generated code - remove trailing white space.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-09 02:09:33 +00:00
Albrecht Schlosser
9488810968 Fix trailing white space in fluid .fl files (STR #3239).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-09 01:17:33 +00:00
Albrecht Schlosser
5573c35ff1 Fix spelling errors and improve documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 20:24:41 +00:00
Albrecht Schlosser
6b8f3c6027 Fix compiler warnings in fluid-generated code (STR #2813).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10696 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-10 19:26:17 +00:00
Manolo Gouy
6496fd33be CMake generation of Xcode project under Mac OS: bundle fluid with its proper icon.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-07 16:08:54 +00:00
Matthias Melcher
c4b0a2f3bf Tricking Fl_Text_Display into using bearable colors for CodeView in Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-04 15:06:30 +00:00
Matthias Melcher
326b64d278 STR #3184: fixed code editor in Fluid to check the previous line for a block comment style in the last character. If so, the previous line is include in the calculation of the current line. This seems to fix issues when changing the block-comment character combination '*/' by deleting a character or adding one in the middle.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-04 11:17:38 +00:00
Albrecht Schlosser
33f61316fc Fix typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 19:39:45 +00:00
Albrecht Schlosser
d6bcdbe375 Remove useless cast that would break Windows 64-bit compilation.
This cast broke Windows 64-bit compilation with a hard error.
$ x86_64-w64-mingw32-g++ --version
x86_64-w64-mingw32-g++ (GCC) 4.8.3
Error message:
widget_panel.cxx:82:41: error: cast from ‘void*’ to ‘long int’ loses precision [-fpermissive]
 wCallback->do_callback(wCallback, (long)v);
                                         ^


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 16:15:14 +00:00
Matthias Melcher
d5a8755ead Added comments to Fluid Widgets. The comment field is between the Additional Code and Callback field on the C++ Tab of the Widget Editor. Care was taken to correctly resize.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-02 17:19:33 +00:00
Matthias Melcher
552502d44a Fixed the Tab order in Fluid dialogs that contain a comment field. The comment field can no longer have tabs in it anymore (hey, it's either that or the other, right?). But I believe that this is a limitation that the user can easily live with. It's just comments, not code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10658 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-02 14:08:18 +00:00
Matthias Melcher
61a7bf60f9 Finally fixed the order of arrow and icon in the Type browser in Fluid.
Boy, this has been bothering me since the early eighties (or whenever
I checked that in first). Sorry that it took me a little while.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-01 15:33:44 +00:00
Albrecht Schlosser
ae4b51b970 Remove obsolete watcom makefiles.
These makefiles included '../watcom.mif' which had already been removed
and they had not been updated anyway.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-17 14:53:09 +00:00
Albrecht Schlosser
4798d70ded Update copyright (year) in generated fluid files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 18:03:16 +00:00
Albrecht Schlosser
0f45a7adf5 [Version 1.3.4] Update version numbers - hopefully complete.
Note to devs: if I missed something, please mark follow-up commits with
[Version 1.3.4] so we can find the necessary commits for version updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10 01:41:55 +00:00
Albrecht Schlosser
c96c4c35b0 Add 'fluid -u' command-line switch to upgrade fluid files in batch mode.
This option opens a fluid ('.fl') file and saves it overwriting the old
file with the current syntax and library version number.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-09 20:37:45 +00:00
Albrecht Schlosser
78783e1fd8 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-07 13:12:54 +00:00
Albrecht Schlosser
6390a0e09e [CMake] Improve installation, support DESTDIR, and more (STR #3149).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-16 14:30:27 +00:00
Manolo Gouy
09230a9878 Removed compilation warning when compiling fluid/file.cxx on apple.
Also, added explanatory comment of the purpose of a GNUC-specific
attribute in FL/fl_ask.H

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-20 15:00:27 +00:00
Greg Ercolano
889a8a6d42 Fixes STR #3169, comments #4, #5 and #7.
Prevents warnings from the OSX 10.9.x clang compiler.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-19 03:47:32 +00:00
Albrecht Schlosser
f500ff46e2 Update dependencies for FLTK 1.3.3 release.
This should be the final commit for FLTK 1.3.3.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-03 10:34:54 +00:00
Manolo Gouy
9aee477062 Updated version numbers displayed in the "About fluid" menu item under Mac OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 18:30:37 +00:00
Albrecht Schlosser
fd04b88260 Fix regression introduced in svn r10331.
Didn't build in Windows IDE projects because of missing snprintf().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 17:24:57 +00:00
Ian MacArthur
f344e4a459 Adjust fluid/file.cxx so that it builds again on OSX.
I don't think this change will prevent the prior "fix"
workaround that Albrecht made from working on cygwin...

Probably!



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10381 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-15 20:51:39 +00:00
Albrecht Schlosser
de1d03cd52 Fix sporadic floating point value comparison error.
I wonder why this did not appear earlier. I found this issue only
when compiling with Cygwin under certain circumstances. Error was:

  Generating tabs.cxx and header from tabs.fl...
  tabs.fl:2: unknown version '1.0303'

although fluid was the one linked under FLTK 1.3.3 in the build process.
The fix is to adjust FL_VERSION by a delta value of 0.00001.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-15 12:36:26 +00:00
Albrecht Schlosser
02b1646d0e Make image data 'const' for all image types in fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 11:56:06 +00:00
Albrecht Schlosser
aef482198e Bump version numbers to 1.3.3.
All fluid .fl files have been rewritten with fluid 1.3.3 and may differ
somehow, but there are no significant changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 00:03:27 +00:00
Manolo Gouy
bbefe857db Added control of the Fl::OPTION_FNFC_USES_GTK option in the "Edit/Global FLTK Settings" menu item of fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-30 13:06:35 +00:00
Manolo Gouy
0a77482bba These files should be created by fluid from alignment_panel.fl. So, back to their previous versions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-30 10:25:06 +00:00
Manolo Gouy
77b160e19d Added control of the Fl::OPTION_FNFC_USES_GTK option in the "Edit/Global FLTK Settings" menu item of fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-30 09:07:35 +00:00
Albrecht Schlosser
318c3619dc CMake enhancements, as discussed in STR #3055.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-27 00:41:06 +00:00
Albrecht Schlosser
5b774e9970 Use fl_ascii_strcasecmp in fluid/factory.cxx (STR #3006).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-25 10:37:35 +00:00
Albrecht Schlosser
023589e703 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-22 19:07:55 +00:00
Albrecht Schlosser
de3fd7574f Generate version number in fluid's about panel automatically.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-22 18:22:02 +00:00
Lauri Kasanen
bbc8782b6a Move Xutf8.h to src/, update includes, refresh makedepends
This is an internal header.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-23 08:41:58 +00:00
Greg Ercolano
2c820fd53d Fixes for STR#3085; fluid UI layout clipping issues.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-17 20:46:25 +00:00
Greg Ercolano
4c301eb6f9 Small template panel widget positioning/sizes
to prevent labels clipping (on linux).



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10148 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-17 18:43:11 +00:00
Greg Ercolano
c5d5ba1cf5 Applying the etorres gleam patch. STR #2672.
TODO: Xcode 4 ide needs fl_gleam.cxx added
      Test of Visual Studio IDE mods (which were hand-modified)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-25 04:24:41 +00:00
Albrecht Schlosser
c954d5212f Fix clang compile error in fluid (STR #3046).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10093 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-04 00:34:41 +00:00
Albrecht Schlosser
41b85d18a4 Fix strcasecmp() issues (again), see STR #2994.
This new temporary fix improves handling of strcasecmp() for
CMake-generated Makefiles (cmake -G "MSYS Makefiles" ..).

For some unknown reason (maybe other compiler flags?) this showed
lots of *warnings* again. A better fix (replacing direct calls to
strcasecmp() with fl_strcasecmp() or similar will follow later.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10074 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-21 11:07:43 +00:00
Albrecht Schlosser
eb980231be Fixed recent MinGW build WRT configure not finding strcasecmp() (STR #2994).
Note: This fix is temporary and should be revisited later.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-03 17:24:00 +00:00
Greg Ercolano
f947042535 STR #2997: Disable ESC from closing code window.
This drives VI users crazy; a comman 'save' pattern is:
	   (1) enter some code, (2) hit ESC, (3) type :w ENTER.

	   In VI these actions save the code entered.
	   in fluid it /dumps/ the code typed because ESC is a shortcut for the Cancel key.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-25 22:03:47 +00:00
Greg Ercolano
d2f83a42c2 Extension of r10008; fix width problem for "C declaration" button..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-25 21:16:04 +00:00
Greg Ercolano
3f8ebf0ebb Fix width problem with "C declaration" button
in the Function/Method Properties panel.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-25 21:14:42 +00:00
Greg Ercolano
15367447cd Fix some warnings for IRIX 6.5
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-24 19:58:24 +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
Ian MacArthur
eaa67248a7 Typo: It turns out that when we stepped the version number up to
1.3.2, we didn't change the hard coded value in fluid's about_panel.

Though:
Why is this value hard-coded anyway? Should fluid not be picking
that up from Enumerations.h at build time, or something?



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-20 10:27:47 +00:00
Matthias Melcher
8701434312 Upgrade version number to 1.3.1
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 21:13:54 +00:00
Albrecht Schlosser
ba8fd78d6b Fix cast using both (unsigned char) and (int) to make sure that
char values > 127 are *positive* int's. (STR #2726)
--This line, and those below, will be ignored--

M    fluid/Fl_Type.cxx


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-14 18:31:43 +00:00
Fabien Costantini
8ec35982ee STR2726 fix. proper cast should be int as specified in isspace documentation, not unsigned char
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 03:17:40 +00:00
Ian MacArthur
6f4c59079f This change to fluid's CodeEditor ought to make it honour textsize changes
that are applied at text buffer creation.

How effective this will be for etxtsize changes that occur later is
another question, but this corrects a problem identified in the
thread "Re: [fltk.general] FLUID fonts earlier



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-13 14:45:18 +00:00
Fabien Costantini
8809c5d65d Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05 05:12:30 +00:00
Matthias Melcher
95692bf287 STR 2722: Fluid widget browser was not UTF8 reay yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-01 16:25:30 +00:00
Matthias Melcher
bc1b17056a STR 2708: simple inline hint may reduce executable size quite a lot.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9082 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-28 20:43:05 +00:00
Matthias Melcher
dc7ac4e770 STR 2707: nested class and namespace support
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9080 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-28 20:31:27 +00:00
Matthias Melcher
4de066bd0e STR 2706: fixed wrong parent() count for Fluid generated Fl_Input_Choice callback code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-28 02:21:06 +00:00
Greg Ercolano
e76a22d6c0 Fixed build problem on Linux.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-22 23:03:12 +00:00
Manolo Gouy
45ad71dbc3 Use the Fl_Printer and Fl_Native_File_Chooser classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9054 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-21 14:11:44 +00:00
Matthias Melcher
041a459814 Fluid -c would destroy the file history every time it was run.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-18 13:43:39 +00:00
Greg Ercolano
4f4a8fc3c7 Modifications to all LGPL headers for STR #2685.
(to clarify static exception LGPL by changing license references)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 04:49:30 +00:00
Manolo Gouy
0aafa58701 Fix STR #2661: fluid may crash when printing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-10 13:37:07 +00:00
Manolo Gouy
75c9d386fa Fix STR #2657: repaired indentation error in fluid-output code.
Also changed copyright year to 2011.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-07 11:41:36 +00:00
Manolo Gouy
42af47f31e Fix STR #2597.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10 16:46:42 +00:00
Manolo Gouy
89be9d5e04 Fix STR #2596: Fluid generated improper callback member functions for
Fl_Menu_Item's in widget classes. Fixed with OP's patch.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-24 16:25:09 +00:00
Albrecht Schlosser
dce0fbe6ef More dependency updates (makedepend files).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8390 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-06 14:41:45 +00:00
Matthias Melcher
fe25f19767 Adding embedded documentation to Fluid if installed odcs are not found. Falls back to the internet if that does not exist either. Also, adds JPEG and PNG images to the Shared Image list if they were loaded from memory - see example use in fluid.cxx which loads and embedded html document containing an embedded PNG image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-24 17:04:22 +00:00
Matthias Melcher
0ae74b5ab1 Fluid binary type adds size to the array of unsigned char, giving better access to the resource.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-19 23:14:09 +00:00
Matthias Melcher
3ed49c0793 STR 2510: send Fluid help string to an FLTK dialog box for Visual Studio builds.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8202 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 21:36:04 +00:00
Manolo Gouy
bc509d32eb Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:24:58 +00:00
Albrecht Schlosser
21f1c67b60 Updated dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 15:15:48 +00:00
Matthias Melcher
bb6392f7ec Added Table and Tree support to Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 08:28:38 +00:00
Albrecht Schlosser
0f42da625a Fixed XFT layout problems in fluid/about_panel.fl (STR #2165) and copyright
year. This is far from a complete solution for STR 2165, but it fixed the
most prominent issue (about_panel). It's done be enlarging some boxes and
the whole window.
M    fluid/about_panel.cxx


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8144 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-30 16:17:49 +00:00
Albrecht Schlosser
6e1ce92c62 Updated dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-30 15:35:33 +00:00
Albrecht Schlosser
5a2e5395b0 Updated dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 17:46:38 +00:00
Manolo Gouy
b5aac7591c Fix STR #2495: free memory during destructor of Fl_Type object.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8107 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 20:20:34 +00:00
Matthias Melcher
a8e8831559 Moved global FLTK options into Fluid until we find a better setup. Restored the original Preferences demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8089 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 22:19:24 +00:00
Matthias Melcher
88093df6e8 Removed IDE support from Fluid because it never got finished and seemed more like a race against windmills. I may pick this up again later - maybe.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 20:33:24 +00:00
Matthias Melcher
150fc6e7f7 Used Fluid to generate Fluid files. Fixed two naming issues for the new Fl_Int_Input type, generated by Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 12:21:24 +00:00
Matthias Melcher
9092dccab8 Changed all fixed filename buffers (that I could find) to use FL_PATH_MX instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19 21:20:10 +00:00
Manolo Gouy
f3c7efc8d2 The 3 objective-c++ files used for the Mac OS X support are no longer included
by other files but added to the list of source files to be compiled
for Mac OS X only. Support files for autoconf/configure/make, CMake and Xcode
are also modified accordingly.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-17 10:43:41 +00:00
Manolo Gouy
8ac8d3e8d7 Change after rename of Fl_Native_File_Chooser_MAC.cxx to Fl_Native_File_Chooser_MAC.mm
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8046 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-16 09:06:33 +00:00
Matthias Melcher
b239847669 Fluid generates correct Fl_Int_Iput and Fl_Float_Input plus include line. STR 2476
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8019 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 20:06:04 +00:00
Albrecht Schlosser
97b4b0c704 Fixed Compiling with mingw-w64 (STR #2308).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 14:00:35 +00:00
Manolo Gouy
2f8b7e47c2 Should fix STR #2464 by not calling fl_open_display when running fluid in command line mode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-01 18:31:23 +00:00
Greg Ercolano
4327734e69 More copyright 2010 mods.
Used: vi `grep -r 'Copyright .*Spitzak' . | grep -v 2010 | grep -v '/\.svn' | cut -d: -f1`


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 18:18:27 +00:00
Matthias Melcher
e454f97acc Fixed Copyright to 2010.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:06:39 +00:00
Matthias Melcher
6b301d4365 Fixed memory leaks in Fluid - Thanks for the patch (STR 2455)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7900 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 22:08:23 +00:00
Matthias Melcher
1e77c19688 Fixed file access code to use UTF-8 strings (STR #2440)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 20:00:01 +00:00
engelsman
6d2f0273f3 corrected fluid.desktop (STR #2328)
removed "cd %D" as the %D is deprecated anyway.
updated README and README.Unix to describe install-desktop



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 16:37:34 +00:00
Matthias Melcher
1725a85468 Rename variable in Fluid to make more sense
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 15:03:57 +00:00
engelsman
ce6043d160 fixed const correctness in fluid/Fl_Function_Type.cxx (STR #2441)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-13 09:01:45 +00:00
Matthias Melcher
2e3037f895 Applied Domingo's suggestion for formatted Fluid output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12 15:55:09 +00:00
Matthias Melcher
32f48c3033 Fixed missing internationalisation of menus generate by Fluid (STR #2246)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12 11:55:10 +00:00
Matthias Melcher
48f107775d Fixed outside label redraw damage areas (STR #2436)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 19:35:23 +00:00
Matthias Melcher
8e30c66a92 Fixed special handling for ISO back-tab keycode (STR #2369)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 19:56:20 +00:00
Matthias Melcher
8f79d200a0 Fixed the remaining warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-28 21:47:01 +00:00
Greg Ercolano
56c6a5b12a Silence compiler errors about argument() conversion to Fl_Align
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-01 02:45:57 +00:00
Albrecht Schlosser
4245442f8a Applied Greg's patch to fluid (STR #2393) to prevent false error
messages when building .cxx and .h files from .fl files.
Updated the ide/VisualC6 project files, tested and built w/o
errors with Visual C++ 2008 Express (84 projects successful).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7674 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 14:01:22 +00:00
Matthias Melcher
32716d6b1e Updated the Fluid IDE support for the current source file structure. Changed the Fl_Tree rendering code around a bit to make the tree more like MSWindows on Windows and more like Apple on Apple machines. I hope you guys like it. I also moved the function to load Fl_Preferences into an Fl_Tree into the Fl_Tree class where it belongs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 09:44:45 +00:00
Albrecht Schlosser
bd1ac8889b Updated fluid/ide_support.cxx and fltk.db to reflect recent
source file changes.
Updated ide/VisualC6 project files accordingly.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-08 13:07:16 +00:00
Albrecht Schlosser
27d9926856 Fixed dependencies for next snapshot.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-28 07:39:27 +00:00
Matthias Melcher
3ef47f712a Added 'rotated_text' to the Fluid IDE setup. It should probably be in 'Demo' as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-07 20:23:07 +00:00
Ian MacArthur
13ebb3bb8d svn props on ide_support.h too
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-03 20:11:59 +00:00
Ian MacArthur
21a0b338b2 svn props were not set on ide_visualc.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7586 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-03 20:10:13 +00:00
Ian MacArthur
ac33758e07 Fix compile time warnings for params to fprintf that are no longer used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-03 20:06:22 +00:00
Matthias Melcher
08d62246af New VisualC6 setup, hoping that it will load on VC2008 and VC2010.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-02 20:55:20 +00:00
Ian MacArthur
c2c054c595 Utterly trivial fix to typo in visual C project generation comments...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-02 08:56:48 +00:00
Greg Ercolano
4fd11eba88 Changed references to fltk-bugs@fltk.org -> STR form.
Todo: LGPL license file references (COPYING, license.dox, etc)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 03:15:47 +00:00
Matthias Melcher
30d00ceb07 Fludi IDE: now supporting header files for OS X. If those are included for a library, the resulting framework will receive a copy of the headers, allowing Xcode to simply include the file into any new project. frameworks must be installed in /Library?Frameworks to be found automatically. A little more fixing is required.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:17:44 +00:00
Matthias Melcher
a9f8b70019 Fixed Copyright.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 13:37:13 +00:00
Matthias Melcher
8a2049d64c Fluid: IDE. Removed some redundant code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 12:28:46 +00:00
Matthias Melcher
8cbb278769 Removed commented out fields.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 15:21:35 +00:00
Matthias Melcher
9100fc0b51 Solved MSWin type conflict UUID
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 15:15:03 +00:00
Albrecht Schlosser
9604b556b8 Updating dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 10:24:32 +00:00
Ian MacArthur
1fb3b9ff4b Work around a typedef in ide_support.h that breaks win32 builds.
Does not appear to be used anyway, so nothing is lost be excising it.

NOTE: The dependency files are not up to date for fluid with the latest modifications, so changes to the headers are not triggering a recompile of the source files when they ought to.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 09:55:43 +00:00