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