Commit Graph

35476 Commits

Author SHA1 Message Date
Stephan Aßmus
d0a2818e88 * Do not use the Scaler anymore for asynchronous bilinear filtering, but pass
B_FILTER_BITMAP_BILINEAR to DrawBitmap(). There is virtually no delay at all.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-10 09:43:10 +00:00
Stephan Aßmus
6794f5b5c2 Removed obsolete run script.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-10 09:03:00 +00:00
Stephan Aßmus
1179b11bf2 Work around a bug in the tool tip implementation that prevents changing the
tool tip once it has been displayed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-10 09:02:29 +00:00
Stephan Aßmus
70e39d0927 Adding a button at a specific position did not work since converting LaunchBox
to using layout management. When storing the settings, the new button was stored
last. Using the BLayoutItem at the given index retrieves the correct button.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-10 08:52:57 +00:00
Ingo Weinhold
5d6d1935d6 Implemented X86PagingMethodPAE::Init() and all of its direct dependencies:
* The 32 bit paging structures inherited from the boot loader are translated
  to PAE structures and PAE is enabled.
* Implemented the initialization of the initial PhysicalPageSlotPool, so that
  the physical page mapper can be initialized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-09 21:31:00 +00:00
Ingo Weinhold
38bde24102 Added some definitions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-09 21:23:45 +00:00
Ingo Weinhold
e5885c7d0c Moved kPageTableAlignment to paging.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-09 21:22:23 +00:00
Ingo Weinhold
9e101ddfcc Definition for CR4 PAE bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-09 21:21:48 +00:00
Ingo Weinhold
641b3c82df Renamed allocate_early_physical_page() to vm_allocate_early_physical_page()
and made it public.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-09 21:21:18 +00:00
DarkWyrm
0b50919e23 Make FileTypes edit resources on resource files and not just applications
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-09 14:37:00 +00:00
Ingo Weinhold
2ea7b17cf3 * vm_allocate_early(): Replace "bool blockAlign" parameter by a more flexible
"addr_t aligmnent".
* X86PagingMethod32Bit::PhysicalPageSlotPool::InitInitial(),
  generic_vm_physical_page_mapper_init(): Use vm_allocate_early()'s alignment
  feature instead of aligning by hand.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-09 11:15:43 +00:00
Ingo Weinhold
c8a1d3ad1e Added PAE bits and type definitions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 22:12:20 +00:00
Ingo Weinhold
a410098f28 Only use PAE, if supported by the CPU.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 21:43:19 +00:00
Ingo Weinhold
12f0b50c3a Removed not needed and no longer existing header. Fixes the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 21:21:55 +00:00
Ingo Weinhold
5b4d62a261 Skeleton classes for PAE support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 21:15:29 +00:00
Stephan Aßmus
d698997098 Fixed misspelled header, closes ticket #6147.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 21:07:38 +00:00
Ingo Weinhold
1c7fda897e * Moved X86VMTranslationMap32Bit to its own source file.
* Made all helper function operating on paging structures static methods of
  X86PagingMethod32Bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 20:35:53 +00:00
Joachim Seemer
2d192e7a80 Improved TeamManager default button behaviour, closing #6051.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 16:43:14 +00:00
Ingo Weinhold
2434bdc4d9 * Introduced global variable gX86PagingMethod, so the paging method can be
accessed from anywhere. Added static X86PagingMethod32Bit::Method()
  returning it as the subtype pointer -- to be used in the code related to
  that method only, of course.
* Made a bunch of static variables non-static members of
  X86PagingMethod32Bit and added accessors for them. This makes them
  accessible in other source files (allowing for more refactoring) and saves
  memory, when we actually have another paging method implementation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 16:18:57 +00:00
Ingo Weinhold
f0675bf757 Moved X86PagingStructures32Bit into its own source/header pair.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 15:39:47 +00:00
Ingo Weinhold
1b3e83adde Moved paging related files to new subdirectories paging and paging/32bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 15:00:56 +00:00
Wim van der Meer
3417d2a90f * Rename "ScreenshotApp" to "Screenshot", rename its signature from
"application/x-vnd.haiku-screenshotapp" to "application/x-vnd.haiku-screenshot"
* Rename "Screenshot" to "screenshot", rename its signature from
"application/x-vnd.haiku-screenshot" to "application/x-vnd.haiku-screenshot-cli"
* Move screenshot from /system/apps to /bin


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 13:15:17 +00:00
Ingo Weinhold
5aa0503c7c * Removed i386_translation_map_get_pgdir() and adjusted the one place where it
was used.
* Renamed X86VMTranslationMap to X86VMTranslationMap32Bit and pulled the paging
  method agnostic part into new base class X86VMTranslationMap.
* Moved X86PagingStructures into its own header/source pair.
* Moved pgdir_virt from X86PagingStructures to X86PagingStructures32Bit where
  it is actually used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 00:20:34 +00:00
Ingo Weinhold
b0d49fc06b Made X86PhysicalPageMapper and the large memory implementation paging method
agnostic:
* Changed return value of X86PhysicalPageMapper::[Interrupt]GetPageTableAt()
  from page_table_entry* to void*.
* Made PhysicalPageSlotPool an abstract base class. The paging method provides
  an implementation and creates the pools now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 23:11:01 +00:00
Stephan Aßmus
8f8c973796 Updated indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 21:17:49 +00:00
Stephan Aßmus
32753ae9b5 Add some columns to judge the look...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 21:12:15 +00:00
Ingo Weinhold
c6caf520ca * Added a level of indirection for the arch_vm_translation_map functions.
Introduced the interface X86PagingMethod which is used by those. ATM
  there's one implementing class, X86PagingMethod32Bit.
* Made X86PagingStructures a base class, with one derived class,
  X86PagingStructures32Bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 20:36:33 +00:00
Stephan Aßmus
c411bbc095 Resolved TODO about recursively removing watched files and folders when a
directory is moved outside the watched hierarchy or deleted entirely. It
involves another TODO, because the generated notifications are B_ENTRY_REMOVED,
while B_ENTRY_MOVED is probably more correct.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 17:37:33 +00:00
Matt Madia
da33f7cd03 Corrected license to the version included with 5.0.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 17:12:56 +00:00
Matt Madia
3317dc6d15 Copy documentation as per DiskUsage's license requirement.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 08:03:09 +00:00
Matt Madia
d5dd94dd4b propset all html files in docs/welcome to svn:mime-type text/html.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 05:48:23 +00:00
Matt Madia
39e246a934 Updated svn:mime-type to text/html. Now all html files in userguide should have
this property.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 05:26:38 +00:00
Matt Madia
57ae4f16eb Updating svn:mime-type to text/html. If successful, the remaining html
files in userguide will be updated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 05:24:40 +00:00
François Revol
8e129380ee Add a resource file for mount_nfs but don't use it just yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 20:49:03 +00:00
François Revol
9f015335c0 Unfinished Themes addon to set Pulse color.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 20:40:52 +00:00
Jérôme Duval
fede7ab530 * updated if_re to HEAD from FreeBSD, keeping most Haiku changes (re_defrag was removed for the time being).
I'd like to know if keeping re_defrag is required. Tests welcome (see #5180).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 17:53:25 +00:00
Jérôme Duval
af90dcab6f added pci_set_max_read_req, pci_get_max_read_req and definitions required by if_re.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 17:27:22 +00:00
Matt Madia
6c4ac6b0b1 The User Guide and Welcome now contain their own copies of images/.
* deleted the non-used docs/images/
 * updated the optional package Welcome accordingly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 16:38:37 +00:00
Jérôme Duval
786171e012 * Locks fLocker when drawing. This avoids a cleanup while drawing (fixes bug #6138).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 14:05:04 +00:00
Jérôme Duval
7269cc8afd * sets fSaverView in RemovePreview() to NULL, thus avoiding a crash in ModulesView::_CloseSaver().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 14:02:42 +00:00
Ingo Weinhold
e845f05e28 Patch by Andreas Faerber: stack_trace(): Skip stack_trace() itself in the
stack trace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 13:05:47 +00:00
Ingo Weinhold
48f2523d15 Patch by Andreas Faerber: Implemented arch_debug_get_caller().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 13:03:17 +00:00
Ingo Weinhold
0d319095f4 UnmapPages(), UnmapArea(): Fixed incorrect check. All actually mapped pages
would be skipped. Concerned non-x86 only, as for x86 the methods are
overridden.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 12:42:01 +00:00
Stephan Aßmus
a478859f51 Added liblocale and the ICU libs to the libbe_test target (app_server test
environment). Allows "TARGET_PLATFORM=libbe_test jam install-test-apps" to
build cleanly again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 12:11:43 +00:00
Ingo Weinhold
0618516355 Debug output of map_backing_store(), vm_map_physical_memory[_vecs](): Print
the potential input parameter (virtual address) rather than its address. As
suggested by Andreas Faerber in #6141.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 11:28:33 +00:00
Axel Dörfler
cdfd124b11 * Now phys_addr_t should be used where needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 09:39:38 +00:00
Axel Dörfler
d48edac1a6 * Should fix #6132, PropertyInfo.h was not self contained.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 09:37:46 +00:00
Wim van der Meer
42f6e06f3b Patch by Karvjorm to localize the Pulse demo application. This closes ticket #6110.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 06:25:13 +00:00
Ingo Weinhold
1ba89e67ed Removed no-op VMTranslationMap::InitPostSem() and
VMAddressSpace::InitPostSem().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-05 22:20:34 +00:00
Ingo Weinhold
c3e021e862 x86:
* Renamed i386_context_switch() to x86_context_switch().
* x86_context_switch() no longer sets the page directory.
  arch_thread_context_switch() does that explicitly, now. This allows to solve
  the TODO by reordering releasing the previous paging structures reference and
  setting the new page directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-05 22:09:24 +00:00