uwe
bbb41d52d5
Make focusManagerHook a tad more smart, so that it can correctly handle
...
the serial console speed combobox (last item in the kernel tab).
2004-04-27 00:04:38 +00:00
uwe
2adc0e696d
Make sure that overzealous definition of __packed in <sys/cdefs.h>
...
doesn't break compilation with Microsoft compilers. Push/pop #pragma pack
around <sys/bootblock.h>.
2004-04-26 22:27:43 +00:00
uwe
e9b7546ec1
<machine/cdefs.h> is included by <sys/cdefs.h>, so there's no point
...
in including <sys/cdefs.h> from <machine/cdefs.h> again.
2004-04-26 22:14:55 +00:00
uwe
d4129e7685
Sort the list of supported platforms that we show to the user.
2004-03-28 15:32:35 +00:00
uwe
fb20d3f467
Print bootinfo timezone in decimal. -180 is more readable then 0xffffff4c
...
(though may be I'm just getting old :).
2004-03-27 02:01:07 +00:00
uwe
9cde36aeb3
We may run one page too few during reboot for certain kernel sizes.
...
Allocate an extra page for the loadable segment to compensate for the
fact that the last tag may be only partially filled.
2004-03-25 04:04:28 +00:00
uwe
279286c1ad
Pass the symbol table to the new kernel. /dev/ksyms now works after reboot.
2004-03-23 03:39:11 +00:00
uwe
c1591b3e77
We cannot rely on bootinfo to remain valid after the 2nd stage boot
...
code has copied the new kernel in place, so pass a copy of bootinfo
to the new kernel via "page tags".
Restructure the code to fill "page tags" to make it more generic and
more natural to use (especially in anticipation of ksyms support).
2004-03-22 23:10:55 +00:00
uwe
43e4b74e81
Add _DPRINTFN.
2004-03-21 00:41:04 +00:00
jmc
6fe4ead562
Convert to usage of UUDECODE_FILES and standardize on filename extension
2004-03-19 08:07:22 +00:00
uwe
853017ec09
Regenerate after platid.def changes:
...
Rename 680HU (Hungarian) to 680EU (European).
Add entries for French and Scandinavian 680/690.
Spell "HP 620LX" with a space, like HP does.
2004-03-17 04:18:38 +00:00
uwe
f11168a748
Rename 680HU (Hungarian) to 680EU (European).
...
Add entries for French and Scandinavian 680/690.
Spell "HP 620LX" with a space, like HP does.
2004-03-17 04:14:08 +00:00
uwe
8c941b849f
Add a few calls to UpdateWindow.
2004-03-16 22:30:36 +00:00
uwe
0ed7ecdd91
G/c unused "hdc" variable.
2004-02-27 04:22:26 +00:00
uwe
c45485b3de
Forgot to call ReleaseDC().
2004-02-27 04:20:38 +00:00
uwe
c23bdf5200
On winder HPC screens use wider Boot/Cancel buttons that looks better.
2004-02-27 03:53:33 +00:00
uwe
6212a368a7
Make sure the root window always has focus, so that hpcboot can be
...
operated using only the keyboard. It should now be possible to boot
NetBSD on HPC devices with broken touchscreens.
2004-02-27 03:23:12 +00:00
uwe
d6be11a58d
Use realsize() to determine the size of the miniroot image.
...
It's now possible to boot from gzipped miniroots.
2004-02-27 02:02:16 +00:00
uwe
318e48690d
Implement realsize() method. For gzipped files it reports the
...
uncompressed file size.
2004-02-27 02:00:32 +00:00
uwe
0294b2b99a
WinCE 2.11 doesn't support keyboard focus traversal for nested
...
dialogs, so implement poor man keyboard focus manager. The goal is to
make it possible to use hpcboot on HPC devices with broken touch
screen. (TODO: Make sure that when the window is activated, there is
a focused control).
2004-02-23 05:20:48 +00:00
uwe
9f2e9e23a0
Update the root window after showing the 'Last chance...' dialog.
2004-01-02 12:13:36 +00:00
uwe
2e00e2438d
If "pause before boot" is not set (i.e. user will not be given last
...
chance to cancel the boot), give user a hint by using MB_ICONWARNING
for the "Are you sure?" dialog.
2003-12-25 03:44:11 +00:00
uwe
376514e2fe
Lowercase labels of the "Boot" and "Cancel" buttons.
...
Init progress bar step/position in ProgressBar::create.
Specify WS_EX_CLIENTEDGE style for the progress bar, an empty gray
area between the buttons looks stupid. With 3d edge a user has a hint
there's a progress bar there. While here, make it PBS_SMOOTH, it
looks nicer that way.
2003-12-25 03:19:53 +00:00
uwe
a766825ba3
Trim trailing whitespace.
2003-12-23 17:22:20 +00:00
uwe
37536630d1
Make the progress bar use the whole width between the Boot and Cancel
...
buttons. Since there are 11 calls to menu.progress() in hpcboot, set
the progress bar range to 0..11, not 0..12.
In RootWindow::WMCreate - when we mean to adjust the top of the client
are by the button height, use _button_height, instead of cmdbar_height
(they now happen to be equal).
2003-12-23 17:18:25 +00:00
uwe
0c9676c97b
Set meaningful error_message is attachLoader fails.
...
Tweak the way we set "default" error_message.
2003-12-23 16:50:22 +00:00
uwe
55cc78e064
Trim trailing whitespace.
2003-12-23 16:26:48 +00:00
uwe
780ccfc58e
Move IDC_OPT_AUTO_INPUT after IDC_OPT_AUTO to get the expected tab-order.
2003-12-23 16:25:35 +00:00
uwe
849e108215
Reverse the order of IDC_CONS_CHK* checkboxes so that they have
...
"expected" left-to-right Tab-order.
2003-12-23 15:37:11 +00:00
uwe
15cd36d7f0
Widen the "root file system" group to line up with the controls above it.
2003-12-23 15:29:36 +00:00
uwe
789be11611
In MainTabWindow::layout don't touch the Z-order of IDC_MAIN_OPTION_*
...
controls as this has a nasty side effect of messing the Tab-order as
well.
2003-12-23 15:24:26 +00:00
uwe
734ce0e5ab
Trim trailing whitespace.
2003-12-23 15:10:01 +00:00
uwe
f35f57125f
Do not replace the boot log text completely on every print - that
...
causes horrible flicker. Instead append it and scroll to the caret.
2003-12-23 15:08:33 +00:00
uwe
c87372b749
Load ".symtab" section before ".strtab". The code to pack the symbol
...
table (kern_ksyms.c:addsymtab) relies on that order.
2003-12-23 04:59:44 +00:00
uwe
36fce64101
Call UpdateWindow after user responded to the safety message dialog,
...
so that the window can repaint areas damaged by the dialog before the
message pump is stopped while the boot is in progress.
2003-12-23 04:41:13 +00:00
uwe
816df014fc
Oops, add braces forgotten in 1.8.
2003-12-23 03:18:13 +00:00
uwe
e769028e50
Fix indentation in previous.
2003-12-21 03:22:20 +00:00
uwe
f94c4399a5
Move progress bar management to rootwindow.cpp so that hpcmenu.cpp
...
doesn't need to know about the GUI hierarchy, etc.
If boot is aborted, rewind the progress bar.
2003-12-21 03:18:31 +00:00
uwe
53680504af
Add MB_ICONQUESTION style to the message box.
2003-12-18 12:34:10 +00:00
uwe
d3dfc4c864
Add MB_ICONWARNING style to the message box. Use explicit MB_OK.
2003-12-18 12:25:03 +00:00
uwe
e696bfb83c
Tweak error message.
2003-12-18 12:21:36 +00:00
uwe
545bd4c3b1
Add MB_ICON* styles to message boxes. Use explicit MB_OK.
...
Capitalize messages. Minor tweaks.
2003-12-18 12:18:53 +00:00
uwe
f578e43dec
Capitalize error messages. Consistently use "can't". Minor tweaks.
2003-12-18 12:15:40 +00:00
uwe
8b377aad68
Add MB_ICONEXCLAMATION style to the "Last chance..." dialog. Change
...
the text to "Push YES...", because that's a Yes/No dialog, not Ok/Cancel.
If the user cancels the boot, set error_message appropriately.
Add MB_ICONERROR style to the "BOOT FAILED" dialog. Explicitly make
it MB_OK, don't rely on the numerology.
2003-12-18 00:00:19 +00:00
uwe
ad370cb0ff
Provide dummy machine/mcontext.h.
2003-12-17 06:17:03 +00:00
uwe
6854a82ca1
Add btodb() define.
2003-12-16 18:59:10 +00:00
uwe
2b3e06be32
Add directory "res" to INCDIR_LIST and drop the "res/" prefix from
...
#include's in hpcmenu.rc. This makes it possible to open hpcmenu.rc
in the eVC resource editor.
2003-12-16 18:23:36 +00:00
uwe
5f83499620
Protect __KERNEL_RCSID with #if !defined(_WIN32) for the sake of
...
hpcboot.exe, that uses this file too. Compiling for WinCE defeats the
logic in cdefs_aout.h.
2003-12-16 17:16:43 +00:00
uwe
a8250ce937
Drop adler32.c from SRCFILE_LIST, it's no longer in sys/lib/libz.
2003-12-16 15:26:37 +00:00
lukem
f85d2d1c14
Use ${HOST_SH} instead of `sh'.
...
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00