Aegisub/aegisub/libaegisub/include/libaegisub
Thomas Goyne 53b6765dd8 Redesign DialogProgress
Add agi::ProgressSink and agi::BackgroundRunner interfaces to libaegisub
which represent a generic progress sink and a thing which calls funtions
that need progress sinks. Make DialogProgress implement
agi::BackgroundRunner, invoking the passed function on a worker thread
and giving it a progress sink to update the dialog with.

Rewrite Automation4::ProgressSink, LuaThreadedCall and all related
classes to be based on agi::ProgressSink. Automation now simply uses
DialogProgress (although that's merely an implementation detail) and
adds a single method to route dialog opening from the worker thread to
the GUI thread.

Originally committed to SVN as r5634.
2011-09-28 19:47:40 +00:00
..
cajun 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. 2010-05-21 01:13:36 +00:00
access.h Clean up libaegisub includes 2011-07-26 22:25:21 +00:00
background_runner.h Redesign DialogProgress 2011-09-28 19:47:40 +00:00
charset.h Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258. 2011-01-05 13:00:46 +00:00
charset_conv.h Clean up libaegisub includes 2011-07-26 22:25:21 +00:00
charset_conv_win.h Move most character set conversion code to libaegisub and make everything use the new conversion functionality. 2010-06-03 20:32:25 +00:00
charsets.def Remove charsets which libiconv does not support from charsets.def 2010-07-06 19:23:01 +00:00
colour.h 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. 2010-05-21 01:13:36 +00:00
exception.h Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258. 2011-01-05 13:00:46 +00:00
hotkey.h Clean up libaegisub includes 2011-07-26 22:25:21 +00:00
io.h Fix writing of newlines on windows in charsets wider than one byte 2010-09-15 05:00:12 +00:00
json.h Don't swallow errors when parsing json and make agi::json_util::file actually work 2011-07-26 19:52:47 +00:00
keyframe.h Clean up libaegisub includes 2011-07-26 22:25:21 +00:00
line_iterator.h Add some special cases to line_iterator that makes it significantly faster in common cases 2011-08-17 05:32:01 +00:00
log.h Clean up libaegisub includes 2011-07-26 22:25:21 +00:00
mru.h Make the MRU code not so bizzarely overcomplicated 2011-07-26 19:51:56 +00:00
mutex.h Fix a pile of warnings 2011-07-16 05:01:36 +00:00
option.h Fix reporter compilation errors 2011-07-16 03:36:42 +00:00
option_value.h Clean up libaegisub includes 2011-07-26 22:25:21 +00:00
path.h Clean up libaegisub includes 2011-07-26 22:25:21 +00:00
progress.h Add missing headers and change StdioProgressSink() to use std::cout and friends. 2011-02-07 00:46:49 +00:00
scoped_ptr.h Make scoped_ptr's constructor explicit 2011-01-16 07:16:07 +00:00
signal.h Clean up libaegisub includes 2011-07-26 22:25:21 +00:00
types.h Fix a pile of warnings 2011-07-16 05:01:36 +00:00
util.h Implement agi::util::freespace for Windows 2011-07-26 19:51:07 +00:00
util_osx.h Relicense libosxutil code (osx/util.cpp and include/util_osx.h) using the same license as the rest of the library. (obsd/2-clause bsdl) Done with the permission of current copyright holder jfs (Niels Martin Hansen). 2010-08-14 18:45:41 +00:00
util_win.h Add an ErrorString utility which converts the code from GetLastError() into a human readable std::string. 2010-05-22 21:09:37 +00:00
validator.h Clean up libaegisub includes 2011-07-26 22:25:21 +00:00
vfr.h Clean up libaegisub includes 2011-07-26 22:25:21 +00:00