Thomas Goyne
49a57729ef
Always load initialize fontconfig on a worker thread so that installing a font then opening a new video does not block the GUI thread
...
Originally committed to SVN as r4818.
2010-10-17 02:36:28 +00:00
Thomas Goyne
f4577a8b3a
Don't format libass messages which won't be logged
...
Originally committed to SVN as r4807.
2010-10-11 20:48:29 +00:00
Thomas Goyne
1fbe7b4f1e
Increase the size of the buffer used for formatting messages from libass as they can occasionally be longer than 256 characters
...
Originally committed to SVN as r4796.
2010-10-08 06:06:50 +00:00
Thomas Goyne
7e72a9e0cf
Add background fontconfig cache updating
...
When the libass provider is enabled, initialize fontconfig on program
startup rather than waiting for the user to open a video. If the user
tries to open a video while the cache is still being updated, display a
"progress" dialog,
Updates #1115 .
Originally committed to SVN as r4768.
2010-09-01 06:50:35 +00:00
Amar Takhar
d4ba1f48ca
Remove libosxutil and fold it into libaegisub.
...
Originally committed to SVN as r4743.
2010-08-14 17:42:37 +00:00
Thomas Goyne
a400800b54
Remove the override for fonts.conf location on Windows as the default is close enough to sensible.
...
Originally committed to SVN as r4731.
2010-08-12 01:12:00 +00:00
Thomas Goyne
c8851828cd
Get the libass provider working on Windows. Requires a valid fontconfig config file (currently not included).
...
Originally committed to SVN as r4730.
2010-08-10 05:50:14 +00:00
Thomas Goyne
ff85906cdc
Fix compilation errors
...
Originally committed to SVN as r4718.
2010-08-02 07:21:02 +00:00
Thomas Goyne
71fb04cd29
Rework most of the various factories to not need an explicit helper class for each class constructable via a factory.
...
Originally committed to SVN as r4716.
2010-08-02 06:31:38 +00:00
Thomas Goyne
4ef9d41601
Don't require that subtitles passed to SubtitlesProvider::LoadSubtitles be a copy that can be deleted
...
Originally committed to SVN as r4477.
2010-06-11 02:25:28 +00:00
Amar Takhar
d295ce7b0a
Convert a bunch of wxLog* to the new logging method.
...
Originally committed to SVN as r4399.
2010-06-01 08:21:30 +00:00
Grigori Goronzy
e9c806d0de
Handle libass messages with wxLog* family of functions
...
Originally committed to SVN as r4357.
2010-05-24 03:41:06 +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
eb807fea3d
Add (char *) before string constant to silence warning. to ass_read_memory.
...
Originally committed to SVN as r3453.
2009-09-02 08:06:51 +00:00
Grigori Goronzy
a9b80dea4c
Update libass and adjust to API changes.
...
Update the internal libass copy to git commit cf7c6e4c and fix the
libass provider; libass types were renamed.
Originally committed to SVN as r3446.
2009-09-02 01:23:51 +00:00
Amar Takhar
6ee2f98349
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
...
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-29 22:59:22 +00:00
Amar Takhar
12aa34088a
Switch all headers to using Doxygen and cleanup contact info
...
* Swap old email + website address with 'Aegisub Project http://www.aegisub.org/ '
* Set categories for all files (jfs)
* Add descriptions for each file (jfs)
* Add $Id$ keyword
Originally committed to SVN as r3310.
2009-07-29 05:43:02 +00:00
Amar Takhar
c329c4e047
Update to 9ad13b from the libass git repo. ( http://greg.geekmind.org/viewgit/ ) This change also includes the ability to split off fontconfig cache updating into it's own step so dialogues can be used to warn the user about the font cache being updated (it can take several mins on slow machines with lots of fonts). Updates #841
...
Originally committed to SVN as r3176.
2009-07-19 19:33:29 +00:00
Amar Takhar
75bfada57e
Actually fix libosxutil includes, as many times as I'd like to belive using 'diff' to transfer from a working copy to a non-working copy is the safest I always endup convincing myself that it's impossible to screw-up a _two_ line patch.
...
Originally committed to SVN as r3121.
2009-07-13 22:38:43 +00:00
Amar Takhar
4599eec308
Wrap libosxutils headers with "extern C"
...
Originally committed to SVN as r3118.
2009-07-13 22:32:11 +00:00
Amar Takhar
24da41faaf
* BUILD_DARWIN was a define used for libass only, change it to __APPLE__ (sigh)
...
* char config_path -> const char *config_path for non-MAC builds. not sure how the first version got in.
Originally committed to SVN as r3107.
2009-07-12 20:10:25 +00:00
Amar Takhar
43adde723c
Fix OSX: Move our local libass patch into aegisub itself as libass now supports specifying a fontconfig config file.
...
Originally committed to SVN as r3105.
2009-07-11 17:28:27 +00:00
Amar Takhar
df2b0b5b67
Update libass to 15df37.
...
Originally committed to SVN as r3102.
2009-07-11 15:48:50 +00:00
Amar Takhar
17f1ccac06
Completely revert r2970 as line 84 causes crashes elsewhere. While the rest may not cause any issues it's better to deal with some leaking memory than hard crashes.
...
Originally committed to SVN as r3042.
2009-06-10 03:49:59 +00:00
Amar Takhar
eb27337349
Revert line 85 from r2970 as it causes aegisub to crash in very interesting ways. It's most likely not aegisubs fault entirely however removing this does fix the issue.
...
Originally committed to SVN as r3040.
2009-06-10 03:32:15 +00:00
harukalover
10a11ce0cc
Fixed some of the larger memory leaks in the LibassSubtitlesProvider detected by valgrind
...
Originally committed to SVN as r2970.
2009-05-22 04:09:09 +00:00
Amar Takhar
91d73ec8ea
SVN Transition Step 3/7
...
1. cd aegisub/
2. svn mv *cpp *h src/
3. svn mv Makefile.am MatroskaParser.c auto4_perldata.inc bitmaps boost \
changelog.txt config gl include libosxutil libresrc md5.c msvc mythes.cxx \
mythes.hxx res.rc src/
4. cd ..
5. svn mv FFmpegSource2/ INSTALL Makefile.am README acinclude.m4 \
autogen.sh automation/ bin build configure.in desktop dummy.txt lib \
libass/ m4macros/ packages/ po/ scripts/ universalchardet/ aegisub/
6. mkdir -p docs/wiki_convert
7. svn add docs/wiki_convert
8. cd docs
9. svn mv aegisub_convert_docs.pl convert.bat output wiki_convert/
* See r2749 for full description.
Originally committed to SVN as r2752.
2009-03-08 08:30:39 +00:00