Commit Graph

31347 Commits

Author SHA1 Message Date
Marcus Overhagen 9781bd2e09 Enable busmaserting ans io decoder if not already done by the BIOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 23:25:35 +00:00
Marcus Overhagen 5a5f7ad65e Modified bus mastering enable code, but remains disabled because it crashes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 22:43:10 +00:00
Marcus Overhagen d196ea6045 rename PCI-IDE into PCI-ATA
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 22:40:33 +00:00
Jérôme Duval 7703280cb0 revert the libiconv stuff. fix bug #4387
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 20:09:14 +00:00
Stephan Aßmus d478944d26 * Some menu items were enabled for the completely wrong partitions, because
the BPartition pointer in _UpdateMenus() was toast after calling
  CancelModifications() on the disk. Most importantly, the Mount/Unmount
  items are now correctly enabled/disabled. And you can no longer initialize
  mounted partitions...
* Added some debug output to help track down why BDiskDeviceRoster
  notifications don't work anymore. I am pretty sure those did work at one
  time.

+alphabranch.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 19:57:48 +00:00
Oliver Ruiz Dorantes a53e31dde4 - Use Layout manager
- Styling


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 19:21:50 +00:00
Axel Dörfler 214f370653 * Do not show the time randomization to the user; filter it out again.
* Also, round the nano second times, and don't only cut them off.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 18:36:13 +00:00
Rudolf Cornelissen aa41802fa6 added support for ID 0x02e0 (Nvidia GeForce 7600 GT), closing bug #2465. +alphabranch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 18:01:36 +00:00
Rudolf Cornelissen aca7132053 added support for ID 0x02e0 (Nvidia GeForce 7600 GT), closing bug #2465. +alphabranch./boot/home/rudolf/haiku-svn/trunk/src/add-ons/kernel/drivers/graphics/nvidia/ /boot/home/rudolf/haiku-svn/trunk/src/add-ons/accelerants/nvidia/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 18:00:21 +00:00
Michael Lotz 88861a8888 Also test for the "no medium persent" case and don't tell B_DEV_MEDIA_CHANGED in
such a case as that would try to read info about a non-present medium.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 15:08:38 +00:00
Stephan Aßmus 9b37feb4a8 Some methods were unnecessarily/inconveniently protected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 15:04:55 +00:00
Axel Dörfler 9cca7d50e9 * Backported r32851 from the r1alpha branch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 14:50:38 +00:00
Michael Lotz 1aa8877afe Don't read or write more bytes than the buffer you provide is large. On reading
it would overwrite memory and on writing it would crash further down when the
buffer is accessed. Fixes #4383.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 13:18:23 +00:00
Stephan Aßmus 9e15ae596c Added TODO about solving the renaming /boot problem differently as discussed
with Ingo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 13:16:40 +00:00
Stephan Aßmus f7a0f575a8 When no settings file is found, resize the list view and the window such that
all columns are seen (taking care not to become bigger than the screen) and
center the window on screen.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 11:42:18 +00:00
Stephan Aßmus e5f148ddec It was a bad idea to calculate the text margin when drawing the first column.
Now it is explicitely calculated, which makes getting the preferred size
more reliable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 11:38:03 +00:00
Stephan Aßmus b439d6e573 * Moved restriction to min/max column width from where GetColumnPreferredWidth
was used into GetColumnPreferredWidth for convenience.
* Disabled cached total column width in title view, since it wasn't properly
  maintained. Instead of finding the bug (the code should use proper listening
  mechanisms, and such problems would go away automatically), the total width
  is now calculated on the fly. It is used for updating the horizontal
  scrollbar.
* Resolved TODO in PreferredSize(), the width is now based on the preferred
  width of all columns.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 11:31:03 +00:00
Stephan Aßmus 8c21216131 * When dragging/resizing columns, remember and take the click offset into
account.
* When releasing the mouse buttom from a resize operation, don't reset the
  view cursor, as we would still start resizing the column again if we
  clicked.

This doesn't only improve these mouse operations, but solves weird jumping
columns, for example when just clicking in the resize hot-area.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 10:25:26 +00:00
Stephan Aßmus 8028111912 Size ContentSize() seems to be unreliable for read-only media, and also since
we may allow initializing partitions from within the Installer, it's better to
use Size() for now. Should fix the CD install source to display as 800 +some
Bytes.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 09:58:25 +00:00
Stephan Aßmus da268834ab Update the progress bar more often during file copies (every 2 MB instead of
every 10, which was not smooth enough).

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 09:23:22 +00:00
Rudolf Cornelissen ec591ad2fa memory size detection rewrite also fixes black_screen on some GF6xxx types. +alphabranch BTW
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 09:03:35 +00:00
Rudolf Cornelissen fa42e59564 rewrote memory size detection. This should fix black screen at app_server startup on a number of GF7xxx cards (humdinger's for instance). updated docs, bumped version to 0.98.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 08:55:02 +00:00
Jonas Sundström 91147eefd0 Solve #4336 as suggested by Fredrik Modèen, using shared private code as suggested by Ryan Leavengood. Removed ProcessRefs code path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 02:44:19 +00:00
Jonas Sundström 9eb3adda45 Adapted to use TrackerAddonAppLaunch.h. A little cleanup. Not necessary for alphabranch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 01:28:59 +00:00
Jonas Sundström c5d2ebc76a Introducing a private method for launching a Tracker addon as a stand-alone application. Updated TextSearch to use it. Matthijs Hollemans license is MIT. Not important for alphabranch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 00:48:48 +00:00
Ingo Weinhold b1c06fc64a Patch by Vincent Duvert: Added support for BSDish xattrs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 23:54:04 +00:00
Rudolf Cornelissen 3ab7752ce8 fixed use of EDID info for at least the internal panel on NV34, geforce FX 5200 laptops. +alphabranch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 19:54:25 +00:00
Fredrik Modeen 21b9bcb21c Style fix .. thanks axel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 17:00:32 +00:00
Marcus Overhagen a26bf7958f truncate strings to allow building the debug version
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 15:04:04 +00:00
Fredrik Modeen 008da5af03 Fixes #4043
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 14:31:38 +00:00
Marcus Overhagen 547b151fa2 Fix data direction flag (using 0 was invalid) for prevent_allow command.
This fixes ticket #4379, panic on eject.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 14:12:03 +00:00
Fredrik Modeen e8f87bad4c Code style changes and License/Copyright fixes.
I hope I found most of them.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 14:03:37 +00:00
Bruno G. Albuquerque 83a23fd38b - Fix build.
- Remove unused file.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 13:57:58 +00:00
Ingo Weinhold d34f83c2cd Rather use <sys/xattr.h>. <attr/xattr.h> belongs to libattr, which we don't
need.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 13:44:16 +00:00
Stefano Ceccherini 2eda0564c4 BUILD module: copied updated headers from the main module, and removed
some unneeded ones, which still had the be copyright. Also removed BufferIO
from the build and deleted the implementation, since it wasn't used.
There are still some more... +alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 12:31:54 +00:00
Fredrik Modeen c6c220e98f Open playlist from the playlist window hits B_REFS_RECEIVED and the drag and drop out side of playlistview hits B_SIMPLE_DATA, so adding append_index from the B_REFS_RECEIVED fixes the ticket #4332.
+ spel fix.

Stippi what do you think?

+alphabranch

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 12:17:33 +00:00
Michael Lotz d548f1310f Adding a tool I use frequently to quickly decode UHCI status values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 03:50:59 +00:00
Michael Lotz c1043ac95e When we truncate or resize the file we need to trim the write_buffers. Otherwise
we waste space, but we also incorrectly fail to update the size for all writes
that do not go beyond the previous file size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 02:41:31 +00:00
François Revol 39d6a07862 Print the level for each dumped node, also serves as a delimiter, else all the PCI devices look like a mess.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 00:27:13 +00:00
Michael Lotz fbaa0b510d Take into account that we may look up "." or ".." and we must obviously not set
the parent directory in those cases. Also, when updating the parent directory
we need to update the ".." dirent if we already populated it with a different
value before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 00:02:44 +00:00
Michael Lotz da249e74e9 Implement TODO: Check for non-empty directories before removing an entry. This
fixes #4358, there changing the Tracker preferences causes some default
directories to be created, like "home" and "config", which were previously
simply killing off the real ones.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 22:49:43 +00:00
Rene Gollent 92e143c14a Fix regression introduced in r32526: registering the device watcher for node monitoring needs to happen synchronously, otherwise a race condition occurs: unless you're very lucky, the event for creating the raw device would happen before the async thread had a change to add the node monitor, and as such the listener would miss it, and never trigger a filesystem/partition scan. As a result, whether or not adding a USB stick would actually show a volume was essentially russian roulette. Fixes ticket #4345.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 21:49:59 +00:00
Ingo Weinhold adbf8b25f8 * Added fdopendir() (POSIX).
* Got rid of <dirent_private.h> -- the __DIR structure is private to dirent.c,
  now. The attribute directory, index directory, and query functions use the
  the public POSIX API, so does the kernel module code. Those components were
  not initializing the structure correctly anymore since the introduction of
  telldir()/seekdir().

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 20:25:24 +00:00
Marcus Overhagen 781aa0f579 Fix bug introduced in r32679. The dirent buffer was to short.
This fixes ticket #4362 and probably also #4360 and #4370 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 17:41:42 +00:00
Michael Lotz bd80259af5 If we create new nodes or modify existing ones, especially directories, we must
ensure that these nodes are never put. As they keep all changes in memory,
putting them and consequently freeing them destroys the modifications without
a way to get them back from the underlaying filesystem. In case a created node
was put but still had its entry in the parent directory this could also lead
to the situation where an invalid node was requested from the underlaying
filesystem, leading to #4347.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 16:24:33 +00:00
Axel Dörfler 6a9eee5845 * We support the timespec stat times, so why not allowing the user to set
the times with higher resolution as well?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 15:53:15 +00:00
Michael Lotz d18b04298a Cleanup, remove needless line-break and trailing space. Also switched that "& "
to " &" as really the whole rest of the file uses that style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 15:35:11 +00:00
Stephan Aßmus 0d44df455b The code didn't follow the comment above it. For the /boot partition, a link
in / is created with the partition content name, pointing to /boot, where the
volume is actually mounted for real. The code is supposed to rename the link
in this case, not the actual folder. Added a note about the special case when
the boot volume is actually named "boot", in which case there will not be a
separate link. Then renaming /boot is prevented in the kernel now.

This commit completes the fix for ticket #4365.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 10:50:04 +00:00
Stephan Aßmus 8c5ad61d4b * Prevent the /boot entry from ever being renamed. You couldn't even try to
switch /boot to a different volume in two operations, unless you have first
  linked /system/lib into /bin. This patch assumes that / will always have the
  ID 1. Don't know if that is proper. Note that I also thought about solving
  this in the VFS, since perhaps it isn't the job of root-fs to know about
  /boot, but that would of course introduce another check for every rename
  operation, which I decided against.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 10:43:51 +00:00
Stefano Ceccherini 5ce0a8a2d2 Rewrote CAM.h. Since this file is from an ANSI standard, I
kept the non-be specific comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 10:22:06 +00:00