Commit Graph

37388 Commits

Author SHA1 Message Date
Axel Dörfler
b15f7f0ed5 * Removed the output if unarchiving the message failed - since this is used in
a translator as well, this might just be expected.
* Minor style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-13 19:44:03 +00:00
Rene Gollent
1a5bb78d9e Cleanup: store and retrieve the relocation delta from
the evaluation context instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-13 01:31:40 +00:00
Oliver Tappe
de2e54ace0 Adjust tzset() implementation to better follow the POSIX specs and
make some more perl tests happy.
* no longer expect a ICU timezone ID in the TZ environment variable,
  but only expect this format if the TZ-value is starting with ':'
* accept "standard" TZ-values like "EST5" (of which only "EST" is
  relevant to us) - if such a value is specified, we hardcode the
  timezone name to the given value, no matter how ICU calls it
* adjust tests accordingly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-13 01:13:38 +00:00
François Revol
2dfeefba17 Copy the buffer_info on buffer exchange so as to avoid getting segfault with interrupts disabled, which at least happened several times here in QEMU.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-13 00:44:50 +00:00
Oliver Tappe
bc3791e867 * add symbolic constants for the langinfo constants, as that's what
is required by the POSIX specs (and some perl tests rely on it)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-13 00:22:40 +00:00
Oliver Tappe
5ae9cf0060 * fix warning about deprecated conversion
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-13 00:21:23 +00:00
François Revol
040eb824e4 Add missing copyright to mmlr. Please check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-12 15:12:37 +00:00
Rene Gollent
3a1ce93bc7 When computing absolute addresses, take the image relocation
delta into account. Fixes retrieving the addresses and
consequently values of static variables.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-11 23:58:17 +00:00
Matt Madia
2f0376a62f Moved the unreserve_device() from ali_terminate() to uninit_driver(), to keep
consistency between drivers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 23:50:52 +00:00
Matt Madia
f05409cfb1 Moved the unreserve_device() from ice_1712_shutdown() to uninit_driver(), to
keep consistency between drivers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 23:40:55 +00:00
Matt Madia
f84079e242 Replaced $(baseLibURL) with $(baseURL)/lib.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 23:31:07 +00:00
Matt Madia
c1af51fdc1 Moved some catkey files around for Screenshot (the GUI app) and screenshot (the
CLI app).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 23:18:03 +00:00
Axel Dörfler
5fe97f21b6 * Added WirelessNetworkMenuItem class that uses the RadioView static Draw()
method to indicate the signal quality.
* If a wireless driver is found, we now use the new BNetworkDevice class to
  retrieve a list of known networks, and show them in the popup menu. You can't
  do anything with this list yet, though (ie. you cannot connect this way yet).
* Use the new BNetworkRoster/BNetworkInterface class to retrieve the list of
  interfaces, and the flags for an interface instead of using ioctls.
* Removed the about menu item for now.
* Minor coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 22:21:39 +00:00
Axel Dörfler
223cae9fe6 * Implemented IsEthernet(), and IsWireless() temporarily, but this will do
for some drivers at least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 22:16:48 +00:00
Axel Dörfler
4f1ec5b242 * Made bosii header self contained.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-10 21:54:47 +00:00
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