Commit Graph

34009 Commits

Author SHA1 Message Date
Matt Madia
b353282928 Extended AddWifiFirmwareToHaikuImage to support a boolean, which determines
whether to extract the firmware archive onto Haiku Image or to simply copy
it intact. This allows the ipw2100 and iprowifi2200 firmware archives to be
copied onto the default images. Fixes #5523


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 17:23:06 +00:00
Axel Dörfler
88f1263865 * The slab_cache command now also dumps the actual slab lists.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 15:15:49 +00:00
Ingo Weinhold
6dacf0502d Ignore physical memory below 1 MB. This is a work-around for buggy BIOSes
providing incorrect memory types. It doesn't cost us anything, since the
kernel reserves all but the unusable range later anyway. Should fix #1925.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 14:54:46 +00:00
Axel Dörfler
6a7f219c8d * block_notifier_and_writer() will now flush 1000 blocks when reaching the soft
memory limit.
* Improved debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 14:39:26 +00:00
Matt Madia
8acc2e0854 Fixed a typo in DownloadFileIfNotCached. Fixes #5519.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 12:07:59 +00:00
Axel Dörfler
0181fe4b21 * Replaced cached_block::accessed (the number of accesses) with last_accessed
(the time of the last access), as what we really want is a frequency/last
  access time scoring, and accessed alone is useless for that.
* put_cached_block() no longer frees any unused blocks.
* The low memory handler will now only lock the cache if there is something
  to do. Also, it did not take address space warnings into account.
* Even when memory is critical, we don't free all unused blocks anymore - if
  the number of blocks we free now (10000) is not sufficient to get out of the
  critical condition, chances are good that we will be called again :-)
* block_notifier_and_writer() now tries to make sure that the total block cache
  memory consumption grows not much larger than half of the available RAM.
* This should all help to limit the block cache usage a bit better. Hopefully,
  a checkfs run will no longer run out of memory here (couldn't test yet).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 10:28:57 +00:00
Scott McCreary
b06a8799f9 Updated openssl to 0.9.8m and curl to 7.20.0
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 07:59:53 +00:00
Rene Gollent
7c0f5738b3 Remove Tracker's special DnD handling. Instead, BTextView/BTextControl now
honors drag messages containing entry refs and resolves the path of the first
one contained. Will work on a more sophisticated solution that would allow
optionally extracting the file text instead via right click drag context menu 
when I have more time.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 00:02:02 +00:00
Oliver Tappe
f435abb00a Fix #5499 for real:
* the optional package ICU-devel now explicitly installs the appropriate
  symlinks for the development libraries as required (for both standard
  and hybrid builds)
* ICU-devel now depends on Development (more indicative than required, but
  I think it makes sense)
Thanks to Matt and Rene for pointing me in the right direction.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 22:30:40 +00:00
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