Commit graph

68626 commits

Author SHA1 Message Date
Peter Hater a09e47fe40 [WS2_32_APITESTS] Fix broadcast test ROSTESTS-278
svn path=/trunk/; revision=74667
2017-05-26 10:31:50 +00:00
Peter Hater 92ccd9c174 [WS2_32_APITESTS] Add rebind and bind to broadcast tests ROSTESTS-278
svn path=/trunk/; revision=74666
2017-05-26 09:02:08 +00:00
Pierre Schweitzer 0629afcaa5 [GDIPLUS]
Import Wine commit (by Vincent Povirk):
- b8a8e1bde9382897927945ec0b58b8a2fcfcfe59, Check SHADEBLENDCAPS only for printer devices.

In short, this avoids black boxes in GOG setup. This may help other software having rendering issues due to alpha layer.

svn path=/trunk/; revision=74665
2017-05-26 08:31:10 +00:00
Peter Hater b2ba90c6b5 [WS2_32_APITESTS] Fix GCC build ROSTESTS-278
svn path=/trunk/; revision=74664
2017-05-26 07:11:13 +00:00
Peter Hater 4214877a10 [WS2_32_APITESTS] Improve bind test output ROSTESTS-278
svn path=/trunk/; revision=74663
2017-05-26 07:08:06 +00:00
Hermès Bélusca-Maïto 049b4bff68 [INCLUDEs:ARC]: Fix some structure members of LOADER_PARAMETER_EXTENSION and SETUP_LOADER_BLOCK. Add some documentation & links regarded these structures to document which members change/disappear starting some NT version.
Also, turn some Win32 LPSTR into NT' PSTR or PCHAR types.

svn path=/trunk/; revision=74662
2017-05-26 02:15:54 +00:00
Thomas Faber a467407d5f [ACPICA]
- Use the compiler's native 64 bit math support instead of emulating it with 32 bit operations.
CORE-13316

svn path=/trunk/; revision=74658
2017-05-25 19:39:38 +00:00
Hermès Bélusca-Maïto 4ba7bf7dbe [SYSDM]: Fix a SendDlgItemMessage(LB_GETITEMDATA) call that missed the index of the list item being selected. This fixes setting the page file for the actual selected disk.
Caught by "cagey45" contributor on the forums: https://reactos.org/forum/viewtopic.php?f=9&t=16439 ; see also CORE-1151.

svn path=/trunk/; revision=74657
2017-05-25 18:36:45 +00:00
Thomas Faber 9187043762 [ACPICA]
- Fix our broken support for the Windows-GCC configuration (again) by providing proper implementations of ACPI_DIV_64_BY_32 and ACPI_SHIFT_RIGHT_64.
CORE-13316 #resolve

svn path=/trunk/; revision=74656
2017-05-25 18:27:30 +00:00
Peter Hater 27fe85a2cb [WS2_32_APITESTS] Set the size of addr when calling getsockname ROSTESTS-278
svn path=/trunk/; revision=74655
2017-05-25 15:57:38 +00:00
Eric Kohl 8e52193434 [BOOTDATA]
- Sort keyboard layouts and make them translatable.
- Remove quotation marks from service display names and descriptions and fix a typo.
CORE-11885

svn path=/trunk/; revision=74654
2017-05-25 15:53:10 +00:00
Peter Hater a569e0aa3a [WS2_32_APITESTS] Remove compile warning disable for GCC. Thanks Thomas. ROSTESTS-278
svn path=/trunk/; revision=74653
2017-05-25 15:12:40 +00:00
Peter Hater fe8ca04a83 [WS2_32] Dereference socket in case of parameter check failure. Thanks Thomas. ROSTEST-278
svn path=/trunk/; revision=74652
2017-05-25 14:51:16 +00:00
Peter Hater 44ac5bf123 [WS2_32_APITESTS] Add some bind API tests
svn path=/trunk/; revision=74651
2017-05-25 14:43:57 +00:00
Peter Hater f732630141 [WS2_32] Add some parameters check for getsockname. Use value size for size check instead of type in bind. ROSTEST-278
svn path=/trunk/; revision=74650
2017-05-25 14:42:24 +00:00
Peter Hater 0e96026122 [WS2_32] Perform parameters check on bind. ROSTESTS-278
svn path=/trunk/; revision=74649
2017-05-25 12:34:33 +00:00
Hermès Bélusca-Maïto 7ee1b6a5f5 Code styling:
[NDK]: Make a #define value look less "magical".
[ARC]: Write "BaseDllName" using the regular case used in other parts of ReactOS' code.

svn path=/trunk/; revision=74644
2017-05-24 23:52:56 +00:00
Hermès Bélusca-Maïto d452b9b684 [FSLIB]: Minor fixes:
- Stub and export VfatxChkdsk();
- Sync and fix the file code headers;
- In the libs, use NTAPI instead of WINAPI;
- Use 4-space indentation (instead of tabs).

svn path=/trunk/; revision=74643
2017-05-24 23:32:46 +00:00
Benedikt Freisen bc7078eaf3 [MSPAINT]
- Determine and adapt to actual status bar height instead of assuming a fixed height.  This improves theme support.

svn path=/trunk/; revision=74642
2017-05-24 19:31:43 +00:00
Giannis Adamopoulos c04750f246 [WIN32l:NTGDI] -Check the return value IntGetOutlineTextMetrics and stop using garbage from the pool in case of error. CORE-13089, CORE-12752
svn path=/trunk/; revision=74633
2017-05-23 09:40:07 +00:00
Giannis Adamopoulos d7e4f26d1a [WIN32K] -Simplify the parameters passed to GetFontPenalty and FindBestFontFromList. Make SubstituteFontRecurse update a LOGFONT and get rid of some needless allocations.
svn path=/trunk/; revision=74630
2017-05-22 18:17:49 +00:00
Thomas Faber bb1fb70eb3 [CMLIB]
- Fix an assert that only works by chance

svn path=/trunk/; revision=74628
2017-05-22 13:48:11 +00:00
Thomas Faber ea547f81f4 [NTOS:MM]
- In MmDumpArmPfnDatabase, actually print all usage buckets to provide a complete and verifiable view of the database

svn path=/trunk/; revision=74627
2017-05-22 13:37:44 +00:00
Thomas Faber d855861c41 [NTOS:MM]
- Make PFN tracing work... somewhat

svn path=/trunk/; revision=74626
2017-05-22 13:30:44 +00:00
Thomas Faber b0da8bcfdf [CALC]
- Remove Czech koruna from currency conversions... their exchange rate is not a constant
- While here, add new Euro currencies, and improve the accuracy of some conversion rates

svn path=/trunk/; revision=74625
2017-05-22 13:13:45 +00:00
Thomas Faber 88a76ad2f0 [HHPCOMP]
- Avoid casting pointers to 'unsigned long'

svn path=/trunk/; revision=74624
2017-05-22 12:50:08 +00:00
Thomas Faber 945dd20eae [HAL]
- Correctly prepare the I/O port map for V86 mode by making HalpSavedIoMap actually point to it instead of to the parent structure. Fixes boot with video BIOS code that relies on I/O ports FF00 through FFFF.
CORE-13306 #resolve

svn path=/trunk/; revision=74623
2017-05-22 12:20:31 +00:00
Giannis Adamopoulos 7fe1fd0766 [WIN32K] -Reduce the ridiculous number of string allocations done by FindBestFontFromList and GetFontPenalty. CORE-13274
svn path=/trunk/; revision=74613
2017-05-21 16:47:07 +00:00
Mark Jansen 275c4e77d8 [WIN32SS] Improve IntGetFontLocalizedName by less strict matching on language id's. Patch by Katayama Hirofumi MZ. CORE-13239 #comment Thanks!
svn path=/trunk/; revision=74612
2017-05-21 12:24:57 +00:00
Mark Jansen 562561d422 [KERNEL32] Format the stack trace generated on an unhandled exception so that log2lines can parse it. CORE-13232 #resolve
svn path=/trunk/; revision=74611
2017-05-21 11:31:56 +00:00
Mark Jansen 9c22d4b0b8 [SHIMS] Add IgnoreDebugOutput shim CORE-10369
svn path=/trunk/; revision=74610
2017-05-20 20:22:25 +00:00
Mark Jansen 817f78086f [BOOTDATA] Create an empty HKLM\...\AppCompatFlags\Layers key to silence logging.
svn path=/trunk/; revision=74609
2017-05-20 20:06:46 +00:00
Mark Jansen 4f86a02439 [SLAYER] Remove the shell extension. CORE-13111 #resolve
svn path=/trunk/; revision=74608
2017-05-20 19:58:04 +00:00
Mark Jansen 153601c7a2 [WIN32SS] Reduce the amount of calls to IntGetFontLocalizedName, since this was identified as a source of recent slower drawing. CORE-13274
Thanks to Thomas, Giannis and Joachim.

svn path=/trunk/; revision=74607
2017-05-20 18:59:00 +00:00
Eric Kohl 019092990f [INF]
Make code page and language group names translatable.
CORE-11885

svn path=/trunk/; revision=74606
2017-05-20 13:46:48 +00:00
Thomas Faber c1c815b13d [WIN32K:NTGDI]
- Simplify list walk in FindBestFontFromList

svn path=/trunk/; revision=74605
2017-05-20 12:11:08 +00:00
Eric Kohl a51b9dd514 [INF]
Make language (locale) names translatable.
CORE-11885

svn path=/trunk/; revision=74604
2017-05-20 09:53:15 +00:00
Thomas Faber c52bb16926 [HAL]
- Fix a broken DPRINT

svn path=/trunk/; revision=74603
2017-05-19 21:37:50 +00:00
Mark Jansen f64b823282 [GDI32_APITEST] Improve GetFontResourceInfoW tests. Patch by Katayama Hirofumi MZ. ROSTESTS-269 #resolve #comment Thanks!
svn path=/trunk/; revision=74602
2017-05-19 20:26:49 +00:00
Mark Jansen bbe72b0163 [APPHELP] Initial implementation of ApphelpCheckRunAppEx. CORE-10368
svn path=/trunk/; revision=74601
2017-05-19 20:13:08 +00:00
Thomas Faber a9757a1ab0 [NTDLL:LDR]
- Fix logic error in LdrpInit that caused us to busy-wait instead of sleep. This makes LibreOffice start up in a few seconds instead of sitting around at 100% CPU for a minute or two.
CORE-13268 #resolve

svn path=/trunk/; revision=74600
2017-05-19 19:11:14 +00:00
Thomas Faber 8a30da51a0 [RTL]
- Do not change RTL_HANDLE_TABLE::CommittedHandles when committing a new page of handle entries. This value must always point to the beginning of the allocation, to correctly track the entire committed range. Fixes LibreOffice Writer (and ntdll_apitest) crash.
CORE-13271 #resolve

svn path=/trunk/; revision=74599
2017-05-19 18:22:46 +00:00
Thomas Faber 10e08033ca [NTDLL_APITEST]
- Add a test for RTL handle tables
CORE-13271

svn path=/trunk/; revision=74598
2017-05-19 18:05:12 +00:00
Hermès Bélusca-Maïto 48d95feba1 [SCSIPORT]: Fixes:
- In SpiScanAdapter(), after an SCSI INQUIRY command has succeeded and we are setting up a LUN extension structure,
  cache in its InquiryData member the inquiry data retrieved from the INQUIRY command (alternatively we might just cache
  a pointer to a valid "LunInfo" since the latter are also cached elsewhere).
- This allows SpiBuildDeviceMap(), which is called just after SpiScanAdapter(), to correctly report in the registry SCSI tree
  the correct Identifier and DeviceType values for the enumerated logical units.
- Use ExFreePoolWithTag in SpiScanAdapter().

svn path=/trunk/; revision=74597
2017-05-19 16:14:10 +00:00
Hermès Bélusca-Maïto 2e3ea31302 [SCSIPORT]: Code formatting only.
svn path=/trunk/; revision=74596
2017-05-19 16:08:40 +00:00
Hermès Bélusca-Maïto 87d9dfae0d [SCSIPORT]: Fixes + documentation:
- In SpiSendInquiry():
  * use ExFreePoolWithTag;
  * if IoBuildDeviceIoControlRequest() fails, exit correctly the loop so that the allocated buffers are cleaned up;
- In SpiBuildDeviceMap():
  * support new peripheral type names, as documented in the links in the comments;
  * fix the "CommunicationsPeripheral" name (communication'S') as documented, and as done in windows' scsiport driver.

svn path=/trunk/; revision=74595
2017-05-19 15:02:02 +00:00
Hermès Bélusca-Maïto b00727337e [SCSIPORT]: Code formatting in the functions I'm going to touch next (in addition, add few "continue;" inside some loops so that I can reduce the indent level of code blocks).
svn path=/trunk/; revision=74594
2017-05-19 14:49:23 +00:00
Giannis Adamopoulos 5f36105c74 [UXTHEME] -Use and RTL handle table for HTHEME handles. In this way we can ensure that a value we take is valid even if it is non NULL. We can also detect leaks.
svn path=/trunk/; revision=74593
2017-05-19 11:02:44 +00:00
Giannis Adamopoulos 94f9c1a7c1 [UXTHEME] Greatly reduce the number of times we open the theme data for the non client area.
- Implement OTD_NONCLIENT for OpenThemeDataEx and OpenThemeDataFromFile.
- Open the WINDOW or the SCROLLBAR theme classes only when needed. Use OpenThemeDataEx instead of the internal MSSTYLES_OpenThemeClass. Cache the open theme in the WND_DATA for later use.

svn path=/trunk/; revision=74592
2017-05-19 10:01:50 +00:00
Ged Murphy 48014fdd4b Forgot to add the cmake changes
svn path=/trunk/; revision=74591
2017-05-19 09:46:41 +00:00