Commit Graph

11564 Commits

Author SHA1 Message Date
Ingo Weinhold
5e14f5dae0 Make sure the division by zero is not optimized away.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 23:53:57 +00:00
Ingo Weinhold
0e2218e5b9 Provide a useful window title for the debug terminal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 23:52:51 +00:00
Ingo Weinhold
4cbc183b53 Added option "-t" to specify the window title.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 23:52:06 +00:00
Ingo Weinhold
7f53c2cc96 We now make sure, that images always have absolute paths, otherwise
their path could be invalid in other contexts (e.g. the debug server might
be unabled to find them). This seems to be what BeOS does, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 23:51:02 +00:00
Ingo Weinhold
d08379a80b * Now we deal with all x86 exceptions, i.e. we no longer panic() when a
user application performs a division by zero or causes a general
  protection fault. For some exceptions (e.g. machine check) I wasn't
  quite sure whether they can be caused by user apps at all, so we panic()
  in those cases. Wouldn't harm, if someone more knowledgable would check
  this, though.
* Removed the unused fault handling stuff, respectively moved the little
  that was used into x86/arch_int.c.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 23:47:08 +00:00
Rudolf Cornelissen
156dee6ac8 updated some naming stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 21:37:03 +00:00
Rudolf Cornelissen
16bf7b9598 added primary pixelPLL programming and calculations for CLE266/KM400 architectures. K8M800 still needs to be setup (PLL registeradresses and ranges differ here). Although set refreshrates are about 5% too high, you can now decently set any mode you like: as long as you have *some* vesa mode preset (still). Looking at a soothing 75Hz now here :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 21:35:34 +00:00
Ingo Weinhold
71903a151d This is the kind of small bug that takes hours to track down: The missing
grist caused bfd to be compiled using gdb's config.h. This made it think
Haiku had no fcntl() and thus assumed shared objects were opened r/w instead
of read-only, which made it write back data when closing the files. So this
fixes the problem that gdb damages the shared objects it had loaded.

Basically two questions remain:
1) Why does BFD write something into the files that makes them invalid?
2) Why was it possible to write something into the read-only opened files?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 19:37:41 +00:00
Philippe Houdoin
edcc167783 Add support for others rtl8139-based devices, beyond the vanilla RealTek vendor/device IDs.
Untested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 13:37:05 +00:00
Stephan Aßmus
e4b3b04f99 Appearantly, there is a race condition when setting preferences, this fixes (one of) the crash(es?), but we should really fix the race condition, but I have no energy to get to know the code more. I'm thinking the PrefHandler class needs locking, since it is used everywhere, it is probably best to put the locking directly into the PrefHandler methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 12:59:23 +00:00
Stephan Aßmus
6acca385f0 source is a BControl pointer, so we need to dynamic_cast, no?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 12:56:24 +00:00
Stephan Aßmus
05988bd35f inactive workspaces are drawn with darker colors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 11:43:11 +00:00
Stephan Aßmus
b23f4579af fixed a debug message
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 11:42:26 +00:00
Michael Lotz
fcf209d9ce Added padding calculation (not final) so that flattening / unflattening actually works.
Passes all unit tests now and works on Haiku too. Speed is not yet optimized and Message2.cpp is still not cleaned up.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 23:15:03 +00:00
Michael Lotz
bbe759b31b Took Ingos considerations into account and added a simple hashtable implementation.
It's currently really broken so don't even try to test it, but you can still review it ;-).
Message2.cpp is not yet cleaned - more to come...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 21:11:27 +00:00
Jérôme Duval
eddf2adc8a style change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 07:41:18 +00:00
Jérôme Duval
3f107259bf style change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 07:29:19 +00:00
Jérôme Duval
b1e1fbaeda replaced UBYT with B_UINT8_TYPE
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 07:26:03 +00:00
Michael Lotz
5707106109 These should have gone with the last commit. Last commit for tonight.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 01:17:46 +00:00
Philippe Houdoin
a284b7b388 Set low color to selection background color before drawing text.
This should remove AA bugs for selected item(s) text.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 01:15:05 +00:00
Michael Lotz
e8b43dc055 Fixed includes and removed some debug output. You could now switch Message.cpp, MessageBody.cpp and MessageField.cpp in src/kits/app/app.src to Message2.cpp, MessageBody2.cpp and MessageField2.cpp to test the new implementation. Fixed the wrong commit message by the way (via svn propset).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 01:11:19 +00:00
DarkWyrm
d1ebd75641 Refactored CDDB lookup code
CDDB data is written in R5 format with the exception of CD:key (still figuring out what to do about that)
Fixed some update notification problems with changing CDs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 01:04:55 +00:00
Michael Lotz
1a3441a4a1 Added a new BMessageBody and BMessageField implementation and added a version of BMessage to
use it. It is not (yet) included in the build and won't break anything.
As we now only have thin wrappers around the *Data() functions, the templatized implementation does
not make much sense anymore and wouldn't work either.
I started this new implementation to be as clean as possible. Instead of using a std::map and
BDataBuffer it uses BList and BMallocIO. It passes the unit tests and it even seems to be a bit quicker
in some tests (but not as quick as the R5 one).
Flattening/Unflattening does not work yet so you can't use it under Haiku right now. It's completely work in progress (I started it just 4 hours ago).
Shout if you see something completely broken, reviews welcome.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 00:36:50 +00:00
Ingo Weinhold
6ff2656c03 * We now use libdebug.so, which saves us a couple lines of code.
* Print the debugger message in case the debugged team called debugger(),
  and the description of an occurred exception respectively.
* Properly keep gdb's internal thread list up to date. This fixes the
  problem that an attached debugger always resumed all threads of the
  debugged team.
* A bit of cleanup of the attaching code.

Discovered an ugly bug: When invoking gdb with an executable -- regardless
of whether attaching gdb to a running process or just starting a debugger
session with the executable -- the executable is modified. I tested with
"crashing_app" and in the second debug session gdb fails to read the debug
info from the file and encounters a weird error when closing the file:
"No space left on device." I have the suspicion that this is another bug
in Axel's VM/file cache pet. :-P



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 23:29:04 +00:00
Ingo Weinhold
a79265708d Set the members of a destroyed debug_context to invalid values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 23:14:16 +00:00
Ingo Weinhold
a52d8b3391 Made the debug output more robust.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 23:12:04 +00:00
Rudolf Cornelissen
2cedcf492c updated docs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 19:33:06 +00:00
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
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
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
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
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
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
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
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
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
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
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
Rudolf Cornelissen
3ede6fca8a added RAM size detection, added VCO range and (preliminary) MAX DAC speeds. Bumped version to 0.02.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-14 12:20:01 +00:00
Axel Dörfler
31a5ff5d8e We now have a (private) writev_port_etc() call. This could be used to avoid
allocating a buffer and copying your data into it, when you have data to
send in several chunks (for example, this could be used by BMessage, as
suggested by Ingo Weinhold).
Code is untested, but should work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 23:55:15 +00:00
Axel Dörfler
d7013609a8 Fixed a big memory leak: _user_writev() and _user_readv() allocated
a new iovec array, but only freed them on (early) error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 23:43:05 +00:00
Stefano Ceccherini
16046321cc Implemented BPrivateScreen::ReadBitmap(), but the guts are still missing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 22:33:52 +00:00
Rudolf Cornelissen
318120fe05 added parial memory pitch programming: lowres virtual width screens can be used now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 18:57:41 +00:00
Axel Dörfler
ea563033b2 Same as before, but for Replace*() methods: fixed memory leaks, small
optimazation for ReplaceFlat() (also done for AddFlat() before).
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 18:34:11 +00:00
Axel Dörfler
b9dddc39f3 Fixed some memory leaks in case of errors (Add*() only).
Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 18:25:23 +00:00
Axel Dörfler
c9955bf00a Added new but empty function file_cache_invalidate_file_map().
This is needed in case the on-disk representation of a file changes (due to reorganization/defragmentation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 16:33:05 +00:00
Jérôme Duval
1188944790 Readded TYPE()
Init Messenger, Ref, Message on error


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 15:56:46 +00:00
David McPaul
f1459e8f91 performance improvements
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 13:41:08 +00:00
David McPaul
24af6494ea Removed many bugs relating to multiple video tracks. Replaced these bugs with much more interesting ones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 12:59:02 +00:00
Jérôme Duval
b39b6ee51c DispatchEvent is now using when field from input message instead of real_time_clock()
Also watchs B_UNMAPPED_KEY_DOWN for Alt+Space (input method change)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 09:48:35 +00:00
Jérôme Duval
ce42d864ee Took Axel's remarks into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 09:23:21 +00:00
Axel Dörfler
698b96ef9b Added a simple test for the Dano message format reader (it accepts flattened message files as parameter).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 06:32:33 +00:00
Jérôme Duval
b0ba19ba3a Moved Add* through AddData, Find* through FindData, Replace* through ReplaceData
I think BMessageBody::FindData<>, BMessageBody::AddData<>, BMessageBody::ReplaceData<> could be untemplatized
Works here, not unit tested though
Axel, please review this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 23:21:29 +00:00
Rudolf Cornelissen
ef36c64242 activated hardware cursor in via.settings file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 20:03:08 +00:00
Rudolf Cornelissen
5a2735230d VIA cursor works (almost) perfectly now, added support for vertical virtual workspaces, so setting framebuffer startadress now (expl. pixelpanning yet).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 19:55:11 +00:00
DarkWyrm
bc5804fdb6 Implemented Fast Forward and Rewind
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 19:47:21 +00:00
DarkWyrm
b8673e4300 Added menu selector like in R5's player.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 18:51:30 +00:00
Michael Lotz
9ea776d708 Removed (unimplemented) BMessageBody::Unflatten() as Unflattening happens directly at the BMessage level.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 17:49:33 +00:00
Michael Lotz
13b42e5eb4 Just some style cleanups again. Sorry I couldn't resist, won't happen again ;-).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 17:41:22 +00:00
Axel Dörfler
54476a21b5 file_create() now also supports FD relative path specifications.
This was the cause for some apps to put their settings files to the current
directory, and also that Tracker did not find some icons (from the icons
it installed in the MIME database).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 16:33:10 +00:00
DarkWyrm
c552d63dc5 Removed some commented-out test code from CDButton
Time display is updated when player is stopped
Turning off shuffle really takes it out of shuffle mode
Can change tracks while the CD player is not playing
Improved responsiveness of screen updates when changing tracks
Total disc time calculation is fixed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 15:23:30 +00:00
Ingo Weinhold
29aa57037d * Now we have a hardcoded list of apps which shall not be terminated on
shutdown (input, app, debug server, and registrar).
* Fixed crashing bug, if the shutdown was aborted before the window was
  created.
* The text of the confirmation alert depends on whether we reboot or
  shut down.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 12:36:08 +00:00
Jérôme Duval
c458888ae0 added Konatu font copyright
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 09:17:44 +00:00
Ingo Weinhold
54fce51326 Uninitialized member variable. The cause for the shutdown process sometimes not to start at all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 23:14:56 +00:00
Michael Lotz
b43356dbeb Removed some noise from the status icons, this bothered me some time now :).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 20:38:46 +00:00
DarkWyrm
6105ba9382 Fixes to monitoring of the CD drive's state
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 20:05:50 +00:00
DarkWyrm
0ca3e71c1e Total track and disc times are displayed in the appropriate boxes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 18:06:02 +00:00
Rudolf Cornelissen
f1971991da setup hardware cursor. bitmap not yet correct, colors neither.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 15:30:18 +00:00
Rudolf Cornelissen
5de64e32fd setup hardware cursor. bitmap not yet correct, colors neither.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 15:29:50 +00:00
Rudolf Cornelissen
d3cb727f16 naming update
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 12:20:50 +00:00
Axel Dörfler
f84e00e27c Although VirtualMemory did respect the font height already, it didn't care
if the window was wide enough for the strings - it now does.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 00:24:14 +00:00
Alexander G.M. Smith
36fa547a10 Updated keyword expansion to use SVN keywords. Also seeing if
svn is working well enough for me to update files from BeOS R5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 00:11:29 +00:00
Michael Lotz
4da5225f84 Fixed broken count_font_styles(), font menus now really work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 21:52:30 +00:00
Michael Lotz
3f319b3346 Some cleanup, some removed typos, some unification, some fixes and some added todos. Most of it related to client-server communication. Apps that rely on BFont stuff should work now (StyledEdit, Fonts, Keymap, Menu, ...). Or should not hang/quit at startup at least.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 21:16:43 +00:00
Rudolf Cornelissen
1de84caa7d updated via settings file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:39:22 +00:00
Rudolf Cornelissen
e9632ca5ff updated jamfile to include via driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:34:32 +00:00
Rudolf Cornelissen
e795b22aae updated jamfile to include via driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:34:11 +00:00
Rudolf Cornelissen
b1409f6742 updated jamfiles.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:31:18 +00:00
Rudolf Cornelissen
e26fcb493d updated jamfile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:28:39 +00:00
Rudolf Cornelissen
0f6a77015d added via kernel driver, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:07:00 +00:00
Rudolf Cornelissen
a59e2b1d6a added via kernel driver, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:06:33 +00:00
Rudolf Cornelissen
a1ec65063d added via kernel driver, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:06:18 +00:00
Rudolf Cornelissen
10ee46850f added via kernel driver, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:05:53 +00:00
Rudolf Cornelissen
8304bd4214 added via kernel driver, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:05:23 +00:00
Rudolf Cornelissen
f81294f1f6 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:00:28 +00:00
Rudolf Cornelissen
50d1478622 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:00:12 +00:00
Rudolf Cornelissen
b6f37046ce added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:59:56 +00:00
Rudolf Cornelissen
cc9bb0a44d added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:59:42 +00:00
Rudolf Cornelissen
f2d83f33e0 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:59:03 +00:00
Rudolf Cornelissen
20ba898719 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:58:46 +00:00
Rudolf Cornelissen
7b4970fe8e added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:58:23 +00:00
Rudolf Cornelissen
815d0bbada added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:58:07 +00:00
Rudolf Cornelissen
de404e4b63 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:57:56 +00:00
Rudolf Cornelissen
ef583633a4 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:57:38 +00:00
Rudolf Cornelissen
2beedcaece added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:57:16 +00:00
Rudolf Cornelissen
8ac4b65fe4 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:57:04 +00:00
Rudolf Cornelissen
5998579f4b added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:56:45 +00:00
Rudolf Cornelissen
cdc612ec6b added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:56:29 +00:00
Rudolf Cornelissen
552dba5d17 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:56:11 +00:00
Rudolf Cornelissen
661c9ec849 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:55:54 +00:00
Rudolf Cornelissen
b97f7d33d2 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:55:20 +00:00
Rudolf Cornelissen
9034af644d added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:48:45 +00:00
Rudolf Cornelissen
1bf174096c added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:48:19 +00:00
Rudolf Cornelissen
4f88abc72b added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:47:56 +00:00
Rudolf Cornelissen
4f9c6343ec added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:47:32 +00:00
Rudolf Cornelissen
eb77a362c4 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:47:03 +00:00
Rudolf Cornelissen
5766190ac8 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:46:46 +00:00
Rudolf Cornelissen
8e23d7fb80 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:46:22 +00:00
Rudolf Cornelissen
35bf20db0f added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:45:55 +00:00
Rudolf Cornelissen
b69daae506 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:45:35 +00:00
Rudolf Cornelissen
b7a943848a added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:45:14 +00:00
Rudolf Cornelissen
24722904a4 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:44:46 +00:00
Rudolf Cornelissen
bd4e3ea16c added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:44:09 +00:00
Rudolf Cornelissen
fa50484bed added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:43:50 +00:00
Rudolf Cornelissen
d9793dff0b added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:43:26 +00:00
Rudolf Cornelissen
fc28464913 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:42:35 +00:00
Rudolf Cornelissen
9d2d0e1ce6 removed it again. Hmm. Still don't get it I guess..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:34:27 +00:00
Rudolf Cornelissen
d901a26405 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:32:21 +00:00
Rudolf Cornelissen
29f38965b4 removed it again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:31:31 +00:00
Rudolf Cornelissen
d79d8cd9a9 added via accelerant, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:29:33 +00:00
Rudolf Cornelissen
d3036c3cf2 added via accelerant folder
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:27:11 +00:00
Stephan Aßmus
642467d077 renamed the tree parsing/child iteration functions, I think it is much clearer now what they do, more likely to find bugs too
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 17:16:31 +00:00
Axel Dörfler
a98b74b72e Discarded unused variable "at" in get_rounded_cpu_speed().
Forgot to adapt the limit to switch to "GHz" in AboutHaiku.
Both bugs were reported by Herve W a.k.a. "V" - whatever
that means :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 16:24:52 +00:00
Axel Dörfler
f877fb742f Rewrote VirtualMemory, added some Haiku specific functionality (currently disabled).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 14:58:03 +00:00
Axel Dörfler
26ca407bfc Moved the CPU speed "clearing" function from Pulse to cpu_type.h header.
It's now also used by AboutHaiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 21:01:23 +00:00
Axel Dörfler
04d45bdb27 The version information is now actually set: apparently, AddResources must
appear before the SharedLibrary rule for some reason.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 20:52:00 +00:00
Axel Dörfler
38d8620261 Now has real app version information.
"labelHeight" was not the actual label height, just the font height; as a
result, it could overwrite the label (and did so with "Time Running:").
Now uses find_directory() to locate the system lib directory.
Does not use version_info::short_info if it's empty.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 20:50:44 +00:00
Ingo Weinhold
9daa13637a Be on the safe side.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 20:28:02 +00:00
Ingo Weinhold
32d7b6cf21 BWindow::SetDefaultButton() crashed when setting another default button.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 20:27:43 +00:00
Ingo Weinhold
8ddc570d6f * Implemented the BRoster::Shutdown() confirmation feature.
* When an application aborts the shutdown process by refusing to quit, the
  shutdown window says so for 3 seconds before closing.
* Fixed the height of the normal buttons in the shutdown window. They 
  accidentially got the size of a default button.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 20:26:16 +00:00
Ingo Weinhold
a13df0dc01 Added a "confirm" parameter to BRoster::Shutdown() which causes the registrar
to ask the user to confirm shutting down the system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 20:23:28 +00:00
Jérôme Duval
f86c9cb7e8 comment out a warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 09:55:13 +00:00
Jérôme Duval
b1c123994c Updated to tzcode2005j.tar.gz
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 23:49:29 +00:00
Jérôme Duval
e6aa054a8f updated timezone files from ftp://elsie.nci.nih.gov/pub/tzdata2005j.tar.gz
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 23:24:51 +00:00
Jérôme Duval
a46295b9f0 Placed data files in /etc/KanBe for Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 18:33:33 +00:00
Jérôme Duval
7e79718c2b install_fonts isn't useful anymore
fonts are now installed as part of other data files
we still install some host fonts if found


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 12:35:07 +00:00
Jérôme Duval
6f1735a73a moved fonts in data/etc/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 12:11:56 +00:00
Stephan Aßmus
39e4b4ada6 quick fix to have Tracker display icons, hope this still reaches you, Axel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 08:48:24 +00:00
Philippe Houdoin
95818cf43e Quick fix. Maybe we should #define some OS_NAME string somewhere, because "BeOS" still appears in many places in litterals.
Not that I didn't like these 4 letters combined, but, well, let's move on...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 07:42:41 +00:00
Axel Dörfler
8ec0a618a1 Fixed truncate_middle(): could add ellipsis without any reason under some
circumstances.
Also, the first letter that is tested to be added to either side is taken
from the side with less letters now, instead of the one with the bigger
letter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 01:41:38 +00:00
DarkWyrm
66c912db47 CDPlayer doesn't crash anymore when the CDDB lookup fails
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 01:37:37 +00:00
Axel Dörfler
79482d6383 Now listens to team messages under Haiku - apparently, the BeOS registrar detects
the Deskbar, and sends messages to it automatically.
For Haiku, though, we don't want this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 01:05:26 +00:00
Axel Dörfler
3182843008 No longer draws the desktop window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 00:38:52 +00:00
Axel Dörfler
1f56ada26a New windows are now activated again - temporary fix, won't work with FFM.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 00:11:39 +00:00
Jérôme Duval
b7df9a98df avoids warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 17:17:04 +00:00
Stephan Aßmus
e3aa5a9a9e simplified the arrow look, still needs improvements, but I think they are better than before, some small display bugs remain, as well as some flickering, but no show-stopper
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 16:45:32 +00:00
Philippe Houdoin
177f17f436 Fixed a bug. I think. Let's hope. Will see... Otherwise, I'm sorry. Really. (Untested).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 16:22:33 +00:00
Ingo Weinhold
1c8f0d766a Added a few apps for testing the shutdown process.
user_shutdown_reply reliably crashes the app server when pressing one
of its buttons (during the shutdown process at least).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 15:35:22 +00:00
Ingo Weinhold
6b454d971d * Background applications are now ask to quit in parallel.
* Implemented handling of apps blocking on modal windows.
* Fixed a few bugs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 15:33:20 +00:00
Ingo Weinhold
c39d6b9737 * Introduced is_app_showing_modal_window(). Not implemented yet. Maybe
someone with app server insight wants to do that. :-)
* Simplified main_thread_for() for Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 15:30:44 +00:00
Jérôme Duval
c256c1905a forgot this one
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 15:25:12 +00:00
Stephan Aßmus
7dc436d8dd usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 14:33:19 +00:00
Stephan Aßmus
a5ca645e49 when a Layer or WinBorder is deleted, the RootLayer gets a chance to set some important pointers it keeps arround to NULL. It is not unlikely that this improves stability a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 14:04:29 +00:00
Jérôme Duval
ab8594e073 now uses pci module instead of read_io* and write_io*, untested
(hopes Marcus won't mind :))


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 13:59:14 +00:00
Michael Lotz
df95d6c124 Removed second variation of StyledEdit as it's, according to Stefano, not needed anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 13:38:48 +00:00
Michael Lotz
8c123e6dad Fixed build of StyledEdit for target r5. What's the matter with the second StyledEdit in there? Also added BString back to libhaiku.a.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 13:26:11 +00:00
Philippe Houdoin
3306648a89 Improve GHz speed accuracy, thanks to Axel for suggesting this.
(And, yes, that's stupid little commits, but I'm so bored at office *and* without any BeOS system to test...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 13:19:33 +00:00
Jérôme Duval
6ca31b270b moved Deskbar and Tracker to their usual place
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 12:54:37 +00:00
Axel Dörfler
7142b1a749 Fixed warnings.
Applied our coding style a bit, but the class members should be renamed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 12:42:57 +00:00
Jérôme Duval
d1ab37cbcc now avoids to use read_io* and write_io* (untested)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 12:19:37 +00:00
Jérôme Duval
df41cb2540 fixes warnings
now avoids to use read_io* and write_io* (untested)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 12:15:52 +00:00
Ingo Weinhold
372aa42698 Support for missing strcasestr() under R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 11:36:08 +00:00
Philippe Houdoin
f14ac66c8e That's Hz, not hz when prefixed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 10:39:18 +00:00
Philippe Houdoin
67522bbd91 Added user friendly Ghz awareness :-).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 10:26:13 +00:00
Jérôme Duval
441bb1aa7a fixes warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 10:05:08 +00:00
Jérôme Duval
0450cf24cd misc fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 09:47:19 +00:00
Stefano Ceccherini
5fdea13fa5 Small cleanup, mostly style changes. Fixed a small typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 09:29:28 +00:00
Axel Dörfler
8991f1a2af Implemented basic dynamic item support (IOW the BSlowMenu/BNavMenu stuff is now working
as expected), OkToProceed() needs some work, though.
Made _AddItem() more safe - the window is now also locked during BList::AddItem() and
while getting the window to install the item in.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 02:45:23 +00:00
Stephan Aßmus
4ed0f43872 checks rootLayer Pointer, since offscreen windows are not attached to RootLayer. This shouldn't have been a problem though since Offscreen windows were never Show()n
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 23:24:03 +00:00
Michael Lotz
c728a74e42 Cleanup. We don't need string_helper anymore as it's only function (strcasestr) is in libroot. It was a temporary solution more than two years ago.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 23:07:32 +00:00