Commit Graph

34805 Commits

Author SHA1 Message Date
Axel Dörfler
8c8fcd770a * 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
2010-05-05 10:05:25 +00:00
Axel Dörfler
55d903d249 * Fixed typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-05 10:03:32 +00:00
Stephan Aßmus
751c3040c6 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
2010-05-05 09:38:57 +00:00
Axel Dörfler
6b28334ae8 * 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
2010-05-05 09:17:52 +00:00
Stephan Aßmus
f51cdb4436 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
2010-05-05 08:28:49 +00:00
Stephan Aßmus
091440e004 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
2010-05-05 08:00:57 +00:00
Clemens Zeidler
da0e57ba62 Remove leftover from the intel driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-04 21:56:53 +00:00
Matt Madia
d4e8a27c3b Updated BeZillaBrowser.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-04 19:18:03 +00:00
Joachim Seemer
3636190576 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
2010-05-04 18:32:21 +00:00
Ingo Weinhold
24e6e28430 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
2010-05-04 17:43:38 +00:00
Ingo Weinhold
223bdece87 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
2010-05-04 17:37:19 +00:00
Scott McCreary
c591958a9a 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
2010-05-04 16:11:57 +00:00
Ryan Leavengood
5ded0fa344 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
2010-05-04 15:47:30 +00:00
Rene Gollent
bdb32d10a9 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
2010-05-04 15:17:21 +00:00
Rene Gollent
4ab96afd71 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
2010-05-04 14:24:12 +00:00
Matt Madia
a9ab081270 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
2010-05-04 14:13:46 +00:00
Matt Madia
05396d0c8e 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
2010-05-04 14:00:51 +00:00
Matt Madia
1277e13adc 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
2010-05-04 13:25:12 +00:00
Matt Madia
fe0335fc5a 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
2010-05-04 13:09:47 +00:00
Matt Madia
61b45b291d Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-04 12:37:50 +00:00
Matt Madia
9f10e7acc7 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
2010-05-03 21:51:58 +00:00
Matt Madia
853ce54845 Stubbed out support for InstallSourceArchive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-03 20:42:10 +00:00
Matt Madia
45e4791e6a *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
2010-05-03 20:19:50 +00:00
Matt Madia
0da448bf13 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
2010-05-03 20:07:54 +00:00
Stephan Aßmus
1edc8258ef 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
2010-05-03 15:47:53 +00:00
Ingo Weinhold
c4697c01a9 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
2010-05-03 13:15:18 +00:00
Ingo Weinhold
38d2fc985c 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
2010-05-03 12:44:48 +00:00
Alexandre Deckner
ecdb5ec668 * 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
2010-05-03 00:13:59 +00:00
Alexandre Deckner
08b3ae9bb2 * 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
2010-05-02 23:32:54 +00:00
Ingo Weinhold
fa0c1e96a0 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
2010-05-02 23:05:38 +00:00
Ingo Weinhold
6f2772b135 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
2010-05-02 22:52:25 +00:00
Ingo Weinhold
001a0e0987 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
2010-05-02 22:50:30 +00:00
Jérôme Duval
4da0916c58 * 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
2010-05-02 22:35:18 +00:00
Axel Dörfler
7b63fd1c11 * 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
2010-05-02 18:00:20 +00:00
Axel Dörfler
533d9a5f85 * 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
2010-05-02 17:38:11 +00:00
Axel Dörfler
0a51dbde98 * 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
2010-05-02 17:15:13 +00:00
Axel Dörfler
8104bd5422 * 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
2010-05-02 17:12:33 +00:00
Ingo Weinhold
f23be5bbed 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
2010-05-02 15:30:52 +00:00
Matt Madia
ed620d575c 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
2010-05-02 15:08:21 +00:00
Ingo Weinhold
bfb3b117eb 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
2010-05-02 12:56:40 +00:00
Ingo Weinhold
e33adea4dc Fixed PPC build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-02 12:53:47 +00:00
Michael Pfeiffer
5352c349a0 Updated BePDF to version 1.1.1b3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-02 11:37:10 +00:00
Stefano Ceccherini
c65e6981d2 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
2010-05-02 10:34:57 +00:00
Stefano Ceccherini
a8e3f15774 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
2010-05-02 09:58:06 +00:00
Fredrik Holmqvist
3a8771067d Trying to cleanup header order. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-02 08:29:41 +00:00
Rene Gollent
cd9af8e701 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
2010-05-02 01:36:38 +00:00
Ingo Weinhold
c1be1e0761 * 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
2010-05-01 21:33:12 +00:00
Ingo Weinhold
3b0c1b5227 * 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
2010-05-01 20:41:57 +00:00
Ingo Weinhold
907886143f * 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
2010-05-01 19:47:39 +00:00
Ingo Weinhold
a5de454f45 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
2010-05-01 18:50:21 +00:00