Commit Graph

33950 Commits

Author SHA1 Message Date
Oliver Tappe
bbaf002932 * fixed copy'n'paste bug in comment
* automatic whitespace cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 22:27:14 +00:00
Fredrik Holmqvist
1cb8d6e5c6 Reverting r35592, that checked that it was a valid 32 bit physical address, now that #5449 is fixed. (So we use the ACPICA code without modifications).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 21:12:01 +00:00
Axel Dörfler
9562c7f592 * Fixed #4339 - I did not use stimut's patch (but thanks a lot, I wouldn't even
have started looking into it without it!), but solved it a bit differently by
  moving the state saving into the destructor, and removing the tab in question
  manually afterwards.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 18:44:28 +00:00
Ingo Weinhold
d40a935560 Boot loader (x86 mmu.cpp):
* Made the page table allocation more flexible. Got rid of sMaxVirtualAddress
  and added new virtual_end address to the architecture specific kernel args.
* Increased the virtual space we reserve for the kernel to 16 MB. That
  should suffice for quite a while. The previous 2 MB were too tight when
  building the kernel with debug info.
* mmu_init(): The way we were translating the BIOS' extended memory map to
  our physical ranges arrays was broken. Small gaps between usable memory
  ranges would be ignored and instead marked allocated. This worked fine for
  the boot loader and during the early kernel initialization, but after the
  VM has been fully set up it frees all physical ranges that have not been
  claimed otherwise. So those ranges could be entered into the free pages
  list and would be used later. This could possibly cause all kinds of weird
  problems, probably including ACPI issues. Now we add only the actually
  usable ranges to our list.

Kernel:
* vm_page_init(): The pages of the ranges between the usable physical memory
  ranges are now marked PAGE_STATE_UNUSED, the allocated ranges
  PAGE_STATE_WIRED.
* unmap_and_free_physical_pages(): Don't free pages marked as unused.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 18:13:06 +00:00
Ingo Weinhold
a93fa3c9ea More debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 17:50:21 +00:00
Ingo Weinhold
dcdf2ab981 Extended assert output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 17:49:46 +00:00
Matt Madia
0010ec111c Expander checks B_USER_DATA_DIRECTORY and B_COMMON_DATA_DIRECTORY for
expander.rules, not B_COMMON_ETC_DIRECTORY.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 17:39:14 +00:00
Matt Madia
8c2cbd9221 Corrected the XZ-Utils expander rules
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 17:36:08 +00:00
Matt Madia
f8b1bf84a2 Added XZ-Utils as an optional package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 14:42:30 +00:00
Matt Madia
ce811940ba Moved the optionalpackage P7zip's code for creating expander.rules into a new
rule AddExpanderRuleToHaikuImage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 14:41:06 +00:00
Michael Lotz
1487898473 * The MBR boot code did execute the check for disk extensions with the wrong
magic code. This would lead to them not being detected on systems where the
  BIOS (rightfully) returns an error in this case. Since the CHS fallback can't
  work it would then fail with "Missing Operating System".
* Fixed a typo, an 80 char limit violation.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 01:28:49 +00:00
Michael Lotz
aceebab740 Add a CHS conversion function. It is not used though as we can't generally make
valid CHS addresses due to not knowing the geometry of the target device
beforehand. So it's mostly just for completeness...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 01:22:11 +00:00
Michael Lotz
e3c9401739 Add missing dependency that would cause the MBR not to be rebuilt on changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 00:53:41 +00:00
Rene Gollent
ddee094350 Add an extra sanity check to Tracker's automatic text clipping extraction when
drag and dropping text files: before it would blindly read the entirety of the
file's text contents regardless of size, which probably led to more than a few
nasty surprises when someone attempted to drag very large (i.e. multimegabyte)
text files. We now clamp the amount of data we read to 64KB. Though it's
debatable if this feature is at all useful, since it may potentially be better
implemented by handling entry_refs in dropped messages in BTextView directly
(assuming a compatible type). Opinions welcome.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 00:51:17 +00:00
Ryan Leavengood
a17770f44a Small coding violation. Thanks for the tip Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 22:40:33 +00:00
Michael Lotz
610a2eed63 Made heap classes const just in case. They really already were though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 22:29:23 +00:00
Colin Günther
1d2ac9a4ea Fixing coding style violation. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 22:13:33 +00:00
Matt Madia
e414b34299 Added support for *.tgz,*.tar.gz. It is now consistent with
InstallOptionalHaikuImagePackage's functionality.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 22:13:12 +00:00
Matt Madia
91db81894a Return the original failed exit code and not that of 'echo'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 21:58:27 +00:00
Oliver Tappe
1d69d5aed5 * reverted r35680 as it caused havoc with the other
(basic) development optional packages - needs
  some more investigation

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 21:50:11 +00:00
Matt Madia
02e27d98b0 Removed Wifi-ipw2100+fw and Wifi-iprowifi2200+fw from OptionalPackages, as they are no longer needed. 'install-wifi-firmwares.sh' is to be used instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 21:44:08 +00:00
Jonas Sundström
5850d9447c Clean-up addendum.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 21:02:49 +00:00
Ryan Leavengood
db4da598fc Small refactoring and cleanup:
* Add constants for the length of the resize area on a window border and for 
   the size of the resize knob on document windows.
 * Clarify some comments.
 * Change instances of thumb to knob in reference to the resize knob. It was
   called knob in some places and thumb in others.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 18:57:18 +00:00
Jérôme Duval
0c83d63537 added BasicCommandLineTools in current profiles.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 18:32:19 +00:00
Jérôme Duval
3ec0d375d1 Removed sed (ticket #5501).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 18:27:52 +00:00
Adrien Destugues
b05b467bc4 Add japanese catalog for keymap preference panel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 18:22:20 +00:00
Axel Dörfler
1c164de7d2 * Quick&dirty fix of a race condition that caused an endless loop in
object_cache_alloc(): the ObjectCache::total_objects count was increased in
  ObjectCache::InitSlab(), but the slab was really only added at a later point
  between the cache could be unlocked.
* If a second object_cache_reserve_internal() managed to be called while the
  lock was unlocked, it would see that there has to be space available, and
  will then return -- however, since the other thread could not yet place the
  slab into the cache, object_cache_alloc() cannot find it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 16:35:17 +00:00
Axel Dörfler
2056103694 * Added the standard names for the TCP states as comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 16:21:44 +00:00
Ingo Weinhold
be8c0b2480 Added missing include dependency on generated header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 15:19:20 +00:00
Ingo Weinhold
c0d54ea244 Enabled serial output earlier.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 13:48:31 +00:00
Ingo Weinhold
dfa77fa65b Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 13:47:32 +00:00
Ingo Weinhold
84328c264b Extended assert output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 13:45:02 +00:00
Stephan Aßmus
0c4323bde0 From: Matt Madia
* Fixes check for hybrid builds in installoptionalpackage script.
 * Adds WifiFirmwareScriptData to the packages to ignore.

Closes #5493.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 10:11:22 +00:00
Stephan Aßmus
b6c650ce68 From: Matt Madia
Create the script's tempdir before displaying the initial alert.

Fixes #5509.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 10:05:27 +00:00
Scott McCreary
d3c67d244e Updated tar to 1.22
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 06:22:37 +00:00
Scott McCreary
494d8078c1 Updated neon to 0.29.3 and subversion to 1.6.9
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 03:24:18 +00:00
Colin Günther
2eb71b4eaa Indent the comments to line up with the _AddPackageCredit() method. Should have
been part of r35691, where I applied a patch by mmadia taken from ticket #5457
(which was previously closed by bonefish), with some modifications by me.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 01:10:24 +00:00
Colin Günther
6f144451ab Adding copyright information of WiFi firmwares to AboutSystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 01:03:53 +00:00
Jonas Sundström
b06785e8d2 Clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 00:48:47 +00:00
Colin Günther
87a93eb887 * Adding all remaining wifi drivers.
* List them in alphabetical order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 00:43:13 +00:00
Rene Gollent
fa5956d5f3 Removed obsolete TODO: BMessage is smart enough to already use area transfers if needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:59:28 +00:00
Ingo Weinhold
b7fd1cf61c Patch by Matt Madia:
* Added iprowifi4965 driver to the image.
* Add the firmware for the Wifi drivers that need it to the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:57:28 +00:00
Ingo Weinhold
e82b595ac6 * TRACE(()) -> TRACE()
* Fixed warnings with tracing enabled.
* Improved some debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:45:00 +00:00
Ingo Weinhold
af0572ead2 Fixed debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:30:23 +00:00
Jonas Sundström
b79f164739 Clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:28:45 +00:00
Rene Gollent
a3cd51c725 Cleanup: BMessage::_Reference never hits the case of having to transfer the area since _SendMessage already takes care of this (and transfer_area doesn't allow it to take an area from another team anyways so this code never could have worked).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:28:27 +00:00
Rene Gollent
4f85bc9f18 Cleanup of previous work: whether or not we're talking to app_server is already determined at time of port assignment. As such we don't need to cache or care about that, but rather just cache the target team instead of looking it up from the port info every time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:25:23 +00:00
Rene Gollent
099f9551c7 Cache the app_server port lazily so we don't have to look it up every time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 22:55:43 +00:00
Oliver Tappe
2ee4113182 closing #5499:
* updated optional package ICU-devel to include links to make the libs available
  for development (only links for the current abi are being created)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 22:06:57 +00:00
Rene Gollent
57dc77bb15 ServerLink tried to use the transfer_area semantics backwards ; this failed since only the owner of an area can transfer ownership elsewhere. As a result, sending messages which contained large enough amounts of data would fail entirely. This was most readily visible in Tracker, where some files (i.e. text/plain files where Tracker would attach the text content to the BMessage for DnD clipping purposes) would be undraggable due to the drag initiation message never getting successfully processed by app_server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 21:58:29 +00:00