1
0
forked from 0ad/0ad
Commit Graph

5880 Commits

Author SHA1 Message Date
77d2c67ada misc. string fixes
convert remaining %s to %hs or %ls
use WPRINTF_ARGS on unicode printf functions
fix: __func__ can't be widened via preprocessor (-> revert to char*)
convert remaining external_[directory|file_string to string()
Util: don't mix fwprintf and fprintf
Formation: fix dangling pointer (storing result of c_str())

This was SVN commit r7164.
2009-11-04 15:29:28 +00:00
e29d5a779f fix: wprintf: buffer mustn't be unicode (caught by self-test)
test_wdbg_sym - reenable, add test for basic stack walking
ia32_GetCallTarget - move frequent cases to front, add support for ILT
function trampolines
wdbg_sym: fix: ia32_walk_stack wasn't setting AddrStack; fix string
output

This was SVN commit r7163.
2009-11-04 14:24:54 +00:00
da3030cfe6 more unicode/string cleanup:
- swprintf -> swprintf_s
- use secure_crt's _wfopen_s instead of conversion+fopen
- centralize all MBS <-> WCS conversion in new wchar.cpp (requires
workspace rebuild)
- remove no longer needed os_path
- remove unnecessary fs::wpath / VfsPath constructor casts
- fixed buffer size parameters -> ARRAY_SIZE

This was SVN commit r7162.
2009-11-03 22:27:25 +00:00
8a52113e60 huge cleanup and conversion of most string handling (especially paths) to unicode
please note: format strings must be %hs for char* arguments and %ls for
wchar_t*

This was SVN commit r7161.
2009-11-03 21:46:35 +00:00
a46f3432f3 harmless changes in preparation for moving to unicode
ia32: fix: ia32_GetCallTarget wasn't always initializing target
x86_x64: use macro implementation for rdtsc to reduce timing overhead

This was SVN commit r7160.
2009-11-03 16:30:21 +00:00
e6f9d25925 Exclude system headers from dependency generation. (Speeds up 'make' with no file changes by ~80%)
This was SVN commit r7159.
2009-10-29 16:45:34 +00:00
f1e3468f10 Fix paths in makefile dependency generation
This was SVN commit r7157.
2009-10-23 21:41:23 +00:00
d63acc604f Apparently GUI should be able to try and set a setting, without it actually being defined, see comments in IGUIObject::LoadStyle.
Removing invalid access to setting in progress bar.
closes #314

This was SVN commit r7155.
2009-10-13 22:59:21 +00:00
85179afa0d This was SVN commit r7154. 2009-10-12 11:40:36 +00:00
b343249fcc add missing terrains.xml
avoid data-dependent bug (null pointer when no terrain properties
loaded)
fixes #307
thanks go to BadassTester and Heron!

This was SVN commit r7153.
2009-10-11 21:27:35 +00:00
e257bef5da Fix even more 64-bit warnings
This was SVN commit r7152.
2009-10-05 16:15:51 +00:00
6f9eaf769c Fix some more 64-bit warnings
This was SVN commit r7151.
2009-10-05 15:33:38 +00:00
f76dc5a062 by request of sluzky: add JS files to VS workspace to allow find-in-files and open-file-in-workspace
This was SVN commit r7150.
2009-10-04 11:49:07 +00:00
ea4abb8f3c Fix a 64-bit warning
This was SVN commit r7149.
2009-10-03 09:31:51 +00:00
a8f33553e8 cxxtestgen: More informative errors when failing to open files
This was SVN commit r7148.
2009-09-30 09:29:14 +00:00
92637c1041 refactoring all PS_RESULT in GUI to PSRETURN/PSERROR
closes #128

This was SVN commit r7147.
2009-09-27 15:04:46 +00:00
e31ca32479 fixing throwing exception
This was SVN commit r7146.
2009-09-26 19:18:15 +00:00
90f6641c1d Removing PS_RESULT errors from GUI, return values still need work
Affects Ticket #128

This was SVN commit r7145.
2009-09-23 21:16:55 +00:00
f118acf979 #(Internal) New helmet for Indibil.
This was SVN commit r7144.
2009-09-19 03:05:15 +00:00
fc0ad44125 Removing CGUIList.cpp to repair compilation warning
Affects Ticket #128

This was SVN commit r7143.
2009-09-13 20:36:34 +00:00
610842c9dd #New Celt House.
This was SVN commit r7142.
2009-09-11 21:19:38 +00:00
0e4f91fab9 Detect arch from gcc, not from uname, to cope with 32-bit userspace on 64-bit kernel
This was SVN commit r7141.
2009-09-11 16:43:07 +00:00
724418b1d6 Use extended regexps instead of advanced, for portability
This was SVN commit r7140.
2009-09-11 16:41:18 +00:00
b0ba529cee This was SVN commit r7139. 2009-09-09 21:09:38 +00:00
51a0dfb0e3 This was SVN commit r7138. 2009-09-08 20:53:12 +00:00
531555f742 This was SVN commit r7137. 2009-09-08 20:42:51 +00:00
490d207074 Roman quinquireme finished
This was SVN commit r7136.
2009-09-08 19:51:37 +00:00
888dfccd6a #[Internal] New Savannah dirt texture.
This was SVN commit r7135.
2009-09-07 22:24:00 +00:00
7d27f159e0 This was SVN commit r7134. 2009-09-07 22:19:02 +00:00
b5c7e3edac fix: output distance information in case of error to aid in diagnosis
This was SVN commit r7133.
2009-09-07 21:06:44 +00:00
4f8371988e #[Public] Big Desert terrain update.
This was SVN commit r7132.
2009-09-07 02:44:56 +00:00
739fcd8921 #(Public) New fauna: Zebra.
This was SVN commit r7131.
2009-09-04 05:00:34 +00:00
32dc4fd2f0 This was SVN commit r7129. 2009-08-27 20:54:09 +00:00
ad34a6c849 #(Public) New "Badlands" test map for the Open Sourcers.
This was SVN commit r7128.
2009-08-27 06:32:49 +00:00
51e95a99d8 This was SVN commit r7127. 2009-08-27 06:32:01 +00:00
17ea25b20e This was SVN commit r7126. 2009-08-26 22:45:36 +00:00
a1b58e0e58 This was SVN commit r7125. 2009-08-25 21:17:47 +00:00
69dccd4e20 #Quinctus Fabius Maximus.
This was SVN commit r7124.
2009-08-25 19:26:25 +00:00
926321c9de This was SVN commit r7123. 2009-08-25 03:35:48 +00:00
df9388c5fc This was SVN commit r7122. 2009-08-25 03:35:33 +00:00
f92fe2e25f #(Public Release) Desert Terrains update.
This was SVN commit r7121.
2009-08-25 03:29:53 +00:00
93ab45e434 simplify file implementation (remove unnecessary layer of abstraction)
ensure struct stat has 64-bit fields on windows
also fixed some warnings

This was SVN commit r7120.
2009-08-24 21:04:01 +00:00
94c7677c25 This was SVN commit r7119. 2009-08-24 01:18:25 +00:00
d15de1c16b This was SVN commit r7118. 2009-08-24 01:17:51 +00:00
e0ce4ce067 This was SVN commit r7117. 2009-08-24 01:17:26 +00:00
7e0e56253e #Savanna Biome stuff.
This was SVN commit r7116.
2009-08-24 00:56:08 +00:00
307953b9fc This was SVN commit r7114. 2009-08-17 03:41:17 +00:00
cd6a926c14 Fix #293 (Lots of printf format string errors), based on patch from Cygal
This was SVN commit r7113.
2009-08-14 18:42:39 +00:00
92786e368b use a simple linear distance model for attenuation
This was SVN commit r7112.
2009-08-12 21:28:10 +00:00
4c4fec0644 # fix sound error on Linux
Linux OpenALsoft implementations weren't resetting source state
correctly when stopping/clearing buffer queue, leading to errors when
the source was reused. workaround: use 'rewind' to ensure the buffer
state is updated.
closes #297 (please reopen if the problem persists)

This was SVN commit r7111.
2009-08-12 20:27:37 +00:00