Commit graph

16373 commits

Author SHA1 Message Date
Emanuele Aliberti
d008d6c377 Modify CsrAddStaticServerThread signature.
svn path=/trunk/; revision=17283
2005-08-11 11:49:36 +00:00
Emanuele Aliberti
0a7659bfce Fix HEAD compilation.
LPC_MESSAGE.DataSize ==> PORT_MESSAGE.u1.s1.DataLength
LPC_MESSAGE.MessageSize ==> PORT.u1.s1.TotalLength

svn path=/trunk/; revision=17282
2005-08-11 09:19:10 +00:00
Emanuele Aliberti
f83c14b3fc Emit Win32 error messages on failure.
svn path=/trunk/; revision=17281
2005-08-11 09:07:48 +00:00
Emanuele Aliberti
97ffde7504 LPC_MESSAGE.MessageType ==> PORT_MESSAGE.u2.s2.Type
Make head copmpile.

svn path=/trunk/; revision=17280
2005-08-11 09:01:30 +00:00
Emanuele Aliberti
2b0800d266 First attempt to convert the VMS demo server.
Note: it does NOT work.

svn path=/trunk/; revision=17279
2005-08-11 08:46:57 +00:00
Emanuele Aliberti
e1b5e79e30 Some guessing on the API used by server DLLs.
svn path=/trunk/; revision=17278
2005-08-11 07:13:03 +00:00
Alex Ionescu
bd3f2eea3c - Use correct, documented, LPC Message structures (PORT_VIEW, REMOTE_PORT_VIEW). Fix all caller code to use new member names and structure names.
svn path=/trunk/; revision=17277
2005-08-11 03:23:44 +00:00
Steven Edwards
c5785454c2 TrackMoveEvent is a semi-implemented not UNIMPLEMENTED. Shut it up.
svn path=/trunk/; revision=17276
2005-08-11 03:15:17 +00:00
Alex Ionescu
479fa4e4ae - Use correct, documented, LPC Message structure (PORT_MESSAGE). Fix all caller code to use new member names and structure names.
svn path=/trunk/; revision=17275
2005-08-11 02:58:54 +00:00
Royce Mitchell III
eb742a2d70 initialize StringBuffer to NULL, as some code paths lead to it being tested without ever being set.
svn path=/trunk/; revision=17274
2005-08-11 02:51:51 +00:00
Alex Ionescu
f9b3f28fbe Move doc folder to media
svn path=/trunk/; revision=17273
2005-08-11 01:18:22 +00:00
Alex Ionescu
be97362b23 - Fix DEVICE_NODE definition to remove ROS-only fields
- Move RTL_HEAP_PARAMETERS to umtypes.h
- Fix PROCESS_PRIORITY_CLASS_XXX definitions.
- Use PROCESS_PRIORITY_CLASS_INVALID in process creation code.
- Move and correct EX_PUSH_LOCK definition to ntifs.h
- Define KQUEUE along with KAPC_STATE if ntifs.h is not used, so that we don't force its usage
- Enable usage of EX_QUEUE_WORKER_INFO and EX_WORK_QUEUE without requiring the IFS.
- Fix definition of CsrClientConnectToServer
- Update NDK FIXME list
- Define and use a list of Bus Type GUIDs instead of saving the GUID in a ROS-only field of DEVICE_NODE.
- Use a IRP_MN_QUERY_CAPABILITIES PnP IRP to get the Address of a DeviceNode, intead of saving it inside a ROS-only field.

svn path=/trunk/; revision=17272
2005-08-11 00:01:17 +00:00
Gé van Geldorp
4a6a9d5dd2 Phil Krylov <phil@newstar.rinet.ru>
- Fixed winebuild operation in Darwin.
Steve Zellers <zellers@mac.com>
- Fixed leftover import table name in output_import_thunk.
Alexandre Julliard <julliard@winehq.org>
- Replace configure macros by explicit platform checks (probably not
  correct on all platforms yet).
- Moved most of the implementation of CALL32_CBClient(Ex) to the C
  code.
- Don't use the full 32 bits of %esp when called from 16-bit code.
- Added a --target option to allow cross-compilation.
- Improve a bit the assembly generated for import thunks.
- Don't depend on ELF features for PIC code.
- A couple of optimizations.
- Intercept functions for 16-bit relay debugging by patching the
  CALLFROM16 table instead of having the wine_call_from_16 functions
  call out the relay functions explicitly.
- Added vararg argument type so that the relay code can distinguish from
  a normal cdecl function.
- Don't rely on the relay thunk preserving the stack pointer.
- Moved all 16-bit relay code to the text section.
- Changed a few symbol names for better consistency.
- Get rid of the global debugging flag.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
Marcus Meissner <marcus@jet.franken.de>
- Fixed signedness warnings.

svn path=/trunk/; revision=17271
2005-08-10 22:15:12 +00:00
Emanuele Aliberti
455ce26dde Minor change in two strings.
svn path=/trunk/; revision=17270
2005-08-10 21:09:05 +00:00
Steven Edwards
e6c6ee13be enable building shell32_test. some header fixes
svn path=/trunk/; revision=17269
2005-08-10 20:58:29 +00:00
Steven Edwards
877dc5eaf7 added shell32 tests. Not enabled just yet
svn path=/trunk/; revision=17268
2005-08-10 20:35:15 +00:00
Gunnar Dalsnes
be6f8b5112 move WM_SYSTIMER where it belongs
svn path=/trunk/; revision=17265
2005-08-10 19:19:13 +00:00
Gunnar Dalsnes
da39d77ab9 add missing define
svn path=/trunk/; revision=17264
2005-08-10 18:42:27 +00:00
Magnus Olsen
22e4c47f94 Windows 2000 does not always zerofill data if you are using heap_zero fill. to be 100% sure everything are zero fill, we need zerofil the whole object before instate
svn path=/trunk/; revision=17263
2005-08-10 18:10:45 +00:00
Gunnar Dalsnes
16b5d11ec3 move W32PROCESS/W32THREAD into win32\include bcause they are win32k private structs
svn path=/trunk/; revision=17262
2005-08-10 18:09:44 +00:00
Hartmut Birr
daa17455d6 Fixed the base detection in RtlUnicodeStringToInteger again.
svn path=/trunk/; revision=17261
2005-08-10 17:49:57 +00:00
Gunnar Dalsnes
09b2e7c1fc fix horribly broken ftol. this fixes abiword 2.0.3
svn path=/trunk/; revision=17260
2005-08-10 17:48:13 +00:00
Royce Mitchell III
62457a811e registry entries to install .inf files. No clue if this is correct.
svn path=/trunk/; revision=17259
2005-08-10 17:19:13 +00:00
Aleksey Bragin
e7956d8d90 Fixed a typo. According to the url pointed out by Royce3, it's right ( http://www.osronline.com/lists_archive/ntdev/thread1866.html)
svn path=/trunk/; revision=17258
2005-08-10 16:33:49 +00:00
Hartmut Birr
aa33dda36b Fixed the base detection in RtlUnicodeStringToInteger.
svn path=/trunk/; revision=17257
2005-08-10 11:45:50 +00:00
Emanuele Aliberti
c04cc0cebf Alex Ionescu: more details about the CSR core protocol.
svn path=/trunk/; revision=17256
2005-08-10 09:09:28 +00:00
Emanuele Aliberti
a0dd7af2e4 Change the demo VMS subsystem definition.
svn path=/trunk/; revision=17255
2005-08-10 08:36:37 +00:00
Emanuele Aliberti
8236221006 Some new internal headers (draft) to be used in the planned CSR/WIN split subsystem server.
svn path=/trunk/; revision=17254
2005-08-10 08:28:08 +00:00
Steven Edwards
b5fe5d7dcb another shot at fixing writes
svn path=/trunk/; revision=17253
2005-08-10 03:59:01 +00:00
Royce Mitchell III
49844139cc fix typo
svn path=/trunk/; revision=17252
2005-08-10 03:32:15 +00:00
Hervé Poussineau
ce28abcbca Active functions related to interfaces enumeration: SETUP_CreateSerialDeviceList, SETUP_CreateInterfaceList, SetupDiGetDeviceInterfaceDetailW. They were disabled since r17210
Replace ERROR_NO_SYSTEM_RESOURCES by ERROR_NOT_ENOUGH_MEMORY
Replace #ifdef __WINESRC__ by #ifndef __REACTOS__, as ReactOS also defines __WINESRC__
Minor fixes

svn path=/trunk/; revision=17251
2005-08-09 20:12:35 +00:00
Magnus Olsen
7217d69487 Thx harmut you did see the small bug, I miss, do not use MAX_PATH as lenght of command line, it must be CMDLINE_LENGTH instead, patch by Brandon Turner
svn path=/trunk/; revision=17250
2005-08-09 19:52:16 +00:00
Hartmut Birr
f52a064741 Silence a debug message.
svn path=/trunk/; revision=17249
2005-08-09 19:35:07 +00:00
Hartmut Birr
19f47fc57c If the file object is for a device, we must gather some information
from the object attribute (at least the OBJ_INHERIT flag). We cannot 
use IoCreateStreamFileObject because a handle from such a file object 
is never inheritable.

svn path=/trunk/; revision=17248
2005-08-09 19:12:46 +00:00
Maarten Bosma
2afd140d2a Full some additional Structs
svn path=/trunk/; revision=17247
2005-08-09 19:11:57 +00:00
Steven Edwards
296b3402ac implemented ?name@type_info@@QBEPBDXZ.msvcr and __unDName based on code from Wine
svn path=/trunk/; revision=17246
2005-08-09 17:55:47 +00:00
Gunnar Dalsnes
22ad71c0a6 return timer id for windowed timers also
svn path=/trunk/; revision=17245
2005-08-09 16:15:52 +00:00
Hervé Poussineau
ac5643191a Implement SetupDiGetSelectedDriverW/SetupDiSetSelectedDriverW
Define rank of a driver as in MSDN description
Fix comments in Flags/FlagsEx description
Factorise DeviceInfoElement structure creation in CreateDeviceInfoElement().

svn path=/trunk/; revision=17244
2005-08-09 16:13:50 +00:00
Hartmut Birr
1f19cd831e Update KeActiveProcessors if an application processor does start.
svn path=/trunk/; revision=17243
2005-08-09 16:08:00 +00:00
Emanuele Aliberti
58c487c4c3 Minor change.
svn path=/trunk/; revision=17242
2005-08-09 16:01:42 +00:00
Hartmut Birr
0d961d4d80 - Don't try to close the thread handle twice.
- Close the process handle on exit for _P_OVERLAY.

svn path=/trunk/; revision=17241
2005-08-09 15:47:14 +00:00
Hartmut Birr
fa6916cb11 - Don't try to free the returned buffer from getenv.
- Split the path correctly from shell command.

svn path=/trunk/; revision=17240
2005-08-09 15:44:54 +00:00
Hartmut Birr
b4c4fdb519 Don't use the required access rights for the object attributes.
svn path=/trunk/; revision=17239
2005-08-09 15:41:10 +00:00
Maarten Bosma
225642a5f6 Add second call to DdQueryDirectDrawObject.
svn path=/trunk/; revision=17238
2005-08-09 13:57:03 +00:00
Magnus Olsen
c2fcc4a380 fix a minor bug, for bad writen driver. some drv checking for two DDRAWI_DDRAWSURFACE_LCL array instead for one. But it is not the bug
svn path=/trunk/; revision=17237
2005-08-09 11:18:48 +00:00
Alex Ionescu
1d1e963067 Return failure if native function failed. one more test passes
svn path=/trunk/; revision=17236
2005-08-09 08:54:56 +00:00
Alex Ionescu
61ffdb3516 - Last patch was incomplete, apologies. SVN @ 5AM = bad idea.
- Do not report that ROS is running on 0 active processors, that's a bad idea.
- Actually check the affinity mask set by NtSetInformationThread
- Fix the check in KeSetAffinityThread
- Give a valid affinity to the system thread (corresponding to the active cpu affinity set).

This removes all bugchecks from the kernel32 thread winetest.

svn path=/trunk/; revision=17235
2005-08-09 08:50:57 +00:00
Alex Ionescu
6fd4c50fd3 Fix priority formulas, account for saturation, do proper km_um conversions for out of bounds or saturation priorirites, create an internal priority change function to be called if the lock is already held (however it's not efficient yet since ros dispatches instead of schedules, and so the lock is sometimes released, but i did write a small hack to account for that)... this fixes more wine tests
svn path=/trunk/; revision=17234
2005-08-09 08:02:05 +00:00
Magnus Olsen
2b0d98ed0e Thx Royce3 for notice's a typo error CreateData to CanCreateData in a if statement. But it is not the bug we are looking for.
svn path=/trunk/; revision=17233
2005-08-09 07:42:00 +00:00
Alex Ionescu
fe9647d739 It is generally considered a bad idea to dereference an object after the reference failed..... this fixes another wine test and avoids a bugcheck
svn path=/trunk/; revision=17232
2005-08-09 06:28:23 +00:00