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