Commit Graph

34716 Commits

Author SHA1 Message Date
Stephan Aßmus
7a171c93dd Updated Installer logo for alpha 2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 10:19:06 +00:00
Matt Madia
21e8281bd7 Switch the default editor for less to nano. It was defaulting to vi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 07:44:02 +00:00
Ingo Weinhold
ccb3f07a14 get_memory_map_etc(): Setting the return value to B_BUFFER_OVERFLOW in the
loop causes the function to return before setting the _numEntries. The
overflow case is checked at the end of the function anyway, so we can just
break out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 22:48:33 +00:00
Jérôme Duval
f2d5f97a0c reorder includes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 20:50:15 +00:00
Fredrik Holmqvist
761af9df7f This was not supposed to be commited.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 16:24:55 +00:00
Fredrik Holmqvist
5d9cc10f80 Moving ACPI Embedded Controller to ACPI bus manager.
* Removed irq_routing struct from ACPI.h to where it is used. Might be able to use acrestype.h instead of duplication.
 * Disable old embedded controller and remove it from image.
 * Move embedded controller code to busmanager module.
 * Remove (some) code duplication

Should work as before, but is now initialized right after the bus manager. Can probably remove further code duplication.
I hope I've done it correctly, feedback is most welcome.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 16:19:41 +00:00
Matt Madia
c966de0646 Changed the behavior to always display the GCC. Extended it to report "Hybrid"
as needed. "Hybrid" is a new string for localization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 15:49:01 +00:00
Stephan Aßmus
d49d3f60d8 * Playlist::SetCurrentItemIndex() will keep the index in range when requesting
an index greater than CountItems(). (Setting an index smaller than 0 will
   still work.) This change will prevent the window from setting an invalid
   current playlist item index when the end of the last file is reached. The
   negative effect of this would be that the transport buttons would indicate
   seemingly confused navigation capabilities (being able to skip to the *next*
   item from the last item, internally it true (you can skip from -1 to 0), but
   the player still showed the last item as currently loaded item)...
 * ControllerView::TogglePlayback() will now check if the end of the last item
   is reached and go to the first playlist item then.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 15:34:12 +00:00
Stephan Aßmus
8e9973a09d Added easy method to retrieve the playback position (of the seek slider [0..1]).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 15:28:39 +00:00
Axel Dörfler
63400da873 * Got rid of the ATA_BLOCK_SIZE define.
* The logical and physical block sizes are now retrieved from the info block,
  though only the logical one is actually used (where ATA_BLOCK_SIZE was used
  before).
* Also added retrieving the offset of the first logical block inside the first
  physical one.
* All this stupidity just for Windows XP, it's really sad.
* Added "const" to some methods, removed some superfluous ';'.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 14:13:32 +00:00
Axel Dörfler
0a96e18689 * Added opcode definitions for read/write-16 and the extended "read capacity 16"
over service-action-in.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 13:44:24 +00:00
Axel Dörfler
46d3d6949b * Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 13:42:13 +00:00
Adrien Destugues
e4fe2e5a12 Sync all available catalogs from hta in order for them to get more exposure in alpha 2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 12:58:03 +00:00
Axel Dörfler
dba5fcaed8 * Use the ATAInfoblock.h header file instead of redoing it somehow.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 12:14:05 +00:00
Axel Dörfler
0b46a85e47 * Added missing definitions to support the concept of physical vs. logical
block sizes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 12:12:32 +00:00
Axel Dörfler
a2f2499840 * Style and automatic whitespace cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 12:03:47 +00:00
Stephan Aßmus
8af2493444 Fixed the coding style issues that axel pointed out.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 10:05:28 +00:00
Rene Gollent
01e63caf83 When creating a new pose, the index offset at which it was inserted in list mode was never passed back. Consequently, when creating a new folder via the cmd+N shortcut (which immediately goes into edit mode), the TextWidget for editing would appear at the wrong location.
Fixes ticket #5774.

+alphabranch



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 02:02:55 +00:00
Jérôme Duval
3fe663e009 B_MEDIA_RAW_AUDIO is not a flag for media_type, instead we must check for audio values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 22:21:48 +00:00
Jérôme Duval
32a32c2e70 Patch from augiedoggie #5765: include mktemp from coreutils.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 20:06:51 +00:00
Stephan Aßmus
50a2f6d7b2 Puh... basically this is the patch by "yourpalal" from ticket #5690, which
converts the FileTypes preflet to use layout management. However, I had to
revert r36252, apply the patch and then manually add r36252 back on top.
I have fixed issues both in the layout management patch (broken layout
in the ApplicationTypesWindow) as well as the translation (untranslated labels
in alerts) and other problems with composed strings (one problem remains, but
already had a TODO). However, the hard work was taken care of by yourpalal!
Thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 20:05:31 +00:00
Jérôme Duval
17c5e0648d Fix #5587: added B_CLOSE_ON_ESCAPE on team monitor window and a close shortcut for Command+W.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 19:32:19 +00:00
Ingo Weinhold
63fe660c1b * Replaced a few hardcoded partitioning/file system type names by the
respective constants.
* compare_image_boot(): Compare volume names case insensitively.
* DiskBootMethod::IsBootDevice(): For BOOT_METHOD_CD only accept devices with
  removable media.
* DiskBootMethod::IsBootPartition(): Added special recognition for anyboot
  CDs. Since their partition types aren't kPartitionTypeDataSession,
  compare_cd_boot() didn't prefer them and it was more or less random whether
  it was chosen when other Haiku installations where available. Moreover
  selecting the CD in the boot loader menu would cause the kernel not to find
  it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 18:00:23 +00:00
Stephan Aßmus
665c794f1d Patch by Wim: The resulting expression string is now fit to the current width
of the window. Insignificant digits are truncated from the end. DeskCalc may
also switch to scientific notation if there is not enough room left.

Thanks a lot! Fixes ticket #5203.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 17:20:29 +00:00
Stephan Aßmus
d7fcb36f2b * Allow to set the scale (versus multiplication with a scale).
* Added commented versions for translation, rotation and shear, which would
   work similar.
 * Added B_AFFINE_IDENTITY_TRANSFORM constant similar to B_ORIGIN.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 16:46:32 +00:00
Axel Dörfler
b19e758b80 * The Keymap::IsDeadKey() of the Keymap preferences which was the main source
of BKeymap was not compatible with IsDeadKey() of the other Keymap
  incarnations.
* Now, I've renamed IsDeadKey() to DeadKey(), and introduced a new
  ActiveDeadKey() method that works like the other former IsDeadKey().
* This fixes the dead key problems my earlier BKeymap work introduced.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 16:36:54 +00:00
Matt Madia
0e3ac47627 Added '-s', which shows the final list of packages that would be installed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 15:51:17 +00:00
Matt Madia
c333e7dff6 Removed stray echo statement, which was for development purposes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 15:26:41 +00:00
Matt Madia
04f32da88a Added support for installoptionalpackage [<pkg> [<pkg> ...]]. Updated Usage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 15:18:47 +00:00
Axel Dörfler
a444274016 * Fixed regression I introduced in r36391. Thanks for proof-reading, Stippi!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 14:39:29 +00:00
Matt Madia
bab27a1b73 Added support for '-f' in installoptionalpackage, which removes cached data
before displaying the available optional packages that can be installed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 14:07:19 +00:00
Ingo Weinhold
04b174ca25 * Moved IOCallback class into separate source file.
* Moved IOScheduler::_IOCallbackWrapper() to IOCallback::WrapperFunction().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 11:20:07 +00:00
Clemens Zeidler
66f1ecdae7 Start to cleanup radeon_hd driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 10:03:01 +00:00
Axel Dörfler
eb74edd08b * When toggling playing, we need to check whether there is a valid current
playlist item - only if there is one, the controller handles this, otherwise
  we start the playlist again from start.
* This fixes bug #5568.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 09:56:00 +00:00
Axel Dörfler
d75c9c3da5 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 08:58:18 +00:00
Axel Dörfler
5292aff148 * Reverted the BTextView part of r35731 again - turns out this usually doesn't
do what one would want. This closes ticket #5671.
* I'm not sure if we want to resurrect the pose view part of r35731 again; it
  adds bitmap and text clips to dragged files. At least the bitmap change was
  unrelated, but I'm a bit torn if that is the way this should be handled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 08:01:09 +00:00
Axel Dörfler
33da1e6516 * Cleaned up MouseDown(), and fixed crash #5121 based on a patch by DarkWyrm,
thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 07:46:12 +00:00
Matt Madia
d6e973e978 Adds XZ-Utils to alpha-* and nightly-*. Added some comments.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 21:18:16 +00:00
Matt Madia
331e12509f Axel changed the HAIKU_ADD_ALTERNATIVE_GCC_LIBS semantics.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 19:53:31 +00:00
Ingo Weinhold
51355c1037 Axel changed the HAIKU_ADD_ALTERNATIVE_GCC_LIBS semantics. Init to 0.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 19:27:58 +00:00
Ingo Weinhold
138f5fb42a Just check which's return value -- no need for test and output capturing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 19:01:53 +00:00
Ingo Weinhold
b6c7c42861 Burn the witches.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 18:55:04 +00:00
Axel Dörfler
2cb706444f * Check HAIKU_ADD_ALTERNATIVE_GCC_LIBS against 1 to allow a setting of 0 to
work as usual.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 18:44:54 +00:00
Ingo Weinhold
089cfbf774 Updated required legacy gcc version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 18:19:37 +00:00
Ingo Weinhold
b26135a454 Merged r36378 from r1alpha2 branch back into trunk.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 18:16:07 +00:00
Jérôme Duval
8fbb8bd5b6 fixes r36356, *only* when times is NULL, both the access and modification timestamps should be set. Thanks to Ingo for reviewing!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 17:23:57 +00:00
Axel Dörfler
a41cc8a74b * Fixed build on the Haiku platform.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 16:18:39 +00:00
Ingo Weinhold
6e83a6fac9 * VMCache::Resize(): Corrected TODO comment.
* Changed the semantics of VMCache::HasPage(). It was interpreted
  inconsistently by the derived classes. Now it returns whether the backing
  store can provide the page (via Read()). The default implementation returns
  false. VNodeCache::HasPage() only returns true, if the given offset is
  within the cache (i.e. file) bounds. This prevents vm_soft_fault() from
  adding clean pages to vnode caches on faults beyond the file bounds.
  Probably fixes #5473 -- at least mmap_resize_test behaves correctly, now.
* Removed redundant HasPage() and Fault() overrides in VMCache derived
  classes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 15:10:09 +00:00
Ingo Weinhold
efeca209a1 Made VMCache::Resize() virtual and let VMAnonymousCache override it to free
swap space when the cache shrinks. Currently the implementation stil leaks
swap space of busy pages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 14:04:18 +00:00
Ingo Weinhold
ba16e4ec61 cut_area(): We should only resize RAM caches.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 13:56:45 +00:00