Thomas Faber [Sun, 22 May 2016 19:09:49 +0000 (19:09 +0000)]
[SETUPAPI]
- Fix Buffer overflow in FixupServiceBinaryPath
svn path=/trunk/; revision=71379
Hermès Bélusca-Maïto [Sun, 22 May 2016 19:00:55 +0000 (19:00 +0000)]
[EVENTVWR]
- Fix the flags used in LoadLibraryEx calls for loading DLLs as resource files.
- Use a nice flag (FORMAT_MESSAGE_MAX_WIDTH_MASK) in FormatMessage calls so that no useless extra newlines are appended to the message strings that are recovered.
This is especially useful when some strings as localized event log names are retrieved to be displayed in the menu (amongst other things)...
This fixes CORE-8915 and fixes also the presentation of some event descriptions.
- Fix BuildLogList.
svn path=/trunk/; revision=71378
Hermès Bélusca-Maïto [Sun, 22 May 2016 17:17:33 +0000 (17:17 +0000)]
[EVENTVWR]
- Set window parent for different MessageBox calls.
- Add a notice in ShowStatusMessageThread concerning a potential bug.
- Rename strings "Save Protocol" into "Save Event Log"; adjust translations in this regard.
svn path=/trunk/; revision=71377
Hermès Bélusca-Maïto [Sun, 22 May 2016 16:19:55 +0000 (16:19 +0000)]
[EVENTVWR]
- Fix a typo in the "loading, wait" dialog.
- Use a RichEdit control for the detailed event description text, so that we can have for free clickable URLs.
- Use "Courier New" as the font for the event data text, so that we can have finer grained control over the font size...
svn path=/trunk/; revision=71376
Pierre Schweitzer [Sun, 22 May 2016 13:22:52 +0000 (13:22 +0000)]
[PSDK]
Define STATUS_FILE_LOCKED_WITH_ONLY_READERS and STATUS_FILE_LOCKED_WITH_WRITERS
CORE-11295
svn path=/trunk/; revision=71375
Eric Kohl [Sun, 22 May 2016 12:15:30 +0000 (12:15 +0000)]
[EVENTVWR]
Display event data properly.
svn path=/trunk/; revision=71374
Thomas Faber [Sun, 22 May 2016 10:56:22 +0000 (10:56 +0000)]
[SCHANNEL]
- Set received length to zero when the receive result is MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY instead of pretending we got data
CORE-11285 #resolve
svn path=/trunk/; revision=71373
Thomas Faber [Sun, 22 May 2016 10:53:23 +0000 (10:53 +0000)]
[SCHANNEL]
- Correctly check for ROS_SCHAN_IS_BLOCKING
CORE-11285
svn path=/trunk/; revision=71372
Thomas Faber [Sun, 22 May 2016 10:25:24 +0000 (10:25 +0000)]
[UNIATA]
- When handling CD READ_CAPACITY requests in AtapiInterrupt__, fully rewind the DataBuffer instead of relying on the last read length. Fixes crash on first stage boot in KVM.
CORE-11286 #resolve
CORE-11296
svn path=/trunk/; revision=71371
Pierre Schweitzer [Sun, 22 May 2016 07:56:45 +0000 (07:56 +0000)]
[VFATLIB]
Update the amount of FAT entries taking into account that the first two are reserved and thus not usable.
Patch by Wim Hueskes
CORE-11283 #resolve #comment Committed in r71370, thanks for your patch!
svn path=/trunk/; revision=71370
Pierre Schweitzer [Sun, 22 May 2016 07:56:23 +0000 (07:56 +0000)]
[SYSSETUP]
Update acknowledgements regarding imported FSDs in ReactOS.
Thanks Matt Wu and Mark Harmstone for your great work!
svn path=/trunk/; revision=71369
Hermès Bélusca-Maïto [Sun, 22 May 2016 00:34:40 +0000 (00:34 +0000)]
[EVENTVWR]
- Fix the window styles of the edit boxes in the event details dialog.
- Refactor some parts of the code to reduce the level of code indentation.
- Replace malloc/free by their Win32 counterparts HeapAlloc/HeapFree.
- When caching the full contents of a given event log, don't load at this point the event text/data. Only load those when opening the event details dialog.
svn path=/trunk/; revision=71368
Hermès Bélusca-Maïto [Sat, 21 May 2016 21:44:14 +0000 (21:44 +0000)]
[EVENTVWR]
- Finish to convert the app to full unicode;
- Don't hardcode buffer lengths in function calls;
- Remove useless #pragma incantation;
- Whitespace fix.
svn path=/trunk/; revision=71367
Hermès Bélusca-Maïto [Sat, 21 May 2016 16:12:31 +0000 (16:12 +0000)]
[FREELDR]: Increase again the number of BIOS memory descriptors to 80.
CORE-11247 #comment Please retest.
svn path=/trunk/; revision=71366
Eric Kohl [Sat, 21 May 2016 15:05:49 +0000 (15:05 +0000)]
[SAMSRV]
Implement SamrGetDomainPasswordInformation.
svn path=/trunk/; revision=71365
Eric Kohl [Sat, 21 May 2016 13:12:53 +0000 (13:12 +0000)]
[SAMSRV]
Add LM_OWF_PASSWORD and NT_OWF_PASSWORD types and use them.
See MS-NRPC sections 2.2.1.1.1 to 2.2.1.1.4.
svn path=/trunk/; revision=71364
Pierre Schweitzer [Sat, 21 May 2016 09:40:18 +0000 (09:40 +0000)]
[NETSHELL]
Update French translation
CORE-10955
svn path=/trunk/; revision=71363
Mark Jansen [Fri, 20 May 2016 17:09:56 +0000 (17:09 +0000)]
[MBEDTLS][SCHANNEL] Export mbedtls_ssl_config_free and use it. Patch by Peter Hater. CORE-11270 #resolve #comment Thanks!
svn path=/trunk/; revision=71362
Amine Khaldi [Fri, 20 May 2016 16:06:48 +0000 (16:06 +0000)]
[SDK][CMAKE] The CMake folder is part of our SDK. CORE-9111
svn path=/trunk/; revision=71361
Robert Naumann [Thu, 19 May 2016 22:41:08 +0000 (22:41 +0000)]
[TASKMGR] improvement german: too long string in statusbar - Patch by Joachim Henze.
svn path=/trunk/; revision=71360
Hermès Bélusca-Maïto [Thu, 19 May 2016 22:18:11 +0000 (22:18 +0000)]
[SDK/INCLUDE]: Fix a typo in ntstatus.mc (Debuger --> Debugger).
svn path=/trunk/; revision=71359
Hermès Bélusca-Maïto [Thu, 19 May 2016 21:22:41 +0000 (21:22 +0000)]
[SDK/INCLUDE]: Fix ntstatus.mc: extra end-line whitespace and erroneous newlines at the end of the messages.
svn path=/trunk/; revision=71358
Thomas Faber [Thu, 19 May 2016 21:17:18 +0000 (21:17 +0000)]
[AFD]
- Don't overwrite values in a completed IRP in ReceiveActivity
CORE-11276 #resolve
svn path=/trunk/; revision=71357
Eric Kohl [Thu, 19 May 2016 13:42:37 +0000 (13:42 +0000)]
[NETSHELL]
- Provide a common struct for the network setup data.
- Remember the typical/custom setup decision in order to return to the proper previous page when we click the 'Back' button on the domain page.
- Rename network setup page functions in a consistent way.
CORE-10955
svn path=/trunk/; revision=71356
Thomas Faber [Thu, 19 May 2016 13:01:04 +0000 (13:01 +0000)]
[SERVICES]
- On service stop, set Service->lpImage to NULL after calling ScmDereferenceServiceImage, so the same image is not dereferenced again on service deletion
- Do not call ScmDereferenceServiceImage in CreateServiceListEntry, as the service should never have an image there
CORE-11273 #resolve
svn path=/trunk/; revision=71355
Thomas Faber [Thu, 19 May 2016 10:15:15 +0000 (10:15 +0000)]
[ACPI]
- Correctly double-null-terminate hardware IDs
CORE-11271 #resolve
svn path=/trunk/; revision=71354
Hermès Bélusca-Maïto [Wed, 18 May 2016 21:49:31 +0000 (21:49 +0000)]
[NETSHELL]
Addendum to r71348:
Fix MSVC build: "netshell\lang/de-DE.rc(87) : warning RC2182 : duplicate dialog control ID 3501" . Both IDC_NETWORK_TYPICAL and IDC_NETWORK_CUSTOM setup wizard pages had this same ID.
Obviously, GCC didn't catch this error. But the generated code would not have worked as expected.
CORE-10955 #comment [~milawynsrealm], please retest with r71353.
svn path=/trunk/; revision=71353
Colin Finck [Wed, 18 May 2016 17:01:01 +0000 (17:01 +0000)]
Test commit to fix the nightmare caused by "previous" r71352.
See https://reactos.org/archives/public/ros-dev/2016-May/017845.html
svn path=/trunk/; revision=71352
Robert Naumann [Wed, 18 May 2016 10:12:13 +0000 (10:12 +0000)]
[SHELL32] Addendum to r71343: Remove some unneeded checks. The handles are initialized as NULL so they will never be true
svn path=/trunk/; revision=71351
Robert Naumann [Wed, 18 May 2016 08:30:45 +0000 (08:30 +0000)]
[TASKMGR] Use the correct title string for create new task dialog. Spotted by Jared Smudde. CORE-11129
svn path=/trunk/; revision=71350
Hermès Bélusca-Maïto [Tue, 17 May 2016 22:44:47 +0000 (22:44 +0000)]
[ROSAPPS/RDESKTOP]: Fix an heresy in the code.
svn path=/trunk/; revision=71349
Eric Kohl [Tue, 17 May 2016 22:38:58 +0000 (22:38 +0000)]
[SYSSETUP/NETSHELL]
2nd Stage Network Setup
Patch by Lee Schroeder and Eric Kohl.
- Move Lees 2nd stage network setup wizard code to netshell. It gets called by syssetup via NetSetupRequestWizardPages().
- Add code to syssetup which calls NetSetupRequestWizardPages and inserts the retrieved wizard pages into the setup wizard.
- Prevent a font handle leak by storing the bold font handle in the SetuData.
CORE-10955 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=71348
Mark Jansen [Mon, 16 May 2016 18:50:14 +0000 (18:50 +0000)]
[PSDK] now the ICurrentWorkingDirectory interface is actually an interface.
svn path=/trunk/; revision=71347
Eric Kohl [Mon, 16 May 2016 18:34:52 +0000 (18:34 +0000)]
[NETAPI32]
Add NetGetAnyDCName stub.
CORE-11261 #comment Please test again!
svn path=/trunk/; revision=71346
Mark Jansen [Mon, 16 May 2016 18:03:09 +0000 (18:03 +0000)]
[BROWSEUI_APITEST] Add tests for ACListISF, a class used for autocompletion. CORE-9281
- Add tests for ACListISF.
- Change the SHExplorerParseCmdLine test to use GetProcAddress instead of relying on the import (it's not there anymore in NT 6.0+)
svn path=/trunk/; revision=71345
Mark Jansen [Mon, 16 May 2016 17:59:10 +0000 (17:59 +0000)]
[PSDK] Add missing definitions for IACList2 Options. CORE-9281
svn path=/trunk/; revision=71344
Robert Naumann [Mon, 16 May 2016 11:58:31 +0000 (11:58 +0000)]
[SHELL32] - Implement a skeleton DlgProc for the folder options general dialog
- show icons depending on button states in folder options general dialog
svn path=/trunk/; revision=71343
Daniel Reimer [Mon, 16 May 2016 11:11:22 +0000 (11:11 +0000)]
[BOOTDATA]
Fix autorun.inf on LiveCD and HybridCD linking to a non existent welcome.exe. HybridCD now links to the correct folder to welcome.exe and LiveCD just opens the readme.txt
https://www.reactos.org/forum/viewtopic.php?f=2&t=15406
svn path=/trunk/; revision=71342
Christoph von Wittich [Mon, 16 May 2016 07:17:45 +0000 (07:17 +0000)]
[REGSRV32] accept '-' as command line delimiter symbol as well
svn path=/trunk/; revision=71340
Hermès Bélusca-Maïto [Sun, 15 May 2016 22:40:34 +0000 (22:40 +0000)]
[NTOS][NDK][RTL]: Move the SEM_xxx flags and their corresponding RTL flags around so that they can be accessed in kernel code. I'll need them soon.
svn path=/trunk/; revision=71339
Hermès Bélusca-Maïto [Sun, 15 May 2016 22:32:17 +0000 (22:32 +0000)]
[NTOS][USERSRV]: Both hard-error message box options "OptionOkNoWait" and "OptionCancelTryContinue" are valid!
svn path=/trunk/; revision=71338
Hermès Bélusca-Maïto [Sun, 15 May 2016 22:29:23 +0000 (22:29 +0000)]
[USERSRV]: Code formatting.
svn path=/trunk/; revision=71337
Hermès Bélusca-Maïto [Sun, 15 May 2016 22:23:14 +0000 (22:23 +0000)]
[NTOS]: Remove hardcoded constants; fix a comment; move some code around to reduce the level of code indentation.
svn path=/trunk/; revision=71336
Pierre Schweitzer [Sun, 15 May 2016 17:45:10 +0000 (17:45 +0000)]
[DHCPD]
Plug leaks
svn path=/trunk/; revision=71335
Mark Jansen [Sun, 15 May 2016 14:45:01 +0000 (14:45 +0000)]
[COM_APITEST] Add ICurrentWorkingDirectory for CORE-9281
svn path=/trunk/; revision=71334
Mark Jansen [Sun, 15 May 2016 10:31:15 +0000 (10:31 +0000)]
[PSDK] Add missing ICurrentWorkingDirectory definition. CORE-9281
svn path=/trunk/; revision=71333
Mark Jansen [Sun, 15 May 2016 10:25:47 +0000 (10:25 +0000)]
[SHELL] Addendum to r71328, correct one german resource id.
svn path=/trunk/; revision=71332
Hermès Bélusca-Maïto [Sun, 15 May 2016 00:18:44 +0000 (00:18 +0000)]
[NTOS][MUP]: Use the correct constant for the PriorityBoost parameter in the IoCompleteRequest calls.
svn path=/trunk/; revision=71331
Hermès Bélusca-Maïto [Sun, 15 May 2016 00:16:31 +0000 (00:16 +0000)]
[DRIVERS][NTOSKRNL]
Don't use PWORK_QUEUE_ITEM casts in ExQueueWorkItem calls, but use the explicit underlaying work queue item object instead.
svn path=/trunk/; revision=71330
Hermès Bélusca-Maïto [Thu, 12 May 2016 22:36:05 +0000 (22:36 +0000)]
[PROGMAN]
Implement drag&drop support for program items. A similar functionality can be implemented later in our shell32/explorer, based on this code.
We do here better than Windows' progman since we can select and move more than one icon.
Note that if you test it on ReactOS you will see nice bugs coming from our (well, Wine's) comctl32.dll xD :P
svn path=/trunk/; revision=71329
Robert Naumann [Thu, 12 May 2016 21:26:55 +0000 (21:26 +0000)]
[SHELL] Change the icon controls of the folder-options general page to static ones. Also give them and the radio buttons some meaningfull identifiers. Big thanks to our flying dutchman ;)
svn path=/trunk/; revision=71328
Hermès Bélusca-Maïto [Thu, 12 May 2016 21:12:40 +0000 (21:12 +0000)]
[PROGMAN]
- Fix the icon chooser dialog: icon enumeration, icon list cleanup... Similar fixes should also be ported to our shell32 icon list dialog code!
- Remove erroneous LBS_SORT style from the icon list box.
svn path=/trunk/; revision=71327
Hermès Bélusca-Maïto [Thu, 12 May 2016 19:54:53 +0000 (19:54 +0000)]
[PROGMAN]
- Load the main icon in a global variable (we use it at different places).
- Use the main icon for the shell-about dialog.
svn path=/trunk/; revision=71325
Hermès Bélusca-Maïto [Thu, 12 May 2016 19:45:26 +0000 (19:45 +0000)]
[PROGMAN]: Use a ListView to list program items. On systems that support it (aka. Vista+), enable ListView theming.
svn path=/trunk/; revision=71324
Amine Khaldi [Thu, 12 May 2016 16:32:35 +0000 (16:32 +0000)]
[PROGMAN] Fix PCH build.
svn path=/trunk/; revision=71322
Eric Kohl [Thu, 12 May 2016 16:18:32 +0000 (16:18 +0000)]
[USETUP]
Pressing F3-Enter during setup behaves wrong sometimes.
Patch by Wim Hueskes.
CORE-11231 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=71321
Eric Kohl [Thu, 12 May 2016 15:30:49 +0000 (15:30 +0000)]
[USETUP]
Debug output in usetup.
Patch by Wim Hueskes.
CORE-11230 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=71320
Eric Kohl [Thu, 12 May 2016 14:44:25 +0000 (14:44 +0000)]
[TELNET]
Updating Turkish Translation.
Patch by Erdem Ersoy.
CORE-11226 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=71319
Thomas Faber [Thu, 12 May 2016 12:14:42 +0000 (12:14 +0000)]
[EXPLORER]
- Avoid activating windows when updating their size and position
CORE-11217
svn path=/trunk/; revision=71318
Hermès Bélusca-Maïto [Wed, 11 May 2016 22:21:53 +0000 (22:21 +0000)]
[PROGMAN]: Commit 90% of the work I did on progman since its first inclusion in ReactOS: this concerns upgrading its user interface code from Wine's Win3.11-compatible code to WinNT-compatible code.
As this is *recovered* code from what I had in my local trunk before my HDD crash that occurred last month, this is almost pure code without most of the comments (this especially concerns the MAIN_LoadSettings function).
The 10% code that is not restored yet concerns the reader/writer code for program group files, and it will be committed separately later. This (missing) code is the core of progman; without it progrman does nothing interesting apart from displaying its main window (and its utility dialogs).
svn path=/trunk/; revision=71317
Thomas Faber [Wed, 11 May 2016 12:30:12 +0000 (12:30 +0000)]
[I8042PRT]
- Don't access device control IRPs after handing them off to a worker routine that has potentially already freed them.
CORE-11229 #resolve
svn path=/trunk/; revision=71316
Pierre Schweitzer [Tue, 10 May 2016 21:08:50 +0000 (21:08 +0000)]
[BTRFS]
Cherry pick
d71baf195715601212a2043f153400a964da6a18: Don't remove an entry list twice in add_to_space_list()
This avoids linked list entry twice removal
CORE-11057
svn path=/trunk/; revision=71315
Pierre Schweitzer [Tue, 10 May 2016 21:07:56 +0000 (21:07 +0000)]
[BTRFS]
Cherry pick
aa04ca0ea4cadb0c70ff6d659916cc98b7b02c27: uninit: don't free roots before FCBs are freed
This avoids use-after-free on shutdown
svn path=/trunk/; revision=71314
Robert Naumann [Tue, 10 May 2016 20:48:39 +0000 (20:48 +0000)]
[SHELL32] Improve a list view header. Patch by Jared Smudde. CORE-11151
svn path=/trunk/; revision=71313
Mark Jansen [Tue, 10 May 2016 20:42:37 +0000 (20:42 +0000)]
[APPHELP] Remove imagehlp.dll dependency. CORE-10367
svn path=/trunk/; revision=71312
Thomas Faber [Tue, 10 May 2016 18:29:06 +0000 (18:29 +0000)]
[FASTFAT]
- Fix a use after free in VfatFlushVolume
CORE-11224 #resolve
svn path=/trunk/; revision=71311
Mark Jansen [Tue, 10 May 2016 18:15:35 +0000 (18:15 +0000)]
[UNIATA] Fix uninitialized variable usage. Patch by 'Alter'. CORE-11157 #resolve #comment Thanks!
svn path=/trunk/; revision=71309
Thomas Faber [Tue, 10 May 2016 17:53:36 +0000 (17:53 +0000)]
[IPHLPAPI]
- Don't use uninitialized values in AllocateAndGet*TableFromStack functions. CID 716757
- Free buffers on failure
CORE-11227 #resolve
svn path=/trunk/; revision=71308
Thomas Faber [Tue, 10 May 2016 15:03:56 +0000 (15:03 +0000)]
[HAL]
- Create a wrapper version of HalpEndSoftwareInterrupt that frees its stack before calling the noreturn version of the next software interrupt handler. Fixes excessive stack usage when DPCs are queued in quick succession.
CORE-11123 #resolve
svn path=/trunk/; revision=71307
Thomas Faber [Tue, 10 May 2016 13:59:41 +0000 (13:59 +0000)]
[IPHLPAPI]
- Fix memory leaks in getInterfaceInfoSet (CIDs 716370 and 716371)
- Fix a benign uninitialized variable use (CID 500783)
CORE-11224 #resolve
svn path=/trunk/; revision=71306
Thomas Faber [Tue, 10 May 2016 13:42:57 +0000 (13:42 +0000)]
[IPHLPAPI]
- Tabs to spaces. No code changes.
svn path=/trunk/; revision=71305
Thomas Faber [Tue, 10 May 2016 11:47:05 +0000 (11:47 +0000)]
[NTOS:MM]
- Keep track of physical pages allocated for special pool, and respect the initially calculated MiSpecialPagesNonPagedMaximum
svn path=/trunk/; revision=71304
Hermès Bélusca-Maïto [Mon, 9 May 2016 22:06:27 +0000 (22:06 +0000)]
[CONSOLE.CPL]: Fix a test condition. Reviewed by Thomas Faber; initially patched by Victor Martinez Calvo Should fix CID
1322302 "Fix an use after free".
Please reanalyze with Coverity :)
CORE-11179
svn path=/trunk/; revision=71303
Sylvain Petreolle [Mon, 9 May 2016 20:57:35 +0000 (20:57 +0000)]
[TEST]
svn path=/trunk/; revision=71302
Thomas Faber [Mon, 9 May 2016 17:44:16 +0000 (17:44 +0000)]
[USBHUB]
- Fix memory leak in failure case of CreateDeviceIds. Patch by Víctor Martínez Calvo. CID
1102364
CORE-11208 #resolve
svn path=/trunk/; revision=71301
Eric Kohl [Mon, 9 May 2016 15:11:25 +0000 (15:11 +0000)]
[SHELL32]
Improvements to the file types property page:
- Always show the selected file type.
- Set the focus to the listview control when the file types page gets activated.
- Enable/disable the Delete button for the initial file type selection too.
svn path=/trunk/; revision=71300
Eric Kohl [Mon, 9 May 2016 10:26:55 +0000 (10:26 +0000)]
[NETAPI32]
Prevent dereferencing null-pointers.
svn path=/trunk/; revision=71299
Thomas Faber [Mon, 9 May 2016 09:10:13 +0000 (09:10 +0000)]
[BTRFS]
- Fix warnings
svn path=/trunk/; revision=71298
Thomas Faber [Mon, 9 May 2016 08:49:18 +0000 (08:49 +0000)]
[NTOS:SE]
- In SepPropagateAcl, gracefully handle unknown ACE types by simply copying them.
CORE-10694 #resolve
svn path=/trunk/; revision=71296
Thomas Faber [Mon, 9 May 2016 08:12:00 +0000 (08:12 +0000)]
[SHELL32]
- Fix uninitialized return value in _SHGetDefaultValue. CID
1322231
CORE-11213 #resolve
svn path=/trunk/; revision=71295
Christoph von Wittich [Mon, 9 May 2016 08:01:49 +0000 (08:01 +0000)]
ZeroMemory expects buffer size in bytes
svn path=/trunk/; revision=71294
Thomas Faber [Mon, 9 May 2016 07:49:58 +0000 (07:49 +0000)]
[WS2_32_NEW]
- Use the correct size of ServiceBuffer in getnameinfo. Patch by Víctor Martínez Calvo. CID 716150
CORE-11214 #resolve
svn path=/trunk/; revision=71293
Thomas Faber [Mon, 9 May 2016 07:34:46 +0000 (07:34 +0000)]
[WS2_32_NEW]
- Add missing null termination for the line buffer in GetProtoGetNextEnt. Patch by Víctor Martínez Calvo. CID 716700
CORE-11218 #resolve
svn path=/trunk/; revision=71292
Thomas Faber [Mon, 9 May 2016 07:22:59 +0000 (07:22 +0000)]
[SHELL32]
- Fix check for GCS_VALIDATE in CDefaultContextMenu::GetCommandString. Patch by Jared Smudde.
CORE-11183
svn path=/trunk/; revision=71291
Mark Jansen [Sun, 8 May 2016 20:43:59 +0000 (20:43 +0000)]
[APPHELP] Addendum to r71226, fix some failing testcases of SdbGetFileAttributes + make it more robust. CORE-10367
- Work around a ROS bug (CORE-11206) by doing some better bounds checking.
- Silence a VAD warning by checking for NULL instead of blindly passing mem to NtUnmapViewOfSection
- Rewrite module type lookup code to use an enum and to return the found header.
svn path=/trunk/; revision=71290
Mark Jansen [Sun, 8 May 2016 17:01:15 +0000 (17:01 +0000)]
[NTDLL_APITEST] Show that NtMapViewOfSection does not properly NULL out the remainder of the mapped memory. CORE-11206
svn path=/trunk/; revision=71289
Sylvain Petreolle [Sun, 8 May 2016 15:01:46 +0000 (15:01 +0000)]
Add the AHK tests as an optional module.
ONLINE-567
svn path=/trunk/; revision=71288
Hermès Bélusca-Maïto [Sun, 8 May 2016 14:53:14 +0000 (14:53 +0000)]
[KSFILTER]: We may need to check the result of KspScanBus call here. To see whether we need to do that, add an assert. If hit then we know KspScanBus can fail and some proper failure code will be needed.
svn path=/trunk/; revision=71287
Hermès Bélusca-Maïto [Sun, 8 May 2016 14:35:50 +0000 (14:35 +0000)]
[KSFILTER]: Return from KsCreateBusEnumObject() when scanning the bus fails. By Victor Martinez Calvo.
CID
1322294
CORE-11201 #resolve
svn path=/trunk/; revision=71286
Hermès Bélusca-Maïto [Sun, 8 May 2016 14:28:06 +0000 (14:28 +0000)]
[BOOTLIB]: Fix EtfspGetDirentNameLength loops. By Victor Martinez Calvo.
CID
1341138
CORE-11178 #resolve
svn path=/trunk/; revision=71285
Hermès Bélusca-Maïto [Sun, 8 May 2016 13:50:38 +0000 (13:50 +0000)]
[USETUP]: Fix typo in SectorCount.QuadPart calculation (and add ULONGLONG casts).
By Victor Martinez Calvo.
CORE-11205 #resolve
svn path=/trunk/; revision=71284
Hermès Bélusca-Maïto [Sun, 8 May 2016 13:46:16 +0000 (13:46 +0000)]
[TELNET]: Move around the resource files, in order to add the ability to localize telnet.
By Robert Naumann.
CORE-10717 #resolve #comment Thanks!
svn path=/trunk/; revision=71283
Hermès Bélusca-Maïto [Sun, 8 May 2016 13:37:18 +0000 (13:37 +0000)]
[TELNET]: Correctly show the icon.
By Henry Tang Ih and Robert Naumann.
CORE-10717
svn path=/trunk/; revision=71282
Thomas Faber [Sun, 8 May 2016 08:07:11 +0000 (08:07 +0000)]
[RTL]
- In RtlpGrowBlockInPlace, copy the heap block's user value if the old block has the HEAP_ENTRY_EXTRA_PRESENT flag, instead of looking at the flags of the following block (where this will never be set).
CORE-11196 #resolve
svn path=/trunk/; revision=71279
Thomas Faber [Sun, 8 May 2016 08:03:50 +0000 (08:03 +0000)]
[NTDLL_APITEST]
- Add a test for heap user values and flags when using RtlReAllocateHeap in-place
CORE-11196
svn path=/trunk/; revision=71278
Hermès Bélusca-Maïto [Sat, 7 May 2016 23:17:09 +0000 (23:17 +0000)]
[CONSRV]: Use cmd's terminal icon that doesn't include crazy sizes.
svn path=/trunk/; revision=71277
Hermès Bélusca-Maïto [Sat, 7 May 2016 23:14:43 +0000 (23:14 +0000)]
[PROGMAN]: Add some icons (will be used later).
svn path=/trunk/; revision=71276
Eric Kohl [Sat, 7 May 2016 21:59:00 +0000 (21:59 +0000)]
[SHELL32]
Improvements to the file type property page:
- Read the EditFlags value for each file type from the registry.
- Sort the file type list by extension and description.
- Do not add a file type to the list if the FTA_Exclude flag is set for the file type.
- Disable the delete button if the FTA_NoRemove flag is set fot the file type.
- Set the FTA_Exclude flag for the dllfiles, lnkfiles and piffiles file types.
- Set the FTA_NoRemove flag for the batfile, cmdfile, comfile and exefile file types.
svn path=/trunk/; revision=71275
Daniel Reimer [Sat, 7 May 2016 15:17:21 +0000 (15:17 +0000)]
[RAPPS]
FTP direct links are bad for ROS.
svn path=/trunk/; revision=71274
Daniel Reimer [Sat, 7 May 2016 13:01:25 +0000 (13:01 +0000)]
[RAPPS]
Fix changed SHA1, fix broken downloads. Have fun 0.4.1 testers ^^
svn path=/trunk/; revision=71273