Axel Dörfler
223b96641b
Implemented the focus follows mouse stuff over the standard mouse mode functions; the other functions look deprecated to me.
...
Added a comment to load_menu_settings() - I think that stuff should be moved into the server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:13:58 +00:00
Axel Dörfler
67d3b755ec
Fixed a stupid bug in ReleaseScreen(); caused an endless loop.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:11:27 +00:00
Rudolf Cornelissen
f62d5f6e4e
updated register defines with info obtained from unichrome.sf.net.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:06:45 +00:00
Rudolf Cornelissen
0204fda9d6
completed VIA CRTC timing programming. Updated internal constraints check, gettimingconstraints hook, and programming the crtc1. resolution can now be switched, but still excluding refresh programming (ie 640 to 800 switch turns off screen, but 800 to 640 switch just increases refresh from 60 to about 90 Hz (and apart from that works. :)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:04:30 +00:00
Axel Dörfler
a00d33c094
No longer reboots when a shutdown was requested - this gives the registrar
...
the opportunity to show the "System is now ready to reboot" alert.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 13:28:11 +00:00
Axel Dörfler
09105be0f8
Now uses the TO_PAGE_SIZE() macro already defined to round the debug area to a page size multiple.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 12:54:41 +00:00
Stephan Aßmus
5fb214d470
The Deskbar can now shutdown or reboot Haiku, but we should have a way to shutdown asynchronously, see TODO
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 11:07:55 +00:00
Stephan Aßmus
f67fe71e9e
MiniTerminal deserves at least a mini icon, but I've given it a large one too
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 09:33:58 +00:00
Stephan Aßmus
8fbbd48760
added icons
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 09:22:57 +00:00
Ingo Weinhold
aff60bb217
Added a crashing test app. Food for the debug server and gdb. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 00:27:10 +00:00
Ingo Weinhold
6e8834d0ee
Removed forced debug output. Verified: _kern_shutdown(reboot = false) reboots too in qemu.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 23:58:39 +00:00
Ingo Weinhold
852425d470
Also consider the kernel team a "vital system app" that deserves not to be killed. Shutdown now works under qemu, although even shutdown reboots...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 23:47:57 +00:00
Stephan Aßmus
d461b955a1
fixed my previous commit, it helps to read the diffs again... but this fallback needs to move somewhere else, as commented by the TODO
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 23:43:30 +00:00
Ingo Weinhold
aeaa4a21a4
It's considered rude to try killing the kernel team.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 23:38:07 +00:00
Stephan Aßmus
bcdb0e9460
some useful leftovers from debugging, use new with nothrow for it to make sense to test the returned pointer
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 23:34:23 +00:00
Stephan Aßmus
657ff50ca9
fall back to double buffered mode was already workingif mode was not 32-bit, only that IsDoubleBuffered() was not implemented, so that HWInterface::DrawingBuffer() returned the front buffer, which had the non-32-bit format... so this fixes non-32 bit modes, IAW, Vesa is working now
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 22:54:25 +00:00
Stephan Aßmus
95e42caf13
tried to find the bug that causes the wrong area underneath the software cursor to be restored, but failed, the only accomplishment is that the cursor is now showing right from the beginning, not only after one moves the mouse
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 22:52:28 +00:00
Stephan Aßmus
c18d3059b4
added icons needed for BAlerts
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 22:50:43 +00:00
Stephan Aßmus
05ffbfbc24
_FindMode is now more robust and really tries everything it can to find a mode...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 22:50:17 +00:00
Stephan Aßmus
821426f66e
forgot to remove debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 22:49:17 +00:00
Ingo Weinhold
9a323d3533
Added support for looking up symbols of other team to libdebug. The
...
debug_server uses this feature to print stack traces with symbols.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 21:12:32 +00:00
Ingo Weinhold
28e0d4cd19
The runtime loader now creates a debug area through which other teams can
...
access a team's internal loader data.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 21:07:17 +00:00
Ingo Weinhold
d3bdf71ea6
The debug nub port of a debugged team is owned by the debugger. Hence we
...
need to transfer the ownership, when handing over the team to another
debugger.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 21:04:22 +00:00
Stephan Aßmus
e8a110090c
make sure the mouse settings are initialized with default values
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 14:33:18 +00:00
Rudolf Cornelissen
af9151617b
shutoff all R4.5.0 cloning workarounds for the drivers I worked on.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 08:47:10 +00:00
Rudolf Cornelissen
f7d400fbff
disabled R4.5.0 cloning bug workaround. Zeta 1.0 kernel is incorrectly identified as being R4.5.0. We should probably just remove the workaround alltogether anyway..
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-16 08:41:51 +00:00
Jérôme Duval
02bf3b7c13
added some checks, this shouldn't be needed with a consistent keymap, but as we don't want to crash in this case ... (could help DarkWyrm)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 23:57:51 +00:00
Rudolf Cornelissen
02619f4da6
added recognition for those 5 extra variations of unichrome cards. Bumped version to 0.03 btw.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 20:07:27 +00:00
Rudolf Cornelissen
4ac0231388
added defines for other unichrome cards and archs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 19:46:32 +00:00
Rudolf Cornelissen
8a6917cc3e
added support for 5 more Unichrome (pro) card - types.. ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 19:45:53 +00:00
Rudolf Cornelissen
5f1ba12a23
added (corrected) define for memory pitch programming (CRTC).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 19:21:15 +00:00
Rudolf Cornelissen
622b285564
completed virtualscreen support. Via constraints correctly set, checked and ok.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 19:19:34 +00:00
Axel Dörfler
fd5bec1e48
First baby step to a restructured app_server:
...
- introduced new ScreenManager and VirtualScreen classes
- removed screen handling from RootLayer
- removed multiple screen/root layer stuff from Desktop, it's
now using a VirtualScreen object instead
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 12:45:23 +00:00
Ingo Weinhold
97021af901
We now launch the registrar and the debug server before the app server. So
...
we get at least a stack trace when the app server crashes under qemu when
starting up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 12:31:59 +00:00
Ingo Weinhold
c9ce15c94a
* Reworked the design: It certainly doesn't make sense to display more than
...
one alert, when two threads of a team crash. Now we have a per team queue
of debug messages and a thread per team that processes them (that is
usually only the first one). The application class does nothing anymore.
* Implemented debugger handover:
- In case of normal apps, when the relevant servers needed for GUI are
running, we show an alert and, if requested, start a MiniTerminal with
gdb for the crashed team. I couldn't really test it, since alerts don't
seem to work, respectively crash the app server (usually both ;-).
- In case the app server crashes, we always start a consoled with gdb.
This does indeed seem to work.
A gdb attached to a team is not really useful yet, since the shared object
relocations seem to be incorrect, so "bt" is not giving any useful info.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 12:29:53 +00:00
Ingo Weinhold
7f9c673981
* Introduced a new debugger message B_DEBUGGER_MESSAGE_HANDED_OVER, which
...
is sent to a debugger when the debugged team has been successfully handed
over to another debugger.
* Fixed handling of B_DEBUG_MESSAGE_PREPARE_HANDOVER. We don't send a reply.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 12:18:33 +00:00
Ingo Weinhold
310c813fa8
Minor error output change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 12:16:02 +00:00
Ingo Weinhold
cd05d511e6
Introduced generalized versions of get_app_path() and get_app_ref() returning the path/ref for an arbitrary team.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 12:15:21 +00:00
Jérôme Duval
03d8b13291
added Fonts
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 11:11:06 +00:00
Jérôme Duval
90d6af5d14
added StyledEdit (seems it works)
...
Canna data files copy command is added but commented out
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 10:26:02 +00:00
Stefano Ceccherini
70cb1d917c
Implemented BPrintJob::BeginJob() and CancelJob() (tested a bit)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 09:48:26 +00:00
Ingo Weinhold
9333bf301b
consoled now supports a program to be run instead of the shell being supplied
...
via command line parameters. Not tested yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 00:14:51 +00:00
Ingo Weinhold
42244cf30e
* Changed MiniTerminal command line arguments. Location and size are now
...
specified via options -l and -s. An arbitrary program can be run in the
terminal instead of a shell.
* Console::fState was never initialized which could cause the terminal to
not print anything.
* stdin, -out, and -err were set in MiniView::Start() and in
MiniView::ExecuteShell(). Thus resetting them in the latter method after
executing the shell had no effect. Removed it in the former method and
now reset them after loading, but before resuming the shell.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-14 23:55:49 +00:00
Jérôme Duval
b8b9dc1c24
Fix FindPointer (tested with unit tests)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-14 15:07:26 +00:00
Rudolf Cornelissen
f1ed02e9cb
small registerdefine update (testing).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-14 13:50:42 +00:00
Rudolf Cornelissen
2a2a54c811
small registerdefine update.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-14 13:40:28 +00:00
Rudolf Cornelissen
f085bc335d
added CRTC timing programming (VGA compatible part only yet). Modesetting for resolution works 'partly' now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-14 13:39:31 +00:00
Jérôme Duval
f75b92e753
added bmessage speed tests
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-14 13:07:13 +00:00
Rudolf Cornelissen
8eefa6ccc5
added several (temporary) registerdefines for VIA.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-14 12:21:28 +00:00
Rudolf Cornelissen
27a839aaca
modified via.settings file to enable automatic RAM size detection.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-14 12:20:50 +00:00