Commit graph

53864 commits

Author SHA1 Message Date
Eric Kohl 803c51b6ba [MSV1_0]
Add dispatcher code to LsaApCallPackage and start working on password change code.

svn path=/trunk/; revision=59408
2013-07-01 18:43:36 +00:00
Hermès Bélusca-Maïto f4f73b4848 [CMD]
Fix the default input & output console modes. Now, you can use the command interpreter via serial port redirection, by:
1- Enabling a serial port on the machine on which ReactOS runs.
2- Launching:
   cmd > AUX
   at a command prompt.

svn path=/trunk/; revision=59405
2013-07-01 00:07:39 +00:00
Hermès Bélusca-Maïto ce910f7e5f [CMD]
Fix whitespace

svn path=/trunk/; revision=59404
2013-06-30 23:58:48 +00:00
Eric Kohl 0266397f1f [NETAPI32]
NetUserSetInfo: Implement level 1018 and ignore the usriX_max_storage in levels 2-4.

svn path=/trunk/; revision=59402
2013-06-30 20:18:05 +00:00
Hermès Bélusca-Maïto be7d341f17 [CMD]
Add a helper function which checks whether we are going to output text to a console handle or to a file handle.
Use it in ConWrite and in ConPrintfPaging.

svn path=/trunk/; revision=59401
2013-06-30 19:55:39 +00:00
Hermès Bélusca-Maïto 10e745a186 [CONSRV]
Improve debug prints.

svn path=/trunk/; revision=59400
2013-06-30 19:21:42 +00:00
Hermès Bélusca-Maïto d4fa57ec54 [KERNEL32]
Code formatting only.

svn path=/trunk/; revision=59399
2013-06-30 18:48:45 +00:00
Hermès Bélusca-Maïto 523f0d4f97 [CMD]
Yet again some whitespace fixes.

svn path=/trunk/; revision=59396
2013-06-30 16:10:54 +00:00
Hermès Bélusca-Maïto 67152105b1 [CMD]
Fix the "TYPE" command (now behaves as on Windows)

svn path=/trunk/; revision=59395
2013-06-30 15:28:40 +00:00
Daniel Reimer 9710382684 Add Alter's DVD Write Now software to rapps. It includes a UDF filesystem driver. Working: Access to UDF disks with software (Windows DVDs) and Video DVDs. Not working: Video BluRays (UDF 2.50 not supported by the driver), USB sticks. Untested: Rest
svn path=/trunk/; revision=59394
2013-06-30 14:53:00 +00:00
Hermès Bélusca-Maïto 55e05466fb [CMD]
Give help for the "help" command.

svn path=/trunk/; revision=59393
2013-06-30 14:09:38 +00:00
Sylvain Petreolle 6536e07d53 [QUARTZ]
Use winetest_interactive to disable tests.

svn path=/trunk/; revision=59392
2013-06-30 13:59:59 +00:00
Hermès Bélusca-Maïto 1536f38001 [CMD]
- Remove erratic tabs in language files.
- Add the fact that one can use the "help" command with: "help command" to obtain help for "command".

svn path=/trunk/; revision=59391
2013-06-30 13:49:54 +00:00
Hermès Bélusca-Maïto d40eb536e9 [CMD]
Fix some people's names presentation

svn path=/trunk/; revision=59390
2013-06-30 13:23:30 +00:00
Hermès Bélusca-Maïto 18857125d2 [CMD]
And finally...
...
... fix whitespace, part 6/6 !!!! (convert tabs into 4-space indent).

Really, CMD is, together with win32k, the worst indented project I've ever seen.
You have lots of non-sensical extra newlines put in the middle of the code,
weird indentation made by a mix of tabs / spaces which take either 4 or 8 or even (!!)
2 spaces per indentation level; sometimes some guy mixed his space key with his tab key
to add a space between a word and another one; a mix of some sh*tty code styles (K&R and personal ones),
many many times no space between a logical keyword and the operand on which it applies, etc... etc...

I tried to put some sense in it, but I may have forgotten some insidious tabs somewhere...

svn path=/trunk/; revision=59389
2013-06-30 13:11:20 +00:00
Eric Kohl 8e04e7f45a [NETAPI32]
Implement NetUserChangePassword.

svn path=/trunk/; revision=59388
2013-06-30 13:02:45 +00:00
Hermès Bélusca-Maïto f5f70d842d [CMD]
Fix whitespace (part 5ter/6) (convert tabs into 4-space indent).

svn path=/trunk/; revision=59387
2013-06-30 12:58:45 +00:00
Hermès Bélusca-Maïto 3e73d1858d [CMD]
Fix whitespace (part 5bis/6) (convert tabs into 4-space indent).

svn path=/trunk/; revision=59386
2013-06-30 12:52:54 +00:00
Hermès Bélusca-Maïto a1fdcd172a [CMD]
Fix whitespace (part 5/6) (convert tabs into 4-space indent).

svn path=/trunk/; revision=59385
2013-06-30 12:38:11 +00:00
Daniel Reimer 04b66da6bb Oops, mea culpa. Fix Link
svn path=/trunk/; revision=59384
2013-06-30 12:35:54 +00:00
Hermès Bélusca-Maïto 3f69dc1614 [CMD]
Fix whitespace (part 4/x) (convert tabs into 4-space indent).

svn path=/trunk/; revision=59383
2013-06-30 12:27:18 +00:00
Daniel Reimer 16ca7b2a1d Updated rapps database and added Lazarus IDE.
CORE-6914 #resolve #comment Added to Rapps. Thx

svn path=/trunk/; revision=59382
2013-06-30 12:24:34 +00:00
Thomas Faber 94167fa6cb [CMAKE]
- Fix MSVC version detection in configure.cmd
CORE-7337 #comment VS12 is not supported by CMake yet. With r59381, configure should at least give you a proper error message.

svn path=/trunk/; revision=59381
2013-06-30 08:28:05 +00:00
Thomas Faber 971e49a62d [EXPLORER]
- Don't intentionally break on MSVC. I'm too lazy to change all of these to __REACTOS__, and it's a hack anyway...
CORE-7335

svn path=/trunk/; revision=59380
2013-06-30 05:49:53 +00:00
Hermès Bélusca-Maïto 6437619ff3 [CMD]
Fix whitespace (part 3/x) (convert tabs into 4-space indent).

svn path=/trunk/; revision=59379
2013-06-30 00:08:43 +00:00
Hermès Bélusca-Maïto 9b6dc5bd15 [CMD]
Fix whitespace (part 2/x) (convert tabs into 4-space indent).

svn path=/trunk/; revision=59378
2013-06-29 23:50:13 +00:00
Hermès Bélusca-Maïto b067add889 [CMD]
Fix some whitespace and misspellings (part 1/x)

svn path=/trunk/; revision=59377
2013-06-29 23:18:27 +00:00
Hermès Bélusca-Maïto d3e9d462e4 [DDK:NTIFS]
Correct some definitions (checked against official DDK). Fix also FSCTL_SET_SPARSE.
CORE-7333 #resolve #comment Fixed in revision r59376, thanks.

svn path=/trunk/; revision=59376
2013-06-29 23:01:28 +00:00
Amine Khaldi 1ab112c1d7 [CMD_WINETEST]
* Import from Wine 1.5.26.

svn path=/trunk/; revision=59375
2013-06-29 21:38:34 +00:00
Hermès Bélusca-Maïto fabb499491 [FREELDR]
Fix extended and control characters handling in text-boxes. We don't show anymore strange characters when pressing on, e.g. up or down arrows anymore.
Also, fix uppercase 'o' character (which has the same scan code but is not an extended key, as the End key).
The culprit revision which introduced this bug is r58658.

CORE-7323 #resolve #comment The uppercase 'o' problem is fixed in revision r59373. Thanks for your report :)

svn path=/trunk/; revision=59373
2013-06-29 20:22:36 +00:00
Eric Kohl 91e2610a37 [MSPORTS]
- Add the port settings page for parallel ports.
- Implement ParallelPortPropPageProvider.

svn path=/trunk/; revision=59372
2013-06-29 19:25:31 +00:00
Hermès Bélusca-Maïto 024afb5abf [REGEDIT]
Fix tree-view's image-list handle leakage when application quits.
Loosely based on a patch by Edijs Kolesnicovičs and Grégory Macário Harbs

NOTE: Always cleanup / destroy (or, try to) things in the reverse way they are created / initialized (i.e. in a symmetrical way). Therefore, destry the associated tree-view's image-list in the DestroyTreeView function, which is the opposite of CreateTreeView (which calls InitTreeViewImageLists). The same mechanism is already used by the list-view. For completeness, add a parameter to the DestroyTreeView function (a handle to a tree-view) so that we can pass to it the global tree-view's handle (see what's done in WM_DESTROY message handling in ChildWndProc).

CORE-6856 #resolve #comment Should be fixed in revision r59371. See the commit log for more details. Thanks :)

svn path=/trunk/; revision=59371
2013-06-29 19:22:00 +00:00
Hermès Bélusca-Maïto fefd11144a [REGEDIT]
Code formatting only.

svn path=/trunk/; revision=59370
2013-06-29 19:05:15 +00:00
Eric Kohl aef959eff2 [LSALIB]
- Implement LsaConnectUntrusted.
- Remove dead code.
- LsaRegisterLogonProcess: Fix ConnectInfo.Status check.

svn path=/trunk/; revision=59369
2013-06-29 18:45:45 +00:00
Sylvain Petreolle d9ba33534f [SHELL32]
Fix MSVC build.

svn path=/trunk/; revision=59368
2013-06-29 17:46:24 +00:00
Sylvain Petreolle f5fbeb377b [SHELL32]
Properly disable DDE tests.

svn path=/trunk/; revision=59367
2013-06-29 17:35:05 +00:00
Hermès Bélusca-Maïto d405d25f8c [RTL:PATH]
- Use UNICODE markers for characters (the L'.' symbol for example) (i.e. fix code originating from Wine).
- Accept NULL Path/FileName in RtlDosSearchPath_U (fixes some ntdll_apitest tests, see after).

Fixes for RtlGetFullPathName_Ustr:
==================================
- Rework RtlGetFullPathName_Ustr by "reusing" little parts of the code of our old RtlGetFullPathName_U coming from Wine (and then make RtlGetFullPathName_U call RtlGetFullPathName_Ustr instead).
- Include the get_full_path_helper code into RtlGetFullPathName_Ustr and NT'ify it, and fix it too:
  * Fix skipping trailing path separators (slashes / backslashes) at the end of pathes.
  * Zero-out the destination buffer
  * Fix retrieving the "Short Name" (ie. the file name) out from the given full path name.
  * Fix remaining UNC path handling (ie. correctly remove trailing points, spaces, in UNC paths).

They fix the following tests:
* kernel32:FindFiles (6 failures to full success)
* ntdll:RtlDosPathNameToNtPathName_U (4 failures to full success)
* ntdll:RtlDosSearchPath_U (6 failures to full success)
* ntdll:RtlGetFullPathName_U (8 failures down to 2 failures because we don't correctly NULLify the user buffer when trimming unneeded chars)
* ntdll:RtlGetFullPathName_UstrEx (6 failures down to 2 failures for the same reasons as the previous test)

To Do: Finish to NT'ify the code originated from Wine, fix NULLification of the user buffer (when trimming unneeded characters), and "clean" the code ie. remove extra DPRINTs and added FIXMEs and NOTEs comments.

svn path=/trunk/; revision=59366
2013-06-29 15:29:09 +00:00
Timo Kreuzer 9db307e83e [CRT]
Fix exponential notation precision in scanf 
Patch by dmitry216
CORE-7010 #resolve

svn path=/trunk/; revision=59365
2013-06-29 14:55:01 +00:00
Hermès Bélusca-Maïto aa185f871c [MUP]
Return STATUS_OBJECT_NAME_INVALID instead of STATUS_BAD_NETWORK_PATH, fixes some tests (kernel32:FindFiles in particular).

svn path=/trunk/; revision=59364
2013-06-29 14:03:04 +00:00
Thomas Faber 56a80263d4 [GETUNAME]
- Implement GetUName. Patch by Baruch Rutman.
CORE-7264 #resolve #comment Awesome, thanks! Committed in r59363.

svn path=/trunk/; revision=59363
2013-06-29 13:44:17 +00:00
Thomas Faber 1c1f89cd6b [KMTESTS:MM]
- Gracefully handle file open failure in ZwCreateSection test. Patch by Aleksandar Andrejevic.
ROSTESTS-115 #resolve

svn path=/trunk/; revision=59362
2013-06-29 13:10:30 +00:00
Thomas Faber a8ece748b5 [DESK.CPL]
- Fix wrong buffer usage
CORE-7300 #resolve

svn path=/trunk/; revision=59361
2013-06-29 13:05:52 +00:00
Thomas Faber 1380373ae4 [SVCHOST]
- Fix various incorrect buffer size calculations
- Don't expand environment variables in REG_SZ values
- Repair all DPRINTs
- Other misc fixes
CORE-7296 #resolve

svn path=/trunk/; revision=59360
2013-06-29 13:01:35 +00:00
Thomas Faber 31e65c22bf [SVCHOST]
- Make WCHARs explicit

svn path=/trunk/; revision=59359
2013-06-29 11:46:13 +00:00
Thomas Faber 75877f2763 [SVCHOST]
- Yoda logic fix you must. No functional changes.

svn path=/trunk/; revision=59358
2013-06-29 11:41:05 +00:00
Thomas Faber 52a90949ed [SVCHOST]
- Convert tabs to spaces. No code changes.

svn path=/trunk/; revision=59357
2013-06-29 11:10:28 +00:00
Thomas Faber 14e80363be [QUARTZ_WINETEST]
- Skip dsoundrender, filtergraph, misc, videorenderer tests because they cause testbot timeouts.
ROSTESTS-116

svn path=/trunk/; revision=59356
2013-06-29 08:36:39 +00:00
Thomas Faber 2ce6f4b85d [KERNEL32]
- Fix use of uninitialized variables in failure case. Patch by Samuel Serapión
CORE-7302 #resolve

svn path=/trunk/; revision=59355
2013-06-29 06:08:57 +00:00
Thomas Faber d7f51ee28b [CRT]
- Handle realloc failure in SetEnv. Based on patch by Samuel Serapión
CORE-7306 #resolve

svn path=/trunk/; revision=59354
2013-06-29 06:04:58 +00:00
Thomas Faber e2789d2b8b [NDK]
- Fix some lpcfuncs.h annotations. Includes patch by Ivan Rodionov.
CORE-7329 #resolve #comment Thanks.

svn path=/trunk/; revision=59353
2013-06-29 05:48:22 +00:00