Bryce Denney
dd5d93705f
- revert revision 1.26 which was labelled "Fix for win32 host not displaying
...
all of the window especially after a resize". This causes screen corruption
on my win98 box whenever Bochs changes resolution, so I removed it from cvs
and checked it in as patches/patch.win32-resize instead.
2002-03-28 01:12:26 +00:00
Bryce Denney
b394a44157
- made keyboard_paste_delay a runtime configurable option
...
- clean up comments & debug msgs in paste code
2002-03-26 14:46:03 +00:00
Bryce Denney
34e02290eb
- apply Christophe's patch.paste-for-dos. I will make minor tweaks as
...
separate revisions.
2002-03-26 13:51:48 +00:00
Christophe Bothamy
20462eb3ff
- fixed a typo on the ']' key
2002-03-25 00:57:30 +00:00
Bryce Denney
453a4bfb56
- fix up comments to mention keymap functions that I added
2002-03-24 09:11:04 +00:00
Christophe Bothamy
30541d7a37
- added KEY_LEFT_BACKSLASH
2002-03-21 19:12:35 +00:00
Volker Ruppert
a7d5ae3b2d
- added support for text modes with 8x8 characters on win32 gui (patch from
...
Hartmut Birr <hartmut.birr@tesionmail.de>)
This is usefull for ROS (50 lines console).
2002-03-21 18:40:20 +00:00
Bryce Denney
8ba46b2450
- apply patch.x11-auto-private-colormap
2002-03-19 23:38:08 +00:00
Volker Ruppert
665e67d404
- call SDL_GetMouseState() to get the state of all buttons when handling a
...
mouse button event.
- replaced SDL_BUTTON(2) by SDL_BUTTON_MIDDLE in the mouse button event handler
2002-03-19 19:59:44 +00:00
Bryce Denney
7a6fbf9597
- fix copy to clipboard problem for X11 by calling XSetSelectionOwner()
...
before XStoreBytes.
2002-03-19 18:43:22 +00:00
Volker Ruppert
9e1cf3bec1
- function mouse_enabled_changed_specific() implemented
...
- added toggle_mouse_enable() call to the handling of the middle mouse button
- removed break statement between SDL_MOUSEBUTTONDOWN and SDL_MOUSEBUTTONUP
- added prefix "SDL" in specific init
2002-03-18 21:21:19 +00:00
Volker Ruppert
8263d15e76
- renamed update_floppy_status_buttons() to update_drive_status_buttons() since
...
it handles the cdrom status too
2002-03-17 20:57:54 +00:00
Volker Ruppert
6518957fe4
- implemention of the headerbar functionality (new function headerbar_click)
...
- the function replace_bitmap() tranfers the dst.x value of the old bitmap
to the new one
2002-03-17 20:56:15 +00:00
Volker Ruppert
37955596f8
- create_bitmap(): setting Amask to 0x0 makes other colors visible
...
- fixed headerbar colors (X look)
2002-03-17 16:57:07 +00:00
Volker Ruppert
3ec4af94b4
- fixed dependence: recompile sdl.o if sdl.h is modified
2002-03-17 16:56:26 +00:00
Volker Ruppert
4870476367
- headerbar bitmap alignment implemented
...
- replace_bitmap() works now
2002-03-17 12:34:03 +00:00
Volker Ruppert
f113121db0
- text mode cursor is now visible in modes with more than 25 lines
2002-03-16 13:20:58 +00:00
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