Commit Graph

29317 Commits

Author SHA1 Message Date
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
Oliver Tappe
d837161f13 * moved locale language files from B_BEOS_ETC_DIRECTORY to
B_SYSTEM_DATA_DIRECTORY, as that seems more appropriate


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 13:14:06 +00:00
Michael Lotz
f8c16a4508 By popular request: Change the invalid device number and add a comment
explaining the reasons behind it. Oh well, at least the commit count raises...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 13:09:01 +00:00
Michael Lotz
03a574d8cd * Check for disk extensions before using them (mostly for good practice reasons)
* A CHS read error would previously be hidden by a successful disk system reset.
  Not that it matters much because it'd have resulted in a non-booting system
  anyway.
* Add some more debug output, minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 11:55:19 +00:00
Michael Lotz
2a8d619c9e Add three more error checks for paranoias sake.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 11:47:48 +00:00
Michael Lotz
5d14311137 When doing removal notifications for USB devices, report the hub after the
children. Otherwise a driver that builds up a device hierarchy could run into
trouble when the parent hub is removed before its child devices. Not that there
were any drivers that do so, but it just seems more correct.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 02:03:25 +00:00
Axel Dörfler
2a64cb1138 Fixed two crashing bugs, one of them mentioned in ticket #3861:
* ISOReadDirEnt() did happily read after the 2048 byte block. Now we check after
  having processed an entry if the position is on the 2048 block boundary, and
  skip to the next block directly.
* fs_walk() assumed a 2 block set (and accessed memory therein), but only has
  access to a single block. I haven't looked at the specs, so I'm not really
  sure what the old code tried to achieve. In any case, it doesn't crash
  anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 20:55:47 +00:00
Axel Dörfler
f47bff0880 * Made the iso9660 file system buildable within the fs_shell (iso9660_shell).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 20:07:24 +00:00
Axel Dörfler
ce34c0c260 * Removed old BeOS ISO9660 file system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 20:06:50 +00:00
Clemens Zeidler
cadcfb19db Fix some spelling mistakes. Thanks to Jonas.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 18:30:50 +00:00
Oliver Tappe
a6fb7929ba * applying patch by PulkoMandy that fix a couple of styleguide issues
(missing spaces after commas) that were pointed out by Stephan

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 18:17:16 +00:00
Axel Dörfler
738ed6561d * copy_to_bfs_image is no longer needed (and doesn't compile anymore, either).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 17:36:57 +00:00
Oliver Tappe
db70cf3ae8 * applied unchanged patch by PulkoMandy that converts the Locale prefs to
use layout management


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 14:50:50 +00:00
Axel Dörfler
c24d3c0d98 * Fixed two bugs in rootfs_rename(): the check of the result of
rootfs_find_in_dir() was wrong, leading to never be able to find the fromName
  in the directory. Furthermore, the parent of the root directory is itself, but
  the check to see whether or not the target is valid did not take this into
  account, and therefore ran into an endless loop. This fixes bug #3864.
* Rearranged rootfs_rename() to be clearer.
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 11:53:46 +00:00
Axel Dörfler
a5dbd78b7a * Since PrecacheIO is used as asynchronous callback object, we must not access
it anymore after having called vfs_asynchronous_read_pages().
* Now, Prepare() does all the preparation work, and ReadAsync() does the actual
  work - this must be called without having the cache locked. This also fixes
  another bug where the callback would be deleted twice in case the I/O request
  failed.
* This fixes bug #3847.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 10:13:55 +00:00
Axel Dörfler
3873c5f3f2 * Style cleanup, mostly 80 character limit per line.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 10:05:11 +00:00