Commit Graph

629 Commits

Author SHA1 Message Date
Volker Ruppert
3268858f2c - workaround for a bug in the win32 isspace() function. Some special characters
are detected as spaces (Bochs panics when parsing the keymap file). This problem
  doesn't appear when argument is unsigned.
2003-10-11 10:43:24 +00:00
Daniel Gimpelevich
6e68a4e232 *** empty log message *** 2003-10-03 20:58:23 +00:00
Volker Ruppert
f3942a424b - HandleAskParamString(): show the default filename in the open/save dialog box 2003-09-19 17:04:45 +00:00
Volker Ruppert
f68e9b1ce9 - the floppy device type now appears in the win32 floppy dialog box (read-only) 2003-09-18 17:37:46 +00:00
Volker Ruppert
110ecb526b - initialize the MemoryBitmap using bx_gui->clear_screen()
- if the stretch factor is 1 the function BitBlt() now repaints the screen
- the function show_headerbar() now adjusts the screen sizes if necessary
2003-09-17 19:47:41 +00:00
Volker Ruppert
51bdc30323 - forward declaration of class DebugLogDialog is necessary for wx with debugger
- DebugLogDialog::CheckLogLength(): fixed a warning
2003-09-13 16:49:09 +00:00
Volker Ruppert
a08289a7fa - button "Advanced" removed and description changed 2003-09-09 16:41:25 +00:00
Volker Ruppert
84c1e3ed15 - bx_param_num_c: new flag USE_SPIN_CONTROL controls whether a spin control should
be used instead of a simple text control (implemented in wx)
- the new flag USE_SPIN_CONTROL is used by the memory size and the irq parameters
- special bx_list_c for the "Other options" menu in the wx configuration added
2003-09-05 22:07:54 +00:00
Volker Ruppert
3d341c9776 - MemoryConfigDialog replaced by a new one based on ParamDialog
- ParamDialog: border size of all dialog items set to 2
- labels for the memory parameters added
2003-09-04 16:58:27 +00:00
Volker Ruppert
ec7067b72a - wx.o does not depend on wxdialog.h 2003-09-03 20:28:15 +00:00
Volker Ruppert
e7e5f1b518 - bx_param_c: formerly unused member 'runtime_param' now indicates parameters
available at runtime
- wx: 'runtime' flag added to ParamDialog. If this flag is set, all options
  with the flag 'runtime_param' clear will be disabled.
- only the runtime options for cdrom's are now enabled in the ATA dialogs at runtime
- the options 'keyboard paste delay', 'mouse' and 'vga update interval' are now
  available at runtime
- wxdialog.h: unnecessary comments removed
2003-09-02 19:34:48 +00:00
Volker Ruppert
f6c70e5add - new function "Create Image" added in the floppy dialog (grabbed from wxdialog.cc)
- parameter for owner window added to function AskFilename()
2003-09-01 17:47:57 +00:00
Volker Ruppert
0540946030 - the floppy dialog now uses the label for the "browse" dialog if it exists 2003-08-31 17:12:20 +00:00
Volker Ruppert
a0bb1e0b5c - bx_list_c::text_print() now uses a comma and a space as the parameter separator
if the flag SERIES_ASK is set
- bx_param_enum_c::text_print(): use the value already stored in variable 'choice'
2003-08-31 08:34:29 +00:00
Volker Ruppert
dc5fe76ecc - ParamDialog: the parameter description is now used for tooltips 2003-08-30 17:58:30 +00:00
Volker Ruppert
0903de7acd - floppy dialog now uses get_label() for the window title. If no label exists,
get_name() is used.
2003-08-30 17:13:06 +00:00
Volker Ruppert
3d28df0b78 - new methods set_label() and get_label() for text menus and gui dialogs
- ParamDialog now uses get_label() instead of get_ask_format()
2003-08-30 11:21:56 +00:00
Volker Ruppert
29a1f1a0f8 - OnShowKeyboard(): don't show the dialog if the simulation isn't running 2003-08-30 11:21:29 +00:00
Volker Ruppert
c2ea352a04 - cmos image option moved to the "Other options" dialog (cmos dialog removed)
- disable the items "Configuration interface" and "Display library" for now.
  The config interface "wx" is already active and a change is not supported yet.
2003-08-29 18:57:40 +00:00
Volker Ruppert
7a3a6efe63 - ParamDialog::EnableChanged(): EnumChanged() must be called if the parameter
type is BXT_PARAM_ENUM
2003-08-28 20:04:22 +00:00
Christophe Bothamy
a6f0158745 - add possibility to have both sync method active at the same time 2003-08-26 20:24:36 +00:00
Volker Ruppert
6f9bd7fe9c - ParamDialog: missing range check for numerical parameters added
- the message boxes are now centered in the parent dialog box
2003-08-26 17:25:26 +00:00
Volker Ruppert
5972db38f7 - new keyboard options menu
- default output of bx_param_enum_c::text_print() fixed
- unused stuff removed
2003-08-25 18:36:09 +00:00
Volker Ruppert
ca60988fd9 - wx: NetConfigDialog replaced by a new version using ParamDialog
- parameter for the ethernet module must be of type bx_param_enum_c, since we
  have a list of valid modules
2003-08-25 16:46:18 +00:00
Volker Ruppert
63e67d7bcc - ParamDialog: support for bx_param_string_c::RAW_BYTES added (grabbed from textconfig.cc)
- bx_param_string_c: new methods get_separator() and get_maxsize()
2003-08-25 15:21:19 +00:00
Volker Ruppert
d29016ff20 - loader hack definitions moved from bochs.h to siminterface.h
- ParamDialog::EnumChanged(): hard disk mode item added, loader hack stuff added
- dependent_list for the ne2k options added
2003-08-24 10:08:49 +00:00
Volker Ruppert
b78c910e8f - obsolete harddisk and cdrom dialogs removed
- wx.cc must not include wxdialog.h
2003-08-23 17:53:27 +00:00
Volker Ruppert
be5bd5dca4 - wx: most of the config dialogs are now generated from a parameter list
- new bx_list_c for keyboard options (used in wx, TODO in textconfig)
- new flag USE_BOX_TITLE controls the usage of the list name for the group box label
- wxdialog.cc: unused variable removed
2003-08-23 15:28:06 +00:00
Volker Ruppert
855af72c8a - win32dialog now uses always the parameter name for dialog titles and lables
- siminterface: ask_filename() uses the prompt for the parameter name
- wx: missing title of the CMOS dialog added
- floppy path parameter names changed (used by win32config)
- user shortcut parameter description added
2003-08-23 09:52:26 +00:00
Volker Ruppert
7d1e4138fa - the boot dialog box and the message boxes are now centered in the Bochs main window 2003-08-23 05:34:40 +00:00
Christophe Bothamy
62a7867e19 - add fixes for wx kindly suggested by Volker 2003-08-22 16:52:38 +00:00
Christophe Bothamy
4942684e51 - remove unused "split" disk mode
- fix value displayed in wx for clock.time0 parameter
2003-08-22 01:00:58 +00:00
Volker Ruppert
bc58b6ca15 - function OnEditCmos(): parameter BXP_CMOS_TIME0 changed to BXP_CLOCK_TIME0
- function OnEditSpeed(): parameter BXP_REALTIME_PIT changed to BXP_CLOCK_SYNC
2003-08-21 18:26:18 +00:00
Christophe Bothamy
e555765d75 - add a "clock: sync=[none|slowdown|realtime], time0=[timeValue|local|utc]"
- pit: and time0: options are still supported but deprecated
- warn when parsing deprecated directives
- fix wrong number of ata_device_translation_names
- still to do:
  - setting time0 to utc is not yet supported
  - the man page, user guide and .bochsrc still need to be updated
    with the new options
2003-08-19 00:10:39 +00:00
Christophe Bothamy
fb171e482a - apply MartinS compile patch for missing function in curses 2003-08-17 23:40:39 +00:00
Christophe Bothamy
52e6645fb6 - fix segfault reported by MartinS in the ml, due to an uninitialized variable 2003-08-17 20:50:11 +00:00
Volker Ruppert
e3478a152d - #if must be used for XPM checks, since BX_HAVE_XPM_H is always defined 2003-08-11 19:27:57 +00:00
Christophe Bothamy
1583a2ebb2 - add ATA device parameters access macros
- add handlers called when a parameter is enabled or disabled.
  This is useful for parameter dependent on another, that may
  not wish to be enabled when its father parameter is enabled.
2003-08-09 22:17:38 +00:00
Christophe Bothamy
974d3538a1 - change disk image mode name "growable" to the more accurate "growing" 2003-08-01 01:20:00 +00:00
Bryce Denney
50c023e1b4 - Eric Brasseur sent me a new version which adds XK_bar and XK_bracketright. 2003-07-29 13:31:11 +00:00
Volker Ruppert
0d49a260f2 - function bx_print_log_action_table() improved
* header for column "pass" added
  * devices without a prefix are hidden now
2003-07-28 13:55:53 +00:00
Volker Ruppert
2c64b67679 - runtime configuration and gui dialogs must be disabled if the active display
library is rfb
2003-07-18 15:51:02 +00:00
Volker Ruppert
707004d222 - the floppy handlers now return immediately if the requested floppy device
doesn't exist
2003-07-17 15:49:23 +00:00
Volker Ruppert
0d60d343b3 - simple floppy image dialogbox for win32 added
- references to wx removed from the floppy button handlers (wx doesn't use them)
2003-07-15 21:02:05 +00:00
Volker Ruppert
3f9192d5ce - key event handling of the wx gui on win32 (wxMSW) fixed. Now the function
DEV_kbd_gen_scancode() is called instead of DEV_kbd_put_scancode(). This
  change enables the support for different scancode sets. The win32 scancodes
  are now converted to BX_KEY_* values (partially copied from gui/win32.cc)
2003-07-13 16:31:35 +00:00
Volker Ruppert
b504bdaa42 - 15 bpp color depth now supported by the wx display library 2003-07-12 23:03:06 +00:00
Volker Ruppert
06926b75fd - 15 bpp color depth now supported by the x11 display library 2003-07-12 17:29:16 +00:00
Volker Ruppert
e073214525 - new function getBXKeyName() returns the name of a BX_KEY symbol
(used by BX_DEBUG message in the keyboard code)
- despription of keymap.cc updated
2003-07-12 08:17:10 +00:00
Volker Ruppert
e38fadb2c8 - 15 bpp color depth now working with the win32 gui on Win NT/2000/XP, too 2003-07-11 15:11:24 +00:00
Volker Ruppert
5c11b64bdf - support for 15 bpp modes added in the vga code and the sdl display library
- sdl: in function graphics_tile_update() vga_bpp handled in a case structure
2003-07-09 20:15:38 +00:00