YQ-YSY
12a411a002
Chinese translation Ardour for 6.6 libs_gtkmm2ext_po
...
Chinese translation Ardour for 6.6 libs_gtkmm2ext_po
2021-02-12 09:47:29 -07:00
YQ-YSY
a4347812d1
Ardour 6.6 Chinese translation for libs_gtkmm2ext_po
...
Ardour 6.6 Chinese translation for libs_gtkmm2ext_po
2021-02-12 09:47:29 -07:00
John Emmas
42aef22e17
Add/remove source(s) in our MSVC project (gtkmm2ext)
2021-01-28 10:50:27 +00:00
6636bba6ae
Add missing file (amend 70ad205bc1
)
2021-01-27 04:42:38 +01:00
70ad205bc1
Separate static widget theme into abstract class
...
This allow the style to be used in classed that are not
directly derived from Ardour's CairoWidget, notably
container widgets or plugin UIs.
2021-01-26 23:37:54 +01:00
Porrumentzio
a8d924d9e1
Update and rework Basque translation
2020-11-19 16:48:58 +01:00
e4e94e77c9
Transmitter::Debug implementation 1/2
...
This also sorts switch() and listen_to() statements in order
of severity: debug, info, warning, error, fatal, throw.
2020-10-13 21:58:26 +02:00
Vincenzo Reale
2379b2a5cf
Italian translation update
2020-07-06 20:28:02 +02:00
85034d0bca
Pass through DnDTV signal_drag_motion event
2020-06-25 02:24:02 +02:00
Porrumentzio
2ca1f55d6b
Updated and reworked Basque translation
2020-06-23 22:09:07 +02:00
Vincenzo Reale
c87edcbf04
Adding appdata and gtkmm2ext Italian translations
2020-06-09 17:44:15 +02:00
61ce687017
add text to TRANSLATORS file explaining how contextual translation msgids work and should be translated
2020-05-20 14:40:10 -06:00
160251f962
fix up context-providing translations for libs/gtkmm2ext
...
Translators: if the msgid looks like foo|bar then in general the foo is just
there to provide context to clarify the potentially ambiguous nature of bar.
The translated form should not contain the foo or the |
2020-05-20 14:35:33 -06:00
7ac9c7e88a
fix mask used to extract keycode from KeyboardKey object
...
Previous 16 bit mask would do the wrong thing if the keycode was > 65536,
which is not often true but is certainly a valid value (and seen on some
platforms)
2020-05-18 13:33:54 -06:00
YQ-YSY
7eac2ed602
New Chinese translation for Ardour 6.0 libs_gtkmm2ext_po
2020-05-17 14:21:54 +02:00
58e5c0cfea
Czech translation update from Pavel Frich
2020-05-15 18:41:08 -06:00
Porrumentzio
319a7a8bab
All complete. Needs revision using the program 2
2020-05-15 16:10:22 -06:00
Porrumentzio
16ca782000
All complete. Needs revision using the program.
2020-05-15 16:10:22 -06:00
Porrumentzio
cdec486cff
gtk2_ardour eu.po (15%) and libs/ardour eu.po modified
2020-05-15 16:10:22 -06:00
Porrumentzio
aae16c0c07
First basque translation, non complete
2020-05-15 16:10:22 -06:00
ab6e274613
Ignore idempotent set_name() calls
...
These calls are expensive, particularly for ArdourButton, that
triggers a re-layout.
2020-05-12 15:37:23 +02:00
b258ad792e
force provision of "menu-name" for all WindowProxy objects, and thus Tabbables
...
Actions for hide/show/attach/detach tabbables use hard-coded names which are not
translated. Using Tabbable/WindowProxy::name() to lookup the action will fail,
since the name can be translated. This changes just removes the option to not
provide a menu-name when creating these objects, and uses the name menu-name
when looking up an action by name
2020-05-01 14:33:47 -06:00
106315071a
update other .po files
2020-04-30 13:03:46 -06:00
b95cd280f1
use PROGRAM_NAME to name GUI thread
2020-04-30 11:03:49 -06:00
68cb914959
Set Arodur's main thread name to include "Ardour"
...
This is helpful when debugging by PID (adevices.sh most notably),
just "gui" is not usually helpful.
2020-04-30 18:24:22 +02:00
Nils Philippsen
696096fcbd
Revise German translation
...
- add missing translations
- largely follow original message regarding punctuation, capitalization
at the beginning of sentences, trailing white space
- fix typos and other obvious mistakes
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2020-04-20 19:14:37 +02:00
498a58bd25
Fix restoring window visibility (Windows/Mac) #7976
2020-04-19 19:01:19 +02:00
Julien '_FrnchFrgg_' RIVAUD
5766cf24aa
Update French po files from code
2020-04-18 11:22:07 +02:00
ffd9aa2fc9
if the action associated with a binding is insensitive, do not activate it, and return false from Bindings::activate()
...
This allows "stacking" of bindings by desensitizing the actions associated with a "lower" level
of bindings at certain times (e.g. MIDI editing bindings thare are sensitized in the appropriate
editing modes
2020-04-16 17:48:12 -06:00
Edgar Aichinger
5fbce4b5db
Update German translation
2020-04-16 21:08:24 +02:00
eb06e67628
Update french translation #8016
2020-04-16 21:06:06 +02:00
5a0e0a41e2
update all *.po files
2020-04-12 09:00:32 -06:00
2084a39168
some tweaks to Bindings API to allow ::is_bound() to indicate the action path for an existing binding
...
Plus some minor comment additions and cleanups
2020-04-12 08:57:59 -06:00
920a77f6af
add debug trace to code that actually saves bindings to disk
2020-04-12 08:57:59 -06:00
bfe65ea1e4
improve understanding by using an actions label, not its path, in the bindings collision dialog
2020-04-12 08:57:59 -06:00
163a065543
Fix gcc-4.2/PPC builds
...
Old STL has an issue with ambiguity
reverse_iterator rend();
const_reverse_iterator rend() const;
2020-04-02 03:43:29 +02:00
5253c7eb8b
Tweak error-dump (when session load fails)
...
When limiting the message count (e.g. for display in a dialog),
use reverse order, and only print errors.
When loading a session fails, the most recent error is
more likely the real cause.
2020-03-31 18:58:12 +02:00
2f0914c730
Allow to disable use of NSGLView
...
On recent Mac systems (Catalina) OpenGL is slower compared to
directly using GTK's NSView. Furthermore when compiled on
Catalina, and running on a system with a Retina screen, the initial
size of the canvas may be wrong:
libs/gtkmm2ext/nsglview.mm:175:1: warning: method possibly
missing a [super reshape] call [-Wobjc-missing-super-calls]
This is not an issue when running versions compiled on older systems.
2020-03-24 14:24:14 +01:00
9e2b896516
Replace strftime() with Glib::DateTime()
...
This is mainly for windows compatibility "%F" is not supported.
An alternative would be to s/%F/%Y-%m-%d/ to produce the ISO date.
2020-03-08 23:31:51 +01:00
fa0a7d6739
Allow to limit error dump
...
This is in preparation of displaying verbose errors to the user.
2020-02-28 07:26:13 +01:00
06b2eb1c27
Explicitly use OSX
...
Previously this was inherited via PBD.
On MacOS/X, this adds
"-undefined dynamic_lookup -flat_namespace"
and various "-framework .." options to linkflags
Without this flag, .dylibs fail to link usually because
of missing `-lintl` (Undefined symbols: "_libintl_dgettext")
On other systems this is a NO-OP:
CFLAGS_OSX, CXXFLAGS_OSX and LINKFLAGS_OSX
are only set on the darwin platform.
2020-01-25 04:07:41 +01:00
61e53e303b
Fix ISO compliance
2020-01-18 19:09:36 +01:00
d7801ab7ee
Add timestamp to log -- #7877
...
This adds the time when a log message is displayed.
ARDOUR_UI::display_message() parses the prefix,
so the timestamp cannot be prefixed in the beforehand.
Still, UI::process_error_message() is called directly in
the same thread, so this makes no significant difference.
2020-01-18 18:18:05 +01:00
563a8b15e0
Revert to use an image surface for CairoWidgets
...
This partially reverts 2edbda2526
and is a follow up to 0b266a54f
,
to fix performance issues with MS Windows graphics performance.
2020-01-08 04:24:51 +01:00
2edbda2526
Replace explicit image-surface with cairo pattern/group
...
For MacOS/X this is equivalent, rendering happens using a
CGBitmapContext + image-surface. Windows and Linux needs profiling
for respective equivalent surfaces.
2019-12-27 19:35:02 +01:00
c3ab63a2ea
Allow for per-widget image-surface backing
...
This is an intermediate commit, before replacing image surfaces with
cairo pattern groups.
The eventual goal is to reduce flickering and/or use
CPU + bitblt for specific widgets instead of cairo
graphics-cards accel.
This also removes excessive calls to getenv() for every rendering
operation.
2019-12-27 19:34:56 +01:00
6f4e838a58
add a signal to Gtkmm2ext::Keyboard to allow (possible) handling of close-current-dialog
2019-11-06 16:25:30 -07:00
3cae11936f
Highlight the currently selected item in ArdourDropdown & co
2019-10-31 14:38:26 +01:00
016db85fa1
Workaround a GTKMenu bug in ArdourDropdown & co.
2019-10-31 14:21:57 +01:00
07458155a2
Work around an initialization bug of GTK menus
2019-10-31 11:34:36 +01:00
eaba4fa593
Update |offset| instead of changing the formula
...
So that the test to see if it fits also takes the new offset into
account.
2019-10-31 10:42:37 +01:00
fb9203998b
Align vertical centers of widget and active menuitem
2019-10-31 10:29:43 +01:00
7d48b20652
Fix a thinko in x position of menu popups
...
This has lasted without being noticed because menus that big are not
common.
2019-10-31 10:29:43 +01:00
5e4d641488
NO-OP: whitespace
2019-10-31 00:22:26 +01:00
98db30efb1
Declare helper function static (don't export)
2019-10-31 00:22:12 +01:00
3a16b89219
Try harder to put the active item under the mouse (ArdourDropdown)
2019-10-30 23:56:36 +01:00
dd29e9b0e9
remove unnecessary template methods (replicated in libs/gtkmm2ext/doi.h
2019-10-10 16:52:00 -06:00
5ec5bc4523
goodbye USE_TRACKS_CODE_FEATURES and is_tracks_build
2019-09-25 12:16:13 -06:00
e0d5c1426c
NO-OP: fix some Wimplicit-fallthrough
...
gcc can recognize various regexps in comments. Since C++17 provides
[[fallthrough]], using /* fallthrough */ consistently seems
appropriate until we switch to C++17.
see also https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
2019-09-18 17:37:54 +02:00
cec5ce8f45
Update canvas/UI lib GPL boilerplate and (C) from git log
2019-08-03 15:53:17 +02:00
e76e18af96
Use exit-status macros for compatibility 2/3
2019-07-04 22:21:35 +02:00
2fcd19581a
Add/remove source(s) in our MSVC project (gtkmm2ext)
2019-04-21 19:21:17 +01:00
Johannes Mueller
822f55f4af
Provide ActionModel::build_custom_action_combo() for Control Protcols
...
to consolidate code that's identical in several control protocols.
2019-04-20 22:12:52 +02:00
Johannes Mueller
de876acc8b
Provide a function to fill a Gtk::ComboBox with all available actions
2019-04-20 15:25:32 +02:00
Johannes Mueller
b141d17274
Provide an API to get all available actions by one singleton class
...
The singleton ActionModel provides a Gtk::Treestore of all actions known to
ardour.
To be used for example by surface control editors to implement action bindings.
2019-04-20 15:25:32 +02:00
2a8bda01b1
NO-OP: whitespace
2019-04-11 02:32:45 +02:00
01024e2b4c
Add API to render a reflection
...
This is to be used sparingly because the pattern is dynamically
created every time. Mainly for the benefit of some Mixbus
widgets -- compared to ArdourButton::convex_pattern
2019-04-11 02:06:32 +02:00
df29e57cb4
ActionManager::get_all_actions() no longer includes <Actions> in the paths it returns, part 1
2019-03-20 11:15:22 -07:00
ed97a290db
make ::ardour_action_name() private to Bindings, because nothing else uses it and it semi-exposes the <Actions> nonsense
2019-03-20 11:12:06 -07:00
957393c435
Compiler fix for 201110.
2019-03-19 11:24:26 -05:00
21110444c1
use a new unhandled (thus far) exception rather than ::abort() when an action is undefined
2019-03-19 08:29:30 -07:00
4d695eaf51
Work-around crash when printing bindings
...
(ardour -b or Keyboard-Shortcuts > Print Bindings)
see also https://github.com/Ardour/ardour/pull/447
2019-03-09 21:59:16 +01:00
7ea51298da
NO-OP: whitespace
2019-02-28 23:57:44 +01:00
fc7dc6a214
Abort when Action cast failed
...
Previously the action-manager only called ::abort() when
an action could no be found. This add a further restriction
that the expected class must match.
2019-02-28 23:57:32 +01:00
c83ba53399
Remove ancient, unmaintained xcode project files
2019-02-28 18:12:44 +01:00
e5ae620c0b
adjust debug/trace output for key bindings
2019-01-13 12:00:31 -06:00
f974ff594a
additional API to make it nicer to get an existing action group
2019-01-13 11:59:18 -06:00
58db958839
Fix crash for external windows
...
eg. LV2 externalUI windows are not managed by ardour; Ardour cannot
intercept mapped() or delete_event() signals and hence also not
create a visibility-tracker.
First call to WindowProxy::toggle() creates the window, and the 2nd call
crashed since 6ca8ec5141
, due to missing vistracker.
e.g. externalUI plugin windows, the processor-box uses WindowProxy
for all plugin-UIs incl. externalUIs.
2018-12-20 19:41:57 +01:00
758d0ca263
replace ::cast_dynamic() with relevant ActionManager::get_*_action() calls
2018-12-12 10:08:01 -05:00
e1b7a43139
add ActionManager::get_actions() to fetch all actions created in ActionGroups with a given "owner" value
2018-12-11 05:05:09 -05:00
1de181479f
add basic concept of an "owner" for an action group, to allow later grouping
2018-12-10 18:40:31 -05:00
ab61c6837f
add ActionManager::set_sensitive() for Gtk::ActionGroup
2018-12-10 18:40:00 -05:00
d1d8fd197d
change ActionManager::find_action() back to ActionManager::get_action()
...
This avoids dozens or hundreds of unnecessary changes in gtk2_ardour code
2018-12-10 08:34:01 -05:00
ad002d0de0
consolidate ActionMap and ActionManager APIs into a single namespace
2018-12-10 08:34:01 -05:00
39c253c590
provide (Static)ActionMapOwner::action_map()
2018-12-10 08:34:00 -05:00
9004a0df7a
Properly keep track of Window Visibility, action state
...
This fixes inconsistent WM::Proxy state when a window is destroyed
Specifically "session-options-editor" when the session is unloaded;
previously "toggle-session-options-editor" was never unset.
2018-12-08 22:38:03 +01:00
dd4c788d3e
add syntactic sugar for fetching toggle and radio actions
2018-12-06 22:12:34 -05:00
eb48c14ec4
some ActionMap infrastructure to start removing ActionManager
2018-12-05 17:33:05 -05:00
4d7e9d5706
add new variant of ActionMap::find_action()
...
This is more useful when replacing ActionManager::get_action
2018-12-05 17:33:05 -05:00
fc24b9f0b7
Fix uninitialized variable
2018-11-29 02:10:08 +01:00
a22a501537
NO-OP: whitespace
2018-11-29 02:07:29 +01:00
7c3fd2fe79
Glib throws a const FileError exception
2018-10-26 13:40:03 +02:00
8ed33f1bc7
remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead
2018-10-14 22:06:11 -04:00
b27a8169d2
Ignore small (or negative) radii.
...
Some calls use e.g. (corner_radius - 1.5). With small radii or boxy
layout the radius can become negative.
2018-10-09 19:31:01 +02:00
b32b9ceb58
Constant radian/degree factor
2018-10-09 19:31:01 +02:00
e01582dd9a
Prepare a boxy, no round borders, button-style
2018-10-02 21:28:49 +02:00
cf652331ad
Adapt our remaining MSVC projects for 'boost::atomic' (in case it later gets extended to the other libs)
...
Stage 3 of 3
2018-09-30 09:19:28 +01:00
6ca8ec5141
remove debug output
2018-09-23 13:48:19 -04:00
12d5eb9a34
remove debug output
2018-09-23 13:48:19 -04:00
d48dd0ccd5
defer creating a visibility tracker for a window until the window is mapped
...
Without this, the visibility tracker will report that the window is not visible at startup, and
this overrides the XML _visible property which denotes that the window should be made visible
2018-09-23 13:48:19 -04:00
497a3fbaa1
Fix --no-nls (2/5), prefer #if in libs
...
This is for consistency with system-wide gettext.h which is used
by some 3rd party libs. system-wide gettext uses `#if ENABLE_NLS`,
not #ifdef
2018-09-21 19:03:33 +02:00
79f01bc889
Initial changes needed for building Mixbus (with MSVC) as version 5
...
(Mixbus itself will probably need extra changes)
2018-09-10 07:14:59 +01:00
4983eb565d
Only update tooltips if there is an actual change -- #7268
...
Changing a tooltip resets the timeout. In one particular case,
while rolling, AudioClock::set() is calling set_tooltip() at a rate
faster than the tooltip timeout and prevents tooltip from showing at all
(even if there is no actual change to the tooltip text).
Alas, there is no trivial fix for this UI side and there may be other
such cases. A central check is more than practical.
2018-04-12 02:54:55 +02:00
b9c9777b9a
When building with MSVC, allow for the fact that Mixbus and Ardour can be using different versions of the SESSION_FILE format
2018-02-15 09:03:32 +00:00
6f019faaa0
Accommodate the change from libtimecode to libtemporal
2018-02-14 10:02:11 +00:00
c833b56029
Explicit encoding for bindings html.
2018-01-17 16:52:16 +01:00
Hiroki Inagaki
720ad15a45
Update Japanese translation
2017-12-22 22:19:00 +01:00
3421c6e814
NO-OP: whitespace
2017-08-18 09:42:04 -04:00
f84bebbb30
strip <Actions>/ from displayed path when printing bindings to HTML
2017-08-18 09:42:04 -04:00
bbc8c1354e
Separate set_toggleaction_state () API
...
Prepare for a method consistent with access_action():
* separate group + action names
* no action string parsing overhead.
* no fatal, abort () call for invalid actions
2017-08-09 16:29:24 +02:00
bf150f049f
MSVC changes needed to implement the new 'widgets' library
2017-07-19 08:16:30 +01:00
8c6d78c188
add required stdint.h
2017-07-17 18:15:42 -04:00
601c317d70
Clean up library inheritance (colors.h, utils.h)
...
make libwidget independent of libcanvas.
Confine basics to pbd and gtkmm2ext.
2017-07-17 21:06:04 +02:00
eb1e423b75
Remove <gtkmm.h> include from header files.
2017-07-17 21:06:04 +02:00
f9e5e4360e
Move more Gtkmm2ext widgets into libwidget
2017-07-17 21:06:04 +02:00
b5e9451bc7
Remove unused sources & includes
2017-07-17 21:06:04 +02:00
f6e182b937
Move Gtkmm2ext widgets into libwidget
2017-07-17 21:06:04 +02:00
5292a8f4ae
Allow DnDVbox to sort the selection, using original order
...
In preparation for Processors to be copy/pasted in the same order
as they appear on the strip -- not order in which they are selected.
2017-07-04 18:08:35 +02:00
3a42383975
Add binding-proxy to ClickBox
2017-07-02 22:48:39 +02:00
c4fcb12d12
Add control-focus notifications from bindable widgets.
2017-07-02 18:19:13 +02:00
496ac30c41
Accommodate newly introduced source(s) in our MSVC project (gtkmm2ext)
2017-06-29 10:11:05 +01:00
fae592e8f4
Remove ambiguity ('CheckMenuItem' conflicts with an item already existing in MSVC)
2017-06-29 10:08:32 +01:00
972e01f9c7
Add a convenience MenuHelper c'tor
...
This is pretty much Gtkmm's
* CheckMenuElem::CheckMenuElem
* MenuElem::MenuElem
except MenuItems are created with bool mnemonic = false;
2017-06-29 00:22:34 +02:00
5ddd7a58b6
Remove unused pbd/locale_guard.h header from Gtkmm2ext::Barcontroller class
2017-06-22 10:48:38 +10:00
Edgar Aichinger
278d5bdab2
update german translation
2017-05-14 15:29:27 +02:00
401eefec1c
remove cruft (unused UI::ui_scale)
2017-05-05 14:00:30 +02:00
2f37885e4b
MIDI learn on ctrl + middle-click only (not ctrl + other mods + btn2).
...
This fixes various other operations that use ctrl + btn2.
e.g. ctrl+alt+btn2 temporary all un/solo/mute.
2017-05-04 00:35:56 +02:00
410f94cf1b
Fix Editor/Mixer visibility (OSX, NSGLCanvas)
...
Only unpacking a widget retains the GdkWindow and and the widget is still
mapped. The NSView is still visible. See also 235631a6
.
2017-04-27 16:23:48 +02:00
9488cb0b69
Use XMLNode::get/set_property API in Gtkmm2ext::WindowProxy class
2017-04-19 09:36:55 +10:00
6779770fee
Use XMLNode::get/set_property API in Gtkmm2ext::Tearoff class
2017-04-19 09:36:55 +10:00
c627da0a9f
Use XMLNode::get/set_property API in Gtkmm2ext::Tabbable class
2017-04-19 09:36:55 +10:00
1f3589b122
Use XMLNode::get/set_property API in Gtkmm2ext::Keyboard class
2017-04-19 09:36:55 +10:00
ac89bfd229
Use XMLNode::set_property API in Gtkmm2ext::Bindings class
2017-04-19 09:36:54 +10:00
e31f242836
Add missing <iostream> header include
...
This will be required for subsequent commits that remove inclusion of
<iostream> from some shared headers.
2017-04-19 07:49:58 +10:00
c6747c9325
NO-OP: whitespace
2017-04-17 01:50:12 +02:00
3d0366d46b
Send unmap event when removing a widget
...
This fixes a crash when hiding an ArdourCanvas Item VCA which
is about to display a tooltip.
2017-04-17 01:46:27 +02:00
6e4eed51ca
Shortcut editor: include a raw list of the currently-available actions in the printout.
2017-03-30 11:02:06 -05:00
500033b416
Debug NSView Exposure
2017-03-21 15:53:29 +01:00
5e9492b996
consolidate NSGLView
2017-03-21 15:53:29 +01:00
d294d03670
Accommodate newly introduced sources in our build projects (gtkmm2ext)
2017-03-21 10:31:03 +00:00
4d515ad086
The new class 'Gtkmm2ext::EventBoxExt' needs to be exportable when building with MSVC
...
(previously the c'tor was private and nothing was getting exported anyway)
2017-03-21 10:28:53 +00:00
533a93daa6
match name of synthesized property (fixed i386 builds)
2017-03-21 03:46:40 +01:00
5cf95848e9
Fix gcc4 builds
2017-03-21 03:46:40 +01:00
d3e730abbf
fix OSX/PPC compilation
2017-03-21 01:58:45 +01:00
d06de26a4f
Towards a consistent render() API.
...
This fixes an -Woverloaded-virtual ambiguity introduced in b5e613d45
void render (cairo_t*, cairo_rectagle*)
void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*)
ArdourCanvas prefers cairomm and CairoWidget itself uses Cairo::Context,
this improves overall API consistency.
2017-03-20 17:12:08 +01:00
60a0b8f645
Forward un/map events to NSGLView
2017-03-20 17:12:08 +01:00
c0828792f0
NSGLView: default to hidden, add API to un/hide
2017-03-20 17:12:08 +01:00
235631a618
Add a EventBox wrapper to forward unmap events.
2017-03-20 17:12:08 +01:00
e307094af3
Allow CairoWidget to be backed by NSGLView
2017-03-20 05:19:38 +01:00
b5e613d453
Move NSGlView into libgtkmm2ext
...
This allows to re-use the concept with CairoWidget
2017-03-20 04:35:05 +01:00