Another mysterious case of stdlib.h being automatically included for gcc but not cl, another module compiling with Visual C++
svn path=/trunk/; revision=42451
We have lrint and lrintf, don't provide inline implementations
Three cheers for libsamplerate, congratulations to it for compiling on Visual C++
svn path=/trunk/; revision=42450
modified dll/win32/opengl32/opengl32.c
Give prototypes to all functions
Implement OpenGL thunks in assembler for Visual C++
Nope, environment is not compiler this time, either
modified dll/win32/opengl32/opengl32.h
Don't use dllexport, we have a spec file
Congratulations opengl32, you now build with Visual C++
svn path=/trunk/; revision=42448
Implement GreMovePointer and GreSetPointerShape, calling the eng functions and use them instead of the former mess in IntSetCursor. Fix IntShowMousePointer, EngSetPointerShape to properly handle the color bitmap. We now have support for colored mouse cursors, like used by our paint.
svn path=/trunk/; revision=42447
For some reason, <limits.h> was included for gcc, but not Visual C++: include it explicitly just in case
And we welcome advapi32 to the club of modules that compile with Visual C++
svn path=/trunk/; revision=42445
libxml2 wants __MINGW32__, let's give it __MINGW32__. This should probably defined globally, because our Visual C++ environment is kind of MinGW, after all
And libxml2 compiles with Visual C++, too
svn path=/trunk/; revision=42444
Arch Blackmann confuses compiler with build environment in libjpeg too. No project is safe
modified libjpeg.rbuild
HAVE_CONFIG_H is only used in ansi2knr.c, which we don't build
added libjpeg.reactos.diff
Added patch files with changes from vendor drop
Yes, libjpeg now compiles with Visual C++, in case you were wondering
svn path=/trunk/; revision=42442
- Calculate resource list size with FIELD_OFFSET macro
- Fix a big bug in IResourceList_fnAddEntryFromParent which didnt copy the untranslated resource list entry
svn path=/trunk/; revision=42439
- math.h: Move nonstandard inline using nonstandard function into nonstandard group
- crtdefs.h: Don't disable non-ANSI C definitions for MSVC only -- the behaviour should be the same for all compilers, so always disable them -- fixes various msvc build errors introduced by 42369.
svn path=/trunk/; revision=42418
-Fix the weekday offset in gmtime
-Offset the year in *ctime by 1900, fix obvious typos
-Set structure packing to char level: without it the 26 character array is 32 characters wide and the string can't be constructed properly because of alignment characters in between (shouldn't be a problem when _UNICODE is defined)
-Test results: awesome, will be integrated soon
svn path=/trunk/; revision=42413
-iofunc tests were used to verify r42382, added another one that tests swprintf double conversion (roscalc issue)
-time tests crash with the current crt implementation
svn path=/trunk/; revision=42408
The new XLATEOBJ is not allocated from paged pool anymore, but instead allocated on the stack and Initialized. Only when we habe more than a color table with more than 6 entries, we need to allocate an additional buffer. The new interface: EXLATEOBJ_vInitialize is the main init function. It takes a source and destination palette and back and fore colors for monochome surfaces. EXLATEOBJ_vInitXlateFromDCs
takes the source and dest DC and is for color translation between 2 surfaces represented by 2 DCs. EXLATEOBJ_vInitBrushXlate initializes an XLATEOBJ for a pattern brush. Finally EXLATEOBJ_vCleanup needs to be called when the XLATEOBJ is not needed anymore. Implement individual iXlate functions for certain cases and store a function pointer in the EXLATEOBJ structure for quick access.
Change the usage of the PALETTE.Mode member to be a flag instead of an enum, add usage of PAL_MONOCHOME, PAL_RGB16_555 and PAL_RGB16_565. Add gpalMono, which *should* be used as palette for 1bpp DDBs. Currently there's a hack in the XLATEOBJ init code, to hack around the fact that this is missing. Fix the Hatch brush patterns, as they were inverted. Implement PALETTE_ulGetNearestBitFieldsIndex and PALETTE_ulGetNearestIndex. Get rid of the XLATEOBJ for the mouse pointer instead realize the pointer before usage.
Get rid of logicalToSystem PALETTE member. NtGdiGetDIBitsInternal: Don't create a DIBBrush from the BITMAPINFO, when pvBits is NULL, as the function might be uninitualized. This fixes a crash of gdi_regtest. The whole function is quite ugly and needs to be rewritten (like probably the rest of the DIB code). This fixes the problem of artifacts in the selected desktop icons and some color problems.
svn path=/trunk/; revision=42391