Commit Graph

34726 Commits

Author SHA1 Message Date
Stephan Aßmus d177903646 * Replaced BeZillaBrowser with WebPositive in the alpha-* profile.
* Removed VLC from the alpha-*, apparently this was only done in the alpha-1
   branch back then.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 18:07:44 +00:00
Ingo Weinhold e91e4ee0a6 Added IOCache, a simple write-through cache implementation that can be used
as a drop-in replacement for IOScheduler, processing IORequests synchronously
in FIFO order. It stores cache lines of user-defined size. Currently for each
cache line an area of contiguous memory is used, which is not optimal.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 18:07:31 +00:00
Stephan Aßmus 481f7bf6c4 Added WebPositive (r459) optional package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 18:06:34 +00:00
Oliver Tappe 351076daa0 Fixing #5782 (buggy gcc2 package):
* Apparently triggered by some strange stellar constellation, the
  libgcc.a contained in gcc-2010-04-20 did not contain the files
  required for c++ support. Fixed by rebuilding gcc and fetching
  the (then correct) libgcc.a from there and putting it into
  gcc-2010-04-20-1.zip


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 17:06:58 +00:00
Matt Madia 088859f09e Updated P7zip gcc2 package that has u+rw,o+r,g+r.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 15:36:08 +00:00
Matt Madia d3bafe85f9 Updated to a repackaged P7zip archive with fixed permissions `chmod -R a+w .`.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 14:30:54 +00:00
Scott McCreary 1829a123d3 Pass 1 of the r1a2 OptionalPackages. This updates several of the OptionalPackages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 13:45:01 +00:00
Axel Dörfler 11a40e6d46 * Fixed wrong indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 10:56:39 +00:00
Axel Dörfler 6c7bc7cd22 * Added missing const in ATAPIDevice::IsATAPI() that prevented CD-ROMs from
working since r36416.
* Added more const, and removed all superfluous semicolons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 10:43:10 +00:00
Stephan Aßmus d39c5aa3c9 Removed Gradients demo from the image. It's just too dull and served more as a
test for BGradient. Mandelbrot would also be a candidate for removal, but maybe
some people are sentimentally attached to it, since it was an old BeOS demo. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 10:41:10 +00:00
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