Commit Graph

42088 Commits

Author SHA1 Message Date
Stefan Ginsberg
f368fdbf9a - Partially revert 29656. NTOS calls HalQuerySystemInformation with HalFrameBufferCachingInformation, and disables PAT and MTRR if it returns success + TRUE. There is no reason this would be needed in ReactOS at the moment, so revert to old behaviour.
svn path=/trunk/; revision=39001
2009-01-21 17:10:16 +00:00
Christoph von Wittich
bf2e430cf1 sync shlwapi with wine 1.1.13
svn path=/trunk/; revision=39000
2009-01-21 15:57:21 +00:00
Stefan Ginsberg
78a49fe707 - Stragglers from 38998
svn path=/trunk/; revision=38999
2009-01-21 15:03:14 +00:00
Stefan Ginsberg
0978aae3eb - Revert most of 38953. This was a bad idea, sorry.
svn path=/trunk/; revision=38998
2009-01-21 14:41:23 +00:00
Dmitry Chapyshev
e38146716a - Add baseaddress for itss and msimtf
svn path=/trunk/; revision=38997
2009-01-21 14:28:56 +00:00
Dmitry Chapyshev
12575f7f33 - Sync hhctrl with Wine head
svn path=/trunk/; revision=38996
2009-01-21 14:26:42 +00:00
Dmitry Chapyshev
928873cf85 - Add itss and msimtf from Wine
- Update README.WINE

svn path=/trunk/; revision=38995
2009-01-21 14:10:09 +00:00
Christoph von Wittich
d4835adc0b error msg on bad call
svn path=/trunk/; revision=38994
2009-01-21 13:27:18 +00:00
Christoph von Wittich
ea36a66139 revert 38992 as the problem is in wine's ole32.dll
svn path=/trunk/; revision=38993
2009-01-21 13:21:28 +00:00
Christoph von Wittich
0beccb3e1e check for null (fixes ole32 compobj winetest crash)
svn path=/trunk/; revision=38992
2009-01-21 12:50:24 +00:00
KJK::Hyperion
775bff8f2e modified tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/rule.cpp
   Add a few long overdue macros to the Rule class. Make rules now a little more readable
   Fixed winebuildDefRule: "$(INTERMEDIATE)$(SEP)$(source_path)$(SEP)$(source_name_noext)_$(module_name).auto.def" -> "$(INTERMEDIATE)$(SEP)$(source_dir)$(SEP)$(source_name_noext)_$(module_name).auto.def" -> "$(intermediate_path_unique).auto.def"
   Fixed "$(source_path)$(SEP)$(source_name_noext).spec" -> "$(source)" (what the eff, Arch?)
   makefile.auto stays identical after this change

svn path=/trunk/; revision=38991
2009-01-21 12:20:59 +00:00
Christoph von Wittich
7fb3244f85 fix typo
svn path=/trunk/; revision=38990
2009-01-21 12:13:17 +00:00
Christoph von Wittich
1686768e27 -add libxslt 1.1.24
-update libxml2 to 2.7.3
-add a new lib "wineldr" to hack around wine's .so lib crap (attention this depends on kernel32!)
-enable the usage of libxslt in msxml3

svn path=/trunk/; revision=38989
2009-01-21 12:09:32 +00:00
Dmitry Chapyshev
172f1d16ec - Update Russian translation
svn path=/trunk/; revision=38988
2009-01-21 11:27:19 +00:00
Dmitry Chapyshev
7244d6e310 - Replace watermark.bmp and header.bmp with better (from me)
svn path=/trunk/; revision=38987
2009-01-21 10:20:53 +00:00
Michael Martin
d5823b702a - npfs.h: The member named WriteMode is meaningless for pipes, as the write mode is the PipeType for both client and server. Change names to something more descriptive,ServerReadMode and ClientReadMode, for the members new use.
- create.c: Use new members.
- finfo.c: Check whether the pipe side is server or client and change/return appropriate ReadMode.
- fsctrl.c: Opps. Previous implementation was pretty much correct.
- rw.c: Silence debug message and use new members.
    Add multiple checks on whether pipe side is server or client and use appropriate ReadMode.
    If handling the next Irp in NpfsRead, remove the cancel routine before continuing the loop. Fixes BugCheck when running ntdll_winetest for file. Thank Christoph von Wittich for pointing this out.

svn path=/trunk/; revision=38986
2009-01-21 07:52:45 +00:00
Timo Kreuzer
d740961aa2 kdcom: Implement KdpReceivePacketLeader that tries to get a packet leader and starts over as soon as a single byte is wrong. Use it instead of the old code in KdReceivePacket. Implement more of KdReceivePacket, handling the actual packets. Make use of CurrentPacketId that gets xored with 1 when sending acks and initialized on a reset. Not handling this correctly made WinDbg wait for more packets, although it sent an ack packet already.
Only return KdPacketReceived on an ack packet, when we requested one. Stuff starts to work now. WinDbg connects then reports "Assertion 'Data->Length == 0' failed at ntoskrnl\kd64\kdapi.c line 310".

svn path=/branches/ros-amd64-bringup/; revision=38985
2009-01-21 02:53:48 +00:00
Aleksey Bragin
2e3d23a37d [FORMATTING]
- TABS -> SPACES

svn path=/trunk/; revision=38984
2009-01-20 19:15:08 +00:00
Stefan Ginsberg
25efba5b5b - Fix leftover from 38960
svn path=/trunk/; revision=38983
2009-01-20 18:58:08 +00:00
Aleksey Bragin
5862fb9aaa Alex Vlasov
- Move and rewrite FAT ondisk structures to a standalone header file fat.h.

svn path=/trunk/; revision=38982
2009-01-20 18:05:53 +00:00
Christoph von Wittich
f2e519c99a sync netapi32_winetest with wine 1.1.13
svn path=/trunk/; revision=38981
2009-01-20 17:09:46 +00:00
Christoph von Wittich
e6d7f59aa5 fix kernel32 codepage winetest
svn path=/trunk/; revision=38980
2009-01-20 16:27:05 +00:00
Stefan Ginsberg
3240148b13 - Fix my .diff mess from yesterday, sorry
svn path=/trunk/; revision=38979
2009-01-20 15:48:54 +00:00
Christoph von Wittich
140e549bd9 fix GetCurrentProcessorNumber and InterlockedCompareExchangePointer64 exports
svn path=/trunk/; revision=38978
2009-01-20 15:24:47 +00:00
Dmitry Chapyshev
29817cbb51 - Implement auto add keyboard layouts
svn path=/trunk/; revision=38977
2009-01-20 15:13:32 +00:00
Christoph von Wittich
befc05e353 fix advapi32.def
svn path=/trunk/; revision=38976
2009-01-20 15:04:03 +00:00
Christoph von Wittich
1ff1fb9564 revert 38962 as it breaks bootcd
svn path=/trunk/; revision=38975
2009-01-20 15:02:04 +00:00
Dmitry Chapyshev
077971b02b - Revert r34642. It is wrong.
svn path=/trunk/; revision=38974
2009-01-20 14:58:41 +00:00
Timo Kreuzer
bb91a6f44a rsym64: only compare lower 16 bits of checksum
svn path=/branches/ros-amd64-bringup/; revision=38973
2009-01-20 13:46:24 +00:00
Christoph von Wittich
6707cbf0a6 sync winebuild with wine 1.1.13
svn path=/trunk/; revision=38972
2009-01-20 11:44:30 +00:00
Timo Kreuzer
7ad31d2719 kdcom: implement KdpSendControlPacket and use it to respond with a reset packet to a reset packet. WindDbg expects this and will now finally except the resent packet and respond with a DBGKD_MANIPULATE_STATE64
svn path=/branches/ros-amd64-bringup/; revision=38971
2009-01-20 10:05:21 +00:00
Christoph von Wittich
7dfd3a9852 update mapi headers to wine 1.1.13
svn path=/trunk/; revision=38970
2009-01-20 08:19:52 +00:00
Christoph von Wittich
2486417489 stublement some more Activation Context stuff
fix RTL_ACTIVATION_CONTEXT_STACK_FRAME in NDK

svn path=/trunk/; revision=38969
2009-01-20 07:40:15 +00:00
Daniel Reimer
9e5731de5e Bug 4030: Greek Update by Apostolos Alexiadis
Bug 4044: Czech translation update - desk.cpl by Radek Liska
Bug 4035: a few updates for ros by Mario Kacmar
Bug 4037: Translate norwegian file by Lars Martin Hambro

svn path=/trunk/; revision=38968
2009-01-20 07:28:51 +00:00
Timo Kreuzer
eabd9536dd kdcom: partly handle control packets, now we resend our data on reset packets, but WinDbg still doesn't like them.
svn path=/branches/ros-amd64-bringup/; revision=38967
2009-01-20 03:17:31 +00:00
Timo Kreuzer
b03befb720 kdcom: initial implementation of KdSendPacket() and KdReceivePacket(). Based on info in ms windbgkd.h and http://www.nynaeve.net/?p=169
Now we start exchanging packets, but still not good enough to get things going.

svn path=/branches/ros-amd64-bringup/; revision=38966
2009-01-20 02:57:14 +00:00
Timo Kreuzer
2aa87f6dc5 kdcom: add a debug hack to use com2 for WinDbg, while com1 stays for FrLdrDbgPrint. Also mark the Port as initialized in KdDebuggerInitialize0. Remove the KD_RECV_CODE enum, use the KDSTATUS enum that already exist. Implement PACKET_TYPE_KD_POLL_BREAKIN case for KdReceivePacket as described in http://www.nynaeve.net/?p=169 Now we return from KdPollBreakIn().
svn path=/branches/ros-amd64-bringup/; revision=38965
2009-01-20 01:50:13 +00:00
Timo Kreuzer
9313950dd3 kdcom: Add KD_RECEIVE_CODE enum, implement KdpReceiveBuffer, HACK: misuse KdDebuggerInitialize1 to set a pointer to FrLdrDbgPrint
svn path=/branches/ros-amd64-bringup/; revision=38964
2009-01-20 01:05:07 +00:00
Timo Kreuzer
727c68db9e Implement KdpSendBuffer, KdpCalculateChecksum,
reference: http://www.vista-xp.co.uk/forums/technical-reference-library/2540-basics-debugging.html

svn path=/branches/ros-amd64-bringup/; revision=38963
2009-01-20 00:42:10 +00:00
Andrew Greenwood
f7e32af29b setupldr previously worked by faking the FreeLdr OS menu function. Now
FreeLdr has a special OS type for ReactOS Setup, which will only work for
the bootcd. As a result, bootcd can display a menu now. This opens up the
possibility of including both a "live" environment for users to play with
as well as the opportunity to install, from the same disc.


svn path=/trunk/; revision=38962
2009-01-19 23:38:08 +00:00
Stefan Ginsberg
56a1175be8 - Add 32-bit versions to wdbgexts.h
- Add lots of missing definitions to windbgkd.h, gathered from Singularity, tinykrnl, articles, blogs, etc

svn path=/trunk/; revision=38961
2009-01-19 23:34:27 +00:00
Stefan Ginsberg
dc7184e73f Fix the completely retarded implementation of KdComPortInUse.
The original definition of this variable seems to have been based on the retarded type in the serial.sys source sample, which defines it as:

extern PUCHAR *KdComPortInUse;

This, somehow, works in MSVC, but gcc complains about the lack of import specifier (KdComPortInUse is exported by HAL).
This was 'fixed' by adding the import specifier to ros.
So instead of: PUCHAR *KdComPortInUse;
We ended up with: NTHALAPI PUCHAR *KdComPortInUse;
Which becomes 3 dereferences instead of 2, which is incorrect. This was 'fixed' by hacking the variable in HAL too.
Use "extern PUCHAR NTHALAPI KdComPortInUse" to be compatible with both compilers, remove the HAL hacks, and fix the usage of the variable.

Fixes the serial.sys crash when booted with _WINKD_ + kdcom from Windows 2003, as kdcom would (due to the HAL hack) set the internal 'pointer' to the port value, and serial would end up dereferencing the port address

svn path=/trunk/; revision=38960
2009-01-19 23:22:22 +00:00
Timo Kreuzer
89bebbd18c go back to no debugging channels in freeldr
svn path=/branches/ros-amd64-bringup/; revision=38959
2009-01-19 23:02:13 +00:00
Stefan Ginsberg
ec8a8e45f6 - Re-add allowwarnings="true" for wrc too
- Re-add the wmc header fix too, accidentally reverted in previous commit

svn path=/trunk/; revision=38958
2009-01-19 22:54:50 +00:00
Stefan Ginsberg
bb0998a443 - Sorry, this broke build on certain Linux hosts
svn path=/trunk/; revision=38957
2009-01-19 22:19:00 +00:00
Timo Kreuzer
eb53e42811 crt update:
- initial implementation of secure crt functions for vista compatibility (implement _get_invalid_parameter_handler, _set_invalid_parameter_handler, _invalid_parameter)
- rewrite time apis, add TLS support, add 64bit time functions and secure crt function support

svn path=/branches/ros-amd64-bringup/; revision=38956
2009-01-19 22:05:27 +00:00
Timo Kreuzer
a6ccd8981a time.h: add asctime_s and localtime_s, remove sec_api include
wchar.h: fix WTIME definitions

svn path=/branches/ros-amd64-bringup/; revision=38955
2009-01-19 21:53:26 +00:00
Timo Kreuzer
31febcab86 Update README.WINE
svn path=/trunk/; revision=38954
2009-01-19 20:45:08 +00:00
Stefan Ginsberg
9e89c8c187 - Kill off more unnecessary allowwarnings="true"
- Remove a .rbuild diff from oleaut32_ros.diff -- Wine doesn't use .rbuild, so why put this in .diff?

svn path=/trunk/; revision=38953
2009-01-19 19:44:55 +00:00
Timo Kreuzer
da6a9dbfe5 Remove double brackets, I missed. Add a DPRINT1 if kernel is not loaded.
svn path=/branches/ros-amd64-bringup/; revision=38951
2009-01-19 18:50:19 +00:00