Commit Graph

33416 Commits

Author SHA1 Message Date
Ingo Weinhold 9435ae9395 x86 page mapping:
* Removed the page_{table,directory}_entry structures. The bit fields are
  nice in principle, but modifying individual flags this way is inherently
  non-atomic and we need atomicity in some situations.
* Use atomic operations in protect_tmap(), clear_flags_tmap(), and others.
* Aligned the query_tmap_interrupt() semantics with that of query_tmap().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 20:29:03 +00:00
Adrien Destugues b82db87162 Updated lithuanian translation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 19:06:35 +00:00
Ingo Weinhold a99debff88 Added TODOs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 18:21:36 +00:00
Stephan Aßmus 9869082c8d * First attempt at cleaning up the CopyLoopControl mess. Instantiate one
TrackerCopyLoopControl and pass it on when needed. Avoid access to
   gStatusWindow directly. Later on, I will try to make it possible to drop more
   files/folders onto an ongoing copy process to append it to the job, i.e. copy
   those files to the same target folder.
 * For each updating the status, entry_refs were copied instead of passed by
   reference, which was a bit unnecessary overhead.

 * Some coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 17:20:01 +00:00
Axel Dörfler 41e2ba1437 * Added missing check after an allocation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 17:19:14 +00:00
Michael Lotz c126f2f2c4 anevilyak:
* Fix missing parenthesis in r35040 that caused node monitoring not to work.
* Minor automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 15:52:21 +00:00
Stephan Aßmus 878bda6780 Made the partition type of Solaris 10 partitions known. I am not quite
sure if Solaris uses this type for boot partitions only.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 15:46:08 +00:00
Stephan Aßmus 5b0ddd437e Display the partition type from the partition table entry if the
content type is unknown, except if the partition has children.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 15:44:34 +00:00
Stephan Aßmus 06f34bf2d8 Applied patch by "Grey":
Entering the boot loader menu has changed/simplified while reducing the boot time by .75 seconds.
Now it is enough to hold one of shift/Esc/F8/F12/Space. Thanks!

I've also updated the boot loader documentation to reflect the change, but I only mentioned holding shift.
I know that changing the documention directly is not preferred anymore, but I wanted to make sure this
patch is complete.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 15:02:55 +00:00
Stephan Aßmus 7974d3dcf3 Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 14:33:35 +00:00
Stephan Aßmus 2865e5a048 Patch by Humdinger:
Changed strings to sentence case in the rest of the Tracker code.
Remaining part of case-tracker.diff from #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 12:06:51 +00:00
Stephan Aßmus 82d8aaf85a Patch by Humdinger:
Changed strings to sentence case. The changes in StatusWindow and
FSUtils are missing because I have some unfinished work in progress
in those files. Will commit them separately. This is case-tracker.diff
from #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 12:03:25 +00:00
Stephan Aßmus fcc3e627e1 Patch by Humdiner:
Changed strings in add-ons to sentence case. This is case-add-ons.diff
from #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 11:48:15 +00:00
Stephan Aßmus ab496a4be8 Patch by Humdinger:
Changed various labels in audio drivers to sentence case. This is
case-audio-drivers.diff from #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 11:23:12 +00:00
Stephan Aßmus 3e6fa229d8 Patch by Humdinger:
Switched strings to sentence case in servers and kits. This is the
case-servers+kits.diff applied from #5169. Couldn't spot any possibly
problematic changes.
Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 10:58:34 +00:00
Stephan Aßmus 9563f44bfd Patch by Humdinger:
Changed strings to sentence case in various places. This is the
case-misc.diff part of ticket #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 10:49:58 +00:00
Colin Günther ae8d7c50e5 Patch by mmadia: Adding installoptionalpackage to HaikuImage. This is a
temporary solution as long as there is no package manager available. When
executing the script, it mentions this, too. This fixes #4680. Thank you.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 08:30:35 +00:00
Rene Gollent 671dd80861 Various cleanups:
* Removed dead/obsolete Integrate Non-boot Desktops code.
	* Modified PoseView to ignore the fInvisible attribute of BPoseInfo for now.
	  This has the net effect that the Desktop folder and /boot/var are no longer
	  hidden from the user. To go with this change, Tracker no longer forcibly
	  writes that hidden setting to those folders on access. This feature might
	  be useful again in the future (especially in conjunction with relocating
	  the Trash folder somewhere such as the disk root), but is currently somewhat
	  problematic because those dual-booting with BeOS will still have a Tracker
	  that force writes those attributes which would bring us back to square one
	  with respect to showing the Desktop folder when we start respecting the
	  attribute again. Suggestions welcome. Haiku-only users can remove the
	  _trk/pinfo_le attribute on those folders to remove the invisibility
	  in any case.
	* TrackerSettings: Removed obsolete desktop integration settings. Also
	  modified TrackerSettings parser to skip unrecognized settings instead
	  of aborting the settings file parsing process entirely.

Closes ticket #2872.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 00:41:43 +00:00
Karsten Heimrich 4b6c586b03 * Fixes ticket #5204.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 22:15:23 +00:00
Karsten Heimrich 3c6e2dd685 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 22:12:48 +00:00
Stephan Aßmus c50dfc20df Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 22:11:17 +00:00
Stephan Aßmus 5ea21f5d2d Improved text of error message.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 22:09:59 +00:00
Stephan Aßmus e74e04d656 Added TODO note about making sure that B_FRAWE_EVENTS is part of the flags
as soon as a scroll view is controlling the list view. Otherwise scroll bars
are not updated if FrameEvents() is not called. I can imagine problems, though,
if an application did not set B_FRAWE_EVENTS on purpose and is controlling
the scroll bars itself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 22:09:15 +00:00
Karsten Heimrich bebd84f847 * Make sure frame is on screen on first start without settings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 21:45:46 +00:00
Karsten Heimrich 34df891ea0 * Fix ticket #5243
* Fix some copy & paste error in size string.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 21:03:23 +00:00
Stephan Aßmus 547934cbbd Reverted some of my changes with regards to fCurrentTime and added respective
TODOs. For now, it is easier for applications to work around the status quo
until the TODOs are implemented.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 20:25:59 +00:00
Stephan Aßmus 0b6ac0b7a8 * White space cleanup
* Added myself to copyrights, since I added some stuff to MediaExtractor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 20:24:10 +00:00
Stephan Aßmus 9728aac6cd Whitespace cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 20:22:38 +00:00
Stephan Aßmus 33671742a5 We definitely don't want a global lock, even when not using the chunk cache.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 20:22:22 +00:00
Stephan Aßmus a2b71035ae Updated to already implemented features.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 20:20:37 +00:00
Stephan Aßmus ecc1234fbe Apparently some GCC 4 fixes...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 20:18:50 +00:00
Stephan Aßmus 0d7c802fa5 "page setup" is appended to the driver name. Thanks PulkoMandy for the heads
up!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 20:16:10 +00:00
Stephan Aßmus 26556405c2 Applied patch by Humdinger which converts printer drivers to use sentence-case.
Thanks a lot! (Part of ticket #5169)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 20:03:56 +00:00
Ingo Weinhold 3b8c056da0 Should have been part of r35023: Introduction of the vm_page::modified flag.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 01:24:40 +00:00
Ingo Weinhold 829f302836 Introduced vm_page::modified flag, which is used by vm_unmap_page[s]() to
preserve the dirty flag of the mapping without having to potentially move the
page to the modified queue. This lifts the (ignored) requirement that the
pages to be unmapped must not be busy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-12 01:22:09 +00:00
Adrien Destugues b3a6a13635 Preliminary support for the proper frame format for davicom devices.
It still miss at least some checks about packet sizes and frame termination and probably some more error handling.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 22:21:33 +00:00
Ingo Weinhold 3fb2a94dfb * Inline {acquire,release}_spinlock(), when spinlock debugging is disabled.
* Use atomic_{and,or}() instead of atomic_set(), as there are no built-ins
  for the latter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 22:13:11 +00:00
Ingo Weinhold 9c6720c064 Fixed two instances of debug code I missed to adjust in r35004. Fixes #5242.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 22:10:12 +00:00
Adrien Destugues a16d0e47d8 Fixed a stupid bug preventing media stauts to become active.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 21:39:43 +00:00
Ingo Weinhold 4f7b2c67b0 * gcc 4 features built-ins for atomic operations. If the macro
B_USE_BUILTIN_ATOMIC_FUNCTIONS is defined most atomic_*() functions are
  redefined as macros using the built-ins directly.
* Enabled that feature for the x86 build. Might work on other platforms as
  well, but that needs to be tested.

No significant speedup for the -j8 Haiku image build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 21:38:07 +00:00
Ingo Weinhold 1a837b3910 Tell gcc to produce code for Pentium at least. Doesn't seem to make any
difference performancewise though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 21:12:37 +00:00
Stephan Aßmus 98664e52dd Patch by Andreas Färber:
* Fix the boot net stack's IPService to base the calculation payload size
   on the IP-indicated packet size instead of the Ethernet payload.

Thanks a lot! Fixes ticket #5234.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 20:50:06 +00:00
Ingo Weinhold 4eb548a8ae Removed useless assigning of the default values and use a switch for the
architectures.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 20:36:24 +00:00
Jérôme Duval c8eb5b0bdf * regenerate config.h as it seemed not the good one for diffutils
* added sdiff command to the build and the image


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 20:23:34 +00:00
Ingo Weinhold 451ca8b4b4 PAGE_TYPE_GUARD was unused and for the other two types a simple one bit flag
suffices. Therefore replaced vm_page::type by vm_page::is_dummy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 19:13:14 +00:00
Oliver Ruiz Dorantes 5084d83333 - Do not delete net_buffer in frame container, as it or its fragments have already been deleted in driver transport layer
- Style



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 18:04:14 +00:00
Ingo Weinhold d7455de2f6 allocate_page_run(): Use temporary lists to store the pages we're allocating.
This makes appending the pages to the active queue more efficient and we
don't need the vm_page::is_cleared bit anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 16:36:31 +00:00
Ingo Weinhold a0b07ebaab Added AppendUnlocked() version that appends a list of pages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 16:31:44 +00:00
Adrien Destugues eb7157a4b6 Localize virtualmemory preflet.
Patch done by mt, with some changes by me following sentence-casing of the preflet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 13:39:27 +00:00
Adrien Destugues 7a2f113eaf Added japanese translation for keyboard preflet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-11 12:06:25 +00:00