Damien Zammit
a9907b7d56
ipw: Fix race condition with polling the cancel state of the dialog
...
Sometimes the interthread process window dialog reports "cancelled"
when it was not actually cancelled, it was just hidden and reshown,
Since we are polling the cancel state interthread, we must reset
the cancel status BEFORE the dialog is shown, and never toggle the
cancel state unless it is a true cancel action by the user.
2018-10-02 20:14:04 +10:00
Paul Davis
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
Robin Gareus
cd5cd2f8f2
cont'd work & fix bug introduced in 03660573e
...
not every code path using InterthreadProgressWindow unsets cancel
after creating the Window.
2016-05-24 03:33:02 +02:00
Robin Gareus
03660573e2
fix import-thread SNAFU
...
* pressing Esc or WM close button did not cancel import thread
* proper Abort does not wait for import thread either
It was possible to launch a 2nd (and Nth) import thread, all sharing
the Editor's ImportStatus data-structure, all having the same
registered thread-name and same thread-pool name. Plenty of room for
crashes.
2016-05-21 23:30:11 +02:00
Robin Gareus
696b89b71a
rework 8b80fe0, use std::string, not char*
2015-10-15 11:24:15 +02:00
Robin Gareus
3aa24b222b
add missing markup escape
...
(e.g. import file with ampersand)
2015-10-02 19:14:24 +02:00
David Robillard
ed626628b5
Delete trailing whitespace
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00
Paul Davis
aa78fb928b
try to sensibly handle repeated imports of the same file. the same thing might be required for embeds
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-05 20:36:44 +00:00
Carl Hetherington
74c69114bc
Fix confusion about the 'done' variable in InterThreadInfo during import. 'done' now means that a given run of the import thread has completed; 'all_done' means that the whole import operation has completed. Fixes #3396 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7862 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-29 22:59:39 +00:00
Carl Hetherington
3b594f8046
Prevent brief, spurious `importing 2 of 1' type messages.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7141 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-23 01:08:41 +00:00
Carl Hetherington
18f2af10ae
Display details of which import file we are currently on.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-14 23:17:34 +00:00
Carl Hetherington
3d3e889dd6
Separate interthread progress window out into its own class and HIG-ify it a bit. Make the import progress bar report on the whole import rather than individual files.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-14 22:16:46 +00:00