Commit graph

15623 commits

Author SHA1 Message Date
James Tabor f04a4eea8c Added more Wine MDI functions. I've tested these for +4 weeks, with Winefile, mdi(mdi test program), and AbiWord. More work is needed.
svn path=/trunk/; revision=16724
2005-07-25 20:07:19 +00:00
Filip Navara 8bac7925c0 Miscellaneous header fixes (packing and TCHAR stuff).
svn path=/trunk/; revision=16723
2005-07-25 20:03:42 +00:00
James Tabor a2f80d0873 Patch by Robert Shearman rob@codeweavers.com, Use GdiGetCharDimensions Instead of DIALOG_GetCharSize.
svn path=/trunk/; revision=16722
2005-07-25 04:21:29 +00:00
Eric Kohl 971f04ec99 Fix grammar of the size_is attribute so that size_is(*Length) gets accepted.
svn path=/trunk/; revision=16721
2005-07-24 22:17:02 +00:00
Martin Fuchs 66fd6f0880 set eol-style for most xml files
svn path=/trunk/; revision=16720
2005-07-24 21:42:00 +00:00
Martin Fuchs 7944b41ae3 set eol-style for XML files in rosapps
svn path=/trunk/; revision=16719
2005-07-24 21:44:45 +00:00
Martin Fuchs f6815841ae set eol-style to 'native'
svn path=/trunk/; revision=16718
2005-07-24 21:31:13 +00:00
Martin Fuchs 851bb090ac set eol-style to 'native'
svn path=/trunk/; revision=16717
2005-07-24 21:29:01 +00:00
Steven Edwards 7c343c4a57 fix line ending I hope
svn path=/trunk/; revision=16716
2005-07-24 21:17:54 +00:00
Steven Edwards ea5ff9f06e added directory.xml for tests
svn path=/trunk/; revision=16715
2005-07-24 18:32:34 +00:00
Hartmut Birr 0dea0a5836 - Removed R_EXTRA_STACK because R_EXTRA_STACK and R_STACK must have the same size.
- Initialized an allocated block completely before release the lock.

svn path=/trunk/; revision=16714
2005-07-24 17:48:52 +00:00
Hervé Poussineau 8c34b25c71 Don't compare GUID strings with wcsicmp, but compare GUID* with IsEqualIID
Directly use HKEY_LOCAL_MACHINE instead of RegOpenKey(HKEY_LOCAL_MACHINE, NULL, ...).
Remove use of UNICODE_NULL
Replace #ifdef __WINE__ by #ifdef __WINESRC__
Fix SetupDiCallClassInstaller prototype (DWORD -> DI_FUNCTION)

Thanks Usurp for your testing on Wine!

This file works now unmodified in Wine. A patch would be soon sent to wine-patches ML.

svn path=/trunk/; revision=16713
2005-07-24 17:21:26 +00:00
Hartmut Birr 6aeadd25fd Fixed the memory allocation in EngCreateEvent.
svn path=/trunk/; revision=16712
2005-07-24 14:08:20 +00:00
Hervé Poussineau 07d3247011 Patch by Andrey Korotaev <unC0Rr@inbox.ru>: Fix scrolling with mouse
This multiplication was deleted when replacing old psaux driver by i8042prt
Fixes bug #652

svn path=/trunk/; revision=16711
2005-07-24 11:59:28 +00:00
Eric Kohl 2763e3353b Implement CM_Get_Device_ID_List_Size_ExA, CM_Get_Device_ID_ExA and CM_Get_Device_ID_List_ExA.
svn path=/trunk/; revision=16710
2005-07-24 11:48:08 +00:00
Thomas Bluemel 45e2c259ef use ZwQueryInformationFile instead of NtQueryInformationFile in IntGdiAddFontResource because we're passing kernel pointers in UserMode
svn path=/trunk/; revision=16709
2005-07-24 09:20:43 +00:00
Thomas Bluemel 1375ddbb83 use ZwQueryInformationFile and ZwSetInformationFile instead of the Nt version since we're passing kernel pointers to them which cause a probe failure in UserMode. This should fix the 1st stage setup
svn path=/trunk/; revision=16708
2005-07-24 09:11:30 +00:00
Steven Edwards 6bdd4f6993 dont try to buid font.c as its a empty file for now
svn path=/trunk/; revision=16707
2005-07-23 17:47:28 +00:00
Maarten Bosma 56ad48118f Added makefile which tell how to compile rosapps.
svn path=/trunk/; revision=16706
2005-07-23 17:45:41 +00:00
Alex Ionescu 7669e8fd6d - Disable APC Queuing & Flush APC queues during thread shutdown.
- Detect if Kernel APCs were pending during thread shutdown.
 - Call Lego Routine, if registered, during thread shutdown.

svn path=/trunk/; revision=16705
2005-07-23 17:40:48 +00:00
Eric Kohl b244520c5a - Implement CM_Get_Child_Ex, CM_Get_Parent_Ex, CM_Get_Sibling_Ex and CM_Set_DevNode_Problem[_Ex].
- Clean-up indentation.

svn path=/trunk/; revision=16704
2005-07-23 13:43:52 +00:00
Eric Kohl 8b127ceac1 - Fix offset calculation bug in the ProcFormatString.
- Fix offset calculation bug in the marshalling and unmarshalling code.
- Fix typos in the TypeFormatString.
This makes the [string, out, size_is()] parameters work properly.

svn path=/trunk/; revision=16703
2005-07-23 11:55:33 +00:00
Hartmut Birr 95a28ce6c5 Fixed an uninitialized variable error.
svn path=/trunk/; revision=16702
2005-07-23 11:51:47 +00:00
Hartmut Birr 906754b0ed Fixed an uninitialized variable error.
svn path=/trunk/; revision=16701
2005-07-23 11:43:34 +00:00
Hartmut Birr 82cd3d5f80 Split the page fault handler from the trap handler.
svn path=/trunk/; revision=16700
2005-07-23 11:25:12 +00:00
Thomas Bluemel 184ff4dd27 export LsaLookupSids which is required by aclui.dll
svn path=/trunk/; revision=16699
2005-07-23 10:08:15 +00:00
Thomas Bluemel 108b262074 regedit should be installed in %SystemRoot% directly
svn path=/trunk/; revision=16698
2005-07-23 09:58:23 +00:00
Hartmut Birr 683d42211c If a page fault occurs in user mode, we must deliver user mode apc's.
svn path=/trunk/; revision=16697
2005-07-23 08:14:21 +00:00
Magnus Olsen d5ae40868c last mins bug fix frirc nick jjkola, Jyrki Jaakkola <jjkola@email.com> for move. solve some new bugs. I forget menoter multuser is not done yet. But move folder from a vol to another works. Move need really clean up after his patch.
svn path=/trunk/; revision=16696
2005-07-22 23:58:26 +00:00
Magnus Olsen 6af5a6f78f irc nick jjkola, Jyrki Jaakkola <jjkola@email.com> frist patch solv to move file from a vol to another, and move mulite file same time. (not tested in ros) it works in windows with ros cmd. The patch are not very clean , but it fix alot of bugs also in move.
svn path=/trunk/; revision=16695
2005-07-22 23:15:54 +00:00
Thomas Bluemel 7aad44a4f5 - replaced IopCreateUnicodeString with RtlCreateUnicodeString
- allocate the DriverName from paged pool

svn path=/trunk/; revision=16694
2005-07-22 22:40:54 +00:00
Thomas Bluemel 5518114830 declare RtlDuplicateUnicodeString
svn path=/trunk/; revision=16693
2005-07-22 22:25:25 +00:00
Thomas Bluemel 648f859ea2 allocate LogFileName and HiveFileName from paged pool
svn path=/trunk/; revision=16692
2005-07-22 21:10:52 +00:00
Thomas Bluemel 9f2bf70ddb removed MmCopyFromCaller and MmCopyToCaller and depend on SEH instead
svn path=/trunk/; revision=16691
2005-07-22 20:52:31 +00:00
Thomas Bluemel 4bfbd2cfaf probe the pointers in _MmCopyFromCaller and _MmCopyToCaller. There's no need to check the processor mode since it's always just used to copy from/to user memory
svn path=/trunk/; revision=16690
2005-07-22 20:51:36 +00:00
Steven Edwards 8112d02490 some fixes for the host gcc4 on FC4
svn path=/trunk/; revision=16689
2005-07-22 19:45:32 +00:00
Eric Kohl 30f4461f0e Forgot to commit this file.
svn path=/trunk/; revision=16688
2005-07-22 14:53:24 +00:00
James Tabor 0f84d9e6fd Update and implement UnrealizeObject.
svn path=/trunk/; revision=16687
2005-07-22 12:25:02 +00:00
Eric Kohl c85a086e9e Make IoGetDeviceObjectFromDeviceInstance work without using the Registry. (experimental)
svn path=/trunk/; revision=16686
2005-07-21 20:30:55 +00:00
Eric Kohl 446d367792 Add parameter checks.
svn path=/trunk/; revision=16685
2005-07-21 20:10:47 +00:00
Hartmut Birr c5a9d200e8 Initialized all stack related values.
svn path=/trunk/; revision=16684
2005-07-21 18:32:28 +00:00
Maarten Bosma cf27db3375 Created the d3d8thk makefile and a internal header file.
svn path=/trunk/; revision=16683
2005-07-21 18:22:45 +00:00
Magnus Olsen daeb68b5cc fix bug in date if the input arg are not right dateformat, it should prom after new date
svn path=/trunk/; revision=16682
2005-07-21 17:24:15 +00:00
Magnus Olsen 58f5ef812e fix a small bug, write out time like HH:MM:SS,ms as ms cmd does.
svn path=/trunk/; revision=16681
2005-07-21 16:28:20 +00:00
Hartmut Birr 0d62ee8f06 Set MmUserProbeAddress and MmHighestUserAddress according to the system range start.
svn path=/trunk/; revision=16680
2005-07-21 15:46:07 +00:00
Magnus Olsen 4ecc4b94c9 Fix copy /B filename + , , bug (touch) and fix whitespace for copy /B file + file + file2
by Brandon Turner

svn path=/trunk/; revision=16679
2005-07-21 14:15:42 +00:00
Magnus Olsen c4341bddc3 Update with right reactos logo by mf
svn path=/trunk/; revision=16678
2005-07-21 13:55:36 +00:00
Thomas Bluemel 409e9165aa removed the ros-specific (and unused) functions ExRosDumpPagedPoolByTag, ExRosQueryPagedPoolTag and ExRosQueryPoolTag
svn path=/trunk/; revision=16677
2005-07-21 10:31:29 +00:00
Magnus Olsen 0da3627c3b add touch to copy by Brandon Turner
svn path=/trunk/; revision=16676
2005-07-21 10:03:01 +00:00
Alex Ionescu c6262e3b0f - Freetype Update to 2.1.10. Reduces memory usage, increases speed and fixes drawing bugs.
- Enable Bytecode. Weird_W's fonts finally look humanly readable.

Thanks to Waxdragon for testing.
 
<http://www.freetype.org>

LATEST CHANGES BETWEEN 2.1.10 and 2.1.9

  I. IMPORTANT BUG FIXES

    - The size comparison for BDF and PCF files could fail sometimes.

    - Some  CFF files  were still not  loaded  correctly.   Patch from
      Derek Noonburg.

    - The stroker still had some serious bugs.

    - Boris  Letocha  fixed a  bug in  the  TrueType interpreter:  The
      NPUSHW instruction wasn't skipped correctly in IF clauses.  Some
      fonts like `Helvetica 75 Bold' failed.

    - Another  serious  bug  in  handling  TrueType hints  caused many
      distortions.  It has been introduced in version 2.1.8, and it is
      highly recommended to upgrade.

    - FreeType didn't properly parse empty Type 1 glyphs.
    
    - An unbound dynamic buffer growth was fixed in the PFR loader.
    
    - Several bugs have been fixed in the cache sub-system.

    - FreeType behaved incorrectly when resizing two distinct but very
      close character pixel sizes through `FT_Set_Char_Size' (Savannah
      bug #12263).
      
    - The auto-hinter didn't work properly for fonts without a Unicode
      charmap -- it even refused to load the glyphs.


  II. IMPORTANT CHANGES

    - Many fixes have been applied to drastically reduce the amount of
      heap   memory   used   by   FreeType,   especially   when  using
      memory-mapped font files  (which is the default on Unix  systems
      which support them).

    - The auto-hinter  has been replaced with a new module, called the
      `auto-fitter'.  It consumes  less memory  than its  predecessor,
      and it is  prepared to support non-latin scripts  better in next
      releases.

    - George Williams  contributed code to read  kerning data from PFM
      files.

    - FreeType   now   uses    the   TT_NAME_ID_PREFERRED_FAMILY   and
      TT_NAME_ID_PREFERRED_SUBFAMILY   strings   (if   available)  for
      setting  family  and  style in SFNT  fonts  (patch from Kornfeld
      Eliyahu Peter).

    - A  new  API `FT_Sfnt_Table_Info'  (in FT_TRUETYPE_TABLES_H)  has
      been added to retrieve name and size information of SFNT tables.

    - A new API `FT_OpenType_Validate' (in FT_OPENTYPE_VALIDATE_H) has
      been added to validate OpenType tables  (BASE, GDEF, GPOS, GSUB,
      JSTF).   After validation  it is  no longer  necessary to  check
      for errors in those tables while accessing them.

      Note that  this module might  be moved to another library in the
      future  to avoid  a tight  dependency between  FreeType and  the
      OpenType specification.

    - A new API in FT_BITMAP_H  (`FT_Bitmap_New', `FT_Bitmap_Convert',
      `FT_Bitmap_Copy',  `FT_Bitmap_Embolden',  `FT_Bitmap_Done')  has
      been added.   Its  use is  to convert an  FT_Bitmap structure in
      1bpp, 2bpp,  4bpp, or 8bpp  format into  another 8bpp FT_Bitmap,
      probably using a different pitch, and to further manipulate it.

    - A new  API `FT_Outline_Embolden'  (in FT_OUTLINE_H) gives  finer
      control how  outlines are embolded.

    - `FT_GlyphSlot_Embolden' (in FT_SYNTHESIS_H)  now handles bitmaps
      also (code contributed  by Chia I Wu).  Note that this  function
      is still experimental and may be replaced with a better API.

    - The method  how BDF and PCF  bitmap fonts  are accessed has been
      refined.   Formerly,   FT_Set_Pixel_Sizes  and  FT_Set_Char_Size
      were  synonyms in  FreeType's  BDF and PCF interface.  This  has
      changed now.  FT_Set_Pixel_Sizes  should be  used to  select the
      actual  font dimensions  (the `strike',  which is the sum of the
      `FONT_ASCENT'    and    `FONT_DESCENT'    properties),     while
      FT_Set_Char_Size  selects  the  `nominal' size  (the `PIXELSIZE'
      property).  In both functions, the width parameter is ignored.


  III. MISCELLANEOUS

    - The BDF driver  no longer converts  all returned bitmaps  with a
      depth of 2bpp or 4bpp to a depth of 8bpp.  The documentation has
      not  mentioned  this  explicitly,  but  implementors  might have
      relied on this after looking into the source files.

    - A new option `--ftversion' has been  added to freetype-config to
      return the FreeType version.

    - The  memory  debugger  has  been  updated   to  dump  allocation
      statistics on  all allocation  sources in the library.   This is
      useful to  spot greedy  allocations when  loading and processing
      fonts.

    - We removed a huge array of constant pointers to constant strings
      in the `psnames' module.   The problem was that  compilations in
      PIC mode (i.e.,  when generating a  Unix shared object/dll)  put
      the array  into the non-shared  writable section of  the library
      since absolute pointers are not relocatable by nature.
      
      This reduces the memory consumption by approximately 16KByte per
      process linked  to FreeType.   We now also store  the array in a
      compressed form (as a trie) which saves about 20KByte of code as
      well.

    - Kirill  Smelkov provided  patches to make  src/raster/ftraster.c
      compile stand-alone again.

svn path=/trunk/; revision=16675
2005-07-21 04:38:26 +00:00