Thomas Goyne
a7f4fb5b87
Run clang-modernize on things
2013-11-23 09:57:22 -08:00
Thomas Goyne
3306ee126d
More unique_ptr
2013-06-11 20:54:07 -07:00
Thomas Goyne
5092ab20c9
Do logging on a background thread
...
Makes logging actually thread-safe and slightly improves performance.
2013-02-06 13:22:17 -08:00
Thomas Goyne
a942687050
Use a circular buffer to store only the last 250 log messages
2013-02-06 13:22:16 -08:00
Thomas Goyne
101721863a
Make log messages a little saner
2013-02-06 13:22:16 -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
1848aad5c1
Fix compilation with C++ 11/libc++
2012-11-12 18:35:21 -08:00
Thomas Goyne
0893ed3f0a
Remove references to tr1
2012-11-10 18:05:57 -08:00
Thomas Goyne
e44c47c863
Remove $Id$ markers since git doesn't support them
2012-10-25 17:39:49 -07: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
36548b93b1
Add a dialog manager for modeless dialogs so that they don't have to all be stuffed into the context
...
Originally committed to SVN as r6553.
2012-03-09 00:23:41 +00:00
Thomas Goyne
1a02d2ba3e
Add missing #include <algorithm> to dialog_log.cpp. Closes #1391 .
...
Originally committed to SVN as r6262.
2012-01-10 19:09:51 +00:00
Thomas Goyne
59ce8bf414
Pass wxStrings to wxString::Format rather than std::string in LogWindow
...
Originally committed to SVN as r6247.
2012-01-08 01:36:16 +00:00
Thomas Goyne
3ecc731ff3
Fix non-precompiled-header compilation
...
Originally committed to SVN as r6061.
2011-12-22 21:19:02 +00:00
Thomas Goyne
48d412468e
Make the log dialog not insane and crashy
...
Originally committed to SVN as r5958.
2011-12-02 04:36:06 +00:00
Amar Takhar
9f1b1f1cad
Use std::string on osx/unix as well as osx doesn't have strndup.
...
Originally committed to SVN as r4735.
2010-08-12 14:34:54 +00:00
Amar Takhar
e2d9241efd
No need to disable as this is done when it's deleted anyway.
...
Originally committed to SVN as r4713.
2010-07-25 17:34:17 +00:00
Amar Takhar
c624b20777
Left align microseconds by 6 spaces.
...
Originally committed to SVN as r4683.
2010-07-17 17:47:59 +00:00
Amar Takhar
9a3e1c58f0
Use an std::string for now when printing messages.
...
Originally committed to SVN as r4467.
2010-06-09 02:06:37 +00:00
Amar Takhar
2d1bea39cf
* Change wxID_CLOSE to wxID_OK
...
* Destroy the dialogue when closed
* Don't delete *sink.
Originally committed to SVN as r4413.
2010-06-03 03:07:43 +00:00
Amar Takhar
2e156b8c4f
Add a temp stub to dialog_log.cpp to get it building on windows. This still has memory issues which I'll fix along with a new util function to get localtime_r() data on windows+unix.
...
Originally committed to SVN as r4412.
2010-06-03 01:22:02 +00:00
Amar Takhar
719b7c2281
Add a basic "log window", this will be more polished and useful later on for now it's just something quick and dirty.
...
There are a few issues to fix:
* Delete the pointer in frame_main from the modless dialog.
* Fix string storage in the logging class.
* Close button doesn't work.
Originally committed to SVN as r4406.
2010-06-02 23:47:39 +00:00