Commit Graph

29482 Commits

Author SHA1 Message Date
Stephan Aßmus
1c0f89a7fd Fixed small coding style violations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-10 11:21:24 +00:00
Stephan Aßmus
f04362eac3 * Change the drivers that use the ATA stack (ata_adapter) to publish
themselves in busses/ata instead of busses/ide.
* Re-introduce Francois change to install these drivers in busses/ata
  when building with HAIKU_ATA_STACK = 1.
* Adopted the device manager to look for drivers in busses/ata
  additionally to busses/ide.

This change works fine with a clean installation on a computer where I can
(and indeed have to) use the new ATA stack.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-10 09:22:35 +00:00
Stephan Aßmus
8f014243f3 Fixed indentation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-10 09:13:44 +00:00
Stephan Aßmus
270b97c8ab Added tracing facilities and more tracing in some error code paths.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-10 09:12:49 +00:00
Stephan Aßmus
874f5afe32 Removed this old code left-overs. I've looked through everything and AFAIKT,
every code has been moved to and adopted in the new Disk Device API backend.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-10 09:07:21 +00:00
Stephan Aßmus
3641abdf0f Whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-10 09:02:13 +00:00
Stephan Aßmus
7ba970b9cc Added optional tracing facilities.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-10 09:00:19 +00:00
Philippe Saint-Pierre
91ad692e57 Make ScrollToSelection() use "Contains" rather than an "Intersects" to determine if it should scroll.
This make the end key work (trigger the scroll) if the last item is overlapping the bottom boundary.

This fixes bug #1820.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-10 04:04:06 +00:00
Philippe Saint-Pierre
e3bf105abf When adding a new view in Activity Monitor, make sure the new view use the same refresh interval as the already existing views, to avoid having different refresh intervals active in the monitor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 23:46:44 +00:00
Philippe Saint-Pierre
db75c41bf8 This adds a Text Size menu to increase/decrease the size of the font.
This follows the enhancement suggestion #3203.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 22:48:22 +00:00
Jonas Sundström
301d5cab23 Adding URL mime types. An application listing support for such a mime type signals being able to receive such a URL via argv. Each URL mime type is meant to have an application set as the preferred handler.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 20:19:57 +00:00
Ingo Weinhold
2d11730a27 After setting the model resize the table columns to their preferred sizes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 18:48:45 +00:00
Ingo Weinhold
3688802f19 Added ResizeColumnToPreferred() and ResizeAllColumnsToPreferred().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 18:48:01 +00:00
Ingo Weinhold
d571c5835d * Introduced methods ResizeColumnToPreferred() and
ResizeAllColumnsToPreferred().
* Automatic white space cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 18:47:19 +00:00
Ingo Weinhold
b8b22908a4 Pulled common base class AbstractTable out of Table and TreeTable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 18:30:20 +00:00
Ingo Weinhold
ff74dc2e8b Search the license files in the standard user/common/system licenses
directories.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 17:00:41 +00:00
Ingo Weinhold
9f463a1917 * ThreadActivityData::GetSamples():
- When guessing the initial thread state for an unschedule event also check
    the previous event, so we can decide whether the thread is still ready.
    Previously the time to the first schedule event could be accounted
    incorrectly.
  - Made the main loop a bit more robust with respect to unexpected thread
    states.
* The check boxes for latency and preemption time were labeled the wrong way
  around.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 16:09:57 +00:00
Philippe Saint-Pierre
51e404fde5 Fixed the initial size of the DeskCalc window.
For some reason, it was resizing the window to the size of the dragger frame :-) (the frame variable was reused to a different purpose)

Fixes ticket #3896


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 15:22:52 +00:00
Ingo Weinhold
11f2f57fd9 Removed/commented out debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 15:17:06 +00:00
Ingo Weinhold
6b5090f2f6 When copying attributes only, it suffices to open the target read-only. Fixes
the image build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 12:39:33 +00:00
Stephan Aßmus
04080048df Use a BShape do draw the chart lines:
-> Significant speed up, since there is much less app_server communication.
-> Much improved looks, since the line is now drawn as one connected line.
   The StrokeLine(BPoint to) version cannot do this.
Hope I am not interfering, Ingo!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 20:20:21 +00:00
Axel Dörfler
a786c139ef * Removed the work-around that allowed to open directories read/write.
See ticket #3875.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 14:48:51 +00:00
Axel Dörfler
9532f6844f * Removed the "cd" to home in /etc/profile, made sure that Tracker/Deskbar are
started from /boot/home. This closes ticket #3090.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 14:29:29 +00:00
David McPaul
e5d9cba691 They seek him here, they seek him there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 13:04:27 +00:00
Axel Dörfler
5561b695a1 * Fixed a typo that prevented the right context menu copy action to work
on directories. See ticket #3575.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 10:14:25 +00:00
Stephan Aßmus
b8435574d1 * Currently, it's always supposed to be busses/ide. All the drivers there
publish themselves in busses/ide, so you cannot just move them to busses/ata
  without changing that in the source as well. The object files are still built
  in the separate busses/ata under generated.
* src/system/kernel/device_manager/device_manager.cpp also hardcodes
  busses/ide in two places.

I tried changing all of this to add busses/ata, but my system remains
unbootable with the new ATA stack. I do have another system, and because
of the previous mixup in HaikuImage, there it installed the drivers in
busses/ide when building for the new ATA stack (by mistake), but those
drivers actually publish themselves in busses/ide, so this system actually
boots with the new ATA stack, because of the mixup. Therefore My change here
to install into busses/ide for either stack should be correct for now and should
actually fix building the *old* stack.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 09:53:21 +00:00
Axel Dörfler
35e29efeef * Messed up IsFontUsable(), this closed bug #3895 if I understand diver
correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 07:14:18 +00:00
Ingo Weinhold
639e61ad42 Added checkboxen for toggling the displayed data.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 02:13:48 +00:00
Ingo Weinhold
ba8490bedf A check box with a small color indicator.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 02:12:07 +00:00
Ingo Weinhold
25398949d1 Invalidate() when removing a data source.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 02:10:39 +00:00
Ingo Weinhold
89c7f409e9 Squashed TODO in Chart::_UpdateScrollBar(): We set both scroll bar range and
value -- make sure to ignore feedback when setting the range (happens when the
old value doesn't fit the range anymore). Fixes unexpected jumps when zooming
out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 01:22:58 +00:00
Michael Lotz
aaeffcf7a6 Adding missing license headers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 22:23:14 +00:00
Michael Lotz
e7fcf08d76 Adding a complete HID parser and report handling facility. This is generic code,
so should be reusable for bluethooth HID as well (which is the same). The only
missing part so far is the logical collections that would allow nicer
enumeration of the report structure but is otherwise not useful. It should
support all of the HID specs except for usage aliases (even long items that
aren't actually defined should just work if they ever are). Not integrated into
the USB specific device framework and there are no actual drivers making use
of provided functionallity. The parsing was tested and works for all of the 3
devices I had available, but actual interpretation of data is not tested as the
driver side is missing. Will close that gap as a next step and then port the
mouse and keyboard drivers to that framework. Eventually a generic driver that
makes unknown fields available to userland apps in some way should be fairly
easy to implement with that.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 22:16:50 +00:00
Axel Dörfler
99d1bfb5de * The code in fs_walk() duplicates the one in ISOReadDir() mostly, and suffered
from the same "associated file" problem as the latter. This now finally fixes
  bug #3861. This badly needs some cleanup.
* Fixed a possible problem I introduced in ISOReadDir() (did not read the next
  block even if it should have).
* Fixed warnings with debug output turned on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 21:38:56 +00:00
Stefano Ceccherini
c6278c8f49 Lock the root menu before calling BMenuItem::Invoke(). This fixes #3842, although in some circumstances could introduce a deadlock (if someone does strange things in Invoke(), for example).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 21:13:24 +00:00
Stefano Ceccherini
a48d16a026 BMenuItem didn't draw the modifier indicator for B_OPTION_KEY. Fixes ticket #3887
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 19:45:42 +00:00
Ingo Weinhold
943b557055 * Added support for panning with the mouse.
* Some simplifications.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 16:19:08 +00:00
Ingo Weinhold
f2bc8d2331 Enabled zooming the chart.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 15:54:16 +00:00
Ingo Weinhold
6619cc4d56 * Implemented zooming the domain of the chart (via Shift + Wheel).
* The scrolling related computations used a slightly off chart width/height.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 15:53:18 +00:00
Ingo Weinhold
9057fee626 Fixed cause of potential crash. The binary search could have found the count as
final index and accessed the non-existing item.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 15:50:55 +00:00
Bruno G. Albuquerque
2b829b045f - Fix DHCP client when multiple interfaces are present in the system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 13:00:08 +00:00
Axel Dörfler
47a214def6 * We now ignore associated files. This makes the double entries of bug #3861
disappear.
* When parsing rock ridge attributes, we no longer stop when we encounter an
  unknown one. Instead, we just parse through until the end. The ISO image as
  part of #3861 also made this visible.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 08:00:10 +00:00
Axel Dörfler
843ce67e3d * Don't let GuestNode::Init() fail if the attribute directory could not be
opened; not all file systems support this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 07:20:57 +00:00
Oliver Tappe
05b2d32351 Closing #3874:
* fixed a couple of memory leaks in the BeOS-specific (attribute related)
  code of zip

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 20:34:28 +00:00
Clemens Zeidler
f5b22bcfa8 Hopefully this are all remaining read erros.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 17:07:57 +00:00
Clemens Zeidler
e94e90f071 Some more spelling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 15:47:50 +00:00
Ingo Weinhold
972c78f81a * Added scroll view around the activity chart.
* Set the displayed domain to 0.5 s for debugging purposes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 15:33:51 +00:00
Ingo Weinhold
a5c1cac5a8 * Made the displayed domain and range settable.
* Added support for scrolling.
* Automatic white space cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 15:31:44 +00:00
Ingo Weinhold
de7e498829 Added some handy methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 15:27:05 +00:00
Ingo Weinhold
96b5480b3f Simplification.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 15:26:30 +00:00