Commit graph

31110 commits

Author SHA1 Message Date
Colin Finck
8d9b815544 Add a library "host_wcsfuncs" with implementations for UTF-16 string functions needed for some host tools
Instead of copying those functions into every host tool, which needs it (as we did previously), we can now implement them all in this library and link the host tools to it.
If USE_HOST_WCSFUNCS is not defined, the "wcsfuncs.h" file will define them to the CRT functions (so this library does not create overhead, when the code is built for the target platform)

See issue #3285 for more details.

svn path=/trunk/; revision=34050
2008-06-22 20:58:56 +00:00
Colin Finck
33c4221b1e Add support for a new environment variable ROS_GENERATE_RSYM to disable RSYM during the build
Patch by Alex

svn path=/trunk/; revision=34049
2008-06-22 18:38:12 +00:00
Colin Finck
c251e18523 Move wshtcpip to dll/win32, it's a DLL and not a driver
"Patch" by Alex

svn path=/trunk/; revision=34048
2008-06-22 18:19:19 +00:00
Aleksey Bragin
07a38cedf1 - Extend SEH to cover writing result to output arguments. Noticed by Stefan Ginsberg.
svn path=/trunk/; revision=34047
2008-06-22 16:24:15 +00:00
Aleksey Bragin
e1419be7cd SVN Maintenance: set eol-style:native for lib/sdk/crt.
svn path=/trunk/; revision=34046
2008-06-22 12:08:15 +00:00
Matthias Kupfer
39fd08d7ce - Seungju Kim <admin AT manateeshome DOT com>
- Korean translation of explorer-new added
- See issue #3368 for more details.
- Alexander Wurzinger <<Lohnegrim At gmx DOT net>
- Patch for the "CreateEnergyList failed"-Error added.
- See issue #2469 for more details.

svn path=/trunk/; revision=34045
2008-06-22 10:01:59 +00:00
Ged Murphy
7d842bd859 Don't link to libs we don't need
svn path=/trunk/; revision=34044
2008-06-21 23:27:23 +00:00
Ged Murphy
3c16ea89b9 - Auto expand the list of available tests
- Add the selected test to the main combo
- Tag the dll path to each combo item
- Run the test when the 'run' button is hit. 
We can now run all Wine tests from the GUI, but we get no feedback yet.

svn path=/trunk/; revision=34043
2008-06-21 19:19:22 +00:00
Aleksey Bragin
3ee18cdb67 - Provide a real fix for fwprintf and fputwc in case the output stream is in TEXT mode by doing a widechar to multibyte conversion.
- This should be submitted to Wine to close their bug.
See issue #3353 for more details.

svn path=/trunk/; revision=34042
2008-06-21 15:58:00 +00:00
Pierre Schweitzer
7cf55b1f25 Ext2 and NTFS:
- Remove FCB from the linked list when it's released
NTFS:
- Check we have a FCB before releasing it

svn path=/trunk/; revision=34041
2008-06-21 11:20:48 +00:00
Matthias Kupfer
1334454750 - fix hive for korean keyboard layout
Alexander Wurzinger <Lohnegrim At gmx DOT net>
- Patch to fix the "Pos InitData failed"-Error in power options.
- See issue #2469 for more details.

svn path=/trunk/; revision=34040
2008-06-21 10:08:09 +00:00
Pierre Schweitzer
3d5de429aa Bugfixes:
- Check whether we have a valid VCB before creating FCB
- Initialize FCBs list before using it...

svn path=/trunk/; revision=34039
2008-06-21 10:04:14 +00:00
Aleksey Bragin
cdd5ae5641 - vsn[w]printf -> _vsn[w]printf.
svn path=/trunk/; revision=34038
2008-06-21 10:00:59 +00:00
Aleksey Bragin
a04bcca3a3 Jeffrey Morlan <mrnobo1024@yahoo.com>
- Wrap libwine's memory allocations, avoiding msvcrt imports in kernel32
- The cause is that libwine/debug.c uses functions (malloc, free, realloc, _strdup) which are only present in a complete CRT, creating imports from msvcrt.dll in any module that uses it, including kernel32.dll. Since kernel32 is currently importing from msvcrt, kernel32 gets DLL_PROCESS_DETACHed first, creating a problem for msvcrt's DLL_PROCESS_DETACH which, as a result of a recent bugfix, now uses kernel32 functions that depend on the resources that were freed.
- Fix this by implementing those 4 functions as wrappers around the Local* APIs, in order to avoid the problematic imports.
See issue #3373 for more details.

svn path=/trunk/; revision=34037
2008-06-20 19:00:37 +00:00
Pierre Schweitzer
b22a7f63e8 Miscellaneous NTFS patch:
- Filled FCB structures with more informations
- Added them to linked list
- Set mounted volume to FILE_DEVICE_DISK_FILE_SYSTEM
- Various code cleanup

svn path=/trunk/; revision=34036
2008-06-20 18:40:57 +00:00
Ged Murphy
8683e62101 Don't forget to free the parent nodes
svn path=/trunk/; revision=34035
2008-06-20 11:39:31 +00:00
Ged Murphy
0537163f8d Save the select test info on close.
The browse dialog now lists all winetest dlls and allows selection of either all tests in all dlls, all tests within a dll, or the option to choose individual tests. (rewuires a modified winetest framework)

svn path=/trunk/; revision=34034
2008-06-20 11:20:26 +00:00
Ged Murphy
938f407a80 - build up test data for each node in the treeview and tag it
- traverse the tree recursively and free all data on close

svn path=/trunk/; revision=34033
2008-06-20 08:21:49 +00:00
Colin Finck
25f5cca19d Put a comment and an #if around the lines I changed in my previous commit, because the ##__VA_ARGS__ syntax was only tested with MSVC and GCC
svn path=/trunk/; revision=34032
2008-06-19 22:03:22 +00:00
Colin Finck
460379ac3f Reapply Ged's fix, this time correctly :-)
Thanks to hackbunny for pointing out that ##__VA_ARGS__ will strip the trailing comma and this works on both GCC and MSVC.

svn path=/trunk/; revision=34031
2008-06-19 21:57:32 +00:00
Ged Murphy
d726ab1152 revert the debug macros change, the entire codebase isn't ready for it yet
svn path=/trunk/; revision=34030
2008-06-19 21:40:08 +00:00
Ged Murphy
2db5b6cc04 Only call DbgPrintEx once for each debug macro. This stops trace info from being split over 2 lines in some tools, like DebugView.
svn path=/trunk/; revision=34029
2008-06-19 20:42:57 +00:00
Matthias Kupfer
0632ec63d8 - Template for korean keyboard layout implemented (TODO: kbdko.c needs modifications for korean keyboard layout)
- bootdata, hives and usetup modified for korean keyboard layout
- See issue #3345 for more details.
- Patch from Gabriel Ilardi <gabrielilardi [at] hotmail [dot] it> for timedate settings applied
- See issue #3251 for more details.



svn path=/trunk/; revision=34028
2008-06-19 17:58:43 +00:00
Colin Finck
fa77a22c50 GCC 4.3.x fixes for cabman and sysreg
Also clean up sysreg a bit and put all #include's for standard headers in the .h files. (they were spread around the .cpp and the .h files previously)

See issue #3370 for more details.

svn path=/trunk/; revision=34027
2008-06-19 17:07:38 +00:00
Aleksey Bragin
a00a86834c - Remove all string msvcrt->ntdll forwards: let's be consistent, either forward everything, or forward only something. I left assembly math functions though, since they are standalone and 100% identical.
- As a result, fixed a couple of incorrect functions linkage.
- Fixed a name of vsnprintf, so really msvcrt's version is used now, not RTL's one.

svn path=/trunk/; revision=34026
2008-06-19 13:08:46 +00:00
Aleksey Bragin
b1a06042c9 - Restored ACP/OEMCP/MACCP static entries (removed in 34010) - they are needed for LiveCD boot process.
svn path=/trunk/; revision=34025
2008-06-19 12:11:32 +00:00
Ged Murphy
671448e212 Add all modules within a test to the treeview
svn path=/trunk/; revision=34024
2008-06-19 11:57:14 +00:00
Aleksey Bragin
febcfe8913 - Revert 34010 completely, too much breakages. "Don't fix what's not broken".
svn path=/trunk/; revision=34023
2008-06-19 08:41:31 +00:00
Ged Murphy
b790fafdb2 add all test dlls into the treeview
svn path=/trunk/; revision=34022
2008-06-19 08:36:17 +00:00
Daniel Reimer
ab6d5a14d6 Bug 3362: Italian translation update by Paolo Devoti (devotip@tiscali.it)
svn path=/trunk/; revision=34021
2008-06-19 06:15:59 +00:00
James Tabor
a4a099099f Path does not work and it locks up the system with out any debug information. I will try to have it ready before 0.3.5 is release.
svn path=/trunk/; revision=34020
2008-06-19 01:47:57 +00:00
James Tabor
e402662f7e Set default miter limit.
svn path=/trunk/; revision=34019
2008-06-19 01:29:01 +00:00
Dmitry Chapyshev
2a4eb36d58 - Fix typos
svn path=/trunk/; revision=34018
2008-06-18 19:33:55 +00:00
Matthias Kupfer
2559061aa2 Jeffrey Morlan <mrnobo1024 AT yahoo DOT com>
- Patch for Optimizations of TextIntGetTextExtentPoint
- See issue #3366 for more details.

svn path=/trunk/; revision=34017
2008-06-18 19:15:37 +00:00
Ged Murphy
cda095c0fe The start of a GUI to make running the Wine API tests a pleasure rather than a pain.
This will plug into the new testing framework for the Wine tests, which will also publish it's results on a live website (if I can get Colin to help me with the web stuff ;) )
This is the time to pester me with requests / ideas anyone may have.

svn path=/trunk/; revision=34016
2008-06-18 19:10:39 +00:00
Dmitry Chapyshev
d73e9e4231 - Add rasacd driver (not implemented)
svn path=/trunk/; revision=34015
2008-06-18 19:00:50 +00:00
Dmitry Chapyshev
23b40d082d - Add "Alternate Sorts" keys (used by kernel32)
- Delete static codepages values (they are added in usetup)
- Add keys for powrprof/powercfg

svn path=/trunk/; revision=34014
2008-06-18 18:58:16 +00:00
Aleksey Bragin
297baed6c0 - Add a bit more DPFLTR items.
svn path=/trunk/; revision=34013
2008-06-18 17:56:07 +00:00
Dmitry Chapyshev
e612eaf998 - Small update icon
svn path=/trunk/; revision=34012
2008-06-18 16:48:25 +00:00
Dmitry Chapyshev
4cf0f9906b - Implement ReplaceFileA/W (not fully)
- Implement DnsHostnameToComputerNameA/W (not fully)
- Implement FoldStringA/W
- Implement SetCPGlobal (not tested)
- Implement TzSpecificLocalTimeToSystemTime
- Implement ReadFileScatter
- Implement WriteFileGather
- Other small changes
All based on Wine 1.0 implementation

svn path=/trunk/; revision=34010
2008-06-18 15:37:44 +00:00
Aleksey Bragin
f550691222 - Rename made-up Ob functions names to match publicly available NT names, as most of other Ob names do.
svn path=/trunk/; revision=34009
2008-06-18 12:28:29 +00:00
Aleksey Bragin
ab2b63b87b - More fixes to pushlock implementation:
* In ExTimedWaitForUnblockPushLock, check only for STATUS_SUCCESS (which is the only status return when the wait was satisfied, while other like STATUS_TIMEOUT would still be considered a success).
* In ExBlockPushlock, fix a typo when trying out an interlocked exchange with a new value - wrong value was assigned.
* In ExfAcquirePushLockShared, assign PushLock value passed to this function, not the NewValue, like it's done in ExfAcquirePushLockExclusive.
* In ExfReleaseReleasePushLockExclusive, fix a typo which led to incorrect behavior and not waking up the pushlock when it should be.

svn path=/trunk/; revision=34008
2008-06-18 11:34:10 +00:00
Matthias Kupfer
67572c740e - several german translation fixes
- missing file of issue #3365 added (see rev. 35004)

svn path=/trunk/; revision=34007
2008-06-18 11:19:07 +00:00
Aleksey Bragin
da950aee49 - Wake up a pushlock only if it wasn't waking already, not vice versa (was a typo in ExfAcquirePushLockExclusive, but was done correctly in ExfAcquirePushLockShared).
svn path=/trunk/; revision=34006
2008-06-18 09:53:38 +00:00
Matthias Kupfer
cd5d1959f0 Vytis Girdzijauskas <cman AT cman DOT us>
- Lithuanian translation of explorer-new and shimgvw
- See issue #3365 for more details.


svn path=/trunk/; revision=34005
2008-06-18 09:39:10 +00:00
James Tabor
7f2b7d7436 Implement Get/SetMiterLimit, with proper float containment.
svn path=/trunk/; revision=34004
2008-06-17 20:19:30 +00:00
Dmitry Chapyshev
9e2224d220 - Comment some languages
svn path=/trunk/; revision=34003
2008-06-17 20:11:22 +00:00
Dmitry Chapyshev
10ea44c612 - Add correct scrolling by keypress
svn path=/trunk/; revision=34002
2008-06-17 20:10:07 +00:00
Aleksey Bragin
9e8038303f Mikhail Zvyozdochkink <mzvyozd@narod.ru>
- Limit inputable max partition size to 999999 Mbs.
See issue #3356 for more details.

svn path=/trunk/; revision=34001
2008-06-17 18:42:20 +00:00
Aleksey Bragin
85dbdefb9f Daniel Zimmerman <netzimme@aim.com>
- Cosmetic fix: initialize pushlocks using a special macro, not by assigning 0 to its value.
See issue #3352 for more details.

svn path=/trunk/; revision=34000
2008-06-17 18:21:41 +00:00