Johannes Anderwald
909de8f972
- Prevent a crash by checking the applet name if it is empty and does exist
...
- %1 is used for file argument, where %2, %3, %n indicate the index of the passed param, %* is the rest of the command
- Directly pass the full filename to ShellExecuteExW from the default context menu
- Should fix executing cpl in default shellview
svn path=/trunk/; revision=35643
2008-08-25 21:02:21 +00:00
Samuel Serapion
26ac2c8ab5
Convert to spec file.
...
svn path=/branches/ros-amd64-bringup/; revision=35642
2008-08-25 20:52:17 +00:00
Johannes Anderwald
d0e1f5701b
- Fix multiple bugs in HCR_GetDefaultVerbW
...
svn path=/trunk/; revision=35641
2008-08-25 20:16:42 +00:00
Timo Kreuzer
fac43bb581
Merge merge 34713 from ros-amd64-bringup branch:
...
fix NtCurrentTeb()
svn path=/trunk/; revision=35639
2008-08-25 19:01:09 +00:00
Stefan Ginsberg
7876a9fe0d
- Remove deprecated CHECKPOINT/CHECKPOINT1 macros which basically translated into DPRINT/DPRINT1("\n")
...
svn path=/trunk/; revision=35638
2008-08-25 18:52:38 +00:00
Stefan Ginsberg
7afb74e857
- Remove CHECKPOINT macros from green.sys
...
svn path=/trunk/; revision=35637
2008-08-25 18:48:18 +00:00
Timo Kreuzer
a872a16180
Merge 34703, 34704, 34705, 34706, 34707, 34708, 34709 and 34710 from ros-amd64-bringup branch:
...
- Fix inline versions of integer <-> pointer conversion functions.
- Implement _InterlockedAnd64, _InterlockedOr64, _interlockedbittestandreset64, _interlockedbittestandset64 and gs-segment-adressing functions
- As amd64 shares most of the intrinsics of x86, implement them in intrin_x86.h
- Fix IMAGE_FIRST_SECTION macro
- Implement GetCurrentFiber(), NtCurrentTeb() and YieldProcessor()
- Fix ENUMRESLANGPROC, ENUMRESNAMEPROC and ENUMRESTYPEPROC
- Add Interlocked functions for pointers
- Add InterlockedCompareExchangePointer and InterlockedExchangePointer
- Add intrinsic port and register access functions
fix LIST_ENTRY() macro for 64 bits
add size_t definition to _mingw.h (ported from mingw)
- Update some loader structs ULONG -> ULONG_PTR / SIZE_T
svn path=/trunk/; revision=35636
2008-08-25 18:47:44 +00:00
Stefan Ginsberg
a27e2fd423
- Use MiSyncForProcessAttach and MiSyncForContextSwitch instead of MiSyncThreadProcessViews to avoid some unneeded mm hack-syncing
...
svn path=/trunk/; revision=35635
2008-08-25 18:42:40 +00:00
Stefan Ginsberg
f3b92fa090
- Remove LIST_FOR_EACH and LIST_FOR_EACH_SAFE from the kernel
...
- Fix a bug in KeStartProfile (a missing negation) which caused us to either free buffer when we shouldn't, or leak it
svn path=/trunk/; revision=35633
2008-08-25 18:21:19 +00:00
Timo Kreuzer
016e911156
merge 35359 from ros-amd64-bringup branch:
...
The TEB member is called ClientId not Cid on all Windows versions I could check (XP, 2k3, vista).
svn path=/trunk/; revision=35631
2008-08-25 16:38:02 +00:00
Stefan Ginsberg
b81b76caab
- Remove a header duplication and move a prototype to the correct place
...
svn path=/trunk/; revision=35630
2008-08-25 15:22:30 +00:00
Stefan Ginsberg
a362028c86
- NtLoadKey: Call NtLoadKeyEx directly instead of calling NtLoadKey2 (which forwards to NtLoadKeyEx)
...
svn path=/trunk/; revision=35629
2008-08-25 15:10:27 +00:00
Timo Kreuzer
6805ef1936
merge 34702 and 34987 from ros-amd64-bringup branch:
...
- convert LDR_RESOURCE_INFO members from ULONG to ULONG_PTR
- fix SECURITY_DESCRIPTOR_RELATIVE and KDPC_DATA
svn path=/trunk/; revision=35628
2008-08-25 14:51:22 +00:00
Stefan Ginsberg
8dbbc041c3
- Undefine KdPrint before redefining it.
...
svn path=/trunk/; revision=35626
2008-08-25 13:42:17 +00:00
Johannes Anderwald
d1813375f5
- Partly fix launching control panel applets
...
svn path=/trunk/; revision=35624
2008-08-25 07:54:19 +00:00
Andrew Munger
239ad82645
Add odbc32 to the build system and bootcd.
...
It builds and it's mere presence allows php to load.
Please have a look at the .rbuild, it probably needs tweaked.
svn path=/trunk/; revision=35623
2008-08-25 07:49:46 +00:00
Timo Kreuzer
17c45a4cd2
Move some Pcr init code into KiInitializePcr, use __sldt instead of Ke386SetLocaldescriptorTable, enable KdInitSystem
...
svn path=/branches/ros-amd64-bringup/; revision=35622
2008-08-25 01:30:57 +00:00
Timo Kreuzer
c305ef3554
Update stubs file
...
svn path=/branches/ros-amd64-bringup/; revision=35621
2008-08-25 01:06:49 +00:00
Timo Kreuzer
20ad38dd8e
It's really not good coding style to pass an OUT parameter "by value" to a macro like Ke386GetGlobalDescriptorTable. The Funny thing is that due to a missing memory barrier this macro actually handled this like a "by value" parameter. Of cause this is totally incorrect and led to the strange results I was experiencing.
...
Use __sgdt and __sidt instead and remove the old hack.
svn path=/branches/ros-amd64-bringup/; revision=35620
2008-08-25 00:25:49 +00:00
Timo Kreuzer
001f91468e
- Fix comments and comment out stmxcsr, as it crashes for some reason.
...
svn path=/branches/ros-amd64-bringup/; revision=35619
2008-08-25 00:12:33 +00:00
Timo Kreuzer
3ec5ec2e94
Add X86_MSR constants, implement __lgdt, __sgdt, __lldt, __sldt, __ldmxcsr, __stmxcsr, __ltr, __str intrinsics.
...
svn path=/branches/ros-amd64-bringup/; revision=35618
2008-08-25 00:10:15 +00:00
Timo Kreuzer
1274624c6b
Implement KiSaveProcessorControlState and KiRestoreProcessorControlState
...
svn path=/branches/ros-amd64-bringup/; revision=35617
2008-08-24 23:51:55 +00:00
Timo Kreuzer
427feb9557
merge __readcr and __writecr x86 / x64 definitions, because they are the same. Implement __readdr and __writedr for x64.
...
svn path=/branches/ros-amd64-bringup/; revision=35616
2008-08-24 23:40:42 +00:00
Eric Kohl
5979e2e463
Add "Boot Acceptance Application for Registry". Such a big name for such a small utility ;)
...
svn path=/trunk/; revision=35615
2008-08-24 23:07:39 +00:00
Cameron Gutman
3a7a8f1f08
- Merge aicom-network-fixes up to r35611
...
svn path=/trunk/; revision=35614
2008-08-24 20:50:17 +00:00
Stefan Ginsberg
ca33f36d34
- [FORMATTING] Comment and formatting fixes for LocateChildDevice. No code change.
...
svn path=/trunk/; revision=35613
2008-08-24 20:40:27 +00:00
Cameron Gutman
6f97ab13eb
- Same fix as my last commit
...
svn path=/trunk/; revision=35612
2008-08-24 19:54:50 +00:00
Cameron Gutman
abd660f2dc
- Revert my whole ASSERT mess
...
- This fixes Qemu
svn path=/branches/aicom-network-fixes/; revision=35611
2008-08-24 19:53:16 +00:00
Cameron Gutman
0a84b51976
- Apply the same change in my branch as I did to trunk in r35602
...
svn path=/branches/aicom-network-fixes/; revision=35610
2008-08-24 19:28:25 +00:00
Cameron Gutman
7a30e67498
- Add another missing PollReeval
...
svn path=/branches/aicom-network-fixes/; revision=35609
2008-08-24 19:21:41 +00:00
Stefan Ginsberg
3250ec8a01
- [FORMATTING] Code style and comment cleanup. No code change.
...
svn path=/trunk/; revision=35608
2008-08-24 18:47:14 +00:00
Cameron Gutman
63ba865297
- Revert r35601
...
- This should always be set if FCB->CurrentThread is non-NULL
svn path=/branches/aicom-network-fixes/; revision=35607
2008-08-24 18:32:19 +00:00
Eric Kohl
0eaca617d3
Don't try to print information about a service that doesn't exist.
...
svn path=/trunk/; revision=35606
2008-08-24 18:30:59 +00:00
Eric Kohl
866b97d444
SEH-protect all calls to remote functions.
...
Based on patches from Bug #3669 by bugboy <martinmnet@hotmail.com >.
svn path=/trunk/; revision=35605
2008-08-24 18:27:17 +00:00
Eric Kohl
413b6d969f
Hack the declaration of RQueryServiceConfigA. This hack has already been applied to RQueryServiceConfigW.
...
Based on patches from Bug #3669 by bugboy <martinmnet@hotmail.com >.
svn path=/trunk/; revision=35604
2008-08-24 18:08:17 +00:00
Johannes Anderwald
1e3bc51e71
- Check if source and destination is the same. Fixes creating a new directory and using the default name
...
svn path=/trunk/; revision=35603
2008-08-24 16:43:08 +00:00
Cameron Gutman
5486706e21
- Remove one of the ASSERTs in SocketCalloutEnter
...
svn path=/trunk/; revision=35602
2008-08-24 16:37:15 +00:00
Cameron Gutman
d70ad469a8
- Set FCB->Locked to TRUE after we increment the lock count
...
svn path=/branches/aicom-network-fixes/; revision=35601
2008-08-24 16:20:14 +00:00
Stefan Ginsberg
13362ee99b
- Remove KEBUGCHECK and KEBUGCHECKEX macros
...
- Replace "KeBugCheck(0)" by ASSERT(FALSE)
- Replace deprecated "CPRINT" by DRINT1
svn path=/trunk/; revision=35600
2008-08-24 15:48:05 +00:00
Stefan Ginsberg
e0e86d6092
- Remove deprecated makefile
...
svn path=/trunk/; revision=35599
2008-08-24 15:42:30 +00:00
Stefan Ginsberg
168fa9b543
- Formatting and comment fixes (no code change)
...
svn path=/trunk/; revision=35598
2008-08-24 15:41:13 +00:00
Cameron Gutman
a66142aff9
- Add some missing calls to PollReeval
...
- Move an existing PollReeval to always be called
svn path=/branches/aicom-network-fixes/; revision=35597
2008-08-24 13:56:35 +00:00
Cameron Gutman
e4a04351f2
- Fail if DatagramRecv->Address is NULL
...
svn path=/branches/aicom-network-fixes/; revision=35596
2008-08-24 13:25:19 +00:00
Gregor Brunmar
10daaf90a6
D3D9:
...
* Implemented IDirect3DSwapChain9::GetDevice() and GetPresentParameters()
* Added helper function to D3D9BaseObject to convert IUnknown* to IDirect3D9Device*
* Fixed behavior in IDirect3DDevice9::GetSwapChain() when an invalid index was specified
svn path=/trunk/; revision=35594
2008-08-24 11:18:30 +00:00
Gregor Brunmar
f3890a8a5c
D3D9:
...
* Replace D3D9BaseObject's dependency on Direct3DDevice9
* More HAL device init stuff
svn path=/trunk/; revision=35593
2008-08-24 10:15:44 +00:00
Gregor Brunmar
57fad8bdc4
D3D9:
...
* Fixed incomplete HAL device
* Fixed IDirect3DSwapChain9 and D3D9BaseObject ref counting
svn path=/trunk/; revision=35592
2008-08-24 09:34:16 +00:00
Johannes Anderwald
72d7445528
- Use the name of the cpl as the mutex name
...
- The mutex name is a unicode buffer, pass it to CreateMutexW function
- fixes bug 3489
svn path=/trunk/; revision=35591
2008-08-24 08:37:25 +00:00
Martin Fuchs
5ed0e9015c
update XMLStorage: correctly handle dots and colons in attribute names
...
svn path=/trunk/; revision=35590
2008-08-24 06:58:19 +00:00
Cameron Gutman
963205e8b8
- Set *ConnectionInfo to NULL if we can't allocate memory for ConnInfo
...
svn path=/branches/aicom-network-fixes/; revision=35589
2008-08-24 02:55:26 +00:00
Timo Kreuzer
2e60f5db4f
Fix KeGetCurrentPrcb()
...
svn path=/branches/ros-amd64-bringup/; revision=35588
2008-08-24 02:47:44 +00:00