Commit Graph

13682 Commits

Author SHA1 Message Date
Rudolf Cornelissen
c46cb833bb added DPMS support. Bumped version to 0.05.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 19:32:40 +00:00
Axel Dörfler
f4a8c33b5c Fixed a bug in put_death_stack_and_reschedule(): release_sem_etc() was called
with the thread lock held, which might have caused a panic later on, if there
was another thread waiting for the death stack semaphore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 18:10:12 +00:00
Axel Dörfler
230a037ed4 Fixed a bad bug in vm_copy_on_write_area(): the area's cache offset was not taken
into account when remapping the pages read-only; it could have overwritten valid
page mappings this way. This was also the reason for the Terminal to crash - it
does now work as it should, although some keys don't work (like tab completion)).
vm_copy_area() no longer always sets B_KERNEL_WRITE_AREA if no kernel protection
was specified, but mirrors the userland protection (for example, the x86 MMU is
not able to have a page writable in kernel but not in userland). This caused
some areas to be read/write when read-only would have been enough.
vm_copy_area() now panics when vm_copy_on_write_area() fails - that's of course
no real solution, but it's bettern than letting it silently fail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 18:00:31 +00:00
Axel Dörfler
c05350e781 Fixed some bugs, partially by Oscar Lesta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 17:19:02 +00:00
Jérôme Duval
599be43472 Implemented GetHasGlyphs support somehow (FT support is lacking)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 15:22:55 +00:00
DarkWyrm
1bbb0771e4 Better conformity to style guidelines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 15:14:14 +00:00
DarkWyrm
fcccc8d147 Shouldn't be any more crashes when CDDB lookup fails
Lookup now handles inexact matches
CDAudioDevice now detects all available CD drives
Fixed a minor bug in updating the track list when changing CDs
CDDB content files are now stored in R5's location - /boot/home/cd


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 13:29:54 +00:00
Stefano Ceccherini
515c369ec9 Some more work on BPrintJob.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 12:26:27 +00:00
Ingo Weinhold
0c87981e3b We now also relocate the executable file in the current_sos() hook. Other
implementations (e.g. SVR4) don't do that, but I don't see how it could
work otherwise. Maybe other systems place the executable's code exactly
where specified in the executable and hence noone ever noticed...

Anyway, this makes stack traces (and probably other things that were broken
before) work with an attached gdb.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 10:48:57 +00:00
Ingo Weinhold
2ee6ee5b8c Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 10:40:23 +00:00
Philippe Houdoin
d8faa07a05 Added source code Matrix compliance: everybody will (have to) read raw hex bitmaps one day ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 08:49:39 +00:00
Philippe Houdoin
9ea7d6aea4 Dunno where these duplicated lines cames from. Fixed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 08:16:30 +00:00
Philippe Houdoin
b56e312187 Added an AMD CPU logo to please screenshots lurkers.
Should be better moved into resources next time. Will see...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 00:42:26 +00:00
Stephan Aßmus
0d02a8aaba fixed B_CMAP8 back to front buffer conversion (blue was missing)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 23:13:42 +00:00
Jérôme Duval
3007cd9afe fix the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 22:54:01 +00:00
Philippe Houdoin
781edd8d55 Minor space adjustment between CPU type and speed line.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 21:45:12 +00:00
Michael Lotz
d1c86c04c1 Fixed some miss-allocation when getting the the workspace windows.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 17:48:32 +00:00
Axel Dörfler
530cb79cf1 Exchanged the order of the "Cancel" and "Reboot"/"Shutdown" buttons (and made the
latter the default), with Ingo's generous admission :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 16:43:40 +00:00
Ingo Weinhold
c085de40db Corrected the note about static symbols.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 15:20:35 +00:00
Rudolf Cornelissen
309acd1437 once again updated register defines ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 15:16:33 +00:00
Rudolf Cornelissen
b504689448 updated docs. Bumped version to 0.04 BTW.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 15:15:47 +00:00
Rudolf Cornelissen
6416d8525e added color palette programming, in use for CMAP8 (so 8-bit) mode. Modified 15-bit mode to be correct (like 16 and 32bit already were): these three modes are direct modes (no 'detour' over the palette). Setting colorspace is now fully functional for all 4 depths.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 15:14:59 +00:00
Jérôme Duval
ddd52f1f86 fix the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 12:16:34 +00:00
Rudolf Cornelissen
30bdcbfc2f updated reg defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 11:40:13 +00:00
Rudolf Cornelissen
7f72039856 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 11:39:48 +00:00
Rudolf Cornelissen
381288838b added colordepth and CRTC FIFO limit programming. You can now switch colorspaces on the fly, but colors probably mess-up because of still lacking colorpalette programming.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 11:39:11 +00:00
Axel Dörfler
83d1f41819 Fixed compilation with debug output turned on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 10:34:25 +00:00
Axel Dörfler
4821aac375 The window is not supposed to resize the top level view. This removes the
"look-through" area in Terminal, and probably ShowImage as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 10:30:29 +00:00
Axel Dörfler
39d30137dc A call to SetSizeLimits() can change the window frame, so it's now updated, too (a separate FrameResized() message is sent anyway).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 09:53:37 +00:00
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