Commit graph

52621 commits

Author SHA1 Message Date
Timo Kreuzer fa960bf579 [TASKMGR]
1) Use of CheckDlgButton() and IsDlgButtonChecked() rather than SendMessage, it will improve code readability.
2)Removes an useless initialization into perfpage.c
3) GetWindowLong/SetWindowLong were replaced with GetWindowLongPtr/SetWindowLongPtr, but GWL_WNDPROC and GWL_ID were not with GWLP_WNDPROC and GWLP_ID.
4) Corrected some comment texts.
Patch by Carlo Bramini
CORE-6367 #resolve

svn path=/trunk/; revision=57989
2012-12-24 10:51:02 +00:00
Johannes Anderwald 8a09fb755c [USBCCGP]
- Fix bug when enumerating composite usb devices with IADs

svn path=/trunk/; revision=57988
2012-12-24 09:56:28 +00:00
Hermès Bélusca-Maïto 48f0592923 [SYSSETUP]
I forgot that previously.

svn path=/trunk/; revision=57987
2012-12-23 23:22:10 +00:00
Hermès Bélusca-Maïto 879883c38d [WRITE/SETUP/RUNONCE/SERVICES/MMSYS/MSGINA/SYSSETUP]
- Use in some places ZeroMemory instead of memset(..., 0, ...).
- Fix way of initializing the STARTUPINFO structure before call to CreateProcess: in particular, when using the wShowWindow field, also use the STARTF_USESHOWWINDOW flag.

[USERINIT]
- Fix way of initializing the STARTUPINFO structure before call to CreateProcess: in particular, when using the wShowWindow field, also use the STARTF_USESHOWWINDOW flag.
- This fixes CORE-5735.

CORE-5735 #resolve #comment Command-line launching fixed in revision r57986.

svn path=/trunk/; revision=57986
2012-12-23 23:17:10 +00:00
Timo Kreuzer c963ccf7c2 [KS]
- Mark a variable that is assigned inside an SEH block as _SEH2_VOLATILE.
- Silence some MSVC warnings

svn path=/trunk/; revision=57985
2012-12-23 22:53:41 +00:00
Timo Kreuzer 5b41ac7487 [PORTCLS]
Make DllInitialize extern "C", otherwise it would be imported from ks.sys.

svn path=/trunk/; revision=57984
2012-12-23 21:59:45 +00:00
Timo Kreuzer 64656a08f7 [PSEH]
Add missing definition of _SEH2_VOLATILE.

svn path=/trunk/; revision=57983
2012-12-23 21:42:55 +00:00
Timo Kreuzer 724d66b9a8 [PSEH]
Add _SEH2_VOLATILE macro, that expands to volatile on gcc. This is to mark variables as volatile, if neccessary.

svn path=/trunk/; revision=57982
2012-12-23 21:33:48 +00:00
Eric Kohl 73a001976b [NETAPI32]
Ooops! These are needed too!

svn path=/trunk/; revision=57981
2012-12-23 18:59:40 +00:00
Eric Kohl da05d9ace1 [NETAPI32]
- Implement NetUserEnum partially.
- Move common code into a separate file.

svn path=/trunk/; revision=57980
2012-12-23 18:56:13 +00:00
Johannes Anderwald 730e837148 [KS]
- resource size parameter is optional according to documentation
CORE-6555

svn path=/trunk/; revision=57979
2012-12-23 16:47:06 +00:00
Thomas Faber 52e8d95c40 [EXPLORER_NEW]
- Add support for task bar theming
- Add notification area support
- Add support for window flashing
- Hide minimized windows
- Based on Andrew Green's GSoC branch (3/3)

svn path=/trunk/; revision=57978
2012-12-23 14:37:22 +00:00
Thomas Faber 7629f2ac34 [EXPLORER_NEW]
- Run file dialog in its own thread
- Correctly check MapWindowPoints return value
- Fix a warning
- Based on Andrew Green's GSoC branch

svn path=/trunk/; revision=57977
2012-12-23 14:31:18 +00:00
Thomas Faber 3165d0562b [EXPLORER_NEW]
- Add a manifest file to support theming
- Formatting fixes
- Based on Andrew Green's GSoC branch

svn path=/trunk/; revision=57976
2012-12-23 10:25:19 +00:00
Cameron Gutman a686746f88 [AFD]
- Fix a bug during socket closure that could cause buffered data to be lost
[LWIP]
- Only signal errors when the packet queue is empty to avoid dropping received data
- Use pbuf_copy_partial to copy pbuf chains instead of doing it manually which had a bug
CORE-6655 #resolve CORE-6741 #resolve

svn path=/trunk/; revision=57975
2012-12-23 09:53:36 +00:00
Timo Kreuzer 66d645bf61 [WIN32K]
Fix BRUSH_GetObject. Fixes 4 gdi32_apitests.

svn path=/trunk/; revision=57974
2012-12-22 22:34:50 +00:00
Timo Kreuzer af760d9024 [WIN32K]
Fix a bug in the GDI pool code that could lead to list corruption and a failed ASSERT, when an app allocated a large number of DCs or brushes, like AbiWord with more than 1 document open. Also add a few more ASSERTs.

svn path=/trunk/; revision=57973
2012-12-22 22:22:06 +00:00
Eric Kohl 56d63e8383 [NETAPI32]
- Fork netapi32.dll because most of its exported functions are interfaces to services that wine will not implement.
- Move user and group functions to separate files and add some stubs. 
- Update README.WINE.

svn path=/trunk/; revision=57972
2012-12-22 20:11:43 +00:00
Timo Kreuzer 11de8917ef [WIN32K]
- Move some files to more appropriate locations
- Remove an empty file

svn path=/trunk/; revision=57971
2012-12-22 17:58:53 +00:00
Timo Kreuzer 3655610069 [WIN32K]
- Rewrite NtUserGetAtomName, make it return the length in WCHARs instead of bytes, as it is supposed to be. Fix a buffer overrun, when the caller passes a too large UNICODE_STRING buffer. Probe the output buffers before accessing them. Makes sure the target string is always NULL terminated, even if the buffer is too small for the whole name.
- Remove NULL termination code from IntGetAtomName, since that is already done by RtlQueryAtomInAtomTable

svn path=/trunk/; revision=57970
2012-12-22 17:43:20 +00:00
Amine Khaldi d2351c0d6e [CMAKE]
* Remove unneeded set_rc_compiler.
ROSAPPS-255 #resolve #comment Fixed in r57968.

svn path=/trunk/; revision=57969
2012-12-22 15:45:00 +00:00
Timo Kreuzer 03b4a49cb0 [WIN32K]
Don't access the PROCESSINFO after freeing it.

svn path=/trunk/; revision=57968
2012-12-22 12:22:53 +00:00
Timo Kreuzer 843b797533 [PSEH3]
Fix a typo, add a comment

svn path=/trunk/; revision=57967
2012-12-22 10:51:30 +00:00
Amine Khaldi 9c783fd0df [CMAKE]
* Remove unneeded set_rc_compiler.

svn path=/trunk/; revision=57966
2012-12-22 10:47:06 +00:00
Amine Khaldi 9e87af1372 [CMAKE]
* Remove unneeded set_rc_compiler.

svn path=/trunk/; revision=57965
2012-12-22 10:46:37 +00:00
Timo Kreuzer 170f86f348 [INCLUDE]
Update annotations

svn path=/trunk/; revision=57964
2012-12-22 10:09:25 +00:00
Hermès Bélusca-Maïto 837b567bc2 [REG]
- Upgrade the files architecture to the classic one : lang-directory for language resource files, rsrc.rc and <app_name>.rc for main resource files.
- Convert remaining language resource files to UTF-8 without BOM.
- Add version information to the program - Patch by Lee Schroeder.

CORE-6821 #resolve #comment Committed in r57963. Thanks :)

svn path=/trunk/; revision=57963
2012-12-21 23:48:23 +00:00
Timo Kreuzer f538008e3e [WIN32K]
Fix crash, when running out of paged pool. Found by r3ddr4g0n.

svn path=/trunk/; revision=57962
2012-12-21 22:40:05 +00:00
Hermès Bélusca-Maïto 71a8acfc03 [SYSSETUP]
In fact, French translation wasn't so improved...

svn path=/trunk/; revision=57961
2012-12-21 22:25:28 +00:00
Hermès Bélusca-Maïto 67a4a9ff2d [SYSSETUP]
Improve French translation and correct some mistakes.

svn path=/trunk/; revision=57960
2012-12-20 21:28:54 +00:00
Hermès Bélusca-Maïto 0b2f234466 [FONTS]
- Update RedHat Liberation Fonts to 2.00.1
- Update and add some DejaVu Fonts to 2.33
- Update GNU FreeFonts to revision 20120503
- Update Tahoma and Symbol Fonts to Wine HEAD
- Sort the fonts documentation files to dedicated directories

svn path=/trunk/; revision=57959
2012-12-20 20:21:56 +00:00
Timo Kreuzer 7d2114ddb1 [NTOSKRNL]
- Use 2 seperate SEH blocks in PsSuspendThread(). This way we don't leak the rundown protection, and don't keep a terminating thread suspended, when KeSuspendThread() throws an exception. Also only catch STATUS_SUSPEND_COUNT_EXCEEDED exceptions in the SEH filter.

svn path=/trunk/; revision=57958
2012-12-20 14:58:02 +00:00
Hermès Bélusca-Maïto 589a2f3a3c [REGEDIT]
Improve the look of the "Go" button (at the right of the address bar).

svn path=/trunk/; revision=57957
2012-12-20 14:10:38 +00:00
Hermès Bélusca-Maïto 0f89e6e2ed [REGEDIT]
Improve the overall look (a little part was committed by accident in r57955).

svn path=/trunk/; revision=57956
2012-12-20 02:13:53 +00:00
Hermès Bélusca-Maïto 28473168d9 [REGEDIT]
Improve the way sorting is done.

svn path=/trunk/; revision=57955
2012-12-20 02:02:38 +00:00
Timo Kreuzer 1a64a18b5e [NTOSKRNL]
- Add some missing return value checks
- Add some annotations
- Fix format specifiers
- Fix variable scope conflicts
- Fix possible closing of a NULL handle
- Use ObCloseHandle instead of ZwClose

svn path=/trunk/; revision=57954
2012-12-19 23:49:13 +00:00
Timo Kreuzer ed547ad4a5 [CSQ]
Formatting, add annotations, use doxygen style comments, no functional change

svn path=/trunk/; revision=57953
2012-12-19 23:33:57 +00:00
Timo Kreuzer a011b6bc32 [WIN32K]
Fix a bug caused by r57948

svn path=/trunk/; revision=57952
2012-12-19 22:01:54 +00:00
Timo Kreuzer 49a76c78e0 [NTOSKRNL]
Formatting, no functional change

svn path=/trunk/; revision=57951
2012-12-19 11:11:34 +00:00
Hermès Bélusca-Maïto a9f6a51c2a We display a revision number (prefix: 'r')
svn path=/trunk/; revision=57950
2012-12-19 01:08:47 +00:00
Hermès Bélusca-Maïto 2327831f4b [REGEDIT]
Add support of sorting by value.
Patch by Katayama Hirofumi.

CORE-4885 #resolve #comment Committed in r57949. Thanks!

svn path=/trunk/; revision=57949
2012-12-18 23:52:08 +00:00
Timo Kreuzer e61a4d3fcb [WIN32K]
- Add/improve some annotations
- Improve code in EngpGetPDEV and NtGdiGetRegionData
- Simplify SEH exception handling
- Fix possible NULL pointer dereferences
- Fix wrong variable usage in UnpackParam
- Fix a possible bufer overrun
- Check return value of ExAllocatePool and RtlCreateUnicodeString
- Fix & vs && typo
All detected with VS11 analyse

svn path=/trunk/; revision=57948
2012-12-18 21:44:58 +00:00
Hermès Bélusca-Maïto e3cf3471d2 [RTL]
Clarify the order of operations. No functionality changes.

svn path=/trunk/; revision=57947
2012-12-18 21:15:24 +00:00
Hermès Bélusca-Maïto 8e4c401495 [SERVICES]
- services.exe is indeed a GUI program, so build it as such.
- Check the return value of RegisterServicesProcess and thus allow only one instance of services.exe to be launched.

CORE-6123 #resolve #comment Fixed by r57946.

svn path=/trunk/; revision=57946
2012-12-18 20:38:54 +00:00
Hermès Bélusca-Maïto 3a6d338be3 [WIN32CSR]
Fix a misspelling: "loose" --> "lose" (verb). Spotted by Katayama Hirofumi.

CORE-6817 #resolve #comment Fixed in r57945. Cheers :)

svn path=/trunk/; revision=57945
2012-12-18 19:06:16 +00:00
Timo Kreuzer 020d337ca6 [WIN32K]
- Add/fix some annotations
- Simplify code in NtGdiSetMiterLimit

svn path=/trunk/; revision=57944
2012-12-18 15:20:20 +00:00
Timo Kreuzer 2a61a8dcec [RTL]
Reapply a fix, that got reverted accidentally in r57938

svn path=/trunk/; revision=57943
2012-12-18 15:00:45 +00:00
Timo Kreuzer be5ff02f5e [RTL]
- Implement dynamic allocation of handle entry pages in RtlAllocateHandle
- Fix a possible NULL pointer dereference

svn path=/trunk/; revision=57942
2012-12-18 10:10:34 +00:00
Timo Kreuzer 2cdf5f5ce0 [HAL]
Fix / silence some warnings/errors detected with VS-analyze

svn path=/trunk/; revision=57941
2012-12-18 09:52:07 +00:00
Hermès Bélusca-Maïto ea1421c020 [REGEDIT]
Update the address bar after creating a registry key.
CORE-6816 #resolve #comment Committed in r57940. Thanks ;)

svn path=/trunk/; revision=57940
2012-12-17 23:22:03 +00:00