Commit Graph

1428 Commits

Author SHA1 Message Date
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
Bryce Denney
ca6fa8f284 - SMP simulation can deadlock when all the processors are executing a HLT
instruction because ticks are not happening.  This patch allows ticks
  (simulation time) to continue so that the HLT condition eventually ends.
2002-03-19 07:07:46 +00:00
Bryce Denney
494bd46a9d - patch from William Lee Irwin III <wli@holomorphy.com>
fixes SMP compile.
2002-03-19 06:08:55 +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
Christophe Bothamy
5fb5d18eda - changed bash specific syntax "xset >& /dev/null" to "xset > /dev/null 2>&1" 2002-03-18 10:26:30 +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
e42539f2de - bugfix in set_media_status(): set the status in bx_options for floppya
or floppyb, not always for floppya
2002-03-17 20:55:27 +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
Bryce Denney
d86facd088 - removed this. The patch is too specific to a particular version so it
only applies to the release.  I can't make a better patch with cvs diff
  AFAIK because the patch adds files.  It's just a mess.  So I'll just
  put up an occasional source snapshot on SF instead of trying to keep
  this horrible patch alive.  Cvs users, just do "cvs upd -r BRANCH-cpanel"
  and don't bother with this patch.
2002-03-17 09:39:41 +00:00
Bryce Denney
7cf96b782c - wxwindows patch for Bochs 1.4.pre2. Really, we do wxwindows development
on a branch called BRANCH-cpanel.  This patch is just to make it easier
  for people to try out.
2002-03-17 09:20:28 +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
Jeroen Janssen
6ce05d42cc - VBE fixed set bank bug introduced by my bounds check rewrite 2002-03-16 11:37:43 +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
Jeroen Janssen
17ce9b8a34 - VBE screen update only when in visable screensize 2002-03-16 10:22:57 +00:00
Volker Ruppert
b167616e98 - updated for current CVS version 2002-03-15 19:05:27 +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
Bryce Denney
bc8f4eb0f0 - patch from Zwane Mwaikambo <zwane@linux.realnet.co.sz>
that adds partial MSR support.  I plan to add this after 1.4 is released.
2002-03-15 05:37:30 +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
Volker Ruppert
d1a69daf74 - cdrom and floppy options in configuration interface partially fixed
* don't change the device state to "not present" at runtime if the path is
    changed to "none" - simply eject the media if inserted
  * don't change the device state to "present" at runtime if the previous state
    is "not present"
  * eject and re-insert the media if the current media state is "inserted"
  * changing the media state in the config interface works now
  * TODO: don't do anything if the path is unchanged

- bx_write_cdrom_options(): writing media state fixed
2002-03-14 20:14:47 +00:00
Jeroen Janssen
bb3deba7d3 - vbe set mode defaults to clearscreen atm 2002-03-13 19:01:39 +00:00
Jeroen Janssen
fa04cb9d5b - fixing VBE support for whatvga (see [ 529309 ] meta feature for VBE app list)
- added VBE checks for valid data/parameters
2002-03-13 18:33:00 +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
a6d20bb03e - add #if BX_DEBUGGER around a few more things. :) 2002-03-12 19:00:44 +00:00
Bryce Denney
7a6b013101 - the new code I added in patch.triple-fault-recover needed to be
conditional on BX_DEBUGGER==1.
2002-03-12 18:59:31 +00:00
Volker Ruppert
6c4a3581c7 - removed unnecessary delay loop after keyboard reset in POST 2002-03-12 18:44:07 +00:00
Bryce Denney
97bfcd24bc - I applied the patch, so I'm deleting it from here. 2002-03-12 09:18:25 +00:00
Bryce Denney
de51eda5d1 - apply patch.triple-fault-recover 2002-03-12 09:16:41 +00:00
Bryce Denney
141cfd2b2f - add triple fault recovery code 2002-03-12 09:15:12 +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
Bryce Denney
8369bfb327 - this patch has been committed, so I'll erase it now 2002-03-11 20:41:22 +00:00
Bryce Denney
86b09cada5 add link to new prerel 2002-03-11 20:39:33 +00:00
Volker Ruppert
0f37656bc1 - updated German keymap file for paste support 2002-03-11 20:35:28 +00:00
Bryce Denney
739d03e9c1 - add hype for new release 2002-03-11 20:34:39 +00:00
Bryce Denney
047e426c4e - add prerelease news 2002-03-11 20:25:26 +00:00
Bryce Denney
f9d5807034 - this is the patch from Hartmut Birr <hartmut.birr@tesionmail.de>
dated 2002-02-26.
2002-03-11 20:10:15 +00:00
Bryce Denney
221f2ebb63 - update version 2002-03-11 17:31:23 +00:00
Bryce Denney
e73971ba66 - update version number 2002-03-11 17:15:21 +00:00
Bryce Denney
c743eb7cca - bump up version number 2002-03-11 17:14:28 +00:00
Bryce Denney
6c06a1bcb4 - I'm updating dlxlinux to add keyboard mapping by default, so that paste
will work.  Now download dlxlinux3.tar.gz instead of #2.
- in win32 install, create keymaps directory and copy the maps in
2002-03-11 16:59:58 +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
12a812296d - add comment about BYTES being freed when we're done with it. 2002-03-11 16:25:52 +00:00
Bryce Denney
d7658e3098 - add keymap.cc to the workspace 2002-03-11 15:47:24 +00:00
Bryce Denney
d82a73ed21 - fix things I broke while working in linux 2002-03-11 15:45:34 +00:00