Thomas Goyne
ea1dbc3e8c
Remove out of date bug workaround
...
Panel borders no longer make update region coordinates be out of sync
with drawing coordinates.
Originally committed to SVN as r6791.
2012-05-15 13:40:05 +00:00
Thomas Goyne
d31b795e60
Move the logic for Enter in a time edit to SubsEditBox
...
It doesn't make any sense for the time edits used elsewhere, and it made
Enter in a time edit not close dialogs.
Originally committed to SVN as r6790.
2012-05-15 13:40:00 +00:00
Thomas Goyne
fc7164422c
Flush options after asking the first-startup questions
...
Originally committed to SVN as r6789.
2012-05-15 13:39:55 +00:00
Thomas Goyne
4940a98e85
Set both the initial and value fields of spin controls in the preferences dialog since wx ports are inconsistent about which is used
...
Originally committed to SVN as r6788.
2012-05-15 13:39:50 +00:00
Thomas Goyne
5b9ba0205a
Always use change_value for setting spin ctrls in the color picker
...
With wxCocoa the change events from SetValue are processed immediately,
resulting in significant breakage as in some cases multiple spin
controls need to be set at once. Even on other platforms where things
appeared to work due to the change notifications being delayed, they
still didn't do anything useful and slowed updates down slightly.
Originally committed to SVN as r6787.
2012-05-15 13:39:45 +00:00
Thomas Goyne
ad64e8e48a
Remove hardcoded widths for the labels in the color picker
...
This results in the controls being slightly misaligned, but that's not
as bad as truncating the labels.
Originally committed to SVN as r6786.
2012-05-15 13:39:40 +00:00
Thomas Goyne
a97c7fa1f6
Fix infinite loop when changing the color in the color picker on OS X
...
Originally committed to SVN as r6785.
2012-05-15 13:39:35 +00:00
Thomas Goyne
75305877f0
Set the initial values of the color picker before binding events
...
Originally committed to SVN as r6784.
2012-05-15 13:39:30 +00:00
Thomas Goyne
ba413fa64d
Rework destruction of FrameMain's children
...
wxCocoa doesn't like reparenting SubsGrid to NULL, so instead
recursively destroy all of FrameMain's children other than SubsGrid and
its parent. Fixes a crash on exit on OS X.
Originally committed to SVN as r6783.
2012-05-15 13:39:24 +00:00
Thomas Goyne
3a951a2564
Fix wxstd.mo paths in osx-bundle.sh
...
Originally committed to SVN as r6782.
2012-05-14 13:22:09 +00:00
Thomas Goyne
827abff4c3
Recreate the App dir if it already exists rather than falling down
...
Originally committed to SVN as r6781.
2012-05-14 13:22:04 +00:00
Thomas Goyne
2a5666be69
Pass the path to wx-config to osx-bundle.sh as it may not be on the path
...
Originally committed to SVN as r6780.
2012-05-14 13:21:58 +00:00
Thomas Goyne
fa70f15988
Remove the message about not asking for support with SVN revisions
...
Originally committed to SVN as r6779.
2012-05-14 13:21:53 +00:00
Thomas Goyne
aee4657ece
Remove the check for wx's m4 since we ship it now
...
Originally committed to SVN as r6778.
2012-05-14 13:21:48 +00:00
Thomas Goyne
bdda855438
Explicitly set the git log format rather than relying on the default
...
Originally committed to SVN as r6777.
2012-05-14 13:21:43 +00:00
Thomas Goyne
069b34a806
Remove osx-bundle.sed on distclean, not clean
...
Originally committed to SVN as r6776.
2012-05-14 13:21:38 +00:00
Thomas Goyne
6b21485c0b
Add default_config_platform.json to distclean files
...
Originally committed to SVN as r6775.
2012-05-14 13:21:33 +00:00
Thomas Goyne
a126dea300
Make osx-bundle.sh exit on error
...
Originally committed to SVN as r6774.
2012-05-14 13:21:27 +00:00
Thomas Goyne
0239ab6688
Remove the explicit height from the preferences dialog
...
The height was too short to fit the contents in some cases, and wasn't
even used on Windows. Patch by cantabile.
Closes #1488 .
Originally committed to SVN as r6773.
2012-05-13 00:58:16 +00:00
Thomas Goyne
57e06a6cad
Fix error when a dropdown in the preferences dialog has no values
...
Originally committed to SVN as r6772.
2012-05-13 00:58:11 +00:00
Thomas Goyne
d04bc6d9b4
Don't paint the audio display if it hasn't been fully initialized due to audio not being open
...
Originally committed to SVN as r6771.
2012-05-13 00:58:06 +00:00
Thomas Goyne
c0d3cbf688
Make the use of blacklisted paths when building a OS X bundle a warning rather than an error
...
Originally committed to SVN as r6770.
2012-05-13 00:58:01 +00:00
Thomas Goyne
deaf8669da
Make make osx-dmg run make osx-bundle automatically
...
Originally committed to SVN as r6769.
2012-05-13 00:57:56 +00:00
Thomas Goyne
8abfdd6156
Actually fail if wx can't be found
...
Originally committed to SVN as r6768.
2012-05-13 00:57:50 +00:00
Thomas Goyne
2cc44be966
Add wxwin.m4 to acinclude.m4 so that it actually gets used without the user manually setting the aclocal path
...
Originally committed to SVN as r6767.
2012-05-13 00:57:45 +00:00
Thomas Goyne
65117f56d3
Add 1.12 to the automake versions checked for
...
Originally committed to SVN as r6766.
2012-05-13 00:57:40 +00:00
Thomas Goyne
35fa6c47ce
Automatically add a "Default" style to the "Default" catalog as 2.1.x did. Patch by cantabile. Closes #1487 .
...
Originally committed to SVN as r6765.
2012-05-13 00:57:34 +00:00
Thomas Goyne
3388281fb7
Fix error when the style catalog directory doesn't exist or is empty
...
Use wxDir::GetFirst/GetNext rather than wxFileFirstFile since the latter
doesn't have any way to signal that there aren't actually any files to
be found.
Closes #1486 .
Originally committed to SVN as r6764.
2012-05-13 00:57:25 +00:00
Thomas Goyne
2addf40b31
Fix typo (204M -> 240M)
...
Originally committed to SVN as r6763.
2012-05-11 14:42:30 +00:00
Thomas Goyne
bc74dfc33b
Update the video matrix tagging scheme
...
Write the color range and color space used to convert video to RGB to
the YCbCr Matrix field, or None if no non-RGB video was opened. See
http://code.google.com/p/xy-vsfilter/issues/detail?id=91 for related
discussion.
Originally committed to SVN as r6762.
2012-05-11 14:38:44 +00:00
Thomas Goyne
baacea6ab0
Force threads to 1 when opening video via lavf since the ffms2 bug that makes multithreaded decoding sometimes break still hasn't been fixed
...
Originally committed to SVN as r6761.
2012-05-11 02:58:34 +00:00
Thomas Goyne
c354dc9e30
Fix brokenness in the curve smoothing
...
Originally committed to SVN as r6760.
2012-05-11 02:47:24 +00:00
Thomas Goyne
a05d469741
Actually do the smoothing when drawing a smoothed freehand shape
...
Originally committed to SVN as r6759.
2012-05-11 02:47:18 +00:00
Thomas Goyne
c4e36e00a5
Fix compilation with wxGTK trunk
...
Originally committed to SVN as r6758.
2012-05-10 14:19:07 +00:00
Thomas Goyne
f1b2b4a3da
Don't allow opening multiple copies of the spell checker dialog
...
Originally committed to SVN as r6757.
2012-05-10 14:19:02 +00:00
Thomas Goyne
47fb50d4d3
Fix crash after cancelling the shift times dialog. Closes #1483 .
...
Originally committed to SVN as r6756.
2012-05-10 14:18:54 +00:00
Thomas Goyne
f724abd0b8
Add support for symlinking fonts rather than copying them in the fonts collector. Based on a patch by nodame.
...
Originally committed to SVN as r6755.
2012-05-10 14:18:47 +00:00
Thomas Goyne
18f158a364
Rename option "Always show visual tools" to "Only show visual tools when mouse is over video" as the old name said nothing about when they wouldn't be shown.
...
Originally committed to SVN as r6754.
2012-05-05 02:11:15 +00:00
Thomas Goyne
06e23b9296
Use SetSelectionAndActive whenever both are set at once
...
I'm not sure if this fixes any current actual problems as using slightly
stale data is normally only a problem when lines are being deleted, but
it's easier to fix it across the board than to figure out where it is
and isn't needed, and the speed impact of batching is trivial.
Originally committed to SVN as r6753.
2012-05-05 02:11:09 +00:00
Thomas Goyne
f756aa73c1
Add SelectionController::SetSelectionAndActive, which automatically batches the changes to the selection and active line
...
Originally committed to SVN as r6752.
2012-05-05 02:11:03 +00:00
Thomas Goyne
70abaf75d7
Don't cache the selection in the dialogue timing controller, as getting it isn't very expensive and it was used in a stale state when the active line changed
...
Originally committed to SVN as r6751.
2012-05-05 02:10:57 +00:00
Thomas Goyne
a15024e052
Trigger a modified event on Enter in a time edit so that selecting several lines and hitting Enter to set them all to the active line's time works
...
Originally committed to SVN as r6750.
2012-05-04 02:53:14 +00:00
Thomas Goyne
9269c79763
Only clear the selection due to a click on no visual features if there are actually multiple visual features to select
...
Originally committed to SVN as r6749.
2012-05-04 02:53:09 +00:00
Thomas Goyne
479de87068
Leave the selected range in the audio display unchanged when switching to an untimed line as 2.1.x did
...
Originally committed to SVN as r6748.
2012-05-04 02:53:03 +00:00
Thomas Goyne
1bd24d837c
Allow block selections on the grid with modifier keys held down
...
Originally committed to SVN as r6747.
2012-05-04 02:52:58 +00:00
Thomas Goyne
213ccccf86
Redesign the logic for scrolling the grid on drags
...
Update the grid scroll position on mouse up rather than mouse down,
eliminating the need for the logic that made it impossible to do a drag
selection from the top or bottom rows of the grid, and fix some cases
where the grid would scroll in an undesirable direction.
Originally committed to SVN as r6746.
2012-05-04 02:52:52 +00:00
Thomas Goyne
4d7c6b08e0
Leave the current line selected after splitting at cursor rather than selecting the new line
...
Originally committed to SVN as r6745.
2012-05-03 03:14:11 +00:00
Thomas Goyne
4603a86953
Don't pointless recreate the subs provider when the subs preview is resized
...
Fixes a bug that made it rather awkward to resize the style editor
dialog with libass, as the libass provider briefly creates a modal
dialog whenever it's created, which would interrupt the drag
Originally committed to SVN as r6744.
2012-05-02 22:42:43 +00:00
Thomas Goyne
63d60b9b1e
Save the size of the style editor in addition to the position
...
Originally committed to SVN as r6743.
2012-05-02 22:42:37 +00:00
Thomas Goyne
5a067f56e4
Add command "time/lead/both" which adds both lead in and out
...
Originally committed to SVN as r6742.
2012-05-02 22:42:31 +00:00