Thomas Goyne
2db20778fc
Mostly rewrite the screen dropper code
...
Eliminate a lot of the platform-specific code by just using the portable
versions everywhere, and use CoreGraphics rather than wxScreenDC to grab
an image of the screen on OS X as wxScreenDC doesn't actually work on
10.6+.
Originally committed to SVN as r6898.
2012-06-12 03:13:55 +00:00
Thomas Goyne
82d955ba96
Exit on error in osx-run.sh
...
Originally committed to SVN as r6897.
2012-06-12 03:13:53 +00:00
Thomas Goyne
0f071d978a
Rewrite the OS X bundle utils in Obj-C++ and return std::strings rather than malloced char *
...
Originally committed to SVN as r6896.
2012-06-12 03:13:49 +00:00
cantabile
4b78e05695
Video box: tweak the tab order
...
Move the slider before the buttons,
and move the video display before the slider.
Originally committed to SVN as r6895.
2012-06-12 02:59:41 +00:00
cantabile
46c83d7f1c
Allow tabbing out of the video slider
...
Originally committed to SVN as r6894.
2012-06-12 02:59:38 +00:00
cantabile
acea3a04e0
Make run.sh work regardless of $PWD.
...
Originally committed to SVN as r6893.
2012-06-12 02:59:35 +00:00
Thomas Goyne
03b1b8e1c0
Flush options before restarting so that language changes actually apply
...
Originally committed to SVN as r6892.
2012-06-08 21:20:21 +00:00
Thomas Goyne
a51de67d68
ffms2: Reindex and reload audio when the error handling mode is changed
...
Originally committed to SVN as r6891.
2012-06-07 21:03:11 +00:00
Thomas Goyne
8c17d45e8c
osx: Move the detached video dialog to the normal window level when it goes fullscreen as it's hilariously broken otherwise
...
Originally committed to SVN as r6890.
2012-06-07 21:03:08 +00:00
Thomas Goyne
f0f7ad2858
osx: Make modelss dialogs stay on top of the main window as they're floating panels, not documents
...
Originally committed to SVN as r6889.
2012-06-07 02:48:13 +00:00
Thomas Goyne
26a5fbe4b8
osx: Add the full screen button to the detached video dialog
...
Originally committed to SVN as r6888.
2012-06-07 02:48:11 +00:00
Thomas Goyne
b65e867455
Enable the Accept Splits button even when it's only the autosplit that would be committed
...
Originally committed to SVN as r6887.
2012-06-07 02:48:08 +00:00
Thomas Goyne
18041eabc7
Use * rather than \+ in osx-bundle.sed since the latter has magically stopped working
...
Originally committed to SVN as r6886.
2012-06-07 02:48:05 +00:00
Thomas Goyne
c6237865af
Unconditionally add -lz to WX_LIBS
...
Originally committed to SVN as r6885.
2012-05-28 15:00:54 +00:00
Thomas Goyne
9cb5178c4b
Revert r6758
...
The explicit cast should not be required, and the type of the parameter
has changed between wx versions so it breaks things.
Originally committed to SVN as r6884.
2012-05-28 14:55:42 +00:00
Thomas Goyne
108c38b9bc
Don't swallow : keypresses in TimeEdit
...
Originally committed to SVN as r6883.
2012-05-28 14:18:40 +00:00
cantabile
a3d7d2bbc0
TimeEdit: handle Shift-Insert the same way as Ctrl-V
...
Shift-Insert pasted the text anyway, but without anyone "noticing",
which meant the TimeEdit's internal variable "time" didn't get updated,
causing TimeEdit::GetTime() to return the old time. Because of this,
pasting a time in the Jump To dialog with Shift-Insert didn't update the
frame number.
Originally committed to SVN as r6882.
2012-05-28 14:18:10 +00:00
cantabile
3a81e80aa5
Add workaround for tabbing out of SubsTextEditCtrl
...
wxStyledTextCtrl eats the tabs, so handle them in
SubsTextEditCtrl::OnKeyDown()
Originally committed to SVN as r6881.
2012-05-28 14:18:07 +00:00
Thomas Goyne
571752a955
Make the visual typesetting toolbar use all available space
...
When toolbars actually have a background (as on OS X), the stretch
spacer was very ugly, and there's no different on platforms without a
background.
Originally committed to SVN as r6880.
2012-05-26 20:16:12 +00:00
Thomas Goyne
cde9a34425
osx: Add the full screen button to the main window
...
Originally committed to SVN as r6879.
2012-05-26 20:16:08 +00:00
Thomas Goyne
1da7502d6e
Remove pointless commented-out code
...
Originally committed to SVN as r6878.
2012-05-26 20:16:05 +00:00
Thomas Goyne
ae672b64af
Add Objective-C++ support to the makefile
...
Originally committed to SVN as r6877.
2012-05-26 20:16:02 +00:00
Thomas Goyne
dc5d6c9a4a
Add missing include in unix/log.cpp and wrap includes in #ifndef LAGI_PRE
...
Originally committed to SVN as r6876.
2012-05-26 17:00:16 +00:00
Thomas Goyne
427c8406d5
hurr durr gtk. Closes #1474 .
...
Originally committed to SVN as r6875.
2012-05-26 16:54:55 +00:00
Thomas Goyne
a75c8705bb
Make bitmap.{h,cpp} depend on their input files
...
Originally committed to SVN as r6874.
2012-05-26 16:54:52 +00:00
Thomas Goyne
e4154b1ae0
Don't include the version in the automation install path. Closes #1493 .
...
Originally committed to SVN as r6873.
2012-05-26 16:54:48 +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