Axel Dörfler
2ca990b801
Moved the RootLayer::LayerRemoved() call from the ServerWindow destructor to RootLayer::RemoveWinBorder().
...
ServerWindow printed the title in its destructor after freeing it (with debug output turned on).
Calmed it down a bit, too (disabled "listening on port...").
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 09:24:08 +00:00
Axel Dörfler
0e430ce96e
Fixed the crashing bug with BAlerts - have I already said that this code is a mess?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 09:22:34 +00:00
Axel Dörfler
e98e8fe256
Forgot to commit Jamfile before: removed AboutWindow.cpp.
...
Cleaned up ShellPrefView a little.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 08:11:43 +00:00
Axel Dörfler
716af53244
Removed MENU_SHOW_ABOUT constant - it's no longer used.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:55:51 +00:00
Axel Dörfler
76649c0319
Removed the ugly about window, and replaced it with a common BAlert.
...
Moved the alert to TermApp, too - TermWindow now only forwards the B_ABOUT_REQUESTED message.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:54:48 +00:00
Axel Dörfler
42a1650087
Accidently disabled set_mouse_position() with my last commit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:38:23 +00:00
Axel Dörfler
ce37cb1bf8
Deleted the now obsolete MYOB folder.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:36:51 +00:00
Axel Dörfler
d3dc729f9f
Moved the files out of the MYOB folder into the main folder.
...
There are some double entries (like TermApp.cpp and TerminalApp.cpp, so
it still needs a further cleanup).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:35:17 +00:00
Axel Dörfler
477bd4f0e0
Removed paragraph about muterm-2.3.zip - it's still in the history, if
...
anyone wants to have another look at it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:28:17 +00:00
Axel Dörfler
e2ee42c5bd
Moved Andrew's Terminal files into a subfolder - maybe this should be moved
...
to his developer branch. Maybe he wants to integrate the changes, too, whatever
he has done.
Removed unused files (muterm-2.3.zip, Jamfile - both still in history).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:27:01 +00:00
Axel Dörfler
1771f7ae79
Signatures are case insensitive - I hope I fixed all occurences now... (but probably not)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:08:17 +00:00
Axel Dörfler
bb00e2687c
MIME types and signatures are case insensitive.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:06:21 +00:00
Axel Dörfler
a22dce79df
Fixed warning (wrong format).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 06:53:36 +00:00
Axel Dörfler
845ba70ef5
Fixed warnings, minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 06:51:16 +00:00
Michael Lotz
a83bffa77a
Removed {set|get}_syscursor according to DW. Scratch that last sentence in the last commit, with this Appearance builds again.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 00:35:18 +00:00
Michael Lotz
2213782534
All cursor related changes:
...
* Moved setting the default cursor from ServerScreen to Desktop
* Getting the default cursor is now done using the CursorManager
* Removed outdated setcursor from SysCursor.cpp (we have a new implementation by now)
* Renamed SysCursor.cpp to CursorSet.cpp as that's what it is
* Moved headers/private/app/SysCursor.h to headers/private/servers/app/CursorSet.h
* Removed some unneeded header includes along the way
There remains {set|get}_syscursor now in CursorSet.cpp. Serverside for these are not implemented
and they are obvious hacks. Do we need to keep them?
Also this commit _would_ break Appearance, but 1) all the related code is currently commented out
with the comment "cursor set management belongs in another app" and 2) it is already broken
because of ColorSet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 00:22:08 +00:00
Ingo Weinhold
a93b45f00f
Understood why static symbols are not found (we can't without reading the
...
concerned shared object's file, which probably is a bit overkill) and added
respective comments.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 23:44:43 +00:00
Michael Lotz
fc6c82dc35
Cleanup and style changes. Removed global cursormanager as each RootLayer has it's own.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 21:26:28 +00:00
Axel Dörfler
0332bd6f41
Removed bsd_mem.h and the functions it used from there.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 20:58:44 +00:00
Ingo Weinhold
2fd4a0411b
Added a boolean "synchronous" parameter to BRoster::Shutdown(). Used in the
...
Deskbar to initiate the shutdown process asynchronously. Couldn't test it,
because opening the Be menu doesn't work:
***PANIC: BW: Can't find view with ID: 19 !***
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:37:11 +00:00
Rudolf Cornelissen
f0da8b3052
updated documentation to reflect current status. (forgot rather important remark.)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:36:13 +00:00
Rudolf Cornelissen
ddb44886d5
updated documentation to reflect current status.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:31:23 +00:00
Axel Dörfler
ef8810f2ad
Extracted the settings stuff from the Desktop class. If you now need to access
...
the desktop's settings, you have to do something like this:
DesktopSettings settings(desktop);
settings.SetMouseMode(mode);
The advantage of this is that this object is fully locked, and cannot lead to
corrupted settings anymore. Also, the settings will stay the same until you
delete the object again.
Updated all accesses to use this new API.
Removed no longer used FFM messages.
Implemented AS_{GET|SET}_MENU_INFO for future use.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:25:48 +00:00
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