Thomas Goyne
009518271a
Document a few things and kill all remaining placeholders
2012-12-02 13:08:42 -08:00
Thomas Goyne
96cf5ea7ed
Kill the #ifndef AGI_PRE guards
...
They don't actually improve compilation performance and make it more
annoying to modify what things are in the precompiled header.
2012-12-02 06:33:29 -08:00
Thomas Goyne
6ab8345148
Use nullptr in more places
2012-11-30 10:44:09 -08:00
Thomas Goyne
30ceced39f
Skip the current line when searching for the next matching line in the kanji timer
2012-11-24 16:24:00 -08:00
Thomas Goyne
67df64e879
Use range-based for loops in a bunch of places
2012-11-12 18:35:25 -08:00
Thomas Goyne
0893ed3f0a
Remove references to tr1
2012-11-10 18:05:57 -08:00
Thomas Goyne
83761d881a
Convert AssFile::Line to an intrusive list
...
Gives O(1) pointer -> iterator conversions, better memory usage, better
performance, and overall slightly simplifies the code using it.
2012-11-10 18:05:56 -08:00
Thomas Goyne
e44c47c863
Remove $Id$ markers since git doesn't support them
2012-10-25 17:39:49 -07:00
Thomas Goyne
556f0514c2
Fix crash in the Kanji timer when the source begins with whitespace and the dest is empty
...
Originally committed to SVN as r6936.
2012-07-21 03:50:35 +00:00
Thomas Goyne
fe36760872
Use 16x16 icons for dialogs rather than cropping the 24x24 icons to 16x16
...
Originally committed to SVN as r6650.
2012-04-03 20:40:24 +00:00
Thomas Goyne
7f427e01df
Fix completely wrong results from the Kanji timer
...
Durations were being set in milliseconds rather than centiseconds.
Originally committed to SVN as r6610.
2012-03-27 00:48:56 +00:00
Thomas Goyne
232bae36e7
Fix crash when the Accept button in the kanji timer is clicked at a time when there's nothing to accept
...
Originally committed to SVN as r6609.
2012-03-27 00:48:47 +00:00
Thomas Goyne
f9e8d89059
Remove some unused stuff in the kanji timer
...
Originally committed to SVN as r6608.
2012-03-27 00:48:38 +00:00
Thomas Goyne
2ef193e197
Remove pointless translatable strings that are never actually displayed
...
Originally committed to SVN as r6607.
2012-03-27 00:48:28 +00:00
Thomas Goyne
b32515da80
Strip trailing whitespace from all cpp and h files
...
Originally committed to SVN as r6600.
2012-03-25 04:05:06 +00:00
Thomas Goyne
75ae053958
Make some stuff const
...
Originally committed to SVN as r6590.
2012-03-20 00:39:10 +00:00
Thomas Goyne
24fbf25882
Fix duplication of source syllables when linking in the kanji timer
...
Originally committed to SVN as r6522.
2012-02-28 01:23:07 +00:00
Thomas Goyne
34a87b1c1e
Silence a pile of /W4 warnings
...
Originally committed to SVN as r6001.
2011-12-22 21:09:31 +00:00
Thomas Goyne
262d5195c5
Add access keys for nearly all things which support them and were missing them. Closes #1070 .
...
Originally committed to SVN as r5877.
2011-11-18 18:49:09 +00:00
Thomas Goyne
0aa553eb7c
compilation fixes
...
Originally committed to SVN as r5824.
2011-11-07 04:14:09 +00:00
Thomas Goyne
c936306593
Rewrite nearly everything related to karaoke
...
Move most karaoke parsing/serializing/editing code to AssKaraoke rather
than being scattered all over the place, and add much better support for
non-karaoke override tags and comments.
Add a karaoke timing controller.
Redesign the karaoke syllable split/join interface to have a single mode
from which both splitting and joining can be done rather than separate
split and join modes.
Only show the karaoke split/join bar when karaoke mode is enabled.
Closes #886 , #987 , #1190 .
Originally committed to SVN as r5613.
2011-09-28 19:44:07 +00:00
Thomas Goyne
cc147d1660
Eliminate uses of c_str made unnecessary by changed to wxString::Format in wx 2.9
...
Originally committed to SVN as r5612.
2011-09-28 19:43:48 +00:00
Thomas Goyne
d990bbbb99
Eliminate all unnecessary uses of L and _T
...
Originally committed to SVN as r5611.
2011-09-28 19:43:11 +00:00
Thomas Goyne
934a5b24eb
Refine the commit types
...
Switch to a bitmask with much more finely-grained information about what
changed in the commit, fixing a few potential correctness problems and
significantly improving the performance of several scenarios where commits
are spammed very frequently.
Originally committed to SVN as r5590.
2011-09-15 05:16:32 +00:00
Thomas Goyne
72bc33fda3
Fix compilation errors with precompiled headers disabled
...
Originally committed to SVN as r5484.
2011-07-16 06:42:55 +00:00
Thomas Goyne
d405b061df
Eliminate a lot of unnessesary includes of subs_grid.h
...
Originally committed to SVN as r5458.
2011-07-15 04:05:15 +00:00
Thomas Goyne
df1dce3593
Kill SubtitlesGrid::ass and SubtitlesGrid::EditBox and convert everything that used them over to agi::Context
...
Originally committed to SVN as r5215.
2011-01-16 07:17:36 +00:00
Amar Takhar
c15777f844
Merge audio_display_rewrite branch to trunk. This is not a complete work, don't expect to time anything for a while.
...
Originally committed to SVN as r4903.
2010-12-08 03:36:10 +00:00
Thomas Goyne
6d2b941e76
Rework how committing changes works
...
Rather than everything having to separately commit changes to the ass
and then tell the subs grid to notify various parts of Aegisub about the
changes, committing the AssFile now triggers an event which objects
listen for.
AssFile::Commit now also has an argument to indicate what sorts of
changes were made to the file. For now these types are very broad.
Originally committed to SVN as r4901.
2010-12-07 19:09:28 +00:00
Thomas Goyne
c40aa7080a
Eliminate almost all uses of AssFile::top.
...
Originally committed to SVN as r4669.
2010-07-09 07:31:48 +00:00
Thomas Goyne
2e5dc176db
Rewrite Undo/Redo code
...
Make the undo and redo stacks non-static members of AssFile, making it
theoretically possible to have multiple open AssFiles with working undo.
Slightly improve tracking of whether the file is modified: saving,
making a change, then undoing the change now results in the file being
shown as unmodified as with most programs with undo.
Add basic undo coalescing support.
Originally committed to SVN as r4667.
2010-07-09 07:31:34 +00:00
Thomas Goyne
c290b6b811
Silence some prefast warnings
...
Originally committed to SVN as r4472.
2010-06-11 02:24:59 +00:00
Amar Takhar
40e12403d5
Merge all changes from the libaegisub branch into trunk, the effective range is r4175:4330. All options have been re-done and now use Cajun to support a json-backed format.
...
Initial support for low-level access and file I/O methods are included as well.
Originally committed to SVN as r4331.
2010-05-21 01:13:36 +00:00
Thomas Goyne
008d59d71e
As we require RTTI anyway, kill AssEntry::GetAsDialogue/Style/Attachment and just use dynamic_cast
...
Originally committed to SVN as r4308.
2010-05-19 00:44:52 +00:00
Amar Takhar
7de7dba807
Merge r3733 for jfs, fixes #977
...
Originally committed to SVN as r3735.
2009-10-26 23:44:16 +00:00
Amar Takhar
d348b4e33e
Fix all the headers in *.cpp, this includes:
...
* Wrapping all headers that are in agi_pre.h with AGI_PRE.
* Sorting alphabetically.
Originally committed to SVN as r3515.
2009-09-10 13:06:40 +00:00
Amar Takhar
925fa88c0c
* Remove #pragma once.
...
* Sort wx headers and wrap with #ifndef WX_PRE.
* Add missing heade rto stdwx.h.
M src/ass_attachment.h
M src/subs_grid.cpp
M src/ass_dialogue.cpp
M src/ass_attachment.cpp
M src/aegisub_endian.h
M src/audio_display.cpp
M src/audio_karaoke.cpp
M src/dialog_kara_timing_copy.cpp
M src/ass_dialogue.h
M src/text_file_writer.cpp
M src/stdwx.h
Originally committed to SVN as r3503.
2009-09-10 02:23:43 +00:00
Amar Takhar
94965d1277
Add new icon: kara_timing_copier which replaces kanji_timer_button. Nothing has been changed other than the icon name. updates #870
...
Originally committed to SVN as r3383.
2009-08-11 05:35:25 +00:00
Niels Martin Hansen
f664a26b18
Rename Kanji Timer step 2: Rename things in docs (and include guard)
...
Updates #870 .
Originally committed to SVN as r3358.
2009-08-04 02:00:30 +00:00
Niels Martin Hansen
96acbe33c3
Rename Kanji Timer step 1: Rename source files.
...
Updates #870 .
Originally committed to SVN as r3357.
2009-08-04 01:53:26 +00:00