Commit graph

44520 commits

Author SHA1 Message Date
Timo Kreuzer
3c0a0ad03b Fix build of wined3d
svn path=/trunk/; revision=50501
2011-01-26 17:43:31 +00:00
Timo Kreuzer
46ff706cc4 [CRT]
Cleanup math.h from unixism. For now move everything that doesn't belong there into mingw_math.h.

svn path=/trunk/; revision=50500
2011-01-26 17:16:07 +00:00
Timo Kreuzer
7cf49f4328 [CRT]
- Replace isinf with !_finite and isnan with _isnan

svn path=/trunk/; revision=50499
2011-01-26 16:28:34 +00:00
Timo Kreuzer
243ce74d82 [AVIFIL32]
Split utf8 resources into theit own file (MSVC compatibility)


svn path=/trunk/; revision=50498
2011-01-26 16:26:42 +00:00
Timo Kreuzer
2508955123 crt header compatibility update:
- define _USE_MATH_DEFINES for dsound, gdiplus, jscript and some win32k files
- don't define HAVE_LRINT(F) in libsamplerate
- Remove M_PI constants from win32k

svn path=/trunk/; revision=50497
2011-01-26 16:24:35 +00:00
Timo Kreuzer
54759c40ba [CMAKE]
Fix rostests after changing macros

svn path=/trunk/; revision=50481
2011-01-24 21:20:04 +00:00
Aleksey Bragin
311184a8fa - Remove undocumented defines from winuser.h and include undocuser.h when _WINE is defined.
svn path=/trunk/; revision=50477
2011-01-24 12:58:51 +00:00
Roel Messiant
6c6117766d [NTOS]
- Only update the System Page Directory when expanding the paged pool. Fixes the PointerPde asserts.
  On paged pool expansion, the system page directory and the process page directory of the calling process were updated.
  When updating the process page directory, an assert made sure the PDE that got written was invalid.

  In case of the System process, both page directories are located on the same physical page.
  So when this process expanded the paged pool, the system page directory update automagically
  updated the process page directory too.  The assert therefore triggered.

  Not explicitly updating the process page directory will result in a page fault later on, which is
  handled by copying the required PDE from the system page directory to the process page directory.

  Rumour has it this fix is incorrect because "something's wrong with the System PDE stuff".  The lack
  of any further info however leads to this change and explanation.

svn path=/trunk/; revision=50475
2011-01-23 19:27:13 +00:00
Eric Kohl
ce2570f468 [NPFS]
Check if the whole pipe name fits into the return buffer. Return STATUS_BUFFER_OVERFLOW if it does not fit and copy only a part of the file name in this case.

svn path=/trunk/; revision=50474
2011-01-23 14:41:07 +00:00
Eric Kohl
8b8fbc77af [SETUPAPI]
Fix a warning.

svn path=/trunk/; revision=50468
2011-01-22 18:16:12 +00:00
Eric Kohl
f6b450f16a [SETUPAPI]
- Implement CMP_WaitServicesAvailable().
- CM_Get_First_Log_Conf_Ex(): Create a LOG_CONF_INFO struct only if plcLogConf is not NULL. 

svn path=/trunk/; revision=50461
2011-01-22 15:43:57 +00:00
Timo Kreuzer
d7420c8060 [FREELDR]
compile headless support only for x86

svn path=/trunk/; revision=50459
2011-01-22 09:47:20 +00:00
Timo Kreuzer
a89924e2bd [NTOSKRNL]
MiAddressToPte translates a virtual address to the corresponding PTE, MiAddressToPde to the corresponding PDE. MiPteToAddress is the inverse of MiAddressToPte and translates from a PTE to the virtual address. MiPdeToAddress broke this scheme and didn't calculate the corresponding virtual adress, but the adress of the page table. Fix this inconsistency by renaming the macro to MiPdeToPte and adding a fixed MiPdeToAddress. All references fixed accordingly.

svn path=/trunk/; revision=50458
2011-01-22 09:43:52 +00:00
Timo Kreuzer
e62f89f35b [INTRIN]
- Implement _mm_sfence, _mm_lfence, __faststorefence (for amd64)
- Don't use __sync_synchronize() for _ReadWriteBarrier, as it issues an mfence instruction and this is not what we want
- Remove "BUGBUG" comment, because the fact that _ReadBarrier and _WriteBarrier are full (compiler) barriers isn't critical.

svn path=/trunk/; revision=50456
2011-01-21 20:56:36 +00:00
Eric Kohl
313c5318b3 [NPFS]
Initialize only the required parts of the return buffer. This will enable the driver to return information about multiple pipes in a single request.

svn path=/trunk/; revision=50452
2011-01-20 21:48:06 +00:00
Timo Kreuzer
9f0220b25e [CMAKE]
Define __ROS_LONG64__ for all winetests

svn path=/trunk/; revision=50447
2011-01-20 12:52:41 +00:00
Amine Khaldi
4b35cf7b8b [CMAKE]
- Revert r50441. Please note that the recent revisions around this define are for testing.

svn path=/trunk/; revision=50444
2011-01-19 19:01:37 +00:00
Timo Kreuzer
87100588dc [GDI32]
Fix broken portable implementation of _lrintf, 2nd try :)

svn path=/trunk/; revision=50443
2011-01-19 18:10:50 +00:00
Timo Kreuzer
8c35fc79b8 [GDI32]
Fix broken portable implementation of _lrintf

svn path=/trunk/; revision=50442
2011-01-19 18:10:08 +00:00
Amine Khaldi
d0f0bdb64b [CMAKE]
- Add __WINESRC__ definition to all winetests.

svn path=/trunk/; revision=50441
2011-01-19 17:51:43 +00:00
Timo Kreuzer
2ea57bf789 [ASM]
Add include guards to asm.inc and comment out broken ljmp macro

svn path=/trunk/; revision=50438
2011-01-19 16:58:58 +00:00
Timo Kreuzer
b1d121930a [CMAKE]
Revert part of 50435

svn path=/trunk/; revision=50437
2011-01-19 16:26:49 +00:00
Timo Kreuzer
97830a1dfe [CMAKE]
Revert r50434. Insetad add __WINESRC__ definition to amstream and avifil32 winetests

svn path=/trunk/; revision=50435
2011-01-19 14:59:38 +00:00
Timo Kreuzer
f7786ad9d4 [CMAKE]
Add __WINESRC__ definition to all winetests.

svn path=/trunk/; revision=50434
2011-01-19 14:18:42 +00:00
Roel Messiant
05602c1b7e [NTOS]
- Fix a typo in the page fault handler that caused PDEs to be fixed up when they were in fact valid.

svn path=/trunk/; revision=50426
2011-01-18 22:42:44 +00:00
Daniel Reimer
24ce794fa2 revert it... test commit...
svn path=/trunk/; revision=50418
2011-01-17 23:16:46 +00:00
Daniel Reimer
6f4a16f6f0 Test commit
svn path=/trunk/; revision=50417
2011-01-17 23:12:27 +00:00
Daniel Reimer
0f6f4a6797 Update rapps database and add encoded's VMWare Sound driver.
svn path=/trunk/; revision=50416
2011-01-17 23:05:15 +00:00
Sylvain Petreolle
c9f45b2977 [TEST]
Enable DroidSansFallback.ttf.

svn path=/trunk/; revision=50415
2011-01-17 23:01:16 +00:00
Sylvain Petreolle
c925aa8d89 [TEST]
Disable DroidSansFallback.ttf.

svn path=/trunk/; revision=50414
2011-01-17 22:58:29 +00:00
Sylvain Petreolle
31f466388e [TEST]
Enable DroidSansFallback.ttf.

svn path=/trunk/; revision=50413
2011-01-17 22:53:11 +00:00
Sylvain Petreolle
313b09060f [TEST]
Disable DroidSansFallback.ttf.

svn path=/trunk/; revision=50412
2011-01-17 22:46:46 +00:00
Sylvain Petreolle
a3950d9165 [MSVCRT]
No reason for wcsxfrm to be a stub when code is here.

svn path=/trunk/; revision=50411
2011-01-17 21:51:30 +00:00
Sylvain Petreolle
830f3bf4c5 TRANSLATION: fix typo in shutdown.
svn path=/trunk/; revision=50410
2011-01-17 21:37:59 +00:00
Timo Kreuzer
f0264e4afc [USER32]
Fix CreateIcon and CreateIconIndirect. Fixes user32_winetest:cursoricon. (Yes we execute less tests, but that is correct! wine probably only passes these tests by chance)

svn path=/trunk/; revision=50408
2011-01-17 01:22:16 +00:00
Amine Khaldi
e8a298b190 [CMAKE]
- Adapt gdi32 apitest cmake build to the recent changes.

svn path=/trunk/; revision=50407
2011-01-16 22:11:35 +00:00
Timo Kreuzer
1fe01dc0e3 [USER32]
- Fix bug in CreateIconIndirect
- implement get_icon_size
- use unmodified wine code for STATIC_PaintIconfn

svn path=/trunk/; revision=50406
2011-01-16 21:41:47 +00:00
Timo Kreuzer
93fc2852cd [USER32_APITEST]
Add tests for GetIconInfo.

svn path=/trunk/; revision=50405
2011-01-16 21:03:20 +00:00
Timo Kreuzer
8bf0247095 [GDI32_APITEST]
Add tests for DPtoLP
- More tests for CombineTransform, CreateBitmapIndirect and SelectObject

svn path=/trunk/; revision=50404
2011-01-16 20:53:48 +00:00
Timo Kreuzer
e1efc7ca51 [AMD64]
Add ksamd64.inc

svn path=/trunk/; revision=50403
2011-01-16 18:16:24 +00:00
Matthias Kupfer
58fa62af33 - Fix replaced by more flexible code for arbitrary cursor sizes
svn path=/trunk/; revision=50402
2011-01-16 18:15:12 +00:00
Thomas Bluemel
98fe9682e3 Implement GetClassLongPtrA/W
svn path=/trunk/; revision=50399
2011-01-16 17:08:07 +00:00
Matthias Kupfer
030dbb0bbc - Fix draw of cursors in static controls
- Last part of fix for bug #4874

svn path=/trunk/; revision=50398
2011-01-16 12:51:14 +00:00
Thomas Bluemel
44f8ef985c Create a security descriptor for the desktops rather than passing the ACLs in as a security descriptor
svn path=/trunk/; revision=50397
2011-01-16 02:51:58 +00:00
Thomas Bluemel
8f2b4ea5e1 Portability bugfixes
svn path=/trunk/; revision=50396
2011-01-16 01:32:45 +00:00
Timo Kreuzer
fb49d55fda [WIN32K]
Set correct error value on failure in NtUserSetCursor. Patch by Victor Martinez.

svn path=/trunk/; revision=50392
2011-01-15 19:42:56 +00:00
Timo Kreuzer
6ecbc52144 [NTOSKRNL]
Fix comments and reduce code complexity.

svn path=/trunk/; revision=50391
2011-01-15 19:13:22 +00:00
Eric Kohl
b51f0a0553 [NTOSKRNL]
Simplify SepPrivilegeCheck.
Patch by Timo Kreuzer.

svn path=/trunk/; revision=50390
2011-01-15 14:35:26 +00:00
Timo Kreuzer
08c3db2a66 [PING]
Fix MyLoadString. Patch by menone7 at gmail dot com.

svn path=/trunk/; revision=50389
2011-01-15 12:58:05 +00:00
Timo Kreuzer
97b0bc9cd2 [CRT]
Fix uninitialized warning

svn path=/trunk/; revision=50387
2011-01-15 11:18:01 +00:00