Kevin Shanahan
3382f9ca96
common: catch up thread progress bar if not starting from zero
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-07 21:14:14 +10:30
Kevin Shanahan
3e20dae28e
common: add start arg to RunThreadsOn to set initial progress
...
In case we are not starting work from 0, allow this to be set...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-07 20:51:04 +10:30
Kevin Shanahan
853761d0d6
common: remove pacifier argument from RunThreadsOn
...
Set to true everywhere, just use it unconditionally.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-07 20:46:33 +10:30
Kevin Shanahan
37a9935643
common: remove commented out "less portable" timing code
...
Precise timing is not important for the job vis does.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-07 19:36:16 +10:30
Kevin Shanahan
498286faa1
common: output thread progress in 2% increments
...
Provides a bit more granularity than the old meter which only updated
every 10%.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-01-18 17:49:08 +10:30
Kevin Shanahan
c5ecfad903
common: flush stdout after printing log messages
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-01-18 17:48:51 +10:30
Kevin Shanahan
ecb66fb2aa
vis: convert full vis to use the thread progress code
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-12-26 14:01:26 +10:30
Kevin Shanahan
557a1faf20
common: make the common thread code usable on Win32/Linux
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-12-26 09:33:50 +10:30
Kevin Shanahan
f85b221da6
common: fix varargs use in log{,v}print
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-12-17 13:02:41 +10:30
Tyrann
ce369bfdd6
Use offsetof() consistently
...
And include stddef.h where we do use it
2012-01-06 21:32:53 +10:30
Ozkan Sezer
4b4da3e2d7
[PATCH] common: SetQdirFromPath fixes and documentation
...
Add somewhat better documentation for SetQdirFromPath which is actually a
painful functionality. Fixes a couple of corner cases like where the given
path contains no separator characters.
Signed-off-by: O.Sezer <sezero@users.sourceforge.net>
Edited-by: Tyrann <tyrann@disenchant.net>
Signed-off-by: Tyrann <tyrann@disenchant.net>
2007-09-08 21:04:50 +09:30
Ozkan Sezer
32d0cd9417
[PATCH] common: fixed a minor bug in ExpandPath of tyrutils
...
Signed-off-by: O.Sezer <sezero@users.sourceforge.net>
Signed-off-by: Tyrann <tyrann@disenchant.net>
2007-09-08 20:40:47 +09:30
Tyrann
2c2f3c8eb6
Import initial sources
2006-08-28 23:58:10 +09:30