Serge Gautherie
a57bc4f6c3
[ACGENRAL] Fix MSVC warning C4090 "different 'const' qualifiers" about a ShimLib_ShimFree() call ( #1506 )
...
Addendum to 007cc5cd
.
CORE-7538
2019-04-21 21:15:11 +02:00
Katayama Hirofumi MZ
24647a270e
[BOOTDATA] Add registry keys for ComDlg32 ( #1511 )
...
Add registry keys for ComDlg32. CORE-7114
2019-04-21 23:47:10 +09:00
Eric Kohl
cfe54aa4b5
[NTOSKRNL] Revert f71588ff
as it seems to break the tests
2019-04-20 23:26:57 +02:00
Eric Kohl
f62a4b2015
[POWERCFG] Use a list of power schemes (power policy, id, name and description) rather than a bare array of power policies. This will simplify adding and deleting schemes quite a lot.
2019-04-20 22:48:38 +02:00
Eric Kohl
8896706566
[POWERCFG] Fix the undue change of monitor switch off time
...
CORE-12495
2019-04-20 14:43:16 +02:00
Eric Kohl
a117331947
[POWERCFG] Fix coding style and indentation. No code changes!
2019-04-20 14:36:22 +02:00
Pierre Schweitzer
335b906ca8
[NTOSKRNL] Drop the useless Timestamp field
2019-04-20 11:31:59 +02:00
Pierre Schweitzer
610cc5a6b6
[GDI32] Reduce verbosity on debug builds
2019-04-20 11:24:54 +02:00
Pierre Schweitzer
77b6899d89
[NTOSKRNL] Don't set VACB dirty on release if already dirty
...
CORE-15954
2019-04-20 11:23:35 +02:00
Katayama Hirofumi MZ
c714b7fd67
[ATL][ATLTEST] Adapt to RATL and improvements ( #1501 )
...
- Modify atldef.h for non-ReactOS environments.
- Update ATL testcase project files (from v120_xp to v140_xp).
- #define HAVE_APITEST and use it.
- s/NULL/0/
2019-04-20 08:35:39 +09:00
Hervé Poussineau
501116b68f
[HIDCLASS] Implement IOCTL_HID_GET_FEATURE/IOCTL_HID_SET_FEATURE
2019-04-19 22:46:03 +02:00
Eric Kohl
afca8367ea
[KERNEL32] GetSystemPowerStatus(): Set the BATTERY_FLAG_CRITICAL flag if the battery life gets lower than 5 percent.
2019-04-19 22:30:46 +02:00
Eric Kohl
333eb16f30
[KERNEL32] GetSystemPowerStatus(): Fix coding style. No code changes!
2019-04-19 22:28:11 +02:00
Eric Kohl
453e5bc2af
[STOBJECT] Improvements to the power notification icon
...
- Use GetSystemPowerStatus() instead of querying each battery.
- Add an ugly AC power icon. Should be fixed or replaced.
- Display AC power, battery charging, battery depleting and error cases. The AC power case was missing.
- Update some strings because we are no longer using float for the charge percentage.
@Turkish translators: Please check and update the translation of IDS_PWR_CHARGING!
2019-04-19 21:54:37 +02:00
Andreas Maier
0263151f3c
[DBGHELP] SymFromAddr: Handle 2 or more symbols at the same address correct.
...
There could be more then 2 symbols at the same addr.
Adjust function to handle that case correct.
2019-04-19 21:09:45 +02:00
Andreas Maier
b2bcd8afdd
[DBGHELP] Set LastError for SymGetModuleBase-calls to ERROR_MOD_NOT_FOUND.
...
Correct last error in module_find_by_addr.
2019-04-19 21:09:45 +02:00
Andreas Maier
6175044aed
[DBGHELP] set correct values in symt_fill_sym_info (SYMBOL_INFO).
...
* symtype: set to SymPdb not SymCv (may be for old pdb-files pre VS 6.0)
* flags: return SYMFLAG_PUBLIC_CODE for SymTagPublicSymbol if its a function.
* flags: do not return SYMFLAG_FUNCTION for SymTagFuncion.
2019-04-19 21:09:45 +02:00
Andreas Maier
9466a005e9
[DBGHELP] Add SYMFLAG_- and SYMTYPE_-defines.
2019-04-19 21:09:44 +02:00
Andreas Maier
e3447d02c1
[DBGHELP] use correct record in codeview_snarf_public.
...
Use public_vx iststead of data_vx for public symbols.
2019-04-19 21:09:44 +02:00
Andreas Maier
183294a12e
[DBGHELP] search for debugfiles in modulepath too.
...
Debug symbols (like PDB, ...) could not be found if the direcory of
the module and application differs. Applying this patch they will
be found.
Dbghelp searches the module path too. (See MS docs).
2019-04-19 21:09:38 +02:00
Serge Gautherie
9f3eb1f9a2
[CMAKE] msvc.cmake: Remove now redundant '/we4028' special case
...
Addendum to 545a2c7936
.
CORE-7538
2019-04-19 20:47:03 +02:00
Katayama Hirofumi MZ
48f98e88ed
[APPVEYOR] Enable fast_finish ( #1494 )
...
It stops the remaining jobs if any error happened. It becomes less time for waiting for building.
2019-04-19 23:39:18 +09:00
Serge Gautherie
4126817f7f
[BOOTDATA] AHKAppTests.cmd: Fix 'media' typo ( #1502 )
...
Addendum to df2a8c4
. s/media/medium/
2019-04-19 22:12:16 +09:00
Mark Jansen
0efcfec044
[NTOBJSHEX] Reorder include files in the precompiled header
2019-04-18 21:17:00 +02:00
Mark Jansen
91ba017dfc
[APPHELP] Fix warnings
2019-04-18 19:21:39 +02:00
Mark Jansen
aff8581f6d
[RSHELL] Disable exceptions in atl when compiling without exceptions
2019-04-18 19:21:39 +02:00
Mark Jansen
10fa9bfe0a
[SHELL32_APITEST] Disable exceptions in atl when compiling without exceptions
2019-04-18 19:21:39 +02:00
Mark Jansen
a255e1d693
[MSGINA_APITEST] Disable exceptions in atl when compiling without exceptions
2019-04-18 19:21:38 +02:00
Mark Jansen
537f4c2195
[NETREG] Use exceptions with stl
2019-04-18 19:21:38 +02:00
Mark Jansen
9f00854bad
[MSGINA] Disable exceptions in atl when compiling without exceptions
2019-04-18 19:21:38 +02:00
Mark Jansen
d0a8b98bd8
[NTOBJSHEX] Disable exceptions in atl when compiling without exceptions
2019-04-18 19:21:38 +02:00
Mark Jansen
0f60294c56
[APPHELP_APITEST] Disable exceptions in atl when compiling without exceptions
2019-04-18 19:21:38 +02:00
Mark Jansen
f5731a41f8
[SHELL32] Use the same definitions for shell32 and it's static libs
2019-04-18 19:21:37 +02:00
Mark Jansen
9824a0154e
[ATL] Retire atlnew
2019-04-18 19:21:37 +02:00
Mark Jansen
9853cc4d7e
[ATL][ATL_APITEST] Add test + implementation for CAtlFileMapping
2019-04-18 19:21:37 +02:00
Pierre Schweitzer
bd75947372
[NTOSKRNL] Drop the no longer needed Dirty field
...
CORE-15954
2019-04-18 08:14:41 +02:00
Pierre Schweitzer
8b6696fcdb
[NTOSKRNL] Don't mark VACB dirty on unpin
...
This could happen if BCB was marked dirty previously.
Marking VACB dirty on unpin could lead to a double write of
the VACB, even if clean.
Indeed, now that setting BCB dirty leads to marking VACB
dirty, the VACB can be flushed in between by the lazy-writer.
The BCB state is not reset on VACB flush, contrary to the VACB state.
Thus, on unpin even if the VACB was already flushed, we were
setting back the dirty state, leading the VACB to be flushed again.
This could bring a small performance downgrade. Though it remains
limited since this is mostly used for FS metadata.
Possibly it could lead to metadata corruption, but this is likely
less possible.
CORE-15954
2019-04-17 22:35:19 +02:00
jimtabor
feb9c045cf
[NtGDI] Update Region code
...
Wine Sync/Port and update for Regions. See CORE-15906.
2019-04-17 14:43:24 -05:00
jimtabor
7fabc51d73
[GDI] Fixup attribute support for Regions
...
Start to fix CORE-13817 when GDI batch is turn on for SelectClipRgn.
2019-04-17 14:09:58 -05:00
Eric Kohl
f71588ff7a
[NTOSKRNL] NtPowerInformation: Report an AC powered machine by default.
2019-04-16 20:41:21 +02:00
Pierre Schweitzer
98972036d9
[KMTESTS:CC] Add tests for CcCopyWrite
...
CORE-15384
2019-04-16 19:50:27 +02:00
Katayama Hirofumi MZ
083d6be31e
[KERNEL32] Implement InvalidateNLSCache
2019-04-16 21:41:58 +09:00
Katayama Hirofumi MZ
a004233bd3
[KERNEL32] Fix handle leak and caching (follow-up of 7e38267
)
2019-04-16 20:57:02 +09:00
Katayama Hirofumi MZ
7e3826786e
[KERNEL32] Era first year is GANNEN
2019-04-16 11:10:00 +09:00
Katayama Hirofumi MZ
df2a8c40be
[BOOTDATA] Improve AHKAppTests.cmd (follow-up of #1476 )
2019-04-16 10:38:51 +09:00
Thomas Faber
a7634b8e1d
[USBHUB_NEW] Support NULL HubExtension in USBH_PdoRemoveDevice.
...
Device removal can happen multiple times for PDOs.
2019-04-14 15:32:18 +02:00
Thomas Faber
477cf902e4
[USBHUB_NEW] Fix inverted check in USBH_RestoreDevice.
...
This allows re-enabling a disabled device.
2019-04-14 15:32:16 +02:00
Thomas Faber
46b0f6d9de
[USBCCGP] Allow unconfiguring the device in USBCCGP_PDOSelectConfiguration.
...
Fixes device removal for USB audio devices.
2019-04-14 15:32:14 +02:00
Thomas Faber
528fc589c0
[USBCCGP] Do not try to unconfigure a device that is not configured.
...
Fixes handling failed IRP_MN_START_DEVICE.
2019-04-14 15:32:12 +02:00
Thomas Faber
6122f3f436
[COMCTL32] Remove an unnecessary include.
2019-04-14 14:35:29 +02:00