reactos.git
18 years agofix waring with insiate iter
Magnus Olsen [Thu, 28 Apr 2005 13:01:57 +0000 (13:01 +0000)]
fix waring with insiate iter
libutil/mipmap.c: In function `gluScaleImage':
libutil/mipmap.c:5105: warning: 'iter' might be used uninitialized in this function

remve outindex it is not being use at all
libutil/mipmap.c: In function `scaleInternalPackedPixel':
libutil/mipmap.c:5990: warning: 'outindex' might be used uninitialized in this function

svn path=/trunk/; revision=14840

18 years agowe have two copies of a better calc floating around
Steven Edwards [Thu, 28 Apr 2005 03:37:01 +0000 (03:37 +0000)]
we have two copies of a better calc floating around

svn path=/trunk/; revision=14839

18 years agoMy mistake
Alex Ionescu [Thu, 28 Apr 2005 00:57:35 +0000 (00:57 +0000)]
My mistake

svn path=/trunk/; revision=14838

18 years agoIO Manager Cleanup continues:
Alex Ionescu [Thu, 28 Apr 2005 00:54:59 +0000 (00:54 +0000)]
IO Manager Cleanup continues:
    - Removed many extra files that expanded the I/O Manager too much. We usually stick with the standard of
      one object/class per file, like io/device.c or io/controller.c, so it was very confusing to have some
      objects split up in 5 or 6 different files, some containing only one api. Additionally, even a third
      system was used, were objects were bunched up together by class. This mess was so bad that NtCreateFile,
      IopCreateFile, IoCreateFile, IopDeleteFile, NtDeleteFile and NtWriteFile were in 5 different files (as an
      example).
    - Cleaned up some IRP code and fixed a couple of bugs, mainly:
        - Write I/O Type in IRP
        - Write proper IRP Flags where they shoudl be used (Will help for completing requests when i clean up that code)
        - Do *NOT* zero out buffers or data that shouldn't be zeroed. Scsiport actually dependen on this incorrect
          behaviour. Code should never depend on a buffer being zeroed!
        - Remove a lot of duplicated code and helper/alternate functions that weren't really useful.
        - Free MDL and IRP on some failures where we didn't
     - Alphabetized some of the large io files for easier lookup of functions. This and the deletions have resulted
       in a completely bloated diff file. I will provide a cleaned up diff on request by manually downloading the
       old revision and copy/pasting the new code directly above it. The functions which we touched are:
           - IoAllocateIrp
           - IoBuild[A]SyncronousFsdRequest
           - IoBuildDeviceIoControlRequest
           - IoInitializeIrp
           - IoPageRead, IoSynchronousPageWrite

svn path=/trunk/; revision=14837

18 years agoFixed the check for a created first thread.
Hartmut Birr [Wed, 27 Apr 2005 21:57:24 +0000 (21:57 +0000)]
Fixed the check for a created first thread.

svn path=/trunk/; revision=14836

18 years agoClose only the Nls directory handle if the directory was created.
Hartmut Birr [Wed, 27 Apr 2005 21:55:02 +0000 (21:55 +0000)]
Close only the Nls directory handle if the directory was created.

svn path=/trunk/; revision=14835

18 years agoFixed _SEH2_END.
Hartmut Birr [Wed, 27 Apr 2005 21:51:55 +0000 (21:51 +0000)]
Fixed _SEH2_END.

svn path=/trunk/; revision=14834

18 years agoGuarded some calls to handle functions with KeEnterCriticalRegion/KeLeaveCriticalRegi...
Hartmut Birr [Wed, 27 Apr 2005 21:47:34 +0000 (21:47 +0000)]
Guarded some calls to handle functions with KeEnterCriticalRegion/KeLeaveCriticalRegion in PsDeleteCidHandle.

svn path=/trunk/; revision=14833

18 years agoMade the physical memory section permanent.
Hartmut Birr [Wed, 27 Apr 2005 21:44:27 +0000 (21:44 +0000)]
Made the physical memory section permanent.

svn path=/trunk/; revision=14832

18 years agoReinitialized the palette entries after setting the video mode in DrvAssertMode.
Hartmut Birr [Wed, 27 Apr 2005 21:10:44 +0000 (21:10 +0000)]
Reinitialized the palette entries after setting the video mode in DrvAssertMode.

svn path=/trunk/; revision=14831

18 years agoAdded language 0419 (russian) into NLS\Language
Aleksey Bragin [Wed, 27 Apr 2005 19:46:41 +0000 (19:46 +0000)]
Added language 0419 (russian) into NLS\Language

svn path=/trunk/; revision=14830

18 years agoturned off DEBUG output (thanks to gge for pointing it out).
Art Yerkes [Wed, 27 Apr 2005 19:04:20 +0000 (19:04 +0000)]
turned off DEBUG output (thanks to gge for pointing it out).

svn path=/trunk/; revision=14829

18 years agoremove ddalphablt worng functions
Magnus Olsen [Tue, 26 Apr 2005 22:28:24 +0000 (22:28 +0000)]
remove ddalphablt worng functions
it should have been NtGdiDdAddAlphaBlt

svn path=/trunk/; revision=14828

18 years agoimplement NtGdiDdBlt and NtGdiDdAlphaBlt
Magnus Olsen [Tue, 26 Apr 2005 22:02:32 +0000 (22:02 +0000)]
implement NtGdiDdBlt and NtGdiDdAlphaBlt
NtGdiDdAlphaBlt are not supportet by microsoft
so we report unsupport directx function

svn path=/trunk/; revision=14827

18 years agoA few locales entries added, though we have currently only 4 locales imported from...
Aleksey Bragin [Tue, 26 Apr 2005 21:26:06 +0000 (21:26 +0000)]
A few locales entries added, though we have currently only 4 locales imported from wine (france, eng, enu, german)

svn path=/trunk/; revision=14826

18 years agoMore DPRINTs added for better tracing of locale-related calls, but NDEBUG is defined.
Aleksey Bragin [Tue, 26 Apr 2005 21:23:43 +0000 (21:23 +0000)]
More DPRINTs added for better tracing of locale-related calls, but NDEBUG is defined.

svn path=/trunk/; revision=14825

18 years agoMinor changes into a way locales are get and listed
Aleksey Bragin [Tue, 26 Apr 2005 21:21:32 +0000 (21:21 +0000)]
Minor changes into a way locales are get and listed

svn path=/trunk/; revision=14824

18 years agoSync to Wine-20050419:
Gé van Geldorp [Tue, 26 Apr 2005 20:39:02 +0000 (20:39 +0000)]
Sync to Wine-20050419:
Mike McCormack <mike@codeweavers.com>
- Load and display bitmaps in the dialogs.
- Make sure there's only one place we allocate dialog controls.
- Rename dupstrW to strdupW, and remove duplicate definition.
- Move definition of string manipulation functions to msipriv.h.
- Split out database functions, remove dependence on wine/unicode.h.
- Fix loading of the summary information.
- test cases for summary information
- fix memory leaks
- Implement summary information loading and saving.
- Declare MsiExportDatabase* in the spec file, and fix a typo.
- Replace instances of HeapAlloc/MultiByteToWideChar with the internally
  defined strdupAtoW.
- Use strdup, implement MsiDatabaseImportA.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Peter Berg Larsen <pebl@math.ku.dk>
- Janitorial: Get rid of strncpy/strncpyW.
- Remove 2 identicals calls to strlenW.
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Spanish translations updated.
Aric Stewart <aric@codeweavers.com>
- Implement Publish Components in order for MsiGetQualifiedComponent
  apis to work. Also implement MsiGetQualifiedComponent, or at least some
  of the functionality as it is supposed to install stuff if it is
  absent, which it does not do yet.
- Make sure the GUID of the typelib we are registering matches the guid
  requested from MSI. If not search the given typelib file to find the
  typelib requested to register.
- If running in UI mode, then display the UI mode dialogs at the end of
  the installs.
Steven Edwards <steven_ed4153@yahoo.com>
- Avoid using ver.h in favor of winver.h.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Hans Leidekker <hans@it.vu.nl>
- Dutch resource translation.
Marcus Meissner <meissner@suse.de>
- Fixed MsiDatabaseImportA, MsiDatabaseImportW, and
  MsiCreateAndVerifyInstallerDirectory stub parameter counts.
Juan Lang <juan_lang@yahoo.com>
- Log missing environment vars for easier debugging.

svn path=/trunk/; revision=14823

18 years agoSync to Wine-20050419:
Gé van Geldorp [Tue, 26 Apr 2005 20:05:25 +0000 (20:05 +0000)]
Sync to Wine-20050419:
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Spanish translations updated.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.

svn path=/trunk/; revision=14822

18 years agoSync to Wine-20050419:
Gé van Geldorp [Tue, 26 Apr 2005 19:18:13 +0000 (19:18 +0000)]
Sync to Wine-20050419:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
- SBSP_ABSOLUTE is 0 so we cannot do (wFlags & SBSP_ABSOLUTE).
- Add COMDLG32_DumpSBSPFlags().
Eric Pouech <pouech-eric@wanadoo.fr>
- Added proper definition for PRINTDLGEX[AW] structures.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Juan Lang <juan_lang@yahoo.com>
- Change a fixme to a warn, and use W version of call.
Peter Berg Larsen <pebl@math.ku.dk>
- Replace strncpy with memcpy or lstrcpyn.
- Janitorial: Get rid of strncpy/strncpyW.

svn path=/trunk/; revision=14821

18 years ago- Preinitialise the com port infos with default values.
Hartmut Birr [Tue, 26 Apr 2005 19:06:19 +0000 (19:06 +0000)]
- Preinitialise the com port infos with default values.
- Set the baud rate also in SerialPortInfo.

svn path=/trunk/; revision=14820

18 years agoRe-apply 14698 - 14762 and fix resulting problem
Gé van Geldorp [Tue, 26 Apr 2005 18:18:36 +0000 (18:18 +0000)]
Re-apply 14698 - 14762 and fix resulting problem

svn path=/trunk/; revision=14819

18 years agoImplement NtGdiDdCanCreateSurface
Magnus Olsen [Tue, 26 Apr 2005 17:19:06 +0000 (17:19 +0000)]
Implement NtGdiDdCanCreateSurface
not tested

svn path=/trunk/; revision=14818

18 years ago- Used SysProcessorTimeInfo to calculate the idle time.
Hartmut Birr [Tue, 26 Apr 2005 16:28:38 +0000 (16:28 +0000)]
- Used SysProcessorTimeInfo to calculate the idle time.
- Fixed the allocation of SysProcessorTimeInfo.
- Used the process creation time as second unique id.

svn path=/trunk/; revision=14817

18 years agoImplement IoRaiseHardError, combine error stuff, fix hideously wrong implementatin...
Alex Ionescu [Tue, 26 Apr 2005 14:51:18 +0000 (14:51 +0000)]
Implement IoRaiseHardError, combine error stuff, fix hideously wrong implementatin of Controller Objects.

svn path=/trunk/; revision=14816

18 years agoFixedd CTM for sedwards. happy birthday to me
Alex Ionescu [Tue, 26 Apr 2005 13:17:44 +0000 (13:17 +0000)]
Fixedd CTM for sedwards. happy birthday to me

svn path=/trunk/; revision=14815

18 years agoEnable flags only for 3.4.3, should fix the build for people with versions below...
Alex Ionescu [Tue, 26 Apr 2005 12:35:32 +0000 (12:35 +0000)]
Enable flags only for 3.4.3, should fix the build for people with versions below. Disabled on 4.0 since they are automatic

svn path=/trunk/; revision=14814

18 years agodon't request write access in NtReadVirtualMemory, this should fix the listdlls.exe...
Thomas Bluemel [Tue, 26 Apr 2005 09:40:30 +0000 (09:40 +0000)]
don't request write access in NtReadVirtualMemory, this should fix the listdlls.exe issues

svn path=/trunk/; revision=14813

18 years agoFixes by WaxDragon:
Art Yerkes [Tue, 26 Apr 2005 07:11:02 +0000 (07:11 +0000)]
Fixes by WaxDragon:
- Implement get* integer reading.
- Properly implement ipv4addrs (validates a set of IPv4 addresses)
- Limit returned DNS servers to 1 until we fix iphlpapi.

svn path=/trunk/; revision=14812

18 years agoDo not strip if KDBG is used
Alex Ionescu [Tue, 26 Apr 2005 05:13:49 +0000 (05:13 +0000)]
Do not strip if KDBG is used

svn path=/trunk/; revision=14811

18 years agoChange optimization settings for retail builds. Change to -Os for smaller executables...
Alex Ionescu [Tue, 26 Apr 2005 05:10:58 +0000 (05:10 +0000)]
Change optimization settings for retail builds. Change to -Os for smaller executables which are not slower, and enable more advanced optimizations. funitatatime is already included by default in GCC 4.0. Strip debug info from retail builds, since we don't parse the symbols anyways. I hope these options don't break anything, they don't for me; Debugging is unaffected.

svn path=/trunk/; revision=14810

18 years agoFix compilation with optimizations
Alex Ionescu [Tue, 26 Apr 2005 04:58:32 +0000 (04:58 +0000)]
Fix compilation with optimizations

svn path=/trunk/; revision=14809

18 years agoFixed the initialising of bochs debug.
Hartmut Birr [Mon, 25 Apr 2005 20:35:37 +0000 (20:35 +0000)]
Fixed the initialising of bochs debug.

svn path=/trunk/; revision=14808

18 years agoRemove excess header
Alex Ionescu [Mon, 25 Apr 2005 19:43:50 +0000 (19:43 +0000)]
Remove excess header

svn path=/trunk/; revision=14807

18 years agoRemove dbg.h and move it to kd.h, it was getting confusing to have so many debug...
Alex Ionescu [Mon, 25 Apr 2005 19:42:48 +0000 (19:42 +0000)]
Remove dbg.h and move it to kd.h, it was getting confusing to have so many debug files. Also fixes hal to compile

svn path=/trunk/; revision=14806

18 years agoMerge in wrappers with DBG setting as requested
Alex Ionescu [Mon, 25 Apr 2005 18:31:20 +0000 (18:31 +0000)]
Merge in wrappers with DBG setting as requested

svn path=/trunk/; revision=14805

18 years agoFix compilation problem..
Alex Ionescu [Mon, 25 Apr 2005 18:29:16 +0000 (18:29 +0000)]
Fix compilation problem..

svn path=/trunk/; revision=14804

18 years agoReplaced a dirty hack by another.
Hartmut Birr [Mon, 25 Apr 2005 17:57:57 +0000 (17:57 +0000)]
Replaced a dirty hack by another.

svn path=/trunk/; revision=14803

18 years agoSimplify and correct KiDebugService
Alex Ionescu [Mon, 25 Apr 2005 16:17:35 +0000 (16:17 +0000)]
Simplify and correct KiDebugService

svn path=/trunk/; revision=14802

18 years agoAdd GDB = 1 to makefile to compile-in the GDB Wrapper. These options will be better...
Alex Ionescu [Mon, 25 Apr 2005 15:20:15 +0000 (15:20 +0000)]
Add GDB = 1 to makefile to compile-in the GDB Wrapper. These options will be better manged with rbuild

svn path=/trunk/; revision=14801

18 years agoAdded KiDebugService. Will optimize soon to use common Exit code
Alex Ionescu [Mon, 25 Apr 2005 15:02:11 +0000 (15:02 +0000)]
Added KiDebugService. Will optimize soon to use common Exit code

svn path=/trunk/; revision=14800

18 years agoKD System Rewrite:
Alex Ionescu [Mon, 25 Apr 2005 14:44:48 +0000 (14:44 +0000)]
KD System Rewrite:

    - Totally dynamic based on the principle of Native Providers built-in the Kernel (like Screen,
      FileLog and Serial) and a pluggable Wrapper which is optionally compiled (Bochs, GDB)
    - Nothing changed in KDBG, except for that its settings (KDSERIAL/KDNOECHO) are now stored in
      KdbDebugState instead.
    - Wrappers are currently built uncondtionally. With rbuild, I'll make them easily removable.
    - Debug Log code simplified greatly, sped up and now supports printing even the first boot messages,
      which wasn't supported before.
    - Removed most of KDBG compile-time settings, ones which are needed are in include/dbg as macros now.
    - Left in some kdbg init code and break code, but it could be made to be used as a 'wrapper' for those
      functions. I will do it later.
    - Made a hack for KdpEnterDebuggerException..it seems to be called differently and at different times
      for GDB vs KDBG and I couldn't unite them.
    - KdpServiceDispatcher now does both the documented and ros-internal debug functions and will eventually
      be called through INT2D from keyboard.sys instead of as an API.

All in all, this patch makes KD  separated from KDBG and creates a pluggable architecture for creating future wrappers that don't require changing tons of code in the future. It improves the debug
log by printing even the earliest debug messages to it and it removes many of the manual ifdef(KDBG) but making them automatic though a single macro file. It makes extra debugging functionality optional and it
allows removal of a private API from our exports.

svn path=/trunk/; revision=14799

18 years agoSync to Wine-20050419:
Gé van Geldorp [Mon, 25 Apr 2005 10:58:34 +0000 (10:58 +0000)]
Sync to Wine-20050419:
Juan Lang <juan_lang@yahoo.com>
- Always initialize header file name, to prevent "#include (null)"
  statements in generated files.
- Put space between include directive and include file.
- Add proxy/stub options to widl man page.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Add support for single in idl files.
- Keep types sorted in alphabetical order.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.

svn path=/trunk/; revision=14798

18 years agoSync to Wine-20050419:
Gé van Geldorp [Mon, 25 Apr 2005 09:12:35 +0000 (09:12 +0000)]
Sync to Wine-20050419:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Michael Lin <mlin@corvu.com.au>
- Change menu item options to use optional comma.

svn path=/trunk/; revision=14797

18 years agoSync to Wine-20040419:
Gé van Geldorp [Mon, 25 Apr 2005 08:26:29 +0000 (08:26 +0000)]
Sync to Wine-20040419:
Jon Griffiths <jon_p_griffiths@yahoo.com>
- -Wunsigned fixes.
Alexandre Julliard <julliard@winehq.org>
- Use the correct file name in the "generated automatically" comments.
- Don't crash on xrealloc(0) (found by Jon Griffiths).
Marcus Meissner <meissner@suse.de>
- Use correct movw instead of movl when handling segment registers.

svn path=/trunk/; revision=14796

18 years agoSVN maintenance
Gé van Geldorp [Mon, 25 Apr 2005 07:13:04 +0000 (07:13 +0000)]
SVN maintenance

svn path=/trunk/; revision=14794

19 years agoadd missing typecast
Thomas Bluemel [Sun, 24 Apr 2005 20:12:14 +0000 (20:12 +0000)]
add missing typecast

svn path=/trunk/; revision=14793

19 years agoImplement the time format page for the regional settings control panel.
Eric Kohl [Sun, 24 Apr 2005 14:49:56 +0000 (14:49 +0000)]
Implement the time format page for the regional settings control panel.

svn path=/trunk/; revision=14792

19 years agoPackageManager: HTML Log
Maarten Bosma [Sun, 24 Apr 2005 10:37:17 +0000 (10:37 +0000)]
PackageManager: HTML Log

svn path=/trunk/; revision=14791

19 years agoDon't use hack for trap frames anymore, read TempEsp and TempSegSs for kernel-mode...
Alex Ionescu [Sat, 23 Apr 2005 20:02:39 +0000 (20:02 +0000)]
Don't use hack for trap frames anymore, read TempEsp and TempSegSs for kernel-mode traps during debugging.

svn path=/trunk/; revision=14790

19 years agoUse fake frame in KDBG mode, not DBG
Alex Ionescu [Sat, 23 Apr 2005 19:23:00 +0000 (19:23 +0000)]
Use fake frame in KDBG mode, not DBG

svn path=/trunk/; revision=14789

19 years agoforgot to delete this one too
Alex Ionescu [Sat, 23 Apr 2005 18:17:11 +0000 (18:17 +0000)]
forgot to delete this one too

svn path=/trunk/; revision=14787

19 years agoShare compiler-generated asm exports between ntdll and ntoskrnl (stuff like aullshr...
Alex Ionescu [Sat, 23 Apr 2005 18:15:39 +0000 (18:15 +0000)]
Share compiler-generated asm exports between ntdll and ntoskrnl (stuff like aullshr, alldiv, etc

svn path=/trunk/; revision=14785

19 years agoRemove MDA support
Alex Ionescu [Sat, 23 Apr 2005 18:00:59 +0000 (18:00 +0000)]
Remove MDA support

svn path=/trunk/; revision=14784

19 years agoDelete cruft
Alex Ionescu [Sat, 23 Apr 2005 17:56:10 +0000 (17:56 +0000)]
Delete cruft

svn path=/trunk/; revision=14783

19 years agoAdd more detailed comment about ThreadListEntry so people don't get confused liek...
Alex Ionescu [Sat, 23 Apr 2005 16:23:57 +0000 (16:23 +0000)]
Add more detailed comment about ThreadListEntry so people don't get confused liek I did

svn path=/trunk/; revision=14779

19 years agoMove removing process from active list to PspDeleteProcess instead of PspExitProcess...
Alex Ionescu [Sat, 23 Apr 2005 16:17:27 +0000 (16:17 +0000)]
Move removing process from active list to PspDeleteProcess instead of PspExitProcess. This way we don't have to do it manually after ObInsertObject failure in PspCreateProces. Also, set the Process Query Time at the end of Process Creation, since the process doesn't really exist before then. Thanks to Hartmut for finding the bugs.

svn path=/trunk/; revision=14778

19 years agoMove removing process from active list to PspDeleteProcess instead of PspExitProcess...
Alex Ionescu [Sat, 23 Apr 2005 16:16:59 +0000 (16:16 +0000)]
Move removing process from active list to PspDeleteProcess instead of PspExitProcess. This way we don't have to do it manually after ObInsertObject failure in PspCreateProces. Also, set the Process Query Time at the end of Process Creation, since the process doesn't really exist before then. Thanks to Hartmut for finding the bus.

svn path=/trunk/; revision=14777

19 years agoFixed restoring of registers.
Hartmut Birr [Sat, 23 Apr 2005 16:09:06 +0000 (16:09 +0000)]
Fixed restoring of registers.

svn path=/trunk/; revision=14776

19 years agoSwedish translation
Magnus Olsen [Sat, 23 Apr 2005 14:16:48 +0000 (14:16 +0000)]
Swedish translation
Andreas Bjerkeholt (harteex@gmail.com)

svn path=/trunk/; revision=14775

19 years agoSwedish translation by Kris Engeman
Magnus Olsen [Sat, 23 Apr 2005 14:14:16 +0000 (14:14 +0000)]
Swedish translation by Kris Engeman
irc : nick "Wacko"

svn path=/trunk/; revision=14774

19 years agoforget use lates winfile.rc
Magnus Olsen [Sat, 23 Apr 2005 14:09:44 +0000 (14:09 +0000)]
forget use lates winfile.rc

svn path=/trunk/; revision=14773

19 years agoFix a bug in sv.rc so it can compile
Magnus Olsen [Sat, 23 Apr 2005 14:01:43 +0000 (14:01 +0000)]
Fix a bug in sv.rc so it can compile
and it is working now in ros

svn path=/trunk/; revision=14772

19 years agoreverit swedish translation
Magnus Olsen [Sat, 23 Apr 2005 13:42:15 +0000 (13:42 +0000)]
reverit swedish translation

svn path=/trunk/; revision=14771

19 years ago David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt
Magnus Olsen [Sat, 23 Apr 2005 13:39:53 +0000 (13:39 +0000)]
 David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt

svn path=/trunk/; revision=14770

19 years ago2005-04-07 For swedish translations in explorer
Magnus Olsen [Sat, 23 Apr 2005 13:36:06 +0000 (13:36 +0000)]
2005-04-07 For swedish translations in explorer
* David Nordenberg: Fixed & on two idetical letters and switched to codepage 1252

svn path=/trunk/; revision=14769

19 years agoFixed the smp build.
Hartmut Birr [Sat, 23 Apr 2005 12:44:42 +0000 (12:44 +0000)]
Fixed the smp build.

svn path=/trunk/; revision=14768

19 years ago- Initialized the process create time.
Hartmut Birr [Sat, 23 Apr 2005 10:18:43 +0000 (10:18 +0000)]
- Initialized the process create time.
- Fixed some minor bugs.

svn path=/trunk/; revision=14767

19 years agoRemoved a wrong additional reference in IoCreateDevice.
Hartmut Birr [Sat, 23 Apr 2005 10:16:18 +0000 (10:16 +0000)]
Removed a wrong additional reference in IoCreateDevice.

svn path=/trunk/; revision=14766

19 years agoRevert freeldr back to revision 14697
Gé van Geldorp [Sat, 23 Apr 2005 10:15:49 +0000 (10:15 +0000)]
Revert freeldr back to revision 14697

svn path=/trunk/; revision=14765

19 years agoDo not remove an entry from the parent for twice.
Hartmut Birr [Sat, 23 Apr 2005 10:14:29 +0000 (10:14 +0000)]
Do not remove an entry from the parent for twice.

svn path=/trunk/; revision=14764

19 years agoRemove the thread from the list when terminating.
Hartmut Birr [Sat, 23 Apr 2005 10:11:37 +0000 (10:11 +0000)]
Remove the thread from the list when terminating.

svn path=/trunk/; revision=14763

19 years agoAnd these should've been added...
Alex Ionescu [Sat, 23 Apr 2005 06:45:56 +0000 (06:45 +0000)]
And these should've been added...

svn path=/trunk/; revision=14762

19 years agoBug in previous commit...these should've been deleted
Alex Ionescu [Sat, 23 Apr 2005 06:43:39 +0000 (06:43 +0000)]
Bug in previous commit...these should've been deleted

svn path=/trunk/; revision=14761

19 years agoSmall Debugging Services re-arrangement. /dbgk created for User-Mode debugging and...
Alex Ionescu [Sat, 23 Apr 2005 06:41:25 +0000 (06:41 +0000)]
Small Debugging Services re-arrangement. /dbgk created for User-Mode debugging and Native Debug Objects (implemented an experimental NtCreateDebugObject. Untested and doesn't work since the DbgkObjectType isn't created yet. Added dbgk.h with the basic structures for now. Removed /dbg and split up code in ex/debug.c for executive and rtl/debug.c for RunTime Library Debug calls. Kdbg now dedicated in /kdbg.

svn path=/trunk/; revision=14760

19 years agoFixes a problem reported by WaxDragon when acquiring the nameserver address
Art Yerkes [Sat, 23 Apr 2005 05:43:35 +0000 (05:43 +0000)]
Fixes a problem reported by WaxDragon when acquiring the nameserver address
from DHCP.  This needs to be rechecked but seems harmless.

svn path=/trunk/; revision=14759

19 years agoImplement KiServiceExit2 which restores debug registers and exits with IRET, used...
Alex Ionescu [Sat, 23 Apr 2005 05:00:10 +0000 (05:00 +0000)]
Implement KiServiceExit2 which restores debug registers and exits with IRET, used during user-mode return without a syscall

svn path=/trunk/; revision=14758

19 years agoTerminate System Thread after execution...forgot to add this for some reason.Thanks...
Alex Ionescu [Sat, 23 Apr 2005 04:19:35 +0000 (04:19 +0000)]
Terminate System Thread after execution...forgot to add this for some reason.Thanks to WaxDragon for reporting it

svn path=/trunk/; revision=14756

19 years agoAdd KDBG debugging hack from old code and convert it to fit new one. Not enabled...
Alex Ionescu [Sat, 23 Apr 2005 04:12:26 +0000 (04:12 +0000)]
Add KDBG debugging hack from old code and convert it to fit new one. Not enabled yet because it underflows the stack after a while (researching why). Also complete KeContextToTrapFrame and have Ke386InitThreadWithContext call it to handle creating the Initial Trap Frame

svn path=/trunk/; revision=14754

19 years agoDon't try to discover if we didn't find any interfaces we like. When we get
Art Yerkes [Sat, 23 Apr 2005 00:40:44 +0000 (00:40 +0000)]
Don't try to discover if we didn't find any interfaces we like.  When we get
PnP, we'll need to do discover when the first interface appears.

svn path=/trunk/; revision=14751

19 years agoadvapi32.dll: Implement QueryServiceStatus.
Eric Kohl [Sat, 23 Apr 2005 00:01:37 +0000 (00:01 +0000)]
advapi32.dll: Implement QueryServiceStatus.
services.exe: Implement OpenSCManagerA, OpenServiceA, OpenServiceW and QueryServiceStatus.

svn path=/trunk/; revision=14750

19 years agoAdd Green driver, that emulates a VT100 compatible server.
Hervé Poussineau [Fri, 22 Apr 2005 19:57:03 +0000 (19:57 +0000)]
Add Green driver, that emulates a VT100 compatible server.
Input won't work as long as we don't have a kdbclass driver.

svn path=/trunk/; revision=14749

19 years agoFix one more typo...Spotted by gasmann.
Filip Navara [Fri, 22 Apr 2005 15:26:14 +0000 (15:26 +0000)]
Fix one more typo...Spotted by gasmann.

svn path=/trunk/; revision=14748

19 years agoFix a typo. Spotted by Potapnik.
Filip Navara [Fri, 22 Apr 2005 14:58:22 +0000 (14:58 +0000)]
Fix a typo. Spotted by Potapnik.

svn path=/trunk/; revision=14745

19 years agoDenzil <d3nzil@gmail.com>
Filip Navara [Fri, 22 Apr 2005 13:54:08 +0000 (13:54 +0000)]
Denzil <d3nzil@gmail.com>
Czech translation of Calc, SndVol32, WineFile and Autorun applications.

svn path=/trunk/; revision=14744

19 years agoFix win32k building
Alex Ionescu [Fri, 22 Apr 2005 13:17:35 +0000 (13:17 +0000)]
Fix win32k building

svn path=/trunk/; revision=14743

19 years agoThread Creation and Context Switching re-write, plus Idle/First Thread minimization...
Alex Ionescu [Fri, 22 Apr 2005 12:52:25 +0000 (12:52 +0000)]
Thread Creation and Context Switching re-write, plus Idle/First Thread minimization attempt. Full changelog on ML, too large to post here

svn path=/trunk/; revision=14742

19 years agoRemoved a useless temporary from router setting.
Art Yerkes [Fri, 22 Apr 2005 12:46:27 +0000 (12:46 +0000)]
Removed a useless temporary from router setting.
Use option 6, DHO_DOMAIN_NAME_SERVERS to get name servers from dhcp server.
Fix wrong variable in nameserver setting.
Router and Nameserver now correctly acquired from DHCP.

svn path=/trunk/; revision=14741

19 years agoSwitch to NT5
Alex Ionescu [Fri, 22 Apr 2005 12:43:16 +0000 (12:43 +0000)]
Switch to NT5

svn path=/trunk/; revision=14740

19 years agoPut back GUI Shell
Alex Ionescu [Fri, 22 Apr 2005 12:42:35 +0000 (12:42 +0000)]
Put back GUI Shell

svn path=/trunk/; revision=14739

19 years agotcpmisc.h:
Art Yerkes [Fri, 22 Apr 2005 09:45:17 +0000 (09:45 +0000)]
tcpmisc.h:
- Correct wrongly sized struct IPAddrEntry.
dhcp: dhclient.c and dispatch.c
- remove lots of #if 0
- remove instances of script_go and associated stuff
- write stub check_arp pending ARP api functions being implemented
- introduced S_STATIC state for adapters
dhcp: api.c:
- Do add_protocol and send_discover when telling an adapter to lease.
- Do remove_protocol when we make an adapter static.
dhcp: adapter.c:
- Add infrastructure for finding the adapter key in the registry
- Check for IP address settings and apply as static if set, otherwise dynamic
tcpip: *info and lan:
- Set info types to DEBUG_INFO and DEBUG_DATALINK everywhere
tcpip: lan:
- Remove kernel IP configuration.
bootdata:
- Added dhcp service and make it start.
- Removed static IP address settings from the default configuration
- Removed old JS bootcode

svn path=/trunk/; revision=14737

19 years agoSync to Wine-20050419:
Gé van Geldorp [Thu, 21 Apr 2005 21:01:05 +0000 (21:01 +0000)]
Sync to Wine-20050419:
Robert Shearman <rob@codeweavers.com>
- Fix TB_GETBUTTONSIZE to return the correct width/height for no
  buttons.
- Use ES_AUTOHSCROLL for edit box.
- Fix size passed to SPI_NONCLIENTMETRICS.
- iSelectedImage is allowed to be 0.
- Use SetWindowPos to move the buddy window into position instead of
  destroying it and recreating it at the new position.
- Clear the background in WM_VSCROLL to avoid problems with
  antialiased text drawing on top of itself multiple times.
Dimitrie O. Paun <dpaun@rogers.com>
- Use {Alloc,ReAlloc,Free}() instead of Heap{Alloc,ReAlloc,Free}().
- Fix a memory leak in toolbar. Avoid casts.
- Complete unicodification of the toolbar common control.
- Move a header comment for consistency with the other controls.
- Very small alignment fixes.
- Add support for LVN_ODSTATECHANGED.
- Minor typo fixes.
- Handle wParam in WM_PAINT properly: if non-null, it is the hdc we are
  supposed to use to draw into.
- Complete unicodification of the propsheet common control.
- Complete unicodification of the flatsb common control.
- Pull the WM_TIMER handling into its own function.
- ANIMATE_DrawFrame shouldn't worry about locking, the lock should be
  held by the caller.
- Delete the critical section when freeing up the infoPtr.
- Audit the control against Comctl32.dll version 6.0.
- Proper handling of GWL_STYLE.
- Implement WM_CLOSE. Fix WM_SIZE implementation.
- Small cleanups.
- Cleanup and simplify the painting code.
- Fix a potential bug along the way.
- Unicodification and typesafe interfaces.
- Complete unicodification.
- Complete unicodification of the rebar common control.
- Add Robert Shearman's explanation about WM_NCPAINT.
- Move testing comments in a more appropriate place.
- Proper handling for GWL_STYLE.
- Store and use hwndSelf in the PAGER_INFO.
- Pass the infoPtr around instead of hwnd.
- Use proper types in the function signatures.
- Fix a few return statements.
- MonthCal unicodification.
- Tab unicodification.
- Keep track of WS_DISABLED explicitely, as it doesn't generate a
  WM_STYLECHANGED message.
- Minor cleanups.
- Complete unicodification of the tooltips common control.
- Complete the unicodification of comctl32undoc.
- Complete unicodification of the header common control.
- Complete unicodification of the treeview common control.
- Audit the code against Comctl32.dll version 6.0.
- Handle notification and styles as in the other controls.
- Maintain the const for strings throughout parsing.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
- Eliminate HeapAlloc casts.
Alexandre Julliard <julliard@winehq.org>
- Revert changes to the painting code, the WM_CTLCOLORSTATIC message
  should not be sent from the animation thread.
Duane Clark <dclark@akamail.com>
- Misc rectangle fixes.
- The date should be initialized from local time.
- Monday is day number '1'.
- Set day of week when a day is selected in the calender.
- Use fixed width fields in datetime.
- DTS_TIMEFORMAT is a two bit field, so test accordingly.
- Reposition and resize the updown control when the datetime control is
  resized.
- Respond to updown inputs.
- The datetime should be initialized with local time.
- Add support for direct keyboard input to numeric fields.
- Hour '0' corresponds to 12AM.
Vitaliy Margolen <wine-devel@kievinfo.com>
- Draw only visible tabs.
- Don't redraw if no information has changed.
- Fixed endless redraw loop if app using callback for images and/or
  text.
- Keep color changes made by app for the current draw cycle.
- Send notifies after invalidating changed areas.
- Don't use custom draw returned colors for control.
C. Scott Ananian <cscott@cscott.net>
- UPDOWN_GetBuddyInt should not fail when the control is empty.
Peter Berg Larsen <pebl@math.ku.dk>
- Replace strncpy with memcpy or lstrcpyn.
Huw Davies <huw@codeweavers.com>
- The depth of the colour bitmap needs to match that of the screen.
Jason Edmeades <us@the-edmeades.demon.co.uk>
- Make the treeview correctly search when the top index is selected.
Evan Deaubl <wine@warpedview.com>
- TREEVIEW_DoSelectItem should not do any of the TVGN_FIRSTVISIBLE work
  if the newSelect parameter is NULL.
Eric Pouech <pouech-eric@wanadoo.fr>
- Removed excessive statement (break after return or goto, not useful
  break, not needed vars...)

svn path=/trunk/; revision=14735

19 years agoPackageManager: Uploaded forgotten File
Maarten Bosma [Thu, 21 Apr 2005 16:28:44 +0000 (16:28 +0000)]
PackageManager: Uploaded forgotten File

svn path=/trunk/; revision=14734

19 years agoEnumSystemLocalesW() implementation. Certainly not full (doesn't support INSTALLED...
Aleksey Bragin [Thu, 21 Apr 2005 14:49:17 +0000 (14:49 +0000)]
EnumSystemLocalesW() implementation. Certainly not full (doesn't support INSTALLED/SUPPORTED/etc flags) - but at least it does what is needed - enumerate locales.
Other stuff is coming soon so intl.cpl could work.

svn path=/trunk/; revision=14732

19 years agoAdded xbox video driver information (by GvG), I hope it doesn't interfere anyone...
Aleksey Bragin [Thu, 21 Apr 2005 12:58:20 +0000 (12:58 +0000)]
Added xbox video driver information (by GvG), I hope it doesn't interfere anyone, and there will be no need to patch registry everytime to boot under xbox.

svn path=/trunk/; revision=14730

19 years ago- Protect multiboot info from being overwritten
Gé van Geldorp [Thu, 21 Apr 2005 09:29:02 +0000 (09:29 +0000)]
- Protect multiboot info from being overwritten
- Pass command line to MachInit() funcs

svn path=/trunk/; revision=14725

19 years agoSync to Wine-20050419:
Gé van Geldorp [Wed, 20 Apr 2005 22:05:23 +0000 (22:05 +0000)]
Sync to Wine-20050419:
Peter Berg Larsen <pebl@math.ku.dk>
- Eliminate a strncpy and remove unused variable.

svn path=/trunk/; revision=14724

19 years agoMove RtlAreAllAccessesGranted, RtlAreAnyAccessesGranted and RtlMapGenericMask to...
Eric Kohl [Wed, 20 Apr 2005 20:58:16 +0000 (20:58 +0000)]
Move RtlAreAllAccessesGranted, RtlAreAnyAccessesGranted and RtlMapGenericMask to the shared runtime library.

svn path=/trunk/; revision=14723

19 years agoRoman Hoegg <roman.hoegg@unisg.ch>
Gé van Geldorp [Wed, 20 Apr 2005 19:52:45 +0000 (19:52 +0000)]
Roman Hoegg <roman.hoegg@unisg.ch>
Add configuration stuff for Swiss German keyboard

svn path=/trunk/; revision=14721

19 years agoImplement IoRegisterDeviceInterface
Hervé Poussineau [Wed, 20 Apr 2005 19:38:39 +0000 (19:38 +0000)]
Implement IoRegisterDeviceInterface

svn path=/trunk/; revision=14720