Thomas Goyne
67af44b889
Fix compilation with no audio players enabled
2012-10-12 14:51:29 -07:00
Thomas Goyne
d0a7388581
Remove ifdef checks for header inclusion in audio_player.cpp as the headers themselves have the checks
2012-10-12 14:51:29 -07:00
Thomas Goyne
95a1b7e9b5
Remove AudioPlayer::OpenStream and CloseStream
...
Instead, just pass the provider to the constructor and let the player
worry about when to create its things. The ability to explicitly open
and close the playback wasn't actually required for anything, and it
complicated the implementations of the players.
2012-10-12 14:51:29 -07:00
Thomas Goyne
863e041d4d
Honor the configured MRU limits
...
Actually use the limits set in the preferences dialog rather than always
limiting the MRU lists to 16.
Currently only the Find and Replace limits can be set to above 16 due to
how the open recent items commands are implemented.
Closes #1528 .
2012-10-11 10:19:49 -07:00
Thomas Goyne
e5251544ea
Don't save separate wavs for each selected line
...
Instead, save a single wav spanning the full range of all selected
lines.
2012-10-11 09:41:25 -07:00
Thomas Goyne
f691335e3b
Run the icons through ImageOptim
...
Knocks 70 KB off the total size.
2012-10-10 18:49:19 -07:00
Thomas Goyne
a7bb608a34
Mark Command::Icon as const
2012-10-10 18:48:47 -07:00
Thomas Goyne
50b70f6979
Remove DOCME placeholders from AssDialogue
2012-10-10 18:48:39 -07:00
Thomas Goyne
9009c963e3
Fix rounding errors that resulted in karaoke syllables drifting
2012-10-09 20:40:49 -07:00
Thomas Goyne
004b41f0eb
Switch the Duration field back to time mode when video is closed
2012-10-09 20:40:47 -07:00
Thomas Goyne
89d7e0a321
Allow framerate transform to/from variable without external timecodes loaded
...
This is a potentially sensible operation (to convert from VFR to/from
the video's average FPS), so there's no reason to require that the input
and output timecodes be from different places.
Closes #1530 .
2012-10-09 09:20:35 -07:00
Thomas Goyne
a56bf25d00
Actually load the fontconfig config file in the fonts collector on OS X
2012-10-09 09:20:34 -07:00
Thomas Goyne
269dd79230
Increase the undo-group-breaking timer to 30 seconds (from 10)
2012-10-09 07:28:16 -07:00
Thomas Goyne
a13d06318b
Remove all glu.h includes since no glu functions are ever used. Updates #1511 .
2012-10-08 10:21:20 -07:00
Thomas Goyne
db30fdedbd
Use the correct option name for reporting the user's UI language
2012-10-07 19:55:26 -07:00
Thomas Goyne
07257e1bb3
Fix non-precomp header compilation
2012-10-06 09:39:44 -07:00
Thomas Goyne
846449cb03
Center the audio display when a line is within 5% of an edge as 2.1 did
2012-10-06 08:46:10 -07:00
Thomas Goyne
de862cb6e8
Remove the correct syllable split on a click on the left side of the split line
2012-10-05 08:21:40 -07:00
Thomas Goyne
5cdcd3dcb3
Increase the hit area for removing syllable splits a little
2012-10-05 08:21:40 -07:00
Thomas Goyne
d0a9f3f7cd
Change the karaoke split cursor color to indicate whether it'll add or remove a split
2012-10-05 08:21:40 -07:00
Thomas Goyne
1cd9f2dcf2
Add a default hotkey for "audio/play/line"
2012-10-04 16:56:02 -07:00
Thomas Goyne
d97ad27354
Add the play line button to the audio toolbar
2012-10-04 16:49:55 -07:00
Thomas Goyne
44468fbd3d
Add "audio/play/line" command
2012-10-04 16:48:35 -07:00
Thomas Goyne
7343392823
Don't use StandardPaths before OnInit is called
...
AegisubLocale is created extremely early in the application
initialization, and using StandardPaths in its constructor resulted in
?user being set to an incorrect value as the app name hadn't been set
yet.
2012-10-04 12:58:01 -07:00
Thomas Goyne
782c6310f3
Don't include glu.h in the precompiled header since it's never actually used
2012-10-03 15:58:14 -07:00
Thomas Goyne
1f6a6087c6
Remove waf build system since it's pretty out of date
2012-10-02 16:06:05 -07:00
Thomas Goyne
40f97dbfea
Redesign AegisubLocale
...
Use wxTranslations directly rather than going through wxLocale. This
significantly simplifies the code, eliminates the hardcoded list of
languages for non-windows, and makes it possible to use mismatched
languages and locales.
Closes #1508 .
2012-10-02 16:06:05 -07:00
Thomas Goyne
8fad077e88
Don't ignore loaded timecodes when converting frames to times for the subtitle renderer
2012-10-02 12:56:19 -07:00
Thomas Goyne
57a253004d
Scroll the audio display after a click near an edge
...
When auto scrolling is enabled, scroll the audio display after a click
near an edge to mimic the effect of scrolling to show the new audio
selection (as 2.1.9 did), but hopefully without all the weird
undesirable cases that had.
2012-10-02 08:09:33 -07:00
Thomas Goyne
05f5d37576
Split AudioDisplay::OnMouseEvent into several methods
2012-10-02 07:40:50 -07:00
Thomas Goyne
3d3a74c5d2
Audio display cosmetics
2012-10-02 07:27:52 -07:00
Thomas Goyne
55bdbf8d48
Add scroll arrows to the karaoke syllable bar when the contents are too wide to fit. Closes #1516 .
2012-10-01 16:55:20 -07:00
Thomas Goyne
b020322a3a
Update the size of the karaoke syllable bar when the window is resized. Updates #1516 .
2012-10-01 15:38:02 -07:00
Thomas Goyne
1b089795f1
Also stop the video when stopping audio playback as 2.1.9 did. Closes #1515 .
2012-10-01 10:28:42 -07:00
Thomas Goyne
0a5fa6ff39
Don't use ARC in the Obj-C++ code
...
It never allocated any non-autoreleased objects so ARC wasn't actually
doing anything other than breaking compilation with gcc.
2012-09-29 22:10:45 -07:00
Thomas Goyne
25e65237cd
Mark "Action" as translatable in the fonts collector dialog
...
Fortunately "Action" is also used in the select lines dialog so it's
already present in the translations.
2012-09-27 17:10:33 -07:00
Thomas Goyne
08c9781dfb
Actually modify the line time when applying lead-in/out in karaoke mode
2012-09-24 18:56:49 -07:00
Thomas Goyne
7433b814a7
Modify the first syllable when normalizing karaoke syllable lengths
2012-09-24 18:46:15 -07:00
Thomas Goyne
85f2774033
Report the user's UI language in addition to the system language to the update checker
2012-09-24 13:00:52 -07:00
Thomas Goyne
ccf3e94d96
Bundle the Serbian translation as sr_YU on OS X as it doesn't have sr_RS
2012-09-23 08:20:24 -07:00
Thomas Goyne
51e23a3c7e
Remove the period from the catalog name since gettext seems to not like it
2012-09-22 21:29:44 -07:00
Thomas Goyne
39bf2ab5fd
Don't list languages in the language dialog which won't actually work. Updates #1508 .
2012-09-22 09:51:39 -07:00
Thomas Goyne
9a6eb70f12
Try to find an English locale ID which is available
...
wxLANGUAGE_ENGLISH corresponds to the "en" locale on Linux, which is
generally not installed, which resulted in English actually being the
system default locale.
Updates #1508 .
2012-09-22 09:42:32 -07:00
Thomas Goyne
c4f6e729f9
Add missing period in 2.35 in a string that probably isn't actually visible anywhere
2012-09-21 18:13:10 -07:00
Thomas Goyne
6943b868da
Handle file not found errors when opening linked audio from subtitles
2012-09-21 18:07:30 -07:00
Thomas Goyne
ffab39b21f
Don't automatically load audio from video if audio from that file is already open
2012-09-21 17:58:22 -07:00
Thomas Goyne
7b5bb6f57a
Add missing languages to the hardcoded list for non-windows
2012-09-16 19:12:05 -07:00
Thomas Goyne
ef99f77087
Make the open/save keyframes dialog title translatable
2012-09-16 18:52:50 -07:00
Thomas Goyne
2c2f60d4e0
Fix completely incorrect behavior when AR changing is enabled in the resolution resampler
2012-09-14 07:55:31 -07:00
Thomas Goyne
e552dc4c9c
Remove some dead assigns
2012-09-14 07:55:01 -07:00