Commit graph

54464 commits

Author SHA1 Message Date
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
Giannis Adamopoulos 9e15df6c61 really fix build
svn path=/trunk/; revision=59922
2013-08-31 15:05:49 +00:00
Hermès Bélusca-Maïto 795ebaa8b8 [FREELDR-KDCOM-KDBG]
Fix debugging issues.

svn path=/trunk/; revision=59921
2013-08-31 15:01:50 +00:00
Hermès Bélusca-Maïto aff36c042d Code formatting only
svn path=/trunk/; revision=59920
2013-08-31 15:00:17 +00:00
Giannis Adamopoulos 999fd92e73 [shell32]
- Remove a line that shouldn't have been committed

svn path=/trunk/; revision=59919
2013-08-31 14:59:45 +00:00
Giannis Adamopoulos d102ea906c [shell32]
- Halfplement CDesktopBrowser::BrowseObject. Now when the user tries to open a folder from the desktop we will try to create a new explorer window.
- ps: this affects only explorer_new and the rest of the shell is still not working well enough to actually show the new window

svn path=/trunk/; revision=59918
2013-08-31 14:53:01 +00:00
Amine Khaldi 86602e29cf [SAL]
* Forward __callback to __inner_callback now that wincrypt.h has the proper inclusion.

svn path=/trunk/; revision=59917
2013-08-31 11:07:09 +00:00
Alex Ionescu 0a79700b0d [CONSRV]: One last fix to CONSRV_API_CONNECTINFO. We now have compatibility with Windows and kernel32 is much much happier.
[CONSRV]: Implement Case11 of BaseSrvNlsCreateSection, but we seem to be getting bogus locale IDs.

svn path=/trunk/; revision=59916
2013-08-31 08:30:00 +00:00
Alex Ionescu aa796920ad CORE-2198 #resolve #time 15m #comment [NPFS/KERNEL32]: Always use the right semantics.
svn path=/trunk/; revision=59915
2013-08-31 07:29:26 +00:00
Alex Ionescu 675f4b0d71 [NPFS]: Add support for a few more volume information classes, and disable APCs like an FS should.
svn path=/trunk/; revision=59914
2013-08-31 07:07:43 +00:00
Alex Ionescu 084a679a6b [NTDLL]: Use NT-style calculation in CsrClientCallServer. In special cases, structures can be padded at the end, causing the size of the structure - the size of last field, not to be equal to the offset of the last field. Doing math the NT way will, in some cases (if the CSR union is not 8-byte aligned), cause the TotalLength to be 4 bytes bigger than really needed.
[CSRSRV]: Increase the padding to 39*4 bytes, instead of 35, to match Windows.

svn path=/trunk/; revision=59913
2013-08-31 02:19:36 +00:00
Alex Ionescu 0b45497394 [CPORT]: We shouldn't be DPRINT1'ing from the library designed to DPRINT...
svn path=/trunk/; revision=59912
2013-08-31 02:16:04 +00:00
Sylvain Petreolle 7c164e2686 configure: remove bashism.
svn path=/trunk/; revision=59910
2013-08-31 00:05:29 +00:00
Alex Ionescu 2e11e06309 [NTOSKRNL]: Forcefully set IMAGE_DLLCHARACTERISTICS_NO_ISOLATION on all images. See comment for more information. Windows' kernel32.dll now beautifully loads to the ReactOS winlogon screen (which nobody should ever see -- it's being shown because RtlDefaultNpAcl is not implemented in ReactOS, and thus all named pipes die (SCM, etc...)
svn path=/trunk/; revision=59909
2013-08-30 19:54:44 +00:00
Alex Ionescu 8ee47fd2d9 [HIVESYS]: Set Session Manager\AppCompatibility, DisableAppCompat = TRUE in ReactOS, which avoids Kernel32 from doing app compat stuff.
svn path=/trunk/; revision=59908
2013-08-30 19:37:03 +00:00
Hermès Bélusca-Maïto ef6d5c266e [CONSRV]: Stubplement the remaining APIs needed for Windows kernel32.
svn path=/trunk/; revision=59907
2013-08-30 17:53:45 +00:00