reactos.git
8 years ago[DEVMGR]
Ged Murphy [Thu, 15 Oct 2015 10:39:06 +0000 (10:39 +0000)]
[DEVMGR]
Fix building with RosBE/g++

svn path=/trunk/; revision=69538

8 years ago[WIN32K:NTUSER]
Thomas Faber [Thu, 15 Oct 2015 09:50:12 +0000 (09:50 +0000)]
[WIN32K:NTUSER]
- THREADINFO::hEventQueueClient is a user handle. Treat it as such.
CORE-10207

svn path=/trunk/; revision=69537

8 years ago[WIN32K:NTUSER]
Thomas Faber [Thu, 15 Oct 2015 09:44:20 +0000 (09:44 +0000)]
[WIN32K:NTUSER]
- Don't perform thread initialization twice in csrss's UserInitialize thread
CORE-10339 #resolve

svn path=/trunk/; revision=69536

8 years ago[NPFS]
Thomas Faber [Thu, 15 Oct 2015 08:03:40 +0000 (08:03 +0000)]
[NPFS]
- Don't leave the critical region before releasing ERESOURCE

svn path=/trunk/; revision=69535

8 years ago[NTOS:APPHELP]
Thomas Faber [Thu, 15 Oct 2015 07:44:25 +0000 (07:44 +0000)]
[NTOS:APPHELP]
- Avoid excessive indentation
- Minor changes to conform better to kernel style

svn path=/trunk/; revision=69534

8 years ago[PARPORT]
Thomas Faber [Thu, 15 Oct 2015 07:16:39 +0000 (07:16 +0000)]
[PARPORT]
- Add missing OBJ_KERNEL_HANDLE
CORE-10207

svn path=/trunk/; revision=69533

8 years ago[NTOS]
Stefan Ginsberg [Thu, 15 Oct 2015 01:49:26 +0000 (01:49 +0000)]
[NTOS]
Fix mapping of working set list page -- it should be local.
Get rid of MI_MAKE_LOCAL_PAGE and use ValidKernelPdeLocal/ValidKernelPteLocal consistently. This is what they exist for!
We should now hopefully not be creating any global pages when we don't want them.
Next step; fix flushing.
Bonus: Use the right lock in MiSessionLeader

svn path=/trunk/; revision=69532

8 years ago[NTOS]
Stefan Ginsberg [Wed, 14 Oct 2015 20:42:18 +0000 (20:42 +0000)]
[NTOS]
Global pages may not have been enabled when KeFlushCurrentTb is first called, so don't enable them in there.

svn path=/trunk/; revision=69531

8 years ago[NTOS]
Stefan Ginsberg [Wed, 14 Oct 2015 19:33:35 +0000 (19:33 +0000)]
[NTOS]
Add super-complicated handling of global pages to KeFlushCurrentTb (pretty much the same code which has been in HalpFlushTLB for the past ~6 years). This should be all that is required to make this feature work (everything else being in place already), and *seems* to work fine but is disabled under a switch until tested thoroughly.

Global pages, an important optimization that allows for not flushing the whole x86 TLB every time CR3 is changed (typically on context switch to a new process, or during process attach/detach), relies on us doing extra work whenever we do alter a global page. This is likely where any bugs will have to be flushed out!

Fixup Ki386EnableGlobalPage while we are at it -- disable/restore interrupts properly, and verify PGE-bit isn't set (nothing should have touched it before this routine, which is responsible for initializing it, so we shouldn't have to disable it). Fix, but disable, the CPU-sync spin as well as there should be no particular reason to do this for PGE-enabling during initialization (no other processor will be messing with PTEs at this stage, as compared to a call to KeFlushEntireTb).

Everyone, repeat after me: Global pages are awesome!

svn path=/trunk/; revision=69528

8 years ago[TCPIP]
Thomas Faber [Wed, 14 Oct 2015 09:26:56 +0000 (09:26 +0000)]
[TCPIP]
- Add missing OBJ_KERNEL_HANDLE and close handles accordingly
CORE-10207

svn path=/trunk/; revision=69523

8 years ago[NDIS]
Thomas Faber [Wed, 14 Oct 2015 08:32:00 +0000 (08:32 +0000)]
[NDIS]
- Add missing OBJ_KERNEL_HANDLE
CORE-10207

svn path=/trunk/; revision=69522

8 years ago[PING]
Thomas Faber [Wed, 14 Oct 2015 07:24:09 +0000 (07:24 +0000)]
[PING]
- Check for invalid values passed to the -n option. Patch by Tim Crawford
CORE-10332 #resolve

svn path=/trunk/; revision=69521

8 years ago[DEVMGR]
Ged Murphy [Mon, 12 Oct 2015 20:44:54 +0000 (20:44 +0000)]
[DEVMGR]
More g++ fixes.
devmgr now compiles, just a few linker issues to fixup

svn path=/trunk/; revision=69519

8 years ago[ATL]
Ged Murphy [Mon, 12 Oct 2015 20:33:33 +0000 (20:33 +0000)]
[ATL]
Various g++ fixes

svn path=/trunk/; revision=69518

8 years ago[DEVMGR]
Ged Murphy [Mon, 12 Oct 2015 19:18:47 +0000 (19:18 +0000)]
[DEVMGR]
A few g++ fixes

svn path=/trunk/; revision=69517

8 years ago[NTDLL_APITEST]
Pierre Schweitzer [Mon, 12 Oct 2015 17:43:42 +0000 (17:43 +0000)]
[NTDLL_APITEST]
Fix test
Spotted by Alex

svn path=/trunk/; revision=69516

8 years ago[RTL]
Stefan Ginsberg [Mon, 12 Oct 2015 17:11:56 +0000 (17:11 +0000)]
[RTL]
Merge DbgBreakPointWithStatus and RtlpBreakWithStatusInstruction together as one function (the latter is just a label for KD), and add new macro necessary for this (MASM very much wants "::" on a global label inside a PROC local scope). Timo, you are awesome.

Bonus: Complement HEX()'s awesomeness with the other explicit radix specifiers.

svn path=/trunk/; revision=69515

8 years ago[MBEDTLS] Fix _CRT_SECURE_NO_DEPRECATE redefinition warnings.
Amine Khaldi [Mon, 12 Oct 2015 13:15:14 +0000 (13:15 +0000)]
[MBEDTLS] Fix _CRT_SECURE_NO_DEPRECATE redefinition warnings.

svn path=/trunk/; revision=69514

8 years ago[MBEDTLS] Missed these files in svn. Addendum to r69512. CORE-10318
Amine Khaldi [Mon, 12 Oct 2015 12:50:06 +0000 (12:50 +0000)]
[MBEDTLS] Missed these files in svn. Addendum to r69512. CORE-10318

svn path=/trunk/; revision=69513

8 years ago[MBEDTLS] Update to v2.1.2. By Ismael Ferreras Morezuelas. CORE-10318
Amine Khaldi [Mon, 12 Oct 2015 12:47:42 +0000 (12:47 +0000)]
[MBEDTLS] Update to v2.1.2. By Ismael Ferreras Morezuelas. CORE-10318

svn path=/trunk/; revision=69512

8 years ago[EXT2_NEW] Addendum to r69509. CORE-10272 CR-82
Amine Khaldi [Mon, 12 Oct 2015 11:16:25 +0000 (11:16 +0000)]
[EXT2_NEW] Addendum to r69509. CORE-10272 CR-82

svn path=/trunk/; revision=69511

8 years ago[BROWSEUI]
Thomas Faber [Mon, 12 Oct 2015 10:55:16 +0000 (10:55 +0000)]
[BROWSEUI]
- Increase height of the animation control in the file operation progress dialog to avoid cut-off. Patch by Jared Smudde.
CORE-10326 #resolve

svn path=/trunk/; revision=69510

8 years ago[EXT2_NEW] Add Matt Wu's ext2 filesystem driver. Not enabled by default just yet...
Amine Khaldi [Mon, 12 Oct 2015 10:19:10 +0000 (10:19 +0000)]
[EXT2_NEW] Add Matt Wu's ext2 filesystem driver. Not enabled by default just yet. Brought to you by Peter Hater with reviews and improvements by Thomas Faber and Pierre Schweitzer. CORE-10272 CR-82

svn path=/trunk/; revision=69509

8 years ago[EXPLORER]
Thomas Faber [Mon, 12 Oct 2015 10:05:39 +0000 (10:05 +0000)]
[EXPLORER]
- Correct tray icon image list handling. Patch by Joachim Henze
CORE-10257 #resolve

svn path=/trunk/; revision=69508

8 years ago[WHOOPS]
Pierre Schweitzer [Sun, 11 Oct 2015 21:51:32 +0000 (21:51 +0000)]
[WHOOPS]
C/P error

svn path=/trunk/; revision=69507

8 years ago[NTDLL_APITESTS]
Pierre Schweitzer [Sun, 11 Oct 2015 21:49:16 +0000 (21:49 +0000)]
[NTDLL_APITESTS]
Extend the RtlAllocateHeap() test

svn path=/trunk/; revision=69506

8 years ago[RTL]
Pierre Schweitzer [Sun, 11 Oct 2015 21:10:46 +0000 (21:10 +0000)]
[RTL]
Implement support for HEAP_CREATE_ALIGN_16 in RtlAllocateHeap()

svn path=/trunk/; revision=69505

8 years ago[NTDLL_APITESTS]
Pierre Schweitzer [Sun, 11 Oct 2015 21:10:03 +0000 (21:10 +0000)]
[NTDLL_APITESTS]
Add a test that shows that RtlAllocateHeap() totally ignores HEAP_CREATE_ALIGN_16

svn path=/trunk/; revision=69504

8 years ago[NTOS:PO]
Thomas Faber [Sun, 11 Oct 2015 19:57:06 +0000 (19:57 +0000)]
[NTOS:PO]
- Pass the correct DeviceObject to PoRequestPowerIrp's callback
- Use the IRP stack to store callback parameters instead of a pool allocation as shown by the test

svn path=/trunk/; revision=69503

8 years ago[RAPPS]
Daniel Reimer [Sun, 11 Oct 2015 18:38:40 +0000 (18:38 +0000)]
[RAPPS]
These are ini files in theory, so the ending is by default CRLF. Explained here: http://www.nongnu.org/chmspec/latest/INI.html

svn path=/trunk/; revision=69502

8 years ago[INTL]
Eric Kohl [Sun, 11 Oct 2015 18:36:22 +0000 (18:36 +0000)]
[INTL]
Update number and currency examples according to the current settings.
CORE-10074 #resolve

svn path=/trunk/; revision=69501

8 years ago[KMTESTS:PO]
Thomas Faber [Sun, 11 Oct 2015 17:11:53 +0000 (17:11 +0000)]
[KMTESTS:PO]
- Fix build

svn path=/trunk/; revision=69500

8 years ago[KMTESTS:PO]
Thomas Faber [Sun, 11 Oct 2015 17:06:14 +0000 (17:06 +0000)]
[KMTESTS:PO]
- Add a test for PoRequestPowerIrp

svn path=/trunk/; revision=69499

8 years ago[RAPPS]
Daniel Reimer [Sun, 11 Oct 2015 15:41:55 +0000 (15:41 +0000)]
[RAPPS]
Add SHA-1 digests to RAPPS DB packages by Ismael Ferreras Morasuelas (swyter)
CORE-10319 #resolve #comment Errr... sorry, I was just told that we already verify downloaded stuff in rapps... committed and thx for the work you spent in it...
/me hides

svn path=/trunk/; revision=69498

8 years ago[INTL]
Eric Kohl [Sun, 11 Oct 2015 15:21:25 +0000 (15:21 +0000)]
[INTL]
Update date and time examples according to the current settings.
CORE-10074

svn path=/trunk/; revision=69497

8 years ago[NTOS] Follow up to r69075: Assert IRQL correctly in KeDisconnectInterrupt too (do...
Stefan Ginsberg [Sun, 11 Oct 2015 13:18:30 +0000 (13:18 +0000)]
[NTOS] Follow up to r69075: Assert IRQL correctly in KeDisconnectInterrupt too (do not assume debug build means MP build).

svn path=/trunk/; revision=69496

8 years ago[PORTCLS]
Thomas Faber [Sun, 11 Oct 2015 08:19:18 +0000 (08:19 +0000)]
[PORTCLS]
- Don't attempt broken pointer magic on power states

svn path=/trunk/; revision=69495

8 years ago[WIN32K]
Thomas Faber [Sat, 10 Oct 2015 19:50:05 +0000 (19:50 +0000)]
[WIN32K]
- Separate system-defined from user-defined window properties. The values stored by win32k/user32 must not interfere with those stored by applications. Fixes various applications (e.g. PeaZip) randomly getting their window properties overwritten by the system
CORE-3897 #resolve

svn path=/trunk/; revision=69494

8 years ago[WIN32K]
Thomas Faber [Sat, 10 Oct 2015 17:56:09 +0000 (17:56 +0000)]
[WIN32K]
- Rename IntSetProp to UserSetProp, IntRemoveProp to UserRemoveProp and IntRemoveWindowProp to UserRemoveWindowProps

svn path=/trunk/; revision=69493

8 years ago[WIN32K:NTUSER]
Thomas Faber [Sat, 10 Oct 2015 17:46:57 +0000 (17:46 +0000)]
[WIN32K:NTUSER]
- Remove some unnecessary referencing in NtUserCallHwnd

svn path=/trunk/; revision=69492

8 years ago[WIN32K:NTUSER]
Thomas Faber [Sat, 10 Oct 2015 16:43:47 +0000 (16:43 +0000)]
[WIN32K:NTUSER]
- Don't call IntGetProp from outside prop.c

svn path=/trunk/; revision=69491

8 years ago[USER32_APITEST]
Thomas Faber [Sat, 10 Oct 2015 16:08:31 +0000 (16:08 +0000)]
[USER32_APITEST]
- Add some tests for window properties
CORE-3897

svn path=/trunk/; revision=69490

8 years ago[CSQ]
Pierre Schweitzer [Sat, 10 Oct 2015 14:52:19 +0000 (14:52 +0000)]
[CSQ]
Add even more sanity checks

svn path=/trunk/; revision=69489

8 years ago[WIN32K:NTUSER]
Thomas Faber [Sat, 10 Oct 2015 14:43:25 +0000 (14:43 +0000)]
[WIN32K:NTUSER]
- Make IntRemoveProp return the property value and use it from NtUserRemoveProp

svn path=/trunk/; revision=69488

8 years ago[CSQ]
Pierre Schweitzer [Sat, 10 Oct 2015 14:01:01 +0000 (14:01 +0000)]
[CSQ]
Add a sanity check

svn path=/trunk/; revision=69487

8 years ago[INTL]
Eric Kohl [Sat, 10 Oct 2015 13:54:00 +0000 (13:54 +0000)]
[INTL]
- Add the SystemLCID to the GlobalData variable and use it in the Advanced page.
- Add a stub for storing font linking settings.
CORE-10075

svn path=/trunk/; revision=69486

8 years ago[WIN32K:NTUSER]
Thomas Faber [Sat, 10 Oct 2015 13:48:08 +0000 (13:48 +0000)]
[WIN32K:NTUSER]
- Remove some DECLARE_RETURN()/RETURN()
- Add asserts for the user lock
- Annotate window property functions and use consistent parameter names

svn path=/trunk/; revision=69485

8 years ago[WIN32K:FORMATTING]
Thomas Faber [Sat, 10 Oct 2015 13:06:57 +0000 (13:06 +0000)]
[WIN32K:FORMATTING]
- Indentation and whitespace fixes for ntuser/prop.c. No functional changes.

svn path=/trunk/; revision=69484

8 years ago[MSFS]
Pierre Schweitzer [Sat, 10 Oct 2015 12:50:33 +0000 (12:50 +0000)]
[MSFS]
Fix a FIXME: properly reset timer when re-using a queued IRP for reading.
Also fix a possible race condition between time out DPC and IRP re-use.

Thanks to Thomas for his help with DPC & timers.

CORE-10245

svn path=/trunk/; revision=69483

8 years ago[MSFS]
Pierre Schweitzer [Sat, 10 Oct 2015 12:33:22 +0000 (12:33 +0000)]
[MSFS]
- Remove an useless (and unsafe!) counter
- Use the message counter in a thread-safe way in RW operations

svn path=/trunk/; revision=69482

8 years ago[MSFS]
Pierre Schweitzer [Sat, 10 Oct 2015 12:16:17 +0000 (12:16 +0000)]
[MSFS]
MessageEvent is no longer used, remove it

svn path=/trunk/; revision=69481

8 years ago[MSFS]
Pierre Schweitzer [Sat, 10 Oct 2015 12:08:45 +0000 (12:08 +0000)]
[MSFS]
Prevent a race condition on reading message from list.
Spotted by Thomas

svn path=/trunk/; revision=69480

8 years ago[NOTEPAD]
Eric Kohl [Sat, 10 Oct 2015 10:13:46 +0000 (10:13 +0000)]
[NOTEPAD]
Goto menu item should be disabled when wrap is on
#CORE-10278 #resolve

svn path=/trunk/; revision=69479

8 years ago[Win32k]
James Tabor [Sat, 10 Oct 2015 10:10:15 +0000 (10:10 +0000)]
[Win32k]
- Fix repaint from off screen. See CORE-10098.

svn path=/trunk/; revision=69478

8 years ago[MSFS]
Pierre Schweitzer [Sat, 10 Oct 2015 08:37:36 +0000 (08:37 +0000)]
[MSFS]
Addendum to r69475
By Thomas Faber

svn path=/trunk/; revision=69477

8 years ago[MSFS]
Pierre Schweitzer [Sat, 10 Oct 2015 08:31:25 +0000 (08:31 +0000)]
[MSFS]
Addendum to r69475

svn path=/trunk/; revision=69476

8 years ago[MSFS]
Pierre Schweitzer [Sat, 10 Oct 2015 08:29:05 +0000 (08:29 +0000)]
[MSFS]
Implement asynchronous reading from mailslot.
Patch by Nikita Pechenkin

Adjustements, style fixing by myself.

CORE-10245 #resolve #comment Modified patch committed with r69475. I have tested kernel32:mailslot and your provided test, both are passing 100%. Thanks!

svn path=/trunk/; revision=69475

8 years ago[XDK]
Pierre Schweitzer [Sat, 10 Oct 2015 07:55:42 +0000 (07:55 +0000)]
[XDK]
Properly define IO_CSQ function types

CORE-10245

svn path=/trunk/; revision=69474

8 years ago[BROWSEUI]
Giannis Adamopoulos [Fri, 9 Oct 2015 13:20:45 +0000 (13:20 +0000)]
[BROWSEUI]
- Implement showing and hiding the Go button. Patch by  Barrett Karish.
CORE-10154

svn path=/trunk/; revision=69473

8 years ago[PSDK] Correct addParameter() uri default value too. CORE-10320
Amine Khaldi [Fri, 9 Oct 2015 09:27:39 +0000 (09:27 +0000)]
[PSDK] Correct addParameter() uri default value too. CORE-10320

svn path=/trunk/; revision=69472

8 years ago[PSDK] Correct setStartMode() uri default value. CORE-10320
Amine Khaldi [Fri, 9 Oct 2015 09:12:57 +0000 (09:12 +0000)]
[PSDK] Correct setStartMode() uri default value. CORE-10320

svn path=/trunk/; revision=69471

8 years ago[SHELL32] Update German translation
Robert Naumann [Fri, 9 Oct 2015 06:26:34 +0000 (06:26 +0000)]
[SHELL32] Update German translation

svn path=/trunk/; revision=69470

8 years ago[SHELL32]
Giannis Adamopoulos [Fri, 9 Oct 2015 00:31:47 +0000 (00:31 +0000)]
[SHELL32]
- "Fix" SHChangeNotifyRegister to report file system changes. I am not really sure if these changes are correct but really make it work now.
CORE-1171

svn path=/trunk/; revision=69469

8 years ago[SHELL32]
Giannis Adamopoulos [Fri, 9 Oct 2015 00:27:34 +0000 (00:27 +0000)]
[SHELL32]
- CDefView: Implement updating the status bar . Based on patch by Barrett Karish
CORE-10300

svn path=/trunk/; revision=69468

8 years agoFix the fix
Stefan Ginsberg [Thu, 8 Oct 2015 17:19:40 +0000 (17:19 +0000)]
Fix the fix

svn path=/trunk/; revision=69467

8 years ago[KERNEL32] Fix bug in CreateFiberEx that made it replace the CONTEXT_FULL bits rather...
Stefan Ginsberg [Thu, 8 Oct 2015 16:26:29 +0000 (16:26 +0000)]
[KERNEL32] Fix bug in CreateFiberEx that made it replace the CONTEXT_FULL bits rather than ORing in CONTEXT_FLOATING_POINT when caller wanted FPU state saved. SwitchToFiber checks for CONTEXT_FULL OR CONTEXT_FLOATING_POINT so the save/restore would fail. Moreover, fix BaseInitializeContext that was not checking CONTEXT_FLOATING_POINT correctly for some fibers and, as a result, not initializing FPU context correctly for callers of ConvertThreadToFiberEx. Finally, because trying to access address 0x6 is generally a bad idea, fix SwitchToFiber to use the correct shared user data offsets. Misc cleanup all around. Bonus: Sort TEB/PEB asm offsets and add GDI Batch Count offset, needed soon.

svn path=/trunk/; revision=69466

8 years ago[NTDLL] Expose the last of the system call exports so that we finally, once and for...
Stefan Ginsberg [Thu, 8 Oct 2015 12:22:33 +0000 (12:22 +0000)]
[NTDLL] Expose the last of the system call exports so that we finally, once and for all, have the whole NTOS API properly exposed to user mode. Only real change is some NtLoadKey* functionality, rest is a bunch of EFI stubs.

svn path=/trunk/; revision=69464

8 years ago[SYSDM] Change the applet icon to a new, better looking one. By Ismael Ferreras Morez...
Robert Naumann [Wed, 7 Oct 2015 12:33:47 +0000 (12:33 +0000)]
[SYSDM] Change the applet icon to a new, better looking one. By Ismael Ferreras Morezuelas CORE-10107

svn path=/trunk/; revision=69463

8 years ago[NTOBJSHEX]
Thomas Faber [Wed, 7 Oct 2015 10:23:06 +0000 (10:23 +0000)]
[NTOBJSHEX]
- Correctly handle NULL ppidl in EnumerateNext as required by Skip() callers
- Don't reenumerate NT directories every time EnumerateNext is called from Skip()
CORE-10311 #resolve

svn path=/trunk/; revision=69462

8 years ago[RAPPS(_new)]
Hermès Bélusca-Maïto [Tue, 6 Oct 2015 01:14:02 +0000 (01:14 +0000)]
[RAPPS(_new)]
Remove few trailing whitespace in lang resources.

svn path=/trunk/; revision=69461

8 years ago[RAPPS(_new)]
Hermès Bélusca-Maïto [Tue, 6 Oct 2015 01:13:31 +0000 (01:13 +0000)]
[RAPPS(_new)]
- French translation update.
- Sync french translation with rapps_new.

svn path=/trunk/; revision=69460

8 years ago[RAPPS]
Thomas Faber [Tue, 6 Oct 2015 00:22:07 +0000 (00:22 +0000)]
[RAPPS]
- Add support for SHA-1 validation of completed downloads. Patch by Ismael Ferreras Morezuelas
CORE-10301 #resolve

svn path=/trunk/; revision=69459

8 years ago[WIN32SS::WINSRV] Improve the FILE header section. Brought to you by Adam Stachowicz...
Amine Khaldi [Mon, 5 Oct 2015 12:21:25 +0000 (12:21 +0000)]
[WIN32SS::WINSRV] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114

svn path=/trunk/; revision=69458

8 years ago[SCHANNEL] Fix missing p in the function pointers. By Ismael Ferreras Morezuelas...
Amine Khaldi [Mon, 5 Oct 2015 11:43:41 +0000 (11:43 +0000)]
[SCHANNEL] Fix missing p in the function pointers. By Ismael Ferreras Morezuelas. CORE-9065

svn path=/trunk/; revision=69457

8 years ago[RAPPS]
Thomas Faber [Mon, 5 Oct 2015 11:25:49 +0000 (11:25 +0000)]
[RAPPS]
- Fix another potential buffer overflow

svn path=/trunk/; revision=69456

8 years ago[RAPPS]
Thomas Faber [Mon, 5 Oct 2015 09:17:21 +0000 (09:17 +0000)]
[RAPPS]
- Fix buffer overflow when displaying the URL in download dialog

svn path=/trunk/; revision=69455

8 years ago[BOOTLIB]:
Alex Ionescu [Mon, 5 Oct 2015 07:25:27 +0000 (07:25 +0000)]
[BOOTLIB]:
- Implement BiInitializeAndValidateHive, BiLoadHive. Leveraging our existing cmlib and the previously committed code, we are now able to read the BCD file, parse it as a registry hive, and lookup the BCD Objects subkey! The BCD Data Store is now available to the Boot Manager (which also validates that reading from ETFS works).

svn path=/trunk/; revision=69454

8 years ago[HIVEBCD]:
Alex Ionescu [Mon, 5 Oct 2015 07:22:11 +0000 (07:22 +0000)]
[HIVEBCD]:
- The Objects key is in the root, not under Description.
[MKHIVE]:
- Make it *actually* build a BCD hive. It was doing nothing before, because it turns out that irrespective of what appear to be dynamic, command-line driven behavior modes, all of mkhive's logic is deeply tied together through C-level changes and knowledge. (for example, that's why calling it with a single .inf, it still wants to build 6 hives for you). There were also some copy/pasta bugs in the BCD handling code, now fixed.

svn path=/trunk/; revision=69453

8 years ago[BOOTLIB]:
Alex Ionescu [Mon, 5 Oct 2015 05:53:40 +0000 (05:53 +0000)]
[BOOTLIB]:
- Fix multiple bugs in ETFS code (confusion between file offset vs. disk offset)
- Implement EtfsGetInformation, EtfsSetInformation, and fix ETFS_FILE definition to make this easy.
- Implement EtfsRead.
- Fix multiple bugs in file I/O code (swapped/reversed validation checks)
- Make BlStatusPrint call EfiPrintf on debug builds, even without BD.
- Add some additional error logging.

svn path=/trunk/; revision=69452

8 years ago[BOOTLIB]:
Alex Ionescu [Mon, 5 Oct 2015 04:51:32 +0000 (04:51 +0000)]
[BOOTLIB]:
- Fix a regression
- Add a few more flags
- Don't look for BCD in "Microsoft" directory

svn path=/trunk/; revision=69451

8 years ago[BOOTLIB]:
Alex Ionescu [Mon, 5 Oct 2015 01:02:56 +0000 (01:02 +0000)]
[BOOTLIB]:
- Fix BCD bugs.

svn path=/trunk/; revision=69450

8 years ago[INTL]
Eric Kohl [Sun, 4 Oct 2015 21:57:03 +0000 (21:57 +0000)]
[INTL]
- Improve the internal locale storage. Replace the array of strings by a customized struct.
- Implement the locale customization properly. The customization property sheet modifies the internal locale storage rather than the registry. Now, cancelling changes works properly.

CORE-10074

svn path=/trunk/; revision=69449

8 years agoPeople's local builds use PCH by default, rosbuilds do not. A recipe for success.
Alex Ionescu [Sun, 4 Oct 2015 21:11:48 +0000 (21:11 +0000)]
People's local builds use PCH by default, rosbuilds do not. A recipe for success.

svn path=/trunk/; revision=69448

8 years ago[BOOTLIB]:
Alex Ionescu [Sun, 4 Oct 2015 21:07:12 +0000 (21:07 +0000)]
[BOOTLIB]:
- WIP work to begin reading, parsing, mounting and loading the BCD hive into a data store. Untested, has missing pieces.
- Implement BlFileSet/GetInformation, BlFileReadEx, BlFileReadAtOffsetEx and helper structures/functions. Document multiple previously unknown/magic flags.
- Implement BlMmAllocatePhysicalPages. Stub BlMmFreePhysicalPages.
- Implement MmUnmapVirtualAddress, BlMmUnmapVirtualAddressEx when operating in real mode.
- Implement ImgpGetFileSize, ImgpReadFileAtOffset, ImgpOpenFile, ImgpCloseFile, BlImgAllocateImageBuffer, BlImgLoadImageWithProgress2.
- Implement BdDebuggerInitialized, BlBdDebuggerEnabled, BlStatusPrint, BlStatuserror. Stub BlBdPullRemoteFile.
- Implement BlGetBootOptionDevice.
- Implement BiReferenceHive, BiDereferenceHive, BiCloseKey, BiOpenKey. Stub BiFlushKey, BiLoadHive.
- Implement BiAddStoreFromFile, BcdOpenStoreFromFile.
- Stub BlUtlUpdateProcess and BlResourceFindMessage.
- Other misc. cleanups.
[BOOTMGR]:
- Implement BmpFatalErrorMessageFilter, BmErrorPurge, BmpErrorLog, BmFatalErrorEx.
- Implement BmpFwGetFullPath.
- Implement BmOpenDataStore.
- Stub BmOpenBootIni

svn path=/trunk/; revision=69447

8 years ago[CMLIB]:
Alex Ionescu [Sun, 4 Oct 2015 20:24:52 +0000 (20:24 +0000)]
[CMLIB]:
- Missing header change from previous commit.

svn path=/trunk/; revision=69446

8 years ago[MKHIVE]:
Alex Ionescu [Sun, 4 Oct 2015 20:23:25 +0000 (20:23 +0000)]
[MKHIVE]:
- Whoever wrote mkhive ran into the problem I just did, and realized hey-i-dont-fucking-want-to-use-that-almost-copy-pasted-but-not-shared-code-so-why-dont-i-use-the-good-kernel-code-instead... but instead of taking the time to create a fucking library like I just did (cause that would be hard man, and fixing headers n' shit), just hard-coded the paths to the kernel files directly like a lazy shit. Fix mkhive to just rely on cmlib, which now has the files shared there.

svn path=/trunk/; revision=69445

8 years ago[CMLIB/NTOSKRNL]:
Alex Ionescu [Sun, 4 Oct 2015 20:18:49 +0000 (20:18 +0000)]
[CMLIB/NTOSKRNL]:
- Move cmindex.c and cmname.c to cmlib, because bootmgr/winload use the kernel's cm implementation, unlike our freeldr which uses an almost copy-pasted-but-not-shared-because-hey-why-not-have-to-fix-the-bugs-in-two-places-instead-of-just-one implementation.
- Minor fixes to headers to allow those two files to be used/built outside of ntoskrnl.

svn path=/trunk/; revision=69444

8 years ago[RAPPS]
Thomas Faber [Sun, 4 Oct 2015 19:39:23 +0000 (19:39 +0000)]
[RAPPS]
- Fix incorrect buffer sizes
- Use safe string functions
- Avoid extended chars in string literals

svn path=/trunk/; revision=69443

8 years ago[FS_REC]: Guard against ROUND_UP/DOWN already being defined.
Alex Ionescu [Sun, 4 Oct 2015 17:14:24 +0000 (17:14 +0000)]
[FS_REC]: Guard against ROUND_UP/DOWN already being defined.

svn path=/trunk/; revision=69442

8 years ago[NTOSKRNL]: Jerome _was_ nice enough to make our cells ordered (64222).
Alex Ionescu [Sun, 4 Oct 2015 17:13:38 +0000 (17:13 +0000)]
[NTOSKRNL]: Jerome _was_ nice enough to make our cells ordered (64222).

svn path=/trunk/; revision=69441

8 years ago[MBEDTLS] Update mbedtls to v2.1.1. By Ismael Ferreras Morezuelas with a fix by Roy...
Amine Khaldi [Sun, 4 Oct 2015 17:08:38 +0000 (17:08 +0000)]
[MBEDTLS] Update mbedtls to v2.1.1. By Ismael Ferreras Morezuelas with a fix by Roy Tam. CORE-9065

svn path=/trunk/; revision=69440

8 years ago[NTOS] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114
Amine Khaldi [Sun, 4 Oct 2015 11:54:25 +0000 (11:54 +0000)]
[NTOS] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114

svn path=/trunk/; revision=69439

8 years ago[NTVDM] Revert r69435.
Amine Khaldi [Sun, 4 Oct 2015 11:49:28 +0000 (11:49 +0000)]
[NTVDM] Revert r69435.

svn path=/trunk/; revision=69438

8 years agoFix 0x%lu specifier in our skeleton service and its only user tcpsvcs.
Sylvain Petreolle [Sat, 3 Oct 2015 22:38:05 +0000 (22:38 +0000)]
Fix 0x%lu specifier in our skeleton service and its only user tcpsvcs.

svn path=/trunk/; revision=69437

8 years ago[ROSTESTS]
Sylvain Petreolle [Sat, 3 Oct 2015 22:21:19 +0000 (22:21 +0000)]
[ROSTESTS]
Fix 0x%lu specifier.
Add cmake file for notificationtest.

svn path=/trunk/; revision=69436

8 years ago[NTVDM] Improve the PCH situation.
Amine Khaldi [Sat, 3 Oct 2015 21:47:46 +0000 (21:47 +0000)]
[NTVDM] Improve the PCH situation.

svn path=/trunk/; revision=69435

8 years ago[user32_apitest]
Sylvain Petreolle [Sat, 3 Oct 2015 21:41:10 +0000 (21:41 +0000)]
[user32_apitest]
0x%lu does not mean anything correct.

svn path=/trunk/; revision=69434

8 years ago[NTVDM] Fix PCH w.r.t. using the debug routines. The PCH use here in itself could...
Amine Khaldi [Sat, 3 Oct 2015 19:17:55 +0000 (19:17 +0000)]
[NTVDM] Fix PCH w.r.t. using the debug routines. The PCH use here in itself could use *a lot* of improvements but that's another story.

svn path=/trunk/; revision=69433

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 3 Oct 2015 18:57:06 +0000 (18:57 +0000)]
[NTVDM]
- French translation fix.
- Add PCH support.
- Properly track RC files dependencies. CORE-9806

svn path=/trunk/; revision=69432

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 3 Oct 2015 15:06:24 +0000 (15:06 +0000)]
[NTVDM]
Usability fixes (part 2):
- Properly keep the mouse show state across screenbuffer switches.
- Use unicode strings for the disk menu items.
See r69428.

svn path=/trunk/; revision=69431