Commit graph

57830 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 82df6707ba [CMD]
Fix _tcsncat usage. Patch by Victor Martinez.
CORE-8149 #resolve

svn path=/trunk/; revision=63138
2014-05-03 18:07:07 +00:00
Hermès Bélusca-Maïto 9749e1cadf [IPCONFIG]
Fix lines inversion, based on a patch by Victor Martinez.
CORE-8146 #resolve

svn path=/trunk/; revision=63137
2014-05-03 17:58:26 +00:00
Hermès Bélusca-Maïto 89edba0174 ... and also, please open your eyes (upper vs. lowercase letters).
svn path=/trunk/; revision=63136
2014-05-03 17:25:52 +00:00
Hermès Bélusca-Maïto cbb1745661 Arch, please do not mix up ANSI vs. UNICODE string functions, do you?
svn path=/trunk/; revision=63135
2014-05-03 17:24:22 +00:00
Hermès Bélusca-Maïto 6a206e692a [FTP]
Fix some strncat usage.
Patch by Victor Martinez.
CORE-8145 #resolve

svn path=/trunk/; revision=63134
2014-05-03 17:22:35 +00:00
Hermès Bélusca-Maïto ea3f9d6c6e [APITEST:USER32]
Fix problematic for() loops.
Patch by Victor Martinez Calvo, thanks :)
ROSTESTS-136 #resolve

svn path=/trunk/; revision=63133
2014-05-03 17:08:39 +00:00
Aleksandar Andrejevic 6015e6ba30 [NTOSKRNL]
Remove the e_lfarlc check. It fails on perfectly valid executables.


svn path=/branches/ntvdm/; revision=63132
2014-05-03 16:39:21 +00:00
Thomas Faber 5e26b1988c [TELNET]
- Use correct string length when reporting cursor position. Patch by Víctor Martínez
CORE-8147 #resolve

svn path=/trunk/; revision=63131
2014-05-03 13:58:02 +00:00
Thomas Faber 2c84548327 [BEEPMIDI]
- Write MIDIOUTCAPSW::szPname in a type-safe manner. By Víctor Martínez
CORE-8154 #resolve

svn path=/trunk/; revision=63130
2014-05-03 13:18:27 +00:00
Hermès Bélusca-Maïto 5124294dd4 Sync with trunk revision 63128.
svn path=/branches/ntvdm/; revision=63129
2014-05-03 12:58:22 +00:00
Thomas Faber c9f63f57b9 [NETAPI32]
- Import recent fixes and new stubs from Wine
- Note that Wine is using Samba's libnetapi to implement many functions these days (not included here), so it may be worth having a look at porting that work to ROS.
CORE-8160 #resolve

svn path=/trunk/; revision=63128
2014-05-03 12:53:58 +00:00
Thomas Faber 0896926c21 [I8042PRT]
- Do not prematurely complete IRP_MN_FILTER_RESOURCE_REQUIREMENTS or IRP_MN_QUERY_PNP_DEVICE_STATE
- Do not handle IRP_MN_QUERY_DEVICE_RELATIONS.BusRelations. We're not the bus driver!
- Correctly stub the (mandatory!) dispatch functions for IRP_MJ_POWER and IRP_MJ_SYSTEM_CONTROL
CORE-8142 #resolve

svn path=/trunk/; revision=63127
2014-05-03 11:17:57 +00:00
Timo Kreuzer 8eff9cd26a [I8042PRT]
Apply a workaround by hto to fix mouse / touchpad on some notebooks.
CORE-6901

svn path=/trunk/; revision=63126
2014-05-03 11:04:52 +00:00
Aleksandar Andrejevic c098b6e833 [KERNEL32][BASESRV]
Move the console/ID checking code from kernel32 to basesrv.


svn path=/branches/ntvdm/; revision=63125
2014-05-03 02:34:40 +00:00
Aleksandar Andrejevic 263f3da77d [KERNEL32][NTVDM]
In BaseCheckVDM, return a task ID of 0 if there is a console.
In CommandThreadProc, make sure the loop executes at least once.
Also, if a session ID is given, there is no parent console, so there is no need to wait
for further commands.


svn path=/branches/ntvdm/; revision=63124
2014-05-03 02:13:51 +00:00
Aleksandar Andrejevic 9eeef92b34 [BASESRV]
Don't accept NULL as a valid console handle.


svn path=/branches/ntvdm/; revision=63122
2014-05-02 23:00:10 +00:00
Aleksandar Andrejevic 9b7d069e2e [NTVDM][KERNEL32]
Send the specified task ID to CSRSS in GetNextVDMCommand.
In ntvdm, parse the command line parameters to find the session ID, and pass it in
every call to GetNextVDMCommand.


svn path=/branches/ntvdm/; revision=63121
2014-05-02 22:23:34 +00:00
Aleksandar Andrejevic 9c142126d3 [BASESRV]
In BaseSrvGetConsoleRecord and GetConsoleRecordBySessionId, check if the console record was not found instead
of returning the last one in the list.
In BaseSrvCheckVDM, return the session ID to the caller.


svn path=/branches/ntvdm/; revision=63120
2014-05-02 21:45:16 +00:00
Aleksandar Andrejevic fdf472cb6e [NTVDM]
Restore the console to normal size while no DOS task is running and keep track
of the cursor position.
Adapted from a patch by Hermès Bélusca-Maïto.


svn path=/branches/ntvdm/; revision=63119
2014-05-02 21:17:05 +00:00
Aleksandar Andrejevic accafb817a [NTVDM]
Initialize the reference counts of the DOS console handles.


svn path=/branches/ntvdm/; revision=63118
2014-05-02 18:49:15 +00:00
Aleksandar Andrejevic e53148d3f5 [NTVDM]
Use VdmRunning to keep the state of the whole VDM, not a VDM task.
Add an event whose signaled state determines the state of the VDM task.
Use FILE_SHARE_READ when opening executables.


svn path=/branches/ntvdm/; revision=63116
2014-05-02 18:24:40 +00:00
David Quintana 8c3a5f9b93 [SHELL32]
* Fix redundant clauses by converting the code to a switch block. Adapted from a patch by Victor Martinez.
CORE-8161 #resolve #comment Fixed in the shell-experiments branch. Thanks.

svn path=/branches/shell-experiments/; revision=63115
2014-05-02 17:27:28 +00:00
David Quintana 62f156f677 [BROWSEUI]
* Do not set the imagelist if the bitmap wasn't loaded.
* Fix the flags that caused the toolbar not to relocate when toggling the lock mode.

svn path=/branches/shell-experiments/; revision=63114
2014-05-02 17:25:19 +00:00
Hermès Bélusca-Maïto 0679e307e5 [KERNEL32]
Compare against "NE", not "N" only. Caught by Victor Martinez, thanks ;)
CORE-8159 #resolve

svn path=/branches/ntvdm/; revision=63113
2014-05-02 17:11:13 +00:00
Thomas Faber 49b2551b4d [DEVMGMT]
- Fix an operator precedence issue. Patch by Víctor Martínez
CORE-8144 #resolve

svn path=/trunk/; revision=63111
2014-05-02 16:04:29 +00:00
Thomas Faber 041d2d0406 [COMP]
- Remove broken/unnecessary assignments. Patch by Víctor Martínez
CORE-8143 #resolve

svn path=/trunk/; revision=63110
2014-05-02 15:46:23 +00:00
Aleksandar Andrejevic 880d3c125f [NTVDM]
Set VdmRunning to TRUE in EmulatorSimulate.


svn path=/branches/ntvdm/; revision=63109
2014-05-02 15:44:47 +00:00
Aleksandar Andrejevic de02e868fc [NTOSKRNL]
Fix the previous fix. We must use STATUS_ROS_EXEFMT_UNKNOWN_FORMAT.


svn path=/branches/ntvdm/; revision=63107
2014-05-02 15:00:38 +00:00
Aleksandar Andrejevic a31666e4e2 [NTOSKRNL]
If we cannot read the file at offset e_lfanew, it means that the value of e_lfanew is invalid.


svn path=/branches/ntvdm/; revision=63105
2014-05-02 14:38:36 +00:00
David Quintana dcc7bb6c0d [RSHELL]
* I forgot a cast and a couple IID_PPV_ARG uncommited.

[BROWSEUI]
* Fixed rebar flags to match windows. Adds the missing border around the toolbars.
* Fix some calculations of the rebar size.
* Fetch the icon of the current folder and assign it to the browse window.

CORE-7330

svn path=/branches/shell-experiments/; revision=63103
2014-05-02 11:58:07 +00:00
Thomas Faber 8a31b75da2 [NTOS:IO]
- Don't bugcheck if quota allocation fails in IoAllocateIrp

svn path=/trunk/; revision=63102
2014-05-02 09:17:36 +00:00
Hermès Bélusca-Maïto 8af6d0d4da [MSGINA][SHELL32]
- Resize the logon graphics logo to windows standard size: 413x72.
- Use this very same logo for ShellAbout. Adapted from a proposition by Lee Schroeder. The real fix for this would be to do like Windows, that means, since (you can double-check) shell32 takes the picture from msgina.dll .
CORE-7940 #resolve #comment Fixed, thanks ;)

svn path=/trunk/; revision=63101
2014-05-02 02:52:15 +00:00
Aleksandar Andrejevic 3a94de4a0e [BASESRV]
Fix the previous fix. It's not necessary to use a different status value from the one that was returned.


svn path=/branches/ntvdm/; revision=63100
2014-05-02 01:20:40 +00:00
Aleksandar Andrejevic 8be11a5989 [BASESRV]
Make sure that the console record exists before continuing.


svn path=/branches/ntvdm/; revision=63099
2014-05-02 01:18:46 +00:00
Aleksandar Andrejevic 47c1283bd2 [BASESRV][KERNEL32][NTVDM]
Make our BaseSrvGetNextVDMCommand and GetNextVDMCommand a bit more Windows-compatible,
and modify NTVDM accordingly.


svn path=/branches/ntvdm/; revision=63098
2014-05-01 23:52:36 +00:00
Thomas Faber 0da41488e9 [QMGR][BOOTDATA]
- Properly register qmgr classes and create the BITS service. See https://source.winehq.org/git/wine.git/commitdiff/c1fce745
CORE-8135 #resolve

svn path=/trunk/; revision=63097
2014-05-01 19:50:37 +00:00
Thomas Faber 4847c9ec64 [USP10]
- Fix buffer overflow in _ItemizeInternal
CORE-8133 #resolve

svn path=/trunk/; revision=63096
2014-05-01 19:44:30 +00:00
Hermès Bélusca-Maïto 554ed501cb [WINVER]: Remove wine'isms and add a resource file.
svn path=/trunk/; revision=63095
2014-05-01 17:49:23 +00:00
Timo Kreuzer 7c4ed8f966 [FORMATTING]
No code change

svn path=/trunk/; revision=63094
2014-05-01 13:37:08 +00:00
Timo Kreuzer 589bd6abe0 [WIN32K]
Fix possible NULL pointer dereference in GreSetStretchBltMode. CID 1206825

svn path=/trunk/; revision=63093
2014-05-01 10:51:19 +00:00
Timo Kreuzer 011d8212a2 [PSEH]
When we use the dummy PSEH, use an if (ExternalVariable) around the except block. This is to make Coverity check the except handler as well and take into account that it could be executed.

svn path=/trunk/; revision=63092
2014-05-01 10:27:38 +00:00
Timo Kreuzer b1e9d59ae3 [WIN32K]
When no clip object is passed to EngGradientFill, use the global trivial one instead of creating a new one. Fixes memory leak. CID 716615

svn path=/trunk/; revision=63091
2014-05-01 09:59:01 +00:00
Timo Kreuzer a45e440cac [FORMATTING]
Fix indentation, no code change

svn path=/trunk/; revision=63090
2014-05-01 09:48:40 +00:00
Timo Kreuzer 779f0311f1 [WIN32K]
Fix DPRINT, noticed by Thomas

svn path=/trunk/; revision=63089
2014-05-01 08:57:11 +00:00
Timo Kreuzer 305c6b4fcc [WIN32K]
Check return value of NtQuerySystemInformation in EngQuerySystemAttribute
CID 513027

svn path=/trunk/; revision=63088
2014-05-01 08:55:04 +00:00
Timo Kreuzer fc4372b2b8 [WIN32K]
Don't check a pointer for being NULL after it has been dereferenced.
CID 1102416

svn path=/trunk/; revision=63087
2014-05-01 08:30:41 +00:00
Thomas Faber 9741b0dd35 [WBEMPROX]
- Fix order of operations for assignment in class_object_Next. Patch by Víctor Martínez
CORE-8116 #resolve

svn path=/trunk/; revision=63086
2014-05-01 04:22:06 +00:00
Pierre Schweitzer 9282f9855e [RAPPS]
Close downloaded application before attempting to execute it.

CORE-8134 #resolve

svn path=/trunk/; revision=63085
2014-04-30 22:03:49 +00:00
Amine Khaldi 3d22f7e832 [BASE][BOOT][WIN32SS]
* Fix some format string / argument mismatches. By Andre Guibert de Bruet.
CORE-7995 #resolve #comment Thanks!

svn path=/trunk/; revision=63084
2014-04-30 19:05:42 +00:00
Thomas Faber 174da99a46 [CRT]
- Fix potential null dereference in TRACE in _wfreopen. Patch by Víctor Martínez
CORE-8120 #resolve

svn path=/trunk/; revision=63083
2014-04-30 19:05:38 +00:00