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
Paul Davis
c5751db473
try to add some debugging for macOS modal/menu handling
2024-09-10 13:09:13 -06:00
Robin Gareus
267cddfb05
Fix stuck insensitive macOS main menu
...
Popup Dialog Windows never unset the modal flag.
e.g. Session > Save Snapshot & switch.
Furthermore a 2nd dialog was able to get the menu stuck
forever (e.g. Snapshot & Switch .. -> Replace existing?
2024-09-05 18:27:44 +02:00
Paul Davis
6de2d8f5c4
macOS: prevent the Quit main menu item from interferring with modal rules
2024-08-19 15:15:45 -06:00
Paul Davis
d455f06f51
fix trailing whitespace
2024-08-19 15:15:45 -06:00
Paul Davis
9e9164f0d0
remove unnecessary header include
2024-08-19 15:15:45 -06:00
Paul Davis
51d95c189f
use NSMenuValidation informal protocol to desensitize app menu items
2024-08-19 15:15:45 -06:00
Paul Davis
ce6a2d73d8
use new GDK modal notification to (try to) desensitize global app menu items
2024-08-19 15:15:45 -06:00
Paul Davis
83984a7884
emit a new signal when a ProcessorElement is added to the selection inside a DnDVBox<ProcessorEntry>
2024-07-29 10:19:52 -06:00
Paul Davis
941bc3a4f2
NO-OP: braces, please!
2024-07-29 10:19:52 -06:00
Mads Kiilerich
f063bfef03
format: Improve header robustness against #include reordering
2024-07-23 17:03:56 +02:00
Robin Gareus
03689d8070
Remove/fix unused namespace [forward] declarations (2/x)
2024-05-26 16:46:39 +02:00
Paul Davis
81d1724931
NO-OP: add clarifying comment
2024-05-05 15:01:54 -06:00
Paul Davis
46fa056da6
add unrounded rectangle methods to Gtkmm2ext for use in truly boxy buttons
2024-04-25 13:03:52 -06:00
Robin Gareus
f3823e8d7c
Fix redeclaration of DnDVbox
2024-04-23 21:51:55 +02:00
Robin Gareus
f5789852de
Fix sensitivity of macOS global menu at application start
...
Various actions are set as insensitive during editor c'tor.
When the macOS global menu is created those were marker as
sensitive, while GTK's internal state (private_data->sensitive)
was set to false. This lead to to inconsistencies.
2024-02-16 16:20:02 +01:00