Commit graph

54329 commits

Author SHA1 Message Date
Amine Khaldi 7a2b05f8d4 [TRANSLATIONS]
* Improve Russian localization. Patch by Alex Gorgurov based on the work of jperm (jaroslaff111 @at@ mail .dot. ru).
CORE-7381 #resolve #comment Committed in r59977. Thank you all.

svn path=/trunk/; revision=59978
2013-09-03 17:07:25 +00:00
Amine Khaldi 87691cdeae [PSDK]
* Annotate wincred.h.

svn path=/trunk/; revision=59977
2013-09-03 13:15:35 +00:00
Amine Khaldi 3c3723d278 [VGAFONTS]
* Correct AD and B2 characters of codepage 437. By Erdem Ersoy.
CORE-7432 #resolve #comment Committed in r59976. Thanks.

svn path=/trunk/; revision=59976
2013-09-03 12:56:00 +00:00
Amine Khaldi da6d22538a [KERNEL32]
* "Fix" the VS build when the default code page is a MBCS (Chinese version). For some reasons, the MSVC resource compiler ignores the #pragma code_page inside the included nls files. Brought to you by Yuntian Zhang.
CORE-7420 #resolve #comment Committed in r59975. Cheers.

svn path=/trunk/; revision=59975
2013-09-03 12:44:48 +00:00
Amine Khaldi 8bf355bf88 [SHELL32]
* Improve the German translation, fix the position of some new strings that are larger than English originals and fix some formatting. By Robert Naumann.
CORE-7440 #resolve #comment Committed in r59974. Thanks.

svn path=/trunk/; revision=59974
2013-09-03 12:32:48 +00:00
Amine Khaldi 962e2b35b9 [DDK]
* Annotate scsiwmi.h.

svn path=/trunk/; revision=59973
2013-09-03 12:04:47 +00:00
Amine Khaldi 62b8ac070f [SMSS]
* Fix some print specifiers.

svn path=/trunk/; revision=59972
2013-09-03 12:02:52 +00:00
Amine Khaldi 1a96516805 [PSDK]
* Fix a typo.

svn path=/trunk/; revision=59971
2013-09-03 11:59:51 +00:00
Pierre Schweitzer 262e99ecd4 [FRAMEDYN]
Reduce Len variable scope * 2

svn path=/trunk/; revision=59970
2013-09-03 06:20:51 +00:00
Amine Khaldi 2d2669c682 [PSDK]
* Annotate usp10.h.

svn path=/trunk/; revision=59969
2013-09-02 22:49:45 +00:00
Amine Khaldi cdd1225e96 [SMLIB]
* Fix some print specifiers.

svn path=/trunk/; revision=59968
2013-09-02 22:43:37 +00:00
Hermès Bélusca-Maïto 1afcdab0c1 [NTOS:LPC]: Rename a flag I've introduced sooner, and remove an unneeded variable + code formatting.
svn path=/trunk/; revision=59967
2013-09-02 22:19:41 +00:00
Eric Kohl 74803ae9ec [NETAPI32]
Revert r59958 because the old code was correct.

svn path=/trunk/; revision=59966
2013-09-02 21:10:46 +00:00
Hermès Bélusca-Maïto f475efbd85 [NTOS:LPC]: Code formatting, with hardocded_flags--;
svn path=/trunk/; revision=59965
2013-09-02 21:09:56 +00:00
Eric Kohl cdb303dc54 [SAMSRV]
- Use the new function SampSetObjectAttributeString to write strings to the registry. Handle empty strings properly.
- Fix SampGetObjectAttributeString to handle empty strings properly as well.

svn path=/trunk/; revision=59964
2013-09-02 20:36:42 +00:00
Amine Khaldi d791c1aca4 [CMLIB]
* Fix a trace.

svn path=/trunk/; revision=59963
2013-09-02 17:46:10 +00:00
Amine Khaldi e07b681b7f [COMCTL32]
* Implement an undocumented flag for the rebar control. This flag is used by browseui and is needed to show the explorer window properly. Should be sent Upstream. Brought to you by Giannis Adamopoulos (Smiley).
* Update the sync diff.

svn path=/trunk/; revision=59962
2013-09-02 12:56:20 +00:00
Giannis Adamopoulos 28efbbb24b [shell32]
- Fix a warning

svn path=/trunk/; revision=59961
2013-09-02 12:18:37 +00:00
Amine Khaldi c62870b1f3 [WIN32K]
* Fix some print specifiers. Dedicated to the Island.

svn path=/trunk/; revision=59960
2013-09-01 23:58:37 +00:00
Eric Kohl 051640cf67 [NETAPI32]
NetLocalGroupAdd: Set the admin comment only if it is not NULL.

svn path=/trunk/; revision=59958
2013-09-01 23:32:15 +00:00
Amine Khaldi 89f65807da [CRT]
* Annotate io_s.h.

svn path=/trunk/; revision=59957
2013-09-01 22:03:22 +00:00
Amine Khaldi b1248f0ad2 [PSDK]
* Annotate winnetwk.h.

svn path=/trunk/; revision=59956
2013-09-01 21:25:52 +00:00
Amine Khaldi fcfbd5fce6 [PAINT]
* Fix MSVC build.

svn path=/trunk/; revision=59955
2013-09-01 21:17:36 +00:00
Benedikt Freisen 976b414778 [PAINT]
* Stretch/Skew dialog fully implemented (skewing not yet functional), please check translations
* pre Windows Vista MSPaint palette selectable via menu entry
* Attributes dialog supports setting width and height in inches and cm also
* drawing functions improved
* some variables grouped into structs
* Changed SendMessage(... WM_PAINT ...) into InvalidateRect(...), this is the way it should be and it fixes half of the repainting bugs

svn path=/trunk/; revision=59954
2013-09-01 20:13:15 +00:00
Amine Khaldi 3a0cb73e64 [KMTESTS]
* Run this block now that guard pages are supported.
ROSTESTS-107 #resolve

svn path=/trunk/; revision=59953
2013-09-01 17:55:00 +00:00
Giannis Adamopoulos 1f20f705c8 - forgot to commit this
svn path=/trunk/; revision=59951
2013-09-01 16:56:48 +00:00
Giannis Adamopoulos 9ec75c65fb [shell32]
- Stub CMenuDeskBar class

svn path=/trunk/; revision=59950
2013-09-01 16:52:36 +00:00
Amine Khaldi f227a30ab8 [RSYM]
* Addendum to r59938.

svn path=/trunk/; revision=59948
2013-09-01 16:13:16 +00:00
Pierre Schweitzer 765c2083ff [FRAMEDYN]
Remove operator LPWSTR() in favor of operator LPCWSTR() const (likely to fix its export ;-))
Add missing operators implementations as inline

svn path=/trunk/; revision=59947
2013-09-01 16:10:02 +00:00
Amine Khaldi 50acbd2f5c [FRAMEDYN]
* Fix the MSVC build for real now, so that we don't keep fixing it bit by bit until r60000.

svn path=/trunk/; revision=59946
2013-09-01 15:51:32 +00:00
Eric Kohl ac2c013400 [SAMSRV]
- Improve SamRegCloseKey and fix all calls to it accordingly. Also replace all calls to NtClose by calls to SampRegCloseKey.
- Add a resource to protect the Samr functions from concurrent access.

svn path=/trunk/; revision=59945
2013-09-01 15:46:00 +00:00
Pierre Schweitzer e96cf19a81 [FRAMEDYN]
Comment out exports that fail

svn path=/trunk/; revision=59944
2013-09-01 15:44:17 +00:00
Pierre Schweitzer 248bc88823 [FRAMEDYN]
Don't export anything on MSVC yet.
Some symbols are not found. Dunno why.

svn path=/trunk/; revision=59943
2013-09-01 15:34:38 +00:00
Pierre Schweitzer fc4ee971cf [FRAMEDYN]
Fix typo

svn path=/trunk/; revision=59942
2013-09-01 15:04:21 +00:00
Pierre Schweitzer ec8b12d5ba [FRAMEDYN]
Fix a typo (and so a bug), spotted by MSVC. I don't thank you G++...
Attempt to fix build with MSVC

svn path=/trunk/; revision=59941
2013-09-01 14:54:33 +00:00
Pierre Schweitzer f570a3d1ff [FRAMEDYN]
Partplement framedyn.dll
So far, only CHString class is implemented in it

Regarding CHString class implementation:
It has been implemented matching Windows behavior and bugs
It might not be really nice at some points but this ensures
compatibility with applications relying on it.
As a side note: this might explain why this API was abandonned after w2k3...

Regarding the DLL itself:
Its implementation into ReactOS allows systeminfo.exe application from w2k3 to
load and start initialization into ReactOS. It stops working later on with some
IDispatch error.
The DLL cannot be used to build any application against framedyn.dll with our "default" BE (read with G++).
Only MSVC mangled name are exported so far (as on Windows ;-)) thanks to aliasing. This is why there are two spec files.
This makes G++ unable to link with it though. This is the reason why there are no framedyn_apitests so far.
Furthermore, the DLL only have exports for x86 and none for x64 for the moment.

Any help is welcome for having exports for x64 target and to be able to have aliasing for G++ (from its mangled names
to MSVC ones).

svn path=/trunk/; revision=59940
2013-09-01 14:48:09 +00:00
Pierre Schweitzer dd724bbd3c [PDSK]
Add two headers: chstring.h and provexce.h
They are used for framedyn.dll stuff, for instance

So far, the CHString class is not fully populated. It is only
populated with exported stuff from framedyn.dll

svn path=/trunk/; revision=59939
2013-09-01 14:30:28 +00:00
Amine Khaldi af5ce0ae6b [RSYM]
* Don't overwrite the MZ header when there are no long section names.
* Correct an error including 4 more bytes than needed in the coff strings.
* Brought to you by Arty.

svn path=/trunk/; revision=59938
2013-09-01 13:23:54 +00:00
Hermès Bélusca-Maïto 762f3e87da [APPWIZ]
- Convert some language resource files into UTF-8 without BOM (aka. ANSI as UTF-8 with Notepad++).
- Improve some French translation.
- Fix Czech translation, thanks Radek :)
(Addendum to r59924 and r59925)

svn path=/trunk/; revision=59937
2013-09-01 12:41:58 +00:00
Amine Khaldi a064f36a82 [RSYM]
* Fix long section names and correct some wrong use of ULONG_PTR. Brought to you by Arty.

svn path=/trunk/; revision=59936
2013-09-01 11:17:36 +00:00
Amine Khaldi f09fc6e177 [DBGHELP]
* Speedup dbghelp mainly for the x64 builds. Brought to you by Arty. Should be sent upstream.

svn path=/trunk/; revision=59935
2013-09-01 11:11:52 +00:00
Amine Khaldi 23c4a2e25f [NPFS/KERNEL32]
* Back out r59915 for a moment so we can use Patchbot.

svn path=/trunk/; revision=59934
2013-09-01 10:16:29 +00:00
Hermès Bélusca-Maïto e28e6935a6 [CMAKE]: Fix a comment typo only.
[NTDLL-KERNEL32-BASESRV-WINSRV]: Specify by hand (hackz for MSVC builds) that the dll will be a "Console DLL" (ie. not a native one nor a Gui DLL).
[BASESRV]: Explicitely set the DLL entry point to DllMain (unusued).
[WINSRV]: Explicitely set the DLL entry point to DllMain (unusued) AND REMOVE usage of msvcrt (that might pose problems when testing with Windows msvcrt etc...) and use libcntpr instead.

Thanks to Amine for having helped me in solving a problem with delayed imports.

svn path=/trunk/; revision=59933
2013-09-01 00:11:56 +00:00
Alex Ionescu b3ae8180d3 [KERNEL32]: Add a DPRINT1 when failing GetCPInfo in kernel32, to highlight the fact our MSVCRT is sending us bogus codepage/locale IDs.
svn path=/trunk/; revision=59930
2013-08-31 19:24:54 +00:00
Hermès Bélusca-Maïto 17e4a83527 [RTL]
Implement RtlDefaultNpAcl, needed for giving a default security to named pipes. Makes Win2k3 kernel32 happy when one creates named pipes for SCM and so on.
Getting the SID of the caller is done as described in http://www.osronline.com/article.cfm?article=50 in "Extracting the SID from the Token".

svn path=/trunk/; revision=59928
2013-08-31 17:34:37 +00:00
Giannis Adamopoulos bbb71f8ed5 [browseui]
- Improve the stub for CAddressEditBox::SetOwner to make the rest of browseui happy for now
- In CShellBrowser::Initialize browse to the pidl that is passed as parameter instead of always browsing to the desktop folder
- Fix a bug in atl class CContainedWindowT::DefWindowProc that was calling the window proc with an invalid hwnd.

svn path=/trunk/; revision=59927
2013-08-31 16:55:49 +00:00
Aleksey Bragin 0b93a97e44 [NTOS/FSRTL]
- FsRtlCopyWrite: Fix typos in local var names and comments.
- FsRtlCopyWrite: Fix copypasta in a call to FastIoCheckIfPossible: wait flag shouldn't be always TRUE in this case (it's determined by Wait parameter).
- FsRtlCopyRead: Fix updating of CurrentByteOffset.
- FsRtlAcquireFileForCcFlushEx / FsRtlReleaseFileForCcFlush: Handle the case when FastIO callback may fail and FsRtl still needs to act as if FastIO callback would be missing at all.
- Implement FsRtlAcquireFileForModWriteEx / FsRtlReleaseFileForModWrite thanks to Rajeev Nagar's book.
- Now all necessary FsRtl locking/unlocking mechanisms exist.

svn path=/trunk/; revision=59926
2013-08-31 16:36:34 +00:00
Amine Khaldi 22d855eeb2 [APPWIZ]
* Addendum to r59924. Radek please review.

svn path=/trunk/; revision=59925
2013-08-31 16:28:01 +00:00
Amine Khaldi e8ed94dd9d [APPWIZ]
* Remove some Wine specific text and introduce a tiny update to the German translation. By zehnvor.
CORE-7221 #resolve #comment Committed in r59924. Danke.

svn path=/trunk/; revision=59924
2013-08-31 16:14:12 +00:00
Amine Khaldi a1bafaeaaf [NTOSKRNL]
* Fix several print specifiers.
* Add some missing variables to debug prints.

svn path=/trunk/; revision=59923
2013-08-31 16:02:13 +00:00