Kevin Shanahan
b4ff9663cc
build: add ability to compile for WIN64 using MinGW64
...
Fix a few minor int<->pointer size warnings.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-15 21:49:16 +10:30
Kevin Shanahan
1dc62b426a
common: add VecStrf debugging helper and increase buffers to 8
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-13 12:57:56 +10:30
Kevin Shanahan
625fc2c61b
common: add VecStr convenience function
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-02 11:25:40 +10:30
Kevin Shanahan
8ce739fe3f
light: remove bsp30 support and automatically generate .lit when needed
...
Check whether any of the entities have colored fields set and if so,
enable colored light output. Can still be overridden from the command line
if needed.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-01 10:07:53 +10:30
Kevin Shanahan
5bb5c576f4
common: constify init_log filename argument
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-11 20:10:17 +10:30
Kevin Shanahan
fb3966eb02
common: use lockless logprint for Error() function
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-09 16:36:35 +10:30
Kevin Shanahan
f1dcf001ab
common: don't interrupt thread progress when no threads running
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-08 16:51:36 +10:30
Kevin Shanahan
a56030fad0
common: make logprint properly interrupt the thread progress display
...
Logprint will notify the threads code that the progress meter has been
interrupted and the progress meter will re-print the next time it needs to
be updated.
Unfortunately this makes all the utils depend on the thread code, but not
a big issue.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-08 16:37:48 +10:30
Kevin Shanahan
742fa4b6e5
common: fix progress indicator when start > 0
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-08 15:09:45 +10:30
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