Commit Graph

37473 Commits

Author SHA1 Message Date
Axel Dörfler d72ede75fb * We now use a FreeBSD compatible ifmediareq structure for SIOCIFMEDIA, and
SIOCSIFMEDIA.
* Made sure that the two media ioctls are actually forwarded to the driver.
* Added NetworkDevice.cpp to the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 21:44:26 +00:00
Axel Dörfler e78fea43f5 * Added a bit more debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 21:30:10 +00:00
Axel Dörfler 9dd26e81ab * Added xauth authentication module needed for WPA.
* Forwarded a few more ioctls to the driver.
* Enabled debugging mode for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 21:28:07 +00:00
Stephan Aßmus 506a7b97c1 Prevent the shutdown dialog from minimizing without an entry
in Deskbar (registrar is a background application). Fixes ticket
#6809.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 10:51:47 +00:00
Stephan Aßmus c8fa948b2a close() is defined in unistd.h as per the OpenGroup. Hope this
works on all host platforms, fixes the build on Linux at least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 09:02:15 +00:00
Stephan Aßmus 8e61947230 Don't leak file descriptors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 23:28:07 +00:00
Oliver Tappe 612333a601 Fix crash reported in #6805:
* check if we actually have a selected item

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 22:08:35 +00:00
Axel Dörfler 71dc3c41c3 * Added a way to set the target for a BDirMenu; this didn't work well with
BNavMenus, anyway.
* This fixes ShowImage trying to open anything that is not on top level.
* Automatic white space cleanup in DirMenu.* - I hope Alex doesn't have any
  changes in this file...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 21:58:54 +00:00
Oliver Tappe bd13a264f7 Fix #6740:
* remove declaration of ctype-..._l() functions, as we do not provide
  them and they are not really needed by our hacked glibc
* replace remaining invocations of isspace_l() and isupper_l() in glibc
  with isspace() and isupper() respectively
This allows libroot to be built in DEBUG mode, again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 21:36:35 +00:00
Axel Dörfler ea75a051ad * Applied patch by Rohit Yadav that fixes #6750 for ext2. Thanks a lot!
* Fixed warning in Inode::WriteAt(), but left warnings in kernel_interface.cpp
  in there; I guess that's work in progress (although having the io hook would
  be nice).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 20:34:59 +00:00
Axel Dörfler 48ec4fbb40 * Applied patch by Rohit Yadav that fixes #6750, thanks a lot!
* This changes Inode::CheckPermissions(), and bfs_write_stat() based on Ingo's
  solution in his file corruption test file system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 20:25:43 +00:00
Axel Dörfler a569816bb0 * Implemented preloading of the images around he current one; always two in the
direction of the current navigation, and one in the opposite direction.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 19:09:18 +00:00
Scott McCreary 729f344683 Fixed libmng URL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 16:21:18 +00:00
Philippe Houdoin 801843aed6 Patch by Barrett:
Initialize the stream's IO buffer, otherwise it could crash in ~StreamBase().
It's only initialized when the media format was actually successfully probed.
Fix #6595. Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 15:46:23 +00:00
Siarzhuk Zharski 2778794cff As far as I remember I still have not approved any of Belarusian localization files. ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 11:07:26 +00:00
Siarzhuk Zharski ea532bb7a4 Russian localization restored to r39359 that is more up to date than HTA version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 11:05:40 +00:00
Rene Gollent 6a3160743e Remove unnecessary parameter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 01:42:25 +00:00
Rene Gollent 716f06ce58 Added type/value handlers for C strings. This allow's the debugger's
variable view to actually render their contents rather than simply giving
the string's address.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-09 01:06:32 +00:00
Axel Dörfler b9767a83ed * The ImageFileNavigator is now only for navigation, it doesn't load any images
anymore.
* Moved the new ImageCache into its own source file.
* The cache is now used within ShowImage. There is no read-ahead caching being
  done yet, though, but you can quickly return to previous images, and you can
  also skip images faster than before.
* Improved separation between the ShowImageStatusView and the rest;
  ShowImageWindow no longer has a getter for the image view.
* The status view is now using the private BDirMenu which implements enhancement
  ticket #6778.
* Made a few more methods private/protected in ShowImageWindow.
* Fixed bug #6797.
* The bitmap is currently only owned by the ImageCache, but we need to have a
  separate referenceable object owning it. Added a TODO comment for this.
* The ProgressWindow is currently not being used anymore, added a TODO comment
  for this as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 23:06:36 +00:00
Matt Madia 824f5533d7 Removed the second calling of unreserve_device().
note: r39338 added the call to ice_1712_shutdown()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 21:53:24 +00:00
François Revol f3319425ed Return 0 on success for the mount() and unmount() compatibility calls. Just cleaner.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 21:46:22 +00:00
Axel Dörfler d02cf2c481 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 21:35:54 +00:00
Adrien Destugues 95d7f28143 Sync catalogs from hta. There are still some bugs with some of them, sorry for the missing ones.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 21:24:04 +00:00
Jérôme Duval 12a9da01c3 Added a call to pci->unreserve_device() in uninit_driver() as suggested by Matt (taking es1370 for model).
François please review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 19:13:57 +00:00
Michael Pfeiffer 9b07d9f0fe * Renamed files, classes and constants from
PrintServerAddOn to PrintAddOnServer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 18:43:55 +00:00
Michael Pfeiffer 112cf45c66 * On image renamed print_server_add_on to print_addon_server
and moved it from folder bin to servers.
  The print_server uses print_addon_server now to
  execute printer driver add-ons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 18:34:43 +00:00
Michael Pfeiffer f0de36acbb * Moved print_server_add_on from bin to servers folder
and renamed it to print_addon as suggested by Axel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 17:46:16 +00:00
Philippe Houdoin 4772e0b22e Fixed a typo. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 14:46:05 +00:00
Rene Gollent bcb394d6b1 Bugfix: ReadMemoryString() never actually copied the data into the passed in string.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 02:40:15 +00:00
Rene Gollent 5c06337b7e Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 00:02:24 +00:00
François Revol f1177f3673 Fix Copyright years.
The official MIME type for mp3 is audio/mpeg.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 22:59:58 +00:00
François Revol c3159d4a01 - fix favicon url,
- more support for sound, it's enabled now but not activated by default, and needs an experimental patch of mine on QEMU,
- add a .pls playlist.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 22:57:26 +00:00
Jérôme Duval fee84c8b69 It seems 0x47 is the only byte we can trust to sniff mpeg transport stream, not enough to clearly identify.
Added ts as extension. This type of file isn't very well supported by our ffmpeg plugin atm (works well in VLC).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 19:41:41 +00:00
Jérôme Duval 68042b37e5 It seems extension matching is case sensitive, added MP4 for the time being
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 19:37:49 +00:00
Matt Madia b6dc016707 Added a ReadMe, which aims to explain which graphics are released under MIT,
which are trademarks, and where to get more information about the trademarks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 17:51:55 +00:00
Michael Pfeiffer 61729fe266 * Added application print_server_add_on that is used
by the print_server to run a printer driver add-on.
  This makes the print_server
  1) resistant to add-on crashes
  2) and memory leaks in add-ons
  3) license of an add-on cannot influence the
     license of the print_server since it does not
     directly load the add-on anymore; might be
     an issue with GPL printer drivers like Gutenprint
 
  Transport add-ons directly loaded by the print_server
  should be moved outside the print_server too.
  Right now I am not aware that the transport add-ons
  in the repository have any of the issues.
  The Gutenprint driver has 2 + 3 that was the main
  motivation to implement that now. 

  Disabled for now until the launch issue is resolved.
  BRoster does not find the application by its
  signature until it is opened in Tracker once.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 17:13:55 +00:00
Michael Pfeiffer 25a8957728 * Removed unused file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 16:55:08 +00:00
Matt Madia 3033e71f4b Removed ifdef __HAIKU__ for drivers that do not call the Package rule in their
Jamfiles.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 15:26:17 +00:00
Jérôme Duval a1cdecff94 DirectoryIterator changes:
* RemoveEntry(): set inode id to zero when reaching the end of block
* FindEntry(): keep on searching if Get() returns B_BAD_DATA
* added _Offset() based on fLogicalBlock and fDisplacement
* Next(): keep on searching when inode id is zero; also when entry length is zero, keep on with next block
* added GetNext() to get the next valid entry.
* Get(): now returns B_BAD_DATA on a zero length or inode id.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 15:19:08 +00:00
Matt Madia 6a10aabdcf Some alterations to the leaf used in ReadOnlyBootPrompt:
* lightened color to make the leaf more subtle
 * removed the artifact at the base of the stem


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 14:16:48 +00:00
Adrien Destugues 101bdf05d0 * Use BUnicodeChar to decide if a character is space. This is slightly better than considering only ascii space.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 10:08:46 +00:00
Matt Madia 91fbf9fbe5 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 01:44:27 +00:00
Matt Madia ee04dff0df Also unreserve the device on driver uninit. Relates to #6798.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 00:39:08 +00:00
Matt Madia 359353a24d * Initial attempt at updating to utilize (un)reserve_device.
* Also unreserve the device on driver uninit.
 * Improved some TRACE messages
Compiles but otherwise untested. Relates to #6798.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 00:35:40 +00:00
François Revol eab032317f Also unreserve the device on driver uninit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 00:22:24 +00:00
Matt Madia 0af80d313a Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 23:49:12 +00:00
Matt Madia a9ea5be764 Initial attempt at updating to utilize (un)reserve_device.
Compiles but otherwise untested. Relates to #6798.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 23:35:25 +00:00
Matt Madia 121d21b2eb Initial attempt at updating to utilize (un)reserve_device.
Compiles but otherwise untested. Relates to #6798.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 23:29:13 +00:00
Ingo Weinhold b0307f5c12 Coding style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 23:04:52 +00:00
Matt Madia 8056fd2271 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 22:58:46 +00:00