Commit graph

54386 commits

Author SHA1 Message Date
Amine Khaldi
d336165578 [MSHTML]
* Move the resource files to the lang folder.

svn path=/trunk/; revision=59986
2013-09-04 10:01:30 +00:00
Alex Ionescu
02cb040946 This commit, in my opinion, marks an important milestone in ReactOS development. One is now able to boot to desktop, launch applications, download through the application manager, play solitaire, minesweeper, launch Task Manager, etc... by using an unmodified Windows 2003 kernel32.dll binary (and, until our NPFS driver is fixed, the unmodified Windows 2003 NPFS driver). Additionally, one is able to achieve the same by booting with an unmodified Windows 2003 ntdll.dll, including a combination of both. The capability to mix-and-match components such as kernel32 and ntdll, at the heart of the system, will allow to better understand apitest failures (just as Wine has long had the capability to use Windows DLLs instead). With these two building blocks, additional Windows 2003 DLLs can be dropped in/tested, etc, and where failures are seen, a likely component can now be blamed. Furthermore, debugging with public symbols for these DLLs is now possible with WinDBG (in fact, this is how many bugs were fixed in this attempt). Many issues already exist when running with this combination FYI, for example, I was not able to launch any installers (tested Firefox and MIRC). This already demonstrates either missing functionality or ReactOS-specific functionality in components which depend on kernel32. I suspect the next step is infrastructure work to get special patchbot/builders to try and report back winetest results, and for additional DLLs to be "ported"/made to work. On a final note, this mixing and matching has benefits on both ends -- it's now likely that ReactOS' ntdll can run on Server 2003, at least far enough to get to Explorer or Task Manager. Running apitests on Server 2003 with and without reactos DLLs should also easily identify if certain DLLs are directly to blame for certain regressions/failures. </end excited rant>
[BASESRV]: Allocate the INI mappings from the right heap.

svn path=/trunk/; revision=59985
2013-09-04 07:28:15 +00:00
Alex Ionescu
4edf5167a4 [BASESRV]: Add INIFILE_MAPPING structures, and set a valid IniFileMapping pointer in the shared static data. Windows' kernel32 needs this whenever an INI API is called, which is why UserInit was crashing on load (our pointer was set to NULL). Now userinit.exe loads/works, and explorer.exe is the one that fails to initialize. But one can CTRL-ALT-DEL and launch Task Manager (works!), Calc (but not Notepad).
svn path=/trunk/; revision=59984
2013-09-04 07:07:08 +00:00
Alex Ionescu
fb738a2fab [BASESRV]: Fix inverted definition of BASE_CREATE_THREAD. Now Windows' kernel32.dll can create threads :) And so RPC now works, and services.exe + all the services now initailize and run correctly. userinit.exe now dies with 0xC0000005.
svn path=/trunk/; revision=59983
2013-09-04 05:06:19 +00:00
Alex Ionescu
f5f5edbd4a [KERNEL32]: Enable guard pages for Win32 threads too, not just native threads (replicated the changes I made to RtlpCreateStack).
svn path=/trunk/; revision=59982
2013-09-04 04:47:02 +00:00
Amine Khaldi
e371890058 [COMCTL32]
* Move the resource files to the lang folder.

svn path=/trunk/; revision=59980
2013-09-03 22:44:37 +00:00
Hermès Bélusca-Maïto
6848a97d66 Fix much more fonts (the reverse exclamation point and the block 0xb2 in particular, as well as the æ character).
svn path=/trunk/; revision=59979
2013-09-03 20:19:24 +00:00
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