Commit graph

57725 commits

Author SHA1 Message Date
Amine Khaldi a35a9ecc7e [USER32]
* Zap SetProcessDPIAware().
CORE-8174

svn path=/trunk/; revision=63159
2014-05-04 18:02:07 +00:00
Amine Khaldi 4486511926 * Fix a copy pasta. Spotted by Erdem Ersoy.
svn path=/trunk/; revision=63158
2014-05-04 17:02:07 +00:00
Amine Khaldi 23cb3e6822 [CRT]
* Sync __pxcptinfoptrs() with Wine 1.7.17.
* Update __thread_data structure.
CORE-8108 #resolve
CORE-8080

svn path=/trunk/; revision=63157
2014-05-04 16:58:49 +00:00
Pierre Schweitzer a9cd01c98b [CMAKE]
Enable -Wold-style-declaration for C builds

svn path=/trunk/; revision=63155
2014-05-04 09:49:21 +00:00
Pierre Schweitzer bd2145a2e8 [REACTOS]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63154
2014-05-04 09:47:52 +00:00
Pierre Schweitzer d04225ceac [UXTHEME]
Properly declare with static

svn path=/trunk/; revision=63153
2014-05-04 09:46:57 +00:00
Pierre Schweitzer da4a5b626a [WIN32SS]
Properly declare with FORCEINLINE
Properly declare with static

svn path=/trunk/; revision=63152
2014-05-04 09:45:42 +00:00
Pierre Schweitzer 9c0ff4b952 [PSEH2]
Properly declare with register

svn path=/trunk/; revision=63151
2014-05-04 09:43:38 +00:00
Pierre Schweitzer 984e312a11 [NMIDEBUG]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63150
2014-05-04 09:42:28 +00:00
Pierre Schweitzer 43c58abe03 [BOOTVID]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63149
2014-05-04 09:41:58 +00:00
Pierre Schweitzer 48cbcaeb2c [NTDLL]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63148
2014-05-04 09:41:01 +00:00
Pierre Schweitzer 9c67c46e09 [HALX86]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63147
2014-05-04 09:39:44 +00:00
Pierre Schweitzer 580d1cb2bb [NPFS]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63146
2014-05-04 09:38:36 +00:00
Pierre Schweitzer a41d6ad06b [WS2HELP]
Properly declare with static and __inline

svn path=/trunk/; revision=63145
2014-05-04 09:16:11 +00:00
Pierre Schweitzer 9bfb45693d [MSAFD]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63144
2014-05-04 09:15:06 +00:00
Thomas Faber dedd67967c [NTOS:KE]
- Unconditionally perform APC and IRQL checks on user call exit

svn path=/trunk/; revision=63143
2014-05-04 08:42:02 +00:00
Thomas Faber 56be505cae [WIN32K:NTGDI]
- Release device context semaphores in failure cases of GreExtTextOutW
CORE-8169 #resolve

svn path=/trunk/; revision=63142
2014-05-04 08:38:44 +00:00
Hermès Bélusca-Maïto e399b920c2 [EXPLORER]
Do not hide file extensions by default.
A side effect is that it will make zz_word_viewer_2003:2.copy_text test going further.

svn path=/trunk/; revision=63140
2014-05-03 21:16:19 +00:00
Pierre Schweitzer 76e0ccc2b9 [PIPEREAD]
Prevent null buffer dereference

svn path=/trunk/; revision=63139
2014-05-03 18:52:00 +00:00
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
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
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