Commit graph

9445 commits

Author SHA1 Message Date
Filip Navara
c2f6de9e7b - Improved implementation of REGION_CreateFrameRgn that gives more correct results.
svn path=/trunk/; revision=9923
2004-06-29 06:08:54 +00:00
Filip Navara
e834678a62 - We don't need to have BuiltInRect member in the ROSRGNDATA structure. Since regions with only one rectangle have this rectange identical to the bounding one, we can use rdh.rcBounds instead and save 16 bytes.
svn path=/trunk/; revision=9921
2004-06-28 21:03:08 +00:00
Filip Navara
cffc8dfe09 - Import RtlImageDirectoryEntryToData from ntoskrnl and don't duplicate it.
svn path=/trunk/; revision=9920
2004-06-28 21:02:49 +00:00
Martin Fuchs
d5f50bdad5 - compatibility to expat version < 1.95.7
- handle missing XML encoding parameter

svn path=/trunk/; revision=9919
2004-06-28 20:38:42 +00:00
Filip Navara
06b882daa5 - Copied implementation of GetShortPathName[AW] from Wine.
svn path=/trunk/; revision=9918
2004-06-28 19:46:17 +00:00
Filip Navara
d9f6abff67 - Removed ReactOS specific hack in ImageList_DrawIndirect since the color conversions in Win32K are fixed now.
svn path=/trunk/; revision=9916
2004-06-28 17:03:46 +00:00
Filip Navara
f2e5d4cd25 - Fixed more color handling issues (mostly incorrect RGB <-> BGR swapping).
svn path=/trunk/; revision=9915
2004-06-28 17:03:35 +00:00
Filip Navara
a630cd560f - Fixed implementation of PALOBJ_cGetColors.
- Cleaned up IntEngCreateXlate and XLATEOBJ_iXlate a bit and fixed some cases (Indexed -> Bitfields/BGR, Bitfields/BGR -> Indexed).
- Removed simple color cache from ClosestColorMatch, because it wasn't thread safe and would return bogus values when more XLATEOBJs are used at once.

svn path=/trunk/; revision=9914
2004-06-28 15:53:17 +00:00
Eric Kohl
6c9226bcbf Don't use fixed size main window.
GetProcAddress() does not accept Unicode procedure names.
Visual improvements.

svn path=/trunk/; revision=9913
2004-06-28 12:05:16 +00:00
Martin Fuchs
3424e4ee4a add explorer-cfg-template.xml for explorer default configuration
svn path=/trunk/; revision=9912
2004-06-28 06:52:41 +00:00
Filip Navara
870260bec7 - Fixed bug in binary search algorithm.
svn path=/trunk/; revision=9909
2004-06-27 14:15:33 +00:00
Filip Navara
f764d79dbb - Fixed compilation.
svn path=/trunk/; revision=9908
2004-06-27 13:58:05 +00:00
Thomas Bluemel
988f8a5efc revert my previous patch
svn path=/trunk/; revision=9906
2004-06-27 12:21:32 +00:00
Eric Kohl
fbe9f7f64f Implement and use LdrProcessRelocationBlock().
svn path=/trunk/; revision=9905
2004-06-27 12:21:14 +00:00
Filip Navara
3bd4ef3363 - Better handling of error cases when no fonts are present in the system.
svn path=/trunk/; revision=9904
2004-06-27 11:24:43 +00:00
Filip Navara
13d400fbd2 - Better handling of error cases in DrawTextW.
svn path=/trunk/; revision=9903
2004-06-27 11:24:06 +00:00
Filip Navara
625c7953e5 - Better handling of error cases in font handling.
svn path=/trunk/; revision=9902
2004-06-27 11:23:57 +00:00
Filip Navara
6f6c0f76ef - Fixed compilation.
svn path=/trunk/; revision=9901
2004-06-27 11:23:57 +00:00
Thomas Bluemel
308a04ade4 don't crash if requested process couldn't be found
svn path=/trunk/; revision=9900
2004-06-27 10:16:59 +00:00
Filip Navara
2bb2c4aae8 - Replaced the old default mode algortihm with video mode list sorting.
- Added check for video mode memory model since we don't support anything but Direct Color and Packed Pixel modes.
- More work in order to support VBE 1.2.
- Fixed retun values in VBEInitialize.

svn path=/trunk/; revision=9899
2004-06-27 07:56:44 +00:00
Alex Ionescu
629da60934 Removed Named Arguments for non-public APIs and added explanations/sources for non-GNU IFS APIs.
svn path=/trunk/; revision=9898
2004-06-27 05:38:54 +00:00
Royce Mitchell III
8d2f559189 fix end-of-lines
svn path=/trunk/; revision=9897
2004-06-27 04:08:57 +00:00
Filip Navara
0ce9ce5756 - Use the Video Port driver Int 10 services instead of using undocumented Ke386CallBios function.
- Power management functions implementation. Based on patch by Magnus Olsen <magnus@itkonsult-olsen.com>.
- First steps towards VBE 1.2 support. Based on patch by Magnus Olsen <magnus@itkonsult-olsen.com>.

svn path=/trunk/; revision=9894
2004-06-26 22:30:34 +00:00
Filip Navara
20ac14caf5 - Added VideoPortQueryPerformanceCounter and VideoPortQueryServices to the import library definition file.
- Fixed minor memory overrun in VideoPortInitialize for older video drivers (< Win NT 5.1).

svn path=/trunk/; revision=9893
2004-06-26 22:30:34 +00:00
Gunnar Dalsnes
c12eca029d make misc/lcformat
svn path=/trunk/; revision=9892
2004-06-26 20:11:18 +00:00
Gunnar Dalsnes
add8be67c2 remove duplicate stuff due to adding lcformat from wine
impl. misc stuff from wine

svn path=/trunk/; revision=9891
2004-06-26 20:10:50 +00:00
Gunnar Dalsnes
def9bd7817 save modlue handle
svn path=/trunk/; revision=9890
2004-06-26 20:07:40 +00:00
Gunnar Dalsnes
2859278f6e Whole file ripped from Wine's dlls\\kernel\\lcformat.c, rev 1.7 and is unchanged except that includes are different. I thought about adding @implemented to each exported function, but this might make merging harder
svn path=/trunk/; revision=9889
2004-06-26 20:02:31 +00:00
Filip Navara
4ba7ff413b - Set the palette for image list DIBs that has 8 or less bits per pixel.
svn path=/trunk/; revision=9888
2004-06-26 18:22:14 +00:00
Filip Navara
9cea7cc06c - Readded the code for unportecting second page while relocating. Some applications like OpenOffice actually depend on it.
svn path=/trunk/; revision=9885
2004-06-26 15:11:14 +00:00
Filip Navara
399da20296 - Rewritten relocation code to not make invalid assumptions (".reloc" section name) and to not unprotect second page (not needed really).
svn path=/trunk/; revision=9884
2004-06-26 14:37:05 +00:00
Filip Navara
e4c1673f80 - Partial implementation of CompareStringW. Fixes bug #378.
svn path=/trunk/; revision=9883
2004-06-26 12:56:11 +00:00
Eric Kohl
9a0d240ea4 Stop at the real end of the relocation table.
svn path=/trunk/; revision=9881
2004-06-26 11:23:32 +00:00
Martin Fuchs
1336676b5e simplified chinese explorer resources by Larry Li <larry@mimios.com> (not for windres)
svn path=/trunk/; revision=9880
2004-06-26 10:43:18 +00:00
Thomas Bluemel
2678ec0387 fixed little gdi handle leak
svn path=/trunk/; revision=9879
2004-06-26 08:09:55 +00:00
Thomas Bluemel
97a29e0c78 fixed binary editing of strings in the ansi version, query and set the value using the unicode version in this case.
svn path=/trunk/; revision=9876
2004-06-25 23:47:04 +00:00
Steven Edwards
75fa578ba6 sndblst fixes based on patch by Sylvain Petreolle.
svn path=/trunk/; revision=9875
2004-06-25 23:30:22 +00:00
Eric Kohl
d5255272ce Fix a typo.
svn path=/trunk/; revision=9874
2004-06-25 19:05:20 +00:00
Eric Kohl
acf32a2988 Fix crash in loader relocation code.
svn path=/trunk/; revision=9872
2004-06-25 18:50:48 +00:00
Thomas Bluemel
2dea234132 re-added files that hyperion accidently deleted from HEAD
svn path=/trunk/; revision=9871
2004-06-25 16:39:41 +00:00
Eric Kohl
4531d96141 Expand user-specific environment variables.
svn path=/trunk/; revision=9870
2004-06-25 11:42:00 +00:00
KJK::Hyperion
07420e3dd3 Moved common SEH routines to Rtl, removed very wrong RtlUnwind implementation from ntoskrnl
svn path=/trunk/; revision=9868
2004-06-25 03:38:51 +00:00
KJK::Hyperion
7fa5587882 Committed in the hope CVS will shut the hell up and let me branch. Still part of the SEH work
svn path=/trunk/; revision=9865
2004-06-25 01:41:20 +00:00
Alex Ionescu
2708010986 Added Ke Stub Prototypes
svn path=/trunk/; revision=9864
2004-06-24 21:03:56 +00:00
Gé van Geldorp
f477796b79 Fix some forgotten EngCreateBitmap() calls
svn path=/trunk/; revision=9863
2004-06-24 19:43:49 +00:00
KJK::Hyperion
730275c800 Moved common SEH code to Rtl
svn path=/trunk/; revision=9862
2004-06-24 19:30:21 +00:00
Eric Kohl
4e65adddb3 Set user specific TEMP and TMP environment variables.
svn path=/trunk/; revision=9861
2004-06-24 14:49:26 +00:00
Eric Kohl
41871db16c Create user specific temp directory.
svn path=/trunk/; revision=9860
2004-06-24 14:48:33 +00:00
Thomas Bluemel
9f03850ba7 fixed redefinition of some constants for SystemParametersInfo()
svn path=/trunk/; revision=9859
2004-06-24 11:02:56 +00:00
Thomas Bluemel
3977da5dc6 1.fixed return type for NtSystemParametersInfo()
2. added missing definitions (NT5.1+) for SystemParametersInfo() to w32api

svn path=/trunk/; revision=9858
2004-06-24 09:44:06 +00:00