Thomas Goyne
c4cba875b4
Always index all tracks when "Video/Open Audio" is enabled, as it'll always double-index otherwise
...
Originally committed to SVN as r6518.
2012-02-28 01:22:29 +00:00
Thomas Goyne
93d3895a2a
Include font_file_lister.h in font_file_lister.cpp, not font_file_lister_fontconfig.h
...
Originally committed to SVN as r6517.
2012-02-25 02:58:23 +00:00
Thomas Goyne
d942663316
Remove the "Link commiting of times" option
...
It doesn't actually do anything anymore due to that changed to the time
boxes are committed automatically.
Originally committed to SVN as r6516.
2012-02-25 02:58:14 +00:00
Thomas Goyne
451b262672
Increment iterators before erasing them rather than after
...
Originally committed to SVN as r6515.
2012-02-25 02:58:04 +00:00
Niels Martin Hansen
45da185a43
A bunch of fixes to the MSBuild projects.
...
Originally committed to SVN as r6514.
2012-02-24 22:48:52 +00:00
Thomas Goyne
5fd05762bd
Remove all references to QuickTime, as the QuickTime provider is long gone
...
Originally committed to SVN as r6513.
2012-02-23 19:28:29 +00:00
Thomas Goyne
5f82f5b2d7
OS X compilation fixes
...
Originally committed to SVN as r6512.
2012-02-23 19:28:19 +00:00
Thomas Goyne
45dbc8bd15
Fix checks for which OpenGL headers to include on OS X
...
Originally committed to SVN as r6511.
2012-02-23 19:28:08 +00:00
Thomas Goyne
0d45f98ae8
Cast time_ts passed to printf to a known type
...
Originally committed to SVN as r6510.
2012-02-23 19:28:00 +00:00
Thomas Goyne
9e6d782339
Remove invalid spaces in the OSX link command
...
Originally committed to SVN as r6509.
2012-02-23 19:27:51 +00:00
Thomas Goyne
6cf122dea2
Remove the time_t overload of UnknownElement and just cast to int64_t
...
Originally committed to SVN as r6508.
2012-02-23 19:27:42 +00:00
Thomas Goyne
f54d381f94
Don't skip the OS X OpenGL check when X is detected
...
Originally committed to SVN as r6507.
2012-02-23 19:27:32 +00:00
Thomas Goyne
ea130d9af2
Automatically set the aspect ratio when opening anamorphic video with ffms
...
Originally committed to SVN as r6506.
2012-02-23 01:30:59 +00:00
Thomas Goyne
7e87e95526
Send text updated events when pasting into time edits
...
Originally committed to SVN as r6505.
2012-02-23 00:46:33 +00:00
Thomas Goyne
7992009392
Treat an unclosed override block as plain text in the syntax highlighter to match vsfilter
...
Originally committed to SVN as r6504.
2012-02-22 22:36:55 +00:00
Thomas Goyne
7e9608cf7a
Adjust syntax highlighting of template lines to match how karaoke templater parses the line
...
Originally committed to SVN as r6503.
2012-02-22 22:36:45 +00:00
Thomas Goyne
d5577b994c
Move lead in/out logic to the timing controllers
...
This makes adding lead in/out work correctly when autocommit is
disabled, and improves the behavior of adding lead-in when in karaoke
mode.
Originally committed to SVN as r6502.
2012-02-22 22:00:54 +00:00
Thomas Goyne
c4daf860e5
Add a lua module for reading from/writing to the clipboard
...
Originally committed to SVN as r6501.
2012-02-22 20:47:34 +00:00
Thomas Goyne
74fcf68fe2
Improve the error message when autoload scripts fail to load
...
Remove a reference to errors "above" as the message appears both above
and below the actual errors.
Shorten the message a bit to reduce the chance of it getting truncated
by wx.
Fix the name of the button in the automation manager dialog.
Originally committed to SVN as r6500.
2012-02-22 20:47:24 +00:00
Thomas Goyne
b59b3c56fc
Add lua bindings for open and save standard dialogs
...
Originally committed to SVN as r6499.
2012-02-22 04:17:16 +00:00
Thomas Goyne
048fc44cfa
Add aegisub.file_name() to get the file name of the subtitles file
...
If called during a macro processing or validation function when the
subtitles have a valid file name (i.e. they've been saved and are not
Untitled), this returns the name of the file, without the path. If
called at any other time, it returns nil.
Originally committed to SVN as r6498.
2012-02-21 23:32:58 +00:00
Thomas Goyne
2dd01747f8
Fix crash on underrun in the alsa player
...
Originally committed to SVN as r6497.
2012-02-20 18:22:43 +00:00
Thomas Goyne
fb6d3daf8b
Eliminate all uses of volatile in the alsa player and just lock reads instead
...
Originally committed to SVN as r6496.
2012-02-20 18:22:37 +00:00
Thomas Goyne
df73e15f0f
Include C++ versions of C headers rather than the C versions
...
Originally committed to SVN as r6495.
2012-02-20 18:22:31 +00:00
Thomas Goyne
3fdb50925e
Explicitly flag the precompiled header as a C++ header to silence a clang warning
...
Originally committed to SVN as r6494.
2012-02-20 18:22:25 +00:00
Thomas Goyne
f79e933ac9
Bump required version of ffms2 to 2.16
...
Originally committed to SVN as r6493.
2012-02-20 18:22:20 +00:00
Thomas Goyne
17b0d83831
Use scoped_holder in a handful of places
...
Originally committed to SVN as r6492.
2012-02-20 18:22:12 +00:00
Thomas Goyne
b9ddf00ead
Add a scoped holder similar to scoped_ptr for handles that may or may not be pointers
...
Originally committed to SVN as r6491.
2012-02-20 18:22:04 +00:00
Thomas Goyne
ad7d7c2be3
Don't return a dummy icon when no icon is found for a command
...
The hotkey editor initially required this, but now that we've using
fully custom renderers they're no longer needed, and the blank icons
didn't work correctly on wxGTK.
Originally committed to SVN as r6490.
2012-02-20 05:41:54 +00:00
Thomas Goyne
113c85bda0
Fix crash on aegisub.log(0, nil)
...
Originally committed to SVN as r6489.
2012-02-20 05:15:18 +00:00
Thomas Goyne
53c2c8821b
Redesign BlockCache's age tracking to run in constant time
...
Speeds up spectrum painting by 40-90% depending on how much of the audio
data is being read from the cache.
Originally committed to SVN as r6488.
2012-02-20 05:15:10 +00:00
Thomas Goyne
ffa7e70f5c
Fix compilation on 64-bit linux with clang
...
Originally committed to SVN as r6487.
2012-02-20 05:15:00 +00:00
Thomas Goyne
8e0f6c8d25
Add KP_Enter to the default hotkeys for commit in the translation assistant and styling assistant. Closes #1414 .
...
Originally committed to SVN as r6486.
2012-02-18 00:41:18 +00:00
Thomas Goyne
7f513e675d
Replace newlines with \N when modifying text via the translation assistant. Updates #1414 .
...
Originally committed to SVN as r6485.
2012-02-18 00:41:08 +00:00
Thomas Goyne
b1930f06e5
Actually set the volume/audio zoom to the saved values rather than just setting the slider positions
...
Originally committed to SVN as r6484.
2012-02-18 00:40:58 +00:00
Thomas Goyne
72ee3efdc3
Rename the audio rendering style enum values to reflect how they're actually used
...
Originally committed to SVN as r6483.
2012-02-17 00:14:45 +00:00
Thomas Goyne
57b6a1f03a
Remove the nonfunctional Restore Defaults button from the preferences dialog
...
Originally committed to SVN as r6482.
2012-02-17 00:14:35 +00:00
Thomas Goyne
46254613c8
Batch up log messages in DialogProgress and append them in OnIdle
...
This signficantly improves performance with spammy automation macros
(karaoke templater with the log level set to Trace is 10-15x faster),
and helps ensure that clicks on the Cancel button are actually processed
in a timely manner.
Originally committed to SVN as r6481.
2012-02-16 21:22:04 +00:00
Thomas Goyne
a3ef701f17
Add a [Script Info] section in SetScriptInfo if none exists
...
Originally committed to SVN as r6480.
2012-02-16 21:21:55 +00:00
Thomas Goyne
e5e2b84b15
Ensure that loaded files always have a style and dialogue line
...
Fixes crashes and general brokenness when opening invalid files.
Originally committed to SVN as r6479.
2012-02-16 21:21:35 +00:00
Thomas Goyne
fc64bcaa36
Don't normalize syllable durations when parsing karaoke for automation
...
Originally committed to SVN as r6478.
2012-02-16 05:21:00 +00:00
Thomas Goyne
6339df3521
Correct the calculation for the position of right-aligned lines in the visual tools
...
Originally committed to SVN as r6477.
2012-02-16 03:52:50 +00:00
Thomas Goyne
9b69ce7a27
Add support for noncontiguous selections to the duplicate lines commands
...
Originally committed to SVN as r6476.
2012-02-15 22:14:10 +00:00
Thomas Goyne
d4e1c90a04
Force a repaint of the window after opening files from the command line. Closes #1419 .
...
Originally committed to SVN as r6475.
2012-02-15 21:24:00 +00:00
Thomas Goyne
a2872158a9
Remember the last used audio zoom and volume and restore it
...
Originally committed to SVN as r6474.
2012-02-15 21:23:52 +00:00
Thomas Goyne
5bf7342019
Add a Lua binding for wxRegEx
...
Lua's built in regular expression engine is rather limited in features
compared to wx's, and operates on bytes rather than characters due to
not being unicode-aware.
Originally committed to SVN as r6473.
2012-02-15 21:23:42 +00:00
Thomas Goyne
1c2fb01f0a
Copy the cached entry data in AssStyle's operator=. Closes #1453 .
...
Originally committed to SVN as r6472.
2012-02-14 00:35:41 +00:00
Thomas Goyne
17b293865b
Override CanWriteFile in the Encore subtitle format as the default extension check doesn't work for the weird filename format
...
Originally committed to SVN as r6471.
2012-02-14 00:35:33 +00:00
Thomas Goyne
3252503eaa
Check for updates after loading files passed on the command line as the update checker dialog interacts poorly with the loading modal dialogs
...
Originally committed to SVN as r6470.
2012-02-14 00:35:25 +00:00
Thomas Goyne
105a6bd68a
Force Encore subtitles to UTF-8 as Encore doesn't like non-unicode encodings
...
Originally committed to SVN as r6469.
2012-02-14 00:35:16 +00:00