Commit Graph

10338 Commits

Author SHA1 Message Date
Matthias Melcher
a3251b3208 FLUID: another memory leak 2023-02-09 16:48:11 +01:00
Matthias Melcher
60be3e94cc FLUID: Fix memory leak (#672) 2023-02-09 15:12:57 +01:00
Matthias Melcher
ffadc23cab
Expose elapsed time API (#670) 2023-02-09 14:48:39 +01:00
Albrecht Schlosser
880fc26857 Fix clang compiler warning
Warning was: "implicit conversion from 'int' to 'float' changes value
  from 2147483647 to 2147483648"

Not a big deal in this context, but anyway.
2023-02-07 16:17:54 +01:00
ManoloFLTK
3cbbe7be2c Remove XOR-based code that was unused and incomplete (#673) 2023-02-07 15:26:46 +01:00
ManoloFLTK
a496be9178 Fix "\todo TextDPosToLineAndCol does not exist" 2023-02-07 15:00:03 +01:00
ManoloFLTK
afb44149d9 Fix "\todo TextDEndOfLine and BufEndOfLine functions don't exist" 2023-02-07 14:32:26 +01:00
ManoloFLTK
7a8771d3c4 macOS+XQuartz: support new homebrew name for GTK2 shared lib 2023-02-07 12:47:42 +01:00
ManoloFLTK
18597e4f6c Avoid "#undef __APPLE__" preprocessor directive 2023-02-07 07:17:23 +01:00
Albrecht Schlosser
9f8b65a70e Document MSVC macro _MSVC_LANG for future use in fl_attr.h
This macro defines the C++ standard used by the compiler since
Visual Studio 2015 Update 3.
2023-02-06 23:03:45 +01:00
ManoloFLTK
160eb2926d Remove usage of __APPLE_QUARTZ__ (#673) 2023-02-06 21:42:40 +01:00
ManoloFLTK
f1b2e92f07 Use fl_utf_strcasecmp() for Unicode-aware case-insensitive comparisons 2023-02-06 18:48:43 +01:00
ManoloFLTK
18c363a0d9 Use fl_tolower() for case-insensitive Unicode-aware comparisons 2023-02-06 18:48:43 +01:00
ManoloFLTK
55cb8081c7 Don't assume strcasecmp() is a function because of Visual studio C 2023-02-06 16:30:56 +01:00
ManoloFLTK
d4251d8b73 Fix "\todo Description of box types is incomplete" from Enumerations.H 2023-02-06 16:15:22 +01:00
ManoloFLTK
e0b45688a7 Add necessary #include "flstring.h" 2023-02-06 16:15:22 +01:00
ManoloFLTK
dc51880e28 Fix "\todo Add a flag to ignore case" from Fl_Browser_.cxx 2023-02-06 15:26:53 +01:00
ManoloFLTK
587687629e Fix "\todo Make comparison UTF-8 aware" in numericsort.c 2023-02-06 13:17:24 +01:00
ManoloFLTK
57a87f7053 Fix "\todo provide user documentation for fl_set_status function" 2023-02-06 11:17:31 +01:00
ManoloFLTK
a56c48079e Fix "\todo Complete documentation of class Fl_String"
Also
- fix "\todo Unicode?" in Fl_Text_Display::display_insert() after verification
- fix "\todo [Internal] The user_data value must be implemented using \p fl_intptr_t"
because that's now in place.
2023-02-06 10:34:47 +01:00
ManoloFLTK
7f4a14e376 Fix "\todo FL_Button and FL_key... constants could be structured better" 2023-02-06 10:31:14 +01:00
ManoloFLTK
9f55e93ffa Use correct Doxygen syntax for "member groups" 2023-02-06 09:04:50 +01:00
Albrecht Schlosser
fdc614ea25 Fix examples/.gitignore (add missing files) 2023-02-05 19:52:53 +01:00
Albrecht Schlosser
f04f8fb1a2 Give fluid and fltk-options their own .gitignore files
Move git exclusions from the main .gitignore file to the respective
directories to simplify the main file.

Note to devs: some file types are ignored "everywhere" (e.g. *.exe),
there's no need to add these files to the subdirs.
2023-02-05 19:41:19 +01:00
ManoloFLTK
515680a633 Remove a bunch of \todo items from documentation 2023-02-05 16:07:14 +01:00
ManoloFLTK
589c1f31c3 Improve doc of Fl_Widget::test_shortcut() methods
This removes a \todo item.
2023-02-05 11:45:23 +01:00
ManoloFLTK
b4b7166b85 Better document Fl_Window::show(int, char**)
This removes one \todo.
2023-02-05 09:37:48 +01:00
Matthias Melcher
62331e4a38 FLUID: resizable Command dialogs 2023-02-05 00:35:31 +01:00
Matthias Melcher
fa9915e1e3 Doxygen fix for FL_DEPRECATED 2023-02-05 00:22:08 +01:00
Albrecht Schlosser
130a1c21a7 Fix deprecated warnings in examples/table* demo programs
Also: adjust comments, update copyright year
2023-02-04 19:21:53 +01:00
ManoloFLTK
782fa4e5c8 Improve documentation of the Fl_Cursor enumeration 2023-02-04 12:49:13 +01:00
Matthias Melcher
8178d005de Missing include for FL_DEPRECATED 2023-02-02 23:13:40 +01:00
Matthias Melcher
1aa6c4fed8
Fix position() methods that shadow Fl_Widget::position()
* `FL_DEPRECATED` macro to mark `position()` method that shadow `Fl_Widget::position()` #69 (#666)
2023-02-02 20:54:19 +01:00
Matthias Melcher
59d3b2e9fd
FLUID: Unicode support in ExternalCodeEditor_WIN32.cxx (#453) 2023-02-02 20:37:26 +01:00
Albrecht Schlosser
796ff44268 Fix documentation of FL/Fl_Box.H 2023-02-02 19:14:14 +01:00
Albrecht Schlosser
32b6c04bcf Documentation: clarify header inclusion requirements
Since FLTK 1.4.0 inclusion of FL/Fl.H is no longer a requirement
unless class Fl is used (e.g. Fl::run()) or if it is used to include
other headers like FL/Enumerations.H
2023-02-02 19:05:43 +01:00
ManoloFLTK
6276822e9e Allow cmake -DOPTION_APPLE_X11=On without -U__APPLE__ 2023-02-02 18:48:24 +01:00
Albrecht Schlosser
4e75549e7b Update dependencies and fix whitespace errors
- replace tabs with spaces
- remove trailing whitespace
2023-02-02 17:09:14 +01:00
Albrecht Schlosser
fb00fb3d66 Minimize and fix include statements of Fl_Int_Vector
- replace <FL/Fl.H> with <FL/Fl_Export.H> in public header
- add missing <string.h> in implementation
2023-02-02 17:00:28 +01:00
ManoloFLTK
16dff07994 Fix "Native file chooser on Linux fails with BROWSE_MULTI_FILE" (#669) 2023-02-02 15:20:55 +01:00
ManoloFLTK
ddc213d91c Add preliminary support of Wayland under macOS
Wayland under macOS is WIP at
  https://github.com/owl-compositor/owl
2023-02-02 14:39:11 +01:00
ManoloFLTK
96fd8a5f7a Wayland: use fl_wl_find() instead of fl_find() 2023-02-01 09:30:09 +01:00
ManoloFLTK
94c918a1ae Fix miscellaneous #include directives 2023-01-31 18:22:04 +01:00
ManoloFLTK
eaaf5ba90c Fix crash in Zenity filechooser with badly formed filter (#665) 2023-01-31 17:37:20 +01:00
ManoloFLTK
8ef592db1e Fix crash in Zenity filechooser with badly formed filter (#665) 2023-01-31 17:01:30 +01:00
ManoloFLTK
f75f05e7b7 Fix crash in Zenity filechooser with badly formed filter (#665) 2023-01-31 15:37:33 +01:00
ManoloFLTK
9bf2726bce Fix "Native Filechooser (Zenity) crashes on second invocation" (#665) 2023-01-31 13:13:48 +01:00
ManoloFLTK
1045538ed0 Fix launching of unbundled app from /tmp 2023-01-30 20:08:18 +01:00
ManoloFLTK
95f926fd01 Document that Fl::add_fd() opens display under macOS 2023-01-30 07:39:20 +01:00
Albrecht Schlosser
c798581e4e Cairo: Remove compiler warning and improve formatting
... for better readability and CMP compliance.
No functionality changes.
2023-01-29 15:18:12 +01:00