Commit Graph

13500 Commits

Author SHA1 Message Date
Philippe Houdoin
3d4b000bbd More s/BeOS/Haiku/g if __HAIKU__...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-27 16:25:23 +00:00
Philippe Houdoin
05c7db5bcf Imported from Mesa BeOS's GLInfo app for testing purpose.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-27 10:18:56 +00:00
Stefano Ceccherini
148413eb24 Added working multi-word selection (asynchronous version)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-27 10:09:07 +00:00
Philippe Houdoin
f73ec094df Small changes to GLDispacher class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-27 09:37:05 +00:00
Jérôme Duval
e5bc59e8f2 forgot the SEARCH for haikulogo.png
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 20:40:20 +00:00
Jérôme Duval
9393273de2 added a dependency haikulogo.png to AboutHaiku.rdef
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 20:29:47 +00:00
Jérôme Duval
a4db241ab1 applied mahlzeit's tip from http://www.haiku-os.org/bugzilla/show_bug.cgi?id=40
haikulogo is now a png file


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 20:25:22 +00:00
Rudolf Cornelissen
60499e924c updated register defines. Added are only standard VGA registers which apparantly are enough to make the card work in 'enhanced mode'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 18:48:39 +00:00
Rudolf Cornelissen
3f34faaec4 updated docs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 18:47:42 +00:00
Rudolf Cornelissen
0749373d0e added initialisation switch to 'enhanced mode'. The VIA driver is now independant of VESA mode and runs 'on it own'. Bumped version to 0.07. BTW version 0.06 has been confirmed working fully OK on two CLE266's and two KM400's already. If it had a preset VESA mode that is.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 18:47:17 +00:00
Jérôme Duval
66dee31a87 clean up, style change, unused files are removed
added ScreenSaver.cpp to ScreenSaver preferences to have Matrix working


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 16:12:05 +00:00
Axel Dörfler
dcd14cab61 Added Terminal application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-25 23:52:36 +00:00
Axel Dörfler
8e326c9cc1 Some style changes I forgot to commit.
Also, BLocker now accepts NULL as a name and won't crash anymore in that case
("some BLocker" is then chosen as name).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-25 23:29:44 +00:00
Axel Dörfler
35a71b1936 The app_server now inherits from MessageLooper as well.
Removed unused stuff.
The app_server now deletes itself when done (and therefore must not be
allocated on the stack anymore).
The cursor handling should be moved over to the desktop as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-25 21:53:48 +00:00
Axel Dörfler
770c05d6cc The Desktop class now gets its own message processing loop: moved application
creation/deletion (and management) over to that class.
ServerApp now gets a desktop pointer, and no longer uses gDesktop.
Converted private MessageLooper::_MessagePort() to a public method MessagePort()
so that the looper can be addressed from elsewhere without using PostMessage().
Added a real basic message loop to MessageLooper::_MessageLoop().
BApplication now only asks the app_server to get its desktop object which should
now be used for everything that's not in the realm of the application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-25 21:08:34 +00:00
Stefano Ceccherini
5845b8c325 Various small changes (mostly style related)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-25 15:20:03 +00:00
Stefano Ceccherini
e4a11b6a77 When reading PHY regs over the i2c bus, the turnaround ACK bit
is read one clock edge too late. This bit is driven low by
slave (as any other input data bits from slave) when the clock
is LOW. The current code did read the bit after the clock was
driven high again.

From OpenBSD (from FreeBSD).

Another small change

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-25 14:30:02 +00:00
Michael Lotz
63d5a418ab Cleaned up and optimized Message2.cpp. It avoids as many unnecessary copies as it can now.
The unflatten time is now reduced to about a third of the current BMessage implementation but it's still
about half as quick as R5 (we're talking about microseconds here).
A third version of BMessage that operates purely on a flat buffer is in the works. We'll see which one
will be faster for normal uses.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-25 00:06:34 +00:00
Ingo Weinhold
18b5424c5f * Implemented BRoster::ActivateApp().
* Added the respective case statement in AppServer::DispatchMessage().
  The code that actually activates the app is still missing.
* Removed the remnants of the old way of notifying the registrar about
  what app got activated (the activated client window did that).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 21:10:33 +00:00
Ingo Weinhold
f3b3bb4ebd No longer build RosterShell as unit test.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 21:05:18 +00:00
Stephan Aßmus
7b4cc5a1c7 this has come in handy several times now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 18:35:52 +00:00
Stephan Aßmus
be85e14208 initializing the system palette before creating the desktop and driver fixes the bug that the desktop is first shown in the wrong colors on 8 bit screens
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 18:32:05 +00:00
Axel Dörfler
5f2edc0ffc The Desktop class now inherits from MessageLooper as well, the AppServer
class runs it, too.
No real message processing is done yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 17:14:17 +00:00
Axel Dörfler
c6a2527297 Split ServerWindow::Quit() into two parts, and moved the generic one to
the MessageLooper class - the other part is called from there as virtual
_PrepareQuit().
Moved the class documentation to the source file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 17:13:02 +00:00
Rudolf Cornelissen
b2355ae66d corrected jamfile: still had a skel.driver mention in it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 15:09:40 +00:00
Rudolf Cornelissen
66e18736f6 enabled color-PAL to be 8-bits wide instead of just 6-bit. Updated PAL programming accordingly. VIA CMAP8 now supports (indexed) 24-bit color instead of just 18bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 12:11:51 +00:00
Rudolf Cornelissen
8a6f27ebd8 completed crtc colordepth setup guess for 24bit mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 11:51:36 +00:00
David McPaul
32661d2e83 improved handling of compressed audio
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 06:11:23 +00:00
Rudolf Cornelissen
9e4b755834 updated registerdefines for K8M800 PLL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-23 18:48:41 +00:00
Rudolf Cornelissen
3b0166e8f4 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-23 18:47:50 +00:00
Rudolf Cornelissen
230df378e3 added preliminary K8M800 pixelPLL programming. Need feedback to determine if it works. Bumped version to 0.06.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-23 18:47:21 +00:00
Axel Dörfler
89ab121e66 Factored a MessageLooper class out of ServerWindow and ServerApp. Could still
be improved a bit (Quit() and _MessageLooper() are empty right now).
Removed ServerApp::PingTarget().
Hopefully cleared some confusion about ServerApp::fClientLooperPort and fClientToken
(previously fHandlerToken), even if it's currently unused.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-23 18:30:48 +00:00
Rudolf Cornelissen
f95c74702f fixed refreshrate +5 percent setting error, Xtal was incorrectly set. Modesetting is now 100% OK on CLE266 and KM400, if a VESA mode was preset at boottime.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-23 12:23:11 +00:00
David McPaul
0ddd1fcb84 pre-alpha mp4 reader
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-23 01:51:55 +00:00
Axel Dörfler
5fcc5dfec9 Never used strlcpy() when compiled for R5, dunno why Jerome added this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-22 16:01:52 +00:00
Nathan Whitehorn
9d41fc2bec Right click drags of people files into BeMail lets you choose which of multiple e-mail addess attributes you want to use, and the people query for the "To:" menu now looks on non-boot volumes as well. Patch c/o slaad.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-22 13:25:37 +00:00
Axel Dörfler
1270e8a017 Updated version info in the resource file as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-22 07:51:28 +00:00
Axel Dörfler
08f833c027 Fixed two bugs:
- when undoing the first change, any later change would make that first change reappear
- in hex mode editing, changes were not merged because they changed the same byte
Updated version info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-22 07:50:29 +00:00
Axel Dörfler
da1f176a9a You can no longer write to O_RDONLY streams, and you can no longer read from O_WRONLY streams (thanks to Ingo for this hint).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-22 06:54:19 +00:00
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
7d971e51a1 updated register defines for PLL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 21:37:38 +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