Commit Graph

13666 Commits

Author SHA1 Message Date
Ingo Weinhold
d35f0da76d Aesthetical change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 13:15:39 +00:00
Axel Dörfler
662f52848a Removed all global preferences path constants.
PrefHandler now exports a static method GetDefaultPath() which gets the
path to the default settings file (using find_directory(), of course).
Disabled locale support; should be easy to reenable when needed again, though.
Made all the PrefHandler getters a lot more robust (could easily crash when asking
for an unknown item).
Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 13:12:48 +00:00
Axel Dörfler
b11eac8c18 Our Terminal is already a bit older than 2005...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 13:08:22 +00:00
Jérôme Duval
f058feb72f module states are now saved correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 12:05:22 +00:00
Jérôme Duval
e3d946e533 cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 09:08:18 +00:00
Jérôme Duval
c566b0927d added license headers
changed the way prefs is stored, so that we have default settings
general cleanup
time sliders are now linked together as on R5
password window is centered onscreen


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 07:41:58 +00:00
Stephan Aßmus
15ae8872f7 hacking session with Ingo part2: in the R5 test environment, the app_server links no longer against libbe.so, the classes which need it, ViewHWInterface + friends, are extracted into their own library, but we need a bridge library as well for HWInterface + friends. The AppServer is consequently no BApplication in the test environment anymore, the BApplication that is needed to display the frame buffer window is handled in ViewHWInterface. No functional change, except that our BRegion implementation is now used in the test environment, and who knows what else... luckily we are so extremely binary compatible, that passing a Haiku BRegion to the R5 app_server actually works.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 23:48:46 +00:00
Stephan Aßmus
87799a3a85 hacking session with Ingo part 1: add syslog() to libopenbeos.so to remove the last dependency on libbe.so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 23:39:18 +00:00
Stephan Aßmus
217a8117cd fixed typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 23:35:19 +00:00
Philippe Houdoin
685645f9bc USER == ! _KERNEL_MODE, right (!?).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 23:25:41 +00:00
Philippe Houdoin
99a77abfdf Added an OpenGLKit pseudo-target.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 23:17:52 +00:00
Philippe Houdoin
0e1237631f Cleanup: removing explicit strlcpy.c build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 22:45:02 +00:00
Stefano Ceccherini
feee8cf2e2 Added client side implementation of BDirectWindow (haiku). I hope I didn't break the build on Dano. If it's the case, please tell me.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 16:50:32 +00:00
Rudolf Cornelissen
70f9c43c25 added PLL reset register define.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-27 18:29:36 +00:00
Rudolf Cornelissen
e04d398b82 updated docs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-27 18:28:59 +00:00
Rudolf Cornelissen
499e0553e3 added PLL reset, hopefully this makes the driver independant of vesa on more systems. Bumped version to 0.08.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-27 18:28:12 +00:00
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