haiku.git
12 years ago* Add example vesa configuration file.hrev36630
Ithamar R. Adema [Wed, 5 May 2010 20:45:54 +0000 (5 20:45 +0000)]
* Add example vesa configuration file.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36630 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoThere's no "disk" default build profile, since picking a random partitionhrev36629
Ingo Weinhold [Wed, 5 May 2010 18:20:43 +0000 (5 18:20 +0000)]
There's no "disk" default build profile, since picking a random partition
might not be appreciated by everyone. :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36629 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoAdded default build profiles "anyboot-image" and "cd-image".hrev36628
Ingo Weinhold [Wed, 5 May 2010 18:14:03 +0000 (5 18:14 +0000)]
Added default build profiles "anyboot-image" and "cd-image".

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36628 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoImproved OpenGL icon by (I think) Ryan Leavengood and Mark Erben. Much better,hrev36627
Stephan Aßmus [Wed, 5 May 2010 15:25:16 +0000 (5 15:25 +0000)]
Improved OpenGL icon by (I think) Ryan Leavengood and Mark Erben. Much better,
thanks!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36627 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* Fixed minor style issues.hrev36626
Axel Dörfler [Wed, 5 May 2010 14:37:35 +0000 (5 14:37 +0000)]
* Fixed minor style issues.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36626 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* boot_item_init() must come before debug_init_post_vm() or else neither thehrev36625
Axel Dörfler [Wed, 5 May 2010 14:36:03 +0000 (5 14:36 +0000)]
* boot_item_init() must come before debug_init_post_vm() or else neither the
  boot screen cannot be updated, nor might VESA work.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36625 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* During early kernel startup, we must not create areas without thehrev36624
Axel Dörfler [Wed, 5 May 2010 13:12:07 +0000 (5 13:12 +0000)]
* During early kernel startup, we must not create areas without the
  CREATE_AREA_DONT_WAIT flag; waiting at this point is not allowed.
* I hope I found all occurences, but there might be some areas left (note,
  only those that don't use B_ALREADY_WIRED are problematic).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36624 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* Moved the addition of the basic debugger commands directly after the VM init.hrev36623
Axel Dörfler [Wed, 5 May 2010 10:05:25 +0000 (5 10:05 +0000)]
* Moved the addition of the basic debugger commands directly after the VM init.
* Separated the other stuff previously done in debug_init_post_vm() to the new
  debug_init_post_settings().
* Removed superfluous status_t return codes - they are ignored, anyway, and if
  there really is a show stopper in the init process, panicking would be the
  thing one should do.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36623 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* Fixed typo.hrev36622
Axel Dörfler [Wed, 5 May 2010 10:03:32 +0000 (5 10:03 +0000)]
* Fixed typo.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36622 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated WebPositive package to r488, which contains numerous bugfixes and otherhrev36621
Stephan Aßmus [Wed, 5 May 2010 09:38:57 +0000 (5 09:38 +0000)]
Updated WebPositive package to r488, which contains numerous bugfixes and other
improvements like a new Fullscreen mode, context menu's for downloads,
persistent storage of credentials...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36621 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* Fixed PackageInstaller build by adding liblocale.so to the library name map.hrev36620
Axel Dörfler [Wed, 5 May 2010 09:17:52 +0000 (5 09:17 +0000)]
* Fixed PackageInstaller build by adding liblocale.so to the library name map.
* Ordered the map libraries alphabetically.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36620 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoRemembered the rule wrong about how many blank lines between copyright andhrev36619
Stephan Aßmus [Wed, 5 May 2010 08:28:49 +0000 (5 08:28 +0000)]
Remembered the rule wrong about how many blank lines between copyright and
headers.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36619 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoPatch by Jorma Karvonen: Localization of the PackageInstaller. Thanks a lot!hrev36618
Stephan Aßmus [Wed, 5 May 2010 08:00:57 +0000 (5 08:00 +0000)]
Patch by Jorma Karvonen: Localization of the PackageInstaller. Thanks a lot!
Contains small coding style corrections by myself. Closes ticket #5907.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36618 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoRemove leftover from the intel driver.hrev36617
Clemens Zeidler [Tue, 4 May 2010 21:56:53 +0000 (4 21:56 +0000)]
Remove leftover from the intel driver.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36617 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated BeZillaBrowser.hrev36616
Matt Madia [Tue, 4 May 2010 19:18:03 +0000 (4 19:18 +0000)]
Updated BeZillaBrowser.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36616 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoLatest Welcome package changes for luroh's proof reading :)hrev36615
Joachim Seemer [Tue, 4 May 2010 18:32:21 +0000 (4 18:32 +0000)]
Latest Welcome package changes for luroh's proof reading :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36615 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoDon't use the "-apps" option for the Desktop files. That it worked beforehrev36614
Ingo Weinhold [Tue, 4 May 2010 17:43:38 +0000 (4 17:43 +0000)]
Don't use the "-apps" option for the Desktop files. That it worked before
probably indicates that we're doing something wrong.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36614 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoCreateAppMetaMimeThread::DoMimeUpdate():hrev36613
Ingo Weinhold [Tue, 4 May 2010 17:37:19 +0000 (4 17:37 +0000)]
CreateAppMetaMimeThread::DoMimeUpdate():
* Don't traverse symlinks. Besides that this is not how the BeOS
  implementation behaves it could also lead to undesired recursion in case of
  symlinks to directories.
* Only process regular files.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36613 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated Pe build to Pe-2.4.2-r597hrev36612
Scott McCreary [Tue, 4 May 2010 16:11:57 +0000 (4 16:11 +0000)]
Updated Pe build to Pe-2.4.2-r597

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36612 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoInitial revision of my Tracker copy icon as well as the Touchpad icon I emailedhrev36611
Ryan Leavengood [Tue, 4 May 2010 15:47:30 +0000 (4 15:47 +0000)]
Initial revision of my Tracker copy icon as well as the Touchpad icon I emailed
about on the mailing list.

Stephan if you want to adjust the colors of the Touchpad or whatever else, feel
free.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36611 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoSimplify the check for what volumes to show free space bars on. They arehrev36610
Rene Gollent [Tue, 4 May 2010 15:17:21 +0000 (4 15:17 +0000)]
Simplify the check for what volumes to show free space bars on. They are
now shown only on read/write volumes that are not CDDA.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36610 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUse openAnyways mode instead of click to open rect for tracker contexthrev36607
Rene Gollent [Tue, 4 May 2010 14:24:12 +0000 (4 14:24 +0000)]
Use openAnyways mode instead of click to open rect for tracker context
menus. May help with #3267.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36607 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoRe-exported this png from the Wonderbrush file. Prior to this change, thishrev36606
Matt Madia [Tue, 4 May 2010 14:13:46 +0000 (4 14:13 +0000)]
Re-exported this png from the Wonderbrush file. Prior to this change, this
image was the only black wordmark with the shadow of the green leaf on the
bottom.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36606 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoToggled the visibility of "operating system" from the old & not currently usedhrev36605
Matt Madia [Tue, 4 May 2010 14:00:51 +0000 (4 14:00 +0000)]
Toggled the visibility of "operating system" from the old & not currently used
website graphics. This ties in with #4882.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36605 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated PoorMan's icon to utilize Misc_Earth as the globe.hrev36604
Matt Madia [Tue, 4 May 2010 13:25:12 +0000 (4 13:25 +0000)]
Updated PoorMan's icon to utilize Misc_Earth as the globe.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36604 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoAdded two HVIF for the PDF Writer, applied the 2nd as its icon.hrev36603
Matt Madia [Tue, 4 May 2010 13:09:47 +0000 (4 13:09 +0000)]
Added two HVIF for the PDF Writer, applied the 2nd as its icon.
Improvements welcomed.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36603 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoAutomatic whitespace cleanup.hrev36602
Matt Madia [Tue, 4 May 2010 12:37:50 +0000 (4 12:37 +0000)]
Automatic whitespace cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36602 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoAdded some documentation about the anyboot images. Verification appreciated.hrev36601
Matt Madia [Mon, 3 May 2010 21:51:58 +0000 (3 21:51 +0000)]
Added some documentation about the anyboot images. Verification appreciated.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36601 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoStubbed out support for InstallSourceArchive.hrev36599
Matt Madia [Mon, 3 May 2010 20:42:10 +0000 (3 20:42 +0000)]
Stubbed out support for InstallSourceArchive.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36599 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago*cough* forgot that the script will continue even if a single firmware failshrev36598
Matt Madia [Mon, 3 May 2010 20:19:50 +0000 (3 20:19 +0000)]
*cough* forgot that the script will continue even if a single firmware fails
to install properly.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36598 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated the download location for broadcom's file that contains firmware. Alsohrev36597
Matt Madia [Mon, 3 May 2010 20:07:54 +0000 (3 20:07 +0000)]
Updated the download location for broadcom's file that contains firmware. Also
added an echo, to confirm the success of installing all firmwares.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36597 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoPatch by sil2100:hrev36596
Stephan Aßmus [Mon, 3 May 2010 15:47:53 +0000 (3 15:47 +0000)]
Patch by sil2100:
 * Avoid showing read-only volumes as possible installation targets.
 * Mark the menu item for the first suitable volume that was found.
 * Removed no more needed debug output.

Fixes #5231. Thanks a lot!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36596 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoPatch by Andreas Faerber: Implemented fallbacks (e801 and 88) to get thehrev36595
Ingo Weinhold [Mon, 3 May 2010 13:15:18 +0000 (3 13:15 +0000)]
Patch by Andreas Faerber: Implemented fallbacks (e801 and 88) to get the
memory map in case e820 is not supported by the BIOS.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36595 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoIORequest::NotifyFinished(): Assert that the request hasn't been finishedhrev36594
Ingo Weinhold [Mon, 3 May 2010 12:44:48 +0000 (3 12:44 +0000)]
IORequest::NotifyFinished(): Assert that the request hasn't been finished
before.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36594 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* Filter out B_INSERT and B_FUNCTION_KEY as they would end up in type ahead "default... hrev36593
Alexandre Deckner [Mon, 3 May 2010 00:13:59 +0000 (3 00:13 +0000)]
* Filter out B_INSERT and B_FUNCTION_KEY as they would end up in type ahead "default" case. Fixes #5609. Looking at all the not already caught keycodes, this should cover every cases.
+alphabranch

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36593 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* RemoveFromVSList was failing to actually remove some poses due to a buggy optimisat... hrev36592
Alexandre Deckner [Sun, 2 May 2010 23:32:54 +0000 (2 23:32 +0000)]
* RemoveFromVSList was failing to actually remove some poses due to a buggy optimisation. This was causing calls on invalid poses in many places in the PoseView code (icon mode). This fixes #4322 (and duplicate #5780). This should also fix #3828. Please test.

   I took the conservative approach and the penalty is really minimal if even not at all perceptible as i've measured. I decided to go this way as PoseView code is very fragile and depends on many of those "loose assertions" to be valid. This conservative approach also allows to confidently include the fix in alpha2:
+alphabranch

   Besides those "wise" reasons, the thing is that i've wasted too many hours already this week and in the past due that VSPoseList/PoseList syncing fragility. I'm not willing to fix the optimisation of a broken design that i've already experimentally rewriten two times already, and that i (or any mentally sane person) will finally ditch sooner or later :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36592 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoHopefully the last work on the MTRR code for the time being:hrev36591
Ingo Weinhold [Sun, 2 May 2010 23:05:38 +0000 (2 23:05 +0000)]
Hopefully the last work on the MTRR code for the time being:
Since we also force uncacheability via the PTEs, it is no longer necessary to
use MTRRs for uncacheable ranges. It is recommended, which is why we still do
it, if possible, but when we run out of MTRRs, the algorithm ignores
uncacheable ranges now -- iteratively it increases the minimum size of ranges
to drop until the available MTRRs suffice.
Should fix #5703 and #5865.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36591 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agovm_map_physical_memory(): When alreadyWired we have to explicitly set thehrev36590
Ingo Weinhold [Sun, 2 May 2010 22:52:25 +0000 (2 22:52 +0000)]
vm_map_physical_memory(): When alreadyWired we have to explicitly set the
memory type for the mapped pages.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36590 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agomemory_type_to_pte_flags(): Also set the write-through flag for uncacheablehrev36589
Ingo Weinhold [Sun, 2 May 2010 22:50:30 +0000 (2 22:50 +0000)]
memory_type_to_pte_flags(): Also set the write-through flag for uncacheable
memory. This avoids implementation defined behavior on Pentium Pro/II when
intersecting with an write-combining or write-protected MTRR range.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36589 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* style cleanuphrev36588
Jérôme Duval [Sun, 2 May 2010 22:35:18 +0000 (2 22:35 +0000)]
* style cleanup
* DefaultManager: added a lock around rescan thread start and exit:
this should fix the possible race condition spotted by Ingo.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36588 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* BOutlineListView::SortItemsUnder() and FullListSortItems() does not behavehrev36587
Axel Dörfler [Sun, 2 May 2010 18:00:20 +0000 (2 18:00 +0000)]
* BOutlineListView::SortItemsUnder() and FullListSortItems() does not behave
  as described in the BeBook when oneLevelOnly is false - only
  BListView::SortItems() does ignore the hierarchy. So the work-arounds for
  this are completely unnecessary. Removed now unused compare_list_items().
* The BOutlineListView sorting methods have a different comparison signature
  as the other comparison functions: they point to the items directly. The
  compare_typed_list_items() function did not take this into account, and
  dereferenced them anyway, leading to #5883.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36587 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* Fixed a ton of minor coding style violations, no functional change intended.hrev36586
Axel Dörfler [Sun, 2 May 2010 17:38:11 +0000 (2 17:38 +0000)]
* Fixed a ton of minor coding style violations, no functional change intended.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36586 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* Unified the Desktop and ServerApp AS_ACTIVATE_WORKSPACE to work in the samehrev36585
Axel Dörfler [Sun, 2 May 2010 17:15:13 +0000 (2 17:15 +0000)]
* Unified the Desktop and ServerApp AS_ACTIVATE_WORKSPACE to work in the same
  way.
* Use that newly exposed feature of taking the focus window to the new workspace
  when using the Ctrl-Alt-Shift-Arrow shortcut.
* This fixes #5675.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36585 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* Always set the focus to the moved window on workspace switch.hrev36584
Axel Dörfler [Sun, 2 May 2010 17:12:33 +0000 (2 17:12 +0000)]
* Always set the focus to the moved window on workspace switch.
* This fixes a part of ticket #5675.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36584 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoSupport memory types in page mappings to the degree that is possible withouthrev36583
Ingo Weinhold [Sun, 2 May 2010 15:30:52 +0000 (2 15:30 +0000)]
Support memory types in page mappings to the degree that is possible without
PAT support (i.e. uncacheable, write-through, and write-back). Has pretty
much no effect ATM, as the MTRRs restrict the types to what is actually
requested.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36583 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated to build with HVIF+rdef instead of bitmap+rsrc.hrev36582
Matt Madia [Sun, 2 May 2010 15:08:21 +0000 (2 15:08 +0000)]
Updated to build with HVIF+rdef instead of bitmap+rsrc.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36582 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agommu_init(): In case we couldn't get a memory map from the BIOS the fixedhrev36581
Ingo Weinhold [Sun, 2 May 2010 12:56:40 +0000 (2 12:56 +0000)]
mmu_init(): In case we couldn't get a memory map from the BIOS the fixed
memory setup was 1 MiB larger than advertised.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36581 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoFixed PPC build.hrev36580
Ingo Weinhold [Sun, 2 May 2010 12:53:47 +0000 (2 12:53 +0000)]
Fixed PPC build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36580 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated BePDF to version 1.1.1b3.hrev36579
Michael Pfeiffer [Sun, 2 May 2010 11:37:10 +0000 (2 11:37 +0000)]
Updated BePDF to version 1.1.1b3.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36579 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agorest of the patch by Kaliber in ticket #5875.hrev36578
Stefano Ceccherini [Sun, 2 May 2010 10:34:57 +0000 (2 10:34 +0000)]
rest of the patch by Kaliber in ticket #5875.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36578 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoApplied (part of) a patch by Kaliber, attached to ticket #5875. Thanks!hrev36577
Stefano Ceccherini [Sun, 2 May 2010 09:58:06 +0000 (2 09:58 +0000)]
Applied (part of) a patch by Kaliber, attached to ticket #5875. Thanks!
Will commit the rest later.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36577 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoTrying to cleanup header order. No functional change.hrev36576
Fredrik Holmqvist [Sun, 2 May 2010 08:29:41 +0000 (2 08:29 +0000)]
Trying to cleanup header order. No functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36576 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoReverted r35463 and applied a patch by Stefano to handle the Terminal contexthrev36575
Rene Gollent [Sun, 2 May 2010 01:36:38 +0000 (2 01:36 +0000)]
Reverted r35463 and applied a patch by Stefano to handle the Terminal context
menu issue a different way. Should fix #5835.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36575 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* VMTranslationMap::Map()/Protect(): Added "memoryType" parameter. Nothrev36574
Ingo Weinhold [Sat, 1 May 2010 21:33:12 +0000 (1 21:33 +0000)]
* VMTranslationMap::Map()/Protect(): Added "memoryType" parameter. Not
  implemented for any architecture yet.
* vm_set_area_memory_type(): Call VMTranslationMap::ProtectArea() to change the
  memory type for the already mapped pages.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36574 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* VMArea: Made memory_type private and added setter and getter methods.hrev36573
Ingo Weinhold [Sat, 1 May 2010 20:41:57 +0000 (1 20:41 +0000)]
* VMArea: Made memory_type private and added setter and getter methods.
* Don't set the VMArea's memory type in arch_vm_set_memory_type(), but let the
  callers do that.
* vm_set_area_memory_type(): Does nothing, if the memory type doesn't change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36573 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* Changed some parameters of VM syscalls from int to uint32, mostly for sakehrev36572
Ingo Weinhold [Sat, 1 May 2010 19:47:39 +0000 (1 19:47 +0000)]
* Changed some parameters of VM syscalls from int to uint32, mostly for sake
  of consistency.
* Moved the B_OVERCOMMITTING_AREA flag from B_KERNEL_AREA_FLAGS to
  B_USER_AREA_FLAGS, since we really allow it to be passed from userland.
* Most VM syscalls check the provided protection against B_USER_AREA_FLAGS
  instead of B_USER_PROTECTION, now. This way they allow for
  B_OVERCOMMITTING_AREA as well.
* _user_map_file(), _user_set_memory_protection(): Check the protection like
  the other syscalls do and use fix_protection() instead of doing that
  manually.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36572 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoVM{Kernel,User}Area::Create(): On error free the area's memory heeding thehrev36571
Ingo Weinhold [Sat, 1 May 2010 18:50:21 +0000 (1 18:50 +0000)]
VM{Kernel,User}Area::Create(): On error free the area's memory heeding the
given allocation flags. Could deadlock otherwise.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36571 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoarch_vm_supports_protection(): Fixed broken check.hrev36570
Ingo Weinhold [Sat, 1 May 2010 18:31:12 +0000 (1 18:31 +0000)]
arch_vm_supports_protection(): Fixed broken check.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36570 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoTrying to fix #5861. As we are now so early in the boot process, we should really... hrev36569
Fredrik Holmqvist [Sat, 1 May 2010 18:25:33 +0000 (1 18:25 +0000)]
Trying to fix #5861. As we are now so early in the boot process, we should really avoid functions that wait. The change in r36565 from waiting on condvar seems to have moved the problems over to the snooze method.
We now use spinlocks instead of snoozing while booting.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36569 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoChanged default application of text/html and http and https URLs tohrev36568
Stephan Aßmus [Sat, 1 May 2010 14:04:44 +0000 (1 14:04 +0000)]
Changed default application of text/html and http and https URLs to
WebPositive. Gopher URL type remains the only one to refer Firefox.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36568 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoNew icons for OpenGL, Touchpad and Locale (revised previous version, which washrev36567
Stephan Aßmus [Sat, 1 May 2010 13:11:03 +0000 (1 13:11 +0000)]
New icons for OpenGL, Touchpad and Locale (revised previous version, which was
not committed as icon before).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36567 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoSpanish translator César Ortiz Pantoja (ccortiz). +alpha2hrev36566
Joachim Seemer [Sat, 1 May 2010 11:28:45 +0000 (1 11:28 +0000)]
Spanish translator César Ortiz Pantoja (ccortiz). +alpha2

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36566 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUse polling in embedded controller while booting. Might fix #5861. Is this usage... hrev36565
Fredrik Holmqvist [Sat, 1 May 2010 07:59:48 +0000 (1 07:59 +0000)]
Use polling in embedded controller while booting. Might fix #5861. Is this usage of the flag ok?

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36565 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated the opensound OptionalPackage.hrev36564
Scott McCreary [Sat, 1 May 2010 05:16:19 +0000 (1 05:16 +0000)]
Updated the opensound OptionalPackage.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36564 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoAdded "Haiku and the Haiku logo are trademarks of Haiku, Inc."hrev36563
Matt Madia [Sat, 1 May 2010 04:30:23 +0000 (1 04:30 +0000)]
Added "Haiku and the Haiku logo are trademarks of Haiku, Inc."

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36563 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUnified the spelling of licence/license.hrev36562
Matt Madia [Sat, 1 May 2010 04:25:07 +0000 (1 04:25 +0000)]
Unified the spelling of licence/license.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36562 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoFix #5788 by overhauling the Locale preflet a bit:hrev36561
Oliver Tappe [Fri, 30 Apr 2010 22:52:03 +0000 (30 22:52 +0000)]
Fix #5788 by overhauling the Locale preflet a bit:
* InitiateDrag() now makes sure that either a number of top-level items
  or a group of subitems sharing the parent is being dragged - anything
  else doesn't really make sense and results in mayhem and/or crashes
* LocaleWindow now tries harder to keep the language listview sorted
* when moving around items between the two listviews, they are no longer
  copied (and partly leaked), but the same items are now just moved over
* cleanup here and there
This is still somewhat of a mess - I recommend splitting the two listviews at least (as they actually behave differently) - maybe it would be better to pick the available languages from a popup-menu instead of keeping them in a listview?

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36561 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoscheduler_reschedule_no_op(): panic() when the calling thread is nothrev36560
Ingo Weinhold [Fri, 30 Apr 2010 19:40:20 +0000 (30 19:40 +0000)]
scheduler_reschedule_no_op(): panic() when the calling thread is not
continuing to run. This must not happen since the thread is the boot CPU's
idle thread performing the early kernel initialization (before the scheduler
is started).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36560 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoAdded a third rendez-vous point for the call_all_cpus() MTRR functions. Thishrev36559
Ingo Weinhold [Fri, 30 Apr 2010 19:37:19 +0000 (30 19:37 +0000)]
Added a third rendez-vous point for the call_all_cpus() MTRR functions. This
fixes the problem that the CPU initiating the call could make the next call
and reset sCpuRendezvous2 before the other CPUs have returned from their
smp_cpu_rendezvous(). Probably virtually impossible on real hardware, but I
could almost reliably reproduce it with qemu -smp 2 (would hang the late boot
process without ability to enter KDL).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36559 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoAdded a rendez-vous variable parameter to smp_trap_non_boot_cpus() and makehrev36558
Ingo Weinhold [Fri, 30 Apr 2010 19:32:12 +0000 (30 19:32 +0000)]
Added a rendez-vous variable parameter to smp_trap_non_boot_cpus() and make
boot CPU wait until all other CPUs are ready to wait. This solves a
theoretical problem in main(): The boot CPU could run fully through the early
initialization and reset sCpuRendezvous2 before the other CPUs left
smp_cpu_rendezvous(). It's very unlikely on real hardware that the non-boot
CPUs are so much slower, but it might be a concern in emulation.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36558 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoReorganized BeZillaBrowser's if/else statements. Switched to a hardcoded urlhrev36557
Matt Madia [Fri, 30 Apr 2010 19:06:46 +0000 (30 19:06 +0000)]
Reorganized BeZillaBrowser's if/else statements. Switched to a hardcoded url
for bezilla's and NetSurf's source archives, instead of defining a local
variable (as installoptionalpackage didn't like it). No functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36557 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoDocumented smp_cpu_rendezvous().hrev36556
Ingo Weinhold [Fri, 30 Apr 2010 18:33:25 +0000 (30 18:33 +0000)]
Documented smp_cpu_rendezvous().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36556 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated cdrtools, built by scottmchrev36555
Matt Madia [Fri, 30 Apr 2010 16:09:54 +0000 (30 16:09 +0000)]
Updated cdrtools, built by scottmc

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36555 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoPatch by Humdinger to improve some strings in Touchpad. Thanks!hrev36554
Stephan Aßmus [Fri, 30 Apr 2010 14:05:32 +0000 (30 14:05 +0000)]
Patch by Humdinger to improve some strings in Touchpad. Thanks!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36554 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated OpenSSH to a newer version built by scottmc.hrev36553
Matt Madia [Fri, 30 Apr 2010 13:39:26 +0000 (30 13:39 +0000)]
Updated OpenSSH to a newer version built by scottmc.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36553 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoMap read-only segments over-committing for the relocation. This prevents thehrev36552
Ingo Weinhold [Fri, 30 Apr 2010 12:09:43 +0000 (30 12:09 +0000)]
Map read-only segments over-committing for the relocation. This prevents the
kernel from committing memory for all read-only segments until we're done
relocating. This allows Haiku to boot on machines with less RAM and swap
disabled. At least in qemu I could boot with 100 MB and start WebPositive.
Probably fixed #5822.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36552 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoVMAnonymous[NoSwap]Cache, overcommitting mode:hrev36551
Ingo Weinhold [Fri, 30 Apr 2010 12:02:33 +0000 (30 12:02 +0000)]
VMAnonymous[NoSwap]Cache, overcommitting mode:
* Commit(): Unreserve memory when asked to shrink the commitment.
* Fault(): The whole logic is flawed, since this is always called by
  vm_soft_fault(), even, if the page is finally mapped from a lower cache.
  Now we do at least limit our commitment to (page_count + 1) * B_PAGE_SIZE
  instead of always reserving memory for another page.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36551 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agomap_backing_store(): Also consider the B_OVERCOMMITTING_AREA for privatehrev36550
Ingo Weinhold [Fri, 30 Apr 2010 11:55:27 +0000 (30 11:55 +0000)]
map_backing_store(): Also consider the B_OVERCOMMITTING_AREA for private
maps. The new cache will be created in over-committing mode.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36550 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago * Introduced PaletteConverter::IndexForRGBA32() which checks if the alphahrev36549
Stephan Aßmus [Fri, 30 Apr 2010 11:29:14 +0000 (30 11:29 +0000)]
 * Introduced PaletteConverter::IndexForRGBA32() which checks if the alpha
   component of a 32 bit color is below 128 and returns the special CMAP8 index
   for indicating transparency.
 * Changed the WriteCMAP() color conversion function to expext a 32bit RGBA
   value and use IndexForRGBA32().
 * Adapted B_CMAP8 target color space case of ConvertBits() to the new
   semantics.

This allows transparency in bitmaps when converting B_RGBA32 bitmaps to
B_CMAP8, tested only for this case and working as expected.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36549 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoReintroduced sigwait(), sigsuspend(), and sigpending(). There are obviouslyhrev36548
Ingo Weinhold [Fri, 30 Apr 2010 10:00:44 +0000 (30 10:00 +0000)]
Reintroduced sigwait(), sigsuspend(), and sigpending(). There are obviously
drivers using those.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36548 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* Added the text "(Do you have ACPI enabled?)" in case -q failed.hrev36547
Axel Dörfler [Fri, 30 Apr 2010 07:13:21 +0000 (30 07:13 +0000)]
* Added the text "(Do you have ACPI enabled?)" in case -q failed.
* Minor coding style cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36547 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agofixed the horrible typos.hrev36546
Matt Madia [Fri, 30 Apr 2010 04:31:56 +0000 (30 04:31 +0000)]
fixed the horrible typos.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36546 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoForgot to update NetSurf's source urlhrev36545
Matt Madia [Fri, 30 Apr 2010 03:42:16 +0000 (30 03:42 +0000)]
Forgot to update NetSurf's source url

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36545 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoManually the .OptionalPackageDescription file of many packages, to addhrev36544
Matt Madia [Fri, 30 Apr 2010 03:36:07 +0000 (30 03:36 +0000)]
Manually the .OptionalPackageDescription file of many packages, to add
SourceURL: Text <URL> lines. InstallSourceArchive commands have been added,
where source archives provided. The baseSourceURL has been updated to
http://haiku-files.org/files/releases/r1alpha2/sources

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36544 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoPoseView::MoveSelectionInto() needs to check for the case that the sourcehrev36543
Rene Gollent [Thu, 29 Apr 2010 23:57:50 +0000 (29 23:57 +0000)]
PoseView::MoveSelectionInto() needs to check for the case that the source
window actually has a selection list to use. Certain actions can render it
possible to empty out the selection in mid drag-and-drop, which MoveSelectionInto
wasn't taking into account, leading to a crash.

Fixes ticket #5860.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36543 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoCreate the gcc4 cpp headers symlink also for the gcc2 hybrid build.hrev36541
Ingo Weinhold [Thu, 29 Apr 2010 21:42:21 +0000 (29 21:42 +0000)]
Create the gcc4 cpp headers symlink also for the gcc2 hybrid build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36541 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoFixed lib{sup,std}c++.so symlinks for the new gcc4 package.hrev36540
Ingo Weinhold [Thu, 29 Apr 2010 21:22:14 +0000 (29 21:22 +0000)]
Fixed lib{sup,std}c++.so symlinks for the new gcc4 package.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36540 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* get_emulation_buffer(): Don't replace the request data. Both callershrev36539
Ingo Weinhold [Thu, 29 Apr 2010 20:26:19 +0000 (29 20:26 +0000)]
* get_emulation_buffer(): Don't replace the request data. Both callers
  (scsi_start_mode_sense_6(), scsi_start_mode_select_6()) also call
  replace_request_data(), which does the same. Therefore the original request
  data were lost. scsi_start_mode_select_6() also copied the wrong data due
  to this.
* scsi_finish_mode_sense_10_6(): In case of error also call
  restore_request_data() to restore the request data.

Fixes #5855 -- since the request data length was changed, unlock_memory() was
called with a different length than lock_memory(), thus triggering the
panic(). After starting CDPlayer the syslog is still spammed with failing
requests, so obviously something is still not OK.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36539 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUpdated subversion, cvs, and libpcre optionalpackages.hrev36538
Scott McCreary [Thu, 29 Apr 2010 20:13:28 +0000 (29 20:13 +0000)]
Updated subversion, cvs, and libpcre optionalpackages.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36538 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoSource SetupEnvironment with the more portable ".".hrev36537
Ingo Weinhold [Thu, 29 Apr 2010 18:15:41 +0000 (29 18:15 +0000)]
Source SetupEnvironment with the more portable ".".

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36537 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoTypo-fixed patch by mjw: Include SetupEnvironment from /etc/profile, sohrev36536
Ingo Weinhold [Thu, 29 Apr 2010 16:47:05 +0000 (29 16:47 +0000)]
Typo-fixed patch by mjw: Include SetupEnvironment from /etc/profile, so
shells started by remote login daemons (sshd, telnetd) also get the
environmental variables defined there. Closes #5789 and #2468.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36536 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoAutomatic whitespace cleanup. No functional change.hrev36535
Matt Madia [Thu, 29 Apr 2010 16:04:29 +0000 (29 16:04 +0000)]
whitespace cleanup. No functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36535 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoAdded support for case-insensitive recognition of package names. Fixes #5854.hrev36534
Matt Madia [Thu, 29 Apr 2010 15:56:46 +0000 (29 15:56 +0000)]
Added support for case-insensitive recognition of package names. Fixes #5854.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36534 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoAutomatic whitespace cleanup. No functional change.hrev36533
Matt Madia [Thu, 29 Apr 2010 15:50:22 +0000 (29 15:50 +0000)]
whitespace cleanup. No functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36533 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoUnset sSyslogBuffer in all error cases in which we disable syslog output.hrev36532
Ingo Weinhold [Thu, 29 Apr 2010 15:32:54 +0000 (29 15:32 +0000)]
Unset sSyslogBuffer in all error cases in which we disable syslog output.
Spotted by Axel.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36532 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoReplaced no longer necessary send_signal_etc() work-arounds forhrev36531
Ingo Weinhold [Thu, 29 Apr 2010 15:23:29 +0000 (29 15:23 +0000)]
Replaced no longer necessary send_signal_etc() work-arounds for
resume_thread().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36531 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agoMake scheduler_reschedule() an no-op until we're ready to start thehrev36530
Ingo Weinhold [Thu, 29 Apr 2010 15:10:37 +0000 (29 15:10 +0000)]
Make scheduler_reschedule() an no-op until we're ready to start the
scheduler. This avoids the need to use the send_signal_etc() work-around for
resume_thread() during the early kernel initialization. Might fix #5851.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36530 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* embedded_controller_support() now actually checks all entries of thehrev36529
Axel Dörfler [Thu, 29 Apr 2010 15:09:38 +0000 (29 15:09 +0000)]
* embedded_controller_support() now actually checks all entries of the
  supporting ID array (just that it only contains one entry).
* Fixed missing malloc() result check in embedded_controller_init_driver().
* Style fixes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36529 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years agosyslog_init_post_vm(): If the syslog is disabled, clear sSyslogBuffer. It ishrev36528
Ingo Weinhold [Thu, 29 Apr 2010 14:16:25 +0000 (29 14:16 +0000)]
syslog_init_post_vm(): If the syslog is disabled, clear sSyslogBuffer. It is
already initialized in syslog_init(), if the debug syslog feature is enabled.
Since the area would never be created, the pointer becomes invalid, however,
and could cause a double fault on entering KDL.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36528 a95241bf-73f2-0310-859d-f6bbb57e9c96

12 years ago* updated Beam to work with newer version of opensslhrev36527
Oliver Tappe [Thu, 29 Apr 2010 12:23:30 +0000 (29 12:23 +0000)]
* updated Beam to work with newer version of openssl
* cleanup with respect to 80-chars width

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36527 a95241bf-73f2-0310-859d-f6bbb57e9c96