Commit Graph

31373 Commits

Author SHA1 Message Date
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
Joachim Seemer ca8b8ff27b * Applied patch by Vincent Duvent that cures some XML errors. Thanks!
* Vincent also saw that the logo bg-color is #eeeeee instead of #efefef.
  ->Corrected CSS.
  Also, there can be issues with PNG inside div-blocks setting a bg-color. PNGs
  include a color profile that can screw browser rendering to display different
  colors though using the same RGB values. Interesting. See
  http://www.kaktus.cc/weblog/png_and_color_profiles/
  I stripped the color profile info from the logo.png as suggested at that URL.
  Thanks Vincent!

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 09:39:28 +00:00
Stephan Aßmus e168f3257f This restores playback of AVC-HD videos from my video camera. The reported
codec tags in FFmpeg have changed. However, with the FFmpeg AC-3 decoder, I
am no longer getting sound. I suspect it's something to do with the channel
count.

P.S. I should really fix the endianess mess of the codec tags...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 08:41:42 +00:00
Stephan Aßmus 7e7886bdda Reenable the VC1 Decoder. It has been (accidentally?) disabled during the
last FFmpeg update. This let's WMV videos play again. Tested on GCC4 and
GGC2 builds.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 08:21:56 +00:00
Rene Gollent 361d879e0d Fix typo in Jamfile that resulted in libbe's resources not being written since r32521. As a consequence, AboutSystem and others no longer indicated the correct OS version, instead showing Unknown and possibly also missing the revision number. Fixes #4368.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 02:47:58 +00:00
Ryan Leavengood 9e76d23a73 - Added vector icons for Mark as New and Mark as Read Tracker add-ons.
- Removed bitmap icons.
- Updated rdef copyrights.
- Added them to the image.

I also tested them.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 00:35:39 +00:00
Ryan Leavengood e9e85bd2fd Add an icon for new mail: an unopened envelope (made from the File_Mail icon.)
This will be used for the MarkAsNew Tracker add-on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 00:07:33 +00:00
Jérôme Duval b77a6fc817 added gcc4 ifdef
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 22:49:01 +00:00
Jérôme Duval b5dc2c1535 merging coreutils-7.5 into trunk (c89 fixes needed)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 22:30:24 +00:00
François Revol fb086488a9 - style fixes,
- fix error handling in CamDevice.cpp,
- implemented PowerOnSensor() for Sonix,
- add a ProbeByIICSignature method to CamSensor, that takes a list of regs and values to match, as some Linux drivers do,
- add (unfinished, mostly copied from TAS5110C1B) support for TAS5130D1B sensor,
- add (unfinished) support for PAS106 sensor, probe by IIC signature as the Linux driver does,
- add probing by IIC signature for the HV7131E1 sensor as the Linux driver does,
- use -lusb for BeOS (actually ZETA) builds, don't try to use the Haiku USB Kit,
- for the TAS5110C1B sensor, use remove code dup and call SetVideoFrame(), tweaked the values to match those sniffed from the XP driver,
- disabled gain control for now on sonix, doesn't seem to work on all models.
This gets another sonix-based webcam working, partially at least, so if you want to get one to try until UVC works, try this one:
http://www.macally.com/EN/product/ArticleShow.asp?ArticleID=119
We should at least have one webcam supported in the alpha :D
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 22:08:22 +00:00
Stefano Ceccherini b81516b289 Rewrote SerialPort.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 19:21:26 +00:00
Stefano Ceccherini ab83d3e932 Rewrote Joystick.h and DigitalPort.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 19:08:52 +00:00
Stefano Ceccherini 7d50125fa5 and now for the real thing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 18:54:39 +00:00
Stefano Ceccherini d8c2849d2c Rewrote A2D.h and D2A.h. Small style changes to the source files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 18:44:17 +00:00
Oliver Ruiz Dorantes d1966ec2c2 - Implement Trigger method to allow buffers
- Identation, 80/90, tabs & whitespaces



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 17:17:52 +00:00
Stephan Aßmus cb5961b774 * Rewrote last of the MediaKit headers.
* Removed private types from MediaEncoder.h (These have Haiku counterparts,
  I expect MediaEncoder is not yet implemented...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 15:06:12 +00:00
Stephan Aßmus 224f4fcd63 Rewrote header, updated source.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 14:50:09 +00:00
Stephan Aßmus cb3f273dd2 Rewrote more headers, style updates in some
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 14:39:55 +00:00
Stephan Aßmus 17a5db77c0 * Rewrote header, adjusted source.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 14:01:15 +00:00
Stephan Aßmus 6abeda1091 * Rewrote header
* Some coding style fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 13:18:17 +00:00
Axel Dörfler e09d819b6c * Since the Media/Translation Kit errors are now in Errors.h as well, we don't
need to include those two anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 13:01:33 +00:00
Stephan Aßmus 05d5d7ad58 Rewrote header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 12:58:59 +00:00
Stephan Aßmus d4d27fac86 * Rewrote MediaDefs.h and MediaEncoder.h
* Moved MediaKit errors into Errors.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 12:42:36 +00:00
Stephan Aßmus 81506b0100 Optimized includes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 12:30:04 +00:00
Stephan Aßmus bb6c475208 Patch by Mark Erben, a whole bunch of new icons:
* Color icons which can serve as something like the preferred color palette
  for Haiku icons.
* Variation of the hard disk icon which you can use on the drive holding your
  code.
* App icon variations for DOS-Box, YAB (or YAB applications?) and old apps.
* A Book icon
* A MemoryStick icon (Sony)
* Two variations for the Image icon
* Two USB connector icons
* A R.I.P. icon :-)
* A variation for the Devices icon which has more contrast and better
  coloring
* A variation of the TV icon (I find it too dark)
* Icons for use inside Deskbar and Tracker panels


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 11:15:35 +00:00