Timo Kreuzer
456e2192b7
[WIN32K] Check for empty output rect in GreGradientFill
...
Fixes a failed ASSERT.
CORE-14148 #resolve
2017-12-28 10:46:01 +01:00
Amine Khaldi
2367206744
[USER32] Fix RealUserDrawCaption() return type. Rename {HFONT,UISTATE}_GWL_OFFSET and pfPaint. #179
2017-12-25 14:36:33 +01:00
Colin Finck
3b93ba0f31
[LOCALSPL] Fix parameter handling in LocalSetJob and add tests for the few ways we can easily test this function.
...
Yes, it checks the input handle and doesn't fail if an invalid level is given, because someone may still send a Command.
This also fixes CORE-12794. Thanks for reporting!
2017-12-25 14:30:47 +01:00
Giannis Adamopoulos
c5db5399dc
[USER32] Implement the index -1 for GetWindowLong which returns a pointer to WW
...
We don't have this struct but WND already contains the same fields in the right
order so we can just return the pointer to the first one.
The meaning of the -1 index was found here: http://www.geoffchappell.com/studies/windows/win32/user32/structs/wnd/index.htm
2017-12-25 00:12:45 +02:00
Amine Khaldi
3d93998d6e
[USER32] Add wine/debug.h to the PCH and remove an unneeded wine/unicode.h inclusion.
2017-12-23 23:42:40 +01:00
Joachim Henze
82caf5f823
[WIN32K] avoid BSOD in Bochs 2.6.8 CORE-13629, patch by Mark Jansen
...
We applied this patch also last second in 0.4.7rls, now in master.
IntTrackPopupMenuEx() caused the BSOD when called while window is in the process of being destroyed.
2017-12-20 17:38:36 +01:00
Katayama Hirofumi MZ
10910ca9e1
[GDI32] Fix TextOutA multibyte text length overgoing. CORE-14070
2017-12-17 02:04:31 +01:00
Colin Finck
3a69fd4e96
[PRINTING] Fix GetPrinterW, add tests for it and GetDefaultPrinterA/W, and add a proper stub for GetPrinterDriverDirectoryA.
...
* Pass the correct handle to _RpcGetPrinter in GetPrinterW.
* Pass an empty string instead of a NULL pointer as wszComputerName to the GetPrinterLevel* functions, because this variable is later used as source for StringCbCopyExW.
* Don't check for GetLastError() == ERROR_SUCCESS in tests. Windows apparently only sets the last error in case of failure.
The Printing code should probably be changed similarly in a future commit.
Should fix CORE-14072
2017-12-10 12:28:08 +01:00
Colin Finck
46b9165909
[WINSPOOL] Provide stubs with tracing and reasonable failure codes for even more popular Spooler APIs.
...
This may get more applications to work which previously called into the WINE-generated stubs (that throw an exception).
It also improves debug logs when the "winspool" debug channel is enabled. With such detailed debug logs, we may get an idea which winspool APIs need to be implemented sooner than others.
2017-12-09 14:14:05 +01:00
Colin Finck
1f6f08eca0
[WINSPOOL] Add tracing to all exported APIs.
2017-12-09 14:14:05 +01:00
Colin Finck
45b9b5c1ef
[WINSPOOL] Convert the returned Unicode string back to ANSI in GetDefaultPrinterA.
...
Thanks to Mark for the hint in CORE-14072!
2017-12-09 14:14:05 +01:00
Amine Khaldi
a308735be6
[VGA] Correct VgaInterpretCmdStream() declaration.
2017-12-09 13:11:45 +01:00
Katayama Hirofumi MZ
ea4daf8b68
[WIN32K] Fix NtGdiGetTextFaceW to report face name correctly ( #173 )
...
Initialize TEXTOBJ.FaceName member in TextIntRealizeFont and use it in NtGdiGetTextFaceW
CORE-14071
2017-12-09 12:06:51 +02:00
Amine Khaldi
6429bfcd8f
[CONSRV] Deduplicate GetScreenBufferSizeUnits(), SmallRectToRect() and ConsoleInput. Rename ConsoleList and InsertConsole(). #179
2017-12-08 23:04:48 +01:00
James Tabor
c45a6e15bf
[User32|IMM32] Fix a recursion crash in IMM. See CORE-14041.
...
Required a sync port from wine. This is a hack fix with Win32SS until
proper IMM support is added to Win32SS.
2017-12-07 21:14:21 -06:00
Amine Khaldi
5633423086
[FREETYPE][PORTCLS][RPCSS][SPOOLSV][STLPORT][USETUP][WLANSVC] Silence some clang-cl warnings.
2017-12-07 23:26:59 +01:00
Amine Khaldi
917b74b0dc
[USER32] We're still using this one. Fixes build.
2017-12-07 22:37:40 +01:00
Amine Khaldi
9443165625
[USER32] Remove unused debug channels. Silences some clang-cl warnings.
2017-12-07 22:25:30 +01:00
James Tabor
e1e79f248b
[GDI] Fix metafile crashes and null driver issues.
...
Patch by Jérôme Gardou modified by me.
CORE-14023 : Fix SetWorldTransform for metafiles #137
Includes CORE-12832 and CORE-13627.
2017-11-26 14:48:06 -06:00
jimtabor
d85023c9c9
[GDI] - Add type for setting world transform modification modes.
...
References:
https://msdn.microsoft.com/en-us/library/cc230538.aspx
https://github.com/KDE/krita/blob/master/libs/vectorimage/libemf/EmfEnums.h
2017-11-24 17:22:43 -06:00
Giannis Adamopoulos
febf9acfee
[GDI32] GdiDrawStream: Improve handling of small rcDest sizes
...
- Abort drawing if rcDest has negative height or width.
- Ignore sizing margins if rcDest is too small.
CORE-13513
2017-11-22 17:28:18 +02:00
Jérôme Gardou
89dbc88a2c
[WIN32SS]
...
- Unconditionally enter NtUser implementation in EngCreateWnd and EngDeleteWnd
CORE-7727
2017-11-18 12:15:45 +01:00
Jérôme Gardou
3e1a54151f
[WIN32SS]
...
- Do not call the driver Escape routine while holding locks on GDI objects
CORE-7727
2017-11-18 12:15:45 +01:00
Mark Jansen
9e4d2f1f9e
[WIN32K] Check if the window being destroyed is currently tracked. ( #103 )
...
* [WIN32K] Check if the window being destroyed is currently tracked.
CORE-13619
2017-11-04 15:00:54 +01:00
Amine Khaldi
d56c9a8927
[INCLUDE/REACTOS][LOCALMON][LOCALSPL][SPOOLSS] Add some missing VOIDs. CORE-11799 ( #94 )
2017-10-30 22:43:47 +01:00
Amine Khaldi
5cb0615147
[BROWSEUI][DEVMGR][EXPLORER][NTGDI][NTOBJSHEX][NTVDM][SETUPAPI] Remove/comment out some unused variables. CORE-11799 ( #94 )
2017-10-28 15:04:18 +01:00
Amine Khaldi
0625e4d4f5
[SPOOLSV] Add some missing VOIDs. CORE-11799 ( #94 )
2017-10-28 14:43:14 +01:00
Amine Khaldi
706a70c9e1
[NTDLL][NTUSER][SPOOLSS][WINSPOOL] Add some missing VOIDs. CORE-11799 ( #94 )
2017-10-28 13:46:11 +01:00
Katayama Hirofumi MZ
85ae842105
[WIN32SS] fix font extent.
...
CORE-13840
2017-10-25 21:10:35 +02:00
Waritnan Sookbuntherng
1128447196
[WIN32K][DESK.CPL]: Add fit and fill background placement options ( #28 )
...
- WIN32K and DESK.CPL: Add fit and fill background placement options.
- DESK.CPL: Define wallpaper placement constants; update translations.
- WIN32K: Fix coding style.
CORE-13360
2017-10-13 21:44:02 +02:00
Adam Słaboń
9c790dfc3b
Polish translation update ( #29 )
...
* Polish translation update
2017-10-10 12:14:38 +02:00
jimtabor
31aab36e88
[Win32SS]
...
- Merge path objects with gdi path structure. See CORE-13536.
2017-10-06 11:54:27 -05:00
gigaherz
aff6757284
[NTUSER] Fix rogue CR in a LF-only file.
2017-10-06 00:04:46 +02:00
Timo Kreuzer
5c4d857407
[WIN32K] Add a comment regarding UserEnterExclusive() in UserGetDesktopDC()
...
This is a test-commit using GitHubs SVN interface.
2017-10-05 18:40:33 +02:00
Hermès Bélusca-Maïto
acdf04bad2
Add .keep guard files in order to restore lost but empty directories we had with SVN.
...
Note that when you start populating these directories, you can remove the associated .keep guard file(s)!
2017-10-04 10:28:36 +02:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00