Commit graph

66202 commits

Author SHA1 Message Date
Pierre Schweitzer f6044dc084 [MPR]
Properly set local name in case of redirection for *A function calls.
Alreaedy sent upstream.

CORE-11757

svn path=/trunk/; revision=72091
2016-08-02 11:46:31 +00:00
Pierre Schweitzer f3851aaaab [MPR]
Misc fixes.
Already sent upstream (d'oh!)

CORE-11757
ROSAPPS-303

svn path=/trunk/; revision=72090
2016-08-02 10:21:24 +00:00
Pierre Schweitzer 8cf6fe72db [HACKSSIGN]
Drop hackssign app. It's now obsolete.
You served us well :-).

ROSAPPS-303

svn path=/trunk/; revision=72089
2016-08-02 10:12:37 +00:00
Pierre Schweitzer e3e7dd3331 [NET]
Implement the "net use" usage of the net command.
This allows connecting remote resources to local system with assigning them a local name, to enumerate such connected resources and to delete them.

This obsoletes the hackssign application.

The implementation is a bit... raw. It is mainly here to demonstrate what's doable in ReactOS now. And to help using features we were lacking up to now.
For instance, you can make use of 'net use * \\vmware-host\Shared Folders\{YOURSHARE}' to assign a local letter to your VMware shared folders.

ROSAPPS-303

svn path=/trunk/; revision=72088
2016-08-02 10:10:25 +00:00
Pierre Schweitzer 0549e22a98 [MPR]
Implement connected resources enumeration
To be sent upstream.

Patch 6/6

CORE-11757
ROSAPPS-303

svn path=/trunk/; revision=72087
2016-08-02 10:04:19 +00:00
Pierre Schweitzer d833fdc50e [MPR]
Set the CONNECT_LOCALDRIVE on successful local redirection
To be sent upstream.

Patch 5/6

CORE-11757
ROSAPPS-303

svn path=/trunk/; revision=72086
2016-08-02 09:57:24 +00:00
Pierre Schweitzer 618dc07a58 [MPR]
Implement WNetCancelConnectionA(), WNetCancelConnectionW(), WNetCancelConnection2A()
Already sent upstream.

Patch 4/6

CORE-11757
ROSAPPS-303

svn path=/trunk/; revision=72085
2016-08-02 09:54:51 +00:00
Pierre Schweitzer e0484e917c [MPR]
Implement WNetCancelConnection2W()
Already sent upstream.

Patch 3/6

CORE-11757
ROSAPPS-303

svn path=/trunk/; revision=72084
2016-08-02 09:53:54 +00:00
Pierre Schweitzer ad51814d36 [MPR]
Implement provider automatic selection for WNetUseConnection. That means you don't need anylonger to provider the network provider handling the remote name to establish a connection to the resource.
Already sent upstream.

Patch 2/6

CORE-11757
ROSAPPS-303 

svn path=/trunk/; revision=72083
2016-08-02 09:51:09 +00:00
Pierre Schweitzer c2b9d609e4 [MPR]
Time to react (again!).

Implement automatic local name redirection for new connection. This implements the behavior of the CONNECT_REDIRECT flag of WNetUseConnection.
Already sent upstream.

Patch 1/6

CORE-11757
ROSAPPS-303 

svn path=/trunk/; revision=72082
2016-08-02 09:49:20 +00:00
Amine Khaldi c3e09eb2e6 [TRANSLATIONS] Russian translation update by Sergey Stopkin and co, with some fixes by me. CORE-11752
svn path=/trunk/; revision=72081
2016-08-02 09:16:16 +00:00
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
Thomas Faber ba1b985215 [SHELL32_APITEST]
- Add a test for CShellLink::GetDescription/SetDescription
CORE-5272

svn path=/trunk/; revision=72035
2016-07-28 15:25:35 +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