Commit graph

57743 commits

Author SHA1 Message Date
James Tabor d7cf4ae646 [NtUser]
- Fix crash while mouse cursor is moving over stress test window (RegEdit). This fixes VLC too. Tested SeaMonkey and it did not crash. See CORE-9169 and CORE-9836.

svn path=/trunk/; revision=72080
2016-08-02 04:05:16 +00:00
Hermès Bélusca-Maïto c6db848176 [EVENTVWR]
- Reorganize the header inclusions; add a PCH.
- Transform the event details dialog into a control that can be embedded:
  * in a resizable dialog,
  * or in a pane below the window listing the events.
CORE-11637

svn path=/trunk/; revision=72079
2016-08-01 23:29:55 +00:00
Hermès Bélusca-Maïto 1285f0af1c [NOTEPAD]: Fix danish menu shortcuts.
svn path=/trunk/; revision=72078
2016-08-01 23:01:58 +00:00
Jérôme Gardou 9bb0e5a772 [KDGDB]
- Turn this thing into something useful
   - Pretend we are only one process to GDB (making it a kernel-only debugger...) until the GDB team sorts this out
   - This is a kernel debugger stub you know. You didn't seriously pretend that recursive functions would be fine, did you ?
[NTOS:KD64]
 - Fix build
Pix or it din't happen : https://jira.reactos.org/secure/attachment/36322/source_level_debugging_ros.png

svn path=/trunk/; revision=72077
2016-08-01 22:16:58 +00:00
James Tabor 0f196e05cc [NtUser]
- Fix a recursion issue while processing posted messages. Related to CORE-10471. Dedicated to Thomas Faber for Free before Use testing.
- Pass extra information along with posted messages.
- Trigger an event when cursor position has changed.

svn path=/trunk/; revision=72076
2016-08-01 19:13:48 +00:00
James Tabor a8d130326e - Remove trace.
svn path=/trunk/; revision=72075
2016-08-01 18:15:45 +00:00
James Tabor 283d51cef9 [User32]
- Use correct value for win:test_mdi. Use post instead of send, fix message sequence.
- Minor code changes.


svn path=/trunk/; revision=72074
2016-08-01 18:15:00 +00:00
Christoph von Wittich ddccdcbf31 [SHELL32] remove obsolete FIXME. was fixed in r68015
svn path=/trunk/; revision=72073
2016-08-01 14:37:27 +00:00
Dmitry Chapyshev 0ed579c095 [USERENV]
- Create separate function for setup session manager variables
- Fixed a regression in msi package winetest after r72066

svn path=/trunk/; revision=72072
2016-08-01 14:26:12 +00:00
Pierre Schweitzer 1e7ca7179c [VFATLIB]
Don't leak memory

svn path=/trunk/; revision=72071
2016-08-01 12:05:13 +00:00
Dmitry Chapyshev 5cb1fd2dda [SHELL32]
- Fixed memory leak

[DNSLIB]
- Fixed uninitialized variable

[USERENV]
- Fixed typo

svn path=/trunk/; revision=72070
2016-08-01 11:29:01 +00:00
Pierre Schweitzer 21652b5c7f [NTFS]
Don't attempt to read beyond stream size.
Patch by Trevor Thompson.

CORE-11707

svn path=/trunk/; revision=72067
2016-08-01 06:14:45 +00:00
Dmitry Chapyshev 96fe018e77 [USERENV]
- Implement GetUserSid() (based on GetUserSidFromToken())
- Remove GetUserSidFromToken() and use new exported function
- Move SID functions to sid.c
- SetUserEnvironmentVariable should not fail, if can't get the short path. Instead, a long path
- Setup environment variables from Session Manager

* This fixes all winetests for userenv.dll (+20 passed tests)

svn path=/trunk/; revision=72066
2016-07-31 13:46:23 +00:00
James Tabor 2c2bd66efd [NtUser]
- Remove unused data.

svn path=/trunk/; revision=72065
2016-07-31 13:00:27 +00:00
Mark Jansen 179537bfc3 [BROWSEUI] Correct the 'Is this legal' url as suggested by Ken Rochard. Also rewrite the function to remove todo's, and make it localizable. CORE-11721 #resolve #comment Thanks!
svn path=/trunk/; revision=72063
2016-07-31 11:59:15 +00:00
Pierre Schweitzer 654cae59a0 [REISERFS]
Reduce verbosity

svn path=/trunk/; revision=72062
2016-07-31 10:13:39 +00:00
Mark Jansen 684feb7418 [ATL][ATL_APITEST] Implement / Improve CString, based upon the code that was already there. CORE-11579 #resolve
Add code + tests for:
Conversion of A->W and W->A, equality operators, MakeLower, MakeUpper, Find, FindOneOf, ReverseFind, Compare, Mid, Left, Right, Format, Replace, Trim, TrimLeft, TrimRight.

svn path=/trunk/; revision=72061
2016-07-30 19:07:43 +00:00
Hermès Bélusca-Maïto 47be569e64 [SCSIPORT]: Port Dmitry's fix from r72059 to our scsiport driver too. I'm wondering how "difficult" it would be to have some kind of scsiport library to be shared between the driver and freeldr's.
svn path=/trunk/; revision=72060
2016-07-30 16:20:41 +00:00
Dmitry Chapyshev 01bab59e21 [WHOAMI]
[ARP]
[TRACERT]
- Incorrect to compare the variable of BOOL type with TRUE. Any non-zero value is considered to be "true".

[FREELDR]
- Variable is assigned values twice
- The 'strlen' function was called multiple times inside the body of a loop
- It is inefficient to identify an empty string by using 'strlen(str) > 0' construct. A more efficient way is to check: str[0] != 0

[NTOBJSHEX]
[SLAYER]
[CMICONTROL]
- It is inefficient to identify an empty string by using 'strlen(str) > 0' construct. A more efficient way is to check: str[0] != 0

[SHELL32]
- There is no sense in testing the pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error 
- Verifying that a pointer value is not NULL is not required. The 'if (ptr != NULL)' check can be removed
- Fix copy-paste error in CMenuFocusManager::PlaceHooks()

[SRCLIENT]
- Remove unneeded check. A part of conditional expression is always false.

[DISK]
[ATAPI]
- Variable is assigned values twice

* All bugs found by PVS-Studio

svn path=/trunk/; revision=72059
2016-07-30 16:00:10 +00:00
Eric Kohl 19832336a1 [SOLITAIRE]
Add Portuguese/Brazillian translation.
Patch by Lucas Raziel.
CORE-11665 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=72058
2016-07-30 14:09:58 +00:00
Eric Kohl 2a7ad50640 [INF]
Update russian translation of inf strings.
Patch by amber.
CORE-11604 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=72057
2016-07-30 13:39:56 +00:00
Pierre Schweitzer 9c6fa5b19d [FASTFAT]
Fix a FIXME

svn path=/trunk/; revision=72056
2016-07-30 12:53:09 +00:00
Giannis Adamopoulos 7853148eb0 [BROWSEUI]
- Move handling of DISPID_NAVIGATECOMPLETE2 event from CAddressBand to CAddressEditBox as the todo comments say it should be.
- Remove the todo entries that are complete.
- Remove IDispatch from CAddressBand as it is not really needed. Now CAddressBand takes care only of positioning and handling the button while CAddressEditBox does all the parsing and interaction with the browser.

svn path=/trunk/; revision=72055
2016-07-30 12:47:39 +00:00
James Tabor 1d66234973 [NtUser]
- Fix hang while inputting mouse message. Fix CORE-9998.

svn path=/trunk/; revision=72054
2016-07-30 12:32:28 +00:00
Giannis Adamopoulos fdff190335 [BROWSEUI]
- Use the _CreateInstance postfix for all functions that instantiate a class.
- Move the the CreateInstance functions of the exported classes to browseui.h where we can select uniformly which built in classes we use.

svn path=/trunk/; revision=72053
2016-07-30 11:53:16 +00:00
Dmitry Chapyshev dea009126c [USER32]
- Add missing NULL-pointer checkes in rect functions
- Small coding-style fixes

svn path=/trunk/; revision=72052
2016-07-30 11:31:33 +00:00
Hermès Bélusca-Maïto 155818fc70 [PCIX]
Fix Device_SaveCurrentSettings: do not reference BarArray too soon if the index is out of bounds (in that case it means we are handling a ROM "BAR").
CID 716153, reported by Victor Martinez Calvo.
CORE-11215 #resolve

svn path=/trunk/; revision=72050
2016-07-29 13:44:37 +00:00
Hermès Bélusca-Maïto d35cbe1643 [XDK]
- Move the PCI_COMMON_HEADER_LAYOUT next to the structures that use it.
- Add IRP flags description comments.

svn path=/trunk/; revision=72049
2016-07-29 13:17:58 +00:00
Giannis Adamopoulos 80cd3d14ba Fix build.
svn path=/trunk/; revision=72048
2016-07-29 12:59:16 +00:00
Giannis Adamopoulos 4d9d28fbd3 [SHELL32]
- Factor CFSDropTarget out of CFSFolder.
- For now their code is mixed (no code was moved), until we decide where exactly is should be kept.

svn path=/trunk/; revision=72047
2016-07-29 12:56:06 +00:00
Robert Naumann a57e61507d [BROWSEUI] - explorerband: get the caption string from resource file instead of hardcoding it
svn path=/trunk/; revision=72046
2016-07-29 12:05:06 +00:00
Giannis Adamopoulos 5575b8bacc [SHELL32]
- CDefView: Add a missing error check.
CORE-11594

svn path=/trunk/; revision=72045
2016-07-29 12:03:20 +00:00
Pierre Schweitzer 80e79970b3 [EXT2]
Reduce driver verbosity

svn path=/trunk/; revision=72044
2016-07-29 11:54:08 +00:00
Giannis Adamopoulos 0aed20a50c [BROWSEUI]
- CExplorerBand: TranslateAcceleratorIO should return S_FALSE when it doesn't process the message in order to let other components process it.
CORE-11709

svn path=/trunk/; revision=72043
2016-07-29 10:38:22 +00:00
Pierre Schweitzer b5746c9e6b [EXT2]
Upgrade the driver to release 0.68.

CORE-11714

svn path=/trunk/; revision=72042
2016-07-29 10:29:16 +00:00
Giannis Adamopoulos 45aa3e9f88 [SHELLL32]
- Split GenericExtractIcon_CreateInstance into CGuidItemExtractIcon_CreateInstance, CFSExtractIcon_CreateInstance and CDrivesExtractIcon_CreateInstance.

svn path=/trunk/; revision=72041
2016-07-29 06:21:11 +00:00
Sylvain Petreolle 4bbb7474b4 [INF]
Add data for generic container devices.

svn path=/trunk/; revision=72036
2016-07-28 17:12:31 +00:00
Christoph von Wittich ad14fb5ef9 [SHELL32] apply similar fixes to SetWorkingDirectory, SetArguments, SetIconLocation and SetRelativePath
svn path=/trunk/; revision=72034
2016-07-28 15:24:44 +00:00
Christoph von Wittich de1219eb52 [SHELL32]check for NULL pointer in CShellLink::SetDescription. patch by Joachim Henze. fixes Opera 12 installer CORE-5272
svn path=/trunk/; revision=72033
2016-07-28 15:12:23 +00:00
Robert Naumann 372d5c10c4 [HIVECLS] Add support for RDP files. Patch by Jared Smudde. CORE-11655
svn path=/trunk/; revision=72032
2016-07-28 13:27:33 +00:00
Pierre Schweitzer 98136578cf [DOC]
Mark BTRFS as synced

svn path=/trunk/; revision=72031
2016-07-28 07:39:37 +00:00
Hermès Bélusca-Maïto 172e136024 [CONSRV]
- Do not hardcode the values of some flags used with GetKeyState.
- Rework a bit the 'OnScroll' function.
- Implement mouse scrolling the console.
CORE-9900 #resolve
CORE-8394
- In mouse selection mode, allow the user to enlarge the current selection area by pressing the SHIFT key together with clicking on some point.

svn path=/trunk/; revision=72030
2016-07-27 23:30:53 +00:00
Amine Khaldi cb11c8aa56 [SETUPAPI] CORE-11689 is enough documentation for the issue, so we don't really need to mention it in every single build.
svn path=/trunk/; revision=72028
2016-07-27 21:38:56 +00:00
Giannis Adamopoulos 21c051f4ff [SHELL32]
- Query the drop effect from the key state. After latest wine sync we correctly get all possible effects instead of the effect of the last DragOver event.
CORE-11681

svn path=/trunk/; revision=72026
2016-07-27 20:51:36 +00:00
Pierre Schweitzer b139d1b07b [BTRFS]
Import three fixes from my local GitHub repository:
- Don't attempt to remove Vcb from list twice on shutdown
- Properly add CCB to root_file
- Init cache for root_file so that cache uninit on shutdown isn't problematic

This fixes BTRFS in ReactOS.
These fixes have already been submitted upstream (https://github.com/maharmstone/btrfs/pull/23).

CORE-11674

svn path=/trunk/; revision=72024
2016-07-27 19:32:05 +00:00
Pierre Schweitzer 7695f39c11 [BTRFS]
Sync btrfs to 0.5.
This breaks BTRFS in ReactOS.

CORE-11674

svn path=/trunk/; revision=72023
2016-07-27 19:24:26 +00:00
Hermès Bélusca-Maïto 9bd7b2e1f0 [SETUPAPI]: Temporarily remove the error popup since setupapi_winetest pops it out unexpectedly. We don't lose functionality wrt. what we had before r72008 (or with what Wine currently has).
CORE-11689

svn path=/trunk/; revision=72021
2016-07-27 19:12:35 +00:00
Thomas Faber cb6e26b3db [NTOS:PO]
- Send power IRPs to the top of the device stack instead of the PDO
CORE-10110 #resolve

svn path=/trunk/; revision=72017
2016-07-27 11:15:52 +00:00
Hermès Bélusca-Maïto 7bd6365632 [SETUPAPI]: Implement SetupPromptForDiskA/W by importing dialog.c from Wine Staging 1.9.15.
(Add also the patch "Add patch to support IDF_CHECKFIRST in SetupPromptForDisk." by DarkPlayer - 541cc8d08661980dfe80fe2bb9dd27c91879e09f)

svn path=/trunk/; revision=72009
2016-07-27 00:48:41 +00:00
Hermès Bélusca-Maïto 86ff038c51 [SETUPAPI]
- Transform the cached OsVersionInfo structure into a OSVERSIONINFOEXW that is then reused in SetupDiGetActualSectionToInstallExW.
- Remove few unused hardcoded strings.
- Add two TRACEs in SetupDiGetActualSectionToInstallExW to debug diverse INF file installation problems.
- parser.c: enclose the contents of the for-loop inside braces.
- Implement pSetupSetGlobalFlags and pSetupModifyGlobalFlags, see https://msdn.microsoft.com/en-us/library/bb432397(v=vs.85).aspx
- Popup an error message box in InstallHinfSectionW if an error happened and if interactive setup is allowed (through the global setup flags).

svn path=/trunk/; revision=72008
2016-07-27 00:10:14 +00:00