Commit graph

29970 commits

Author SHA1 Message Date
Aleksey Bragin 4fa8205e00 - Fix richedit20_winetest build.
svn path=/trunk/; revision=32818
2008-04-02 10:37:06 +00:00
Ged Murphy 304e3452f8 A few small changes
svn path=/trunk/; revision=32817
2008-04-02 08:54:50 +00:00
Colin Finck 1c556f1df5 Fix build :-)
svn path=/trunk/; revision=32815
2008-04-01 21:21:29 +00:00
Aleksey Bragin 007702fce4 - Rewrite the SD Cache functions to use the Windows 2003 structures (thanks to Alex for providing them).
- Use pushlocks instead of the fast mutex that was previously used.
- Improve the performance of some paths by reducing lock acquisition time, and using atomic operations instead when possible.
- Implement the exported Ob APIs which were added in Windows XP to access the Sd cache (ObReference/DereferenceSecurityDescriptor and ObLogSecurityDescriptor). These are used by file systems (such as NPFS) on Windows XP and higher.

svn path=/trunk/; revision=32814
2008-04-01 21:09:28 +00:00
Aleksey Bragin 1417fd5fa6 - Lock only the object header for an object instead of the entire object type, for better contention. Implement exclusive/shared lock and release routines around the existing lock slots in the object type (this allows up to 4 different objects to be locked in the same time, instead of locking the entire type).
- Thanks to Alex for reporting this.

svn path=/trunk/; revision=32812
2008-04-01 20:07:36 +00:00
Aleksey Bragin 24e07f0eac - Fix initialiization of the object manager lookaside lists.
- Rename the variables to understandable names.
- Don't leak object locks when destroying an object type.
- Directory objects must be case-insensitive.
- Symbolic links must be case-insensitive.
- Create \KernelObjects directory during startup.

svn path=/trunk/; revision=32811
2008-04-01 19:27:58 +00:00
Timo Kreuzer 43d5fa83aa fix handling of unsafe string parameter in NtGdiGetFontResourceInfoInternalW
svn path=/trunk/; revision=32810
2008-04-01 18:21:06 +00:00
Aleksey Bragin 5e25cba5ab - Use C define for the bit in the wait block flags that we set to specify waiting, instead of a hardcoded "1".
- Fix broken code when trying to find the last wait block in several parts of the pushlock code.
- Fix broken algorithm in the optimization of the pushlock waiter list.
- The wake event for the pushlock should be a synchronization event, not a notification event.
- Fix broken algorithm during the release of a pushlock (in shared cases).
- Fix broken code during "try to wake pushlock".
- Remove DbgPrints from inlined pushlock code during contention.
- Thanks to Alex for noticing these bugs and providing advice on the fixes. This fixes lots of race issues in the handle table implementation.

svn path=/trunk/; revision=32809
2008-04-01 18:14:01 +00:00
Aleksey Bragin d9e96afb6d - Implement inline version of _rotl. The Win32 version of the CRT has this function in the standard library, but the NT one doesn't, so we need to rely on the inline version (which MSVC supports).
svn path=/trunk/; revision=32808
2008-04-01 17:49:03 +00:00
Timo Kreuzer 2c1cfd7207 - make some text metric settings compatible to windows xp.
- zero out lfWidth member when returning logfont in IntGdiGetFontResourceInfo. Fixes recently introduced bug in fontview display, also fixes ms fontview.

svn path=/trunk/; revision=32807
2008-04-01 17:07:12 +00:00
Timo Kreuzer d8af502747 fix calculation of cwc parameter for NtGdiGetFontResourceInfoInternalW.
svn path=/trunk/; revision=32806
2008-04-01 16:57:17 +00:00
Dmitry Chapyshev 0239f0d555 - Update Russian translation
svn path=/trunk/; revision=32805
2008-04-01 14:48:01 +00:00
Dmitry Chapyshev 4bc463ed41 - Update Russian translation
svn path=/trunk/; revision=32804
2008-04-01 14:43:35 +00:00
Aleksey Bragin f2fb7b9c4c - Fix ExReleaseResourceLock(), spotted by Alex.
svn path=/trunk/; revision=32803
2008-04-01 12:58:11 +00:00
James Tabor d9a882e1db Move implemented functions out of stubs.
svn path=/trunk/; revision=32802
2008-04-01 01:41:19 +00:00
James Tabor dddfb3a0cb Move thread pool functions prototypes to ndk.
svn path=/trunk/; revision=32801
2008-04-01 01:07:09 +00:00
James Tabor 575c79dc43 SeSetSecurityDescriptorInfo/Ex check the security object pointer for null. http://msdn2.microsoft.com/en-us/library/ms800810.aspx
svn path=/trunk/; revision=32800
2008-04-01 00:31:56 +00:00
Aleksey Bragin 89484a110d The default object security method should not directly call Se* routines on the Security Descriptors, since they belong to the object manger security descriptor cache, and they need to be referenced and dereferenced in order to make sure they don't disappear from beneath the caller.
Additionally, the code for the "Set" operation should actually go in SeSetSecurityDescriptorInfo API, which was unimplemented. By simply copying the code over, this API is now implemented, and the routine works as expected.
Also, the default method was not handling "delete" requests, but was ignoring them, resulting in memory leaks and never-dereferenced descriptors.
Thanks to Alex for finding these bugs. Alex also says SeSetSecurityDescriptorInfo should call the Rtl package (RtlSetObjectSecurity) but we don't implement those functions yet.

svn path=/trunk/; revision=32799
2008-03-31 20:07:02 +00:00
Aleksey Bragin f5b2746f9a - Fix PARTITION_STYLE enum to include PARTITION_STYLE_RAW.
- Add a few storage-related IOCTLs and GUIDs definitions.

svn path=/trunk/; revision=32798
2008-03-31 18:22:46 +00:00
Aleksey Bragin b8266b24f2 - Fix a typo in the debug message.
svn path=/trunk/; revision=32796
2008-03-31 15:58:59 +00:00
Colin Finck a5fd44c475 First detect the mouse and then the keyboard as it was done in the old i8042prt driver.
If we do it the other way round, some systems throw away settings like the keyboard translation, when detecting the mouse.

All known keyboard and mouse detection problems should be fixed now! :-)

See issue #2790 for more details.

svn path=/trunk/; revision=32795
2008-03-31 15:52:30 +00:00
Ged Murphy c608364e5a missed a few bits in cleanup
svn path=/trunk/; revision=32794
2008-03-31 15:00:12 +00:00
Ged Murphy 317b7559ff I wrote a quick skeleton service this morning, thought it might be useful to someone.
svn path=/trunk/; revision=32793
2008-03-31 14:41:06 +00:00
Timo Kreuzer bae8253dc7 fix a typo
svn path=/trunk/; revision=32792
2008-03-31 13:44:38 +00:00
Timo Kreuzer 95af11a848 - give the fontview class an EXTLOGFONT to set the font, fixes display of wrong font style.
- add font size 8

svn path=/trunk/; revision=32791
2008-03-31 12:48:40 +00:00
Colin Finck 47034d9d29 - Remove much deprecated code for the mouse initialization (had been imported from the ancient psaux.sys driver, which was removed in _r14938_)
Do a much simpler initialization instead:
    * The "Get ID" command was used for detecting whether a mouse is present.
      But it just handled normal mice, IntelliMice and IntelliMice Explorer, although there can be many more possible values for other mice. (see for example http://www.win.tue.nl/~aeb/linux/kbd/scancodes-13.html#mcf2).
      Also this command isn't available on all systems.
      Furthermore we already do a MOUSE_LINE_TEST in i8042BasicDetect, which is the more reliable method to test whether a mouse is plugged in. Therefore this "Get ID" command can be simply removed.
    * The whole mouse initialization process now boils down to enabling the mouse itself and in the controller
    * All in all, some more mice should be detected now.
- Give i8042IsrWritePort a boolean return value and pass the results of the i8042Write calls
- Replace two i8042Write calls for writing to the mouse by one i8042IsrWritePort call where possible
- Remove the unused KBD_LINE_TEST define

This change was tested under QEMU, VMware and on one real system.

svn path=/trunk/; revision=32790
2008-03-31 12:40:31 +00:00
Daniel Reimer 81d1c9b3ac Bug 3098: Italian fixes to mstsc by Carlo Bramini (carlo.bramix@libero.it)
Bug 3161: Greek patch update by Apostolos Alexiadis (djapal@gmail.com)

svn path=/trunk/; revision=32789
2008-03-31 12:02:52 +00:00
James Tabor ec07bd1531 Update to Wine. Need winesynced. Tested with Qemu.
svn path=/trunk/; revision=32788
2008-03-31 04:55:20 +00:00
James Tabor 068bad469b Fix GETTEXTEX update it to current sdk and web info.
svn path=/trunk/; revision=32787
2008-03-31 04:49:35 +00:00
James Tabor 70b9ba87f0 Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- Remove NtGdiCreateDIBitmap, update all related files.
- Rewrite CreateDIBitmap.
- Tested with Qemu.


svn path=/trunk/; revision=32786
2008-03-30 22:37:42 +00:00
Johannes Anderwald 0ed931896c - enumerate additional client protocols
- retrieve description with RegLoadMUIString

svn path=/trunk/; revision=32785
2008-03-30 22:07:49 +00:00
Colin Finck b376c055bb - Reenable the DejaVu font and use it for all purposes except substitudes for "Arial" and "Times New Roman". Keep using the Liberation fonts for these cases.
- Finally remove the Bitstream Vera fonts and substitude them by the DejaVu fonts.
  The DejaVu fonts were derived from the Bitstream Vera fonts, so they look similar.

svn path=/trunk/; revision=32783
2008-03-30 18:18:53 +00:00
Johannes Anderwald 75637afd81 - fix compilation with msvc8
svn path=/trunk/; revision=32782
2008-03-30 10:01:37 +00:00
Aleksey Bragin 891170c25c - Convert to wmilib.def to wmilib.spec (so far stdcall-fixup was not really working).
svn path=/trunk/; revision=32781
2008-03-30 10:00:18 +00:00
Pierre Schweitzer 1c7adb9dd4 Set all FSD (except fastfat.sys) start to 0x4 to let fs_rec.sys doing his job (and matching with Windows...).
It will silent ext2 driver.

svn path=/trunk/; revision=32780
2008-03-29 13:40:28 +00:00
James Tabor 499c6cd517 Phase 2:
- Implement RtlRegisterWait and RtlDeregisterWait/Ex. Move the function to new file wait.c. Ported from Wine source.
- Completely untested.
- good luck!

svn path=/trunk/; revision=32779
2008-03-29 06:41:30 +00:00
James Tabor fd52a49081 Phase 1:
- Implement RegisterWaitForSingleObject/Ex and UnregisterWait/Ex in stubs.c. I'm not sure where to place the exports. So ATM it is here.
- Stub RtlRegisterWait and RtlDeregisterWait/Ex.
- Import from Wine source and is LGPL.
- Ref: http://source.winehq.org/WineAPI/RtlRegisterWait.html http://source.winehq.org/WineAPI/RtlDeregisterWait.html


svn path=/trunk/; revision=32778
2008-03-29 03:46:17 +00:00
Thomas Bluemel 5b92a7951b Fix difference in signedness warning
svn path=/trunk/; revision=32777
2008-03-29 01:04:33 +00:00
Daniel Reimer 46c8f01954 Clean Up WineFile Folder. The MSVC Files are autogenerated anyway and these ones are rather old.
Synched WineFile to recent Wine CVS.

svn path=/trunk/; revision=32776
2008-03-28 14:40:37 +00:00
Daniel Reimer e9014322e0 Bug 3153, 3154, 3155, 3156, 3157 Korean translations Update by Manatails (admin@manateeshome.com)
svn path=/trunk/; revision=32775
2008-03-28 14:35:51 +00:00
Timo Kreuzer 871375bbfb sorry forgot to commit this one.
svn path=/trunk/; revision=32774
2008-03-28 03:44:49 +00:00
Johannes Anderwald 7e4c2d0294 - display properties title for recycle bin folder
See issue #3140 for more details.

svn path=/trunk/; revision=32773
2008-03-27 21:02:33 +00:00
Daniel Reimer f7d5c8c1fe Once more update WinHelp and wordpad. Seems like we have a problem with wordpad, even on windows. Try open it and goto the options dialog and close it again. Then you will see. Can someone investigate in it?
svn path=/trunk/; revision=32772
2008-03-27 13:13:54 +00:00
James Tabor 46599eb3f0 Question is what is its?
svn path=/trunk/; revision=32771
2008-03-27 01:41:27 +00:00
KJK::Hyperion b9e079bdfb Fix some serious handle table bugs which led to memory corruption and stale values (which led to more memory corruption). Patch by Alex Ionescu.
svn path=/trunk/; revision=32770
2008-03-27 01:13:24 +00:00
Daniel Reimer 51a2c9f737 Bug 3144, 3145, 3149, 3151 : Korean Translations by manatails007 (admin@manateeshome.com)
Bug 3152 : Greek Update by  Apostolos Alexiadis (djapal@gmail.com)

svn path=/trunk/; revision=32769
2008-03-26 20:21:55 +00:00
Gregor Brunmar 3b4d8c9d07 Renamed some internal D3D9 structs as only COM objects should be named _INT
svn path=/trunk/; revision=32768
2008-03-26 20:16:07 +00:00
James Tabor 3523e8a76d Help Stefan out with SEH. It seems to run faster. I guess.
svn path=/trunk/; revision=32767
2008-03-26 17:49:18 +00:00
Johannes Anderwald 5fb0c2e1f1 - improve a few parameters checks
- should fix bug 3146
See issue #3146 for more details.

svn path=/trunk/; revision=32766
2008-03-26 17:44:08 +00:00
Dmitry Chapyshev acac2b98e7 - Update headers (Part 2/2)
svn path=/trunk/; revision=32765
2008-03-25 17:36:27 +00:00