reactos.git
5 years agoSync with trunk r63343.
David Quintana [Sun, 18 May 2014 12:11:58 +0000 (12:11 +0000)]
Sync with trunk r63343.

svn path=/branches/shell-experiments/; revision=63351

5 years ago[WIN32K/NTUSER]
David Quintana [Sun, 18 May 2014 12:04:25 +0000 (12:04 +0000)]
[WIN32K/NTUSER]
* Allow WM_ACTIVATEAPP to be sent to the deactivated windows. Fixes the start menu not closing when clicking outside the taskbar. Patch by Huw (Frontier).
CORE-8235 #resolve #comment Included in shell-experiments branch. Thanks.

svn path=/branches/shell-experiments/; revision=63350

5 years ago[NTVDM]: Improve the dumper a bit.
Hermès Bélusca-Maïto [Sat, 17 May 2014 23:55:14 +0000 (23:55 +0000)]
[NTVDM]: Improve the dumper a bit.

svn path=/trunk/; revision=63343

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 17 May 2014 23:49:35 +0000 (23:49 +0000)]
[NTVDM]
Add a memory dump facility.

svn path=/trunk/; revision=63342

5 years ago[USER32]
Timo Kreuzer [Sat, 17 May 2014 23:00:34 +0000 (23:00 +0000)]
[USER32]
Fix sizeof(WCHAR) vs sizeof(CHAR) problem. Patch by Victor Martinez.
CORE-8166 #resolve #comment Committed in r63341, thanks.

svn path=/trunk/; revision=63341

5 years ago[VGA_NEW]
Timo Kreuzer [Sat, 17 May 2014 22:55:22 +0000 (22:55 +0000)]
[VGA_NEW]
Improve order of check against NULL and assignement. Patch by Victor Martinez.
CORE-8121 #resolve #comment Committed in r63340, thanks

svn path=/trunk/; revision=63340

5 years ago[WIN32K]
Timo Kreuzer [Sat, 17 May 2014 22:33:42 +0000 (22:33 +0000)]
[WIN32K]
Revert r56462. Should fix some win32k crashes. See CORE-7965

svn path=/trunk/; revision=63339

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 17 May 2014 22:30:43 +0000 (22:30 +0000)]
[NTOSKRNL]
Fix Mm

svn path=/trunk/; revision=63338

5 years ago[NTVDM][KERNEL32][BASESRV]
Aleksandar Andrejevic [Sat, 17 May 2014 22:26:37 +0000 (22:26 +0000)]
[NTVDM][KERNEL32][BASESRV]
Modify BaseSrvFillCommandInfo to always return the correct lengths of the parameters.
In BaseSrvGetNextVDMCommand, check if BaseSrvFillCommandInfo failed.
In CommandThreadProc, expand the size of the environment if necessary.
Add a useful DPRINT1 in BiosKbdBufferPush.
Finish implementing BaseCreateVDMEnvironment.
In GetNextVDMCommand, return the correct lengths of parameters if BaseSrvGetNextVDMCommand
failed.

svn path=/trunk/; revision=63337

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 17 May 2014 20:34:11 +0000 (20:34 +0000)]
[NTOSKRNL]
Modify the VAD node code to return a TABLE_SEARCH_RESULT instead of an NTSTATUS, this allows us to avoid a 2nd tree iteration when inserting VADs. Fix several bugs in MiFindEmptyAddressRangeDownBasedTree. This code now contains a compatibility hack, that emulates a bug in the Windows 2003 kernel. Note that this bug is also present in MiFindEmptyAddressRangeDownTree on Windows 2003, but will not be exposed to the user, since it only affects the region above the top-most VAD, which will always be occupied by the PEB or TEB. Implement MEM_TOPDOWN in NtAllocateVirtualMemory. See CORE-6392

svn path=/trunk/; revision=63336

5 years ago[FREETYPE]
Amine Khaldi [Sat, 17 May 2014 18:52:24 +0000 (18:52 +0000)]
[FREETYPE]
* Update to 2.5.3. Based on the sync done by Ivan Di Francesco.
CORE-8033

svn path=/trunk/; revision=63335

5 years ago[TESTDATA]
Timo Kreuzer [Sat, 17 May 2014 18:36:22 +0000 (18:36 +0000)]
[TESTDATA]
Fix test.dll

svn path=/trunk/; revision=63334

5 years ago[NTDLL_APITEST]
Timo Kreuzer [Sat, 17 May 2014 18:35:39 +0000 (18:35 +0000)]
[NTDLL_APITEST]
Add more tests for NtMapViewOfSection. Fix some tests, so that everything works on windows 2003.

svn path=/trunk/; revision=63333

5 years ago[LIBJPEG]
Amine Khaldi [Sat, 17 May 2014 18:14:51 +0000 (18:14 +0000)]
[LIBJPEG]
* Update to release 9a. Based on the sync done by Ivan Di Francesco.
CORE-8033

svn path=/trunk/; revision=63332

5 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 17 May 2014 15:29:07 +0000 (15:29 +0000)]
[NTVDM]
DosResizeMemory shouldn't succeed unless the memory block has been resized to the specified amount.

svn path=/trunk/; revision=63331

5 years ago[NTOSKRNL]
Eric Kohl [Sat, 17 May 2014 14:42:28 +0000 (14:42 +0000)]
[NTOSKRNL]
Partial revert of r63326! The correct partition numbers cause boot failures.

svn path=/trunk/; revision=63330

5 years ago[WINSCARD]
Amine Khaldi [Sat, 17 May 2014 14:06:12 +0000 (14:06 +0000)]
[WINSCARD]
* Import from Wine 1.7.17.
* Properly stub some exports thanks to our previous code.
* Add to build.
CORE-8224 #resolve #comment Added in r63328. Thanks for reporting!
CORE-8080

svn path=/trunk/; revision=63329

5 years ago[PSDK]
Amine Khaldi [Sat, 17 May 2014 14:00:54 +0000 (14:00 +0000)]
[PSDK]
* Add some missing definitions.
* Fix SCardReleaseStartedEvent().

svn path=/trunk/; revision=63328

5 years ago[GREEN]: Fix 2nd parameter of ObOpenObjectByName.
Hermès Bélusca-Maïto [Sat, 17 May 2014 13:26:32 +0000 (13:26 +0000)]
[GREEN]: Fix 2nd parameter of ObOpenObjectByName.

svn path=/trunk/; revision=63327

5 years ago[NTOSKRNL]
Eric Kohl [Sat, 17 May 2014 12:55:06 +0000 (12:55 +0000)]
[NTOSKRNL]
xHalIoReadPartitionTable: Only used non-container partition entries have a non-zero partition number.

svn path=/trunk/; revision=63326

5 years ago[FONTS]
Amine Khaldi [Sat, 17 May 2014 11:40:54 +0000 (11:40 +0000)]
[FONTS]
* Update tahoma.ttf and tahomabd.ttf.
CORE-7909 #resolve #comment Committed in r63325. Thanks Ștefan!
CORE-8080

svn path=/trunk/; revision=63325

5 years ago[RAPPS]
Amine Khaldi [Sat, 17 May 2014 11:25:50 +0000 (11:25 +0000)]
[RAPPS]
* Some list entries fixes.
* Mention that Turkish translations were done by Erdem Ersoy.
CORE-7710 #resolve #comment Committed in r63324.

svn path=/trunk/; revision=63324

5 years ago[SPEC2DEF]
Timo Kreuzer [Sat, 17 May 2014 10:58:10 +0000 (10:58 +0000)]
[SPEC2DEF]
Fix def file generation on non-86

svn path=/trunk/; revision=63323

5 years ago[CRT]
Amine Khaldi [Sat, 17 May 2014 10:41:36 +0000 (10:41 +0000)]
[CRT]
* Update _sopen_s().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63322

5 years ago[CRT]
Amine Khaldi [Sat, 17 May 2014 10:35:35 +0000 (10:35 +0000)]
[CRT]
* Import _chsize_s().
* Update _chsize().
CORE-8080

svn path=/trunk/; revision=63321

5 years ago[CRT]
Amine Khaldi [Sat, 17 May 2014 10:28:57 +0000 (10:28 +0000)]
[CRT]
* Update _fseeki64().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63320

5 years ago[ConSrv]
James Tabor [Sat, 17 May 2014 02:15:50 +0000 (02:15 +0000)]
[ConSrv]
- Move Alt-Escape, Space and Tab to ConWndProc, disable GuiProcessKeyCallback.
- Alt-Space was not getting launched out of GuiProcessKeyCallback. The key needed translated.
- Reduce code for system menus.

svn path=/trunk/; revision=63319

5 years ago[ConSrv]
James Tabor [Fri, 16 May 2014 21:05:37 +0000 (21:05 +0000)]
[ConSrv]
- Readjust the bytes to wide character size.

svn path=/trunk/; revision=63318

5 years ago[NtUser|User32]
James Tabor [Fri, 16 May 2014 20:43:23 +0000 (20:43 +0000)]
[NtUser|User32]
- Fully strip the Atl-F4 from the Pop Up System Menu.
- Fix menu.c:1418: Test failed: InsertMenuItem should have failed. Both A/W...
- Fix menu key by Item when cloning menus.

svn path=/trunk/; revision=63317

5 years ago[WIN32K/NTUSER]
David Quintana [Fri, 16 May 2014 19:13:12 +0000 (19:13 +0000)]
[WIN32K/NTUSER]
* HSHELL_WINDOWCREATED should only be sent for visible windows.
CORE-8226 #resolve #comment Fixed in the latest commit. Thanks for reporting.

svn path=/branches/shell-experiments/; revision=63316

5 years ago[ConSrv]
James Tabor [Fri, 16 May 2014 18:26:00 +0000 (18:26 +0000)]
[ConSrv]
- Strip the Atl-F4 from the Pop Up System Menu since we do not support it.

svn path=/trunk/; revision=63315

5 years ago[OPENGL32]
Kamil Hornicek [Fri, 16 May 2014 15:52:15 +0000 (15:52 +0000)]
[OPENGL32]
- don't try to free an invalid address

svn path=/trunk/; revision=63314

5 years ago[WIN32k/NTUSER]
David Quintana [Fri, 16 May 2014 11:14:04 +0000 (11:14 +0000)]
[WIN32k/NTUSER]
* Make the conditions actually check what was intended.

svn path=/branches/shell-experiments/; revision=63313

5 years ago[RSHELL]
David Quintana [Fri, 16 May 2014 11:12:51 +0000 (11:12 +0000)]
[RSHELL]
* Fix shell menus closing when clicking on the frame/banner.
CORE-7586

svn path=/branches/shell-experiments/; revision=63312

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Fri, 16 May 2014 00:56:46 +0000 (00:56 +0000)]
[NTVDM]
Implement INT 21h, AH=5Ch "Lock/Unlock Region of File".

svn path=/trunk/; revision=63311

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Fri, 16 May 2014 00:34:54 +0000 (00:34 +0000)]
[NTVDM]
Partially implement INT 21h, AH=60h -- "Canonicalize File Name or Path".

svn path=/trunk/; revision=63310

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Thu, 15 May 2014 23:13:06 +0000 (23:13 +0000)]
[NTVDM]
- Add some diagnostic DPRINTs (they are off by default), and fix few of them.
- Fix/complete few comments.
- Implement INT 21h, AH=56h (rename file), 5Ah (create temporary file), 5Bh (create new file), 68h and 6Ah ("commit" aka. flush file; they are the same function).
- Stubplement INT 21h, AH=60h (canonicalize file name or path) and 6Ch (extended open or create file). For this latest one I will merge DosCreateFile and DosOpenFile into the same function (in fact a wrapper around CreateFileA, that is used both for creating and opening files).

svn path=/trunk/; revision=63309

5 years ago[NTVDM]
Aleksandar Andrejevic [Thu, 15 May 2014 23:00:01 +0000 (23:00 +0000)]
[NTVDM]
Fix dead code.

svn path=/trunk/; revision=63308

5 years ago[WIN32K/NTUSER]
David Quintana [Thu, 15 May 2014 18:30:31 +0000 (18:30 +0000)]
[WIN32K/NTUSER]
* Fix gcc compilation.

svn path=/branches/shell-experiments/; revision=63307

5 years ago[WIN32K/NTUSER]
David Quintana [Thu, 15 May 2014 18:07:41 +0000 (18:07 +0000)]
[WIN32K/NTUSER]
* Apply the same filter to HSHELL_WINDOWACTIVATED, that I used for _WINDOWCREATED.

svn path=/branches/shell-experiments/; revision=63306

5 years ago[FORMATTING]
Eric Kohl [Thu, 15 May 2014 16:32:30 +0000 (16:32 +0000)]
[FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=63305

5 years ago[EXPLORER-NEW]
David Quintana [Thu, 15 May 2014 13:23:06 +0000 (13:23 +0000)]
[EXPLORER-NEW]
* Fix handling of taskbar items.
* Filter out the desktop and taskbar from the button list.
* Fixes minimizing from the taskbar in Windows (something else is preventing it from working in ros).

[NTUSER]
* Improve filtering of windows before calling HSHELL_WINDOWCREATED.

[USER32]
* Menus are supposed to be WS_EX_TOOLWINDOW so they don't show up in the taskbar.

[ATL]
[BROWSEUI]
[SHELL32]
* Include ATL aggregation patch by Huw (Frontier) (with Amine's changes).

CORE-8175

svn path=/branches/shell-experiments/; revision=63304

5 years ago[NTVDM]: Code formatting and DPRINT fix.
Hermès Bélusca-Maïto [Thu, 15 May 2014 01:13:44 +0000 (01:13 +0000)]
[NTVDM]: Code formatting and DPRINT fix.

svn path=/trunk/; revision=63303

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 May 2014 20:56:21 +0000 (20:56 +0000)]
[NTVDM]
Don't calculate NextElement twice.
Properly initialize the keyboard buffer head and tail.

svn path=/trunk/; revision=63302

5 years ago[NTDLL_APITEST]
Timo Kreuzer [Wed, 14 May 2014 20:46:47 +0000 (20:46 +0000)]
[NTDLL_APITEST]
Revert unwanted changes

svn path=/trunk/; revision=63301

5 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 14 May 2014 20:27:18 +0000 (20:27 +0000)]
[NTOSKRNL]
Fix NtReleaseMutant, which was expecting MUTANT_QUERY_STATE right on the mutant handle, which is not required, probably a copypasta. Fixes a test.

svn path=/trunk/; revision=63300

5 years ago[NTDLL_APITEST]
Timo Kreuzer [Wed, 14 May 2014 20:23:38 +0000 (20:23 +0000)]
[NTDLL_APITEST]
Add a test for NtReleaseMutant

svn path=/trunk/; revision=63299

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Wed, 14 May 2014 19:19:57 +0000 (19:19 +0000)]
[NTVDM]
For diagnostic/debugging purposes, prefill the keyboard buffer with invalid values.

svn path=/trunk/; revision=63298

5 years ago[NTVDM]: Introduce a echo state for INT 21h, AH=01h and AH=3Fh.
Hermès Bélusca-Maïto [Wed, 14 May 2014 18:50:29 +0000 (18:50 +0000)]
[NTVDM]: Introduce a echo state for INT 21h, AH=01h and AH=3Fh.

svn path=/trunk/; revision=63297

5 years ago[CRT]
Amine Khaldi [Wed, 14 May 2014 18:24:38 +0000 (18:24 +0000)]
[CRT]
* Update _wsopen().
CORE-8080

svn path=/trunk/; revision=63296

5 years ago[CRT]
Amine Khaldi [Wed, 14 May 2014 17:14:46 +0000 (17:14 +0000)]
[CRT]
* Update fopen_s().
CORE-8080

svn path=/trunk/; revision=63295

5 years ago[BZIP2]
Amine Khaldi [Wed, 14 May 2014 17:05:42 +0000 (17:05 +0000)]
[BZIP2]
* Cleanup this folder.

svn path=/trunk/; revision=63294

5 years ago[CRT]
Amine Khaldi [Wed, 14 May 2014 14:55:37 +0000 (14:55 +0000)]
[CRT]
* Update ungetc().
CORE-8080

svn path=/trunk/; revision=63293

5 years ago[CRT]
Amine Khaldi [Wed, 14 May 2014 14:52:00 +0000 (14:52 +0000)]
[CRT]
* Update fread().
CORE-8080

svn path=/trunk/; revision=63292

5 years ago[CRT]
Amine Khaldi [Wed, 14 May 2014 14:45:08 +0000 (14:45 +0000)]
[CRT]
* Update alloc_buffer().
CORE-8080

svn path=/trunk/; revision=63291

5 years ago[CRT]
Amine Khaldi [Wed, 14 May 2014 14:35:13 +0000 (14:35 +0000)]
[CRT]
* Update read_i().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63290

5 years ago[CRT]
Amine Khaldi [Wed, 14 May 2014 11:03:21 +0000 (11:03 +0000)]
[CRT]
* Update msvcrt_{init,free}_io().
CORE-8080

svn path=/trunk/; revision=63289

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 May 2014 03:29:58 +0000 (03:29 +0000)]
[NTVDM]
Implement INT 21h function AH = 67h (Set Handle Count).

svn path=/trunk/; revision=63288

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 14 May 2014 02:35:26 +0000 (02:35 +0000)]
[NTVDM]
The value of USER_MEMORY_SIZE depends on FIRST_MCB_SEGMENT.

svn path=/trunk/; revision=63287

5 years ago[FAST486]
Aleksandar Andrejevic [Tue, 13 May 2014 23:22:49 +0000 (23:22 +0000)]
[FAST486]
Fix a BOP-related stack corruption.
CORE-8199 #resolve #comment Fixed in revision r63286.

svn path=/trunk/; revision=63286

5 years ago[ROSAPPS]
Hermès Bélusca-Maïto [Tue, 13 May 2014 21:39:36 +0000 (21:39 +0000)]
[ROSAPPS]
Add/update Romanian translation, by Stefan Fulea.
ROSAPPS-231 #resolve #comment Thanks for your patch!

svn path=/trunk/; revision=63283

5 years ago[ROSAPPS] Name copying the *nix way (in uppercases), just for fun.
Hermès Bélusca-Maïto [Tue, 13 May 2014 21:21:34 +0000 (21:21 +0000)]
[ROSAPPS] Name copying the *nix way (in uppercases), just for fun.

svn path=/trunk/; revision=63282

5 years ago[ROSAPPS]
Hermès Bélusca-Maïto [Tue, 13 May 2014 21:19:04 +0000 (21:19 +0000)]
[ROSAPPS]
Remove almost all remnants of RBuild Dark Age; RBuild, we won't miss you :P

svn path=/trunk/; revision=63281

5 years ago[ROSAPPS]
Hermès Bélusca-Maïto [Tue, 13 May 2014 21:07:49 +0000 (21:07 +0000)]
[ROSAPPS]
- Fix some newlines,
- Fireball == Aleksey, not Aleasky :P (ahh, GreatLord, we miss you ^^),
- Fix rosddt (ROS Device Detection Tool) readme file (convert into UTF-8 without BOM).

svn path=/trunk/; revision=63280

5 years ago[PS] Fix whitespace.
Hermès Bélusca-Maïto [Tue, 13 May 2014 21:04:23 +0000 (21:04 +0000)]
[PS] Fix whitespace.

svn path=/trunk/; revision=63279

5 years ago[UTF16LE]
Thomas Faber [Tue, 13 May 2014 20:00:51 +0000 (20:00 +0000)]
[UTF16LE]
- Add to build
CORE-8221

svn path=/trunk/; revision=63278

5 years agoThis file got messed up somehow, and was preventing the branch from booting properly.
David Quintana [Tue, 13 May 2014 18:51:03 +0000 (18:51 +0000)]
This file got messed up somehow, and was preventing the branch from booting properly.

svn path=/branches/shell-experiments/; revision=63277

5 years agoDLL: Many improvements to German translations by zehnvor
Daniel Reimer [Tue, 13 May 2014 18:28:47 +0000 (18:28 +0000)]
DLL: Many improvements to German translations by zehnvor
CORE-8216 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63276

5 years ago[TRANSLATIONS]
Daniel Reimer [Tue, 13 May 2014 18:11:07 +0000 (18:11 +0000)]
[TRANSLATIONS]
Applications: some corrections and improvements to German translations by zehnvor
CORE-8130 #resolve #comment Committed, thx.
usetup: German translation revamp by zehnvor
CORE-8179 #resolve #comment Committed, thx.
DLL: Many improvements to German translations by zehnvor (without the dll patch yet, Wine syncs need no ROS only tranlation IMO)
CORE-8216 #comment Committed without the dll patch yet, Wine syncs need no ROS only tranlation IMO

svn path=/trunk/; revision=63275

5 years ago[CRT]
Amine Khaldi [Tue, 13 May 2014 16:00:25 +0000 (16:00 +0000)]
[CRT]
* Update _isatty().
CORE-8080

svn path=/trunk/; revision=63274

5 years ago[CRT]
Amine Khaldi [Tue, 13 May 2014 13:11:22 +0000 (13:11 +0000)]
[CRT]
* Update fgetwc().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63273

5 years ago[CRT]
Amine Khaldi [Tue, 13 May 2014 12:58:54 +0000 (12:58 +0000)]
[CRT]
* Update split_oflags().
CORE-8080

svn path=/trunk/; revision=63272

5 years agoSync with trunk r63270.
David Quintana [Tue, 13 May 2014 12:11:12 +0000 (12:11 +0000)]
Sync with trunk r63270.

svn path=/branches/shell-experiments/; revision=63271

5 years ago[BROWSEUI]
David Quintana [Tue, 13 May 2014 08:53:26 +0000 (08:53 +0000)]
[BROWSEUI]
* AddressBand: Create a combobox item to hold the info of the current folder, and keep it selected. This will in the future be improved to show a pseudo-tree including all the parent folders up to the Desktop, with the Desktop and My Computer expanded.
CORE-8220

svn path=/branches/shell-experiments/; revision=63270

5 years ago[DDK]
Timo Kreuzer [Mon, 12 May 2014 23:40:14 +0000 (23:40 +0000)]
[DDK]
- Remove NTKERNELAPI from Rtl String routines
- Remove obsolete hack definition
- Fix a typo, spotted by Thomas

svn path=/trunk/; revision=63269

5 years ago[KMTEST]
Timo Kreuzer [Mon, 12 May 2014 23:36:05 +0000 (23:36 +0000)]
[KMTEST]
Revert the DDK compatibility hack and apply a real fix. I kept the hack for NDK exports, we should consider changing them as well for consistency reasons.

svn path=/trunk/; revision=63268

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 20:10:38 +0000 (20:10 +0000)]
[CRT]
* Reorder some functions. No code changes!
CORE-8080

svn path=/trunk/; revision=63267

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 20:02:52 +0000 (20:02 +0000)]
[CRT]
* Update _wsopen_s().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63266

5 years ago[shell32]
Christoph von Wittich [Mon, 12 May 2014 19:55:25 +0000 (19:55 +0000)]
[shell32]
partial SHELL_FindExecutable sync to wine

svn path=/trunk/; revision=63265

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 19:54:29 +0000 (19:54 +0000)]
[CRT]
* Update _write().
CORE-8080

svn path=/trunk/; revision=63264

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 19:44:41 +0000 (19:44 +0000)]
[CRT]
* _set_errno() returns an errno_t.
* error => value
CORE-8080

svn path=/trunk/; revision=63263

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 19:42:29 +0000 (19:42 +0000)]
[CRT]
* Update get_flags().
CORE-8080

svn path=/trunk/; revision=63262

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 18:12:07 +0000 (18:12 +0000)]
[CRT]
* Rename alloc_fd_from() to set_fd() and update it.
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63261

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 16:51:40 +0000 (16:51 +0000)]
[CRT]
* Update _setmode().
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63260

5 years ago[FORMATTING]
Eric Kohl [Mon, 12 May 2014 16:14:19 +0000 (16:14 +0000)]
[FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=63259

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 16:01:49 +0000 (16:01 +0000)]
[CRT]
* Update ioinfo structure.
CORE-8080

svn path=/trunk/; revision=63258

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 15:32:43 +0000 (15:32 +0000)]
[CRT]
* Update fwrite().
CORE-8080

svn path=/trunk/; revision=63257

5 years ago[SERVMAN][EVENTVWR]
Kamil Hornicek [Mon, 12 May 2014 14:35:30 +0000 (14:35 +0000)]
[SERVMAN][EVENTVWR]
- add czech translations

svn path=/trunk/; revision=63256

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 14:25:53 +0000 (14:25 +0000)]
[CRT]
* Update ferror().
CORE-8080

svn path=/trunk/; revision=63255

5 years ago[FORMATTING]
Eric Kohl [Mon, 12 May 2014 14:17:37 +0000 (14:17 +0000)]
[FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=63254

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 13:17:31 +0000 (13:17 +0000)]
[CRT]
* Update feof().
CORE-8080

svn path=/trunk/; revision=63253

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 12:52:40 +0000 (12:52 +0000)]
[CRT]
* Reduce difference to Wine. No code changes.
CORE-8080

svn path=/trunk/; revision=63252

5 years ago[CRT]
Amine Khaldi [Mon, 12 May 2014 12:50:55 +0000 (12:50 +0000)]
[CRT]
* Update tmpfile().
CORE-8080

svn path=/trunk/; revision=63251

5 years ago[ICMP]
Thomas Faber [Mon, 12 May 2014 06:44:01 +0000 (06:44 +0000)]
[ICMP]
- Fix socket leak. Spotted by Samuel & cppcheck
Note: Wine has this in iphlpapi these days. Should probably sync.
CORE-8208 #resolve

svn path=/trunk/; revision=63250

5 years ago[CMD]
Thomas Faber [Mon, 12 May 2014 06:19:07 +0000 (06:19 +0000)]
[CMD]
- Fix mismatched allocation/free. Spotted by Samuel & cppcheck
CORE-8207 #resolve

svn path=/trunk/; revision=63249

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Mon, 12 May 2014 00:26:48 +0000 (00:26 +0000)]
[NTVDM]
Improve int32 callback stub (and sync int32.c too).

svn path=/trunk/; revision=63248

5 years ago[DDK/XDK/NTOSKRNL/DRIVERS]
Timo Kreuzer [Sun, 11 May 2014 23:11:16 +0000 (23:11 +0000)]
[DDK/XDK/NTOSKRNL/DRIVERS]
Fix incompatible definition of a number of NTOSKRNL data imports. These imports are declared in MS DDK in a way that is usually not how you would declare data imports. The proper way of doing it is using _DECLSPEC_INTRIN_TYPE(dllimport) or in this case NTKERNELAPI, which will cause the compiler to directly dereference the __imp__FooBar symbol. MS has declared some of these variables directly as pointers without using dllimport. This works with MS DDK, since it's import libraries contain aliases (like _FooBar) to the import symbols (__imp__FooBar). Neither MS LINK nor DLLTOOL create these aliases in the import libs, which is good, since hacks like these are dangerous. To make the original declarations work without using macros (which can conflict with other things, like for example the KdDebuggerEnabled member in KUSER_SHARED_DATA) these aliases have to be generated differently. Luckily both MSVC and GCC support a pragma that does exactly this. Fix the incompatible use in our drivers and the broen(!) use of KdDebuggerEnabled in kdcom (which was writing a PBOOLEAN value (FALSE == 0 == NULL, so no warning) into the location that is really a BOOLEAN, possibly overwriting other data. Finally get rid of a number of hacks in ntoskrnl, where prefixed versions were used to not conflict with the DDK definitions.

svn path=/trunk/; revision=63247

5 years ago[CRT]
Timo Kreuzer [Sun, 11 May 2014 22:28:54 +0000 (22:28 +0000)]
[CRT]
Fix build

svn path=/trunk/; revision=63246

5 years ago[CRT]
Timo Kreuzer [Sun, 11 May 2014 22:25:46 +0000 (22:25 +0000)]
[CRT]
Fix handling of multibyte strings in _splitpath. Fixes 2 winetests.

svn path=/trunk/; revision=63245

5 years ago[INF]
Sylvain Petreolle [Sun, 11 May 2014 20:59:17 +0000 (20:59 +0000)]
[INF]
Fix line endings (LF=> CRLF,CR)

svn path=/trunk/; revision=63244