Commit graph

5992 commits

Author SHA1 Message Date
Thomas Goyne
fd322e8dc9 assdraw: pass enough arguments to wxFlexGridSizer's constructor
Originally committed to SVN as r6855.
2012-05-24 01:55:57 +00:00
Thomas Goyne
a0c0b5a865 assdraw: remove wxADJUST_MINSIZE (which didn't actually do anything)
Originally committed to SVN as r6854.
2012-05-24 01:55:54 +00:00
Thomas Goyne
822f659055 assdraw: add missing wx/dcclient include
Originally committed to SVN as r6853.
2012-05-24 01:55:51 +00:00
Thomas Goyne
cfb34bd50c assdraw: typedef wxPGId for backwards comaptibility
Originally committed to SVN as r6852.
2012-05-24 01:55:49 +00:00
Thomas Goyne
decc47a568 assdraw: fix memory leak
Originally committed to SVN as r6851.
2012-05-24 01:55:46 +00:00
Thomas Goyne
40a2bae771 assdraw: remove pointless out of date inline copy of libpropgrid
Originally committed to SVN as r6850.
2012-05-24 01:55:42 +00:00
Thomas Goyne
c4367f083c assdraw: add wxwin.m4
Originally committed to SVN as r6849.
2012-05-24 01:55:39 +00:00
Thomas Goyne
5dd13ea811 assdraw: fix some derp in the configure script
Originally committed to SVN as r6848.
2012-05-24 01:55:36 +00:00
Thomas Goyne
86674614a4 assdraw: actually set the package name in configure.in
Originally committed to SVN as r6847.
2012-05-24 01:55:33 +00:00
Thomas Goyne
fb77e183e6 assdraw: replace autogen.sh with buildconf
The autogen.sh script was incredibly out of date and dumb.

Originally committed to SVN as r6846.
2012-05-24 01:53:59 +00:00
Thomas Goyne
1206906c32 Automatically generate the list of supported languages rather than hardcoding it
Originally committed to SVN as r6845.
2012-05-24 01:53:56 +00:00
Thomas Goyne
a6036d98f1 Fix copyright years and URL in the plist
Originally committed to SVN as r6844.
2012-05-24 01:53:53 +00:00
Thomas Goyne
29e9d09859 Fix non-precompiled-header compilation
Originally committed to SVN as r6843.
2012-05-23 03:38:50 +00:00
Thomas Goyne
11747a6c27 Regenerate aegisub.pot
Originally committed to SVN as r6842.
2012-05-23 03:38:47 +00:00
Thomas Goyne
c6aa43de72 Add command audio/play/current
This is like audio/play/selection except it ignores changes to the
primary range during playback, and always stops when the original end of
the line is reached.

Originally committed to SVN as r6841.
2012-05-23 03:38:44 +00:00
Thomas Goyne
567549c55d OS X: Add default hotkey to show/hide toolbar
Originally committed to SVN as r6840.
2012-05-23 03:38:41 +00:00
Thomas Goyne
58de109085 Add Show/Hide toolbar to the View menu
The Apple HIG says to include this, and I see no reason not to include
it on the other platforms as well.

Originally committed to SVN as r6839.
2012-05-23 03:38:37 +00:00
Thomas Goyne
b9154a79c1 Also extract strings from the OS X default menu
Originally committed to SVN as r6838.
2012-05-23 03:38:34 +00:00
Thomas Goyne
24cd2bbdf9 Fix the name of the quit command
Originally committed to SVN as r6837.
2012-05-19 16:22:21 +00:00
Thomas Goyne
9f9e273de2 Compress the dmg with bzip2 rather than zlib
Reduces size by ~7%.

Originally committed to SVN as r6836.
2012-05-19 16:22:16 +00:00
Thomas Goyne
35279b6e28 Remove pointless blank buttons
Originally committed to SVN as r6835.
2012-05-19 15:49:23 +00:00
Thomas Goyne
e4cc9d1404 OX X: Force 32x32 toolbar icons rather than 24x24
Originally committed to SVN as r6834.
2012-05-19 15:49:18 +00:00
Thomas Goyne
57d1d92a9e Make the 32x32 icons available in the program
Originally committed to SVN as r6833.
2012-05-19 15:49:12 +00:00
Thomas Goyne
dc99f02d1d Add 32x32 icons to the respack manifest
Originally committed to SVN as r6832.
2012-05-19 15:49:06 +00:00
Thomas Goyne
2fdded77fb Add 32x32 versions of the icons for OX X
Originally committed to SVN as r6831.
2012-05-19 15:48:57 +00:00
Thomas Goyne
467f4b0c52 Fix crash when changing hotkeys after detaching video
ToolTipManager's slots can outlive the windows they're for, so use
wxWeakRef to avoid trying to update the tooltip for windows that have
been destroyed.

Originally committed to SVN as r6830.
2012-05-19 03:02:21 +00:00
Thomas Goyne
b6e47f1cc0 Remove unused incldue in subs_edit_box.cpp
Originally committed to SVN as r6829.
2012-05-19 03:02:15 +00:00
Thomas Goyne
dcbe114361 Add version of run.sh that works on OS X
Originally committed to SVN as r6828.
2012-05-19 01:13:11 +00:00
Thomas Goyne
3d512eb422 OS X: Always use 24x24 icons for toolbars attached to frames
32x32 icons really should be used here as they'll get automatically
upscaled to that anyway, but we currently don't have those.

Originally committed to SVN as r6827.
2012-05-19 01:13:05 +00:00
Thomas Goyne
ba40e24326 Attach toolbars to the frame before populating them
Works around a wxOSX-Cocoa bug (http://trac.wxwidgets.org/ticket/13888)
that resulted in items never being added to the toolbar.

Originally committed to SVN as r6826.
2012-05-19 01:13:00 +00:00
Thomas Goyne
48c3b39cd1 Silence some warnings in universalchardet
Originally committed to SVN as r6825.
2012-05-19 01:12:54 +00:00
Thomas Goyne
c7fb7eb295 Handle modeless dialogs which never fully open
Fixes crash when opening the spell checker dialog after no spelling
errors were found previously.

Closes #1491.

Originally committed to SVN as r6824.
2012-05-18 14:01:56 +00:00
Thomas Goyne
904b5aafe4 Set both the initial and value for font size spin ctrls as well
Originally committed to SVN as r6823.
2012-05-18 05:03:21 +00:00
Thomas Goyne
4f832e4b82 Cast size_ts passed to wxString::Format to ints
Originally committed to SVN as r6822.
2012-05-18 05:03:16 +00:00
Thomas Goyne
21100038f5 Explicitly set the value of the Matches radio box in the Select Lines dialog
On OS X is it not implicitly set to the opposite of the Doesn't Match
radio box as it is on other platforms.

Originally committed to SVN as r6821.
2012-05-18 05:03:11 +00:00
Thomas Goyne
5c10bfa2f3 OS X: Fix crash when opening Find/Replace dialog
Originally committed to SVN as r6820.
2012-05-18 05:03:05 +00:00
Thomas Goyne
2675bbb831 OS X: Adjust some default hotkeys to match the platform standards
Originally committed to SVN as r6819.
2012-05-18 05:03:00 +00:00
Thomas Goyne
2f2e33617a OS X: Rearrange menus a bit to get closer to normal
Originally committed to SVN as r6818.
2012-05-18 05:02:55 +00:00
Thomas Goyne
129edf3f12 OS X: Use Lucida Grande by default
Originally committed to SVN as r6817.
2012-05-18 05:02:50 +00:00
Thomas Goyne
3699a35988 Add OS X-specific default config, hotkey and menu files
Originally committed to SVN as r6816.
2012-05-18 05:02:43 +00:00
Thomas Goyne
33c36a3298 Fix double multiplication by sample rate that resulted in the waveform renderer allocating way more memory than needed
Originally committed to SVN as r6815.
2012-05-18 01:58:35 +00:00
Thomas Goyne
2243844d89 Actually copy the automation files into the .app
Originally committed to SVN as r6814.
2012-05-17 05:22:52 +00:00
Thomas Goyne
7c203dd750 Don't version-suffix the fontconfig cache path
Everything else is put in ~/Library/Application Support/Aegisub/, so put
the fontconfig cache there as well instead of ~/Library/Application
Support/Aegisub-3.0/

Originally committed to SVN as r6813.
2012-05-17 05:22:46 +00:00
Thomas Goyne
015d533556 Fix bad destruction order when exiting without closing the main window first
On OS X, when closing via Quit the document windows are not closed until
after OnExit is called, resulting the project context being destructed
after the global stuff, resulting in crashes on exit in some cases.

Originally committed to SVN as r6812.
2012-05-16 14:23:16 +00:00
Thomas Goyne
7ab4f85211 Stop audio undo coalescing when swtiching between lines
Originally committed to SVN as r6811.
2012-05-16 14:23:10 +00:00
Thomas Goyne
c86f553aa7 Handle the menu items that are moved to the application menu on OS X
Originally committed to SVN as r6810.
2012-05-16 04:57:24 +00:00
Thomas Goyne
e51a86195f Don't signal ScriptsChanged in ScriptManager's destructor
Fixes a crash on exit on OS X

Originally committed to SVN as r6809.
2012-05-16 04:57:18 +00:00
Thomas Goyne
7570d2b982 Fix wxString::Format assertion failure when opening the log window
Originally committed to SVN as r6808.
2012-05-16 04:57:12 +00:00
Thomas Goyne
7e8c18492f Fix non-precompiled-header compilation
Originally committed to SVN as r6807.
2012-05-16 04:57:06 +00:00
Thomas Goyne
0efae2fc85 Add ffms2's cflags to preferenes.cpp
Originally committed to SVN as r6806.
2012-05-16 04:56:59 +00:00