Commit Graph

29663 Commits

Author SHA1 Message Date
Rene Gollent
2e38e90efb Update fallback path used if finddir fails to correspond to the new directory structure. Resolves ticket #4019.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 22:07:31 +00:00
Oliver Ruiz Dorantes
a1163de83e - Long events were locking the bluetooth server, as events can be more than 256 counting with the header.
- Add debug more information in H2 driver and Command Status event
- Change name of port for posting events(former was too long)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 19:17:10 +00:00
Stephan Aßmus
dc3d592369 When the media server is not running, display an alert and offer to start it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 17:06:58 +00:00
Joachim Seemer
7d62dd099d Forgot to mention the super-special-extra setting for the menu font...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 16:48:12 +00:00
Joachim Seemer
a7875ee825 * Added the drag&drop of images in Backgrounds preferences.
* Updated ActivityMonitor with the interval setting panel and took a new
  screenshot.
* Added documentation, icons, screenshot for CharacterMap (comments welcome, as
  I'm not excatly the target for this app, I guess).
  Added entry in Applications contents and adjusted links accordingly.
* Removed Menu preferences as it's settings have been moved to other panels.
  Adjusted links to it accordingly.
* Added zuMi's fine Poorman icon (Poor man, carries the weight of the planet.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 16:43:13 +00:00
Michael Lotz
cfc8e38ece Implement most of the logic for write support in the GPT partitioning system.
Actual writing is not implemented though and some key functions aren't either.
Completely untested so far.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 15:51:19 +00:00
Stephan Aßmus
6f8792ed23 Added BeHappy icon by zuMi. Thanks a lot and sorry for the delay! This is not
yet added to the BeHappy package AFAIK.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 13:56:25 +00:00
Stephan Aßmus
2d1a19bec7 Added idea icon by zuMi, which was added to app_server resources before, it's
used in idea alerts.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 13:53:55 +00:00
Stephan Aßmus
91c668a3d3 Added icon for PoorMan by zuMi. Thanks a lot and sorry for the delay!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 13:46:59 +00:00
Michael Lotz
45041904b4 Do not notify about auto-read messages. For example when setting spam to be
marked as read automatically I don't really want to get the notification alert.
This has been laying around on my drive for a long time now...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 13:00:48 +00:00
Michael Lotz
f835a75f31 Make two runs of MTRR setting when setting memory ranges to write-back. At the
first run only set up uncacheable MTRRs and in the second run set the write-back
ones up. If this order is not followed, we could set too large ranges to
cacheable first and then limit it back to uncacheable later. On systems with
enough physical memory this would lead to a temporary situation in which areas
become cacheable that must not be, resulting in system hangs or other unexpected
behaviour. Fixes last part of #4018.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 11:40:05 +00:00
Michael Lotz
96b24aef3f When clearing the MTRRs also set the default type to uncacheable. Otherwise on
systems where the default is set to a cachable type and MTRRs are used to define
the uncacheable areas, everything would become cacheable after clearing them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 11:35:57 +00:00
Jérôme Duval
581708b997 * fix the build by moving a typedef to public scope, and avoid returning a value in the destructor
* some clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 10:42:11 +00:00
Michael Lotz
bcc2ed0722 Fix the length calculated in generic_get_mtrr(). The +1 would usually be added
to the mask and then shifted, but as we don't do the shifting at all, we need
to add a page size instead of just 1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 02:35:19 +00:00
Michael Lotz
62232fd053 * Add more details to debug output.
* Change the TRACE macro to use varargs and add a prefix for easier grepping.
* Some line length cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 02:32:25 +00:00
Michael Lotz
740f46ad41 Update to use UsePrivateKernelHeaders so things like safemode.h can be properly
included.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 00:08:04 +00:00
François Revol
1fcdc25661 Fix build due to stricter type checking in C++ than C.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-12 22:02:21 +00:00
Jérôme Duval
27e6c57b6a added some PCI capabilities, wireless class values
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-12 21:16:04 +00:00
Michael Lotz
e10fbc44fb Not really sure why the inquiry command was special cased on ATAPI, but it
prevents tools that try to read other inquiry pages (like cdrecord) from getting
the required infos. This way the inquiry command is sent to the ATAPI device,
which seems to work fine (at least for the drive I have here).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-12 20:41:07 +00:00
Jérôme Duval
d0cb410d51 updated mii, msk to freebsd current
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-12 18:47:22 +00:00
Oliver Ruiz Dorantes
80ee40e10c License header & style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-12 18:25:57 +00:00
Oliver Ruiz Dorantes
c6083519e7 Make a bit more elegant the processing of bluetooth events
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-12 18:14:51 +00:00
Michael Lotz
1d4c4d3a5b * Call PostReset() at the end of ResetPort() as it's always used in that way.
* Reset the port directly after executing a command failed instead of letting
  the next call do the reset first. This is arbitrary but looks cleaner to me.
* Provide a way to check if a given sata_request is a SCSI_OP_TEST_UNIT_READY
  over ATAPI and use this info to calm down all error output. This avoids
  spamming the syslog with error output on each media status poll when no disk
  is present in a ATAPI device.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-12 16:31:14 +00:00
Michael Lotz
46d4d11ff6 Need to stop the roster before deleting it. Should fix bug #4017.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-12 15:19:43 +00:00
Axel Dörfler
4ab3fa3b5a * Added real_time_clock(), and real_time_clock_usecs().
* Added support for timespec stat times.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-12 09:31:25 +00:00
Axel Dörfler
0d85a0853c * Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-12 09:09:20 +00:00
Axel Dörfler
874f23496b * Returning random stat data isn't really nice.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-11 21:47:19 +00:00
Axel Dörfler
0714ea070a * Added "mv" command (BFS only, cannot access the host yet).
* Fixed warning in print_flag().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-11 18:44:16 +00:00
Axel Dörfler
f8daaadc80 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-11 08:48:40 +00:00
Axel Dörfler
09173f8089 * Applied a patch by Lukasz that already collected dust on my HD - sorry
Lukasz!
* It makes split_buffer() more efficient by avoiding making a copy of the
  original buffer.
* Minor cleanup, and coding style changes by myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-11 08:30:40 +00:00
Rene Gollent
e47b453ffd Be a bit more defensive here just in case the wav header has invalid data.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-10 14:47:57 +00:00
Rene Gollent
6b9846f69d Fix gcc4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-10 12:51:17 +00:00
David McPaul
16a89fee58 Read Extra Data needed by MSADPCM and others
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-10 02:53:26 +00:00
David McPaul
cbec1ef4af Ensure extra data is passed to decoder
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-10 02:49:45 +00:00
Jérôme Duval
3db68fb0bb rmattr now handles attributes on symlinks and directories
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-09 21:02:21 +00:00
Rene Gollent
8c310b36f0 Provide a default value for the leaf argument as is done in the const char * versions of the constructor/setter. This is consistent with the Be Book, though R5 and/or Dano's headers were likewise missing this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-09 20:41:04 +00:00
Axel Dörfler
50977465d0 * This should recreate 0 byte attributes, and therefore fix bug #4015.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-09 20:25:20 +00:00
imker
fd070b419d Looks like ethernet_set_promiscuous() call should use ETHER_SETPROMISC ioctl instead of ETHER_GETADDR one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-09 18:18:54 +00:00
Axel Dörfler
2f3d29cec7 * The attribute directory of the root directory was ignored. This could lead to
data corruption after a checkfs run. Fixes bug #3963.
* Added some more debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-08 13:06:37 +00:00
Axel Dörfler
1e4b05ad03 * Fixed TODO and replaced the target duplication of DESKBAR_PREFERENCES by
stripping the grist of SYSTEM_PREFERENCES. This also finally closes #3976
  again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-08 09:40:58 +00:00
Axel Dörfler
188f391487 * Fixed missing B_FS_IS_READONLY flag in fs_rfsstat(). This fixes bug #4009.
* Fixed many occurences of incorrect operator order, ie. "!flags & FLAG" does
  not what you might think it does.
* Added TODOs to functionally questionable code. I really don't think this file
  system should actually be used read-write. Deleting files seems to be
  completely broken.
* Fixed mixup of B_MOUNT_READ_ONLY vs. B_FS_IS_READONLY in nspace::flags.
* Fixed many, many style issues, that file really was a mess.
* Honoured 80 characters per line limit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-08 08:53:53 +00:00
Stephan Aßmus
34068836d3 Fixed Remove() operations to be O(1) again, I just didn't get it. The item
sorting does not need to be preserved. Thanks Marcus!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-08 07:01:58 +00:00
Ryan Leavengood
59cd64ac3c Overlapping the top of the scrollbar button no longer makes sense with a tabbed
Terminal. It just makes the button look improperly clipped when tabs are being
used.

I am not totally happy in how this looks though, and if someone has other ideas
feel free to fix it up (maybe a line under the tabs when they are showing?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-08 05:46:16 +00:00
Axel Dörfler
eab2783a36 * Fixed license header to look like our others.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-07 21:18:32 +00:00
Stephan Aßmus
cf8af72233 _InitReader(): source can only be NULL if we tried to allocate it ourself, so
we can set fErr to B_NO_MEMORY in that case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-07 19:47:16 +00:00
Stephan Aßmus
60a2c42f76 Check the params in SetTo().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-07 19:45:04 +00:00
Stephan Aßmus
b7cf537e50 Added BMediaFile::_UnInit() and implemented the two SetTo() methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-07 19:43:26 +00:00
Stephan Aßmus
b5ec3e5669 * Coding style clean-up.
* Use std::nothrow and check allocations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-07 19:35:14 +00:00
Rene Gollent
c0e1e0eaac Fix GCC4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-07 19:07:34 +00:00
Stephan Aßmus
bb56a763a6 Resolved TODOs in PluginManager about leaking plugins when they are no longer
needed. I've added MediaPlugin* fields to Reader and Decoder plugin classes
which are set when the PluginManager hands out new instances. This way the
manager knows what plugin created the Decoder or Reader instance in the
Destroy*() methods and can decrease the reference count accordingly. Also added
some FBC stuffing to Decoder and Reader. All media plugins need to be recompiled,
in case anyone has some outside the Haiku tree.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-07 18:11:05 +00:00