Volker Ruppert
92b06b9ebf
- new function get_clipboard_text() for GUI specific clipboard handling
...
GUI specific paste functions for X11 and WIN32 in paste_handler() moved to
the new function
- get_clipboard_text() prepared for other GUIs
- set_clipboard_text() has now a return value (0 = failed or not implemented)
- use portable code in copy_handler() if set_clipboard_text() fails
- snapshot_handler() prepared for adding a file dialog call
- writing snapshot file in binary mode (LF->CRLF conversion already done)
2002-03-16 11:30:06 +00:00
Bryce Denney
842bfb4430
- BX_WITH_X11 is always defined. use "#if BX_WITH_X11" not #ifdef
2002-03-15 17:10:58 +00:00
Volker Ruppert
7373bb7647
- new function set_clipboard_text() for GUI specific clipboard handling
...
GUI specific copy functions for X11 and WIN32 in copy_handler() moved to
the new function
- set_clipboard_text() prepared for other GUIs
- value of text mode cursor variables fixed (and renamed in x.cc)
- BX_ERROR message in snapshot_handler() fixed
2002-03-15 16:45:10 +00:00
Mike Lerwill
026b7018bd
Fix for win32 host not displaying all of the window especially after a resize
2002-03-15 10:55:48 +00:00
Christophe Bothamy
256161956f
- fixed the phantom buttons problem.
...
- the button still have to we placed in the right order
- the SDL_MapRGB problem is NOT fixed. The fg color is hardcoded to 0xffffffff
2002-03-15 01:11:10 +00:00
Christophe Bothamy
c2df473661
- added ASCII_equivalent constants
2002-03-12 23:56:53 +00:00
Christophe Bothamy
a4bf328178
- fixed header keymap layout name (DE, ES)
2002-03-12 23:56:01 +00:00
Bryce Denney
502a48057b
- fix clipboard code that is compiled when neither windows nor X windows
...
is enabled.
2002-03-12 06:46:35 +00:00
Volker Ruppert
0f37656bc1
- updated German keymap file for paste support
2002-03-11 20:35:28 +00:00
Bryce Denney
ebc19a5e6c
- fix bugs in copy&paste on win32.
...
- paste: grabbing the data from the clipboard in win32 was not implemented
at all. I found some example code on usenet and adapted it for Bochs.
- keymap: now if you call loadKeymap with NULL for the function pointer,
it just fills in all the X windows keysyms with zero. Added a call
to loadKeymap in win32.cc.
2002-03-11 16:35:41 +00:00
Bryce Denney
d82a73ed21
- fix things I broke while working in linux
2002-03-11 15:45:34 +00:00
Bryce Denney
70e007b8f7
- add comment
2002-03-11 15:13:38 +00:00
Bryce Denney
8125bee908
- commit patch.paste
2002-03-11 15:04:58 +00:00
Jeroen Janssen
b6074761e2
- fixed small bug causing always including X11 header
2002-03-10 20:08:14 +00:00
Bryce Denney
aa6acc2be4
- add code for X windows to put the snapshot data onto the clipboard.
2002-03-10 16:06:56 +00:00
Volker Ruppert
beae7bda41
- added constant BX_INSERTED for media status (taken from bochs.h)
...
- fixed a warning in ask_uint() (type of variable n is now Bit32u)
- removed unused variable buffer[512] in text_ask()
2002-03-10 10:19:32 +00:00
Bryce Denney
3d2c58ee49
- revert to revision 1.27. My changes in 1.28 caused cygwin to be unable to
...
copy to the clipboard so I removed them.
- I was having cygwin compile problems because <windows.h> was not always
included when compiling this file. Add an include of <windows.h> at
the top, and now it compiles in cygwin.
2002-03-10 05:49:26 +00:00
Bryce Denney
8c0256840c
- apply patch.vbe-janssen by Jeroen Janssen <japj@darius.demon.nl>,
...
to add VBE support to Bochs. The changes in this checkin correspond
to Jeroen's 5th version of the patch on sourceforge patch #526595 .
2002-03-10 04:51:24 +00:00
Bryce Denney
a7c15927bf
- apply patch [ 505057 ] MacOS X carbonized event handlers
...
by Jeremy Parsons (brefin)
2002-03-09 02:40:25 +00:00
Bryce Denney
a0640f1c32
- add std bochs header
2002-03-06 20:39:23 +00:00
Bryce Denney
70f4e7ee27
- increase max bitmaps to 32 since I was running out
...
- only do the "scancode-8" trick on linux. On windows it did exactly the
wrong thing, so I'll assume it's a bug in SDL for linux.
2002-03-06 20:38:31 +00:00
Bryce Denney
55b12f615c
- to get it running on other compilers, I removed all references to
...
iostream, vector, and the use of templates. Now the vector of bitmaps
is an array of pointers to bitmaps and a count.
2002-03-06 20:36:35 +00:00
Bryce Denney
efb6eeb621
- use UNIX-like code when compiling in cygwin
2002-03-06 18:17:24 +00:00
Christophe Bothamy
11ed519a07
- Deleted a "debug" include <X11/...>
...
- BX_KEY_PRINT_SCREEN and BX_KEY_SCROLL_LOCK were defined twice
2002-03-06 14:04:42 +00:00
Christophe Bothamy
f0e762c3d2
- updated the BX_KEY_NBKEYS comment to remind to modify the bx_key_symbol of gui/keymap.cc
2002-03-06 10:55:44 +00:00
Christophe Bothamy
e931247144
- New keymap architecture.
...
The localisation is now read from keymap files
The keymap files are in gui/keymaps directory
2002-03-06 09:31:55 +00:00
Stu Grossman
6f3d73741a
Deal with systems that don't have XK_EuroSign defined.
2002-03-05 15:42:02 +00:00
Bryce Denney
dd90b7ab46
- add serial port options to the configuration interface, in the same
...
menu as the parallel port options.
2002-03-03 06:10:04 +00:00
Bryce Denney
e50a1be21b
- commit serial port patch from Stu Grossman <grossman@juniper.net>
...
Here are the patches (without the serial name fix). Let me know if you want
me to change that. Oh, FYI, my changes also open up the com1 terminal in raw
mode, which makes the emulation much more accurate. You'll also notice that
I added infrastructure for com2->4 in the option parsing. I didn't add it to
the serial code, as I think a bunch of things need to be untangled before
that can work.
2002-03-03 06:03:29 +00:00
Volker Ruppert
9f097cbf00
- cursor size feature implemented for win32
2002-02-24 17:20:19 +00:00
Volker Ruppert
b1738bed08
- implementation of the text mode cursor in the SDL GUI
2002-02-16 20:31:35 +00:00
Volker Ruppert
197f80bde5
- snapshot_handler() prepared for copying text to clipboard
...
- copy text to clipboard added for WIN32
2002-02-12 17:09:51 +00:00
instinc
1eccd64198
Fixes the mouse direction problem (sorry, I couldn't test locally)
...
Fixes the font switch 8x8 <-> 8x16 and clears the screen accordingly.
Known issue: the headerbar is still not displayed
2002-02-07 02:12:51 +00:00
instinc
12f50276e5
Removed the configuration panel width/height
...
Added FG/BG color definitions for the headerbar
2002-02-06 02:13:32 +00:00
instinc
ee181da9d3
Added required space for the control bar
...
Added control for 80x50 fonts
Added mouse input
Added mouse grabbing
Added automatic mouse grabbing when entering full screen
Added autoremoval of header when going fullscreen
Simplified a couple of graphic routines
2002-02-06 02:12:45 +00:00
instinc
61ee0ca2c3
Added mouse input + mouse/keyboard grabbing.
2002-02-05 21:39:15 +00:00
instinc
96fdd89e74
added SDL libraries
2002-02-05 17:36:42 +00:00
instinc
10fd6daf08
SDL support, importing sources
2002-02-05 05:51:38 +00:00
instinc
55b2f65a1c
Header file for sdl.cc
2002-02-05 05:50:50 +00:00
Volker Ruppert
1d9861fc59
- implementation of the text mode snapshot function
2002-02-04 20:31:35 +00:00
Volker Ruppert
84b649831e
- new cdrom button in the headerbar
...
- changing cdrom media in a Bochs session now possible
- don't eject cdrom when the guest OS has locked the drive
2002-02-01 16:46:27 +00:00
Volker Ruppert
8a07e04cc2
- new button for inserting / ejecting cdrom (not handled yet)
2002-01-31 21:16:52 +00:00
Christophe Bothamy
ac91aa0d3c
. changes to enable El-Torito boot. It is disabled by default in rombios.c
2002-01-30 10:30:52 +00:00
Volker Ruppert
accd3b2370
- runtime options menu reports the correct media status (inserted/ejected)
2002-01-27 21:55:27 +00:00
Volker Ruppert
856ad9f99d
- statement 'static' removed from bx_gui_c::sim_is_idle()
2002-01-27 09:24:50 +00:00
Bryce Denney
d2a3364463
- clean up comment
2002-01-07 16:30:43 +00:00
Bryce Denney
11d907e40a
- add Spanish keymap, from a patch by Vicente Hernando Ara
...
<bizenton@navegalia.com>
2002-01-07 15:50:50 +00:00
Volker Ruppert
76fd8a43f9
- keyword 'virtual' added to the destructor
2001-12-22 20:58:25 +00:00
Christophe Bothamy
0f6a92235a
- updated keyboard with mf1, mf2 and mf3 scancodes set handling
...
- Added scancode translation table and BX_KEY to scancode table
- completed BX_KEYS list
2001-12-22 00:00:33 +00:00
Bryce Denney
cbd68598a3
- apply patch.memleaks-tominac from Darko Tominac <darko.tominac@zg.tel.hr>
...
which fixes some potential memory leaks
2001-12-21 19:33:18 +00:00