Commit Graph

13682 Commits

Author SHA1 Message Date
Axel Dörfler
11a3346caa The file extent map is now cached as well. Code is not optimal yet, and almost not
tested for fragmented files - but it seems to work good enough for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 22:34:02 +00:00
DarkWyrm
c0b8b2943e Clicking on a track in the track menu now just selects the track
Fixed times in CDDB files


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 22:31:41 +00:00
DarkWyrm
8fe6296f19 Fixed lookups when CDs are changed
Artist is again displayed alongside the CD title
Fixed button state updates when CDs are changed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 16:29:30 +00:00
Axel Dörfler
b72cf2601f Renamed vfs_vnode_acquire_ref() to vnode_acquire_vnode().
Removed vfs_vnode_release_ref(), as vfs_put_vnode() already does the same thing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 14:32:23 +00:00
Axel Dörfler
186857529e cache_prefetch() now comes in two flavours: one with a direct vnode pointer,
the other one with usual device/inode ID pair.
Both versions now accept an offset/size pair to specify the region of the
file to be prefetched - this may be turned into a file_vec_io array later on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 14:24:58 +00:00
Axel Dörfler
b7d8ef5a0d The term vnode_ptr is not used anywhere else; renamed vfs_put_vnode_ptr() to vfs_put_vnode().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 14:17:41 +00:00
Axel Dörfler
433cc8c2c9 Added missing safety check when reading in a node.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 13:00:53 +00:00
Jérôme Duval
1437c09cb7 screen_blanker signature is at one place
modules tab selection makes the right module selected


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 12:53:23 +00:00
Axel Dörfler
9882caaadd The path resolving functions can now also fill in the ID of the parent directory.
This is currently only used for the file cache module API.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 12:44:59 +00:00
Michael Lotz
43abf8a345 More optimization for Message2. It now uses a more lightweight BSimpleMallocIO instead of the full blown BMallocIO. This wastes less memory and reduces unnecessary overhead when unflattening.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-31 11:48:38 +00:00
Jérôme Duval
4835f2d292 removed debug
password button is enabled when needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 18:28:06 +00:00
Jérôme Duval
80f28ba092 Revamped the screensaver filter
It currently uses the R5 screen_blanker
It monitors screensaver settings, and screen_blanker run by ScreenSaver prefs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 16:30:13 +00:00
Ingo Weinhold
2826a379d5 The app server for the BeOS test environment is now built by
src/tests/servers/app/Jamfile. This makes the original Jamfile much cleaner.
Note that you now have to maintain two Jamfiles when adding/removing sources.
The test app server is called haiku_app_server, its library
libhaikuappserver.so. I adjusted a few paths in scripts accordingly, but
I may have missed something elsewhere.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 14:44:35 +00:00
Axel Dörfler
c64fca3e22 Made copy_to_bfs_image compile and work again after Ingo's changes to
the fs_shell (some months ago, but no one noticed yet)...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 14:07:49 +00:00
Axel Dörfler
02cf6d0008 Since we now only have a single file to save, we no longer create a sub-directory
"HaikuTerminal" in the user settings directory, but just a file called either
"Terminal" (for the Haiku build) or "HaikuTerminal" (for the R5 build).
Last commit also made sure the settings target path existed - this is now no
longer necessary, and thus, disabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 13:17:40 +00:00
Ingo Weinhold
3436ff6e3a KMessage doesn't require the USER macro anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 13:16:38 +00:00
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