Commit Graph

40639 Commits

Author SHA1 Message Date
François Revol
afa453ee2a Make the page table types scalar, to make them simpler to use with atomic ops, and define the corresponding bitmasks.
While structs looked cleaner at first sight, it didn't really was any simpler.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 22:56:20 +00:00
Rene Gollent
6c59d52b62 Rework _Save/LoadSplitSettings() to generally work for split views with any number of splits.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 22:45:07 +00:00
Rene Gollent
0d973a90bc Add CountItems() convenience function to BSplitView.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 22:41:55 +00:00
Rene Gollent
c1f96856b7 Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 22:07:20 +00:00
Ingo Weinhold
951c43ff21 Allocate VMKernelAddressRange and VMKernelArea in their own object
caches to reduce slab area fragmentation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 22:04:37 +00:00
Rene Gollent
6877edf850 Also save/restore the image and thread splitters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 21:54:46 +00:00
Rene Gollent
ce90d2d164 We now save and restore the main splits of the team window. The tab split
will be joining them shortly.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 21:49:24 +00:00
Ingo Weinhold
f8154d172d mmlr (distracted) + bonefish:
* Turn VMCache::consumers C list into a DoublyLinkedList.
* Use object caches for the different VMCache types and the VMCacheRefs.
  The purpose is to reduce slab area fragmentation.
* Requires the introduction of a pure virtual VMCache::DeleteObject()
  method, implemented in the derived classes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 21:14:11 +00:00
Ingo Weinhold
ef9d9a1720 Add new operator that takes an ObjectCache* and allocation flags and
template function object_cache_delete() to be used to delete objects
constructed with it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 21:12:09 +00:00
Rene Gollent
04f0e3d37b * Simplify GUITeamUISettings to just use variants mapped by string keys. The
Setting classes didn't wind up being quite as useful for that purpose as
  I'd originally hoped, so they remain with their primary purpose of
  programmatically generating menus and such.

* When GraphicalUserInterface constructs the team window, immediately start
  the message loop. This allows us to reorder startup so we only activate
  the user interface after having restored settings.

* TeamWindow now saves/restores its frame on a per-team basis.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 21:06:02 +00:00
Rene Gollent
2d36b8d9a7 Fix missing links in gcc2 ICU package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 20:38:31 +00:00
Rene Gollent
3c776efbea Fix bug which would cause infinite recursion if one attempted to construct a variant using a BRect.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 20:18:53 +00:00
Adrien Destugues
0cc215800b Patch from bkmx.
Fixes crashes in the game sound code when using small buffers.

Closes #5093, but there are other issues left.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 20:05:31 +00:00
Adrien Destugues
d3fdcc312a Use the system mixer instead of trying to instanciate another one in the game kit. This allows to use the game kit class in an hybrid way, and closes #7351.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 19:44:46 +00:00
Adrien Destugues
4a586de04d Add simpler test that does not involve the media kit and generates a simple sawtooth wave.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 19:39:03 +00:00
Michael Lotz
b9a6b7844d Make the USB physical memory allocator more robust. Wait for space to become
available when there is none instead of spinning around. Might help with #8053
and #8058, though it's possible that leaks or interrupt issues are the cause
for these.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 19:31:43 +00:00
Ingo Weinhold
b0ee1941f3 Revert change that did accidentally sneak into the style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 19:12:46 +00:00
Adrien Destugues
bb664ea3a2 Fix build for this test.
Shows a problem with the media kit : building it with gcc4 and trying to run it on a gcc2 install results in failure for trying to load a gcc2 media add-on.

Same applies for push_game_sound_test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 19:10:51 +00:00
Ingo Weinhold
ab3d6a3eaf Style cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 19:09:48 +00:00
Rene Gollent
bbc851098d Add hooks to UserInterface to allow for saving/restoring of UI settings.
Make use of them as appopriate.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 19:04:24 +00:00
Rene Gollent
3fa483ccda Fix ICU portion of PPC build until someone gets around to building an updated PPC package for it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 16:29:05 +00:00
Adrien Destugues
e0890a26f4 Fix the layouting of notifications again.
I'm not sure about the ApGroupView being (and looking like) a BBox.
Thoughts about that ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 16:25:29 +00:00
Michael Lotz
3d1f420b23 bonefish+mmlr:
* Add "allocation_infos" KDL command. Can be used to print the allocation info,
  including the stack trace, given an object cache, slab, allocation within a
  slab or allocation address. It can also optionally be filtered by team/thread.
* Fix the AllocationDetailPrinterCallback to not access a possibly invalid
  trace entry for printing a stack trace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 16:12:48 +00:00
Michael Lotz
81fea74394 bonefish+mmlr:
Add MemoryManager::DebugObjectCacheForAddress() to retrieve the ObjectCache for
a certain address from KDL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 16:09:49 +00:00
Michael Lotz
9a79e531ef bonefish+mmlr:
* Introduce TracingMetaData::IsInBuffer() to validate that a certain memory
  range is within the valid tracing buffer limits.
* Use that when validating in tracing_is_entry_valid() before trying to access
  the entry, resolving a TODO.
* Validate the candidate time against the handed in time (if specified) as an
  additional check.
* Tiny unrelated text cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 16:02:07 +00:00
Adrien Destugues
279ca67d6e Missing from previous commit. The files for notifications are quite scattered all around...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 15:08:00 +00:00
Adrien Destugues
4ec6c3a042 Merge patch by plfiorini :
Some changes to the API for notifications.
	* Don't go through be_roster to send a notification, but use Notification->Send() instead.
	* Rename App to Group to make the purpose clearer

And some changes to the notification code itself:
	* Use the Notification class as the way to convey informations about a notification. Allows easier extension of this class
	* Code cleanup
	* Use of the layout kit for the notify window

Unfortunately, the latter part clashes quite a bit with the changes I already did to the notification window, so it's now quite broken. Working on that next, but I wanted to separate that work from the patch ...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 14:57:43 +00:00
François Revol
561696cbfc TODO list for the m68k port, for when I fix the kernel build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 14:51:15 +00:00
Rene Gollent
9b15fe0a81 Further flesh out GUITeamUISettings to be able to save/restore. This should be
more or less complete now, or at least far enough along to start doing some
things with it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 14:01:24 +00:00
Rene Gollent
df42e66b1b Missed this on previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 13:28:01 +00:00
Joachim Seemer
ab286c882f Updated Finnish catkeys. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 13:21:53 +00:00
François Revol
1bf8552a7b Added an optional package for dmidecode <http://www.nongnu.org/dmidecode/>, which provides useful information from the BIOS, including motherboard vendor and name.
Source package is at http://revolf.free.fr/beos/dmidecode-2.11_haiku-2011-11-02.tar.xz


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 13:19:39 +00:00
François Revol
378601a77e Make sure /dev/mem is published before using dmidecode as the current version doesn't use /dev/misc/mem (pending patch to fix it). This allows to fill in machine vendor and name automatically and more precisely.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 13:13:08 +00:00
Rene Gollent
b6c374c34b Update ICU to version 4.8.1.1:
- Various minor bugfixes.
	- Update to tzdata2011k.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 12:20:52 +00:00
Matt Madia
fc86ce2421 More links
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 12:16:08 +00:00
François Revol
9ea67ec09d Update comment; SCM URI schemes are handled by checkitout.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 10:44:15 +00:00
Matt Madia
decc5869dc URL fix. Added ohloh + HaikuPorts.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 10:37:27 +00:00
François Revol
f9ce367963 Add some URI schemes to the list of suggested new ones to support.
Added support for the useless about: URI scheme, which asks an app with the provided signature its about window, or launched AboutSystem.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 10:25:32 +00:00
Matt Madia
e0aca14d7d Started to document important websites and information for those new to Haiku.
Not complete. Additions and feedback appreciated. Perhaps this could
eventually become part of the User Guide or Welcome page(?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 10:11:21 +00:00
François Revol
046dcae9c8 Make the TV app support the IANA-registered tv: URI scheme, so at least it launches when you "open tv:" in Terminal.
cf. http://tools.ietf.org/html/rfc2838
Yeah I know it's useless but so l33t.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 09:42:05 +00:00
Rene Gollent
7bf8fcfab4 Make rect data part of union as suggested by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 09:19:24 +00:00
John Scipione
38a0577422 Set SORT_MEMBERS_CTORS_1ST variable to YES in the Doxyfile so that constructor and destructor methods will get sorted before member methods in class documentation files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 09:17:38 +00:00
François Revol
f558ec135a Fix header and class name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 08:56:25 +00:00
John Scipione
90a55c448a Copy paste mistype, B_WEEKDAY_FRIDAY instead of B_WEEKDAY_THURSDAY twice.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 08:40:28 +00:00
John Scipione
6ac7032dc6 Update the style of the Haiku Book to resemble the User Guide.
If you have never seen this before you are in for a bit of a shock.
Update the Doxyfile to 1.7.3 (the version that gets auto-generated).

Update the book.dox front page with some nice introductory text.

Add new documentation for the following classes:
BCheckBox
BClipboard
BColorControl
BControl
BEntryList
BView (preliminary)

Remove redundant documentation from src/kits/storage/EntryList.cpp

Minor documentation update for the following classes:
BAlert
BApplication
BArchivable
BBox
BButton
BCatalog
BFindDirectory
BHandler
BUnarchiver
BString

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 08:36:02 +00:00
John Scipione
740ae7fef6 Return B_ERROR if a locking error occurs in while locking the BLocale object, return B_BAD_VALUE if an ICU error occurs or the passed in value is NULL. Update BLocale API documentation to reflect this and also add some more documentation fixes. Closes #7901 pending confirmation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 06:02:36 +00:00
John Scipione
8d15934d9b Add US and international keyboard layout files for ThinkPad, ThinkPad T400s,
ThinkPad X1 and ThinkPad X100e keyboards. The name of these layout files
correspond to the model that introduced them and should cover every US and
international laptop made by IBM and Lenovo except Japanese (and perhaps some
other Asian locale) versions.

Like the Apple Aluminum keyboard layouts these are neatly tucked away in a
ThinkPad submenu in the Keymap preference app.

Removed the 'IBM Laptop International' keyboard layout file which has been
superseded by 'ThinkPad International'. Closes #8021

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 04:51:30 +00:00
John Scipione
08cd4bc208 Add 3 new Apple Aluminum keyboard layout files and update and rename the
existing 'Apple Aluminium' keyboard layout to 'Apple Aluminium Extended
International.' The 3 new layout files are US mini and extended version
as well as an international mini version. This completes #7964

International corresponds to keyboard layouts for all locales except the US
and Japan. I have Japanese Apple Aluminum keyboard layout files almost
ready but I first need to determine what the special kana and eisu keys
are mapped to.

The Apple Aluminum keyboard layout files are tucked away in an Apple Aluminum
subdirectory. The Keymap preference app has been modified to turn
subdirectories into submenus of the Layout menu.

HaikuImage has been modified to include each keyboard layout file in the 
image individually as recommended by Ingo.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 04:30:44 +00:00
John Scipione
001f379993 This commit fixes a bug described in ticket #7051 where Deskbar forgets expanded
items when you switch away from expando mode. It does this by keeping a list of
expanded item signatures in a fExpandedItems BList on the BarView class. I
can't use team_id because there can be more than one team per application.

If you have checked the 'Expand new applications' option in the Deskbar
preferences then the signatures of new applications will be added to the
fExpandedItems list expanding the item. If you open a new application while
not in expando mode then the app will be expanded upon returning to expando
mode.

Since 'Expand new applications' automatically adds any new item's signature
to the fExpandedItems list Tracker is expanded on startup since it is 'new'.
Also if Deskbar is restarted all applications will be considered 'new' so they
are expanded. This fixes ticket #4830

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 03:39:20 +00:00
Oliver Tappe
acbd89984d Add more tests for wchar/multibyte converter functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 00:10:54 +00:00