Timo Kreuzer
eced695a85
Update ETO constants
...
svn path=/trunk/; revision=38206
2008-12-20 22:47:24 +00:00
Timo Kreuzer
54831b15db
TextOut functions take a character count, not a byte count. Rename cb to cch.
...
svn path=/trunk/; revision=38204
2008-12-20 21:19:43 +00:00
Timo Kreuzer
869fc7ead9
Handle ETO_PDY more correctly (dy values still ignored)
...
svn path=/trunk/; revision=38203
2008-12-20 21:01:14 +00:00
Kamil Hornicek
3e2f6025fc
- add check for NULL pointer, "first" is NULL for folders, files without extension etc. see bug 3959
...
See issue #3959 for more details.
svn path=/trunk/; revision=38202
2008-12-20 20:48:08 +00:00
Timo Kreuzer
98a6b82bc5
When fuOptions has ETO_PDY specified, the DxBuffer in NtGdiExtTextOutW consists of pairs of INTs, thus the Buffer must be twice as big. (Thanks to aspotashev for locating the problem) MmCopyToCaller -> SEH2. Allocate only one buffer for the string and the Dx values.
...
See issue #3958 for more details.
svn path=/trunk/; revision=38201
2008-12-20 20:38:23 +00:00
Timo Kreuzer
93d4ecb9e8
[FORMATTING]
...
Fix indentation. No code change.
svn path=/trunk/; revision=38199
2008-12-20 19:43:11 +00:00
Stefan Ginsberg
35568f58b0
- Revert 38116 -- the SEH issues should be gone now
...
svn path=/trunk/; revision=38198
2008-12-20 13:48:35 +00:00
KJK::Hyperion
e6f465bb78
Supersedes r38084. Take three
...
modified include/reactos/libs/pseh/pseh2.h
modified lib/pseh/framebased-gcchack.c
modified lib/pseh/i386/framebased-gcchack.S
Disassemble trampolines in the library, instead of the macros. Results in better, smaller code. As a side effect, PSEH no longer requires a trampoline for nested functions - which results in even better, even smaller code in many common cases where the nested functions don't use any variables from the containing function
Simulate a no-op setjmp so that GCC correctly handles variables in registers, instead of surprise-corrupting random variables in random conditions
Save EBP and ESP every time a _SEH2_TRY/_SEH2_EXCEPT is entered, instead of only the first time. Probably not entirely correct yet
Don't generate a nested function for a _SEH2_EXCEPT() filter expression if the value is a compile-time constant: convert the value to (void *)0, (void *)1 or (void *)-1, and set that as the filter, instead (like Visual C++ does, incidentally)
If a _SEH2_EXCEPT() filter expression is a compile-time constant evaluating to EXCEPTION_CONTINUE_EXECUTION or EXCEPTION_CONTINUE_SEARCH, allow GCC to optimize out the body of the _SEH2_EXCEPT (because it'd be unreachable). This should really result in a compile-time warning, but #pragma message is unsupported in GCC 4.1.3
Let _SEH2_EXCEPT() accept a comma expression as filter expression (e.g. _SEH2_EXCEPT(MessageBox(...), EXCEPTION_EXECUTE_HANDLER) instead of _SEH2_EXCEPT((MessageBox(...), EXCEPTION_EXECUTE_HANDLER)))
Small optimizations in PSEH library
Clean up GCC hacks
Remove currently unused PSEH 3 hacks
svn path=/trunk/; revision=38197
2008-12-20 13:05:57 +00:00
Dmitry Gorbachev
5866c97424
- Do not use pGlobalData after freeing,
...
- do not load color spectrum bitmaps if no adapter found,
- do not use HEAP_ZERO_MEMORY, use memset(),
- check SelectObject() result,
- fix indentation.
svn path=/trunk/; revision=38196
2008-12-20 11:06:21 +00:00
Johannes Anderwald
7b6fe6680a
- Fix parameters for CreateService
...
svn path=/trunk/; revision=38195
2008-12-20 10:09:25 +00:00
Dmitry Chapyshev
78ef81691e
- Fix all wine tests for MoveFileA/W
...
svn path=/trunk/; revision=38194
2008-12-20 10:08:11 +00:00
Andrew Munger
2873eff0cb
Null dereference FTL.
...
svn path=/trunk/; revision=38193
2008-12-20 09:30:12 +00:00
Dmitry Chapyshev
145ffd10f1
- Formatting fix
...
svn path=/trunk/; revision=38192
2008-12-20 08:07:10 +00:00
Dmitry Chapyshev
6fadfd9daf
- Fix 2 winetests
...
svn path=/trunk/; revision=38191
2008-12-20 08:02:25 +00:00
Timo Kreuzer
b412cbd236
- fix _STATIC_ASSERT
...
- fix indentation
- move some headers from crt/ming to crt
svn path=/trunk/; revision=38190
2008-12-19 23:34:20 +00:00
James Tabor
6a59679c8e
- Properly implement LookupIconIdFromDirectoryEx.
...
- Remove hack for GetDeviceCaps.
- This fixes one part of the Win32k Initialization Bug. If this change creates a problem some where else, the problem is not in this change.
svn path=/trunk/; revision=38189
2008-12-19 22:33:11 +00:00
Timo Kreuzer
2b40f401d6
enable GetTimeZoneInformation in _getsystime
...
svn path=/trunk/; revision=38188
2008-12-19 19:57:21 +00:00
Timo Kreuzer
ecae93aaa2
add DECLSPEC_SELECTANY
...
svn path=/trunk/; revision=38187
2008-12-19 18:39:32 +00:00
Timo Kreuzer
fb37c99b05
NtGdiGetFontUnicodeRanges:
...
- Don't probe the safe buffer, but the usermode buffer
svn path=/trunk/; revision=38186
2008-12-19 18:16:04 +00:00
Gregor Schneider
f45ee646df
- Update fputwc implementation to current wine sources
...
- Fixes 23 msvcrt file winetests
svn path=/trunk/; revision=38185
2008-12-19 16:57:48 +00:00
Gregor Schneider
855ea53e48
- Fix return values for fputc and _flsbuf: return only one char
...
- Fixes three msvcrt file winetests
svn path=/trunk/; revision=38184
2008-12-19 11:39:04 +00:00
Timo Kreuzer
fd478ccca5
Zero the last character in lfFaceName when converting a LOGFONT from A to W or vice versa. Fixes 1 gdi32_winetest font.
...
DPRINT1 -> DPRINT
svn path=/trunk/; revision=38183
2008-12-19 00:12:43 +00:00
Gregor Schneider
23eb0e8a4a
- Remove static qualifier from g_mbcp_is_multibyte variable (locale.c) to allow external reference
...
- Update _mbccpy, _mbsncpy and _mbsnbcpy, so that they handle leading bytes correctly
- Fixes 6 of 7 failing msvcrt string winetests, the remaining failure is related to memcpy behavior
svn path=/trunk/; revision=38182
2008-12-18 22:06:07 +00:00
Gregor Schneider
5fe4b4b425
- Update _mbclen, mblen, _mbslen, _mbsnextc and _mbstrlen which should rely on the leadbyte mechanism
...
- Fixes 9 msvcrt string tests, 7 failures tbd
- Remove leftover function declaration from ismblead.c
svn path=/trunk/; revision=38181
2008-12-18 21:17:22 +00:00
James Tabor
589af34558
- From SDK, LD_ flags.
...
svn path=/trunk/; revision=38180
2008-12-18 20:59:12 +00:00
Jeffrey Morlan
220378c764
VfatSetAllocationSizeInformation: The fast code for extending the size of a non-empty file did have a bug in that it didn't always set Fcb->LastCluster/Fcb->LastOffset but the OffsetToCluster call was made assuming that it did. However, the code that replaced it had a bug as well, in that it did not set Cluster to the original final cluster like the error handling code expected, so it would crash when out of disk space. Bringing back the fast code, but with its bug fixed.
...
svn path=/trunk/; revision=38179
2008-12-18 20:47:20 +00:00
Gregor Schneider
9b0331478f
- Update _mbsbtype and _mbsninc functions
...
- Fixes 17 msvcrt string tests, 16 to go
svn path=/trunk/; revision=38178
2008-12-18 20:26:57 +00:00
Gregor Brunmar
101cb70315
Implemented IDirect3DDevice9::GetRasterStatus()
...
svn path=/trunk/; revision=38177
2008-12-18 19:48:17 +00:00
Gregor Schneider
b34362b5a5
- Close registry key handle of both RegQueryValueEx calls fail. I don't see anything else leaking.
...
svn path=/trunk/; revision=38176
2008-12-18 19:38:01 +00:00
Gregor Brunmar
36ac3e9c57
Implemented IDirect3DDevice9::GetGammaRamp()
...
svn path=/trunk/; revision=38175
2008-12-18 19:29:49 +00:00
Gregor Brunmar
1cc6243d5e
Implemented IDirect3DDevice9::CreateAdditionalSwapChain()
...
svn path=/trunk/; revision=38174
2008-12-18 19:08:17 +00:00
Gregor Schneider
1c8d9a1277
- Remove duplicate harcoded _mbctype, rename MSVCRT_mbctype to fit the new role
...
- Update related functions _ismbblead, _ismbslead, _ismbbtrail, _ismbstrail to use Wine _mbctype indexing
- Fixes 28 msvcrt string tests, 33 left
- Minor header updates
svn path=/trunk/; revision=38173
2008-12-18 18:58:43 +00:00
Dmitry Chapyshev
10ffe93130
- Revert r37085. It fix work kbswitch, but I think, that somewhere (in kbswitch) there is a memory leak. Help somebody to find it
...
svn path=/trunk/; revision=38172
2008-12-18 12:32:46 +00:00
Christoph von Wittich
f74a13b345
GENERIC_WRITE is required to flush the input buffer
...
svn path=/trunk/; revision=38171
2008-12-18 12:32:32 +00:00
Dmitry Gorbachev
6c8e595de5
Add a hack which allows to boot with Armenian language.
...
svn path=/trunk/; revision=38170
2008-12-18 12:26:52 +00:00
Dmitry Gorbachev
32eb774e68
Fix some keyboard layout related stuff in USetup.
...
svn path=/trunk/; revision=38169
2008-12-18 12:26:47 +00:00
Dmitry Gorbachev
35da2f5ea3
Armenian registry settings.
...
svn path=/trunk/; revision=38168
2008-12-18 12:26:42 +00:00
Dmitry Gorbachev
c31b0b4bc9
Add these two old translations:
...
- Armenian (Notepad) by Andranik Haroyan (andranik_haroyan at yahoo),
- Thai (Calculator) by Sumath Aowsakulsutthi (punth1 at gmail).
svn path=/trunk/; revision=38167
2008-12-18 12:26:33 +00:00
Johannes Anderwald
e0f42218c7
- Add GUID_DEVCLASS_SOUND
...
svn path=/trunk/; revision=38166
2008-12-18 09:16:13 +00:00
Christoph von Wittich
222fa8743a
DPRINT1 -> DPRINT on failure to prevent spamming of buildbot winetest logs
...
svn path=/trunk/; revision=38164
2008-12-18 07:26:07 +00:00
Jeffrey Morlan
36ac6dbed7
FAT##FindAndMarkAvailableCluster: Decrement the AvailableClusters count to keep reported free space consistent.
...
svn path=/trunk/; revision=38163
2008-12-18 03:09:45 +00:00
James Tabor
46ef532ab0
Patch by Aric Stewart : user32: Implement handling of WM_INPUTLANGCHANGE. Updated header and made WIN_ListChildren global.
...
svn path=/trunk/; revision=38162
2008-12-18 01:14:39 +00:00
Daniel Reimer
8a36d2a8ba
Add German Table to Kernel32
...
svn path=/trunk/; revision=38161
2008-12-17 23:19:08 +00:00
Johannes Anderwald
347a9d5cf0
- Sorry I BROKE build
...
svn path=/trunk/; revision=38160
2008-12-17 21:16:31 +00:00
Johannes Anderwald
18960d88d3
- add ks.sys & portcls.sys to bootcd image
...
svn path=/trunk/; revision=38159
2008-12-17 20:59:31 +00:00
Dmitry Chapyshev
75e639eabf
- More implement GetCPInfoExW
...
- Add resources for getting localized of code pages names
svn path=/trunk/; revision=38157
2008-12-17 16:30:31 +00:00
Johannes Anderwald
ff1e60162f
- Handle PcNewRegistryKey for DeviceRegistryKey, DriverRegistryKey, HwProfileRegistryKey
...
- Implement IPortClsVersion interface
svn path=/trunk/; revision=38156
2008-12-17 16:01:32 +00:00
Johannes Anderwald
d48a47ec8a
- Add IID_IPortClsVersion
...
svn path=/trunk/; revision=38155
2008-12-17 15:58:32 +00:00
Daniel Reimer
6c1d6b1345
Synched winhlp32 and wordpad with wine HEAD.
...
Added some Dutch Translations I had lying around here. Credits go to the guy who gave them to me and who's name i forgot...
Bug 3881: Greek update by Apostolos Alexiadis
svn path=/trunk/; revision=38154
2008-12-17 15:42:39 +00:00
Daniel Reimer
480c8cbd40
Sync winfile with wine HEAD.
...
Bug 3881: Greek update by Apostolos Alexiadis
svn path=/trunk/; revision=38153
2008-12-17 15:41:17 +00:00