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