Commit Graph

29441 Commits

Author SHA1 Message Date
Axel Dörfler
47a214def6 * We now ignore associated files. This makes the double entries of bug #3861
disappear.
* When parsing rock ridge attributes, we no longer stop when we encounter an
  unknown one. Instead, we just parse through until the end. The ISO image as
  part of #3861 also made this visible.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 08:00:10 +00:00
Axel Dörfler
843ce67e3d * Don't let GuestNode::Init() fail if the attribute directory could not be
opened; not all file systems support this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-07 07:20:57 +00:00
Oliver Tappe
05b2d32351 Closing #3874:
* fixed a couple of memory leaks in the BeOS-specific (attribute related)
  code of zip

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 20:34:28 +00:00
Clemens Zeidler
f5b22bcfa8 Hopefully this are all remaining read erros.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 17:07:57 +00:00
Clemens Zeidler
e94e90f071 Some more spelling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 15:47:50 +00:00
Ingo Weinhold
972c78f81a * Added scroll view around the activity chart.
* Set the displayed domain to 0.5 s for debugging purposes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 15:33:51 +00:00
Ingo Weinhold
a5c1cac5a8 * Made the displayed domain and range settable.
* Added support for scrolling.
* Automatic white space cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 15:31:44 +00:00
Ingo Weinhold
de7e498829 Added some handy methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 15:27:05 +00:00
Ingo Weinhold
96b5480b3f Simplification.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 15:26:30 +00:00
Oliver Tappe
d837161f13 * moved locale language files from B_BEOS_ETC_DIRECTORY to
B_SYSTEM_DATA_DIRECTORY, as that seems more appropriate


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 13:14:06 +00:00
Michael Lotz
f8c16a4508 By popular request: Change the invalid device number and add a comment
explaining the reasons behind it. Oh well, at least the commit count raises...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 13:09:01 +00:00
Michael Lotz
03a574d8cd * Check for disk extensions before using them (mostly for good practice reasons)
* A CHS read error would previously be hidden by a successful disk system reset.
  Not that it matters much because it'd have resulted in a non-booting system
  anyway.
* Add some more debug output, minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 11:55:19 +00:00
Michael Lotz
2a8d619c9e Add three more error checks for paranoias sake.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 11:47:48 +00:00
Michael Lotz
5d14311137 When doing removal notifications for USB devices, report the hub after the
children. Otherwise a driver that builds up a device hierarchy could run into
trouble when the parent hub is removed before its child devices. Not that there
were any drivers that do so, but it just seems more correct.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 02:03:25 +00:00
Axel Dörfler
2a64cb1138 Fixed two crashing bugs, one of them mentioned in ticket #3861:
* ISOReadDirEnt() did happily read after the 2048 byte block. Now we check after
  having processed an entry if the position is on the 2048 block boundary, and
  skip to the next block directly.
* fs_walk() assumed a 2 block set (and accessed memory therein), but only has
  access to a single block. I haven't looked at the specs, so I'm not really
  sure what the old code tried to achieve. In any case, it doesn't crash
  anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 20:55:47 +00:00
Axel Dörfler
f47bff0880 * Made the iso9660 file system buildable within the fs_shell (iso9660_shell).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 20:07:24 +00:00
Axel Dörfler
ce34c0c260 * Removed old BeOS ISO9660 file system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 20:06:50 +00:00
Clemens Zeidler
cadcfb19db Fix some spelling mistakes. Thanks to Jonas.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 18:30:50 +00:00
Oliver Tappe
a6fb7929ba * applying patch by PulkoMandy that fix a couple of styleguide issues
(missing spaces after commas) that were pointed out by Stephan

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 18:17:16 +00:00
Axel Dörfler
738ed6561d * copy_to_bfs_image is no longer needed (and doesn't compile anymore, either).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 17:36:57 +00:00
Oliver Tappe
db70cf3ae8 * applied unchanged patch by PulkoMandy that converts the Locale prefs to
use layout management


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 14:50:50 +00:00
Axel Dörfler
c24d3c0d98 * Fixed two bugs in rootfs_rename(): the check of the result of
rootfs_find_in_dir() was wrong, leading to never be able to find the fromName
  in the directory. Furthermore, the parent of the root directory is itself, but
  the check to see whether or not the target is valid did not take this into
  account, and therefore ran into an endless loop. This fixes bug #3864.
* Rearranged rootfs_rename() to be clearer.
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 11:53:46 +00:00
Axel Dörfler
a5dbd78b7a * Since PrecacheIO is used as asynchronous callback object, we must not access
it anymore after having called vfs_asynchronous_read_pages().
* Now, Prepare() does all the preparation work, and ReadAsync() does the actual
  work - this must be called without having the cache locked. This also fixes
  another bug where the callback would be deleted twice in case the I/O request
  failed.
* This fixes bug #3847.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 10:13:55 +00:00
Axel Dörfler
3873c5f3f2 * Style cleanup, mostly 80 character limit per line.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 10:05:11 +00:00
Bruno G. Albuquerque
28b6c8138b - Revert to calling Minimize() on the window constructor as this works as
expected now.
- Yeah, yeah... Style guidelines. I just followed what is used throughout
  this file. :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-05 01:31:01 +00:00
Axel Dörfler
f7b4d19dc4 * Reverted r30529 as this was pretty much bogus (sorry stpere, but the size of
the window was already set with its constructor).
* Fixed the actual cause of bug #3752 instead: the fCharacterHeight and
  fTitleHeight members were not initialized when MinSize() was called.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-04 19:53:12 +00:00
Jérôme Duval
0b218f6dd7 fixes gcc4 warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-04 19:08:27 +00:00
Rudolf Cornelissen
7c9776248b updated docs: added id 0x01d7 which is confirmed operational by two users, and fixed id 0x1d8 which lacked laptop indication.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-04 18:58:38 +00:00
Axel Dörfler
48cf5b5ef6 * Replaced remaining 'x' with '@' before the refresh rate, thanks Urias for
reporting.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-04 18:46:31 +00:00
Ingo Weinhold
a01a4cb9d4 Should have been part of r30624: Renamed _SniffFile() to _GetFileType().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-04 13:37:03 +00:00
Ingo Weinhold
81f82c549b * Renamed _SniffFile() to _GetFileType() and change its semantics slightly. It
does now try to get the file type from the given node info first.
* _TranslateRef(): Added special handling for executable files that aren't
  applications and have a preferred application set. In such a case we return
  the preferred application instead of the given file. This mimics BeOS
  behavior.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-04 11:14:33 +00:00
Ingo Weinhold
0cc382e8d1 * BRoster::_TranslateRef(): Changed error handling style. No functional change.
* Automatic white space cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-04 10:31:45 +00:00
Axel Dörfler
edf7d67773 * Applied patch by Fredrik Holmqvist: improved EDID dump output.
* This closes ticket #3809.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-04 09:03:19 +00:00
Jonas Sundström
cb8f3e2698 More mipsel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 22:41:38 +00:00
Jonas Sundström
4ba7f1c0ed Staking out some more mipsel ground.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 22:26:23 +00:00
Jonas Sundström
fa8a3a17c6 Staking out some mipsel ground.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 22:12:35 +00:00
Jonas Sundström
b99937b571 Making urlwrapper the preferred application of NetPositive Bookmarks. They will be with us for some time - many application zip files include them - but NetPositive itself can't make it into Haiku. It's wrong to have a non-present application set as preferred. Sadly, changing this filetype's setting means little in practice, as the preferred application -attribute- is set on every bookmark file. Two solutions exist to make bookmarks work seamlessly/effortlessly: A) urlwrapper adopts NetPositive's app signature, or B) a N+ Bookmark opener binary reusing its app signature is created, existing only to pass on bookmarks to urlwrapper.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 21:28:39 +00:00
Jonas Sundström
d5cc501e64 Subtypes inherit the Preferred Application setting of their supertype and need not set one unless they want or need a separate one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 20:33:52 +00:00
Axel Dörfler
aee4b7e237 * Fixed two bugs in BPlusTree::Remove(): it could update the tree iterators
incorrectly in case of duplicates. And also, more importantly, it did not
  check if the entry to remove had the same value -- it would happily remove
  any entry with the same attribute content. This could only happen in the
  reindex case, though, and was the cause of bug #3854.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 20:29:50 +00:00
Jonas Sundström
719e2a8fe5 MediaPlayer is set as the Preferred Application of the audio supertype. The subtype inherits the Preferred Application setting of its supertype and need not set a preferred application, unless another application is truly preferred. E.g. the MidiPlayer for midi files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 20:26:33 +00:00
Axel Dörfler
37e5be59a6 * Replaced the Print() macro with a direct call to kprintf().
* Before, it would incorrectly resolve to the __out() macro which was defined
  as dprintf() when compiled for the kernel -- this could deadlock KDL, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 17:56:08 +00:00
Stephan Aßmus
8323a7cd49 Tweak the "install done" message. If Deskbar is running, chances are quitting
the Installer won't restart the computer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 17:53:37 +00:00
Stephan Aßmus
2e6fb5f2b9 If no suitable partitions have been found, encourage the user to use the
Setup Partitions button...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 17:44:38 +00:00
Stephan Aßmus
fab3e4a5b2 * Remember in PartitionMenuItem if a partition is a suitable install target.
* Show non-BFS partitions again, but show them disabled and show the content
  type in the menu label. BFS partitions don't get the content type shown, so
  that it looks more like the reason why they are disabled if the content
  type is shown.
* Small cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 17:35:09 +00:00
Oliver Tappe
517256e7d7 One more thing I missed from PulkoMandys patch:
* added deskbar preferences link for Locale

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 16:10:29 +00:00
Axel Dörfler
e12b8d6ddf * Now also adds directories to the index (before only in non-recursive mode).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 15:28:54 +00:00
Oliver Tappe
866aafc015 Applied a patch done by VinDuv, which PulkoMandy passed on to me (thanks!):
* added resource definition file which adds proper declarations and an icon 
  to the Locale prefs (the icon is the world used for HTML-files, too)
* I removed a garbage character from the long version description and
  adjusted its format to comply with the other prefs

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 14:50:42 +00:00
Jonas Sundström
b6b4a80389 Comment on reach of method TBeMenu::ResetTargets().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 13:49:11 +00:00
Ingo Weinhold
a866fa9466 panic() when a page that is still mapped is freed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 12:37:51 +00:00
Ingo Weinhold
88b29adcbd VMCache::Resize(): When shrinking the cache unmap the pages we're removing.
Theoretically, not doing that could have caused still mapped pages to get
into the free queue. This could have been a cause of #3110, but the reported
circumstances don't look quite fitting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 12:32:20 +00:00