Commit Graph

27851 Commits

Author SHA1 Message Date
Jérôme Duval
24283c487c * use macros when possible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-12 23:55:58 +00:00
Michael Lotz
576cd2495d * Compacted some of the code and inlined the DumpRoster implementation into the
class as it's so little code.
* No need to allocate the roster on the heap.
* Add /dev/bus/usb to the device location to make it more clear.
* Add the device location to the non-verbose output as well.
* Put the manufacturer and product strings into quotes to make it clearer that
  those are just strings. Avoids just blank output when a device doesn't provide
  those strings.
* Remove trailing whitespace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-12 23:05:57 +00:00
Michael Lotz
f7de06baf3 The device object is supposed to be deleted after the removed hook returns.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-12 21:09:00 +00:00
Rene Gollent
1e5a02e76f Renamed usb_dev_info to listusb and made it more useful:
By default it now presents a relatively concise list of USB
devices found on the bus, with an optional -v flag to dump
exhaustive detail. It still also takes an optional device 
parameter in case you only want information for a particular 
device.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-12 00:41:05 +00:00
Jérôme Duval
8f7c075428 * add set volume knob control
* display subsystem vendor and device id


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-11 20:43:40 +00:00
Joachim Seemer
e7d577748b * Added the Tracker preference panel which points to the Tracker chapter,
which in turn mentions the new Tracker preferences. Thanks aldeck for
  reminding me.
* Added Tracker icons.
* Added Tracker on the Preferences contents page.
* Small tweaks and corrections here and there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-11 16:29:31 +00:00
Jérôme Duval
ac53f5c1f1 * place the Encoding before the To. this fixes bug #1206
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-10 23:36:56 +00:00
Jérôme Duval
bc34203252 added a tar optional package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-10 22:18:06 +00:00
Jérôme Duval
91f10b0a36 * it seems we can skip _HandleKeyDown() when not active (keyboard navigation, shortcuts and screenshots).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 23:58:36 +00:00
Jérôme Duval
a13e53fe4f * Handles shortcuts only when the window is active. This fixes bug #3414 (and hopefully is the R5 behavior).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 23:48:25 +00:00
Jérôme Duval
9d7d4a74b5 reverted r29176. it's not OK with shutdown and it could also be a bug in interface kit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 23:27:02 +00:00
Michael Lotz
00405f2286 * Add an additional argument to get_vnode() that gets the fs_vnode_ops of the
node. That is needed for a layered filesystem to be able to construct a full
  fs_vnode out of a volume/inode pair.
* Adapt places where get_vnode is used. Sadly this is a C API and we can't just
  use a default NULL for that argument.
* Introduce a flag B_VNODE_WANTS_OVERLAY_SUB_NODE that can be returned in the
  flags field of a fs get_vnode call. A filesystem can use this flag to indicate
  that it doesn't support the full set of fs features (attributes, write support)
  and it'd like to have unsupported calls emulated by an overlay sub node.
* Add a perliminary overlay filesystem that emulates file attributes using files
  on a filesystem where attributes aren't supported. It does currently only
  support reading attributes/attribute directories though. All other calls are
  just passed through to the super filesystem.
* Adjust places where a HAS_FS_CALL() is taken as a guarantee that the operation
  is supported. For the overlay filesystem we may later return a B_UNSUPPORTED,
  so make sure that in that case proper fallback options are taken.
* Make the iso9660 filesystem request overlay sub nodes. This can be fine tuned
  later to only trigger where there are features on a CD that need emulation
  at all.

If you happened to know the attribute file format and location you could build
an iso with read-only attribute support now. Note that this won't be enough to
get a bootable iso-only image as the query and index support is yet missing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 23:06:31 +00:00
Jérôme Duval
c8530759dd fix #3414. Quits when the window is active.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 22:33:01 +00:00
Jérôme Duval
fa9ec9b16b fix beeper widget on more codecs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 22:31:10 +00:00
Jérôme Duval
9aa5a49e97 * actually allocates and frees geode_multi struct
* also detect NS version of the chip


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 21:03:31 +00:00
Jérôme Duval
620d41514f add spinlock initializer constant for BeOS
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 19:06:44 +00:00
Ithamar R. Adema
a6809d0e5c Do not enable interrupts on codec status change, since we do not handle those. This fixes the lockup on the EeePC, and follows the description in the HDA specs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 16:42:04 +00:00
Rene Gollent
c4d59015f6 Slight logic cleanup that prevents excessively rechecking the drop target in some instances.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 05:19:50 +00:00
Rene Gollent
1ce06cec34 Minor fix I noticed by accident: touchpad pref's BApplication signature didn't match the one declared in its rdef.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 22:59:06 +00:00
Michael Lotz
bc2836bbaa Allow pressing 'p' to disable paging during boot debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 21:38:30 +00:00
Stephan Aßmus
efa8a77d4a Show more controls.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 21:14:15 +00:00
Rene Gollent
a67852c554 Reset the cursor check state if we drag over a pose that's not a suitable DnD destination for the drag. Otherwise we'll reset the cursor back to the move state and never set to copy again unless we exit/reenter the window. Thanks to luroh for reporting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 18:39:39 +00:00
Michael Lotz
2d871992b8 Only try to store attributes on destruction if the required root node is available. Should fix bug #3426 where an incompletely constructed volume object is deleted.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 16:55:45 +00:00
Rene Gollent
81796bc0b3 Don't leak memory when aborting operations due to read-only volume.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 16:00:46 +00:00
Michael Lotz
173700f0d7 Fix base URL I accidently messed up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 14:53:53 +00:00
Rene Gollent
c854c13348 Disallow move to trash and/or delete operations from read-only volumes. This fixes ticket #3421.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 14:33:22 +00:00
Jérôme Duval
0b5e655d25 Changed the error message for unreadable packages to be a passive one, as suggested by Stephan.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 14:19:06 +00:00
Michael Lotz
d5ec51ca02 Allow for a separate UserBuildConfig directly in the output directory (i.e.
generated). When not using build profiles this allows for separate configuration
per output directory. When using build profiles you could for example have a
different profile per output directory with the same name (so an @disk with
different settings per output dir for example).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 13:20:19 +00:00
Michael Lotz
fbac0185ad * Clean that up a bit and combine the ifs for GCC2/4.
* Also don't install the GCC2 package on a GCC4 based hybrid, as it's again not
  usable without proper manual setup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 12:47:29 +00:00
Jérôme Duval
b97c244e6e * exits on invalid packages
* added messages on errors


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 12:46:05 +00:00
Michael Lotz
1c433de84c * Always install the "other tools" as part of the development optional package.
These all work on pure GCC4 images as well because they do not use any of our
  C++ APIs.
* Remove the GCC4 package from hybrid installs though, as it's not usable
  without proper setup. Also the trick with rewriting the symlink obviously
  doesn't work because symlinks are done way earlier than unzipping the optional
  packages when building the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 12:40:16 +00:00
Joachim Seemer
ad7fb638cb Hopefully now correct procedure without use of sudo. Also added OptionalPackages to the mix. Some formatting stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 08:12:26 +00:00
Oliver Ruiz Dorantes
9306af4deb This allows that 2 or more LocalDevices can be retrieved with repeated calls of LocalDevice::GetLocalDevice()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 01:56:16 +00:00
Rene Gollent
42fe9293f8 Tracker now alters the cursor to indicate the resulting FS op when drag and dropping files.
If the op is determined to be a copy, the copy cursor from Wonderbrush (thanks Stephan!) is
displayed. Otherwise, the default hand cursor is used to indicate move.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 01:05:34 +00:00
Michael Lotz
3119d7c601 * Correctly handle the phantom state. In this state we don't have any valid key
information and we must not overwrite the last valid buffer. Otherwise we
  generate spurious key ups when entering and spurious key downs when leaving
  the phantom state.
* Implement getting/setting of keyboard repeat delay and rate so they become
  settable by the keyboard preferences.
* Rework repeat handling a bit. With a large enough repeat delay (i.e. bigger
  than the report interval of the device) we would never get the timeout case
  and therefore never start repeating.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 23:09:00 +00:00
Jérôme Duval
e06359547c activated wfileops.c instead of wfilestubs.c, commented out mmap stuff (as in fileops.c)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 20:05:39 +00:00
Rene Gollent
2558db1023 Oops. Fix backwards conditional.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 16:59:09 +00:00
Rene Gollent
310177b43e ChannelSlider now sends notifications while being dragged, thus allowing the volume to be manipulated in realtime from the media prefs, rather than on mouseup only. Fixes ticket #3338.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 16:55:13 +00:00
Rene Gollent
e7a0fd93e2 Fix uninitialized string that was causing the deskbar volume control replicant to crash randomly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 16:17:38 +00:00
Jérôme Duval
9cb330883d added a max length for the name text control in DriveSetup. it's atm the max value for bfs volumes.
added a TODO as it should depend of the fs type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 15:43:19 +00:00
Jérôme Duval
90e7d21528 * Truncates Installer menu fields volume labels. This fixes bug #2192.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 15:18:12 +00:00
Joachim Seemer
59ee5c81c0 Corrected jamming of images, not unnecessarily create root files by first doing a {jam -q} and then {sudo jam -q}.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 14:02:16 +00:00
Michael Lotz
f3ed32b7c0 Fix wrong usage of endpoint address.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 00:11:22 +00:00
François Revol
09a51729ad Focus the password field on Enter if it's empty and not yet active.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 23:54:39 +00:00
Michael Lotz
4a9f6b4a06 Add support for the arm target as well. Not that we'd support it in any way yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 23:09:47 +00:00
Stephan Aßmus
7999bc8711 Tiny style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 18:05:12 +00:00
François Revol
b36570e51f Do proper unlocking of the KPath when find_directory() fails. This should help with CD boot where find_directory() can't create folders on a read-only media.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 16:48:03 +00:00
François Revol
3813268c9c add a --nonmodal option.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 16:21:17 +00:00
Ingo Weinhold
9af9826fca Fixed value of _POSIX_VDISABLE. cc_t is unsigned in Haiku. ATM we don't
support _POSIX_VDISABLE at all. It's even questionable whether the value
(unsigned char)-2 is a good choice.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 12:35:01 +00:00
Ingo Weinhold
8eba0c540f Added O_NDELAY as synonym of O_NONBLOCK.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-05 11:07:20 +00:00