Commit graph

59619 commits

Author SHA1 Message Date
Giannis Adamopoulos
a5597dfcc1 [win32k]
- Revert a recent change in trunk that broke the new shell. Its a shame to see the new shell behave like crap because of win32k

svn path=/branches/shell-experiments/; revision=65057
2014-10-27 23:49:06 +00:00
Timo Kreuzer
a12507355a [GDI32]
Forgot to commit this...

svn path=/trunk/; revision=65056
2014-10-27 23:39:21 +00:00
Timo Kreuzer
2d1292ebbe [GDI32]
- Improve formatting
- Use more consistent variable names
- Remove unnecessary casts
- Add some annotations
- No intended code changes

svn path=/trunk/; revision=65055
2014-10-27 23:37:05 +00:00
Jérôme Gardou
207b88eaf1 [KERNEL32]
- Do not try to open memory events under the process object root directory.
CORE-8600 #resolve

svn path=/trunk/; revision=65054
2014-10-27 22:05:51 +00:00
Timo Kreuzer
18134c10db [GDI32]
Add Support routines for client objects. Will be used later. You might wonder why the code uses a lame hash table to link the client object handles to the user mode pointer, when it should be clear that a *client* object should have a user mode attribute, like other objects, that we can use, especially since that is the only real purpose of that object. Well, tell that the MS developer, who implemented client objects without a user mode attribute...

svn path=/trunk/; revision=65053
2014-10-27 20:53:59 +00:00
Timo Kreuzer
8ab78d931a [WIN32K]
- Fail in NtGdiCreateClientObj, when the object type is not valid.
This is based on Windows behavior, only more strict. Windows allows to set the stock bit and reuse count, which is probably not what we want.

svn path=/trunk/; revision=65052
2014-10-27 20:40:11 +00:00
Giannis Adamopoulos
afb6acc945 [SHELL32]
- Rewrite the monstrosity that was supposed to open control panel items. Still not really correct but works.

svn path=/branches/shell-experiments/; revision=65051
2014-10-27 18:26:09 +00:00
Amine Khaldi
0593e15998 [ADVAPI32]
* Update GetTrusteeForm{A,W}().
CORE-8540

svn path=/trunk/; revision=65050
2014-10-27 17:23:05 +00:00
Amine Khaldi
b9febc1490 [ADVAPI32]
* Remove unused MAX_GUID_STRING_LEN and RECORD.
* Remove some unneeded forward declarations.
* Reorder ACEFLAG to reduce difference to Wine.
CORE-8540

svn path=/trunk/; revision=65045
2014-10-27 17:00:41 +00:00
Amine Khaldi
16c90ce222 [ADVAPI32]
* Zap SidTable.

svn path=/trunk/; revision=65044
2014-10-27 16:30:45 +00:00
Pierre Schweitzer
af8bee9d61 [FASTFAT]
Don't leak reference in case of share access failure.

svn path=/trunk/; revision=65043
2014-10-27 13:39:03 +00:00
Pierre Schweitzer
8c225a0e59 [FASTFAT]
Add sanity checks in VfatSetRenameInformation() to make sure we don't leak any FCB reference

svn path=/trunk/; revision=65042
2014-10-27 13:38:14 +00:00
Pierre Schweitzer
817dfb57e2 [NTFS]
Bugfixing... Part 10/X:
- Properly compute entry name length in CompareFileName()
- Also, in CompareFileName() properly handle the return of RtlCompareUnicodeString(); this is not RtlEqualUnicodeString()!
- In NtfsLookupFileAt(), don't return an error when we're done walking the path, it's a normal behavior

All these fixes allow our NTFS to go one step farther: it can open directory/files (reading files data remains untested so far) in root and in its subdirs. Which was broken previously.
The said bugfixes in action (and in image): http://www.heisspiter.net/~Pierre/rostests/NTFS_listing_subdir.png

svn path=/trunk/; revision=65041
2014-10-27 12:35:58 +00:00
Thomas Faber
6af614fb4a [ADVAPI32]
- Hackfix CORE-8717 to stop 2nd stage from failing. Proper fix will be submitted to Wine.

svn path=/trunk/; revision=65040
2014-10-27 11:52:44 +00:00
James Tabor
f1caf76d48 [NtUser]
- Fix default sizes for desktop resources. See CORE-8659.

svn path=/trunk/; revision=65039
2014-10-27 02:11:08 +00:00
Giannis Adamopoulos
37ebd8e1e4 [BEOWSEUI]
- Simplify shellbrowser.cpp a bit

svn path=/branches/shell-experiments/; revision=65038
2014-10-27 00:39:53 +00:00
Aleksandar Andrejevic
949c27964d [FAST486]
Don't leave the prefetch cache in a possibly invalid state if Fast486ReadLinearMemory
returns FALSE.


svn path=/trunk/; revision=65037
2014-10-27 00:21:06 +00:00
Giannis Adamopoulos
a4feb3fb65 [BROWSUI]
- Fix CAddressBand::Invoke to correctly detect if an item exists in the list and select the correct item when it does.
- Improve CAddressEditBox::Execute to check if the passed pidl is the one that is being displayed.
- Also fix it to parse the path if needed.
- Directly call CAddressEditBox::Execute when enter is pressed or the Go button is pressed
- Should fix most issues with the address bar

svn path=/branches/shell-experiments/; revision=65036
2014-10-26 23:46:35 +00:00
Aleksandar Andrejevic
bc64e37fd1 [FAST486]
Implement an (optional) instruction prefetch cache.
Implement the INVLPG instruction.


svn path=/trunk/; revision=65035
2014-10-26 23:37:54 +00:00
Pierre Schweitzer
dd58a72a8b [KERNEL32]
Prevent a use-after-free issue in GetVolumeNameForVolumeMountPointW()

svn path=/trunk/; revision=65034
2014-10-26 21:09:07 +00:00
Pierre Schweitzer
a71e1f3760 [FASTFAT]
Make sure the appropriate resource is exclusively acquired when playing with FCB references

svn path=/trunk/; revision=65033
2014-10-26 20:29:00 +00:00
Pierre Schweitzer
4a49b030de [FASTFAT]
s/DeviceObject/DeviceExt/g

svn path=/trunk/; revision=65032
2014-10-26 20:23:07 +00:00
Pierre Schweitzer
c9e616ea2b [FASTFAT]
Implement vfatGrabFCB() (which was defined but never implemented) for increasing the reference count on a FCB.
This will make debugging easier.

Dedicated to Thomas :-).

svn path=/trunk/; revision=65031
2014-10-26 20:20:42 +00:00
Amine Khaldi
531323417d [ADVAPI32]
* Update ConvertStringSidToSid{A,W}().
* Fixes some advapi32:security tests.
CORE-8540

svn path=/trunk/; revision=65030
2014-10-26 19:56:15 +00:00
Amine Khaldi
68f176a03b [RASDLG]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=65029
2014-10-26 19:43:01 +00:00
Hervé Poussineau
fa7836ce2a [NTFS] Also return the short file name to caller if available
svn path=/trunk/; revision=65028
2014-10-26 19:10:39 +00:00
Hervé Poussineau
beb81cc389 [NTFS] Prefer long file name when naming objects
We now always see the long file name of an object when browsing NTFS partitions.

svn path=/trunk/; revision=65027
2014-10-26 19:10:17 +00:00
Hervé Poussineau
0a8cd9075d [NTFS] Correctly read indexes
This fixes (at least) an infinite loop when trying to mount some partitions.

svn path=/trunk/; revision=65026
2014-10-26 19:10:04 +00:00
Hervé Poussineau
d345eefe9c [NTFS] Fix some debug prints
svn path=/trunk/; revision=65025
2014-10-26 19:09:52 +00:00
Pierre Schweitzer
d10c7decd5 [FASTFAT]
Acquire DirResource in DoQuery() before attempting to play with FCBs.

This is dedicated to Thomas ;-)

svn path=/trunk/; revision=65024
2014-10-26 18:48:30 +00:00
Eric Kohl
7491f794e3 [NTOS:SE]
Remove the old access check code in SepAccessCheckEx and use the new code instead. The new access check code is a lot better than the old code, but it makes the boot and install fail. This is caused by some kernel objects which are accessed using insufficient access rights. Therefore I added a little hack that shows a warning when insufficient rights are granted for an object and access is granted anyway. 

svn path=/trunk/; revision=65023
2014-10-26 18:39:58 +00:00
Amine Khaldi
f7a65d3155 [ADVAPI32]
* Update GetAclInformation().
CORE-8540

svn path=/trunk/; revision=65022
2014-10-26 17:51:59 +00:00
Thomas Faber
cc4ef02bd0 [CRT]
- Fix strlen/wcslen FPO specification. Spotted by Timo.
- Also add FPO info for memset, memchr, memmove/memcpy

svn path=/trunk/; revision=65021
2014-10-26 17:32:00 +00:00
Giannis Adamopoulos
dffea1c618 [browseui]
- Improve CBaseBar::TranslateAcceleratorIO stub
- Returning always TRUE means that creating a basebar ended up eating all messages
- Fixes the hang that happened when we clicked on the folders button in the toolbar

svn path=/branches/shell-experiments/; revision=65020
2014-10-26 17:16:19 +00:00
David Quintana
f99f83df93 [BROWSEUI]
* Sidebars are not implemented, but it's ok. No need to force a debug break in there.

svn path=/branches/shell-experiments/; revision=65019
2014-10-26 17:06:58 +00:00
Hermès Bélusca-Maïto
d07dc3a5c2 [NTVDM]: Temporarily fix for r65015 before a proper fix.
svn path=/trunk/; revision=65018
2014-10-26 16:56:14 +00:00
Amine Khaldi
b10d8f4686 [ADVAPI32]
* Update GetAce().
CORE-8540

svn path=/trunk/; revision=65017
2014-10-26 16:48:36 +00:00
Amine Khaldi
283d189dda [ADVAPI32]
* Update DeleteAce().
CORE-8540

svn path=/trunk/; revision=65016
2014-10-26 15:59:57 +00:00
Hermès Bélusca-Maïto
53adda2513 [NTVDM]: No need to re-change to a given video mode when it is already set. Fixes strange changes for e.g. some apps that find intelligent to switch 256 times to mode 13h (for example) before continuing to run.
svn path=/trunk/; revision=65015
2014-10-26 15:57:21 +00:00
Pierre Schweitzer
cb5688fcf0 [FASTFAT]
Make FATGetNextDirEntry() and vfatFindDirSpace() complain when they are given a cleaned up FCB (which shouldn't happen!).
They'll display full path, references count, open handles count.

Where are you little reference leak?

svn path=/trunk/; revision=65014
2014-10-26 15:56:20 +00:00
Pierre Schweitzer
caedf961bb [FASTFAT]
Don't leak reference on failure in vfatPrepareTargetForRename().

svn path=/trunk/; revision=65013
2014-10-26 15:35:18 +00:00
Hermès Bélusca-Maïto
454d38da22 [NTVDM]: Return the latched data for keyboard ps/2 port only. Also when starting an app put a ENTER key release into the keyboard buffer because some apps expect it.
svn path=/trunk/; revision=65012
2014-10-26 15:01:14 +00:00
Aleksandar Andrejevic
95928b831b [NTVDM]
Signal the next IRQ on EOI.


svn path=/trunk/; revision=65011
2014-10-26 14:57:44 +00:00
Amine Khaldi
439fa16903 [ADVAPI32]
* Import ADVAPI_GetComputerSid from Wine 1.7.27.
* Apply Wine commit f7a6c4c3 by Detlef Riekenberg: Allow string alias for common RID in sid strings.
CORE-8540

svn path=/trunk/; revision=65010
2014-10-26 11:55:05 +00:00
Hermès Bélusca-Maïto
0de95c0f94 [FAST486][NTVDM]: Do not compile some FPU functions when FAST486_NO_FPU is defined (fixes build).
svn path=/trunk/; revision=65009
2014-10-26 11:50:14 +00:00
Amine Khaldi
41f5ac7550 [ADVAPI32]
* Reorder AceRights to reduce difference to Wine.
CORE-8540

svn path=/trunk/; revision=65008
2014-10-26 11:47:29 +00:00
Amine Khaldi
6d8f72bf65 [ADVAPI32]
* Apply Wine commit e57edfea by Paul Vriens: Skip leading spaces when parsing.
* Update the related functions with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=65007
2014-10-26 10:59:11 +00:00
Amine Khaldi
7a1f0bac68 [ADVAPI32]
* Update CopySid().
CORE-8540

svn path=/trunk/; revision=65006
2014-10-26 10:34:40 +00:00
Hermès Bélusca-Maïto
fd83e0e04f [NTVDM]: Addendum to r64985: correctly display the IPS and the TimerTicks (both of them are *LONGLONG).
svn path=/trunk/; revision=65005
2014-10-26 02:38:07 +00:00
Aleksandar Andrejevic
0c4632c9e5 [NTVDM]
Make sure the offset doesn't exceed the VGA bank size.
Load the latch registers after the loop (optimization).


svn path=/trunk/; revision=65004
2014-10-26 02:29:31 +00:00