Commit Graph

33904 Commits

Author SHA1 Message Date
Axel Dörfler
965abdebd5 * BufferQueue::Free() no longer will return negative values. As is, the max
bytes restriction is only a soft limit. This fixes stalling TCP connections
  because everything received would be out of window once this happened.
* Added a TODO to look into TCP's window management - it doesn't seem to be
  right.
* Fixed build with tracing turned on.
* Made the fNumber member of tcp_sequence private.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-15 13:27:26 +00:00
Axel Dörfler
10cb62616f * Fixed destruction order of lock/reference that could lead to access already
deleted memory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-15 13:23:48 +00:00
Axel Dörfler
54f3267e78 * Fixed maintaining the object depot's free magazine count (it's not really used
though).
* Added/improved some KDL commands to make the slab easier to work with from
  KDL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-15 13:22:58 +00:00
Axel Dörfler
2cb3c4eb06 * Improved panic output I recently ran into.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-15 13:20:01 +00:00
Axel Dörfler
4ea83177ff * Implemented a BlockWriter class that now performs writing back blocks.
* Renamed the "busy" stuff to "busy_reading", and added a "busy_writing"
  concept.
* This now allows reading a block (and other blocks), while blocks are written
  back. This should speed all operations needing to write back blocks, like
  unzipping or compiling.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-15 13:07:14 +00:00
Axel Dörfler
fb40740174 * Restructured the notification driven addition/removal of drivers to
driver_events (ie. there is now only a single list to walk).
* Also, the DriverWatcher is now maintained using the driver_events.
  This fixes bug #5005.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-14 22:57:47 +00:00
Axel Dörfler
15fd71bfff * Fixed artwork directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-14 22:29:29 +00:00
Axel Dörfler
3d2b15cdf9 * Reorganized the new/generate menus a bit; the last level will now be
remembered, and a "new" will just continue in this level.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-14 22:29:01 +00:00
Axel Dörfler
755a1de8c1 * BReference no longer uses the deprecated API.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-14 22:22:17 +00:00
Axel Dörfler
01b0c58697 * Renamed "nc" to "netcat" which seems to be its usual name.
* Removed the test driver from the image; it serves no practical purpose.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-14 19:42:46 +00:00
Rene Gollent
82471d43cb When counting new messages in the deskbar replicant, ignore messages that are in the Trash.
Fixes ticket #5401.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-14 03:58:33 +00:00
Stephan Aßmus
861e4437b1 If we already figured out the correct low colow to use in AttachedToWindow(),
we might as well use it. Couldn't see any regressions so far.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-13 11:43:01 +00:00
Fredrik Holmqvist
8bb32d7ee0 Patch by mmadia, and originally jprostko.
* moves Firefox's jam code to BeZillaBrowser
 * echos a warning on Firefox being phased out.
 * sets BeZillaBrowser as a dependency of Firefox 
The last two to ease transition from Firefox. This fixes #3529.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-12 20:45:08 +00:00
Adrien Destugues
8d6ef54c41 Add new translations from hta for zipomatic
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-11 20:18:33 +00:00
Adrien Destugues
d979a502da Update zipomatic translations from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-11 20:18:05 +00:00
Stefano Ceccherini
0b102d72d5 The hpet registers area is already wired, so use the vm_map_physical_memory()
call with the true parameter. Fixes a panic at boot when using the hpet timers


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-11 15:57:59 +00:00
Stefano Ceccherini
a0b5b08b2e Added back the id for rtl8139C+. Tested succesfully under XenServer.
Fixes ticket #5180 (or at least part of it)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-11 15:45:46 +00:00
Stephan Aßmus
4f24f3110b The decision to inform the server about changed flags needs to depend on the
changed flags, not on the new flags! Fixes the server and client going out of
sync when clearing any flag that the server needs to know about.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-11 13:47:29 +00:00
Siarzhuk Zharski
408a0aa2f1 Identification for "Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz" added.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-11 06:41:13 +00:00
Siarzhuk Zharski
087acae77a The mess with Control-modifed symbols fixed. Fix by Algirdas Buckus.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-11 06:38:44 +00:00
Artur Wyszynski
c5b26d73a3 Simplified logic for a previous fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-11 05:05:41 +00:00
Artur Wyszynski
e457eb2a53 Fixed BBox behaviour when it has layout set and BView based class as a label
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-11 04:36:59 +00:00
Artur Wyszynski
e6b13a6d24 Disabled style checking, it's faster without it and gives less false positives
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-10 21:02:25 +00:00
Artur Wyszynski
be8e9d5e21 Reverted style changes pointed by stippi
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-10 20:19:10 +00:00
Artur Wyszynski
98c88afe5f Workaround for polish plural forms for now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 23:58:33 +00:00
Artur Wyszynski
6c7e908b27 Ooops, it should be AboutSystem not Fonts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 23:56:31 +00:00
Rene Gollent
03828629c7 Added Romain Picard to contributors list for his FAT fixes and other previous patches. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 23:55:55 +00:00
Stefano Ceccherini
7ae188c379 Patch by Grey which fixes "auto-enabling" of the boot loader screen debug
which happened on some systems (mine included).
Should close ticket #5341.
Thanks! 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 19:47:23 +00:00
Artur Wyszynski
e381020556 Disabled fenv for ppc & arm platforms for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 14:10:07 +00:00
Artur Wyszynski
54b738a10a * Localized AboutSystem
* Added polish translation made by me
* Added myself & Hubert Hareńczyk to polish translators
* Corrected my last name
* Honor 80lines
* Style cleanup



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 12:35:31 +00:00
Artur Wyszynski
73c30018b6 This should have been part of r35436: Forgot to add pl.catkeys in VirtualMemory Jamfile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 06:43:37 +00:00
Artur Wyszynski
38ecc1a764 Added FreeBSD fenv implementation - tested with dmd port, seems that it works
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 06:09:28 +00:00
Artur Wyszynski
5fb7d0a580 Added a set of polish translations, translated by me & Hubert (Hugen)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 05:32:43 +00:00
Rene Gollent
731480e891 Call UpdateTextChanged() in BSlider::AttachedToWindow() instead of updating the text manually. Otherwise when a subclass overrode UpdateText and the value hadn't yet been changed, the text would never be updated correctly which resulted in several problems in the VirtualMemory preflet when localizations used a longer string for "Requested swap file size:".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 03:55:52 +00:00
Rene Gollent
177ea1a461 Apply patches by romain:
- Initialize flags argument correctly in get_vnode. 
	- Fix issues with handling the FAT mirror incorrectly.
	
Should resolve ticket #3690 and possibly others.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 01:13:35 +00:00
Artur Wyszynski
cee04e8074 Fixed various errors/warnings reported by cppcheck:
* memory leaks
* resource leaks
* added const's to getters
* removed a few reundant conditions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-08 22:50:38 +00:00
Artur Wyszynski
c0cd8cf199 Added cppcheck wrapped for use with Haiku sources (it's a tool for static c/c++ code analysis)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-08 20:39:52 +00:00
Michael Lotz
f6a6245c89 * Adding malloc_debug.h that exposes the malloc_debug API.
* Moving some functions around, removing and adding others for the public API.

I've written a blog post at haiku-os.org to go as documentation for this
introducing the API and the other helpful bits.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-08 01:27:21 +00:00
Rene Gollent
7438e94206 Fix spacing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-08 00:47:11 +00:00
Rene Gollent
807bdfdf67 As pointed out by mmlr, we only need to provide the symbol, and only in the case of gcc2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-08 00:46:22 +00:00
Rene Gollent
a5c2457fa8 Re-add dev_t version of FSGetDeskDir for bin compat reasons: BeIDE (unfortunately) appears to make use of some of the private FSUtils calls. Reimplemented call to use the normal FSGetDeskDir ignoring the passed in volume argument since we no longer have a desktop directory any place else. Fixes the problem reported in #5135.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-08 00:36:25 +00:00
Michael Lotz
7f8ffb252f Also add /boot/common/add-ons to ADDON_PATH. I don't know why this wasn't done
in r23974, but seeing that it was added to the runtime_loader default paths as
well I take it this was an oversight.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-07 18:47:37 +00:00
Michael Lotz
60fb713d19 Must only advance by step sizes, otherwise we may end up with misaligned pages
again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-07 16:55:43 +00:00
Michael Lotz
b07ef504a0 Add a memalign test that checks for valid alignments and fills/verifies
allocated buffers to validate that the full allocated size is actually usable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-07 02:11:31 +00:00
Michael Lotz
160abe2685 Sync two locking changes from kernel heap. This just moves the page locking into
the contiguous page allocation function and unlocks a bin locker a bit earlier.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-07 02:02:13 +00:00
Michael Lotz
b7d3ddaa0e Sync kernel heap with alignment handling fixes, simplifications and performance
improvements from debug heap in r35422.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-07 01:59:53 +00:00
Michael Lotz
638a24fa52 * Seperate the raw page wise allocation and allocations from bins.
* Make the contiguous page allocation capable of aligning the allocation
  and make it more clever by checking up front if there's a chance of getting
  enough pages at all, by giving up earlier if the page count can't be fit
  anymore, and in the alignment case by only checking the pages which have a
  valid alignment.
* If the alignment requirement is > B_PAGE_SIZE we now use page allocation
  directly, because the bins aren't necesarily aligned on their size past
  B_PAGE_SIZE anymore.
* When doing aligned bin allocation, calculate the aligned size up front and
  choose the right heap for the allocation.
* Also when doing aligned bin allocations we not only need to round up the size
  but also ensure that the bin we choose is aligned at all.
* Moved adding leak check info into it's own function.

Fixes various misalignment problems when working with alignments > B_PAGE_SIZE
or when using alignments < allocation size. Also the directly aligned page
allocations now only use up as many pages as actually required instead of
allocating based on the rounded up to align size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-07 01:09:27 +00:00
Fredrik Holmqvist
629dc0f55d Patch by mmadia to echo that BasicCommandLineTools isn't availble on the platform. Fixes #5365.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-06 15:57:31 +00:00
Fredrik Holmqvist
1b72402c99 Patch by mmadia "In function AddSymlinkToHaikuImage(), mkdir -p "${dirTokens}" needs the '$' escaped.". This fixes #5373.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-06 15:46:08 +00:00
Fredrik Holmqvist
80fc2bee46 Patch by mmadia to add iconv to vim. Fixes #5132.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-06 15:41:37 +00:00