Paul Davis
2b65a6dbe0
gtkmm2ext: use default window position in gtkmm2ext
2025-11-18 13:33:58 -07:00
Paul Davis
9d25f83e21
move UIConfigurationBase from libs/widgets to libs/gtkmm2ext
2025-11-18 13:08:45 -07:00
Paul Davis
e994a5665d
add CapsLock modifier to Gtkmm2ext::Keyboard
2025-11-06 09:19:20 -07:00
Robin Gareus
39ca1efe0f
Produce valid HTML when printing bindings
...
* fix HTML </br> -> <br/>
* add a doctype (render in normal mode, not quiksmode)
* add CSS to match prior display from quicksmode
* add pagebreak before action-list
2025-09-25 21:37:01 +02:00
Paul Davis
b65a70e580
fix thinko-delete in 9f4d84dcb4 that broke step entry (and maybe other things too)
2025-09-14 13:49:26 -06:00
Paul Davis
0dab69fe74
check for null ActionGroup in ActionManager::drop_action_group()
2025-08-20 14:54:07 -06:00
Robin Gareus
a83c83aef6
Overhaul persistent tooltip position #9979
...
* directly show at correct position
* honor multi-monitor boundaries
* hide on focus-out (e.g. switch desktops with visible
tooltip left it visible)
* remove unused `set_center_alignment` API
2025-08-17 02:55:25 +02:00
Paul Davis
458c54990b
gtkmm2ext: change action registration functions to return ToggleAction or RadioAction
2025-07-29 18:16:35 -06:00
Robin Gareus
99c1f50a72
Really remove gtk+ option (see also 1e28ee9cc9)
...
After patching gtk/ytk to add touch support and macOS rendering,
upstream gtk+2 is no longer an option
2025-07-06 15:20:20 +02:00
Paul Davis
5223cbdc18
add new NSApplicationDelegate method to deal with warning on macOS Sonoma
2025-06-12 12:09:11 -06:00
Robin Gareus
c02a7668d7
Tweaks rounded corners
2025-06-10 21:18:36 +02:00
Ben Loftis
8272c33fb8
Expose gtkmm rounded_functions for rounded_bottom_left/right
2025-06-10 21:18:36 +02:00
Paul Davis
742f654fa4
StringCompletion: allow case-folded matching
2025-06-10 12:28:33 -06:00
Paul Davis
4eb9285659
allow StringCompletion to match anywhere
2025-06-08 09:14:33 -06:00
John Emmas
23c7d564e2
The new class 'StringCompletion' needs to be visible outside of gtkmm2ext
2025-06-08 11:51:43 +01:00
Paul Davis
dbe7288dc4
new Gtkmm2ext helper class for string completions on a text entry
2025-06-07 21:10:30 -06:00
Paul Davis
623df55653
make DEBUG_THREADED_SIGNALS use a little more efficient at runtime
2025-04-14 10:15:03 -06:00
Robin Gareus
8dd89616e1
Fix EmScale initialization, pixel-sizes are unsigned int
2025-04-03 03:15:29 +02:00
Paul Davis
1a95595e3d
remove more debug output
2025-04-02 09:08:11 -06:00
Paul Davis
e927b34391
remove debug output
2025-04-02 08:31:18 -06:00
Paul Davis
87ed40a855
design to handle "cloned" bindings/actions
2025-04-01 14:55:32 -06:00
Paul Davis
1911899d15
remove last of the remnants of "ardour-bindings" strings (library edition)
2025-03-19 20:19:24 -06:00
Paul Davis
b403f7b8ed
fix typo in a DEBUG_TRACE message
2025-03-12 21:10:24 -06:00
Paul Davis
90d5c82886
do not run ::associate() for bindings used as templates
...
This needs a better solution than this hack
2025-03-12 17:58:35 -06:00
Paul Davis
bfa39cd57a
change the renaming process in Bindings::relativize()
...
We used to strip the group name from an action name, then prepend the
Bindings object name.
Now we simply prepend the Bindings object name.
So if the named action was Zoom/temporal-zoom-in it becomes, for example,
MidiCueEditorZoom/temporal-zoom-in
2025-03-12 17:58:35 -06:00
John Emmas
a4ee85c4a1
Some new gtkmm2ext functions need to be visible outside of gtkmm2ext
2025-03-12 11:10:47 +00:00
Paul Davis
7d1886b22d
provide a copy-constructor for Gtkmm2ext::Bindings
...
This copies all the binding information for an existing Bindings object,
but then mutates all the action names from foo/bar to name/bar where name
is the given name for the new Bindings object.
2025-03-11 13:45:29 -06:00
Paul Davis
effe0bd879
use Gtkmm2ext::BindingSet inside libgtkmm2ext
2025-03-10 18:48:49 -06:00
Paul Davis
9472ca1a14
introduce API to set widget bindings as a vector of Bindings
2025-03-10 13:02:25 -06:00
Robin Gareus
000c25edcc
Update gtkmm -> ytkmm header location (omnibus commit)
2025-02-01 15:25:14 +01:00
Robin Gareus
233fc890de
Update gdkmm -> ydkmm header location (omnibus commit)
2025-02-01 15:01:52 +01:00
Robin Gareus
f1e0f4b1ea
Update gtk -> ytk header location (omnibus commit)
2025-02-01 13:53:21 +01:00
Robin Gareus
07866caf1e
Update gdk -> ydk header location (omnibus commit)
2025-02-01 13:37:48 +01:00
Paul Davis
146df0306c
provide new API for Gtkmm2ext to allow ActionGroup cleanup
2025-01-28 13:29:40 -07:00
Robin Gareus
4866baacf5
Release NSGLView, fixes heap-use-after-free
2024-12-06 18:52:04 +01:00
Robin Gareus
4a966d5015
DndVBox: implement drag-refuse and drag move action
2024-11-19 17:36:53 +01:00
Juan Vardy
f2fc5fc0dc
Update Spanish translation
2024-11-07 17:51:11 +01:00
Mads Kiilerich
3228a61e62
wscript: the i18n worker functions do not define the i18n waf commands
...
Rename the worker functions to make it clear that their name in this
case isn't magic. These functions "are not" the waf commands. It is the
custom build context class definitions that define the i18n commands ...
which will invoke these top level worker functions which in turn invoke
the others recursively.
The bare printing of the build environment in the top level i18n command
seems to be old debug code that safely can be removed.
2024-10-20 19:52:14 -06:00
Mads Kiilerich
b4ff4f356c
Make header files more self-contained - add missing Ardour and lib includes
2024-10-20 03:30:46 +02:00
Mads Kiilerich
140670541f
Use .inc.h for #include files that not are plain headers
...
Regular .h files *should* be self-contained and independent of previous
includes and guarded to only include once. Make it clear which files
that *doesn't* apply for at all.
2024-10-20 03:11:53 +02:00
Robin Gareus
74c4ca3e52
Reduce reliance on boost - the hard part
...
the rest from `tools/convert_boost.sh`.
* replace boost::function, boost::bind with std::function and std::bind.
This required some manual fixes, notably std::placeholders,
some static_casts<>, and boost::function::clear -> = {}.
2024-10-19 03:47:21 +02:00
Robin Gareus
2d7cce44f1
Replace PBD::Signals (1/2)
2024-10-18 20:41:08 +02:00
Paul Davis
75f56cd3e1
the great onceification (libs)
...
Replace use of #ifndef header guards with #pragma once
Modern C++, baby!
2024-10-17 07:44:31 -06:00
Paul Davis
a61f49ad4f
show Bindings _name in DEBUG_TRACE output
2024-10-17 07:44:31 -06:00
Paul Davis
e7731f2e89
add -D actions to gtkmm2ext
2024-10-17 07:44:30 -06:00
Paul Davis
009a0e6ffb
stacktraces to help track down missing actions
2024-10-17 07:44:30 -06:00
Paul Davis
e3205bded0
do something to make MIDI bindings accessible in any EditingContext
2024-10-17 07:44:29 -06:00
Paul Davis
1737b48aec
Revert "try to add some debugging for macOS modal/menu handling"
...
This reverts commit c5751db473 .
2024-09-10 16:34:16 -06:00
Paul Davis
bf6ce27b03
Revert "try to fix up previous commit"
...
This reverts commit 04305774cc .
2024-09-10 16:34:03 -06:00
Paul Davis
04305774cc
try to fix up previous commit
2024-09-10 13:48:59 -06:00