reactos.git
16 years ago- Bugcheck on a page fault, if the reason was code executing in a non executable...
Hartmut Birr [Tue, 5 Oct 2004 19:11:17 +0000 (19:11 +0000)]
- Bugcheck on a page fault, if the reason was code executing in a non executable area (only available on a AMD64).

svn path=/trunk/; revision=11204

16 years ago- Changed some functions from Nt to Zw in RtlFormatCurrentUserKeyPath to bypass the...
Hartmut Birr [Tue, 5 Oct 2004 19:04:09 +0000 (19:04 +0000)]
- Changed some functions from Nt to Zw in RtlFormatCurrentUserKeyPath to bypass the buffer checks.

svn path=/trunk/; revision=11203

16 years ago- Removed some hard coded values, which depend on a kernel base of 0xc0000000.
Hartmut Birr [Tue, 5 Oct 2004 18:53:28 +0000 (18:53 +0000)]
- Removed some hard coded values, which depend on a kernel base of 0xc0000000.

svn path=/trunk/; revision=11202

16 years agoMesa version 6.2 import (also removed _MSC_VER define for building with mingw) -...
Gregor Anich [Tue, 5 Oct 2004 14:19:13 +0000 (14:19 +0000)]
Mesa version 6.2 import (also removed _MSC_VER define for building with mingw) - look at mesa3d.org/ for changelogs.

svn path=/trunk/; revision=11201

16 years agoSilence a few warnings and bring the source (mostly) back in line
Steven Edwards [Tue, 5 Oct 2004 13:57:29 +0000 (13:57 +0000)]
Silence a few warnings and bring the source (mostly) back in line
with the source drop from embedded.cl

svn path=/trunk/; revision=11200

16 years agoRemove outdated profile path postfix.
Eric Kohl [Tue, 5 Oct 2004 13:39:42 +0000 (13:39 +0000)]
Remove outdated profile path postfix.

svn path=/trunk/; revision=11199

16 years agoAdded a simple embedded GPL dhcp server for ReactOS by
Steven Edwards [Tue, 5 Oct 2004 13:09:46 +0000 (13:09 +0000)]
Added a simple embedded GPL dhcp server for ReactOS by
Carlos Manuel Duclos Vergara

TODO:
Make it a real Window Service
Make it use the registry rather than dhcpd.conf
.......

svn path=/trunk/; revision=11198

16 years agoRemove fixed heap base address (HEAP_BASE) to enable bottom-up heap allocation.
Eric Kohl [Tue, 5 Oct 2004 10:40:13 +0000 (10:40 +0000)]
Remove fixed heap base address (HEAP_BASE) to enable bottom-up heap allocation.

svn path=/trunk/; revision=11197

16 years agoRecognize our CD-Rom drives
Gé van Geldorp [Tue, 5 Oct 2004 07:51:11 +0000 (07:51 +0000)]
Recognize our CD-Rom drives

svn path=/trunk/; revision=11196

16 years agoAlexandre Julliard <julliard@winehq.org>
Gé van Geldorp [Tue, 5 Oct 2004 07:43:19 +0000 (07:43 +0000)]
Alexandre Julliard <julliard@winehq.org>
- Fixed typo in ProgramsW.
- Changed the case of windows and system directories to match the
  directories we create by default.
- Avoid depending on the non-standard IUnknown_METHODS macro in Wine
  internal headers.

svn path=/trunk/; revision=11195

16 years agoUn-hardcoded the 0xC0000000 value, and stuck the define in one single place both...
Alex Ionescu [Mon, 4 Oct 2004 21:38:49 +0000 (21:38 +0000)]
Un-hardcoded the 0xC0000000 value, and stuck the define in one single place both for ASM and C code. This define is 0x80000000 by default, but automatically sets itself to 0xC0000000 if 3GB is set to 1 in reactos/config. This option is turned on by default for now, because the Default heap is at 0xA0000000, which doesn't work on a non 3GB system. Lower values seem to crash Win32K but I fill figure out a solution.

svn path=/trunk/; revision=11193

16 years ago2004-10-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Mon, 4 Oct 2004 20:04:49 +0000 (20:04 +0000)]
2004-10-04  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/helper.mk: Support for kernel TARGET_TYPE.
* ntoskrnl/Makefile: Simplified makefile.

svn path=/trunk/; revision=11192

16 years agoPiotr Caban <pio13@poczta.onet.pl>
Gé van Geldorp [Mon, 4 Oct 2004 19:44:11 +0000 (19:44 +0000)]
Piotr Caban <pio13@poczta.onet.pl>
- Added Polish translation.

svn path=/trunk/; revision=11191

16 years agoReapply winehq change:
Gé van Geldorp [Mon, 4 Oct 2004 19:41:31 +0000 (19:41 +0000)]
Reapply winehq change:
Robert Shearman <rob@codeweavers.com>
- Simplify getting custom icons for a folder by utilising the new
  SHELL32_GetCustomFolderAttribute function.
- Add support for custom shell folders, such as the History folder.
- Always try to initialize folder using IPersistFolder3 interface and
  then fall back on IPersistFolder if not supported.
Ge van Geldorp <gvg@reactos.com>
- Can't pass NULL as default value to GetPrivateProfileString.

svn path=/trunk/; revision=11190

16 years ago2004-10-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Mon, 4 Oct 2004 19:41:28 +0000 (19:41 +0000)]
2004-10-04  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/helper.mk: Clean autogenerated files.
* tools/regtests.c: Remove newlines.

svn path=/trunk/; revision=11189

16 years agoreturn hardcoded value (1) for SM_CMONITORS.
Jens Collin [Mon, 4 Oct 2004 19:23:31 +0000 (19:23 +0000)]
return hardcoded value (1) for  SM_CMONITORS.

svn path=/trunk/; revision=11188

16 years agoUse GetStringTypeW() for implementation of IsCharAlphaNumericW(),
Gé van Geldorp [Mon, 4 Oct 2004 19:22:16 +0000 (19:22 +0000)]
Use GetStringTypeW() for implementation of IsCharAlphaNumericW(),
IsCharAlphaW(), IsCharLowerW() and IsCharUpperW()

svn path=/trunk/; revision=11187

16 years agodefined SM_CMONITORS (80)
Jens Collin [Mon, 4 Oct 2004 19:22:02 +0000 (19:22 +0000)]
defined SM_CMONITORS (80)

svn path=/trunk/; revision=11186

16 years agoImplement GetStringTypeA/W() and GetStringTypeExA/W()
Gé van Geldorp [Mon, 4 Oct 2004 19:17:58 +0000 (19:17 +0000)]
Implement GetStringTypeA/W() and GetStringTypeExA/W()

svn path=/trunk/; revision=11185

16 years agoFixed IPStartup prototype and moved DisplayIPPacket out of ifdef.
Art Yerkes [Mon, 4 Oct 2004 18:32:30 +0000 (18:32 +0000)]
Fixed IPStartup prototype and moved DisplayIPPacket out of ifdef.

svn path=/trunk/; revision=11184

16 years agoRemoved unneeded DriverObject parameter to IPStartup.
Art Yerkes [Mon, 4 Oct 2004 18:31:40 +0000 (18:31 +0000)]
Removed unneeded DriverObject parameter to IPStartup.

svn path=/trunk/; revision=11183

16 years ago- Fixed the setting of the page protection for ntoskrnl.
Hartmut Birr [Mon, 4 Oct 2004 17:27:13 +0000 (17:27 +0000)]
- Fixed the setting of the page protection for ntoskrnl.
  The image is loaded without the size of the bss section.
  Pages after the bss section may not be changed.

svn path=/trunk/; revision=11182

16 years agosync with WINE source
Martin Fuchs [Mon, 4 Oct 2004 17:13:03 +0000 (17:13 +0000)]
sync with WINE source

svn path=/trunk/; revision=11181

16 years agoRevert:
Casper Hornstrup [Mon, 4 Oct 2004 10:16:59 +0000 (10:16 +0000)]
Revert:
2004-10-02  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* ntoskrnl/Makefile: Fix dependencies when PCH is enabled.

2004-10-02  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/helper.mk: Support for kernel TARGET_TYPE.
* ntoskrnl/Makefile: Simplified makefile.

svn path=/trunk/; revision=11180

16 years agomerged corrected version of the Wine commit http://cvs.winehq.org/patch.py?id=13936:
Martin Fuchs [Mon, 4 Oct 2004 09:31:10 +0000 (09:31 +0000)]
merged corrected version of the Wine commit cvs.winehq.org/patch.py?id=13936:
- added choosing fonts
- added file moving

svn path=/trunk/; revision=11179

16 years agoFirst shot at ip lib test app.
Art Yerkes [Mon, 4 Oct 2004 04:26:00 +0000 (04:26 +0000)]
First shot at ip lib test app.

svn path=/trunk/; revision=11178

16 years agoDBG should be 0 by default. Also, DBG = 1 seems to break ROS (it hangs before ntoskrn...
Alex Ionescu [Mon, 4 Oct 2004 03:19:07 +0000 (03:19 +0000)]
DBG should be 0 by default. Also, DBG = 1 seems to break ROS (it hangs before ntoskrnl is even loaded.)

svn path=/trunk/; revision=11177

16 years agoAdded new targets. ip and oskittcp should now clean with the rest of the
Art Yerkes [Sun, 3 Oct 2004 22:55:45 +0000 (22:55 +0000)]
Added new targets.  ip and oskittcp should now clean with the rest of the
tree.

svn path=/trunk/; revision=11176

16 years agoFinal propogation of TDI_CONNECTION_INFORMATION/TRANSPORT_ADDRESS changes.
Art Yerkes [Sun, 3 Oct 2004 21:44:43 +0000 (21:44 +0000)]
Final propogation of TDI_CONNECTION_INFORMATION/TRANSPORT_ADDRESS changes.

svn path=/trunk/; revision=11175

16 years agoPropogating TDI address changes.
Art Yerkes [Sun, 3 Oct 2004 21:16:31 +0000 (21:16 +0000)]
Propogating TDI address changes.

svn path=/trunk/; revision=11174

16 years agoRollback last change since it was incorrect.
Gé van Geldorp [Sun, 3 Oct 2004 21:03:06 +0000 (21:03 +0000)]
Rollback last change since it was incorrect.
See http://www.reactos.com/bugzilla/show_bug.cgi?id=36

svn path=/trunk/; revision=11173

16 years agoNew file buffer.c which contains NDIS_BUFFER and NDIS_PACKET routines.
Art Yerkes [Sun, 3 Oct 2004 20:39:19 +0000 (20:39 +0000)]
New file buffer.c which contains NDIS_BUFFER and NDIS_PACKET routines.

svn path=/trunk/; revision=11172

16 years agoFixed UDP protocol.
Art Yerkes [Sun, 3 Oct 2004 20:38:48 +0000 (20:38 +0000)]
Fixed UDP protocol.
Leaned interface between tcpip and ip lib to not include ndis buffers and
such, as well as datagram request structs.  This both eliminates code
setting up these structs as well as making use of ip lib easier from userland.
Moved ndis buffer routines to tcpip/buffer.c.  They are a bit separate from
the neutral routines functions.

svn path=/trunk/; revision=11171

16 years agoFixed use of TA_ADDRESS in favor of TRANSPORT_ADDRESS. This still confuses
Art Yerkes [Sun, 3 Oct 2004 20:36:46 +0000 (20:36 +0000)]
Fixed use of TA_ADDRESS in favor of TRANSPORT_ADDRESS.  This still confuses
me.
write, read: Handle errors correctly.

svn path=/trunk/; revision=11170

16 years agoMove final user stack cleanup to kernelmode
Gé van Geldorp [Sun, 3 Oct 2004 18:53:05 +0000 (18:53 +0000)]
Move final user stack cleanup to kernelmode

svn path=/trunk/; revision=11169

16 years agoCVS maintenance
Gé van Geldorp [Sun, 3 Oct 2004 18:46:07 +0000 (18:46 +0000)]
CVS maintenance

svn path=/trunk/; revision=11168

16 years agoRemove faulty debug statement
Gé van Geldorp [Sun, 3 Oct 2004 18:22:33 +0000 (18:22 +0000)]
Remove faulty debug statement

svn path=/trunk/; revision=11167

16 years agodon't let dlltool mess up c++ mangled exports for crtdll and msvcrt
Thomas Bluemel [Sun, 3 Oct 2004 14:24:43 +0000 (14:24 +0000)]
don't let dlltool mess up c++ mangled exports for crtdll and msvcrt

svn path=/trunk/; revision=11166

16 years agofixed GetHandleInformation(), SetHandleInformation() and minor fixes to CloseHandle...
Thomas Bluemel [Sun, 3 Oct 2004 10:05:56 +0000 (10:05 +0000)]
fixed GetHandleInformation(), SetHandleInformation() and minor fixes to CloseHandle() and DuplicateHandle()

svn path=/trunk/; revision=11165

16 years agoUpdate a new users private shell folder paths when a new user profile is created.
Eric Kohl [Sun, 3 Oct 2004 09:27:22 +0000 (09:27 +0000)]
Update a new users private shell folder paths when a new user profile is created.

svn path=/trunk/; revision=11164

16 years agoSorry, forgot these updates for WIN32K to build with new KPCR.
Alex Ionescu [Sun, 3 Oct 2004 03:07:18 +0000 (03:07 +0000)]
Sorry, forgot these updates for WIN32K to build with new KPCR.

svn path=/trunk/; revision=11163

16 years agoCorrected KPCR structure, removed IKPCR, set up CurrentThread in proper structure...
Alex Ionescu [Sun, 3 Oct 2004 03:03:54 +0000 (03:03 +0000)]
Corrected KPCR structure, removed IKPCR, set up CurrentThread in proper structure (implemented KPRCB), added some types needed by KPRCB.

svn path=/trunk/; revision=11162

16 years agofixed ProcessIdToSessionId()
Thomas Bluemel [Sat, 2 Oct 2004 21:14:08 +0000 (21:14 +0000)]
fixed ProcessIdToSessionId()

svn path=/trunk/; revision=11161

16 years agodon't duplicate tons of code for error handling
Thomas Bluemel [Sat, 2 Oct 2004 20:56:54 +0000 (20:56 +0000)]
don't duplicate tons of code for error handling

svn path=/trunk/; revision=11160

16 years agoINF Helper tool for installation of .inf files, by Michael Biggins
Thomas Bluemel [Sat, 2 Oct 2004 18:33:12 +0000 (18:33 +0000)]
INF Helper tool for installation of .inf files, by Michael Biggins

svn path=/trunk/; revision=11159

16 years agoAllocate memory for the handle table from paged pool!
Filip Navara [Sat, 2 Oct 2004 16:48:12 +0000 (16:48 +0000)]
Allocate memory for the handle table from paged pool!

svn path=/trunk/; revision=11158

16 years agoChange the ASSERT_IRQL in ExAllocatePagedPoolWithTag from PASSIVE_LEVEL to APC_LEVEL.
Filip Navara [Sat, 2 Oct 2004 16:48:05 +0000 (16:48 +0000)]
Change the ASSERT_IRQL in ExAllocatePagedPoolWithTag from PASSIVE_LEVEL to APC_LEVEL.

svn path=/trunk/; revision=11157

16 years agoadded stubs for winfax.dll
Thomas Bluemel [Sat, 2 Oct 2004 16:43:05 +0000 (16:43 +0000)]
added stubs for winfax.dll

svn path=/trunk/; revision=11156

16 years ago2004-10-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 2 Oct 2004 14:38:37 +0000 (14:38 +0000)]
2004-10-02  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* ntoskrnl/Makefile: Fix dependencies when PCH is enabled.

svn path=/trunk/; revision=11155

16 years ago2004-10-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 2 Oct 2004 14:03:51 +0000 (14:03 +0000)]
2004-10-02  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/helper.mk: Support for kernel TARGET_TYPE.
* ntoskrnl/Makefile: Simplified makefile.

svn path=/trunk/; revision=11154

17 years agoAdd common user shell folder key.
Eric Kohl [Sat, 2 Oct 2004 12:35:12 +0000 (12:35 +0000)]
Add common user shell folder key.

svn path=/trunk/; revision=11153

17 years agoRemove default users shell folder paths.
Eric Kohl [Sat, 2 Oct 2004 12:33:20 +0000 (12:33 +0000)]
Remove default users shell folder paths.

svn path=/trunk/; revision=11152

17 years agoImprove creation of shell folder settings.
Eric Kohl [Sat, 2 Oct 2004 12:31:28 +0000 (12:31 +0000)]
Improve creation of shell folder settings.
Todo:
 - Store folder names in resource strings.
 - Update current users shell folder paths when a new profile is created.

svn path=/trunk/; revision=11151

17 years ago- Made cmt unicode compatible.
Hartmut Birr [Sat, 2 Oct 2004 10:26:48 +0000 (10:26 +0000)]
- Made cmt unicode compatible.
- Enabled time counting.
- Improved the waiting of key input events.

svn path=/trunk/; revision=11150

17 years ago- Terminate the wait thread if the handle was from a console.
Hartmut Birr [Sat, 2 Oct 2004 10:19:38 +0000 (10:19 +0000)]
- Terminate the wait thread if the handle was from a console.

svn path=/trunk/; revision=11149

17 years ago- Updated the workingset size in the rmap functions.
Hartmut Birr [Sat, 2 Oct 2004 10:16:10 +0000 (10:16 +0000)]
- Updated the workingset size in the rmap functions.

svn path=/trunk/; revision=11148

17 years ago2004-10-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 2 Oct 2004 08:44:54 +0000 (08:44 +0000)]
2004-10-02  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/gdiplus/tests/.cvsignore: Ignore _hooks.c and _stubs.S.
* lib/gdiplus/tests/Makefile (TARGET_OBJECTS): Remove passthrough.o and
add _hooks.o and _stubs.o.
* lib/gdiplus/tests/tests/test-1.c: Test API hooking.
* regtests/shared/regtests.h: Add support for API hooking.
* tools/helper.mk: Generate stubs.
* tools/regtests.c: Add support for generating stubs and hooks.
* lib/gdiplus/tests/passthrough.c: Remove.
* lib/gdiplus/tests/stubs.tst: New file.

svn path=/trunk/; revision=11147

17 years ago- Fixed the definition of SNMP_FUNC_TYPE.
Hartmut Birr [Sat, 2 Oct 2004 08:28:34 +0000 (08:28 +0000)]
- Fixed the definition of SNMP_FUNC_TYPE.

svn path=/trunk/; revision=11146

17 years agoSorry i didn't have all the assertions correct in ntoskrnl/mm/pool.c
Art Yerkes [Fri, 1 Oct 2004 20:51:29 +0000 (20:51 +0000)]
Sorry i didn't have all the assertions correct in ntoskrnl/mm/pool.c
Now i've moved them to npool.c and ppool.c, where they are shorter.

svn path=/trunk/; revision=11145

17 years agoDon't use more than a single page for a TEB (forgotten file)
Gé van Geldorp [Fri, 1 Oct 2004 20:29:58 +0000 (20:29 +0000)]
Don't use more than a single page for a TEB (forgotten file)

svn path=/trunk/; revision=11144

17 years agoDon't use more than a single page for a TEB
Gé van Geldorp [Fri, 1 Oct 2004 20:26:05 +0000 (20:26 +0000)]
Don't use more than a single page for a TEB

svn path=/trunk/; revision=11143

17 years ago- Rewrote parts of the Process & Thread time count functions.
Hartmut Birr [Fri, 1 Oct 2004 20:09:57 +0000 (20:09 +0000)]
- Rewrote parts of the Process & Thread time count functions.

svn path=/trunk/; revision=11142

17 years agoHandle mapping a view of a section at non-zero file offset
Gé van Geldorp [Fri, 1 Oct 2004 20:06:43 +0000 (20:06 +0000)]
Handle mapping a view of a section at non-zero file offset

svn path=/trunk/; revision=11141

17 years agopool.c: assert irql and pool type for PASSIVE_LEVEL and above.
Art Yerkes [Fri, 1 Oct 2004 04:00:11 +0000 (04:00 +0000)]
pool.c: assert irql and pool type for PASSIVE_LEVEL and above.
ntoskrnl/ob/security.c:
This function did not either identify the new descriptor as self relative
nor honor the case where self-relative was not set.  Now fixed.
Bug identified by WaxDragon (while loading a cygwin app)

svn path=/trunk/; revision=11140

17 years agoAdded needed rc file.
Art Yerkes [Fri, 1 Oct 2004 02:31:05 +0000 (02:31 +0000)]
Added needed rc file.

svn path=/trunk/; revision=11139

17 years agoZero the new descriptor so that the Dacl, Sacl etc pointers will be zeroed
Art Yerkes [Fri, 1 Oct 2004 01:28:56 +0000 (01:28 +0000)]
Zero the new descriptor so that the Dacl, Sacl etc pointers will be zeroed
if not initialized.  cygwin was exercising this.

svn path=/trunk/; revision=11138

17 years agoIt seems there's a subtle difference between mingw32 on windows and on
Art Yerkes [Thu, 30 Sep 2004 22:04:13 +0000 (22:04 +0000)]
It seems there's a subtle difference between mingw32 on windows and on
unixen.  Apparently, include_next does not count repeated include
directories on unixen but does on windows, thus windows users of mingw
saw the build of the ip lib break for not having included
w32api/include/basetsd.h through the include/basetsd.h.  It would
include include/basetsd.h again and (since the include guard in that
file surrounds the include_next), would do nothing the second time.  I guess
I'm the only person who got bit by this difference.

svn path=/trunk/; revision=11137

17 years agoCorrect spelling errors in some remarks.
Emanuele Aliberti [Thu, 30 Sep 2004 21:14:24 +0000 (21:14 +0000)]
Correct spelling errors in some remarks.

svn path=/trunk/; revision=11136

17 years agoRemove common shell folder settings.
Eric Kohl [Thu, 30 Sep 2004 20:24:51 +0000 (20:24 +0000)]
Remove common shell folder settings.

svn path=/trunk/; revision=11135

17 years ago- Add proper file header.
Eric Kohl [Thu, 30 Sep 2004 20:23:00 +0000 (20:23 +0000)]
- Add proper file header.
- Create common shell folder registry values in InitializeProfiles().

svn path=/trunk/; revision=11134

17 years agorollback change for now
Richard Campbell [Thu, 30 Sep 2004 16:47:49 +0000 (16:47 +0000)]
rollback change for now

svn path=/trunk/; revision=11133

17 years agoFixed makefile. Wrong name for ip.a
Art Yerkes [Thu, 30 Sep 2004 16:30:43 +0000 (16:30 +0000)]
Fixed makefile.  Wrong name for ip.a

svn path=/trunk/; revision=11132

17 years ago- For now, hardcode the all users profile path until we get better user management...
Richard Campbell [Thu, 30 Sep 2004 15:39:48 +0000 (15:39 +0000)]
- For now, hardcode the all users profile path until we get better user management code in place
- removed the %USERPROFILE% prefix, this will go in combination with my other fix to hopefully get things working right again.

svn path=/trunk/; revision=11131

17 years agoYou're such a trooper, Marvin
Royce Mitchell III [Thu, 30 Sep 2004 13:44:48 +0000 (13:44 +0000)]
You're such a trooper, Marvin

svn path=/trunk/; revision=11130

17 years agoYou can tune a file system, but you can't tunafish
Gé van Geldorp [Thu, 30 Sep 2004 10:07:00 +0000 (10:07 +0000)]
You can tune a file system, but you can't tunafish

svn path=/trunk/; revision=11129

17 years agoRollback winehq merge since it breaks Explorer
Gé van Geldorp [Thu, 30 Sep 2004 06:49:06 +0000 (06:49 +0000)]
Rollback winehq merge since it breaks Explorer

svn path=/trunk/; revision=11128

17 years agoMost files moved to linkable library drivers/lib/ip, which can be linked
Art Yerkes [Thu, 30 Sep 2004 06:00:42 +0000 (06:00 +0000)]
Most files moved to linkable library drivers/lib/ip, which can be linked
from kernel land, or from userland with the help of drivers/lib/undis.
Hopefully, I'll be able to simulate a sufficient environment with undis
that we'll be able to test most problems with the ip system in userland.
This follows my general priniciple of getting most interesting code into
a place where we can really examine it and work with it.  The interface
to the ip library is still a bit raw.  I was hoping to do a better job
of isolating it and especially digging nt kernel dependencies out into
the remaining framework files (tcpip/dispatch.c, tcpip/fileobjs.c), but
it was taking too long.  Hopefully I can return to that later.

svn path=/trunk/; revision=11127

17 years agoChanges to the interface to componentized ip library. This commit is where
Art Yerkes [Thu, 30 Sep 2004 05:44:10 +0000 (05:44 +0000)]
Changes to the interface to componentized ip library.  This commit is where
the ambiguously linked library starts being used in km.  There are further
cleanups i need to do, but hopefully having this checked in will help others
who are eager to help work on it.

svn path=/trunk/; revision=11126

17 years agoFixes to interface. Prototypes which were being stubborn. I will have to
Art Yerkes [Thu, 30 Sep 2004 05:41:09 +0000 (05:41 +0000)]
Fixes to interface.  Prototypes which were being stubborn.  I will have to
figure out how to use these headers better.

svn path=/trunk/; revision=11125

17 years agoUndis now builds a dll, carefully skirting the linkage problem i was facing.
Art Yerkes [Thu, 30 Sep 2004 05:40:15 +0000 (05:40 +0000)]
Undis now builds a dll, carefully skirting the linkage problem i was facing.
I also add more and more correct functions.

svn path=/trunk/; revision=11124

17 years agouse ULONG_PTR to calculate pointers
Thomas Bluemel [Wed, 29 Sep 2004 08:41:39 +0000 (08:41 +0000)]
use ULONG_PTR to calculate pointers

svn path=/trunk/; revision=11122

17 years agoRobert Shearman <rob@codeweavers.com>
Gé van Geldorp [Wed, 29 Sep 2004 07:01:37 +0000 (07:01 +0000)]
Robert Shearman <rob@codeweavers.com>
- Simplify getting custom icons for a folder by utilising the new
  SHELL32_GetCustomFolderAttribute function.
- Add support for custom shell folders, such as the History folder.
- Always try to initialize folder using IPersistFolder3 interface and
  then fall back on IPersistFolder if not supported.

svn path=/trunk/; revision=11121

17 years agoGetting there. Smoothing out the public interface and eliminating useless
Art Yerkes [Wed, 29 Sep 2004 06:11:27 +0000 (06:11 +0000)]
Getting there.  Smoothing out the public interface and eliminating useless
types.

svn path=/trunk/; revision=11120

17 years agoIP library. These files were moved from tcpip.sys and can be linked with
Art Yerkes [Wed, 29 Sep 2004 05:10:48 +0000 (05:10 +0000)]
IP library.  These files were moved from tcpip.sys and can be linked with
apps/tests/iptest using the undis library.  We need to make a change to
the way this is built so that we end up with ip.a (userland) and
ipkernel.a.  I'm still deciding how i want to do that.  For our purposes
now, it'll be fine to have it userland only as long as we still have the
option to build it for kernel use by hand to try out.

svn path=/trunk/; revision=11119

17 years agoAdded a header to lie between undis and net/ndis.h. This header will be used
Art Yerkes [Wed, 29 Sep 2004 04:57:26 +0000 (04:57 +0000)]
Added a header to lie between undis and net/ndis.h.  This header will be used
to wrap and modify ndis definitions if necessary.

svn path=/trunk/; revision=11118

17 years agoSimple library which captures the remaining link-time dependencies for ip.a
Art Yerkes [Wed, 29 Sep 2004 04:54:26 +0000 (04:54 +0000)]
Simple library which captures the remaining link-time dependencies for ip.a
Incomplete as yet.

Open question: how to make ip.a ambiguously linkable without building it
twice in it's present form.  Oskit was relatively simple because the
system dependencies were already isolated.  We need to capture and isolate
system dependencies in ip.a as well.

svn path=/trunk/; revision=11117

17 years agoThese calls to ExAllocatePool are done at != PASSIVE_LEVEL. Allocate
Art Yerkes [Wed, 29 Sep 2004 03:36:52 +0000 (03:36 +0000)]
These calls to ExAllocatePool are done at != PASSIVE_LEVEL.  Allocate
non-paged-pool.

svn path=/trunk/; revision=11116

17 years ago - Changed a few REG_EXPAND_SZ to REG_SZs as per Windows
Richard Campbell [Wed, 29 Sep 2004 01:26:35 +0000 (01:26 +0000)]
 - Changed a few REG_EXPAND_SZ to REG_SZs as per Windows

svn path=/trunk/; revision=11115

17 years agosprintf bad
Royce Mitchell III [Wed, 29 Sep 2004 00:47:42 +0000 (00:47 +0000)]
sprintf bad

svn path=/trunk/; revision=11114

17 years agoNtAllocateVirtualMemory() should return 64k aligned areas (forgotten file)
Gé van Geldorp [Tue, 28 Sep 2004 20:58:29 +0000 (20:58 +0000)]
NtAllocateVirtualMemory() should return 64k aligned areas (forgotten file)

svn path=/trunk/; revision=11113

17 years agoDon't return data length if not requested
Gé van Geldorp [Tue, 28 Sep 2004 20:40:15 +0000 (20:40 +0000)]
Don't return data length if not requested

svn path=/trunk/; revision=11112

17 years ago- Fixed LdrLookupPageProtection.
Hartmut Birr [Tue, 28 Sep 2004 20:16:24 +0000 (20:16 +0000)]
- Fixed LdrLookupPageProtection.

svn path=/trunk/; revision=11111

17 years agoAdd advpack.
James Tabor [Tue, 28 Sep 2004 19:49:27 +0000 (19:49 +0000)]
Add advpack.

svn path=/trunk/; revision=11110

17 years agoNtAllocateVirtualMemory() should return 64k aligned areas
Gé van Geldorp [Tue, 28 Sep 2004 19:49:21 +0000 (19:49 +0000)]
NtAllocateVirtualMemory() should return 64k aligned areas

svn path=/trunk/; revision=11109

17 years agoPorted icmp.dll from wine.
Steven Edwards [Tue, 28 Sep 2004 19:07:56 +0000 (19:07 +0000)]
Ported icmp.dll from wine.

svn path=/trunk/; revision=11108

17 years agorelicense to LGPL
Thomas Bluemel [Tue, 28 Sep 2004 16:05:24 +0000 (16:05 +0000)]
relicense to LGPL

svn path=/trunk/; revision=11107

17 years agoavoid compiler warning
Thomas Bluemel [Tue, 28 Sep 2004 15:14:04 +0000 (15:14 +0000)]
avoid compiler warning

svn path=/trunk/; revision=11106

17 years ago1. get rid of the global thread list and group threads in processes instead
Thomas Bluemel [Tue, 28 Sep 2004 15:02:31 +0000 (15:02 +0000)]
1. get rid of the global thread list and group threads in processes instead
2. get rid of all reactos-specific fields in the E/KTHREAD structure and make them match the 2k layout
3. identify threads (and later processes) using a client id table (which should propably be replaced by a global handle table instead)
4. disabled thread event pair functions by default (NT4 only) as they require a field in the ETHREAD structure that is not present in later versions

svn path=/trunk/; revision=11105

17 years ago- Implement IoFreeErrorLogEntry().
Eric Kohl [Tue, 28 Sep 2004 12:51:14 +0000 (12:51 +0000)]
- Implement IoFreeErrorLogEntry().
- Fix log size calculation in IopLogWorker().

svn path=/trunk/; revision=11104

17 years agoUse FILE_APPEND_DATA access right to write log entries.
Eric Kohl [Tue, 28 Sep 2004 12:50:23 +0000 (12:50 +0000)]
Use FILE_APPEND_DATA access right to write log entries.

svn path=/trunk/; revision=11103