Commit graph

53884 commits

Author SHA1 Message Date
Thomas Faber b8c50a5989 [PSDK]
- Fix ShellItem/ShellFolderItem confusion and some misc GUIDs

svn path=/trunk/; revision=59438
2013-07-07 07:19:35 +00:00
Hermès Bélusca-Maïto 82d21b524a Revert revision r59381 since it fails to detect VS2010 (and I suppose the other ones, then).
Indeed with VS2010, checking for the string content " 16." instead of "16." makes version checking fail.
After checking with a hex editor what was the character preceding the number "1" of the "16." part of the
version string returned by cl.exe, I saw that it wasn't a space as thought by the author, but the character
of code 0xA0 ...

svn path=/trunk/; revision=59437
2013-07-07 00:23:34 +00:00
Hermès Bélusca-Maïto 006c1387b2 [KERNEL32]
Forgot to add those files in the previous commit r59435:
We now store only console handles and not console pointers themselves.

svn path=/trunk/; revision=59436
2013-07-06 19:57:38 +00:00
Hermès Bélusca-Maïto b16b88d434 [CONSRV]
- Use a handle table for storing consoles. Now checking validity of console handles is done in O(1) instead of O(n) as before.
  I will see later on whether it would be good to have both a handle table and a linked list (which is removed here) for storing them
  (when condrv will be a real console driver, handles to consoles will be obtained as you would obtain usual handles to devices, etc...
  so that consoles will be internally stored in a linked list again).
- Add a "dummy" frontend to have the possibility to adopt default actions when no frontend is attached to a console, and to always have
  a valid virtual table for them.

svn path=/trunk/; revision=59435
2013-07-06 19:47:53 +00:00
Hermès Bélusca-Maïto c3eb80aa84 [CONSRV]
Fix copy of text in text-mode screenbuffers, in case we are copying NULL chars.

svn path=/trunk/; revision=59434
2013-07-06 16:05:39 +00:00
Hermès Bélusca-Maïto 72badc4dd2 [CONSRV]
- Fix some files' info-header text.
- Move code of SrvSetConsoleWindowInfo to ConDrvSetConsoleWindowInfo.
- Introduce the helper function GetScreenBufferSizeUnits to retrieve screen-buffer width/height units.

svn path=/trunk/; revision=59433
2013-07-06 15:59:28 +00:00
Eric Kohl f77cf0c5fc [SAMLIB]
- Implement SamChangePasswordUser.
- Remove useless casts.

svn path=/trunk/; revision=59432
2013-07-06 10:28:18 +00:00
Thomas Faber 52436562f4 [INCLUDE]
- Properly declare and use DECLSPEC_CACHEALIGN. Patch by Samuel Serapión.
CORE-7139 #resolve

svn path=/trunk/; revision=59431
2013-07-06 10:11:21 +00:00
Cameron Gutman 945604b9dd [RTL8139]
- Switch back to a 32K receive window, because WRAP doesn't work with a 64K window and our receive code depends on that functionality

svn path=/trunk/; revision=59430
2013-07-05 08:34:05 +00:00
Cameron Gutman 25a49804c0 [RTL8139]
- Fix receive stalling if more than 10 packets are in the receive window
- Tune configuration to use larger DMA transfers and begin DMA earlier

svn path=/trunk/; revision=59429
2013-07-05 08:11:18 +00:00
Cameron Gutman 7630a9f60a [RTL8139]
- Fix PCH in CMake file
- Fix broken failure path in MiniportInitialize

svn path=/trunk/; revision=59428
2013-07-05 05:48:08 +00:00
Cameron Gutman 50c8f14805 [RTL8139]
- Add an RTL8139 driver based on documentation on OSDev, our existing drivers, and some prior work by Z98
- It should fully work on emulated and real RTL8139 hardware (I developed against QEMU's RTL8139)
- It's not 100% complete (some reset and halt paths aren't done) but everything I tested worked (ping, dwnl, rapps, Firefox)

svn path=/trunk/; revision=59427
2013-07-05 04:18:32 +00:00
Cameron Gutman 3fb662667c [NDIS]
- Callers to NdisMInitializeScatterGatherDma always support 32-bit DMA addresses

svn path=/trunk/; revision=59426
2013-07-05 04:14:56 +00:00
Hermès Bélusca-Maïto ab093e112f Fix some comments
svn path=/trunk/; revision=59423
2013-07-04 01:08:28 +00:00
Hermès Bélusca-Maïto 84e1ebcd07 [CMD]
Features-only commit:
- Fix version presentation at startup and when using the "ver" command (in French)
- Add to the prompt's command help, the fact that the $S specifier can be used to add a space.
- Implement the $I prompt specifier (see http://www.robvanderwoude.com/prompt.php), which sets
  an information line on top of the screen (à la OS/2).
  Use this new setting by default (I'm doing a poll on who loves it / hates it, and how we can improve it).
  To disable it, use the command: "prompt $p$g" (the default windows' prompt).
  To enable it, add the $s specifier to the prompt string (e.g. "prompt $i$p$g").
  For your information, OS/2 uses "prompt $i[$p]" :)

svn path=/trunk/; revision=59422
2013-07-04 01:05:14 +00:00
Hermès Bélusca-Maïto 0671cb8e23 [CONSRV]
- Move SrvSetConsoleWindowInfo to a better place.
- When enlarging the console buffer, use the attributes of the last cell of each line to fill the new cells for each line.
- Remove usage of HAVE_WMEMSET / wmemset for resizing the buffer (NOTE: maybe it will be needed again later on...)

svn path=/trunk/; revision=59420
2013-07-03 22:40:58 +00:00
Cameron Gutman 21e39738fe [LWIP]
- Don't leak PCBs for connections that were not accepted

svn path=/trunk/; revision=59414
2013-07-03 10:22:11 +00:00
Cameron Gutman 16f15f2195 [TCPIP]
- Add missing reference for lwIP on listeners

svn path=/trunk/; revision=59413
2013-07-03 09:04:52 +00:00
Cameron Gutman 2ef5916526 [TCPIP]
- Add asserts to ReferenceObject and DereferenceObject to catch reference misuse

svn path=/trunk/; revision=59412
2013-07-03 08:52:17 +00:00
Hermès Bélusca-Maïto 1965b2bf85 [CMD]
Remove extra \r put by hand in some console output functions, so that we use there only \n.
But modify the ConWrite function so that, if we redirect output to something else than a console
(e.g. redirect to a file or to a serial console via ... > AUX), newline characters \n get converted
into \r\n automatically.

What you get, for instance, is: https://imageshack.com/a/img853/5834/l34.png

svn path=/trunk/; revision=59411
2013-07-02 23:07:15 +00:00
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