Gunnar Dalsnes [Thu, 17 Feb 2005 10:44:57 +0000 (10:44 +0000)]
fix typo
svn path=/trunk/; revision=13614
Gunnar Dalsnes [Thu, 17 Feb 2005 00:01:54 +0000 (00:01 +0000)]
remove more cruft
svn path=/trunk/; revision=13613
Casper Hornstrup [Wed, 16 Feb 2005 23:17:17 +0000 (23:17 +0000)]
Interpret numeric values as being hexadecimal values if they contain hex digits a-f
svn path=/trunk/; revision=13612
Gunnar Dalsnes [Wed, 16 Feb 2005 23:08:04 +0000 (23:08 +0000)]
hack into private crt headers
svn path=/trunk/; revision=13611
Casper Hornstrup [Wed, 16 Feb 2005 22:38:49 +0000 (22:38 +0000)]
Support private messages
svn path=/trunk/; revision=13610
Gunnar Dalsnes [Wed, 16 Feb 2005 22:30:50 +0000 (22:30 +0000)]
ntdll:
-critical.c: catch (more) invalid use
-impl. sscanf (stolen from wine)
crt:
-use native mingw headers and not private copies of them
-converted some routines to using tchar == impl. many missing unicode routines
-impl. sscanf and friends correctly (stolen from wine)
tchar.h:
-added lotsa missin stuff
svn path=/trunk/; revision=13609
Gunnar Dalsnes [Wed, 16 Feb 2005 22:29:48 +0000 (22:29 +0000)]
ntdll:
-critical.c: catch (more) invalid use
-impl. sscanf (stolen from wine)
crt:
-use native mingw headers and not private copies of them
-converted some routines to using tchar == impl. many missing unicode routines
-impl. sscanf and friends correctly (stolen from wine)
tchar.h:
-added lotsa missin stuff
svn path=/trunk/; revision=13608
Gunnar Dalsnes [Wed, 16 Feb 2005 22:29:16 +0000 (22:29 +0000)]
ntdll:
-critical.c: catch (more) invalid use
-impl. sscanf (stolen from wine)
crt:
-use native mingw headers and not private copies of them
-converted some routines to using tchar == impl. many missing unicode routines
-impl. sscanf and friends correctly (stolen from wine)
tchar.h:
-added lotsa missin stuff
svn path=/trunk/; revision=13607
Gunnar Dalsnes [Wed, 16 Feb 2005 22:22:42 +0000 (22:22 +0000)]
crt:
-use native mingw headers and not private copies of them
tchar.h:
-added lotsa missin stuff
svn path=/trunk/; revision=13606
Eric Kohl [Wed, 16 Feb 2005 21:59:00 +0000 (21:59 +0000)]
Add lsasrv.dll stub.
svn path=/trunk/; revision=13605
Casper Hornstrup [Wed, 16 Feb 2005 21:07:55 +0000 (21:07 +0000)]
Support multiple channels
svn path=/trunk/; revision=13604
Filip Navara [Wed, 16 Feb 2005 18:21:21 +0000 (18:21 +0000)]
Cast pointers to ULONG_PTR instead of ULONG.
svn path=/trunk/; revision=13603
Filip Navara [Wed, 16 Feb 2005 18:19:54 +0000 (18:19 +0000)]
Fix email address.
svn path=/trunk/; revision=13602
Filip Navara [Wed, 16 Feb 2005 18:12:15 +0000 (18:12 +0000)]
Fix a typo.
svn path=/trunk/; revision=13601
Filip Navara [Wed, 16 Feb 2005 18:10:12 +0000 (18:10 +0000)]
Fix definition of MIDL_SERVER_INFO structure.
svn path=/trunk/; revision=13600
Filip Navara [Wed, 16 Feb 2005 18:02:50 +0000 (18:02 +0000)]
Minor formatting change.
svn path=/trunk/; revision=13599
Art Yerkes [Wed, 16 Feb 2005 16:52:51 +0000 (16:52 +0000)]
Fix compilation with -O3 and fix bugs 484 and 505. win32k patches by Tinus.
svn path=/trunk/; revision=13598
Thomas Bluemel [Wed, 16 Feb 2005 16:45:51 +0000 (16:45 +0000)]
get rid of libunicode
svn path=/trunk/; revision=13597
Thomas Bluemel [Wed, 16 Feb 2005 16:44:54 +0000 (16:44 +0000)]
Forward to user32 when appropriate in shlwapi and removed dependencies to libunicode
svn path=/trunk/; revision=13596
Eric Kohl [Wed, 16 Feb 2005 15:44:34 +0000 (15:44 +0000)]
- Implement CaptureStringArg and CaptureAndConvertAnsiArg.
- FileExists: Restore error mode.
- Move configuration manager functions to a separate file.
- Add cfgmgr32.h.
svn path=/trunk/; revision=13595
Filip Navara [Wed, 16 Feb 2005 15:27:30 +0000 (15:27 +0000)]
File system drivers should forward the IRP_MJ_SHUTDOWN request to underlying storage drivers. Fixes bug #504.
svn path=/trunk/; revision=13594
Thomas Bluemel [Wed, 16 Feb 2005 14:01:34 +0000 (14:01 +0000)]
converted libexpat to a static library
svn path=/trunk/; revision=13593
Steven Edwards [Wed, 16 Feb 2005 03:17:36 +0000 (03:17 +0000)]
Add EOL to make gcc shutup.
svn path=/trunk/; revision=13592
James Tabor [Wed, 16 Feb 2005 00:24:12 +0000 (00:24 +0000)]
Update and sync Msiexec with Wine Cvs.
svn path=/trunk/; revision=13591
Filip Navara [Tue, 15 Feb 2005 19:43:17 +0000 (19:43 +0000)]
Fix inline assembler register specification (gcc.gnu.org/bugzilla/show_bug.cgi?id=10153).
svn path=/trunk/; revision=13587
Gé van Geldorp [Tue, 15 Feb 2005 19:26:13 +0000 (19:26 +0000)]
Use bitwise operators for ROUND_UP/DOWN and rename them
to ROUND_UP_POW2/ROUND_DOWN_POW2
svn path=/trunk/; revision=13585
Gé van Geldorp [Tue, 15 Feb 2005 17:25:01 +0000 (17:25 +0000)]
Fix ROUND_UP when N is a multiple of S. Proposed by unC0Rr.
svn path=/trunk/; revision=13584
Thomas Bluemel [Tue, 15 Feb 2005 15:46:22 +0000 (15:46 +0000)]
secured buffer access in NtCreateSection(), NtOpenSection(), NtMapViewOfSection(), NtQuerySection() and NtExtendSection()
svn path=/trunk/; revision=13583
Thomas Bluemel [Tue, 15 Feb 2005 14:37:53 +0000 (14:37 +0000)]
don't leak the captured file name in NtCreatePagingFile() when probing the other parameters failed
svn path=/trunk/; revision=13582
Thomas Bluemel [Tue, 15 Feb 2005 13:40:10 +0000 (13:40 +0000)]
distinguish kmode and umode alertability
svn path=/trunk/; revision=13581
Thomas Bluemel [Tue, 15 Feb 2005 11:46:31 +0000 (11:46 +0000)]
NtQueueApcThread always inserts a umode apc
svn path=/trunk/; revision=13580
Thomas Bluemel [Mon, 14 Feb 2005 22:50:15 +0000 (22:50 +0000)]
secured access to buffers in NtWaitForSingleObject(), NtWaitForMultipleObjects() and NtSignalAndWaitForSingleObject()
svn path=/trunk/; revision=13579
Thomas Bluemel [Mon, 14 Feb 2005 21:41:49 +0000 (21:41 +0000)]
fixed the NtRaiseHardError() prototype
svn path=/trunk/; revision=13578
Mike Nordell [Mon, 14 Feb 2005 21:07:25 +0000 (21:07 +0000)]
Fix broken DEVICE_NO_FLUSH handling for ATAPI devices, with augmentation to check the SupportedFeatures83 of the device. Thanks to tinus_ for finding and fixing.
svn path=/trunk/; revision=13577
Thomas Bluemel [Mon, 14 Feb 2005 21:00:05 +0000 (21:00 +0000)]
1. a few previous mode fixes
2. implemented NtSetDefaultHardErrorPort() with help of pseudo code from windowsitlibrary.com
svn path=/trunk/; revision=13576
Gé van Geldorp [Mon, 14 Feb 2005 18:39:15 +0000 (18:39 +0000)]
Sync to Wine-
20050211
svn path=/trunk/; revision=13573
Gé van Geldorp [Mon, 14 Feb 2005 18:36:46 +0000 (18:36 +0000)]
Delete old version in preparation of vendor drop
svn path=/trunk/; revision=13572
Eric Kohl [Mon, 14 Feb 2005 17:10:20 +0000 (17:10 +0000)]
Export splay-tree and generic table functions.
svn path=/trunk/; revision=13569
Thomas Bluemel [Mon, 14 Feb 2005 17:03:16 +0000 (17:03 +0000)]
don't walk all the timers as they're sorted.
svn path=/trunk/; revision=13568
Thomas Bluemel [Mon, 14 Feb 2005 16:49:36 +0000 (16:49 +0000)]
fixed typo and don't use memcpy to just copy a 32bit variable...
svn path=/trunk/; revision=13567
Thomas Bluemel [Mon, 14 Feb 2005 16:41:53 +0000 (16:41 +0000)]
don't remove the timer from the list before walking to the next timer. also handle over-due timers in KeSetTimerEx(). This should make the system bootable again.
svn path=/trunk/; revision=13566
Gé van Geldorp [Mon, 14 Feb 2005 15:55:32 +0000 (15:55 +0000)]
Sync to Wine-
20050211
Oleh R. Nykyforchyn <nick@pu.if.ua>
- Ukrainian codepage 21866 added and respective files corrected. Two
keyboard layouts (for Ukrainian and Russian) added.
svn path=/trunk/; revision=13562
Gé van Geldorp [Mon, 14 Feb 2005 15:04:09 +0000 (15:04 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- Properly implement DllCanUnloadNow ref counting.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
svn path=/trunk/; revision=13561
Gé van Geldorp [Mon, 14 Feb 2005 14:55:38 +0000 (14:55 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- use only stored result of Interlocked* in AddRef/Release
- expand TRACEs to display the ref count
Hans Leidekker <hans@it.vu.nl>
- Stub implementations for PathUnExpandEnvStringsSHRegEnumUSValue{A,W},
SHRegCreateUSKey{A,W}, SHRegDeleteEmptyUSKey{A,W},
SHRegDeleteUSValue{A,W}, SHRegEnumUSValue{A,W}.
- Implement and test PathIsValidChar{A,W}.
Paul Vriens <Paul.Vriens@xs4all.nl>
- Change the order of Src and Dst in CopyKey calls/functions.
svn path=/trunk/; revision=13560
Gé van Geldorp [Mon, 14 Feb 2005 14:50:45 +0000 (14:50 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- use only stored result of Interlocked* in AddRef/Release
- expand TRACEs to display the ref count
Hans Leidekker <hans@it.vu.nl>
- Stub implementations for PathUnExpandEnvStringsSHRegEnumUSValue{A,W},
SHRegCreateUSKey{A,W}, SHRegDeleteEmptyUSKey{A,W},
SHRegDeleteUSValue{A,W}, SHRegEnumUSValue{A,W}.
- Implement and test PathIsValidChar{A,W}.
Paul Vriens <Paul.Vriens@xs4all.nl>
- Change the order of Src and Dst in CopyKey calls/functions.
svn path=/trunk/; revision=13559
Eric Kohl [Mon, 14 Feb 2005 14:36:03 +0000 (14:36 +0000)]
- Implement RtlSetAttributesSecurityDescriptor, RtlInitializeGenericTableAvl, RtlNumberGenericTableElements and RtlNumberGenericTableElementsAvl.
svn path=/trunk/; revision=13558
Thomas Bluemel [Mon, 14 Feb 2005 11:57:51 +0000 (11:57 +0000)]
fixed some warnings
svn path=/trunk/; revision=13557
Thomas Bluemel [Mon, 14 Feb 2005 11:46:17 +0000 (11:46 +0000)]
don't leak a reference to the timer object when copying to the buffer failed in NtQueryTimer() and don't use uninitialized variable in NtSetTimer()
svn path=/trunk/; revision=13556
Gé van Geldorp [Mon, 14 Feb 2005 07:46:14 +0000 (07:46 +0000)]
netzimme@netscape.net
Make RTL8029 work with NE2000 driver
svn path=/trunk/; revision=13555
Alex Ionescu [Mon, 14 Feb 2005 05:36:04 +0000 (05:36 +0000)]
Reimplemented Kernel and Executive Timers. Use Microsoft documented structures, added locks to protect against race conditions, use dispatcher database, implement new features like wake timers, use thread timer lists, simplify timer list, add more comments and debug info, actually add apc/dpc functions which do what the should do, fix a couple of bugs, simplfiy absolute vs relative timers. I will do more testing and see wether an experimental Timer Tree patch (which greatly speeds up timer processing) is necessary.
svn path=/trunk/; revision=13554
Thomas Bluemel [Mon, 14 Feb 2005 00:32:09 +0000 (00:32 +0000)]
probe pointers in NtCreateToken. Still needs some work as access to the buffers needs to be secured
svn path=/trunk/; revision=13553
Thomas Bluemel [Mon, 14 Feb 2005 00:28:12 +0000 (00:28 +0000)]
secure access to buffers in NtAllocateLocallyUniqueId
svn path=/trunk/; revision=13552
Gé van Geldorp [Sun, 13 Feb 2005 23:10:36 +0000 (23:10 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- Properly implement DllCanUnloadNow ref counting. Make sure the mozilla
control is ready to unload as well.
- Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
Mike McCormack <mike@codeweavers.com>
- Stub definition for OpenUrl.
svn path=/trunk/; revision=13551
Emanuele Aliberti [Sun, 13 Feb 2005 23:03:17 +0000 (23:03 +0000)]
Resource script uses the new generic rc script.
svn path=/trunk/; revision=13550
Thomas Bluemel [Sun, 13 Feb 2005 23:01:33 +0000 (23:01 +0000)]
don't return value of uninitialized variable
svn path=/trunk/; revision=13549
Thomas Bluemel [Sun, 13 Feb 2005 22:56:12 +0000 (22:56 +0000)]
don't return value of uninitialized variable
svn path=/trunk/; revision=13548
Emanuele Aliberti [Sun, 13 Feb 2005 22:55:28 +0000 (22:55 +0000)]
SM - some more work
svn path=/trunk/; revision=13547
Gé van Geldorp [Sun, 13 Feb 2005 22:42:47 +0000 (22:42 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Mike McCormack <mike@codeweavers.com>
- Implement GetAdvise and SetAdvise.
Henning Gerhardt <henning.gerhardt@web.de>
- A small spelling fix and a small update (thank to Andreas Mohr).
- Update German resources.
Joris Huizer <jorishuizer@planet.nl>
- add file_operation_delete
- add file_operation_checkFlags
- use these in SHFileOperationW replacing inline code
svn path=/trunk/; revision=13544
Thomas Bluemel [Sun, 13 Feb 2005 22:00:36 +0000 (22:00 +0000)]
fixed wrong buffer check in NtDuplicateToken and added buffer checks in NtOpenThreadTokenEx
svn path=/trunk/; revision=13541
Hartmut Birr [Sun, 13 Feb 2005 21:32:50 +0000 (21:32 +0000)]
- Silence a debug message.
svn path=/trunk/; revision=13540
Emanuele Aliberti [Sun, 13 Feb 2005 21:32:41 +0000 (21:32 +0000)]
LPC message type LPC_CONNECTION_REFUSED does not exist in NT.
svn path=/trunk/; revision=13539
Emanuele Aliberti [Sun, 13 Feb 2005 21:31:34 +0000 (21:31 +0000)]
NtAcceptConnectPort signature fixed.
svn path=/trunk/; revision=13538
Emanuele Aliberti [Sun, 13 Feb 2005 21:18:37 +0000 (21:18 +0000)]
Fix OriginalCopyright.
svn path=/trunk/; revision=13537
Emanuele Aliberti [Sun, 13 Feb 2005 21:17:34 +0000 (21:17 +0000)]
OriginalCopyright added.
svn path=/trunk/; revision=13536
Emanuele Aliberti [Sun, 13 Feb 2005 21:16:59 +0000 (21:16 +0000)]
Resource script added.
svn path=/trunk/; revision=13535
Gé van Geldorp [Sun, 13 Feb 2005 21:06:18 +0000 (21:06 +0000)]
Sync to Wine-
20050211
Jonathan Ernst <Jonathan@ErnstFamily.ch>
- Updated French resources.
svn path=/trunk/; revision=13534
Gé van Geldorp [Sun, 13 Feb 2005 21:03:37 +0000 (21:03 +0000)]
Sync to Wine-
20050211
James Hawkins <truiken@gmail.com>
- Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Initialize temporary variants before calling VariantChangeTypeEx.
- When parsing an hex/oct integer value, copy value verbatim in VARIANT,
rather than a negated value. Add test case for this behavior.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Remove message telling users to copy native stdole32.tlb over as we
now provide it.
- Better trace in LoadTypeLib.
- Change debug messages type to reflect we provide stdole32.tlb.
Robert Shearman <rob@codeweavers.com>
- Move OLE automation interface registration to oleaut32.
- Add IRemUnknown to list of interfaces to register.
Mike Hearn <mh@codeweavers.com>
- Change some FIXMEs to ERRs to reflect the fact that nothing needs
fixing.
- Fix some memory leaks on error paths in _marshal_interface.
- Fix a typo, propagate errors better from inside the typelib
marshaller.
- Return OLE automation build value as win2k by default.
Rein Klazes <wijn@wanadoo.nl>
- SafeArrayDestroy() returns success when called with a NULL
pointer. Added to the test cases.
Paul Vriens <Paul.Vriens@xs4all.nl>
- Add WinXP to OaBuildVersion.
svn path=/trunk/; revision=13533
Gé van Geldorp [Sun, 13 Feb 2005 20:52:16 +0000 (20:52 +0000)]
Sync to Wine-
20050211
Robert Shearman <rob@codeweavers.com>
- Add documentation for most Co* functions.
- Move several functions into different files to group them with
similar functions.
- Implement CoDisconnectObject.
- Change CoLockObjectExternal so that it does the correct action now
and eliminate a fair few lines of now redundant code.
- Rename OLE32_Dll{Register,Unregister}Server to
Dll{Register,Unregister}Server.
- Move OLE automation interface registration to oleaut32.
- Add IRemUnknown to list of interfaces to register.
- Make proxy manager use IMultiQI instead of IInternalUnknown as tests
show that IInternalUnknown isn't exposed.
- Implement IMultiQI on top of IRemUnknown calls.
- Silence some fixmes that occur during tests and don't give us any
useful information.
- Fix typo in class factory proxy that caused us to use the wrong
offset into the CFProxy structure, causing us to not call the
outer_unknown properly.
- Use InterlockedIncrement for the ipid counter instead of a critical
section (suggested by Mike Hearn).
- Remove a line added by a bad merge.
- Implement RemUnkStub_Disconnect.
- Remove all of the RPC disconnect code.
- Implement IRemUnknown.
- Use IRemUnknown for life-cycle management instead of the current
hacks.
- Generate machine-local IPIDs.
- Make pipes be uniquely identified only by their IPID.
- Implement table marshaling.
- The apartment reference should be held while the stub manager
reference is held.
- Fix same apartment-unmarshal detection.
- Proxies/stubs for IRemUnknown methods, based on code written by Ove
Ksven.
- Initialize ppv pointer in ClientIdentity_QueryInterface to NULL as
apps depend on this.
- Don't release IRpcProxyBuffer on ifproxy destruction - the caller
will do this for us.
- Make find_proxy_manager add a reference to the proxy manager and
make proxy_manager_construct return an object with a valid
ref-count.
- Remove stray not operator to fix a memory leak / crash in
proxy_manager_destroy.
- More debug messages, especially on errors.
- Fix ref-count leak in the Class Factory proxy.
- Add a test case for IClassFactory_CreateInstance.
- Split up apartment creation so that the long code paths that don't
need locking no longer have locking.
- Add special cases for the threads that join apartments but can't
increase the refcount of the apartment.
- Free TLS storage on thread destruction (including releasing the
apartment the thread is in, if any, and so making another test
pass).
- More tests.
- Change return code of CoGetPSClsid to match test result.
- Do a slight hack to make IRemUnknown proxies be added after the
proxy that uses them to stop them being used after they are
destroyed.
- Fix multiple local server connections.
- The apartment reference should be held while the stub manager
reference is held.
- Fix same apartment-unmarshal detection.
- Don't use the pipe caching code because it doesn't work correctly at
the moment.
- Always write disconnect reply packet, even in failure cases.
- Move object-to-stub-manager mapping rule to register_ifstub.
- Pass the original IID to IMarshal_UnmarshalInterface and query for
the requested interface.
- Unmarshaling IID_NULL means use the IID the interface was originally
marshaled with.
- Add code for destroying the thread-local storage data, but don't use
it yet.
- Don't release apartment on changing modes because we didn't add a
reference anywhere.
- Quieten the RPC_E_DISCONNECTED error message as it is an expected
return code.
- Treat IID_NULL the same as IID_IUnknown.
- Make tests compile on Win95 again.
- Fix copy+paste error where the test failure should be from the
CoUnmarshalInterface function.
- Give IUnknown its own ifstub to fix ref-counting and ipid storage
issues.
- Add a new flag SORFP_NOLIFETIMEMGMT to tell the proxy manager not to
call any IRemUnknown functions.
- Move the low-level unmarshaling code into a new function,
unmarshal_object, so that it can be easily reused for unmarshaling
IRemUnknown.
- Consolidate more stub creation details into register_ifstub.
- Replace the current wine_marshal_id structure with STDOBJREF for the
on-the-wire format.
- Initialize clsid member to the marshaler clsid to fix custom
marshaling.
- Make proxy shutdown test succeed by releasing the channel on
disconnect.
- Remove wine_marshal_data: it is unneeded and there is no equivalent in
STDOBJREF.
- Remove obsolete structs, rearrange things to group the structs
together and to group similar functions.
- Document thread-safety of members of structs.
- Document CoSetState & CoGetState.
- Rewrite them to only retrieve TLS info once.
- Remove trailing whitespace in COM_CurrentInfo.
- Release the client security objects when no longer needed (reported by
Mike McCormack).
- Implement CoSetProxyBlanket, CoQueryProxyBlanket and CoCopyProxy.
- Update todo list.
- Destroy stubs on apartment shutdown.
- Make MTA dynamically allocated so that proxies and other resources
are freed at the proper time.
- Changed/removed some incorrect comments regarding apartments.
Mike Hearn <mh@codeweavers.com>
- Various formatting/style changes.
- Force context switch on chanbuf disconnect to avoid a race in the test
suite.
Mike Hearn <mh@codeweavers.com>
Robert Shearman <rob@codeweavers.com>
- Rework RPC dispatch layer to be simpler and not get confused by
server/client duality.
- Make threads shut down at the right time and not access freed memory
after apartment destruction.
- Rename stub_dispatch_thread to client_dispatch_thread.
- Add some more tracing
- Check return value of WaitNamedPipe.
- Change named pipe timeouts to 0.5s, which should be enough for even the
slowest machines.
Christian Costa <titan.costa@wanadoo.fr>
- CoInitialize(Ex) should return S_FALSE when COM is already initialized
for the current thread.
svn path=/trunk/; revision=13532
Hartmut Birr [Sun, 13 Feb 2005 17:25:52 +0000 (17:25 +0000)]
- Forgot this file.
- Prepared cdfs for using CcInitializeCacheMap/CcUninitializeCacheMap instead of CcRosInitializeFileCache/CcRosReleaseFileCache.
svn path=/trunk/; revision=13531
Hartmut Birr [Sun, 13 Feb 2005 17:23:41 +0000 (17:23 +0000)]
- Prepared ntfs for using CcInitializeCacheMap/CcUninitializeCacheMap instead of CcRosInitializeFileCache/CcRosReleaseFileCache.
svn path=/trunk/; revision=13530
Hartmut Birr [Sun, 13 Feb 2005 17:21:16 +0000 (17:21 +0000)]
- Prepared cdfs for using CcInitializeCacheMap/CcUninitializeCacheMap instead of CcRosInitializeFileCache/CcRosReleaseFileCache.
svn path=/trunk/; revision=13529
Hartmut Birr [Sun, 13 Feb 2005 17:10:59 +0000 (17:10 +0000)]
- Partial implementation of IoSetInformation.
svn path=/trunk/; revision=13528
Hartmut Birr [Sun, 13 Feb 2005 17:09:10 +0000 (17:09 +0000)]
- Initialize the Lock value of a stream file object.
svn path=/trunk/; revision=13527
Hartmut Birr [Sun, 13 Feb 2005 15:38:56 +0000 (15:38 +0000)]
- Changed the definition of fpos_t to a 64bit value to get binutils 2.15.94 working.
svn path=/trunk/; revision=13526
Klemens Friedl [Sun, 13 Feb 2005 13:49:55 +0000 (13:49 +0000)]
VMware SVGA Wizard:
* add title and subtitle (wizard window)
* center the wizard window
* update english and german language files
svn path=/trunk/; revision=13525
Thomas Bluemel [Sun, 13 Feb 2005 13:03:44 +0000 (13:03 +0000)]
fixed returning the reference to the token in SeCopyClientToken() and probe pointer when neccessary
svn path=/trunk/; revision=13524
Steven Edwards [Sun, 13 Feb 2005 02:11:22 +0000 (02:11 +0000)]
Remove the old control apps from rosapps/control.
svn path=/trunk/; revision=13522
Aleksey Bragin [Sat, 12 Feb 2005 23:31:15 +0000 (23:31 +0000)]
Some basics of driver wrapper - establish dispatch functions, a very basic AddDevice handler. Still stubs, but they will be filled with something very soon!
svn path=/trunk/; revision=13521
Aleksey Bragin [Sat, 12 Feb 2005 23:27:27 +0000 (23:27 +0000)]
Added cromwell's drivers into build/install process. Now we have two alternatives: usbport/usbXhci or usbcore/ohci.sys. With time they will be merged into one, or cromwell will be wasted and usbport/usbXhci will be written from scratch.
svn path=/trunk/; revision=13520
Aleksey Bragin [Sat, 12 Feb 2005 23:11:10 +0000 (23:11 +0000)]
Fixed a copy-n-paste typo in usbuhci ("Type"->"Image" reg key), also adding ohci driver entry (loads in VirtualPC).
svn path=/trunk/; revision=13519
Gé van Geldorp [Sat, 12 Feb 2005 22:59:04 +0000 (22:59 +0000)]
Sync to Wine-
20050211
Mike McCormack <mike@codeweavers.com>
- add support for Edit boxes in MSI dialogs
- run the message loop when waiting for threads or processes
- fix the dialog font
- allow waiting on a handle while running the message loop
- implement checkboxes in dialogs
- use TextStyle enumeration instead of numbers
- fix MSI_IterateRecords to return the correct count
- Add more dialog controls, do something when they're clicked on.
- Implement MsiPreviewDialog.
- Implement and document MsiLoadString.
- Added stub implementations for MsiPreviewDialog and
MsiPreviewBillboard.
- Fix MsiModifyView and MsiViewGetColumnInfo to use MSIRECORD* not MSIHANDLE.
- Implement, test and document MsiDecomposeDescriptor.
- Handle a number as a parameter for custom action 19.
- Move OpenQuery into msiquery.c and make it non-static.
- Fix and test inserting records.
- Fix refcounting, use Interlocked functions.
- MsiEvaluateCondition returns an error when passed NULL as a
condition.
- Lock record in MsiViewExecute, move stubs to end.
- Fix MsiRecordSetString for NULL strings and update test case.
- Fix a bug caused by freeing memory too soon in the table code.
- Update headers, add MsiGetUserInfoA stub implementation.
- Fix a memory leak in MsiConfigureProductExW.
- Indentation and style cleanup.
- implement MsiOpenPackageEx, and forward MsiOpenPackage there
- make a MSI_CreatePackage function and use it in MSI_OpenPackage
- move MsiOpenPackageA down with the rest of the API functions
Juan Lang <juan_lang@yahoo.com>
- Partially implement AppSearch action.
- If a full path isn't specified, search across all fixed drives.
- Simplify AppSearch error checking.
- Identifiers evaluate to true if they are non-empty, regardless of
value.
Aric Stewart <aric@codeweavers.com>
- action.c is getting too big, so split out all the handling of
CustomActions into custom.c. Cleaned up a lot of the handling of
custom actions including scripting actions and processing return
codes.
- Mike McCormack pointed out that MsiFormatRecord is basically the
same as internal function deformat_string. So broke deformat_string
out and updated it to function as MsiFormatRecord and implemented
MsiFormatRecord.
- A number of random fixes to action.c including properly calculating
the length for the LocalPackage name, not forcing a reboot when
really we should just return ERROR_INSTALL_SUSPEND and handling
REG_MULTI_SZ now that we can deformat the properly.
- Move the guid squishing functions out of msi.c and make a new
registry.c file. Also clean up all the various registry keys we need
to open and create to this module and modify the functions for msi.c
to call these functions.
- Added a few more stub implementations.
- Implement custom action type 19, Halt install and display error
message.
- Continued work to simplify the ProcessAction call, also split it into
a ProcessAction and ProcessUIAction for future dialog box work.
Also fix a bug in deformat_string where i was not freeing the created
record.
- Make a temp file for each dll saved for custom actions. This prevents
name collisions from causing custom actions to fail.
- Do not track the temp files for custom actions based on the name from
the table because then we get conflicts and files not tracked or
cleaned up.
- Add the RegisterUser action.
- Implement RegisterExtensionInfo and RegisterMIMEInfo.
- Add logic to be able to resolve the SourceDir based on
CurrentPath. Also add logic to get the source locations of a file if
it is not in a cabinet.
- Finish up the framework by stubbing out all the remaining Standard
actions.
- A fix to deformat_string so it only returns a null return if you
provided a null buffer.
- Eliminate the giant if.. else if block from ACTION_ProcessAction in
favor of a table of handlers.
- Return code of the install should not depend on the return code of the
final action.
- Update component installed states as they are installed so that
conditions based on component states are at least a little more
correct.
- Add icon and argument when regestering clsids.
- Add a stub for ResolveSource because we do that work just not in
ResolveSource like we should.
- When quering a Component state return the correct state.
- Enable the updating of Feature and thus the resulting component
states.
- Run the end of install actions for suspend and user exit states as
well.
- Start putting in place a currently running state for future ui use.
- Use the new registry functions in registry.c.
- Do not force a reboot, just return ERROR_INSTALL_SUSPEND and write
some keys to the registry.
- Quite a few fixes:
- Allow for the queing of custom actions to trigger on the
InstallExecute or InstallExecuteAgain actions.
- allow for the queing of custom actions to trigger on
InstallFinalize.
- Properly set the CustomActionData property for said queued actions.
- Implement RegisterProduct.
- Beginning implementation of ForceReboot.
- Don't kill install if an item to be duplicated does not exist.
- Write out SourceList and LastUsedSource for resuming installs.
- Use regsvr32 to register self reg dlls.
- Implementations for SelfRegModules and PublishFeatures.
- Set default ACTION property for Install.
- Deformat more than JUST properties properly. Allows for Files and
Component paths in deformat.
- Properly deformat a LaunchCondition failure dialog box.
- Resolve and save registry Keypaths.
- Write the Features published keys more correctly. Still some
problems.
- First implementation of the WriteIniValues action.
- Custom actions can have null in their target parameters, handle that
without crashing. Also enable deformating of lines greater than 256
characters.
- Added some more suminfo stubs.
- An implementation of MsiSummaryInfoGetPropertyW based off of
MsiSummaryInfoGetPropertyA.
- Added stubs for MsiGetShortcutTargetA/W.
- Do a very basic first implementation of MsiConfigureProductExW for
msiexec /@ when run as a reboot.
- Also add a number of new stubs for the office xp and 2k3 install and
startup process.
- Fix a copy and paste error, check for a null value and discard
unneeded errors.
- Do not limit properties to 256 characters when evaluating them.
- Setting a record to an empty string is the same as making it null.
- First pass implement ion of MsiQueryProductState[A/W] as well as a few
fixes for MsiGetComponentPath.
- Actually start on an implemention for MsiGetComponentPathW that should
handle all keypaths that are files.
- A reworking of format.c to remove the recursion, clean things up and
stabilize behavior to match windows.
- Cleanup processing a bit more.
- Allow for nested keys to work properly.
- MsiGetProperty does not return any error on missing properties.
- The new Insert fixes now properly require ?,? instead of just ? for
the Insert call. This fix modifies the MSI_SetProperty query to be
correct.
Michael Stefaniuc <mstefani@redhat.de>
- Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Ulrich Czekalla <ulrich@codeweavers.com>
- Handle 0 length buffers in MSI_FormatRecordW.
- Remove unused buffer in deformat_string.
Mike Hearn <mh@codeweavers.com>
- Correctly ensure properties set from resolved directory paths are
backslash terminated.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Marcus Meissner <meissner@suse.de>
- Initialize rc in create_component_directory().
Alexandre Julliard <julliard@winehq.org>
- Avoid unnecessary run-time initializations.
svn path=/trunk/; revision=13518
Gé van Geldorp [Sat, 12 Feb 2005 21:46:45 +0000 (21:46 +0000)]
Sync to Wine-
20050211
Alexandre Julliard <julliard@winehq.org>
- It makes no sense to export the dll entry point as stub.
svn path=/trunk/; revision=13517
Gé van Geldorp [Sat, 12 Feb 2005 21:26:15 +0000 (21:26 +0000)]
Sync to Wine-
20050211
Juan Lang <juan_lang@yahoo.com>
- Make netspi.h private, as some of its declarations conflict with
npapi.h. Spotted by Paul Vriens.
Jonathan Ernst <Jonathan@ErnstFamily.ch>
- Updated French resources.
Henning Gerhardt <henning.gerhardt@web.de>
- Update German resources.
svn path=/trunk/; revision=13516
Gé van Geldorp [Sat, 12 Feb 2005 21:07:16 +0000 (21:07 +0000)]
Sync to Wine-
20050211
Carlos Lozano <clozano@andago.com>
- Fix regression in Fallout game.
Remi Assailly <remi.assailly@free.fr>
- char -> const char fixes.
Robert Reif <reif@earthlink.net>
- Copy data structures one at a time using supplied size.
svn path=/trunk/; revision=13515
Gé van Geldorp [Sat, 12 Feb 2005 21:03:08 +0000 (21:03 +0000)]
Henning Gerhardt <henning.gerhardt@web.de>
- Update German resources.
Robert Shearman <rob@codeweavers.com>
- Draw a representation of a document in the page setup dialog.
- Change some FIXME's to TRACE's because everything we need is
implemented and they fire for ones that we don't need to implement.
Remi Assailly <remi.assailly@free.fr>
- char -> const char fixes.
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Updated Spanish resources.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Correct coordinates of a couple of controls.
- Do not forget to allocate internal OPENFILENAMEW structure for 16-bit
GetOpenFileName, initialize it by zeros for 16/A cases.
- Make GetOpenFileNameW with an old style open file dialog work with the
original OPENFILENAMEW structure, making sure that all changes are
passed back to the caller.
Ulrich Czekalla <ulrich@codeweavers.com>
- GetFileName31W should call unicode version of FD31_AllocPrivate.
Jonathan Ernst <Jonathan@ErnstFamily.ch>
- Updated French resources.
svn path=/trunk/; revision=13514
Gé van Geldorp [Sat, 12 Feb 2005 20:51:20 +0000 (20:51 +0000)]
Sync to Wine-
20050211
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Dimitrie O. Paun <dpaun@rogers.com>
- Use the LVCFMT_{LEFT,RIGHT,CENTER} enumeration flags properly.
Alexandre Julliard <julliard@winehq.org>
- Store the "managed" flag as a window property instead of the
Wine-specific WS_EX_MANAGED style bit.
Paul Vriens <Paul.Vriens@xs4all.nl>
- Remove needless check for horizontal or vertical pager.
Paul Vriens <Paul.Vriens@xs4all.nl>
- Remove the checking/setting of the defaults in TRACKBAR_Create.
svn path=/trunk/; revision=13513
Thomas Bluemel [Sat, 12 Feb 2005 20:37:04 +0000 (20:37 +0000)]
the callback management doesn't have to be serialized as it's only accessed by the thread itself
svn path=/trunk/; revision=13512
Thomas Bluemel [Sat, 12 Feb 2005 17:15:04 +0000 (17:15 +0000)]
added stubs for NeedCurrentDirectoryForExePathA/W()
svn path=/trunk/; revision=13511
Emanuele Aliberti [Sat, 12 Feb 2005 14:34:39 +0000 (14:34 +0000)]
SM - Sorry, I forgot silence dbg messages!
svn path=/trunk/; revision=13505
Emanuele Aliberti [Sat, 12 Feb 2005 14:33:41 +0000 (14:33 +0000)]
PSX: posixw32: some work for compatibility with future SM
svn path=/trunk/; revision=13504
Eric Kohl [Sat, 12 Feb 2005 12:42:10 +0000 (12:42 +0000)]
- Implement RtlGetLastNtStatus, RtlGetLastWin32Error, RtlRestoreLastWin32Error, RtlSetLastWin32Error and RtlSetLastWin32ErrorAndNtStatusFromNtStatus.
svn path=/trunk/; revision=13503
Thomas Bluemel [Sat, 12 Feb 2005 11:47:03 +0000 (11:47 +0000)]
The structure layout of self-relative security descriptors may be different from absolute security descriptors depending on the platform. Self-relative security descriptors always use 32 bit offsets while absolute security descriptors use pointers which could be 64 bits.
svn path=/trunk/; revision=13502
Gé van Geldorp [Sat, 12 Feb 2005 09:17:51 +0000 (09:17 +0000)]
Check subsystem
svn path=/trunk/; revision=13501
Emanuele Aliberti [Sat, 12 Feb 2005 09:08:52 +0000 (09:08 +0000)]
SM - clean, simplify, make more readable
- split initialization in more files to make it more readable
- cleaned up some code
- simplified some code
- documented some todos
svn path=/trunk/; revision=13500
Art Yerkes [Sat, 12 Feb 2005 03:53:19 +0000 (03:53 +0000)]
AddrWidenAddress: set type
NBFlushPackets: We already hold the table lock when calling this.
svn path=/trunk/; revision=13499
Gé van Geldorp [Fri, 11 Feb 2005 21:02:35 +0000 (21:02 +0000)]
Be compatible with some of the crap apps out there
svn path=/trunk/; revision=13497
Eric Kohl [Fri, 11 Feb 2005 16:01:10 +0000 (16:01 +0000)]
Ooops! These are the correct exports.
svn path=/trunk/; revision=13494
Eric Kohl [Fri, 11 Feb 2005 15:52:38 +0000 (15:52 +0000)]
Implement RtlGetSecurityDescriptorRMControl, RtlSetSecurityDescriptorRMControl, SetSecurityDescriptorControl, GetSecurityDescriptorRMControl and SetSecurityDescriptorRMControl.
svn path=/trunk/; revision=13493
Eric Kohl [Fri, 11 Feb 2005 12:06:29 +0000 (12:06 +0000)]
- Implement RtlSetControlSecurityDescriptor
- Remove property set functions from ntdll.def because they are not implemented in Win2K and above.
svn path=/trunk/; revision=13492
Gé van Geldorp [Thu, 10 Feb 2005 22:54:30 +0000 (22:54 +0000)]
Match packing in DDK
svn path=/trunk/; revision=13491