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