Matthias Melcher
d9b519f969
Infinite undo: fix compiler warning
2023-02-10 17:21:47 +01:00
Matthias Melcher
7f87c847ba
Unlimited undo/redo for Fl_Input_ and Fl_Text_Buffer ( #558 ) ( #676 )
2023-02-10 17:13:20 +01:00
Matthias Melcher
72f8604381
Don't for a box type for pulldowns ( #675 )
2023-02-10 16:58:33 +01:00
Albrecht Schlosser
d7f21d9568
Remove dead code and comments (Windows only)
...
Most of the old code was a leftover of STR 3454 (which fixed winsock
issues).
Also removed an old comment about usage of Windows WSAAsyncSelect()
and why it had been removed (related to Windows socket functions).
2023-02-10 13:31:07 +01:00
Albrecht Schlosser
2239ecc4a1
Fix typos in documentation and comments
...
(no code changes)
2023-02-10 13:13:36 +01:00
Matthias Melcher
ffadc23cab
Expose elapsed time API ( #670 )
2023-02-09 14:48:39 +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
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
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
589c1f31c3
Improve doc of Fl_Widget::test_shortcut() methods
...
This removes a \todo item.
2023-02-05 11:45:23 +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
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
86a0a28815
Fix comments and remove a 'todo' item from docs
...
Comments and docs only, no code changes.
2023-01-28 16:09:54 +01:00
ManoloFLTK
d604c37c90
Fix for [fltk.coredev] native file chooser crash
2023-01-27 08:35:38 +01:00
Matthias Melcher
e2028c66fe
STR 2936: FLUID: option to ignore syntax check in DeclBlock
2023-01-26 16:32:17 +01:00
ManoloFLTK
1581662d00
Simpler Fl_Wayland_Gl_Window_Driver::resize() is enough
2023-01-26 16:04:06 +01:00
Matthias Melcher
179771acd2
Fixing FLUID file corruption from issue #653 ( #662 )
...
Removing all globals in file writer (#653 )
Fix some static analyser complaints
Valgrind: handle width==0 in GfxDrivers on Wayland and X11
Don't use `Fl_Input_::static_value`, it accesses previous
buffer that may be deleted
Project file write encapsulated, removing globals
Encapsulating project file reader, removing states in glbals
Project i/o increased source code readability
2023-01-26 15:23:43 +01:00
Matthias Melcher
3a7c9fe978
STR 2639 Fixes Fl_Pack resize behaviour
...
FLUID cleanups
FLUID Fl_Pack support improvement
FLUID fix error in handling live mode resizables
2023-01-23 16:08:59 +01:00
ManoloFLTK
17467b48bd
Wayland: remove useless member variables of struct output
2023-01-23 08:11:10 +01:00
wcout
2ddfd9d949
Animated GIF support (Fl_Anim_GIF_Image class) ( #375 )
2023-01-21 17:27:58 +01:00
Matthias Melcher
2c595e8dde
STR 2822: function to count bytes in a UTF-8 string
2023-01-20 16:13:00 +01:00
Matthias Melcher
b19c0e4f63
STR 2894: pressed_menubutton_ now protected in Fl_Menu_Button
2023-01-20 15:22:21 +01:00
Matthias Melcher
4f3f2bb30b
STR 2909: Fl_Tile now forwards FL_RELEASE event to children
2023-01-20 14:04:22 +01:00
Matthias Melcher
ab5cc5866d
STR 3408: Fl_Scroll draws background inactive if needed
2023-01-20 13:51:17 +01:00
Matthias Melcher
f4620329f1
STR 3461: fix menu linespacing
2023-01-20 13:44:13 +01:00
ManoloFLTK
35b7473e70
Wayland menus: support tall popup menu + Sway support
2023-01-16 17:07:22 +01:00
ManoloFLTK
ff3906bec0
Wayland menus: support tall popup menu
2023-01-16 16:00:54 +01:00
Albrecht Schlosser
f44bdfb7cf
Fl_Chart: minor update and additional documentation
...
Add forgotten parameter docs and some minor code fixes.
2023-01-16 00:08:47 +01:00