2004-02-22 Casper S. Hornstrup <chorns@users.sourceforge.net>
[reactos.git] / reactos / ChangeLog
1 2004-02-22 Casper S. Hornstrup <chorns@users.sourceforge.net>
2
3 * Makefile (all): Put REGTESTS dependency earlier in the list.
4 * lib/kernel32/makefile: Support regression tests.
5 * lib/kernel32/misc/dllmain.c: Prepare regression tests.
6 * regtests/win32base/driver.c: (DummyThreadMain,
7 RunPrivateTests): Add.
8 (RegTestMain): Run private module regression tests.
9 * tools/helper.mk: Add rtshared.a to MK_LIBS if building
10 user-mode regression tests.
11 * tools/regtests.c (UMSTUB): Add.
12 (main): Output user-mode stub.
13 * lib/kernel32/tests: New directory.
14 * lib/kernel32/tests/.cvsignore: New file.
15 * lib/kernel32/tests/Makefile: New file.
16 * lib/kernel32/tests/tests: New directory.
17 * lib/kernel32/tests/tests/.cvsignore: New file.
18 * regtests/win32base/tests/file-1.c: move...
19 * lib/kernel32/tests/tests/file-1.c: ...here.
20
21 2004-02-22 Casper S. Hornstrup <chorns@users.sourceforge.net>
22
23 * config (REGRESSIONTESTS): Add.
24 * rules.mak (REGTESTS_PATH_INC): Add.
25 * drivers/net/tcpip/makefile: Support regression tests.
26 * drivers/net/tcpip/tcpip/main.c: Prepare regression tests.
27 * hal/halx86/Makefile: Rename TARGET_LIBPATH to TARGET_IMPLIBPATH.
28 * regtests/kmregtests/driver.c (KMRegTestsRegister): Add.
29 (KMRegTestsRun): Move call to InitializeTests() and RegisterTests() to
30 DriverEntry().
31 (KMRegTestsDispatch): Support IOCTL_KMREGTESTS_REGISTER.
32 * regtests/kmregtests/kmregtests.h (IOCTL_KMREGTESTS_REGISTER): Define.
33 * tools/config.mk: Define REGTESTS if REGRESSIONTESTS = 1.
34 * tools/helper.mk: Support module private regression tests.
35 (TARGET_LIBPATH): Rename to TARGET_IMPLIBPATH.
36 (TARGET_LIBPATH, TARGET_REGTESTS): Add.
37 * tools/mkconfig.c: Support REGTESTS.
38 * tools/regtests.c (umstubfile, kmstubfile): Add.
39 (is_file_changed, write_file_if_changed): Add.
40 (KMSTUB): Add.
41 (HELP): Mention -u and -k switches.
42 (main): Parse -u and -k switches.
43 * drivers/net/tcpip/tests: New directory.
44 * drivers/net/tcpip/tests/.cvsignore: New file.
45 * drivers/net/tcpip/tests/Makefile: Makefile.
46 * drivers/net/tcpip/tests/tests: New directory.
47 * drivers/net/tcpip/tests/tests/.cvsignore: New file.
48
49 2004-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
50
51 * apistatus.lst: Correct path of videoprt.dll.
52
53 2004-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
54
55 * bootdata/packages/reactos.dff: Add oleaut32.dll.
56
57 2004-01-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
58
59 * apistatus.lst: Rename tdi.dll to tdi.sys.
60
61 2004-01-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
62
63 * tools/winebuild/spec32.c (BuildDef32File): Don't support private flag
64 when cross-compiling.
65
66 2004-01-02 Steven Edwards <Steven_Ed4153@yahoo.com>
67 * ntoskrnl/kd/dlog.c: Make /DEBUGPORT=FILE work. With the help
68 of Filip Navara
69 * ntoskrnl/ke/main.c: Ditto
70
71 2003-12-29 Steven Edwards <Steven_Ed4153@yahoo.com>
72 * lib/version: Sync with Winehq 12-29-03
73
74 2003-12-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
75
76 * apps/utils/net/roshttpd/error.cpp (ReportErrorStr): Cast to wchar_t*,
77 not __wchar_t*.
78 * apps/utils/net/roshttpd/makefile (TARGET_CPPFLAGS): Add -Wno-deprecated.
79 (TARGET_GCCLIBS): Add stdc++.
80 * apps/utils/net/roshttpd/common/socket.cpp: Include <string.h>.
81 * apps/utils/net/roshttpd/common/thread.cpp (CThread::CThread): Fix
82 warning.
83 * drivers/net/afd/afd/afd.c (ListenRequestLookasideList): New variable.
84 (DriverEntry): Initialize ListenRequestLookasideList.
85 * drivers/net/afd/afd/dispatch.c (AfdDispCompleteListen): New function.
86 (AfdDispListen): Partial implement.
87 * drivers/net/afd/afd/opnclose.c (AfdInitializeFCB): Initialize
88 NewFCB->ListenRequestQueue.
89 (AfdKillListenRequests): New function.
90 (AfdClose): Call AfdKillListenRequests.
91 * drivers/net/afd/afd/routines.c (DumpName): New function.
92 * drivers/net/afd/afd/tdi.c (TdiAddressSizeFromType): New function.
93 (TdiBuildConnectionInfo): Initialize ConnInfo->OptionsLength.
94 (TdiBuildNullConnectionInfo): New function.
95 (TdiOpenAddressFileIPv4, TdiOpenConnectionEndpointFile): EaName is
96 0-terminated.
97 (TdiListen): New function.
98 * drivers/net/afd/include/afd.h (AFDFCB): Add ListenRequestQueue.
99 (AFD_LISTEN_REQUEST): New structure.
100 (ListenRequestLookasideList): Declare.
101 (DumpName, TdiListen): Add prototypes.
102 * drivers/net/tcpip/datalink/lan.c (BindAdapter): Initialize
103 AnsiAddress.Length and AnsiAddress.MaximumLength.
104 * drivers/net/tcpip/include/debug.h: Define DEBUG_TCP.
105 * drivers/net/tcpip/include/routines.h (DisplayTCPPacket): Add
106 prototype.
107 (DISPLAY_TCP_PACKET): Define.
108 * drivers/net/tcpip/include/tcp.h (TCPListen): Add prototype.
109 * drivers/net/tcpip/include/titypes.h (ADDRESS_FILE): Add Connection.
110 * drivers/net/tcpip/network/ip.c (IPLocateNTEOnInterface): Cleanup.
111 * drivers/net/tcpip/tcpip/address.c (AddrSearchNext): Port is in
112 network byte order.
113 * drivers/net/tcpip/tcpip/dispatch.c (DispTdiAssociateAddress):
114 Initialize AddrFile->Connection.
115 (DispTdiListen): Implement.
116 * drivers/net/tcpip/tcpip/fileobjs.c (FileOpenAddress): Don't
117 initialize AddrFile->Connections.
118 * drivers/net/tcpip/tcpip/routines.c: Include <tcp.h>.
119 (DisplayIPPacket): Enable.
120 (DisplayTCPHeader, DisplayTCPPacket): New functions.
121 * drivers/net/tcpip/transport/tcp/tcp.c: Include <routines.h>.
122 (TCPListen, TCPiReceive): New functions.
123 (TCPReceive): Partial implement.
124 * lib/msafd/misc/helpers.c (CreateHelperDLLDatabase): Add
125 {SOCK_STREAM,IPPROTO_TCP,0} and {SOCK_DGRAM,IPPROTO_UDP,0} mappings.
126 * lib/ntdll/ldr/utils.c (LdrLoadDll): Print name of DLL if not found.
127 * lib/ws2_32/include/ws2_32.h (Initialized): Declare.
128 (WINSOCK_THREAD_BLOCK): Remove Initialized member.
129 * (WSAINITIALIZED, WSASETINITIALIZED): Update.
130 * lib/ws2_32/misc/catalog.c (CreateCatalog): Add
131 {SOCK_STREAM,IPPROTO_TCP,0} and {SOCK_DGRAM,IPPROTO_UDP,0} mappings.
132 (Initialized): New variable.
133 (DllMain): Don't initialize p->Initialized.
134 * ntoskrnl/dbg/kdb.c: Include <ctype.h>.
135 * subsys/win32k/ntuser/message.c (NtUserDispatchMessage): Kill noisy
136 message.
137
138 2003-12-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
139
140 * tools/wine2ros: New directory.
141 * tools/wine2ros/Makefile: New file.
142 * tools/wine2ros/wine2ros.c: Ditto.
143 * tools/Makefile (wine2ros_target): Add.
144 * rules.mak (WINE2ROS): Define.
145
146 2003-12-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
147
148 Changes for compiling with w32api/Wine
149
150 * include/basetsd.h: #include_next <basetsd.h>. Add definitions missing
151 in w32api.
152 * include/mmddk.h: #include_next <mmddk.h>. Add definitions missing in
153 w32api.
154 * include/wine/winternl.h (DbgPrint): Use ReactOS prototype to avoid
155 conflicts.
156
157 2003-12-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
158
159 * rules.mak (WINEBUILD): Define.
160 * tools/winebuild/Makefile: New file.
161 * tools/winebuild/import.c (ldcombine_files): Replace mkstemps with Win32
162 APIs.
163 * tools/winebuild/main.c (main): Win16 specs and relays are not supported.
164 * tools/winebuild/spec32.c (EXCEPTION_WINE_STUB, EH_NONCONTINUABLE):
165 Define.
166 (BuildDef32File): Don't emit PRIVATE.
167
168 2003-12-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
169
170 * tools/winebuild: Import winebuild from Wine (D20031208).
171
172 2003-12-08 Casper S. Hornstrup <chorns@users.sourceforge.net>
173
174 * include/win32k/text.h (NtGdiExtTextOut): Follow ExtTextOut prototype.
175 * lib/gdi32/objects/text.c (ExtTextOutW): Call NtGdiExtTextOut().
176 * lib/user32/controls/edit.c (EDIT_BuildLineDefs_ML): Order parameters to
177 CreateRectRgn().
178 * lib/user32/windows/draw.c (TabbedTextOutA): Implement.
179 (TEXT_TabbedTextOut): New function.
180 (TabbedTextOutW): Implement.
181 * subsys/win32k/objects/text.c (NtGdiExtTextOut): Call NtGdiTextOut() for
182 now.
183
184 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
185
186 * lib/user32/windows/accel.c (U32IsValidAccelMessage): Translate WM_KEYUP
187 and WM_SYSKEYUP messages.
188 (TranslateAcceleratorA): Returntype of RtlMultiByteToUnicodeN is NTSTATUS,
189 so interpret it as such.
190 * subsys/win32k/ntuser/accelerator.c (NtUserDestroyAcceleratorTable):
191 Call ObmCloseHandle() before destroying the object.
192 (IntTranslateAccelerator): New function.
193 (NtUserTranslateAccelerator): Partial implementation.
194
195 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
196
197 * subsys/win32k/include/accelerator.h: New file.
198 * subsys/win32k/ntuser/accelerator.c: Ditto.
199 * include/win32k/ntuser.h (NtUserDestroyAcceleratorTable): Make returntype
200 BOOLEAN.
201 * subsys/win32k/makefile (NTUSER_OBJECTS): Add ntuser/accelerator.o.
202 * subsys/win32k/include/object.h (USER_OBJECT_TYPE): Add otAcceleratorTable.
203 * subsys/win32k/main/dllmain.c (DllMain): Call InitAcceleratorImpl().
204 * subsys/win32k/ntuser/stubs.c (NtUserCopyAcceleratorTable,
205 NtUserCreateAcceleratorTable, NtUserDestroyAcceleratorTable,
206 NtUserTranslateAccelerator): Move to accelerator.c.
207
208 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
209
210 * apps/tests/accelerator: New directory.
211 * apps/tests/accelerator/accelerator.c: New file.
212 * apps/tests/accelerator/.cvsignore: Ditto.
213 * apps/tests/accelerator/Makefile: Ditto.
214 * apps/tests/Makefile (TEST_APPS): Add accelerator.
215
216 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
217
218 * regtests/Makefile: Generate regression test registrations.
219 * regtests/kmregtests/.cvsignore: Ignore Makefile.tests.
220 * regtests/win32base/.cvsignore: Ditto.
221 * regtests/kmregtests/Makefile: Include Makefile.tests.
222 * regtests/win32base/Makefile: Ditto.
223 * regtests/kmregtests/tests: New directory.
224 * regtests/win32base/tests: Ditto.
225 * regtests/kmregtests/tests/.cvsignore: New file.
226 * regtests/win32base/tests/.cvsignore: Ditto.
227 * tools/helper.mk: Remove TARGET_GENREGTESTS.
228 * tools/regtests.c: Generate makefile for regression tests.
229 (change_extension): New function.
230 * regtests/win32base/file-1.c: Move ...
231 * regtests/win32base/tests/file-1.c: ... here.
232
233 2003-12-06 Martin Fuchs <martin-fuchs@gmx.net>
234 * Doxyfile, Makefile: initial doxygen configuration
235 * drivers/Doxyfile, drivers/Makefile: Ditto.
236 * ntoskrnl/Doxyfile, ntoskrnl/Makefile: Ditto.
237 * subsys/win32k/Doxyfile, subsys/win32k/Makefile: Ditto.
238 * apps/Doxyfile, apps/Makefile: Ditto.
239
240 2003-11-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
241
242 * tools/cabman/dfp.cxx (CDFParser::Parse): Allow TokenString.
243 (CDFParser::PerformFileCopy): Use CurrentChar instead of length of
244 CurrentString to find the start of the next token.
245
246 2003-11-08 Martin Fuchs <martin-fuchs@gmx.net>
247
248 * controls/button.c partial fix for for Bug #42:
249 activate Ansi window procedures for standard controls
250 * controls/combo.c Ditto.
251 * controls/edit.c Ditto.
252 * controls/icontitle.c Ditto.
253 * controls/listbox.c Ditto.
254 * controls/static.c Ditto.
255 * windows/dialog.c Ditto.
256 * windows/mdi.c Ditto.
257 * windows/menu.c Ditto.
258 * windows/defwnd.c Fixed WM_GETTEXT error handling in DefWindowProcW().
259
260 2003-10-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
261
262 * Makefile: New target uboot for simple unattended setup.
263 * bootdata/unattend.inf.sample: Sample unattended setup script.
264 * subsys/system/usetup/partlist.c (SelectPartition): New function.
265 * subsys/system/usetup/partlist.h (SelectPartition): Prototype.
266 * subsys/system/usetup/usetup.c: Support unattended setup.
267 (IsUnattendedSetup, UnattendDestinationDiskNumber,
268 UnattendDestinationPartitionNumber, UnattendInstallationDirectory):
269 New.
270 (CheckUnattendedSetup, InstallDirectoryPage1): New function.
271
272 2003-08-30 Filip Navara <xnavara@volny.cz>
273
274 * tools/cabman/cabinet.cxx (CCabinet::ConvertPath): NULL-terminate
275 newpath.
276
277 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
278
279 * tools/rmkdir.c: Fix for absolute paths.
280
281 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
282
283 * tools/rmkdir.c: Create all (sub)directories in path on win32.
284
285 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
286
287 * bootdata/packages/reactos.dff: Don't include winmm.dll in reactos.cab.
288
289 2003-08-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
290
291 * Makefile: Copy freeloader files to bootable CD.
292
293 2003-08-28 Martin Fuchs <martin-fuchs@gmx.net>
294
295 * subsys/system/explorer/taskbar/startmenu.cpp,
296 subsys/system/explorer/shell/shellbrowser.cpp:
297 Implemented control panel window in cabinet view mode.
298
299 2003-08-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
300
301 * Makefile: Support creating compressed bootable CDs.
302 * rules.mak (HOST_CXX, HOST_AR, CABMAN): Define.
303 * bootdata/txtsetup.sif: Add Cabinets section.
304 Remove files that are put in reactos.cab.
305 * subsys/system/usetup/filequeue.c (SetupCloseFileQueue): Release
306 memory allocated for SourceCabinet.
307 (SetupQueueCopy): Support copying files in cabinets.
308 (SetupCommitFileQueue): Support copying files in cabinets.
309 * subsys/system/usetup/filequeue.h (SetupQueueCopy): Add SourceCabinet
310 parameter.
311 * subsys/system/usetup/filesup.c (SetupExtractFile): New function.
312 * subsys/system/usetup/filesup.h (SetupExtractFile): Prototype.
313 * subsys/system/usetup/infcache.c (InfOpenBufferedFile): New function.
314 * subsys/system/usetup/infcache.h (InfOpenBufferedFile): Prototype.
315 * subsys/system/usetup/makefile (TARGET_SDKLIBS): Add zlib.a.
316 (TARGET_CFLAGS): Add zlib to include path.
317 (TARGET_OBJECTS): Add cabinet.o.
318 * subsys/system/usetup/usetup.c (PrepareCopyPageInfFile): New function.
319 (PrepareCopyPage): Process Cabinets section.
320 * tools/helper.mk: Support C++ applications.
321 * rosbin.txt: Remove.
322 * bootdata/packages: New directory.
323 * bootdata/packages/reactos.dff: New file.
324 * lib/zlib/Makefile.host: New file.
325 * subsys/system/usetup/cabinet.c: Ditto.
326 * subsys/system/usetup/cabinet.h: Ditto.
327 * tools/cabman: New directory.
328 * tools/cabman/.cvsignore: New file.
329 * tools/cabman/cabinet.cxx: Ditto.
330 * tools/cabman/cabinet.h: Ditto.
331 * tools/cabman/cabman.h: Ditto.
332 * tools/cabman/dff.txt: Ditto.
333 * tools/cabman/dfp.cxx: Ditto.
334 * tools/cabman/dfp.h: Ditto.
335 * tools/cabman/main.cxx: Ditto.
336 * tools/cabman/makefile: Ditto.
337 * tools/cabman/makefile.win32: Ditto.
338 * tools/cabman/mszip.cxx: Ditto.
339 * tools/cabman/mszip.h: Ditto.
340 * tools/cabman/raw.cxx: Ditto.
341 * tools/cabman/raw.h: Ditto.
342
343 2003-08-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
344
345 * include/structs.h: Apply packed attribute to the typedef, not the
346 type's name.
347 * include/ntos/keyboard.h: Ditto.
348 * include/ntos/tss.h: Ditto.
349 * include/win32k/cursoricon.h: Ditto.
350 * include/win32k/math.h: Include the compiler's math.h for builtins.
351 * ntoskrnl/nt/vdm.c (NtEarlyInitVdm): Avoid warning when compiling using
352 GCC 3.4.
353
354 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
355
356 * apps/tests/tcpsvr/tcpsvr.c (main): Fix multiline string constant.
357
358 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
359
360 * apps/utils/stats/stats.c (ReadLine): Handle unix end-of-line characters.
361
362 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
363
364 * apps/tests/Makefile (TEST_APPS): Remove patblt and stretchblt
365 as they break full make.
366
367 2003-08-22 Martin Fuchs <martin-fuchs@gmx.net>
368
369 * subsys/system/explorer/taskbar/traynotify.cpp:
370 Added tray notification area.
371 Implemented quick launch bar.
372
373 2003-08-22 Martin Fuchs <martin-fuchs@gmx.net>
374
375 * include/wine/commctrl.h:
376 Removed commctrl.h header file to use the one of W32API headers.
377
378 2003-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
379
380 * subsys/win32k/ntuser/menu.c (IntSetMenuDefaultItem,
381 IntGetMenuDefaultItem): Fix unsigned/signed warnings.
382
383 2003-08-19 Martin Fuchs <martin-fuchs@gmx.net>
384
385 * subsys/system/explorer/taskbar/startmenu.cpp:
386 Implemented navigation in submenus of the start menu.
387 Start menus can now resolve shortcuts and launch programs.
388
389 2003-08-18 Martin Fuchs <martin-fuchs@gmx.net>
390
391 * subsys/system/explorer/taskbar/taskbar.cpp:
392 First draft of explorer start menu.
393
394 2003-08-17 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
395
396 * include/csrss/: csrss.h: implemented Ctrl Event handler
397 * subsys/csrss/api/: conio.c:
398 * subsys/csrss/: api.h:
399 * lib/kernel32/misc/: console.c:
400
401 2003-08-16 Martin Fuchs <martin-fuchs@gmx.net>
402
403 * subsys/system/explorer/taskbar/taskbar.cpp:
404 first draft of working task bar
405
406 2003-08-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
407
408 * include/win32k/ntuser.h (NtUserGetClassName): Make nMaxCount an ULONG.
409 * subsys/win32k/dib/dib16bpp.c: Fix unsigned/signed warnings.
410 * subsys/win32k/dib/dib1bpp.c: Ditto.
411 * subsys/win32k/dib/dib32bpp.c: Ditto.
412 * subsys/win32k/dib/dib4bpp.c: Ditto.
413 * subsys/win32k/dib/dib8bpp.c: Ditto.
414 * subsys/win32k/eng/lineto.c: Ditto.
415 * subsys/win32k/eng/mouse.c: Ditto.
416 * subsys/win32k/eng/xlate.c: Ditto.
417 * subsys/win32k/misc/driver.c: Ditto.
418 * subsys/win32k/ntuser/class.c: Ditto.
419 * subsys/win32k/ntuser/keyboard.c: Ditto.
420 * subsys/win32k/ntuser/timer.c: Ditto.
421 * subsys/win32k/ntuser/window.c: Ditto.
422 * subsys/win32k/objects/bitmaps.c: Ditto.
423 * subsys/win32k/objects/color.c: Ditto.
424 * subsys/win32k/objects/coord.c: Ditto.
425 * subsys/win32k/objects/dib.c: Ditto.
426 * subsys/win32k/objects/path.c: Ditto.
427 * subsys/win32k/objects/region.c: Ditto.
428 * subsys/win32k/objects/text.c: Ditto.
429
430 2003-08-13 Martin Fuchs <martin-fuchs@gmx.net>
431
432 * subsys/system/explorer/taskbar/ex_bar.c, ex_menu.c:
433 Make explorer bar look more like windows taskbar bar
434
435 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
436
437 * subsys/system/explorer/*.c: Subclassing of shell window for drawing
438 desktop background. Open child folders by double click in
439 ShellBrowserChild
440
441 2003-08-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
442
443 * bootdata/txtsetup.sif (SetupData): Add /NOBOOTSCREEN to OsLoadOptions.
444 * hal/halx86/display.c (CHAR_ATTRIBUTE_BLACK): Define.
445 (HalClearDisplay): Add CharAttribute parameter.
446 (HalInitializeDisplay, HalReleaseDisplayOwnership): Blue screen.
447 * hal/halx86/halinit.c (DriverEntry): Blue screen for boot phase 2.
448 * include/reactos/resource.h (IDB_BOOTIMAGE): Define.
449 * ntoskrnl/Makefile: Add boot video objects.
450 * ntoskrnl/Makefile.i386: Ditto.
451 * ntoskrnl/ntoskrnl.def: Add boot video exports.
452 * ntoskrnl/ntoskrnl.edf: Ditto.
453 * ntoskrnl/ntoskrnl.rc (IDB_BOOTIMAGE): Define.
454 * ntoskrnl/include/internal/kd.h (KdInit3): Add.
455 * ntoskrnl/kd/kdebug.c (KdInitSystem): Print information in KdInit3.
456 * ntoskrnl/ke/bug.c (KeBugCheckWithTf, KeBugCheckEx): Switch to
457 text-mode on crash if needed.
458 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Display bootscreen image
459 during boot.
460 * ntoskrnl/ke/i386/v86m_sup.S (_KiV86Complete): Restore previous mode and
461 old exception handler list.
462 * subsys/csrss/init.c: Change PrintString to DPRINT1.
463 * subsys/smss/init.c: Change PrintString to DPRINT1.
464 (SignalInitEvent): New.
465 (InitSessionManager): Call SignalInitEvent to switch to text-mode if
466 needed.
467 * subsys/smss/smss.c: Change PrintString to DPRINT1.
468 * ntoskrnl/inbv: New directory.
469 * ntoskrnl/inbv/i386: Ditto.
470 * ntoskrnl/res: Ditto.
471 * include/ntos/bootvid.h: New file.
472 * ntoskrnl/inbv/.cvsignore: Ditto.
473 * ntoskrnl/inbv/bootvid.c: Ditto.
474 * ntoskrnl/inbv/inbv.c: Ditto.
475 * ntoskrnl/inbv/i386/.cvsignore: Ditto.
476 * ntoskrnl/inbv/i386/pixelsup.S: Ditto.
477 * ntoskrnl/res/bootimage.bmp: Ditto.
478
479 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
480
481 * win32k/ntuser/window.c implemented NtUserSetShellWindowEx() and
482 introduced NtUserGetShellWindow().
483 * iface/addsys/w32ksvc.db added new syscall for NtUserGetShellWindow().
484 * lib/user32/misc/desktop.c: moved SetShellWindowEx() implementation
485 in kernal space, see NtUserSetShellWindowEx().
486
487 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
488
489 * subsys/system/explorer implemented explorer and desktop window
490 using shell view.
491
492 2003-08-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
493
494 * lib/user32/windows/dialog.c (GetDlgItemInt): Fix unsigned/signed
495 warning.
496 * lib/user32/windows/menu.c (IsMenu): Ditto.
497 * lib/user32/windows/messagebox.c (MSGBOX_OnInit): Ditto.
498 * ntoskrnl/mm/ppool.c: Ditto.
499
500 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
501
502 * include/func.h: added GetShellWindow()
503 * lib/user32/misc/desktop.c: implemented GetShellWindow(),
504 SetShellWindow() and SetShellWindowEx().
505 * lib/user32/user32.def: Ditto.
506 * lib/user32/user32.edf: Ditto.
507
508 2003-07-29 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
509
510 Patch by Art Yerkes <ayerkes@speakeasy.net>
511 * apps/utils/consw/: consw.c makefile runprg.bat Adding Keyboard
512 Testing Code
513
514 In order to use this patch you need a keyboard dll named kbdus.dll.
515 The dll is loaded at runtime, when TranslateMessage is called the
516 first time. Since these dlls are really simple (the kbd_us example
517 is in the DDK), it should be easy to make an LGPL one that gets
518 shipped with ReactOS. The one I am testing with so far is the one
519 from win2k. (arty)
520
521 I've tested this patch it works okay w/o kbdus.dll installed. (jt)
522
523 * apps/utils/Makefile: Main part of patch.
524 * ntoskrnl/include/internal/: kbd.h Ditto.
525 * subsys/csrss/api/conio.c: Ditto.
526 * subsys/csrss/api/wapi.c: Ditto.
527 * subsys/win32k/ldr/loader.c: Ditto.
528 * subsys/win32k/ntuser/input.c: Ditto.
529 * subsys/win32k/ntuser/keyboard.c: Ditto.
530
531 2003-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
532
533 * drivers/fs/vfat/*.c: Remove protection of NDEBUG.
534
535 2003-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
536
537 Move welcome from rosapps to here and beautify it a bit.
538
539 * Makefile: Copy bootdata/autorun.inf, and bootdata/icon.ico to CD.
540 (SYS_APPS) Add welcome.
541 * include/defines.h (BS_FLAT): Define.
542 * bootdata/autorun.inf: New file.
543 * bootdata/icon.ico: Ditto.
544 * subsys/system/welcome: New directory.
545 * subsys/system/welcome/.cvsignore: New file.
546 * subsys/system/welcome/Makefile: Ditto.
547 * subsys/system/welcome/resource.h: Ditto.
548 * subsys/system/welcome/welcome.c: Ditto.
549 * subsys/system/welcome/welcome.rc: Ditto.
550 * subsys/system/welcome/res/: New directory.
551 * subsys/system/welcome/res/background-right.bmp: New file.
552 * subsys/system/welcome/res/background-top.bmp: Ditto.
553 * subsys/system/welcome/res/default.bmp: Ditto.
554 * subsys/system/welcome/res/icon.ico: Ditto.
555 * subsys/system/welcome/res/topic0.bmp: Ditto.
556 * subsys/system/welcome/res/topic1.bmp: Ditto.
557 * subsys/system/welcome/res/topic2.bmp: Ditto.
558
559 2003-07-23 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
560
561 lib/user32/misc/: stubs.c Removed stub for ClientToScreen.
562 lib/user32/windows/: window.c Implemented ClientToScreen &
563 IsIconic.
564
565 2003-07-20 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
566
567 * include/win32k/ntuser.h Implemented GetKeyState, GetKeyboardState &
568 SetKeyboardState.
569 * subsys/win32k/ntuser/stubs.c
570 * subsys/win32k/ntuser/keyboard.c
571 * lib/user32/windows/input.c
572
573 2003-07-20 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
574
575 * lib/gdi32/misc/stubs.c Implemented Unpluged DC code.
576 * lib/gdi32/objects/dc.c ditto
577 * lib/gdi32/objects/line.c ditto
578 * lib/gdi32/objects/text.c ditto
579 * lib/gdi32/objects/region.c ditto
580 * lib/user32/windows/draw.c Implemented FrameRect, InvertRect and
581 DrawFocusRect.
582
583 2003-07-18 Royce Mitchell III <royce3@ev1.net>
584
585 * drivers/fs/vfat/volume.c: fixed bug lines 88, 92 - wasn't copying
586 null-terminator.
587
588 2003-07-18 Royce Mitchell III <royce3@ev1.net>
589
590 * include/defines.h: added missing DISP_CHANGE_BADPARAM
591 * include/ntos/gditypes.h: fixed DEVMODEA/W structures
592 (had to move POINTL structure from structs.h)
593 * include/win32k/ntuser.h: fixed some parameter lists
594 * subsys/win32k/ntuser/stubs.c: ditto
595 * lib/user32/misc/devmode.c: new function USER32_DevModeA2W
596 converts DEVMODEA structure to a DEVMODEW
597 * lib/user32/include/user32.h: declaration for USER32_DevModeA2W
598 * lib/user32/makefile: added misc/devmode.c
599 * lib/user32/misc/desktop.c: converting CreateDesktopA's
600 DEVMODEA to a DEVMODEW now.
601 * lib/user32/misc/display.c: implemented all functions except
602 GetMonitorInfoA/W
603
604 2003-07-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
605
606 * drivers/fs/ntfs/notes.txt: New file.
607 * drivers/fs/ntfs/close.c: Ditto.
608 * drivers/fs/ntfs/rw.c: Ditto.
609 * drivers/fs/ntfs/attrib.c: Change Cdfs prefix to Ntfs.
610 * drivers/fs/ntfs/fcb.c: Ditto.
611 * drivers/fs/ntfs/finfo.c: Ditto.
612 * drivers/fs/ntfs/fsctl.c: Ditto.
613 * drivers/fs/ntfs/volinfo.c: Ditto.
614 * drivers/fs/ntfs/ntfs.c (DriverEntry): Set remaining dispatch functions.
615 * drivers/fs/ntfs/ntfs.h: Change Cdfs prefix to Ntfs.
616 (NTFS_RECORD_HEADER, FILE_RECORD_HEADER): Document fields.
617 * drivers/fs/ntfs/makefile (TARGET_OBJECTS): Add close.o rw.o.
618
619 2003-07-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
620
621 * INSTALL: Update installation instructions.
622
623 2003-07-16 Royce Mitchell III <royce3@ev1.net>
624
625 * modifed strtok & wcstok in msvcrt so that crtdll can use it.
626 * new private support functions _lasttoken and _wlasttoken to support
627 strtok and wcstok respectively.
628 * fixed lib/msvcrt/stdio/vfscanf.c to remove unnecessary globals.
629 * changed crtdll to use msvcrt's stdio/scanf.c
630
631 2003-07-16 Royce Mitchell III <royce3@ev1.net>
632
633 * fixed warnings at lib/msvcrt/stdio/fputs.c:79
634 and lib/msvcrt/stdlib/errno.c:14
635 and lib/msvcrt/stdlib/wputenv.c:24
636
637 2003-07-16 Royce Mitchell III <royce3@ev1.net>
638
639 * integrated Art Yerkes' _ftime implementation at
640 lib/msvcrt/time/ftime.c
641 * fixed ungetc warning in lib/msvcrt/stdio/vfscanf.c (also
642 renamed ungetc macro to UNGETC for clarity)
643
644 2003-07-15 Royce Mitchell III <royce3@ev1.net>
645
646 * fixed references to errno in MSVCRT to use __set_errno() and
647 _errno() respectively.
648 * Fixed warning (args 3 & 6 in call to CreateThread) in
649 lib/msvcrt/process/threadx.c
650
651 2003-07-15 Royce Mitchell III <royce3@ev1.net>
652
653 * modified crtdll to forward most of it's CTYPE, STRING
654 and WSTRING entries to NTDLL or MSVCRT.
655
656 2003-07-14 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
657
658 * lib/gdi32/misc/stubs.c Remove FillRgn.
659 * lib/gdi32/objects/region.c Add FillRng.
660 It looks okay.
661
662 2003-07-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
663
664 Changes for compiling with w32api
665
666 * include/ddk/extypes.h (NPAGED_LOOKASIDE_LIST, PAGED_LOOKASIDE_LIST):
667 Match w32api fields.
668 * include/ddk/halfuncs.h (HalReturnToFirmware, HalReleaseDisplayOwnership,
669 HalQueryDisplayOwnership): Move ...
670 * include/ntos/halfuncs.h: ... here.
671 * include/ntos/rtl.h: (PopEntrySList, PushEntrySList): Move to
672 ntoskrnl/ex/lookas.c.
673 * include/ntos/zw.h (NtAccessCheckAndAuditAlarm, NtCancelTimer,
674 NtCreatePagingFile, NtCreateThread, NtFlushInstructionCache,
675 NtFlushVirtualMemory, NtGetTickCount, NtLoadKey, NtLockVirtualMemory,
676 NtOpenObjectAuditAlarm, NtProtectVirtualMemory, NtQueryDirectoryObject,
677 NtQueryIntervalProfile, NtQueryVirtualMemory, NtRaiseHardError,
678 NtSetInformationKey, NtSetInformationObject, NtSetTimer, NtUnloadKey,
679 NtUnlockVirtualMemory, NtWaitForMultipleObjects, NtCreateProfile,
680 NtDelayExecution, NtExtendSection, NtQuerySection): Include for w32api.
681 * ntoskrnl/ntoskrnl.def (ExInterlockedAddUlong,
682 ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
683 ExInterlockedPopEntryList, ExInterlockedPushEntryList,
684 ExInterlockedRemoveHeadList): Make FASTCALL.
685 * ntoskrnl/ntoskrnl.edf: Ditto.
686 * ntoskrnl/ex/list.c: Ditto.
687 * include/ddk/exfuncs.h: Ditto.
688 (InterlockedPopEntrySList, InterlockedPushEntrySList,
689 ExAllocateFromPagedLookasideList, ExFreeToPagedLookasideList): Add.
690 * ntoskrnl/ex/interlck.c (ExInterlockedDecrementLong,
691 ExInterlockedAddUlong, ExInterlockedIncrementLong): Undefine if defined.
692 * ntoskrnl/ex/lookas.c (PopEntrySList, PushEntrySList,
693 LookasideListLock): Add.
694 * drivers/dd/blue/blue.c: Include <roskrnl.h>.
695 * drivers/dd/videoprt/videoprt.c: Ditto.
696
697 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
698
699 * lib/user32/controls/edit.c (EDIT_EM_SetLimitText,
700 EDIT_WM_StyleChanged): Fix unsigned/signed warning.
701
702 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
703
704 * config (DBG): Default to 0.
705
706 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
707
708 * regtests: New directory.
709 * regtests/kmregtests: Ditto.
710 * regtests/kmrtint: Ditto.
711 * regtests/regtests: Ditto.
712 * regtests/shared: Ditto.
713 * regtests/win32base: Ditto.
714 * include/roskrnl.h: New file.
715 * regtests/Makefile: Ditto.
716 * regtests/kmregtests/.cvsignore: Ditto.
717 * regtests/kmregtests/driver.c: Ditto.
718 * regtests/kmregtests/kmregtests.h: Ditto.
719 * regtests/kmregtests/Makefile: Ditto.
720 * regtests/kmrtint/.cvsignore: Ditto.
721 * regtests/kmrtint/kmrtint.c: Ditto.
722 * regtests/kmrtint/kmrtint.def: Ditto.
723 * regtests/kmrtint/kmrtint.edf: Ditto.
724 * regtests/kmrtint/Makefile: Ditto.
725 * regtests/regtests/.cvsignore: Ditto.
726 * regtests/regtests/Makefile: Ditto.
727 * regtests/regtests/regtests.c: Ditto.
728 * regtests/shared/.cvsignore: Ditto.
729 * regtests/shared/Makefile: Ditto.
730 * regtests/shared/regtests.c: Ditto.
731 * regtests/shared/regtests.h: Ditto.
732 * regtests/win32base/.cvsignore: Ditto.
733 * regtests/win32base/driver.c: Ditto.
734 * regtests/win32base/file-1.c: Ditto.
735 * regtests/win32base/Makefile: Ditto.
736 * regtests/win32base/win32base.def: Ditto.
737 * regtests/win32base/win32base.edf: Ditto.
738 * tools/regtests.c: Ditto.
739 * Makefile: Add target regtests.
740 * config: Add SEH option.
741 * rules.mak: Add tool REGTESTS.
742 * bootdata/hivesys.inf: Add service kmregtests.
743 * include/win32k/bitmaps.h (DIB_BitmapInfoSize): Correct prototype.
744 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Reverse wrong boolean
745 expression.
746 * ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
747 * tools/Makefile: Add tool regtests.
748 * tools/config.mk: Handle SEH option.
749 * tools/helper.mk: Support regression tests.
750
751 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
752
753 * apps/tests/bitblt/bitblt.c (MainWndProc): Declare variables
754 before any statements are processed in the scope.
755 * apps/tests/icontest/icontest.c (WinMain): Ditto.
756 * apps/tests/wm_paint/wm_paint.c (WinMain, MainWndProc): Ditto.
757
758 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
759
760 * lib/user32/controls/button.c (PB_Paint, GB_Paint): Declare variables
761 before any statements are processed in the scope.
762 * lib/user32/controls/combo.c (CBPaintButton): Ditto.
763 * lib/user32/windows/accel.c (TranslateAcceleratorA): Ditto.
764 * subsys/win32k/include/class.h (W32kGetClassLong): Fix prototype.
765 * subsys/win32k/ntuser/class.c (W32kGetClassLong): Match prototype.
766 * subsys/win32k/ntuser/windc.c (DceAllocDCE): Ditto.
767 * subsys/win32k/ntuser/window.c (DestroyThreadWindows): Ditto.
768
769 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
770
771 * tools/rgenstat/rgenstat.c (process_directory): Fix building on Windows.
772
773 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
774
775 * tools/rgenstat/rgenstat.c (API_INFO): Add filename field.
776 (path_to_url, get_filename): New functions.
777 (parse_file, process_directory): Build cvs path.
778 (generate_xml_for_component): Set file attribute on a function.
779 * tools/rgenstat/web/rapistatus.css (.h): New class.
780 * tools/rgenstat/web/rapistatus.js (clickHandler): Go to the file in
781 ViewCVS on click on a function.
782 * tools/rgenstat/web/rapistatus.xsl: Handle file attribute.
783
784 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
785
786 * subsys/win32k/objects/region.c (W32kFillRgn): Fix syntax error.
787
788 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
789
790 * tools/rgenstat/rgenstat.c (get_previous_identifier): Skip end-of-line
791 characters when searching for identifier.
792 (parse_file): Print a warning if no identifier is found.
793
794 2003-07-10 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
795
796 * subsys/win32k/objects/region.c: (W32kFillRgn) Implement.
797
798 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
799
800 * lib/winspool/stubs.c: Add @implemented and @unimplemented to APIs.
801
802 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
803
804 * lib/wsock32/stubs.c: Add @implemented and @unimplemented to APIs.
805
806 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
807
808 * lib/ws2_32/misc/bsd.c: Add @implemented and @unimplemented to APIs.
809 * lib/ws2_32/misc/dllmain.c: Ditto.
810 * lib/ws2_32/misc/event.c: Ditto.
811 * lib/ws2_32/misc/ns.c: Ditto.
812 * lib/ws2_32/misc/sndrcv.c: Ditto.
813 * lib/ws2_32/misc/stubs.c: Ditto.
814 * lib/ws2_32/misc/upcall.c: Ditto.
815
816 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
817
818 * drivers/dd/videoprt/videoprt.c: Add @implemented and @unimplemented
819 to APIs.
820
821 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
822
823 * lib/version/misc/stubs.c: Add @implemented and @unimplemented to APIs.
824
825 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
826
827 * lib/user32/misc/dde.c: Add @implemented and @unimplemented to APIs.
828 * lib/user32/misc/desktop.c: Ditto.
829 * lib/user32/misc/display.c: Ditto.
830 * lib/user32/misc/exit.c: Ditto.
831 * lib/user32/misc/object.c: Ditto.
832 * lib/user32/misc/resources.c: Ditto.
833 * lib/user32/misc/sprintf.c: Ditto.
834 * lib/user32/misc/stubs.c: Ditto.
835 * lib/user32/misc/timer.c: Ditto.
836 * lib/user32/misc/winhelp.c: Ditto.
837 * lib/user32/misc/winsta.c: Ditto.
838 * lib/user32/windows/accel.c: Ditto.
839 * lib/user32/windows/bitmap.c: Ditto.
840 * lib/user32/windows/class.c: Ditto.
841 * lib/user32/windows/clipboard.c: Ditto.
842 * lib/user32/windows/cursor.c: Ditto.
843 * lib/user32/windows/dc.c: Ditto.
844 * lib/user32/windows/defwnd.c: Ditto.
845 * lib/user32/windows/dialog.c: Ditto.
846 * lib/user32/windows/draw.c: Ditto.
847 * lib/user32/windows/font.c: Ditto.
848 * lib/user32/windows/hook.c: Ditto.
849 * lib/user32/windows/icon.c: Ditto.
850 * lib/user32/windows/input.c: Ditto.
851 * lib/user32/windows/mdi.c: Ditto.
852 * lib/user32/windows/menu.c: Ditto.
853 * lib/user32/windows/message.c: Ditto.
854 * lib/user32/windows/messagebox.c: Ditto.
855 * lib/user32/windows/nonclient.c: Ditto.
856 * lib/user32/windows/paint.c: Ditto.
857 * lib/user32/windows/prop.c: Ditto.
858 * lib/user32/windows/rect.c: Ditto.
859 * lib/user32/windows/text.c: Ditto.
860 * lib/user32/windows/window.c: Ditto.
861
862 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
863
864 * drivers/net/tdi/cte/string.c: Add @implemented and @unimplemented to
865 APIs.
866 * drivers/net/tdi/cte/stubs.c: Ditto.
867 * drivers/net/tdi/tdi/dereg.c: Ditto.
868 * drivers/net/tdi/tdi/handler.c: Ditto.
869 * drivers/net/tdi/tdi/obsolete.c: Ditto.
870 * drivers/net/tdi/tdi/stubs.c: Ditto.
871
872 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
873
874 * lib/snmpapi/snmpapi.c: Add @implemented and @unimplemented to APIs.
875
876 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
877
878 * lib/secur32/lsa.c: Add @implemented and @unimplemented to APIs.
879
880 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
881
882 * drivers/storage/scsiport/scsiport.c: Add @implemented and
883 @unimplemented to APIs.
884
885 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
886
887 * drivers/net/ndis/ndis/40gone.c: Add @implemented and @unimplemented
888 to APIs.
889 * drivers/net/ndis/ndis/50gone.c: Ditto.
890 * drivers/net/ndis/ndis/buffer.c: Ditto.
891 * drivers/net/ndis/ndis/cl.c: Ditto.
892 * drivers/net/ndis/ndis/cm.c: Ditto.
893 * drivers/net/ndis/ndis/co.c: Ditto.
894 * drivers/net/ndis/ndis/control.c: Ditto.
895 * drivers/net/ndis/ndis/hardware.c: Ditto.
896 * drivers/net/ndis/ndis/io.c: Ditto.
897 * drivers/net/ndis/ndis/memory.c: Ditto.
898 * drivers/net/ndis/ndis/miniport.c: Ditto.
899 * drivers/net/ndis/ndis/protocol.c: Ditto.
900 * drivers/net/ndis/ndis/string.c: Ditto.
901 * drivers/net/ndis/ndis/stubs.c: Ditto.
902 * drivers/net/ndis/ndis/time.c: Ditto.
903
904 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
905
906 * lib/kernel32/debug/break.c: Add @implemented and @unimplemented
907 to APIs.
908 * lib/kernel32/debug/debugger.c: Ditto.
909 * lib/kernel32/debug/output.c: Ditto.
910 * lib/kernel32/except/except.c: Ditto.
911 * lib/kernel32/file/backup.c: Ditto.
912 * lib/kernel32/file/cnotify.c: Ditto.
913 * lib/kernel32/file/copy.c: Ditto.
914 * lib/kernel32/file/create.c: Ditto.
915 * lib/kernel32/file/curdir.c: Ditto.
916 * lib/kernel32/file/delete.c: Ditto.
917 * lib/kernel32/file/deviceio.c: Ditto.
918 * lib/kernel32/file/dir.c: Ditto.
919 * lib/kernel32/file/dosdev.c: Ditto.
920 * lib/kernel32/file/file.c: Ditto.
921 * lib/kernel32/file/find.c: Ditto.
922 * lib/kernel32/file/iocompl.c: Ditto.
923 * lib/kernel32/file/lfile.c: Ditto.
924 * lib/kernel32/file/lock.c: Ditto.
925 * lib/kernel32/file/mailslot.c: Ditto.
926 * lib/kernel32/file/move.c: Ditto.
927 * lib/kernel32/file/npipe.c: Ditto.
928 * lib/kernel32/file/pipe.c: Ditto.
929 * lib/kernel32/file/rw.c: Ditto.
930 * lib/kernel32/file/tape.c: Ditto.
931 * lib/kernel32/file/volume.c: Ditto.
932 * lib/kernel32/mem/global.c: Ditto.
933 * lib/kernel32/mem/heap.c: Ditto.
934 * lib/kernel32/mem/isbad.c: Ditto.
935 * lib/kernel32/mem/local.c: Ditto.
936 * lib/kernel32/mem/procmem.c: Ditto.
937 * lib/kernel32/mem/section.c: Ditto.
938 * lib/kernel32/mem/virtual.c: Ditto.
939 * lib/kernel32/misc/atom.c: Ditto.
940 * lib/kernel32/misc/comm.c: Ditto.
941 * lib/kernel32/misc/computername.c: Ditto.
942 * lib/kernel32/misc/console.c: Ditto.
943 * lib/kernel32/misc/env.c: Ditto.
944 * lib/kernel32/misc/error.c: Ditto.
945 * lib/kernel32/misc/errormsg.c: Ditto.
946 * lib/kernel32/misc/handle.c: Ditto.
947 * lib/kernel32/misc/ldr.c: Ditto.
948 * lib/kernel32/misc/mbchars.c: Ditto.
949 * lib/kernel32/misc/muldiv.c: Ditto.
950 * lib/kernel32/misc/perfcnt.c: Ditto.
951 * lib/kernel32/misc/profile.c: Ditto.
952 * lib/kernel32/misc/res.c: Ditto.
953 * lib/kernel32/misc/stubs.c: Ditto.
954 * lib/kernel32/misc/sysinfo.c: Ditto.
955 * lib/kernel32/misc/time.c: Ditto.
956 * lib/kernel32/misc/toolhelp.c: Ditto.
957 * lib/kernel32/process/cmdline.c: Ditto.
958 * lib/kernel32/process/create.c: Ditto.
959 * lib/kernel32/process/proc.c: Ditto.
960 * lib/kernel32/process/session.c: Ditto.
961 * lib/kernel32/string/lstring.c: Ditto.
962 * lib/kernel32/synch/critical.c: Ditto.
963 * lib/kernel32/synch/event.c: Ditto.
964 * lib/kernel32/synch/intrlck.c: Ditto.
965 * lib/kernel32/synch/mutex.c: Ditto.
966 * lib/kernel32/synch/sem.c: Ditto.
967 * lib/kernel32/synch/timer.c: Ditto.
968 * lib/kernel32/synch/wait.c: Ditto.
969 * lib/kernel32/thread/fiber.c: Ditto.
970 * lib/kernel32/thread/fls.c: Ditto.
971 * lib/kernel32/thread/thread.c: Ditto.
972 * lib/kernel32/thread/tls.c: Ditto.
973
974 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
975
976 * lib/iphlpapi/iphlpapi.c: Add @implemented and @unimplemented
977 to APIs.
978
979 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
980
981 * lib/gdi32/main/dllmain.c: Add @implemented and @unimplemented
982 to APIs.
983 * lib/gdi32/misc/stubs.c: Ditto.
984 * lib/gdi32/misc/stubsa.c: Ditto.
985 * lib/gdi32/misc/stubsw.c: Ditto.
986 * lib/gdi32/objects/bitblt.c: Ditto.
987 * lib/gdi32/objects/brush.c: Ditto.
988 * lib/gdi32/objects/clip.c: Ditto.
989 * lib/gdi32/objects/dc.c: Ditto.
990 * lib/gdi32/objects/fillshap.c: Ditto.
991 * lib/gdi32/objects/line.c: Ditto.
992 * lib/gdi32/objects/pen.c: Ditto.
993 * lib/gdi32/objects/region.c: Ditto.
994 * lib/gdi32/objects/text.c: Ditto.
995
996 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
997
998 * drivers/storage/class2/class2.c: Add @implemented and @unimplemented
999 to APIs.
1000
1001 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1002
1003 * lib/advapi32/misc/shutdown.c: Add @implemented and @unimplemented
1004 to APIs.
1005 * lib/advapi32/misc/stubs.c: Ditto.
1006 * lib/advapi32/misc/sysfunc.c: Ditto.
1007 * lib/advapi32/reg/reg.c: Ditto.
1008 * lib/advapi32/sec/ac.c: Ditto.
1009 * lib/advapi32/sec/misc.c: Ditto.
1010 * lib/advapi32/sec/sec.c: Ditto.
1011 * lib/advapi32/sec/sid.c: Ditto.
1012 * lib/advapi32/service/scm.c: Ditto.
1013 * lib/advapi32/service/sctrl.c: Ditto.
1014 * lib/advapi32/token/privilege.c: Ditto.
1015 * lib/advapi32/token/token.c: Ditto.
1016
1017 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1018
1019 * tools/rgenstat/rgenstat.c (parse_file): Be silent.
1020
1021 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1022
1023 * rules.mak (XSLTPROC): Add.
1024 * tools/Makefile: Add rgenstat.
1025 * apistatus.lst: New file.
1026 * tools/rgenstat: New directory.
1027 * tools/rgenstat/.cvsignore: New file.
1028 * tools/rgenstat/llmosrt.c: Ditto.
1029 * tools/rgenstat/Makefile: Ditto.
1030 * tools/rgenstat/rgenstat.c: Ditto.
1031 * tools/rgenstat/web: New directory.
1032 * tools/rgenstat/web/*.gif: New files.
1033 * tools/rgenstat/web/.cvsignore: New file.
1034 * tools/rgenstat/web/rapistatus.css: Ditto.
1035 * tools/rgenstat/web/rapistatus.js: Ditto.
1036 * tools/rgenstat/web/rapistatus.xsl: Ditto.
1037
1038 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1039
1040 * drivers/fs/vfat/misc.c (VfatLockControl): Move it so it is placed
1041 before it is referenced.
1042 * include/win32k/ntuser.h (NtUserQueryWindow): Correct prototype.
1043 * lib/winedbgc/debug.c (default_dbg_vlog): Use wine_dbg_vprintf, not
1044 __wine_dbg_vprintf.
1045 * ntoskrnl/nt/vdm.c (NtEarlyInitVdm): Work around GCC 3.4 trying to be
1046 smart.
1047
1048 2003-07-07 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
1049
1050 * subsys/win32k/ntuser/window.c: (NtUserQueryWindow) Implement.
1051 * include/win32k/ntuser.h: Ditto.
1052 * lib/user32/windows/window.c: (GetWindowThreadProcessId) Implement.
1053
1054 2003-07-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1055
1056 * lib/user32/windows/defwnd.c (DefWndHandleLButtonUpNC,
1057 User32DefWindowProc): Only send WM_SYSCOMMAND message, not WM_CLOSE.
1058 (DefWndHandleSysCommand): Handle SC_CLOSE message.
1059
1060 2003-07-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1061
1062 * include/win32k/ntuser.h (NtUserSetFocus): Correct prototype.
1063 * lib/user32/misc/stubs.c (SetFocus): Remove.
1064 * lib/user32/windows/defwnd.c (KEYDATA_ALT): New.
1065 (User32DefWindowProc): Handle WM_SYSKEYDOWN.
1066 * lib/user32/windows/input.c (SetFocus): New.
1067 * subsys/win32k/include/msgqueue.h (USER_MESSAGE_QUEUE): Document
1068 FocusWindow field.
1069 * subsys/win32k/include/window.h (W32kSetFocusWindow): Change return type
1070 to HWND.
1071 * subsys/win32k/include/winsta.h (W32kGetFocusMessageQueue): New.
1072 * subsys/win32k/ntuser/input.c (KeyboardThreadMain): Handle system keys.
1073 * subsys/win32k/ntuser/keyboard.c (NtUserSetFocus): New.
1074 * subsys/win32k/ntuser/msgqueue.c (MsqPostKeyboardMessage): Implement.
1075 * subsys/win32k/ntuser/stubs.c (NtUserSetFocus): Remove.
1076 * subsys/win32k/ntuser/window.c (W32kSetFocusWindow): Implement.
1077 (NtUserGetClientRect, W32kGetWindowProc, NtUserCreateWindowEx): Release
1078 window reference on error.
1079 (W32kDestroyWindow): Remove focus from window tree before destroying it
1080 if needed.
1081 * subsys/win32k/ntuser/winpos.c (WinPosChangeActiveWindow): Implement.
1082 (WinPosShowWindow): Activate window if needed.
1083 * subsys/win32k/ntuser/winsta.c (W32kGetFocusMessageQueue): New.
1084
1085 2003-06-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
1086
1087 * lib/user32/controls/button.c (ButtonWndProc_common): Fix unsigned/signed
1088 warning.
1089
1090 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1091
1092 * include/ddk/dbgfuncs.h: Move ...
1093 * include/ntos/dbgfuncs.h: ... here.
1094 * include/basetsd.h (LONG32): Make it a long.
1095 * include/ntos.h: Include ntos/dbgfuncs.h.
1096 * include/ddk/dbgfuncs.h (DBG_STATUS_*, DBG_GET_SHOW_*): Move to
1097 include/ntos/dbgfuncs.h.
1098 * include/ddk/exfuncs.h (ExNotifyCallback): Match w32api prototype.
1099 (*BinaryTree, *SplayTree, *HashTable): Move to include/ntos/zw.h.
1100 * include/ddk/extypes.h (TRAVERSE_METHOD, PKEY_COMPARATOR,
1101 PTRAVERSE_ROUTINE, _BINARY_TREE_NODE, BINARY_TREE, SPLAY_TREE_NODE,
1102 SPLAY_TREE, HASH_TABLE): Move to include/ntos/zwtypes.h.
1103 * include/ddk/status.h (STATUS_PATH_SYNTAX_BAD): Rename to
1104 STATUS_OBJECT_PATH_SYNTAX_BAD.
1105 * apps/utils/objdir/objdir.c (StatusToName): Change
1106 STATUS_PATH_SYNTAX_BAD to STATUS_OBJECT_PATH_SYNTAX_BAD.
1107 * ntoskrnl/dbg/errinfo.c: Use STATUS_OBJECT_PATH_SYNTAX_BAD.
1108 * include/ntos/rtl.h (RtlQueryRegistryValues, RtlWriteRegistryValue,
1109 RtlDeleteRegistryValue): Match w32api prototypes.
1110 * include/ntos/zw.h (ZwQuerySystemTime): Ditto.
1111 * lib/kernel32/file/cnotify.c (FindFirstChangeNotificationW): Use
1112 STATUS_OBJECT_PATH_SYNTAX_BAD.
1113 * lib/ntdll/rtl/registry.c (RtlDeleteRegistryValue,
1114 RtlQueryRegistryValues, RtlWriteRegistryValue): Match w32api prototypes.
1115 * ntoskrnl/cm/cm.h, ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/regfile.c: Change
1116 FILETIME to LARGE_INTEGER.
1117 * ntoskrnl/cm/rtlfunc.c (RtlDeleteRegistryValue, RtlQueryRegistryValues,
1118 RtlWriteRegistryValue): Match w32api prototypes.
1119 * ntoskrnl/ex/callback.c (ExNotifyCallback): Ditto.
1120 * ntoskrnl/ex/time.c (NtQuerySystemTime): Ditto.
1121
1122 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1123
1124 * hal/halx86/dma.c (AdapterObjects): Don't put braces on scalar
1125 initializers.
1126
1127 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1128
1129 Changes for compiling with w32api
1130
1131 * include/ddk/obfuncs.h (ObCreateObject): Remove.
1132 * include/ntos/zwtypes.h (ObRosCreateObject): Add.
1133 * ntoskrnl/ntoskrnl.def, ntoskrnl/ntoskrnl.edf: Export ObCreateObject@36
1134 and ObRosCreateObject@20.
1135 * ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/registry.c, ntoskrnl/cm/regobj.c,
1136 ntoskrnl/io/create.c, ntoskrnl/io/device.c, ntoskrnl/io/iocomp.c,
1137 ntoskrnl/lpc/connect.c, ntoskrnl/lpc/create.c, ntoskrnl/mm/section.c,
1138 ntoskrnl/nt/evtpair.c, ntoskrnl/nt/mutant.c, ntoskrnl/nt/ntevent.c,
1139 ntoskrnl/nt/ntsem.c, ntoskrnl/nt/nttimer.c, ntoskrnl/nt/profile.c,
1140 ntoskrnl/ob/dirobj.c, ntoskrnl/ob/namespc.c, ntoskrnl/ob/symlink.c,
1141 ntoskrnl/ps/create.c, ntoskrnl/ps/process.c, ntoskrnl/se/token.c,
1142 subsys/win32k/ntuser/winsta.c: Use ObRosCreateObject, not ObCreateObject.
1143 * ntoskrnl/ob/object.c (ObRosCreateObject): Rename from ObCreateObject.
1144 (ObCreateObject): Add stub.
1145
1146 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1147
1148 Changes for compiling with w32api
1149
1150 * include/ddk/cctypes.h (PREACTOS_COMMON_FCB_HEADER): Remove.
1151 (FSRTL_COMMON_FCB_HEADER): Add.
1152 * include/ddk/iotypes.h (FILE_OBJECT): Rename field
1153 SectionObjectPointers to SectionObjectPointer.
1154 * ntoskrnl/cc/copy.c, ntoskrnl/cc/misc.c, ntoskrnl/cc/pin.c,
1155 ntoskrnl/cc/view.c, ntoskrnl/io/rawfs.c, ntoskrnl/mm/section.c,
1156 drivers/fs/cdfs/cleanup.c, drivers/fs/cdfs/fcb.c,
1157 drivers/fs/cdfs/fsctl.c, drivers/fs/ntfs/fcb.c, drivers/fs/ntfs/fsctl.c,
1158 drivers/fs/vfat/close.c, drivers/fs/vfat/create.c,
1159 drivers/fs/vfat/finfo.c, drivers/fs/vfat/fcb.c, drivers/fs/vfat/fsctl.c:
1160 Use new FILE_OBJECT structure.
1161 * drivers/fs/cdfs/cdfs.h, drivers/fs/ntfs/ntfs.h, drivers/fs/vfat/vfat.h:
1162 Use new FSRTL_COMMON_FCB_HEADER structure.
1163 * drivers/net/afd/include/afd.h (FSRTL_COMMON_FCB_HEADER): Remove.
1164 * include/ddk/ketypes.h (KQUEUE): Match w32api structure.
1165 * ntoskrnl/ke/queue.c, ntoskrnl/ke/wait.c: Use new structure.
1166 * ntoskrnl/ke/spinlock.c (KeAcquireSpinLockAtDpcLevel,
1167 KeReleaseSpinLockFromDpcLevel): Undefine before declaring.
1168
1169 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1170
1171 Changes for compiling with w32api
1172
1173 * include/ddk/ketypes.h (KSPIN_LOCK, PKSPIN_LOCK): Match w32api
1174 structures.
1175 * ntoskrnl/ke/spinlock.c: Use new structures.
1176
1177 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1178
1179 Changes for compiling with w32api
1180
1181 * include/ddk/service.h: Move ...
1182 * include/ntos/service.h: ... here.
1183 * include/ddk/kdfuncs.h: Move ...
1184 * include/ntos/kdfuncs.h: ... here.
1185 * include/ntos/halfuncs.h: New file.
1186 * ntoskrnl/include/internal/hal/hal.h,
1187 ntoskrnl/include/internal/hal/bus.h,
1188 ntoskrnl/include/internal/hal/mps.h: Remove.
1189 * hal/halx86/include/hal.h: Remove disabled code.
1190 * include/ntos.h: Include ntos/service.h, ntos/halfuncs.h, and
1191 ntos/kdfuncs.h.
1192 * include/ddk/fstypes.h (FILE_LOCK_TOC): Move ...
1193 * include/ntos/file.h: ... here.
1194 * include/ddk/halfuncs.h (HalAllProcessorsStarted,
1195 HalBeginSystemInterrupt, HalDisableSystemInterrupt,
1196 HalEnableSystemInterrupt, HalEndSystemInterrupt,
1197 HalInitializeProcessor, HalInitSystem, HalReportResourceUsage): Move to
1198 include/ntos/halfuncs.h.
1199 * include/ddk/iofuncs.h (IoAssignDriveLetters): Ditto.
1200 * include/ddk/kefuncs.h (KeInitializeApc): Match w32api prototype.
1201 (KeRaiseIrqlToSynchLevel): Move to include/ntos/halfuncs.h.
1202 * include/ddk/ketypes.h (KAPC_ENVIRONMENT): Move to include/ntos/types.h.
1203 (KDEVICE_QUEUE, KDEVICE_QUEUE_ENTRY): Match w32api prototype.
1204 (KINTERRUPT): Move to include/ntos/zwtypes.h.
1205 * include/ddk/mmtypes.h (PAGE_ROUND_UP, PAGE_ROUND_DOWN): Move ...
1206 * include/ntos/mm.h: ... here.
1207 * include/ddk/ntddk.h: Don't include ddk/kdfuncs.h.
1208 * include/ddk/pstypes.h (PKTHREAD, PRKTHREAD): Add.
1209 (PsInitialSystemProcess, PsProcessType, PsThreadType): Move ...
1210 include/ntos/ps.h: ... here.
1211 * lib/ntdll/rtl/i386/exception.c (SehpContinue): New.
1212 * ntoskrnl/rtl/i386/exception.c (SehpContinue): Ditto.
1213 * ntoskrnl/include/internal/ke.h: Include <ddk/ntifs.h>.
1214 * ntoskrnl/include/internal/ntoskrnl.h: Include internal/ke.h.
1215 * ntoskrnl/ex/napi.c: Use new structure SSDT_ENTRY.
1216 * ntoskrnl/ke/apc.c (KeInitializeApc): Match w32api prototype.
1217 * ntoskrnl/ke/kqueue.c: Use fields of new structures KDEVICE_QUEUE
1218 and KDEVICE_QUEUE_ENTRY.
1219
1220 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1221
1222 * ntoskrnl/cm/regfile.c (CmiCopyKey): Fix unsigned/signed warning.
1223
1224 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1225
1226 * lib/user32/windows/icon.c (CURSORICON_FindBestCursor,
1227 CURSORICON_FindBestIcon): Fix unsigned/signed warning.
1228
1229 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1230
1231 Changes for compiling with w32api
1232
1233 * ntoskrnl/include/internal/i386/ps.h (KPCR_TSS): Redefine as 0x3C.
1234 (KPCR_TIB): New structure.
1235 (IKPCR): Ditto.
1236 (KPCR): Match w32api structure fieldnames.
1237 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Adjust for changes to KPCR.
1238 * ntoskrnl/ke/i386/kernel.c: Ditto.
1239 * ntoskrnl/ps/thread.c: Ditto.
1240
1241 2003-06-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
1242
1243 Changes for compiling with w32api
1244
1245 * include/ntos/zwtypes.h (SYSTEM_MODULES): Rename to
1246 SYSTEM_MODULE_INFORMATION. Match w32api structure fieldnames.
1247 (SYSTEM_MODULE_INFORMATION): Rename to SYSTEM_MODULE_INFORMATION_ENTRY.
1248 Match w32api structure fieldnames.
1249 * include/epsapi.h: Include <ntos.h>.
1250 (PSYSMOD_ENUM_ROUTINE, PsaCaptureSystemModules, PsaWalkSystemModules,
1251 PsaWalkFirstSystemModule, PsaWalkNextSystemModule): Use
1252 SYSTEM_MODULE_INFORMATION_ENTRY and SYSTEM_MODULE_INFORMATION structures.
1253 * lib/epsapi/enum/drivers.c: Use SYSTEM_MODULE_INFORMATION_ENTRY and
1254 SYSTEM_MODULE_INFORMATION structures.
1255 * lib/psapi/misc/win32.c: Ditto.
1256 * ntoskrnl/ldr/loader.c: Ditto.
1257 * lib/epsapi/enum/modules.c: Include <ntos.h>.
1258 * lib/ntdll/rtl/thread.c: Ditto.
1259 * lib/rosrtl/thread/context.c: Ditto.
1260 * lib/rosrtl/thread/create.c: Ditto.
1261 * lib/rosrtl/thread/stack.c: Ditto.
1262 * include/ntos.h: Include "rosrtl/thread.h".
1263 * include/structs.h (_BLOB_DEFINED): Rename to __BLOB_T_DEFINED.
1264 * include/winsock2.h: Ditto.
1265 * include/ntos/obtypes.h (POBJECT_TYPE): Make a pointer to struct
1266 _OBJECT_TYPE.
1267 (PHANDLE_TABLE): Make a pointer to struct _HANDLE_TABLE.
1268 * ntoskrnl/include/internal/mm.h (PSECTION_OBJECT): Make a pointer to
1269 struct _SECTION_OBJECT.
1270 * ntoskrnl/include/internal/i386/ps.h (PKPCR): Make a pointer to struct
1271 _KPCR.
1272
1273 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1274
1275 * Makefile: Update bootcd target.
1276
1277 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1278
1279 * subsys/system/usetup/progress.c (ProgressNextStep): Check if NewPos
1280 is odd.
1281
1282 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1283
1284 Changes for compiling with w32api
1285
1286 * include/ddk/haltypes.h: Move ...
1287 * include/ntos/haltypes.h: ... here.
1288 * include/ddk/obtypes.h: Move ...
1289 * include/ntos/obtypes.h: ... here.
1290 * include/ddk/i386/tss.h: Move ...
1291 * include/ntos/tss.h: ... here.
1292 * include/errors.h, include/windows.h: #include_next <windows.h>.
1293 * include/ntos.h: Include "ntos/haltypes.h", "ntos/obtypes.h", and
1294 "ntos/tss.h".
1295 * include/ddk/defines.h (EXPORTED, IMPORTED): Move to
1296 include/ntos/types.h.
1297 * include/ddk/exfuncs.h, include/ddk/mmtypes.h, include/ntos/except.h,
1298 include/ntos/file.h, include/ole32/guiddef.h, include/win32k/color.h,
1299 lib/msafd/include/debug.h, lib/user32/include/debug.h,
1300 lib/ws2_32/include/debug.h, lib/ws2help/debug.h,
1301 ntoskrnl/include/internal/debug.h, ntoskrnl/ke/i386/bthread.S,
1302 ntoskrnl/rtl/error.c: Don't define macros if previously defined.
1303 * include/ddk/halfuncs.h: Include <ntos/haltypes.h>.
1304 * include/ddk/iotypes.h: Include <ntos/obtypes.h>.
1305 * include/ddk/ketypes.h (MB_FLAGS_*, LOADER_MODULE, ADDRESS_RANGE,
1306 LOADER_PARAMETER_BLOCK): Move to include/ntos/types.h.
1307 * include/ddk/ntddk.h: #include_next <ddk/ntddk.h>.
1308 * include/ddk/ntifs.h: #include_next <ddk/ntifs.h>.
1309 * include/napi/shared_data.h (SharedUserData): Undefine before defining.
1310 * include/ntos/rtl.h (RtlUpcaseUnicodeString): Correct prototype.
1311 * include/ntos/zwtypes.h (THREAD_STATE): Add.
1312 * lib/ntdll/rtl/unicode.c (RtlUpcaseUnicodeString): Match new prototype.
1313 * ntoskrnl/rtl/unicode.c (RtlUpcaseUnicodeString): Ditto.
1314 * lib/string/Makefile: Include Makefile.$(ARCH). Don't include
1315 makefile.$(ARCH).
1316 * ntoskrnl/ex/sysinfo.c, ntoskrnl/include/internal/ntoskrnl.h,
1317 * ntoskrnl/include/internal/ob.h, ntoskrnl/ob/handle.c: Include <ntos.h>.
1318 * ntoskrnl/ke/i386/syscall.S: Don't include <ddk/defines.h>.
1319 (KernelMode, UserMode): Define.
1320 * ntoskrnl/ke/i386/stkswitch.S, ntoskrnl/ke/i386/tskswitch.S,
1321 ntoskrnl/ke/i386/v86m_sup.S: Include <ntos/tss.h>
1322
1323 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
1324
1325 * Makefile: Fix typo.
1326
1327 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
1328
1329 * Makefile: Don't install system.hiv. Install fonts and nls directory.
1330 * tools/rcopy.c (copy_file, copy_directory, is_directory): New functions.
1331
1332 2003-05-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
1333
1334 * ntoskrnl/io/irp.c (IofCallDriver): Don't reference FileObject.
1335
1336 2003-05-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1337
1338 * ntoskrnl/io/cleanup.c (IopCompleteRequest1, IoSecondStageCompletion):
1339 Don't dereference Irp->UserEvent here.
1340 * ntoskrnl/io/irp.c (IofCallDriver): Reference FileObject.
1341 * ntoskrnl/io/rw.c (IopReadWriteIoComplete): New function.
1342 * (NtReadFile, NtWriteFile): Set I/O completion routine if using an
1343 event that is under object manager control.
1344
1345 2003-05-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1346
1347 * ntoskrnl/Makefile (OBJECTS_IO): Add io/rawfs.o.
1348 * ntoskrnl/cm/registry.c (CmiInitHives): Check status using NT_SUCCESS().
1349 * ntoskrnl/include/internal/io.h (RawFsIsRawFileSystemDeviceObject,
1350 RawFsDriverEntry): Add prototypes.
1351 * ntoskrnl/include/internal/ntoskrnl.h (IoInit2): Add prototype.
1352 * ntoskrnl/io/device.c (IopCreateDriverObject): Handle unnamed services.
1353 * ntoskrnl/io/fs.c (IoMountVolume): Handle mounting of raw volumes.
1354 (IoRegisterFileSystem): Add registered filesystem device objects at the
1355 head of the list.
1356 * ntoskrnl/io/iomgr.c (IoInit2): New function.
1357 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Call IoInit2().
1358 * ntoskrnl/mm/section.c (MmQuerySectionView): Check return value of call
1359 to MmFindRegion().
1360 * ntoskrnl/io/rawfs.c: New file.
1361
1362 2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1363
1364 * lib/fslib/vfatlib/vfatlib.c (VfatFormat): Set hidden sectors.
1365 * ntoskrnl/io/xhaldrv.c (xHalIoWritePartitionTable): Implement support
1366 for primary partitions.
1367 * subsys/system/usetup/partlist.c (CreateSelectedPartition): Compute
1368 hidden sectors.
1369 * subsys/system/usetup/usetup.c (SelectPartitionPage,
1370 DrawFileSystemList, FormatPartitionPage): Don't use conditional define
1371 ENABLE_FORMAT.
1372 (CreateFileSystemList): Don't draw "Keep current file system" option if
1373 formatting is needed.
1374 (SelectFileSystemPage): Figure out if partition must be formatted.
1375 * subsys/system/usetup/usetup.h (ENABLE_FORMAT): Remove.
1376 (FILE_SYSTEM_LIST): Add ForceFormat field.
1377
1378 2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1379
1380 * lib/user32/windows/font.c (TEXT_PathEllipsify, TEXT_Reprefix): Fix
1381 unsigned/signed warning.
1382 * ntoskrnl/mm/pagefile.c (MmWriteToSwapPage, MmReadFromSwapPage,
1383 NtCreatePagingFile): Ditto.
1384
1385 2003-05-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1386
1387 * tools/helper.mk: Kill implicit rule ".o".
1388
1389 2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1390
1391 * Makefile (DLLS): Add epsapi, psapi and wsock32.
1392 * lib/ntdll/ldr/utils.c (LdrPerformRelocations): Handle the case where a
1393 relocation crosses a page boundary.
1394 (LdrFixupImports): Use image load address in calculatation of import
1395 address list.
1396
1397 2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1398
1399 * lib/fslib/vfatlib/vfatlib.h: New file.
1400 * subsys/system/usetup/format.c: Ditto.
1401 * subsys/system/usetup/format.h: Ditto.
1402 * lib/fslib/vfatlib/vfatlib.c (GetShiftCount): Define.
1403 (VfatWriteBootSector, VfatWriteFsInfo, VfatWriteFAT,
1404 VfatWriteRootDirectory): New function.
1405 (VfatFormat): Implement.
1406 * subsys/system/usetup/bootsup.c: (InstallFat32BootCodeToFile): Use
1407 0x0000 as marker to disable backup boot sector.
1408 (InstallFat32BootCodeToDisk): Add lower 8-bit to BackupBootSector.
1409 Also treat 0x0000 as no backup boot sector is available.
1410 * subsys/system/usetup/makefile (TARGET_SDKLIBS): Define.
1411 (TARGET_OBJECTS): Add format.o.
1412 * subsys/system/usetup/partlist.c (AddPartitionList): Initialize
1413 PartNumber field.
1414 (GetSelectedPartition): Set PartEntryNumber correctly.
1415 (CreateSelectedPartition): Write partition information to disk.
1416 (DeleteSelectedPartition): New function.
1417 * subsys/system/usetup/partlist.h (PARTDATA): Add field CreatePartition.
1418 (DeleteSelectedPartition): Prototype.
1419 * subsys/system/usetup/usetup.c (ConfirmDeletePartition): New function.
1420 (SelectPartitionPage): Support deletion of partition.
1421 (FormatPartitionPage): Support formatting of partition.
1422
1423 2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
1424
1425 * tools/helper.mk (TARGET_ASFLAGS): Add -march and define MK_ARCH_ID.
1426 * lib/ntdll/makefile (TARGET_ASFLAGS): Define as
1427 "-I $(PATH_TO_TOP)/include".
1428 (TARGET_OBJECTS): Add ldr/entry.o.
1429 * lib/ntdll/ldr/startup.c: Move inline assembly code...
1430 * lib/ntdll/ldr/entry.S: ...here. New file.
1431
1432 2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
1433
1434 * include/kernel32/kernel32.h (assert): Define.
1435 * tools/mkhive/.cvsignore: New file.
1436
1437 2003-04-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
1438
1439 * subsys/system/usetup/partlist.c (AddPartitionList): Create
1440 unpartitioned areas.
1441 (CreatePartitionListNoGUI): Save disk geometry.
1442 (PrintDiskData): Do not print hidden partition list entries.
1443 (ScrollDownPartitionList, ScrollUpPartitionList): Skip hidden partition
1444 list entries.
1445 (GetActiveBootPartition): Use CurrentDisk as index.
1446 (CreateSelectedPartition): New function.
1447 * subsys/system/usetup/partlist.h (PARTDATA): Add field NewPartSize.
1448 (PARTENTRY): Add fields StartingOffset and HidePartEntry.
1449 (DISKENTRY): Add fields Cylinders, TracksPerCylinder, SectorsPerTrack,
1450 and BytesPerSector;
1451 (CreateSelectedPartition): Add Prototype.
1452 * subsys/system/usetup/usetup.c (PAGE_NUMBER): Add CREATE_PARTITION_PAGE
1453 and FORMAT_PARTITION_PAGE
1454 (CurrentPartitionList, CurrentFileSystemList): New globals.
1455 (SelectPartitionPage): Set CurrentPartitionList.
1456 (PARTITION_SIZE_INPUT_FIELD_LENGTH): Define as 6.
1457 (DrawInputField, ShowPartitionSizeInputBox, CreatePartitionPage,
1458 CreateFileSystemList, DestroyFileSystemList, DrawFileSystemList,
1459 ScrollDownFileSystemList, ScrollUpFileSystemList, FormatPartitionPage):
1460 New functions.
1461 (SelectFileSystemPage): Draw partition screen.
1462 (CheckFileSystemPage): Handle CREATE_PARTITION_PAGE and
1463 FORMAT_PARTITION_PAGE.
1464 * subsys/system/usetup/usetup.h (FILE_SYSTEM, FILE_SYSTEM_LIST): Add enums.
1465
1466 2003-04-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
1467
1468 * tools/mkhive/infcache.c (InfpCacheFindSection, InfpCacheFindKeyLine,
1469 InfFindFirstLine, InfFindFirstMatchLine, InfFindNextMatchLine,
1470 InfGetLineCount): Change call to stricmp() to strcasecmp().
1471 * tools/mkhive/reginf.c (GetRootKey): Ditto.
1472 * tools/mkhive/registry.c (RegSetValue, RegQueryValue): Ditto.
1473
1474 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1475
1476 * ntoskrnl/kd/gdbstub.c (KdEnterDebuggerException): Fix signed/unsigned
1477 comparison warning.
1478 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Ditto.
1479 * ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
1480 * tools/helper.mk: Do not install static libraries.
1481
1482 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1483
1484 * tools/Makefile: Fix rule for mkflpimg.
1485
1486 2003-04-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
1487
1488 * tools/cdmake/Makefile: Use HOST_CC.
1489 * tools/cdmake/cdmake.c (MAX_PATH, DIR_SEPARATOR_CHAR,
1490 DIR_SEPARATOR_STRING): Define.
1491 (directory_record): Add fields name_on_cd and extension_on_cd.
1492 (error_exit): Make a macro. Avoid using vfprintf and fprintf.
1493 (write_directory_record, new_directory_record, compare_directory_order,
1494 pass): Use name_on_cd and extension_on_cd.
1495 (make_directory_records, get_file_specifications): Use DIR_SEPARATOR_CHAR.
1496 (new_directory_record, make_directory_records): Linux implementations.
1497 (main): Use DIR_SEPARATOR_CHAR.
1498
1499 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
1500
1501 * lib/freetype/.cvsignore: Ignore nul.
1502
1503 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
1504
1505 * drivers/storage/atapi/atapi.c (AtapiReadWrite): Expect an interrupt a
1506 bit sooner.
1507 * hal/halx86/isa.c (HalpGetIsaInterruptVector): Compute vector for MP.
1508 * hal/halx86/pci.c (HalpGetPciInterruptVector): Ditto.
1509 * hal/halx86/sysbus.c (HalpGetSystemInterruptVector): Ditto.
1510 * hal/halx86/mp.c (AssignIrqVector): Rewrite.
1511 (MpsTimerHandler): Disable for now.
1512 (MpsSpuriousHandler): Do not acknowledge interrupt.
1513 (HalAllProcessorsStarted): Only boot 1 CPU for now.
1514 (RescheduleDpcRoutine): New function.
1515 (RescheduleDpc): New variable.
1516 (HalpInitMPS): Initialize RescheduleDpc. Fix bug in call to memset.
1517 * hal/halx86/mpsirql.c: Rewrite.
1518 * hal/halx86/include/mps.h (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL,
1519 IRQL2VECTOR): New macros.
1520 * ntoskrnl/ntoskrnl.def: Add KeRescheduleThread@0.
1521 * ntoskrnl/ntoskrnl.edf: Ditto.
1522 * ntoskrnl/include/internal/ke.h (KeRescheduleThread): Prototype.
1523 * ntoskrnl/ke/kthread.c (KeRescheduleThread): New function.
1524 * ntoskrnl/ke/i386/exp.c (KeInitExceptions): Remove unneeded call to
1525 set_trap_gate().
1526 * ntoskrnl/ke/i386/irq.c (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL): Correct.
1527 (IRQ_BASE): Define as FIRST_DEVICE_VECTOR.
1528 (NR_IRQS): Define using IRQ_BASE.
1529 (KeInitInterrupts): Use IRQ_BASE.
1530 (KiInterruptDispatch2): Rewrite.
1531 (KiInterruptDispatch): Ditto.
1532 (KeConnectInterrupt): Pass Vector to HalEnableSystemInterrupt() for MP.
1533 (KeDisconnectInterrupt): Pass Vector to HalDisableSystemInterrupt() for MP.
1534 * ntoskrnl/ke/i386/trap.s (_KiTrapProlog): Change 0x124 to KPCR_CURRENT_THREAD.
1535
1536 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
1537
1538 * Makefile: Add format.
1539 * include/fslib/vfatlib.h (VfatFormat): Prototype.
1540 * lib/fmifs/format.c (VfatFormat): Add stub.
1541 * lib/fmifs/makefile (TARGET_LIBS): Add vfatlib.a.
1542 * lib/fslib/vfatlib/vfatlib.c (VfatFormat): Add stub.
1543 * tools/helper.mk: Do not install .sym files for static libraries.
1544 * subsys/system/format: New directory.
1545 * subsys/system/format/makefile: New file.
1546 * subsys/system/format/format.c: Ditto.
1547
1548 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1549
1550 * include/fslib: New directory.
1551 * lib/fslib: Ditto.
1552 * lib/fslib/vfatlib: Ditto.
1553 * include/fslib/vfatlib.h: New file.
1554 * lib/fslib/vfatlib/.cvsignore: Ditto.
1555 * lib/fslib/vfatlib/Makefile: Ditto.
1556 * lib/fslib/vfatlib/vfatlib.c: Ditto.
1557 * Makefile: Support file system libraries
1558 * lib/zlib/Makefile: Remove nostrip target.
1559 * tools/helper.mk: Add nostrip target.
1560
1561 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1562
1563 * tools/.cvsignore: Ignore rline.
1564
1565 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1566
1567 * bootcd.bat: Install dosmbr.bin.
1568 * drivers/storage/disk/disk.c (DiskClassDeviceControl): Pass physical
1569 device object to IoWritePartitionTable().
1570 * ntoskrnl/io/xhaldrv.c (xHalReadMBR): New function.
1571 (xHalWriteMBR): Ditto.
1572 (xHalExamineMBR): Use xHalReadMBR() to read MBR.
1573 (xHalIoWritePartitionTable): Partial implement.
1574 * subsys/system/usetup/bootsup.c (InstallMBRBootCodeToDisk): New function.
1575 * subsys/system/usetup/bootsup.h (InstallMBRBootCodeToDisk): Prototype.
1576 * subsys/system/usetup/partlist.c (CreatePartitionListNoGUI): New function.
1577 (CreatePartitionList): Use CreatePartitionListNoGUI() to create partition
1578 list.
1579 (GetPartitionInformation): New function.
1580 (MarkPartitionActive): Ditto.
1581 * subsys/system/usetup/partlist.h (MarkPartitionActive): Prototype.
1582 * subsys/system/usetup/usetup.c (SelectPartitionPage): Make SystemRootPath
1583 point to the selected partition if no partitions are active.
1584 (BootLoaderPage): If no partitions are active, then install a DOS MBR and
1585 mark the selected partition active.
1586
1587 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1588
1589 * Makefile: Add bootcd target.
1590 (BOOTCD_INSTALL): Set for bootcd install.
1591 * rules.mak (TOPDIR): Define on windows.
1592 (BOOTCD_DIR): Define.
1593 (RLINE): Define.
1594 * apps/tests/lpc/makefile: Handle BOOTCD_INSTALL.
1595 * apps/tests/mstest/Makefile: Ditto.
1596 * apps/tests/nptest/Makefile: Ditto.
1597 * apps/tests/shm/makefile: Ditto.
1598 * ntoskrnl/Makefile: Handle BOOTCD_INSTALL. Add bootcd target.
1599 * drivers/dd/vga/makefile: Add bootcd target.
1600 * drivers/dd/blue/makefile (TARGET_BOOTSTRAP): Define as yes.
1601 * drivers/dd/floppy/Makefile: Ditto.
1602 * drivers/fs/cdfs/makefile: Ditto.
1603 * drivers/fs/ntfs/makefile: Ditto.
1604 * drivers/fs/vfat/makefile: Ditto.
1605 * drivers/input/keyboard/makefile: Ditto.
1606 * drivers/storage/atapi/makefile: Ditto.
1607 * drivers/storage/cdrom/makefile: Ditto.
1608 * drivers/storage/class2/makefile: Ditto.
1609 * drivers/storage/disk/makefile: Ditto.
1610 * drivers/storage/scsiport/makefile: Ditto.
1611 * hal/halx86/Makefile: Ditto.
1612 * lib/ntdll/makefile: Ditto.
1613 * subsys/system/usetup/makefile (TARGET_BOOTSTRAP): Define as yes.
1614 (TARGET_BOOTSTRAP_NAME): Define as smss.exe.
1615 * tools/Makefile: Add rline executable.
1616 * tools/helper.mk: Support bootcd targets.
1617 * tools/rline.c: New file.
1618
1619 2003-04-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
1620
1621 * lib/freetype/builds/compiler/gcc.mk (CC): Comment out; use CC from
1622 rules.mak instead.
1623 * lib/freetype/README.ROS: Note this in porting guide.
1624
1625 2003-03-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
1626
1627 * ntoskrnl/ex/sysinfo.c (SystemProcessInformation): Fix warning.
1628
1629 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1630
1631 * include/ntos/rtltypes.h (PRTL_BASE_PROCESS_START_ROUTINE): Define.
1632 * lib/kernel32/process/create.c (RtlBaseProcessStartRoutine): Import.
1633 (KlCreateFirstThread): Support images with native subsystem ID.
1634 * lib/ntdll/def/ntdll.def (RtlBaseProcessStartRoutine): Export.
1635 * lib/ntdll/def/ntdll.edf (RtlBaseProcessStartRoutine): Ditto.
1636 * lib/ntdll/rtl/exception.c (RtlBaseProcessStart): Forward declare.
1637 (RtlBaseProcessStartRoutine, RtlBaseProcessStart): Add.
1638
1639 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1640
1641 * include/defines.h (VS_FFI_SIGNATURE, VS_FFI_STRUCVERSION): Define.
1642
1643 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1644
1645 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Use exception code
1646 STATUS_ACCESS_VIOLATION for exception 14.
1647
1648 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1649
1650 * ntoskrnl/fs/util.c (FsRtlGetFileSize): Implement.
1651
1652 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1653
1654 * lib/ntdll/rtl/nls.c (RtlCustomCPToUnicodeN, RtlMultiByteToUnicodeN,
1655 RtlOemToUnicodeN, RtlUnicodeToCustomCPN, RtlUnicodeToMultiByteN,
1656 RtlUnicodeToMultiByteSize, RtlUnicodeToOemN,
1657 RtlUpcaseUnicodeToCustomCPN, RtlUpcaseUnicodeToMultiByteN,
1658 RtlUpcaseUnicodeToOemN): Assert when unimplemented code is reached.
1659
1660 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1661
1662 * include/ntos/zwtypes.h (FILE_BASIC_INFORMATION): Use LARGE_INTEGER,
1663 not TIME type for time fields.
1664 * lib/kernel32/file/copy.c (SetLastWriteTime): Adjust for new type.
1665 (CopyFileExW): Ditto.
1666
1667 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1668
1669 * include/ntos/types.h (FALSE): Protect with #ifndef FALSE.
1670 (TRUE): Protect with #ifndef TRUE.
1671
1672 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1673
1674 * include/napi/i386/segment.h (put_user, get_user,
1675 bad_user_access_length, __segment_dummy, __sd, __const_sd, __put_user,
1676 __get_user, __generic_memcpy_tofs, __constant_memcpy_tofs, COMMON,
1677 __generic_memcpy_fromfs, __constant_memcpy_fromfs, memcpy_fromfs,
1678 memcpy_tofs, get_fs_byte, get_fs_word, get_fs_long, put_fs_byte,
1679 put_fs_word, put_fs_long, get_user_word, get_user_byte, get_user_long,
1680 put_user_byte, put_user_word, put_user_long, get_fs, get_ds, set_fs,
1681 set_ds): Remove.
1682
1683 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1684
1685 * include/ddk/pstypes.h (TLS_OUT_OF_INDEXES): Define.
1686
1687 2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
1688
1689 * ntoskrnl/cc/view.c (CcRosFlushDirtyPages): Treat a write attempt with
1690 a return value of STATUS_END_OF_FILE as a successful write.
1691 * ntoskrnl/cc/copy.c (WriteCacheSegment): Ditto.
1692
1693 2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
1694
1695 * ntoskrnl/cm/regfile.c (CmiRemoveSubKey): Kill warnings.
1696 (CmiMergeFree): Ditto.
1697
1698 2003-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1699
1700 * include/structs.h (OSVERSIONINFOEXA): Expand definition of
1701 OSVERSIONINFOA.
1702 (OSVERSIONINFOEXW): Expand definition of OSVERSIONINFOW.
1703 * lib/msafd/misc/helpers.c (LocateHelperDLL): Cast AddressFamily,
1704 SocketType, and Protocol to INT.
1705 * lib/ws2_32/misc/catalog.c (LocateProvider): Ditto.
1706
1707 2003-01-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1708
1709 * ntoskrnl/dbg/profile.c (KdbProfilerThreadMain): Make STDCALL.
1710
1711 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1712
1713 * drivers/net/tcpip/makefile (TCP_OBJECTS): Add transport/tcp/tcpcore.o,
1714 transport/tcp/tcp_input.o, transport/tcp/tcp_ipv4.o,
1715 transport/tcp/tcp_output.o, and transport/tcp/tcp_timer.o.
1716 * drivers/net/tcpip/transport/tcp/tcp.c (TCPStartup): Call tcp_init().
1717 * drivers/net/tcpip/include/linux.h: New file.
1718 * drivers/net/tcpip/include/tcpcore.h: Ditto.
1719 * drivers/net/tcpip/include/tcpdef.h: Ditto.
1720 * drivers/net/tcpip/transport/tcp/tcp_input.c: Ditto.
1721 * drivers/net/tcpip/transport/tcp/tcp_ipv4.c: Ditto.
1722 * drivers/net/tcpip/transport/tcp/tcp_output.c: Ditto.
1723 * drivers/net/tcpip/transport/tcp/tcp_timer.c: Ditto.
1724 * drivers/net/tcpip/transport/tcp/tcpcore.c: Ditto.
1725
1726 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1727
1728 * lib/kernel32/k32.h: New file.
1729 * lib/kernel32/makefile (TARGET_CFLAGS): Add -I./.
1730 (TARGET_PCH): Set to k32.h.
1731 * lib/kernel32/except/except.c: Use <k32.h>.
1732 * lib/kernel32/file/backup.c: Ditto.
1733 * lib/kernel32/file/cnotify.c: Ditto.
1734 * lib/kernel32/file/copy.c: Ditto.
1735 * lib/kernel32/file/create.c: Ditto.
1736 * lib/kernel32/file/curdir.c: Ditto.
1737 * lib/kernel32/file/delete.c: Ditto.
1738 * lib/kernel32/file/deviceio.c: Ditto.
1739 * lib/kernel32/file/dir.c: Ditto.
1740 * lib/kernel32/file/dosdev.c: Ditto.
1741 * lib/kernel32/file/file.c: Ditto.
1742 * lib/kernel32/file/find.c: Ditto.
1743 * lib/kernel32/file/iocompl.c: Ditto.
1744 * lib/kernel32/file/lfile.c: Ditto.
1745 * lib/kernel32/file/lock.c: Ditto.
1746 * lib/kernel32/file/mailslot.c: Ditto.
1747 * lib/kernel32/file/move.c: Ditto.
1748 * lib/kernel32/file/npipe.c: Ditto.
1749 * lib/kernel32/file/pipe.c: Ditto.
1750 * lib/kernel32/file/rw.c: Ditto.
1751 * lib/kernel32/file/tape.c: Ditto.
1752 * lib/kernel32/file/volume.c: Ditto.
1753 * lib/kernel32/mem/global.c: Ditto.
1754 * lib/kernel32/mem/heap.c: Ditto.
1755 * lib/kernel32/mem/isbad.c: Ditto.
1756 * lib/kernel32/mem/local.c: Ditto.
1757 * lib/kernel32/mem/procmem.c: Ditto.
1758 * lib/kernel32/mem/section.c: Ditto.
1759 * lib/kernel32/mem/virtual.c: Ditto.
1760 * lib/kernel32/misc/atom.c: Ditto.
1761 * lib/kernel32/misc/comm.c: Ditto.
1762 * lib/kernel32/misc/console.c: Ditto.
1763 * lib/kernel32/misc/debug.c: Ditto.
1764 * lib/kernel32/misc/dllmain.c: Ditto.
1765 * lib/kernel32/misc/env.c: Ditto.
1766 * lib/kernel32/misc/error.c: Ditto.
1767 * lib/kernel32/misc/handle.c: Ditto.
1768 * lib/kernel32/misc/ldr.c: Ditto.
1769 * lib/kernel32/misc/profile.c: Ditto.
1770 * lib/kernel32/misc/res.c: Ditto.
1771 * lib/kernel32/misc/stubs.c: Ditto.
1772 * lib/kernel32/misc/sysinfo.c: Ditto.
1773 * lib/kernel32/misc/time.c: Ditto.
1774 * lib/kernel32/process/cmdline.c: Ditto.
1775 * lib/kernel32/process/create.c: Ditto.
1776 * lib/kernel32/process/proc.c: Ditto.
1777 * lib/kernel32/process/session.c: Ditto.
1778 * lib/kernel32/string/lstring.c: Ditto.
1779 * lib/kernel32/synch/critical.c: Ditto.
1780 * lib/kernel32/synch/event.c: Ditto.
1781 * lib/kernel32/synch/intrlck.c: Ditto.
1782 * lib/kernel32/synch/mutex.c: Ditto.
1783 * lib/kernel32/synch/sem.c: Ditto.
1784 * lib/kernel32/synch/timer.c: Ditto.
1785 * lib/kernel32/synch/wait.c: Ditto.
1786 * lib/kernel32/thread/fiber.c: Ditto.
1787 * lib/kernel32/thread/thread.c: Ditto.
1788 * lib/kernel32/thread/tls.c: Ditto.
1789
1790 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1791
1792 * apps/testsets/Makefile (TEST_SETS): Remove ldr.
1793 * include/msvcrt/ctype.h (towupper): Make returntype wchar_t.
1794
1795 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1796
1797 * tools/rtouch.c: Include <sys/utime.h>, not <utime.h>.
1798
1799 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1800
1801 * tools/rtouch.c: New file.
1802 * rules.mak (ROS_USE_PCH): Default to no.
1803 (RTOUCH): Define.
1804 * tools/Makefile: Add rtouch utility.
1805 * tools/helper.mk: Support precompiled headers.
1806
1807 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1808
1809 * ntoskrnl/dbg/profile.c: New file.
1810 * ntoskrnl/Makefile (OBJECTS_KDBG): Add dbg/profile.o.
1811 * ntoskrnl/dbg/kdb.h: Define NTOS_MODE_KERNEL. Include <ntos.h>.
1812 (LdrGetAddressInformation, KdbInitProfiling, KdbInitProfiling2,
1813 KdbDisableProfiling, KdbEnableProfiling, KdbProfileInterrupt) Prototype.
1814 * ntoskrnl/kd/kdebug.c (KdInitSystem): Add /PROFILE option if KDBG=1.
1815 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Call KdbInitProfiling2()
1816 if KDBG=1.
1817 * ntoskrnl/ke/i386/irq.c: Include <../dbg/kdb.h> if KDBG=1.
1818 (KiInterruptDispatch): Call KdbProfileInterrupt() on timer interrupt
1819 if KDBG=1.
1820
1821 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1822
1823 * drivers/fs/vfat/create.c (VfatSupersedeFile): Only notify cache manager
1824 about change in file size if caching is initiated on the file stream.
1825
1826 2003-01-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1827
1828 * boot.bat: Use DOS end-of-line characters.
1829
1830 2003-01-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
1831
1832 * ntoskrnl/ke/timer.c (KeExpireTimers): Avoid signed/unsigned comparison
1833 warning.
1834 * lib/user32/controls/scrollbar.c (SCROLL_DrawScrollBar): Put a statement
1835 at end.
1836
1837 2002-12-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1838
1839 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Only uninitialize caching
1840 when initialized.
1841 * drivers/fs/vfat/fcb.c (vfatReleaseFCB): Ditto.
1842 * lib/kernel32/mem/section.c (CreateFileMappingW): Pass NULL as
1843 MaximumSize to NtCreateSection if dwMaximumSizeHigh and dwMaximumSizeLow
1844 are both 0.
1845 * ntoskrnl/cc/pin.c (CcMapData): Assert if Bcb is NULL.
1846 * ntoskrnl/cc/view.c (CcRosReleaseCacheSegment, CcRosLookupCacheSegment,
1847 CcRosMarkDirtyCacheSegment, CcRosUnmapCacheSegment,
1848 CcRosCreateCacheSegment, CcRosGetCacheSegmentChain,
1849 CcRosGetCacheSegment, CcRosRequestCacheSegment, CcFlushCache,
1850 CcRosDeleteFileCache, CcRosReferenceCache, CcRosDereferenceCache,
1851 CcRosReleaseFileCache, CcGetFileObjectFromSectionPtrs): Ditto.
1852 * ntoskrnl/mm/section.c (MiReadPage): Assert if Fcb->Bcb is NULL.
1853 (MmCreateDataFileSection): Make sure caching is initialized for the file
1854 stream.
1855
1856 2002-11-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1857
1858 * include/ddk/ldrtypes.h: Move ...
1859 * include/ntos/ldrtypes.h: ... here.
1860 * include/ddk/ntddk.h: Include ldrtypes.h at new location.
1861
1862 2002-11-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1863
1864 * drivers/bus/acpi/ospm/osl.c (acpi_os_readable, acpi_os_writable):
1865 Match prototypes.
1866 * include/ascii.h (AbortSystemShutdownA): Correct prototype.
1867 * include/debug.h (assert): Wrap in #ifndef assert.
1868 * include/funcs.h (AbortSystemShutdown): Remove duplicate prototype.
1869 * include/ddk/rtltypes.h: Move ...
1870 * include/ntos/rtltypes.h: ... here.
1871 * include/ddk/rtl.h: Move ...
1872 * include/ntos/rtl.h: ... here.
1873 * include/ddk/zwtypes.h: Move ...
1874 * include/ntos/zwtypes.h: ... here.
1875 * include/ddk/zw.h: Move ...
1876 * include/ntos/zw.h: ... here.
1877 | include/ddk/cmfuncs.h: Remove file; Move NtCreateKey to ntos/zw.h.
1878 * include/ntos.h: #include ntos/rtltypes.h, ntos/rtl.h, ntos/zwtypes.h,
1879 and ntos/zw.h.
1880 * include/unicode.h: (AbortSystemShutdownW): Correct prototype.
1881 * include/ddk/ntddk.h: Include headers at new location; Don't include
1882 removed files.
1883 * include/defines.h: Wrap definitions in w32api in #ifndef __USE_W32API.
1884 * include/ntos/zwtypes.h: Ditto.
1885 * include/napi/lpc.h: Ditto.
1886 * include/napi/shared_data.h: Ditto.
1887 * include/napi/teb.h: Ditto.
1888 * include/napi/types.h: Ditto.
1889 * include/ntdll/ldr.h: Ditto.
1890 * include/ntdll/rtl.h: Ditto.
1891 * include/ntos/console.h: Ditto.
1892 * include/ntos/disk.h: Ditto.
1893 * include/ntos/except.h: Ditto.
1894 * include/ntos/file.h: Ditto.
1895 * include/ntos/gditypes.h: Ditto.
1896 * include/ntos/heap.h: Ditto.
1897 * include/ntos/keyboard.h: Ditto.
1898 * include/ntos/mm.h: Ditto.
1899 * include/ntos/ntdef.h: Ditto.
1900 * include/ntos/ps.h: Ditto.
1901 * include/ntos/registry.h: Ditto.
1902 * include/ntos/security.h: Ditto.
1903 * include/ntos/synch.h: Ditto.
1904 * include/ntos/time.h: Ditto.
1905 * include/ntos/types.h: Ditto.
1906 * include/ntos/port.h: Ditto.
1907 * lib/advapi32/misc/shutdown.c (AbortSystemShutdownW,
1908 AbortSystemShutdownA): Correct prototype.
1909 * lib/advapi32/reg/reg.c: #include ntos.h.
1910 * lib/advapi32/sec/misc.c: Ditto.
1911 * lib/advapi32/sec/sid.c: Ditto.
1912 * lib/advapi32/service/sctrl.c: Ditto.
1913 * lib/advapi32/token/token.c: Ditto.
1914 * lib/kernel32/misc/dllmain.c: Ditto.
1915 * ntoskrnl/ex/napi.c: Ditto.
1916 * ntoskrnl/rtl/i386/exception.c: Ditto.
1917 * lib/advapi32/sec/ac.c: Ditto.
1918 (FindFirstFreeAce, GetAce): Change PACE* to PACE_HEADER*.
1919 * lib/advapi32/service/scm.c (EnumServicesStatusExA,
1920 EnumServicesStatusExW, QueryServiceStatusEx): Correct prototype.
1921 * lib/ntdll/rtl/ppb.c (RtlDestroyProcessParameters): Match prototype.
1922 * ntoskrnl/dbg/errinfo.c (DbgGetErrorText): Use %08x, not %08lx.
1923 * ntoskrnl/io/arcname.c (IoCreateSystemRootLink): Use %u, not %lu.
1924 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Ditto.
1925 * (_main): Use %d, not %ld.
1926 * ntoskrnl/include/internal/i386/ke.h: Add #pragma GCC system_header.
1927 * include/ddk/ntdef.h (NTSYSAPI, NTAPI, NTKERNELAPI): Define to STDCALL;
1928 Check if already defined.
1929 * include/base.h (STDCALL, CDECL, CALLBACK, PASCAL): Move to ntos/types.h.
1930
1931 2002-11-13 Rick Gaiser <RickG81@Wanadoo.nl>
1932
1933 * drivers/bus/isapnp/isapnp.c (FindNextReadPort): Increment Port before
1934 checking wether port address is in NE2000 address space range and returning
1935 port address value.
1936
1937 2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1938
1939 * drivers/bus/acpi/include/acpi.h: Include platform/types.h.
1940 * drivers/bus/acpi/include/actypes.h: (UINT8, BOOLEAN, UCHAR, UINT16,
1941 INT32, UINT32, UINT64): Disable, use the OS defined types instead.
1942 * drivers/bus/acpi/include/platform/types.h: Remove all types,
1943 include ntos.h instead.
1944 * drivers/bus/acpi/ospm/include/acpisys.h: Don't include
1945 platform/types.h.
1946
1947 2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1948
1949 * include/defines.h: Fix warnings when bulding with gcc 3.3.
1950 * include/ddk/status.h: Ditto.
1951 * include/freetype/internal/ftdebug.h: Ditto.
1952 * include/net/ndis.h: Ditto.
1953 * lib/msafd/misc/helpers.c: Ditto.
1954 * lib/user32/windows/defwnd.c: Ditto.
1955 * lib/user32/windows/window.c: Ditto.
1956 * ntoskrnl/cm/ntfunc.c: Ditto.
1957 * ntoskrnl/cm/regfile.c: Ditto.
1958 * ntoskrnl/cm/regobj.c: Ditto.
1959 * ntoskrnl/dbg/errinfo.c: Ditto.
1960 * ntoskrnl/ex/hashtab.c: Ditto.
1961 * ntoskrnl/include/internal/mm.h: Ditto.
1962 * ntoskrnl/io/irp.c: Ditto.
1963 * ntoskrnl/kd/gdbstub.c: Ditto.
1964 * ntoskrnl/ke/queue.c: Ditto.
1965 * ntoskrnl/ke/sem.c: Ditto.
1966 * ntoskrnl/ldr/resource.c: Ditto.
1967 * ntoskrnl/mm/balance.c: Ditto.
1968 * ntoskrnl/mm/freelist.c: Ditto.
1969 * ntoskrnl/mm/mdl.c: Ditto.
1970 * ntoskrnl/mm/npool.c: Ditto.
1971 * ntoskrnl/mm/section.c: Ditto.
1972 * ntoskrnl/rtl/error.c: Ditto.
1973 * ntoskrnl/rtl/mem.c: Ditto.
1974 * ntoskrnl/rtl/string.c: Ditto.
1975 * ntoskrnl/rtl/time.c: Ditto.
1976 * ntoskrnl/rtl/unicode.c: Ditto.
1977 * ntoskrnl/rtl/wstring.c: Ditto.
1978 * ntoskrnl/rtl/i386/exception.c: Ditto.
1979 * subsys/win32k/freetype/src/base/ftinit.c: Ditto.
1980
1981 2002-11-03 Casper S. Hornstrup <chorns@users.sourceforge.net>
1982
1983 * apps/tests/lpc/lpcclt.c: Change LPC_MESSAGE_HEADER to LPC_MESSAGE.
1984 * include/csrss/csrss.h: Ditto.
1985 * include/lsass/lsass.h: Ditto.
1986 * include/napi/dbg.h: Ditto.
1987 * include/napi/lpc.h: Ditto.
1988 * lib/kernel32/misc/console.c: Ditto.
1989 * lib/ntdll/csr/lpc.c: Ditto.
1990 * lib/ntdll/dbg/debug.c: Ditto.
1991 * lib/secur32/lsa.c: Ditto.
1992 * ntoskrnl/dbg/user.c: Ditto.
1993 * ntoskrnl/include/internal/port.h: Ditto.
1994 * ntoskrnl/lpc/connect.c: Ditto.
1995 * ntoskrnl/lpc/reply.c: Ditto.
1996 * ntoskrnl/ps/process.c: Ditto.
1997 * subsys/csrss/api/conio.c: Ditto.
1998 * subsys/csrss/api/process.c: Ditto.
1999 * subsys/csrss/api/user.c: Ditto.
2000
2001 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2002
2003 * lib/msvcrt/except/seh.s: Fix end-of-line formatting.
2004 * lib/ntdll/rtl/i386/exception.c: Ditto.
2005 * lib/ntdll/rtl/i386/except.s: Ditto.
2006 * ntoskrnl/rtl/i386/except.s: Ditto.
2007 * ntoskrnl/rtl/i386/seh.s: Ditto.
2008
2009 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2010
2011 * lib/msvcrt/Makefile (OBJECTS_EXCEPT): Add except/seh.o; Remove
2012 except/exhand3.o.
2013 * lib/msvcrt/except/exhand2.c (MsvcrtDebug): New function.
2014 * lib/msvcrt/except/unwind.c (PEXCEPTION_FRAME): Remove.
2015 (_global_unwind2): Correct prototype.
2016 * lib/ntdll/makefile (RTL_I386_OBJECTS, ARCH_OBJECTS): New groups.
2017 (TARGET_OBJECTS): Add ARCH_OBJECTS group.
2018 * lib/ntdll/rtl/exception.c (KiUserExceptionDispatcher): Set
2019 NumberParameters in exception record.
2020 (RtlRaiseStatus): Remove.
2021 * ntoskrnl/Makefile (OBJECTS_RTL): Remove rtl/seh.o.
2022 (OBJECTS_RTL_I386): Add rtl/i386/except.o, rtl/i386/exception.o, and
2023 rtl/i386/seh.o.
2024 * ntoskrnl/ke/catch.c (RtlpExecuteHandlerForException,
2025 RtlpDumpExceptionRegistrations, RtlpDispatchException,
2026 RtlpExecuteHandler, RtlpExceptionHandler, RtlpUnwindHandler,
2027 RtlpExecuteHandlerForException, RtlpExecuteHandlerForUnwind,
2028 RtlUnwind): Remove.
2029 (RtlpDispatchException): Add prototype.
2030 * ntoskrnl/ke/i386/usertrap.c (ExceptionTypeStrings): Remove.
2031 * ntoskrnl/ps/create.c (PsCreateTeb): Mark end of exception
2032 registration list.
2033 * tools/helper.mk (TARGET_ASFLAGS): Add -g if DBG = 1.
2034 * lib/msvcrt/except/exhand3.c: Remove.
2035 * ntoskrnl/rtl/seh.c: Ditto.
2036 * lib/msvcrt/except/seh.s: New file.
2037 * lib/ntdll/rtl/i386/except.s: Ditto.
2038 * lib/ntdll/rtl/i386/exception.c: Ditto.
2039 * ntoskrnl/rtl/i386/except.s: Ditto.
2040 * ntoskrnl/rtl/i386/exception.c: Ditto.
2041 * ntoskrnl/rtl/i386/seh.s: Ditto.
2042
2043 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2044
2045 * lib/kernel32/process/create.c (_except_handler): New function.
2046 (BaseProcessStart): Ditto.
2047 (KlCreateFirstThread): Return INVALID_HANDLE_VALUE on error; Call
2048 BaseProcessStart() before process entry point.
2049 * lib/kernel32/thread/thread.c (_except_handler): New function.
2050 (ThreadStartup): Protect thread using SEH constructs.
2051
2052 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2053
2054 * include/ddk/zw.h (NtProcessStartup): Use standard calling convention.
2055 * subsys/csrss/csrss.c (NtProcessStartup): Ditto.
2056 * subsys/smss/smss.c (NtProcessStartup): Ditto.
2057 * subsys/system/autochk/autochk.c (NtProcessStartup): Ditto.
2058 * subsys/system/usetup/usetup.c (NtProcessStartup): Ditto.
2059
2060 2002-10-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
2061
2062 * apps/tests/tokentest/tokentest.c (ROS_ACE_HEADER): Move field
2063 AccessMask ...
2064 (ROS_ACE): ... here.
2065 (DisplayDacl): Make pAce an ROS_ACE*; Use new path for AceType; Use
2066 sizeof(ACE) instead of sizeof(ACE_HEADER).
2067 * include/ntos/security.h (ACE_HEADER): Move field AccessMask ...
2068 (ACE): ... here.
2069 * lib/ntdll/rtl/acl.c: Use new path for AccessMask.
2070 * ntoskrnl/se/semgr.c: Ditto.
2071 * ntoskrnl/se/acl.c (SepInitDACLs): Use new path for AccessMask; Use
2072 sizeof(ACE) instead of sizeof(ACE_HEADER).
2073 * ntoskrnl/se/token.c (SepCreateSystemProcessToken): Use sizeof(ACE)
2074 instead of sizeof(ACE_HEADER).
2075
2076 2002-10-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
2077
2078 * include/napi/teb.h (RTL_USER_PROCESS_PARAMETERS): Use field names
2079 as described in Windows NT/2000 Native API Reference.
2080 * lib/kernel32/file/file.c: Use new field names.
2081 * lib/kernel32/misc/console.c: Ditto.
2082 * lib/kernel32/process/create.c: Ditto.
2083 * lib/kernel32/process/proc.c: Ditto.
2084 * lib/ntdll/rtl/path.c: Ditto.
2085 * lib/ntdll/rtl/ppb.c: Ditto.
2086 * lib/ntdll/rtl/process.c: Ditto.
2087
2088 2002-10-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
2089
2090 * include/ntos.h: Include relevant files.
2091 * include/internal/ke.h: Include files relative to
2092 ntoskrnl/include.
2093 * include/internal/arch/ke.h: Ditto.
2094
2095 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
2096
2097 * drivers/dd/floppy/floppy.c: Changed PAGESIZE to PAGE_SIZE.
2098 * drivers/fs/cdfs/fcb.c: Ditto.
2099 * drivers/fs/cdfs/fsctl.c: Ditto.
2100 * drivers/fs/cdfs/rw.c: Ditto.
2101 * drivers/fs/ext2/dir.c: Ditto.
2102 * drivers/fs/ext2/inode.c: Ditto.
2103 * drivers/fs/ext2/rw.c: Ditto.
2104 * drivers/fs/ext2/super.c: Ditto.
2105 * drivers/fs/minix/blockdev.c: Ditto.
2106 * drivers/fs/minix/cache.c: Ditto.
2107 * drivers/fs/minix/inode.c: Ditto.
2108 * drivers/fs/minix/rw.c: Ditto.
2109 * drivers/fs/ntfs/fcb.c: Ditto.
2110 * drivers/fs/ntfs/ntfs.h: Ditto.
2111 * drivers/fs/vfat/create.c: Ditto.
2112 * drivers/fs/vfat/direntry.c: Ditto.
2113 * drivers/fs/vfat/dirwr.c: Ditto.
2114 * drivers/fs/vfat/fat.c: Ditto.
2115 * drivers/fs/vfat/fcb.c: Ditto.
2116 * drivers/fs/vfat/fsctl.c: Ditto.
2117 * drivers/fs/vfat/rw.c: Ditto.
2118 * drivers/storage/class2/class2.c: Ditto.
2119 * drivers/storage/scsiport/scsiport.c: Ditto.
2120 * hal/halx86/adapter.c: Ditto.
2121 * hal/halx86/mp.c: Ditto.
2122 * include/ddk/mmfuncs.h: Ditto.
2123 * include/ddk/mmtypes.h: Ditto.
2124 * include/ddk/i386/pagesize.h: Ditto.
2125 * include/ntdll/pagesize.h: Ditto.
2126 * lib/kernel32/process/create.c: Ditto.
2127 * lib/kernel32/thread/thread.c: Ditto.
2128 * lib/ntdll/ldr/utils.c: Ditto.
2129 * lib/ntdll/rtl/env.c: Ditto.
2130 * lib/ntdll/rtl/heap.c: Ditto.
2131 * lib/ntdll/rtl/ppb.c: Ditto.
2132 * lib/ntdll/rtl/process.c: Ditto.
2133 * lib/ntdll/rtl/thread.c: Ditto.
2134 * ntoskrnl/cc/copy.c: Ditto.
2135 * ntoskrnl/cc/view.c: Ditto.
2136 * ntoskrnl/ex/sysinfo.c: Ditto.
2137 * ntoskrnl/include/internal/i386/mm.h: Ditto.
2138 * ntoskrnl/io/mdl.c: Ditto.
2139 * ntoskrnl/ke/kthread.c: Ditto.
2140 * ntoskrnl/ke/i386/kernel.c: Ditto.
2141 * ntoskrnl/ldr/init.c: Ditto.
2142 * ntoskrnl/ldr/loader.c: Ditto.
2143 * ntoskrnl/mm/anonmem.c: Ditto.
2144 * ntoskrnl/mm/cont.c: Ditto.
2145 * ntoskrnl/mm/freelist.c: Ditto.
2146 * ntoskrnl/mm/iospace.c: Ditto.
2147 * ntoskrnl/mm/kmap.c: Ditto.
2148 * ntoskrnl/mm/marea.c: Ditto.
2149 * ntoskrnl/mm/mdl.c: Ditto.
2150 * ntoskrnl/mm/mminit.c: Ditto.
2151 * ntoskrnl/mm/ncache.c: Ditto.
2152 * ntoskrnl/mm/npool.c: Ditto.
2153 * ntoskrnl/mm/pagefile.c: Ditto.
2154 * ntoskrnl/mm/pageop.c: Ditto.
2155 * ntoskrnl/mm/section.c: Ditto.
2156 * ntoskrnl/mm/slab.c: Ditto.
2157 * ntoskrnl/mm/i386/page.c: Ditto.
2158 * ntoskrnl/ob/handle.c: Ditto.
2159 * ntoskrnl/ps/create.c: Ditto.
2160 * ntoskrnl/ps/process.c: Ditto.
2161 * ntoskrnl/ps/w32call.c: Ditto.
2162 * subsys/win32k/include/object.h: Ditto.
2163
2164 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
2165
2166 * lib/ntdll/string/ctype.c: Undefine __MSVCRT__ to not have mingw
2167 runtime import _pctype.
2168
2169 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
2170
2171 * lib/user32/misc/desktop.c (string.h): Include.
2172 * lib/user32/misc/resources.c: Ditto.
2173 * lib/user32/misc/winhelp.c: Ditto.
2174 * lib/user32/windows/accel.c: Ditto.
2175 * lib/user32/windows/bitmap.c: Ditto.
2176 * subsys/win32k/freetype/ctype.c: Undefine __MSVCRT__ and _pctype to not
2177 have mingw runtime import _pctype.
2178
2179 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
2180
2181 * ntoskrnl/cc/view.c (alloca): Prototype.
2182 * ntoskrnl/rtl/ctype.c: Undefine __MSVCRT__ to not have mingw runtime
2183 import _pctype.
2184
2185 2002-08-26 David Welch <welch@computer2.darkstar.org>
2186
2187 * lib/gdi32/misc/dllmain.c (GdiDllInitialize): Don't initialize
2188 win32k.sys for each process.
2189 * subsys/csrss/init.c (CsrServerInitialization): Initialize
2190 win32k.sys as well.
2191
2192 2002-08-26 David Welch <welch@computer2.darkstar.org>
2193
2194 * ntoskrnl/ps/process.c (NtCreateProcess): Reference the
2195 parent process's handle using ExGetPreviousMode.
2196
2197 2002-08-26 David Welch <welch@computer2.darkstar.org>
2198
2199 * lib/user32/misc/dllmain.c (Init): Initialize gdi32 as well.
2200
2201 2002-08-26 David Welch <welch@computer2.darkstar.org>
2202
2203 * iface/addsys/genw32k.c (main, process): Generate a set of
2204 stubs for csrss as well.
2205
2206 2002-08-26 David Welch <welch@computer2.darkstar.org>
2207
2208 * lib/kernel32/process/create.c (CreateProcessW): Initialize
2209 all the members of the new process's PPB.
2210
2211 2002-08-17 David Welch <welch@computer2.darkstar.org>
2212
2213 * ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): Ensure the
2214 process isn't freed in the middle of our operations.
2215
2216 2002-08-17 David Welch <welch@computer2.darkstar.org>
2217
2218 * drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation): Fixed.
2219
2220 2002-08-17 David Welch <welch@computer2.darkstar.org>
2221
2222 * ntoskrnl/ps/create.c (PiDeleteThread): Don't dereference
2223 the thread's process while holding the thread list lock.
2224
2225 2002-08-17 David Welch <welch@computer2.darkstar.org>
2226
2227 * ntoskrnl/mm/section.c (MmMapViewOfSection): Check there is
2228 enough space for all parts of an image before mapping it; if
2229 there isn't enough space free at the preferred base address
2230 then try to choose a different one.
2231
2232 2002-08-17 David Welch <welch@computer2.darkstar.org>
2233
2234 * ntoskrnl/mm/mpw.c (MmInitMpwThread): Run the MPW thread at
2235 idle priority.
2236
2237 2002-08-17 David Welch <welch@computer2.darkstar.org>
2238
2239 * ntoskrnl/mm/kmap.c (ExUnmapPage, ExAllocatePageWithPhysPage,
2240 MiFreeNonPagedPoolRegion, MiAllocNonPagedPoolRegion): Maintain
2241 a hint of the next free page; makes running with whole page
2242 allocation more bearable.
2243
2244 2002-08-17 David Welch <welch@computer2.darkstar.org>
2245
2246 * ntoskrnl/mm/anonmem.c (MmPageOutVirtualMemory): Show an
2247 out of swap space message if we are out of swap space.
2248 * ntoskrnl/mm/section.c (MmPageOutSectionView): Show an
2249 out of swap space message if we are out of swap space.
2250 * ntoskrnl/mm/pagefile.c (MmAllocSwapPage): Don't automatically
2251 show an out of swap space message on failure.
2252 * ntoskrnl/mm/pagefile.c (MmShowOutOfSpaceMessagePagingFile): New
2253 function to notify the user that the pagefile is full.
2254
2255 2002-08-17 David Welch <welch@computer2.darkstar.org>
2256
2257 * drivers/lib/zlib/Makefile: Create a dummy zlib.sym
2258
2259 2002-08-16 David Welch <welch@computer2.darkstar.org>
2260
2261 * ntoskrnl/mm/npool.c (ExAllocateWholePageBlock): Converted
2262 to use PHYSICAL_ADDRESS type for page address.
2263
2264 2002-08-16 David Welch <welch@computer2.darkstar.org>
2265
2266 * subsys/win32k/ntuser/class.c (W32kCreateClass): Corrected
2267 typo when calculating the offset into the class object to
2268 put the class name string.
2269
2270 2002-08-16 David Welch <welch@computer2.darkstar.org>
2271
2272 * ntoskrnl/ps/thread.c (PsDispatchThreadNoLock): Don't call
2273 the reaper function directly; set an event to wake up a seperate
2274 reaper thread.
2275 * ntoskrnl/ps/thread.c (PsReaperThreadMain): New function that
2276 waits for a notification and then calls PsReapThreads.
2277 * ntoskrnl/ps/thread.c (PsInitThreadManagement): Create the
2278 reaper thread.
2279
2280 2002-08-15 David Welch <welch@computer2.darkstar.org>
2281
2282 * lib/advapi32/misc/dllmain.c (DllMain): Removed debug message.
2283
2284 2002-08-14 David Welch <welch@computer2.darkstar.org>
2285
2286 * subsys/smss/init.c (SmPagingFilesQueryRoutine): If possible
2287 take the size of the paging file from the registry.
2288
2289 2002-08-14 David Welch <welch@computer2.darkstar.org>
2290
2291 * ntoskrnl/mm/section.c (MmCreateDataFileSection): Extend the
2292 section if necessary.
2293
2294 2002-08-14 David Welch <welch@computer2.darkstar.org>
2295
2296 * ntoskrnl/mm/pagefile.c (NtCreatePagingFile): Set the file
2297 size using the FileAllocationInformation class.
2298
2299 2002-08-14 David Welch <welch@computer2.darkstar.org>
2300
2301 * ntoskrnl/mm/anonmem.c (MmWritePageVirtualMemory): Implemented
2302 function to write anonymous memory pages to the swap file.
2303 * ntoskrnl/mm/anonmem.c (MmFreeVirtualMemoryPage): Free any
2304 swap page associated with the page.
2305 * ntoskrnl/mm/mpw.c (MmWriteDirtyPages): New function to find
2306 pages to write to disk.
2307 * ntoskrnl/mm/mpw.c (MmMpwThreadMain): Implemented MPW functionality.
2308 * ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): New function
2309 to write a single page back to disk.
2310 * ntoskrnl/mm/rmap.c (MmSetCleanAllRmaps, MmSetDirtyAllRmaps,
2311 MmIsDirtyPageRmap): New rmap function to support the MPW thread.
2312 * ntoskrnl/mm/section.c (MmWritePageSectionView): Implemented
2313 function to write back section pages.
2314 * ntoskrnl/mm/section.c (MmFreeSectionPage): Free any swap
2315 entry associated with the page; mark pages shared with
2316 the cache as dirty if necessary.
2317
2318 2002-08-14 David Welch <welch@computer2.darkstar.org>
2319
2320 * ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set name of
2321 the module into the module text structure.
2322
2323 2002-08-14 David Welch <welch@computer2.darkstar.org>
2324
2325 * ntoskrnl/io/rw.c (NtReadFile, NtWriteFile): Use the correct
2326 test for whether to wait for the completion of i/o.
2327
2328 2002-08-14 David Welch <welch@computer2.darkstar.org>
2329
2330 * ntoskrnl/cm/ntfunc.c (NtFlushKey): Request synchronous i/o
2331 from NtOpenFile.
2332 * ntoskrnl/cm/regfile (CmiInitPermanentRegistryHive): Request
2333 synchronous i/o from NtCreateFile.
2334 * ntoskrnl/dbg/kdb_stabs.c (LdrpLoadModuleSymbols): Request
2335 synchronous i/o from NtOpenFile.
2336 * ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Request synchronous i/o
2337 from NtOpenFile.
2338
2339 2002-08-14 David Welch <welch@computer2.darkstar.org>
2340
2341 * ntoskrnl/cc/view.c (CcRosSuggestFreeCacheSegment): Maintain the
2342 correct reference count.
2343
2344 2002-08-14 David Welch <welch@computer2.darkstar.org>
2345
2346 * ntoskrnl/cc/view.c (CcRosFlushCacheSegment): New function to
2347 write back a modified cache segment.
2348 * ntoskrnl/cc/view.c (CcRosFlushDirtyPages): New function to
2349 flush some dirty pages from the cache.
2350 * ntoskrnl/cc/view.c (CcRosMarkDirtyCacheSegment): New function to
2351 mark a cache segment modified while mapped into memory as dirty.
2352
2353 2002-08-14 David Welch <welch@computer2.darkstar.org>
2354
2355 * ntoskrnl/cc/pin.c (CcMapData, CcUnpinData, CcSetDirtyPinnedData):
2356 Store the dirty status in the BCB; don't write back dirty data
2357 immediately.
2358
2359 2002-08-14 David Welch <welch@computer2.darkstar.org>
2360
2361 * include/ntos/mm.h: Added SEC_XXXX defines from 'Windows NT/2000
2362 Native API Reference'
2363
2364 2002-08-14 David Welch <welch@computer2.darkstar.org>
2365
2366 * drivers/fs/vfat/ea.c (VfatSetExtendedAttributes): Empty
2367 placeholder for extended attribute functions.
2368
2369 2002-08-14 David Welch <welch@computer2.darkstar.org>
2370
2371 * drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation):
2372 Added function to set allocation size.
2373
2374 2002-08-14 David Welch <welch@computer2.darkstar.org>
2375
2376 * drivers/fs/vfat/fcb.c (vfatFCBInitializeCache): Renamed
2377 to vfatFCBInitializeCacheFromVolume.
2378 * drivers/fs/vfat/fcb.c (vfatMakeFCBFromDirEntry): Don't
2379 initialise the cache with a file object representing the
2380 volume unless the FCB is for a directory.
2381
2382 2002-08-14 David Welch <welch@computer2.darkstar.org>
2383
2384 * drivers/fs/vfat/create.c (VfatPagingFileCreate): Added a
2385 new function for handling paging file only code.
2386 * drivers/fs/vfat/create.c (VfatSupersedeFile): Added a
2387 new function for doing a file supersede.
2388 * drivers/fs/vfat/create.c (VfatCreateFile): Reformatted and
2389 adjusted control flow. Set allocation size and extended attributes
2390 on create.
2391 * drivers/fs/vfat/create.c (VfatCreate): Removed goto.
2392
2393 2002-08-14 David Welch <welch@computer2.darkstar.org>
2394
2395 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Renamed
2396 updEntry to VfatUpdateEntry.
2397 * drivers/fs/vfat/close.c (VfatCloseFile): Renamed
2398 updEntry to VfatUpdateEntry.
2399 * drivers/fs/vfat/dirwr.c (updEntry): Renamed to
2400 VfatUpdateEntry.
2401 * drivers/fs/vfat/dirwr.c (addEntry): Renamed to
2402 VfatAddEntry.
2403
2404 2002-08-14 David Welch <welch@computer2.darkstar.org>
2405
2406 * apps/tests/sectest/sectest.c (main): Fixed formatting.
2407
2408 2002-08-10 David Welch <welch@computer2.darkstar.org>
2409
2410 * ntoskrnl/mm/i386/page.c (MmSetPageProtect): Fixed
2411 behaviour when called on the system address space.
2412
2413 2002-08-10 David Welch <welch@computer2.darkstar.org>
2414
2415 * ntoskrnl/mm/virtual.c (MmQueryAnonMem, MmProtectAnonMem,
2416 NtAllocateVirtualMemory, NtFreeVirtualMemory): Renamed
2417 segments to regions; moved region code to seperate file.
2418 Implemented NtQueryVirtualMemory and NtProtectVirtualMemory
2419 for anonymous memory areas.
2420
2421 2002-08-10 David Welch <welch@computer2.darkstar.org>
2422
2423 * ntoskrnl/mm/anonmem.c: Moved functions relating to
2424 areas created with NtAllocateVirtualMemory to a
2425 seperate file.
2426
2427 2002-08-10 David Welch <welch@computer2.darkstar.org>
2428
2429 * ntoskrnl/mm/section.c (MmQuerySectionView): Implemented
2430 NtQueryVirtualMemory for section views.
2431
2432 2002-08-10 David Welch <welch@computer2.darkstar.org>
2433
2434 * ntoskrnl/mm/section.c (MmAccessFaultSectionView,
2435 MmNotPresentFaultSectionView, MmProtectSectionView,
2436 MmMapViewOfSegment, MmAlterViewAttributes): Implemented
2437 NtProtectVirtualMemory for section views.
2438
2439 2002-08-10 David Welch <welch@computer2.darkstar.org>
2440
2441 * ntoskrnl/ke/main.c: Removed SEH test code.
2442
2443 2002-08-10 David Welch <welch@computer2.darkstar.org>
2444
2445 * lib/ntdll/ldr/utils.c (LdrFixupImports): Remove the readonly
2446 protection from the IAT before writing to it.
2447
2448 2002-08-10 David Welch <welch@computer2.darkstar.org>
2449
2450 * lib/ntdll/ldr/utils.c (LdrAdjustDllName): Properly null terminate
2451 the base name of the DLL.
2452
2453 2002-08-10 David Welch <welch@computer2.darkstar.org>
2454
2455 * ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set the text segment
2456 of modules to readonly after loading.
2457
2458 2002-08-09 David Welch <welch@computer2.darkstar.org>
2459
2460 * ntoskrnl/ps/create.c (NtCreateThread): Call PsSuspendThread
2461 if NtCreateThread has CreateSuspended as TRUE.
2462 * ntoskrnl/ps/suspend.c (PsSuspendThread, PsResumeThread,
2463 PiSuspendThreadKernelRoutine): Fixed suspend functionality.
2464
2465 2002-08-09 David Welch <welch@computer2.darkstar.org>
2466
2467 * ntoskrnl/ke/i386/usertrap.c (print_user_address): Copy
2468 the LDR variable from the right address.
2469
2470 2002-08-09 David Welch <welch@computer2.darkstar.org>
2471
2472 * ntoskrnl/ke/apc.c (KiDeliverNormalApc): Check for
2473 kernel APCs pending on exit from the kernel.
2474 * ntoskrnl/ke/apc.c (KiDeliverNormalApc, KiDeliverUserApc,
2475 KiDeliverApc): Set the APC's inserted flag to FALSE after
2476 removing it from the thread's queue.
2477
2478 2002-08-09 David Welch <welch@computer2.darkstar.org>
2479
2480 * lib/kernel32/thread/thread.c (ThreadStartup): Don't
2481 call DLL entrypoints; this is done by LdrInitializeThunk.
2482 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
2483 DLLs in initialization order; take the loader lock before
2484 calling.
2485
2486 2002-08-09 David Welch <welch@computer2.darkstar.org>
2487
2488 * apps/tests/thread/thread.c (main): Test suspend and
2489 resume functionality.
2490
2491 2002-08-08 David Welch <welch@computer2.darkstar.org>
2492
2493 * ntoskrnl/mm/section (NtQuerySection): Return the
2494 right result length.
2495
2496 2002-08-08 David Welch <welch@computer2.darkstar.org>
2497
2498 * ntoskrnl/ke/usertrap.c (print_user_address): Check for
2499 a NULL LDR structure in the PEB; copy the LDR pointer in
2500 safely.
2501
2502 2002-08-08 David Welch <welch@computer2.darkstar.org>
2503
2504 * ntoskrnl/ke/apc.c (KiDeliverUserApc): Deliver all present
2505 APCs; release the APC spinlock while acccessing user memory.
2506
2507 2002-08-08 David Welch <welch@computer2.darkstar.org>
2508
2509 * include/internal/ps.h: Adjusted offsets into the ETHREAD
2510 structure.
2511 * include/internal/ps.h: Removed redundant members from the
2512 KTHREAD structure.
2513 * ntoskrnl/ke/kthread.c (KeInitializeThread): Removed
2514 redundant members from the KTHREAD structure.
2515
2516 2002-08-08 David Welch <welch@computer2.darkstar.org>
2517
2518 * ntoskrnl/dbg/kdb.c (KdbEnterDebuggerException): New
2519 function to enter the debugger on an exception.
2520 * ntoskrnl/kd/kdebug.c (KdInitSystem): Initialize the
2521 local kernel debugger if enabled.
2522 * ntoskrnl/ke/catch.c (KiDispatchException): Enter the
2523 local kernel debugger on an exception.
2524
2525 2002-08-08 David Welch <welch@computer2.darkstar.org>
2526
2527 * include/ntdll/ldr.h: Added definition for a DLL entrypoint.
2528 * lib/kernel32/process/create.c (KlCreateFirstThread): Put
2529 the argument to the NtProcessStartup function on the stack.
2530 * lib/kernel32/process/create.c (KlInitPeb): Read the
2531 base address of the new image from the PEB.
2532 * lib/kernel32/process/create.c (CreateProcessW): Start the
2533 first thread at the entrypoint of the new image.
2534 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): If the
2535 function is called after the initial startup then just call the
2536 entrypoints for the loaded DLLs with DLL_THREAD_ATTACH. Don't
2537 call the entrypoint of the image.
2538 * lib/ntdll/rtl/process.c (RtlpCreateFirstThread): Put the
2539 argument to the NtProcessStartup function on the stack.
2540 * lib/ntdll/rtl/process.c (KlInitPeb): Read the base address of
2541 the new image from the PEB.
2542 * lib/ntdll/rtl/process.c (RtlCreateUserProcess): Start the
2543 first thread at the entrypoint of the new image.
2544 * ntoskrnl/ke/i386/bthread.S (PsBeginThreadWithContextInternal):
2545 Use the system call path to begin a usermode thread.
2546 * ntoskrnl/ke/i386/thread.c (Ke386InitThreadWithContext): Convert
2547 the supplied context into a trap frame.
2548 * ntoskrnl/ldr/init.c (LdrLoadInitialProcess): Put the PEB argument
2549 to the NtProcessStartup function on the new stack; start the
2550 first thread at the entrypoint of the image.
2551 * ntoskrnl/ps/create.c (NtCreateThread): Create an APC to call
2552 LdrInitializeThunk in the context of a new thread before its
2553 entrypoint.
2554
2555 2002-08-08 David Welch <welch@computer2.darkstar.org>
2556
2557 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Uninitialise
2558 the cache on file cleanup.
2559 * drivers/fs/vfat/fcb.c (vfatReleaseFcb): Don't uninitialise
2560 the cache on file close.
2561 * ntoskrnl/cc/copy.c: Renamed zero page global variable.
2562 * ntoskrnl/cc/view.c: Added cache delete function.
2563
2564 2002-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
2565
2566 * rules.mak (RSYM): Define.
2567 * include/ddk/zwtypes.h (DebugDbgLoadSymbols): Add to enum
2568 _DEBUG_CONTROL_CODE.
2569 * include/ntdll/ldr.h (LDR_SYMBOL_INFO, LdrpLoadUserModuleSymbols): Add.
2570 (LdrLoadModuleSymbols): Remove.
2571 * include/ntos/kdbgsyms.h (ST_FILENAME, ST_FUNCTION,
2572 ST_LINENUMBER): Add.
2573 (SYMBOL). Make Name an ANSI_STRING.
2574 (IMAGE_SYMBOL_INFO, AreSymbolsParsed): Add.
2575 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
2576 LdrpLoadUserModuleSymbols() not LdrLoadModuleSymbols().
2577 * lib/ntdll/ldr/utils.c (LdrLoadModuleSymbols): Rename to
2578 LdrpLoadUserModuleSymbols.
2579 (LdrpLoadUserModuleSymbols): Use DebugDbgLoadSymbols debug control code.
2580 (LdrLoadDll): assert if out of memory.
2581 (LdrLoadDll): Call
2582 LdrpLoadUserModuleSymbols(), not LdrLoadModuleSymbols().
2583 * lib/ntdll/string/ctype.c (_pctype): #undef.
2584 * ntoskrnl/dbg/dbgctrl.c (NtSystemDebugControl): Call
2585 LdrLoadUserModuleSymbols on DebugDbgLoadSymbols.
2586 * ntoskrnl/include/internal/ldr.h (LdrGetAddressInformation): Add.
2587 * ntoskrnl/include/internal/module.h (MODULE_TEXT_SECTION): Make SymbolInfo
2588 an IMAGE_SYMBOL_INFO.
2589 * ntoskrnl/ke/i386/exp.c (LdrGetAddressInformation): Add prototype.
2590 (print_address): Change #ifdef KDBG to #ifdef DBG.
2591 (KiDoubleFaultHandler, KiDumpTrapFrame, KeDumpStackFrames): Dump
2592 one stack frame per line.
2593 * ntoskrnl/ke/i386/multiboot.S: Create pagetables for more kernel
2594 address space so larger modules can be passed from the boot loader.
2595 * ntoskrnl/ke/i386/usertrap.c (LdrGetAddressInformation): Add prototype.
2596 (print_user_address): Print symbols using LdrGetAddressInformation().
2597 * ntoskrnl/ldr/loader.c (SYMBOLFILE_HEADER, IMAGE_SYMBOL_INFO_CACHE,
2598 STAB_ENTRY, N_FUN, N_SLINE, N_SO, SymbolListHead): Add.
2599 (TAG_SYM_BUF): Remove.
2600 (LdrInitDebug): Remove unneeded code.
2601 (LdrInit1): Prepare for loading symbols.
2602 (LdrpReadLine, HexL, LdrpParseLine, LdrpLoadModuleSymbolsFromBuffer,
2603 LdrpLoadUserModuleSymbolsFromBuffer): Remove.
2604 (LdrpParseImageSymbols, LdrpGetFileName, LdrpGetFunctionName,
2605 LdrpGetLineNumber, LdrGetAddressInformation, LdrpLookupUserSymbolInfo): Add.
2606 (LdrpLoadModuleSymbols, LdrInitializeBootStartDriver): Change to use new
2607 symbol structures.
2608 (LdrLoadUserModuleSymbols): Cache symbol buffers.
2609 (LdrUnloadModuleSymbols): Implement.
2610 (LdrLoadModule, LdrUnloadModule): Change #ifdef KDBG to #ifdef DBG.
2611 (LdrPEProcessModule): Split a line into two lines.
2612 (LdrPEProcessModule): Setup for loading symbols.
2613 * ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Open with FILE_SHARE_READ.
2614 * ntoskrnl/ps/process.c (PiFreeSymbols): Call LdrUnloadModuleSymbols() to
2615 free symbols.
2616 (PiDeleteProcess): Change #ifdef KDBG to #ifdef DBG.
2617 * ntoskrnl/rtl/ctype.c (_pctype): #undef.
2618 * ntoskrnl/rtl/string.c (strncpy): Terminate destination string.
2619 * tools/Makefile (rsym): Add target.
2620 * tools/helper.mk: Include config and use -g if DBG = 1.
2621
2622 2002-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
2623
2624 * Makefile (install_before): Install system.hiv to correct location.
2625
2626 2002-07-04 David Welch <welch@computer2.darkstar.org>
2627
2628 * subsys/win32k/include/callback.h: Fixed callback argument
2629 definitions.
2630 * subsys/win32k/ntuser/winpos.c: Implemented some more of the windows
2631 sizing/moving code.
2632 * subsys/win32k/ntuser/painting.c: Implemented some more of the
2633 window painting code.
2634 * subsys/win32k/objects/coord.c: Implemented LPtoDP and DPtoLP.
2635 * subsys/win32k/objects/region.c: Added stubs for some more
2636 region functions.
2637
2638 2002-07-04 David Welch <welch@computer2.darkstar.org>
2639
2640 * ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the
2641 process desktop handle as well.
2642
2643 2002-07-04 David Welch <welch@computer2.darkstar.org>
2644
2645 * ntoskrnl/se/token.c: Don't call the ZwXXX variant of
2646 system calls when in system context.
2647
2648 2002-07-04 David Welch <welch@computer2.darkstar.org>
2649
2650 * ntoskrnl/Makefile: Added file with MDA output code.
2651 * ntoskrnl/kd/kdebug.c: Recognize MDA as a destination for
2652 debug output.
2653
2654 2002-07-04 David Welch <welch@computer2.darkstar.org>
2655
2656 * lib/user32/windows/defwnd.c: Implemented some more of the
2657 default window handler.
2658
2659 2002-07-04 David Welch <welch@computer2.darkstar.org>
2660
2661 * lib/user32/misc/stubs.c: Removed some stubs to seperate files.
2662
2663 2002-07-04 David Welch <welch@computer2.darkstar.org>
2664
2665 * lib/user32/user32.def: Export ScreenToClient otherwise we
2666 get problems when code in user32 tries to call it.
2667
2668 2002-07-04 David Welch <welch@computer2.darkstar.org>
2669
2670 * include/win32k/region.h: Added prototypes for some missing
2671 region functions.
2672
2673 2002-07-04 David Welch <welch@computer2.darkstar.org>
2674
2675 * include/win32k/ntuser.h: Added prototypes for some missing
2676 NtUserXXX functions.
2677
2678 2002-07-04 David Welch <welch@computer2.darkstar.org>
2679
2680 * include/user32/wininternal.h: Added some constants for
2681 private GetDCEx styles that WINE needs.
2682
2683 2002-07-04 David Welch <welch@computer2.darkstar.org>
2684
2685 * include/user32/callback.h: Fixed callbacks for messages with
2686 parameters.
2687
2688 2002-07-04 David Welch <welch@computer2.darkstar.org>
2689
2690 * include/napi/win32.h (W32THREAD): Added pointer to the
2691 thread's desktop.
2692 * include/napi/win32.h (W32PROCESS): Removed handle table,
2693 added a pointer to the process's window station.
2694 * subsys/win32k/ntuser/guicheck.c (W32kGuiCheck): Reference
2695 a process's window station on the first win32k system call. Reference
2696 a thread's desktop on the first win32k system call.
2697
2698 2002-07-04 David Welch <welch@computer2.darkstar.org>
2699
2700 * include/messages.h: Added some missing WM_XXX constants.
2701
2702 2002-07-04 David Welch <welch@computer2.darkstar.org>
2703
2704 * drivers/dd/ide/makefile: Compiling with debugging messages
2705 needs libgcc to be linked in.
2706
2707 2002-07-04 David Welch <welch@computer2.darkstar.org>
2708
2709 * iface/addsys/genw32k.c: Generate a variable with the
2710 number of system calls.
2711 * iface/native/genntdll.c: Generate a proper stack frame for
2712 the user system call stubs.
2713 * ntoskrnl/ke/i386/syscall.S: Generate a proper stack frame for
2714 the handler for system calls.
2715
2716 2002-07-04 David Welch <welch@computer2.darkstar.org>
2717
2718 * Makefile: Build the GUI startup application.
2719 * subsys/system/gstart/gstart.c: Application to start up
2720 the GUI.
2721
2722 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2723
2724 * tools/helper.mk: Make an import library a proper target
2725 depending on the .def file.
2726
2727 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2728
2729 * subsys/win32k/ntuser/window.c (NtUserGetWindowLong): Began
2730 implementation.
2731
2732 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2733
2734 * subsys/win32k/misc/object.c (ObmCreateHandle): Return the
2735 correct handle value.
2736
2737 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2738
2739 * subsys/win32k/makefile: Make win32k depend on the file containing
2740 the service table.
2741
2742 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2743
2744 * ntoskrnl/ke/i386/stkswitch.S (KeSwitchStackAndRet,
2745 KePushAndStackSwitchAndSysRet): Push one value only.
2746 * ntoskrnl/ps/w32call.c (NtCallbackReturn, NtW32Call): Moved
2747 these functions to a new file. Restore the old trap frame after
2748 returning from a callback.
2749
2750 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2751
2752 * lib/user32/windows/message.c (CallWindowProcA, CallWindowProcW):
2753 Convert message to Unicode or ASCII if necessary.
2754
2755 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2756
2757 * include/user32/callback.h: Added WM_CREATE and WM_NCCALCSIZE
2758 callbacks.
2759 * lib/user32/windows/window.c (User32SendCREATEMessageForKernel,
2760 User32SendNCCREATEMessageForKernel): Implemented.
2761 * subsys/win32k/ntuser/callback.c (W32kSendCREATEMessage):
2762 Implemented.
2763
2764 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2765
2766 * include/structs.h: Added Unicode and ASCII versions of
2767 CREATESTRUCT.
2768
2769 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2770
2771 * tools/helper.mk: Make the install target depend on all the
2772 files to be installed.
2773
2774 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2775
2776 * ntoskrnl/ps/thread.c (NtCallbackReturn): Set TSS.Esp0 to the
2777 top of the old stack.
2778 * ntoskrnl/ps/thread.c (NtW32Call): Set TSS.Esp0 to the top of
2779 the new stack. Free the callback stack correctly. Don't copy
2780 portion of the trap frame that doesn't exist in non-v86-mode
2781 interrupts.
2782 * ntoskrnl/ps/thread.c (PsFreeCallbackStack): New function to
2783 free a stack allocated with PsAllocateCallbackStack.
2784
2785 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2786
2787 * drivers/dd/null/makefile: Commented out local LDFLAGS as
2788 these cause bad relocations in the stripped image.
2789
2790 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2791
2792 * config: Corrected spelling error.
2793
2794 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2795
2796 * subsys/system/winlogon/winlogon.c (WinMain): Check for
2797 failure when creating a window system.
2798
2799 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2800
2801 * ntoskrnl/ob/handle.c (ObDuplicateObject): Added this internal
2802 function for duplicating objects.
2803 * ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the parent
2804 process's window station to the child process.
2805 * ntoskrnl/ps/process.c (PsInitProcessManagement): Initialize the
2806 first process's window station.
2807
2808 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2809
2810 * ntoskrnl/mm/marea.c (MmCreateMemoryArea): Initialise
2811 page operation structure members.
2812 * ntoskrnl/mm/pageop.c (MmReleasePageOp, MmGetPageOp): Increment
2813 or decrement the page operation count in the memory area.
2814 * ntoskrnl/mm/virtual.c (MmNotPresentFaultVirtualMemory,
2815 MmPageOutVirtualMemory): Check for a deleted memory area before
2816 handling the fault.
2817 * ntoskrnl/mm/virtual.c (MmFreeVirtualMemory): Wait for all
2818 page operations to finish before freeing the memory area.
2819
2820 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2821
2822 * ntoskrnl/ke/i386/syscall.S (interrupt_handler2e): Corrected
2823 test for previous mode, upper 16-bit of CS on the stack after an
2824 interrupt are arbitary.
2825
2826 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2827
2828 * lib/user32/misc/winsta.c: Cleaned up indentation.
2829
2830 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2831
2832 * apps/tests/winhello/winhello.c (WinMain, MainWndProc):
2833 Cleaned up formatting, some more error checks.
2834
2835 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2836
2837 * ntoskrnl/mm/virtual.c (MmSecureVirtualMemory,
2838 MmUnsecureVirtualMemory, NtQueryVirtualMemory): Corrected indentation.
2839
2840 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2841
2842 * ntoskrnl/ke/i386/exp.c (KiDoubleFaultHandler): Print CR3
2843 correctly.
2844
2845 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2846
2847 * ntoskrnl/include/internal/ps.h: Added KTHREAD_STACK_LIMIT definition.
2848 * ntoskrnl/ke/i386/tskswitch.S (Ki386ContextSwitch): Force all the
2849 pages of the kernel stack to be accessible from this process.
2850
2851 2002-06-04 David Welch <welch@cwcom.net>
2852
2853 * ntoskrnl/cc/view.c (ReadCacheSegmentChain): Changes to use
2854 PHYSICAL_ADDRESS type for physical addresses.
2855 * ntoskrnl/cc/copy.c (CcRosCreateCacheSegment): Changes to use
2856 PHYSICAL_ADDRESS type for physical addresses.
2857 * ntoskrnl/cc/copy.c (CcFreeCachePage): Changes to use
2858 PHYSICAL_ADDRESS type for physical addresses.
2859 * ntoskrnl/include/internal/mm.h: Changed prototypes to use
2860 PHYSICAL_ADDRESS type for physical addresses.
2861 * ntoskrnl/include/internal/ps.h (KPROCESS): Changed type of
2862 page directory base to PHYSICAL_ADDRESS.
2863 * ntoskrnl/include/internal/i386/mm.h: Changed prototypes to use
2864 PHYSICAL_ADDRESS type for physical addresses.
2865 * ntoskrnl/ke/kthread.c (KeFreeStackPage): Changes to use
2866 PHYSICAL_ADDRESS type for physical addresses.
2867 * ntoskrnl/ke/kthread.c (KeInitializeThread): Changes to use
2868 PHYSICAL_ADDRESS type for physical addresses.
2869 * ntoskrnl/ke/process.c (KeAttachProcess, KeDetachProcess): Changes
2870 to use PHYSICAL_ADDRESS type for physical addresses.
2871 * ntoskrnl/ke/kernel.c (PcrPages, KeApplicationProcessorInit): Changes
2872 to use PHYSICAL_ADDRESS type for physical addresses.
2873 * ntoskrnl/mm/balance.c (MM_ALLOCATION_REQUEST): Changes to use
2874 PHYSICAL_ADDRESS type for physical addresses.
2875 * ntoskrnl/mm/balance.c (MmReleasePageMemoryConsumer): Changes to use
2876 PHYSICAL_ADDRESS type for physical addresses.
2877 * ntoskrnl/mm/balance.c (MmRequestPageMemoryConsumer): Changes to use
2878 PHYSICAL_ADDRESS type for physical addresses.
2879 * ntoskrnl/mm/cont.c (MmFreeContinuousPage): Changes to use
2880 PHYSICAL_ADDRESS type for physical addresses.
2881 * ntoskrnl/mm/cont.c (MmAllocateContinuousAlignedMemory): Changes to
2882 use PHYSICAL_ADDRESS type for physical addresses.
2883 * ntoskrnl/mm/freelist.c (MmTransferOwnershipPage,
2884 MmGetLRUFirstUserPage, MmGetLRUNextUserPage, MmGetContinuousPages,
2885 MmInitializePageList, MmSetFlagsPage, MmSetRmapListHeadPage,
2886 MmGetRmapListHeadPage, MmMarkPageMapped, MmMarkPageUnmapped,
2887 MmGetFlagsPage, MmSetSavedSwapEntryPage, MmGetSavedSwapEntryPage,
2888 MmReferencePage, MmGetReferenceCountPage, MmIsUsablePage,
2889 MmDereferencePage, MmGetLockCountPage, MmLockPage, MmUnlockPage,
2890 MmAllocPage): Changes to use PHYSICAL_ADDRESS type for physical
2891 addresses.
2892 * ntoskrnl/mm/iospace.c (MmMapIoSpace): Changes to use
2893 PHYSICAL_ADDRESS type for physical addresses.
2894 * ntoskrnl/mm/kmap.c (ExAllocatePage, MiZeroPage, MiCopyFromUserPage,
2895 ExAllocatePageWithPhysPage): Changes to use PHYSICAL_ADDRESS type for
2896 physical addresses.
2897 * ntoskrnl/mm/marea.c (MmFreeMemoryArea): Changes to use
2898 PHYSICAL_ADDRESS type for physical addresses.
2899 * ntoskrnl/mm/mdl.c (MmUnlockPages, MmMapLockedPages,
2900 MmProbeAndLockPages): Changes to use PHYSICAL_ADDRESS type for
2901 physical addresses.
2902 * ntoskrnl/mm/mm.c (MmSharedDataPagePhysicalAddress,
2903 MmCommitPagedPoolAddress, MmNotPresentFault): Changes to use
2904 PHYSICAL_ADDRESS type for physical addresses.
2905 * ntoskrnl/mm/mminit.c (MmInitVirtualMemory): Changes to use
2906 PHYSICAL_ADDRESS type for physical addresses.
2907 * ntoskrnl/mm/ncache.c (MmAllocateNonCachedMemory,
2908 MmFreeNonCachedPage): Changes to use PHYSICAL_ADDRESS type for
2909 physical addresses.
2910 * ntoskrnl/mm/npool.c (grow_kernel_pool): Changes to use
2911 PHYSICAL_ADDRESS type for physical addresses.
2912 * ntoskrnl/mm/rmap.c (MmPageOutPhysicalAddress, MmInsertRmap,
2913 MmDeleteAllRmaps, MmDeleteRmap): Changes to use
2914 PHYSICAL_ADDRESS type for physical addresses.
2915 * ntoskrnl/mm/section.c (MiReadPage, MmNotPresentFaultSectionView,
2916 MmAccessFaultSectionView, MmPageOutDeleteMapping,
2917 MmPageOutSectionView, MmFreeSectionPage): Changes to use
2918 PHYSICAL_ADDRESS type for physical addresses.
2919 * ntoskrnl/mm/slab.c (ExGrowSlabCache): Changes to use
2920 PHYSICAL_ADDRESS type for physical address.
2921 * ntoskrnl/mm/virtual.c (MmPageOutVirtualMemory,
2922 MmNotPresentFaultVirtualMemory, MmFreeVirtualMemoryPage): Changes to
2923 use PHYSICAL_ADDRESS type for physical address.
2924 * ntoskrnl/mm/wset.c (MmTrimUserMemory): Changes to use
2925 PHYSICAL_ADDRESS type for physical address.
2926 * ntoskrnl/mm/page.c (Mmi386ReleaseMmInfo, MmCopyMmInfo,
2927 MmGetPhysicalAddressForProcess, MmCreateVirtualMapping,
2928 MmCreateVirtualMappingUnsafe, MmCreateVirtualMappingForProcess,
2929 MmDeleteVirtualMapping): Changes to use PHYSICAL_ADDRESS type for
2930 physical address.
2931 * ntoskrnl/ps/process (PsInitProcessManagment): Changes to use
2932 PHYSICAL_ADDRESS type for physical address.
2933 * ntoskrnl/ps/thread.c (PsAllocateCallbackStack): Changes to use
2934 PHYSICAL_ADDRESS type for physical address.
2935
2936 2002-06-04 David Welch <welch@cwcom.net>
2937
2938 * Lots of change since the ChangeLog was last updated.
2939
2940 2001-03-18 David Welch <welch@cwcom.net>
2941
2942 * ntoskrnl/ke/apc.c (KiDeliverApc): Bug fix.
2943 * ntoskrnl/ke/apc.c (KeInsertQueueApc): More comments.
2944 * ntoskrnl/ke/catch.c (KiDispatchException): Bug fix.
2945 * ntoskrnl/ke/timer.c (KeDelayExecutionThread): Don't use removed
2946 function KeAddTimeoutThread.
2947 * ntoskrnl/ke/timer.c (KeAddTimeoutThread): Removed.
2948 * ntoskrnl/ke/wait.c (KeWaitForSingleObject, KeWaitForMultipleObjects):
2949 Don't use KeAddTimeoutThread.
2950 * ntoskrnl/mm/freelist.c (MmAllocateContiguousAlignedMemory): Bug fix
2951 * ntoskrnl/mm/freelist.c (MmAllocatePage): Allocate from the top
2952 memory.
2953
2954 2001-03-17 David Welch <welch@cwcom.net>
2955
2956 * ntoskrnl/ke/catch.c (KiDispatchException): Implementation of
2957 exception handling, user-mode only.
2958
2959 2001-03-16 David Welch <welch@cwcom.net>
2960
2961 * include/ddk/zw.h: Corrected declarations of NtCreateProfile,
2962 NtQueryIntervalProfile, NtSetIntervalProfile.
2963 * include/ddk/zwtypes.h: Added definitions of KPROFILE_SOURCE.
2964 * ntoskrnl/include/internal/ke.h: Added the interrupted EIP as a
2965 parameter to KiUpdateSystemTime for profiling purposes.
2966 * ntoskrnl/include/internal/nt: Added declaration for profiling
2967 support initialization.
2968 * ntoskrnl/ke/timer.c (KiUpdateSystemTime, KeExpireTimers): Call
2969 the profiling code on a timer interrupt with the interrupt EIP.
2970 * ntoskrnl/ke/i386/irq.c (KiDispatchInterrupt): Pass the interrupted
2971 EIP to KiUpdateSystemTime.
2972 * ntoskrnl/mm/virtual.c (NtReadVirtualMemory, NtWriteVirtualMemory):
2973 Release the MDLs used properly.
2974 * ntoskrnl/nt/nt.c: Call the profiling support initialization.
2975 * ntoskrnl/nt/ntevent.c (NtCreateEvent): Don't try copying the
2976 ObjectAttributes parameter if it is NULL.
2977 * ntoskrnl/nt/profile.c: Implemented profiling.
2978
2979 2001-03-16 David Welch <welch@cwcom.net>
2980
2981 * ntoskrnl/include/internal/safe.h: Corrected typo.
2982 * ntoskrnl/nt/ntevent.c (NtCreateEvent, NtOpenEvent, NtQueryEvent):
2983 Corrected typos.
2984 * ntoskrnl/rtl/mem.c: Missing header file.
2985
2986 2001-03-16 David Welch <welch@cwcom.net>
2987
2988 * ntoskrnl/include/internal/safe.h: Add definitions for handling
2989 potentially unsafe pointers.
2990
2991 2001-03-16 David Welch <welch@cwcom.net>
2992
2993 * ntoskrnl/include/internal/mm.h: Removed MmSafeCopyToUser and
2994 MmSafeCopyFromUser as source files need these but don't want internal
2995 mm definitions.
2996 * ntoskrnl/nt/ntevent.c (NtCreateEvent, NtOpenEvent, NtPulseEvent,
2997 NtQueryEvent, NtResetEvent, NtSetEvent): Copy data to and from
2998 user mode safely.
2999 * ntoskrnl/rtl/mem.c (MmCopyToCaller, MmCopyFromCaller): Helper
3000 functions for copying data to and from potentially unsafe pointers.
3001
3002 2000-12-23 David Welch <welch@cwcom.net>
3003
3004 * All task switching is done in software.
3005 * Beginnings of v86 mode support.
3006
3007 2000-12-22 David Welch <welch@cwcom.net>
3008
3009 * ntoskrnl/ps/kill.c (PiTerminateProcessThreads): Drop
3010 PiThreadListLock before calling PsTerminateOtherThread
3011
3012 2000-12-16 David Welch <welch@cwcom.net>
3013
3014 * ntoskrnl/ex/fmutex.c (ExReleaseFastMutexUnsafe): Only set the
3015 fast mutex's owner back to NULL if it is being released
3016
3017 2000-12-10 David Welch <welch@cwcom.net>
3018
3019 * ntoskrnl/ke/i386/vm86_sup.S (Ki386RetToV86Mode): Added function
3020 to do the raw switch to v86 mode.
3021 * ntoskrnl/include/internal/vm86.h: Definitions for the v86 mode
3022 support.
3023
3024 2000-12-10 David Welch <welch@cwcom.net>
3025
3026 * ntoskrnl/ke/i386/trap.s (PsBeginThreadWithContextInternal): Moved
3027 to ntoskrnl/ke/i386/bswitch.S.
3028 * ntoskrnl/ke/i386/trap.s (interrupt_handler2e): Moved to
3029 ntoskrnl/ke/i386/syscall.S.
3030 * ntoskrnl/ke/i386/trap.s (old_interrupt_handler2e): Removed.
3031
3032 2000-12-04 David Welch <welch@cwcom.net>
3033
3034 * ntoskrnl/ke/i386/irq.c (KiInterruptDispatch): Record the last PC
3035 value for a rescheduled thread.
3036 * ntoskrnl/ke/i386/irqhand.s: Construct a primitive trap frame
3037 in interrupt handlers.
3038
3039 2000-08-30 David Welch <welch@cwcom.net>
3040
3041 * Added calibration of KeStallExecutionProcessor timing
3042 (code from linux 2.2.16).
3043
3044 * Corrected compilation bugs in user32 library.
3045
3046 * Corrected compilation bugs related to anonymous structs
3047 in ndis code.
3048
3049 * Pass command line to kernel from loadros.
3050
3051 * Corrected PIC mask calculation.
3052
3053 2000-05-27 David Welch <welch@cwcom.net>
3054
3055 * Fixed issue with closing non-existent or already closed
3056 handle.
3057
3058 2000-01-26 David Welch <welch@cwcom.net>
3059
3060 * ZwCreateProcess now maps ntdll rather than the user-mode
3061 code.
3062
3063 1999-09-06 David Welch <welch@cwcom.net>
3064
3065 * Implemented ZwOpenProcess.
3066
3067 * Partially implemented killing other threads (possible memory
3068 leaks).
3069
3070 * Made a start on a proper implemention of APCs (based on
3071 article in NT insider).
3072
3073 1998-12-08 David Welch <welch@cwcom.net>
3074
3075 * Corrected bug in shell (Read two keypresses and assumed they
3076 where the key going up and down respectively).
3077
3078 * Corrected race in dpc handling.
3079
3080 * Took out cleanup sections in ZwReadFile (now handled by the
3081 APC).
3082
3083 * Disabled broken code in kernel32.
3084