Commit Graph

35420 Commits

Author SHA1 Message Date
Rene Gollent
f7337f78ee Fixed intelligent file location services in Debugger.
- When adding files/directories into the file manager, we now also take care
  to add them to their respective parent entry lists as well. This allows the
  intelligent location functions to actually traverse directories to update
  all sibling/parent locations properly as needed.

- Slight changes to ensure that the implicit/explicit status of the location
  can be passed around throughout the process. Needed for the above to work.

Resolves the intelligent location portion of #8095.
2011-11-13 20:13:56 -05:00
François Revol
478dc9887e PPC: Preliminary untested boot support for Common Firmware Environment
CFE is used in the upcoming Amiga X-1000 dualcore PPC board.
* Largely inspired by the OF and U-Boot code.
* Still largely stubbed out.
* The loader builds but I don't have a machine to test it. Anyone interested?
2011-11-14 01:31:50 +01:00
Michael Lotz
5247333d36 Don't do the heap size calculation when using the slab as heap.
The initial heap size calculation only applies to the legacy/debug
heap, so it isn't needed when using the slab as kernel heap.
2011-11-13 22:20:24 +01:00
Michael Lotz
a28bab4790 Add the object pointers to the panic messages. 2011-11-13 22:18:29 +01:00
Michael Lotz
3733c51d38 Fix the computation of used memory and add a TODO.
* The altered used pages calculation of hrev43168 wasn't correct, as
  the inactive page queue may (validly) contain mapped pages as well.
  Those would then get counted twice (as they are included in
  gMappedPagesCount already).
  Instead we calculate the used pages from the total page count, minus
  everything we account for otherwise. Doing it this way is possible
  without introducing any additional counters, as all the counts to
  subtract are already present (as opposed to some of the ones that
  would be needed for adding the counts up). Fixes #8109.
* Added TODO regarding the problem of not locking any of the counters
  which runs the risk of them getting modified while we haven't yet read
  all of them.
2011-11-13 22:02:36 +01:00
John Scipione
912ab02b72 Remove some commented out code in WorkspacesView.cpp 2011-11-13 14:58:22 -05:00
John Scipione
eafed2f6d8 Make the window frame color settable by the decorator fixing a TODO. Although I don't think it is used by the Workspaces app anyway. 2011-11-13 14:58:22 -05:00
John Scipione
a18c2a6d9e Adjust the border color using tints so that it is just so, not too 3d. Get rid of all the extra contstants and just tint off of the base color. 2011-11-13 14:58:21 -05:00
John Scipione
30d17caa9d Added support for colored window tabs in the default decorator. 2011-11-13 14:58:21 -05:00
pulkomandy
113bc195de Get MacDecorator building again.
Also includes some style fixes and checks on fTopTab which seems to be NULL sometimes.
Does NOT behave well with tabbing yet and still has some drawing bugs.
2011-11-13 17:43:52 +01:00
Alexander von Gluck IV
db686b374c Add legacy disabled bios read and add missing static types
* on RS600 > chips we now call avivo disabled bios read vs
  relying on shadow rom
2011-11-13 09:51:27 -06:00
Alexander von Gluck IV
3ebbf65cfc Correct chipset check on ni bios disabled read as our chip order is correct 2011-11-13 09:51:26 -06:00
Alexander von Gluck IV
681be5be60 Add one-off gpio corrections on dce 3 and dce 4 chipsets 2011-11-13 09:51:26 -06:00
Siarzhuk Zharski
f37821851e Refactoring of 8-bit encodings support.
* Fixed issue introduced in hrev38139: restoring from the line
  drawing table was hard-coded to UTF8 Ground table. That is wrong:
  the table for currently configured encoding must be set back.
  Please look on using of _GuessGroundTable() for details;

* Fixed issue introduced in hrev34894: the semantic of convert_xx_utf8
  functions requires the destination length to be set equal to the
  target buffer size. Pre-hrev34894 usage of "homebrew" conversion
  functions was a bit different - destination length was set to 0.
  This made any converstions of input data useless and produce no
  visual results;

* Private list of supported encodings (Encoding.cpp) was replaced by
  using BPrivate::BCharacterSetRoster functionality. That allows to
  use centralized info about encodings in unified with other
  applications (Mail & StyledEdit for example) way. Most of currently
  enumerated in UTF8.h encodings now available in Terminal.
  Note that UCS-2 and UTF-16 are temporary (???) excluded from the
  list of encodings supported by Terminal.

* The B_UTF16_CONVERSION was added in system-wide UTF8.h declarations.
  This character set is available for enumerating by BCharacterSetRoster
  but not listed in public API. Looks like it was just missed;

* Special note about "Text Encoding" entry in Preference File:
  So known "shortname" of encoding was used in the preferences file.
  For details look on the encodings list in previous version of
  Encoding.cpp. As result of migrating to BCharacterSet-provided
  resources this list was deleted and is not available anymore.
  Instead of it the IANA name of the character encoding targeted
  to be used for this purposes. Frankly speaking this part looks
  like not working at the moment. The value of text encoding is
  hardcoded to "UTF-8" now and is not affected by any operations
  in Terminal menu. Note that "shortname" for default encoding
  was "UTF8" but the saved value is "UTF-8" - and they are looking
  not dependent at all. So this change should not introduce any
  kind of backward incompatibility.
2011-11-13 13:17:38 +01:00
Philippe Saint-Pierre
e11b156da9 Fix for Defaults button issues in Appearance preflet
* Implement isDefaultable() and SetDefaults() for Antialiasing tab;
* The default color set was out of sync with the actual colors,
  it now gets the actual colors rather than hardcoding them;
* Some hardcoded values for defaults related to antialiasing were
  differents from actual default values stated in AppServer;
* Revert now works for Antialiasing settings also.

Fix #3331
2011-11-12 20:34:12 -05:00
Alexander von Gluck IV
91affb2da4 Add legacy card connectior detection using table method
* attempt AtomBIOS table probe first, then fallback to legacy method if
  no connectors found (or table version is too old)
* add function to look up object info on older cards
* dcc still needs some work on old cards
* my X1200 IGP gets video now
2011-11-12 19:04:17 -06:00
François Revol
9638d7f4aa ARM: Use the serial port as console for now, as VT100.
* Subclass ConsoleNode as VTConsole
* use it to implement SerialConsole
* Use it as the default console for now to simplify debugging.
VTConsole could probably be factored out into boot/platform/generic/ someday.
2011-11-12 23:58:56 +01:00
John Scipione
0f27a79e43 Check to see if the argument of tangent divided by half pi is an odd integer. If so, throw an out of domain error. 2011-11-12 17:20:09 -05:00
Alexander von Gluck IV
e35c1f2d02 Add card post detection for legacy models
* check for older cards, and see if they are posted
  using the older pre-avivo registers
2011-11-12 14:22:57 -06:00
Alexander von Gluck IV
207794909d Merge branch 'master' of ssh://git.haiku-os.org/haiku 2011-11-12 11:42:19 -06:00
Alexander von Gluck IV
0188ca92a5 First attempt at older Radeon card support
* add missing chipset ranges
* add a few more older (X1200) PCI ID's (mostly IGP)
* add code to detect and set frame buffer size on old chipsets
* we get to the connector detection currently and fail due to the
  lack of legacy support on my X1200 IGP
2011-11-12 11:41:31 -06:00
François Revol
9e5b2c347a Fix typo. 2011-11-12 17:35:02 +01:00
Alexander von Gluck IV
5ec0ede4ba * style cleanup
* whitespace cleanup
* no functional change
2011-11-12 08:34:34 -06:00
Alexander von Gluck IV
eb1f77586b * improve comments on card families
* add a few missing PCI ID's
* add a first r520 PCI ID's (commented out for now)
* name a few rare CAYMAN FirePro cards based on info from AMD website


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-12 01:56:31 +00:00
Rene Gollent
221f5018b9 Revert part of r43166 that was included accidentally. This resulted in
incorrect behavior while processing certain kinds of messages, and
consequently deadlocks in some apps. Fixes #8101.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-11 23:39:02 +00:00
Adrien Destugues
86f4c50bc6 Use timing constraints from the G35 programming manual (which are much more relaxed)
Should help with #8001.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-11 14:57:52 +00:00
Michael Lotz
f2b71a14d4 Revert the part of r43033 that tries to write the "be:volume_id" on mount. The
use of an attribute may cause an attribute directory access, causing a get_vnode
call that leads to KDL due to the mount not yet having completed as seen in
#8090. Moving the volume_ops initialization in bfs_mount earlier might make this
work, but it is a hack at most, as we can't really know what state the VFS is in
during a mount.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-09 22:08:44 +00:00
Alexander von Gluck IV
b56b80150d * don't read shared_info for deviceID before it's populated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-09 03:31:33 +00:00
Alexander von Gluck IV
bbd90770b2 * correct gcc2 warning about always true situation
* style fix


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-08 21:48:49 +00:00
Alexander von Gluck IV
359b926f79 * style cleanup of shared storage names
* return better data on card 
* display chipset flags in screen preflet


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-08 19:50:07 +00:00
Alexander von Gluck IV
76a3e009dd * add lots of missing evergreen defines
* evergreen headers are split due to different
  header copyrights
* detect and set up evergreen memory controler
* change the way we manage radeon chipsets to
  more closely match drm driver as the chipset
  model numbers aren't in order and change from
  numbers to names.
* check for evergreen when populating frame buffer
  information.
* style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-08 17:17:43 +00:00
Siarzhuk Zharski
6a99b22472 - fix GCC4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-08 09:11:41 +00:00
John Scipione
ed1b7b12d4 Another small change to the Keymap Modifier Keys window. Only mark the control, option, and command menu items if both the left and right keys are set.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-08 07:03:54 +00:00
John Scipione
bce949f531 Implemented the style changes and other improvements suggested by Axel to the Keymap preference app Modifier Keys window. The number of lines of code in the class was significantly reduced by these changes. I also made one small change to change the window title from 'Modifers Keys' to 'Modifier Keys'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-08 06:47:31 +00:00
Ingo Weinhold
2172670237 scheduling_recorder: Fix signal handling
* The sa_flags field of the structure passed to sigaction() wasn't
  cleared, which resulted in the wrong type of handler function being
  called and the second parameter not being the expected user data.
* Always check fCaughtDeadlySignal in the main loop, so the signal
  doesn't have to hit the _kern_system_profiler_next_buffer() call
  (though that's the most likely one anyway).

Now scheduling_recorder can be stopped with a single Ctrl-C again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 20:21:07 +00:00
Ingo Weinhold
ee87d51d97 Build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 20:03:57 +00:00
Michael Lotz
a5c94bedb6 * Verify the MP config table signature and add some more sanity checks.
* Also reset the local and IO APIC base physical addresses when configuration
  failed.

Should fix #8102, but is otherwise untested for lack of old enough hardware.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 19:23:33 +00:00
Ingo Weinhold
fae2ce1945 Enlarge threads and ports KMessage notification stack buffers
They were too small for all the fields added. This is why the system
profiler skipped "thread added" notifications.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 19:22:02 +00:00
Ingo Weinhold
40287cba78 Add opt-in panic for KMessage buffer overflow
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 19:19:34 +00:00
Ingo Weinhold
5b78a98745 Make more robust with respect on invalid input data
* When encountering scheduling data referring to an unknown thread, add
  a dummy thread for it. This prevents a crash when processing the
  per-thread events later.
* Make warning output more uniform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 18:44:15 +00:00
Ingo Weinhold
e3bd3d8334 Add methods {Add,Remove}AssociatedData()
Allows to associate untyped data with the model, which the model free()s
upon destruction.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 18:41:29 +00:00
Alexander von Gluck IV
e9e9c194f9 * change the way we store GPU MC state information
on halt / resume as it doesn't need to persist.
* rename mc_info -> fb_info  to better communicate
  it's contents
* add some gart (gtt) storage and prep AGP VM code


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 16:11:24 +00:00
Rene Gollent
3e98fa97ed Fix build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 15:40:29 +00:00
John Scipione
f5ac2da0a8 Adds a dialog to the Keymap preference app to more easily and
reliably change your modifier keys.

The dialog box is shown by selecting the new 'Set Modifier Keys...'
option under the File menu. This brings up a window which contains 4
dialog boxes labeled: Caps Lock, Control, Option, and Command.

Each of the labels in followed by a drop down box which allows you to select
from one of the other keys listed. So for instance you could switch the Caps
Lock and Control keys but selecting the 'Control' option next to Caps Lock and
the 'Caps Lock' option next to Control.

The Caps Lock menu has an additional option which I find appealing...
'Disable' which, as it sounds, disables your Caps Lock key.

At the bottom of the dialog there are 3 buttons, 'Cancel', 'Revert', and 'Ok'.
'Cancel' and 'Ok' are self explanatory. The 'Revert' button, which is
initially disabled, puts you back into the state that you were when you first
opened the dialog.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 13:49:56 +00:00
Adrien Destugues
75a431eb53 * Fix case in Notification window group to match the new message notification
* Try harder to report useful progress when both sending and receiving messages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 12:32:22 +00:00
Rene Gollent
ef319d7fc7 TeamDebugger's destructor must not assume that any of its heap allocations
have succeeded, since Init() can terminate early in a number of instances.
Resolves #8096.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 02:26:10 +00:00
Rene Gollent
a2db8c5653 Truncate the message to locate the source path if it currently wouldn't fit within
the string view's bounds. Partially resolves #8094.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 02:10:35 +00:00
Rene Gollent
58f5b04b3b - Ensure that team and inspector window are locked when save/restoring settings.
- Don't allow QuitRequested() to terminate the TeamWindow directly. GraphicalUserInterface
  will (and must) do so in order to ensure that the window object is still around
  when calling SaveSettings() on it.

Should resolve #8091.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 01:47:20 +00:00
John Scipione
8abe72fb66 Changes the menu key bitmap from CTL to CTRL and SHFT to SHIFT.
This is coming from but does not close #7967

Adds a new (currently unused) Menu key bitmap.

Instead of having a single AltAsCommandKey() method the menus now
show the correct bitmap when you switch between your control,
windows/option, and alt/command keys. This is really not flushed
out yet since it only works when you switch those keys and not
other combinations like say switching the control and caps lock
keys but it is a step in the right direction.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-07 01:46:42 +00:00
Rene Gollent
3b8c2d3aad Fix typo that was preventing the splitter between the thread list and stack trace view from being saved/restored properly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-06 18:20:21 +00:00
Ingo Weinhold
65d7b9312b x86: Also set iframe::orig_{eax,edx} in TRAP_ERRC(). This makes
get_iframe_registers() in arch_user_debugger.cpp return the correct
eax/edx values also when the kernel was entered via an exception that
doesn't push an error code (e.g. page fault).
Fixes incorrect eax and edx values shown in Debugger and variable values
based on them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-06 12:53:20 +00:00
John Scipione
a86a5aef5d Remove the translation text from the button label in FSUtils.cpp for the Tracker alert dialog that pops up when you try to move or rename an important system folder. The translation text is already provided in another place. Thanks humdinger.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-06 10:08:18 +00:00
John Scipione
60ba75c5ec Add a scientific mode to Deskcalc.
Deskcalc already contains support for all the functions in scientific mode
but up until now you had to know what they were called and type them in to
figure them out. Scientific mode gives you access to most of the available
functions via buttons.

Pushing one of the the scientific mode buttons inserts the function name
along with an innertube () at the current cursor location. If you have some
text highlighted when you push a scientific mode button it will put that
text inside the innertube. So you can type 0.5, then highlight the text with
the mouse, and then push the sin button and you will get sin(0.5).

The contextual menu has been altered to support the new mode.
Instead of having a single show keypad option in the contextual menu there
are 3 new options instead. Compact mode, Basic mode, and Scientific mode.
Basic mode is the default mode showing the basic keypad. Compact mode is the
same as show keypad turned off, showing just a bare text field. Scientific
mode is the new mode which adds buttons for the different transcendental
functions and constants that Deskcalc supports. You can also use Alt+0, Alt+1,
and Alt+2 keyboard modifiers to switch between the modes.

In addition to accepting the word 'pi' for the circumference of the unit
circle, Deskcalc now also recognizes the UTF-8 character π which has a
dedicated button in scientific mode. I also changed the parser so that
lowercase 'e' always means Euler's number and uppercase 'E' always means
'times 10 to the' so 1E5 means 1 times 10 to the 5th.

Another small tweak I did was to adjust the minimum basic mode width so that
the window is flush with the tab.

I also renamed fColums to fColumns, took out some spaces and other style
changes and bumped the version to 2.2.0.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-06 09:38:39 +00:00
John Scipione
88b4c422fe Replace the word 'Haiku' in the alert dialogs that appear in Tracker when you
try to move or rename an important system folder with a macro so that
translators do not try and translate the name of the OS. I struggled
to find a global place where the OS name could be pulled from instead of
using a #define in FSUtils.cpp. I ended up grabbing the system name from the
utsname struct. This is identical to what is outputted by 'uname -s' which is
the word 'Haiku'.

Fixes #8092

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-06 05:23:23 +00:00
John Scipione
2f99b4911a woops, I meant 'Only add the window controls to the menu if we are NOT in drag mode'
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-06 03:31:07 +00:00
John Scipione
7eb3210e8f Sort application windows in Deskbar in 'natural' order yielding this:
window 1
window 2
window 3
window 4
window 5
window 6
window 7
window 8
window 9
window 10
window 11

Instead of this:

window 1
window 10
window 11
window 2
window 3
window 4
window 5
window 6
window 7
window 8
window 9

The natural order comparison method used in Deskbar is the same method used
to sort file names in natural order in Tracker.

Also when comparing window titles to their corresponding window menu item
labels use the FullTitle() method instead of the Label() method because the
label might get truncated.

Fixes #7774

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-06 03:19:15 +00:00
François Revol
fdb0863fbe Fix some warnings: use accessor functions instead of deprecated struct fields.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-06 00:39:38 +00:00
Ryan Leavengood
20cc8cc800 Remove unneeded code after Adrien's improvements.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-05 23:44:17 +00:00
Joachim Seemer
a94afff898 A little hack for the script that pulls catkeys from the HTA site. It corrects the confusion of 'zh-hans' vs.'zh_hans' until the catkeys at HTA are correctly found under 'zh_hans'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-05 10:35:46 +00:00
Alexander von Gluck IV
c0ea2063b7 * undo r43186
* fix build due to changes in DSO Linking the right way
  as per bonefish.
* we may need to check host GCC version here... can't find
  when this option was introduced
* fixes #8031 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 19:23:34 +00:00
Michael Lotz
90c6930ebb Add VM page allocation tracking similar to what happens in the slab already.
Introduces "page_allocation_infos" and "page_allocations_per_caller" KDL
commands.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 18:07:07 +00:00
Michael Lotz
905c75a595 Tiny pointer style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 18:04:22 +00:00
Michael Lotz
75088a863b Move AllocationTrackingInfo into a header. This way it can be re-used outside
of the slab code. It is generic as it only contains the link to a tracing entry
and not any application specific info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 18:03:34 +00:00
Michael Lotz
6d41dfd95c Move some of the trace entries around so that we know the page(s) they concern
and add that info to the trace entries.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 18:01:15 +00:00
Alexander von Gluck IV
2f4f7479b0 * relink libroot again to make build compile under new Ubuntu / Fedora versions
which set the --no-add-needed flag (DSO Linking Changes)
* fixes #8031 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 17:59:06 +00:00
Michael Lotz
865a0be1c0 Add optional stack traces to {Allocate|Free}Page[Run] tracing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 17:58:50 +00:00
Michael Lotz
448d8d6fcb Indent cleanup only, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 17:57:42 +00:00
François Revol
9b74cc6637 Further reduced the region allocated for the uncompressed data to 8 MB.
Wastes a bit less time allocating pages for nothing, and makes debugging
mmu support less verbose as well.
The (gunzipped) tar file is still less than 4MB and will never be 8MB
realistically anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 17:54:31 +00:00
François Revol
e5081da48c Large cleanup of the bootloader shell code. Replaced the x86 comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 17:22:01 +00:00
John Scipione
55ea3ed849 Do not capitalize the Button label strings in code. Instead allow the translators to provide a version in the proper case instead. I made the untranslated buttons lable strings capitalized so that it would look correct in English. Thanks humdinger and axeld.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 10:12:21 +00:00
John Scipione
0d79062992 Finally move the regular e version of the French Bepo keymap file to one with a decomposed 'latin small letter e followed by a combining acute accent'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 09:06:26 +00:00
John Scipione
f8ce9868c9 svn move the French Bépo file renaming it with a regular e.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 09:00:51 +00:00
John Scipione
3f6551bbc8 Reverted 43177, let's try this a different way so that we don't lose history.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 08:59:10 +00:00
John Scipione
8ece558dae Rename the French\ \(Bépo\).keymap file part 1. I am renaming the file from using a precomposed 'latin small letter e with acute' to a decomposed 'latin small letter e followed by a combining acute accent'. The reason I am doing this is that while Linux and Haiku both accept either form, HFS+ (case-senstive) only supports the later so in git and svn it appears that the file has been renamed due to the file system manipulating the name. Because svn doesn't recognize the file name change I have to do this in two parts.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 08:13:34 +00:00
John Scipione
958e0ca51d Make the Screen preference app windows non-resizable and make the top line of the screen BBox flush with the top line of the control BBox. Fixes #7526
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 07:38:53 +00:00
John Scipione
504f70a6e1 Change the text and button label of the activate button on Tracker dialogs
that appear when you try to rename or move an important system folder such
as 'system' or 'config' from the generic (and a little non-standard) 'Do It'
to a proper verb such as 'Rename' or 'Move'.

I take localization into account, there are now 3 different variables that
need to be translated, first is %ifYouDoAction which is the action verb in
one form, second is %toDoAction which is the action verb but in a different
form, and third is %toConfirmAction which is the text that appears on the
button label itself. Although in English there is no distinction between
%ifYouDoAction and %toDoAction (both use the same verb e.g. rename) there
is a distinction in other languages such as German.

Comments are provided in English and German using B_TRANSLATE_COMMENT as a
help for translators. I had some help from DeadYak and Humdinger getting the
German translations right since I only speak English (thanks guys). Humdinger
also directed me to the verb form translation issue in the first place.

I also removed the OSNAME macro and just use 'Haiku' instead since we aren't
maintaining an OpenTracker port for BeOS anymore. Ingo aka bonefish indicated
that this change could be a bit of a problem for distributions (were there
any) but if we actually wanted to support distributions we'd want to use a
global OSNAME macro somewhere else as I am sure the word 'Haiku' must appear
in the source in other places.

Closes #7767

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 05:22:05 +00:00
François Revol
da3e694679 Fix building without USE_PCI_HEADER defined.
Btw, do we *really* need this ? removing it saved 1MB in the pci bus_manager binary,
and makes it possible again to use 1.44MB floppy images...
Besides the only people who woul'd ever see the output (in syslog) are those who know
how to look the IDs up anyway. listdev and Devices have their own copy of those strings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 22:28:19 +00:00
Adrien Destugues
2966cc3497 Calling Show() in the constructor unlocks the Looper, so calling SetPosition after that doesn't work.
Tweak the code around as it doesn't really have to be done there :
  * Remove the Show() method override
  * Make sure the window is layouted and moved to the right place before showing it (which is what this early SetPosition call attempted to do)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 22:16:59 +00:00
Fredrik Holmqvist
dd9eb3ad8b Update to ACPICA 20110922. It doesn't change much, altough it fixes a bug in the code:
* Fixed a problem where the maximum sleep time for the Sleep() operator was 
intended to be limited to two seconds, but was inadvertently limited to 20 
seconds instead.

Doesn't seem to do much difference in Haiku though. 
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 22:15:20 +00:00
Adrien Destugues
3b9ae74680 Remove unused code. Thanks to ummccoullough for noticing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 21:14:05 +00:00
Adrien Destugues
44c6e69bd1 Even more work on notification window:
* Use the layout kit. That makes the code simpler.
  * Group headers now look like deskbar team entries. I had the answer just under my eyes all the time.
  * Folding and closing a group are back. However, folding does not work yet.
  * We need to select a better default "failure" color, as red looks a bit aggressive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 21:04:41 +00:00
Rene Gollent
58ce0a2c12 When calculating the number of used pages for a get_system_info() request,
also include inactive pages. Fixes #7714.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 20:51:17 +00:00
Adrien Destugues
dd58fc68f4 Remove this as it moved away.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 16:34:18 +00:00
Rene Gollent
85c30aeccb Remove extraneous code with respect to telling a menu to close which was
breaking various cases where menus coexisted in a window with a view which
was using event masks:
	- If one invoked the menu via, e.g. a BMenuField, and then tried to choose
	  an item on it, the mouse down would get captured, the menu would be
	  closed, and the mouse event would be thrown away without ever reaching
	  the event mask view.

	 - Furthermore, since the menu was told to terminate early, it would decide
	   that the user hadn't actually chosen that item (the escape key case),
	   and never actually invoke it.

Fixes the menu fields in the mouse preflet being broken.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 16:10:21 +00:00
Adrien Destugues
ba5e652d79 Set of patches by Pete Goodeve to imrpove the handling of audio latency.
Closes #7285.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 14:26:03 +00:00
Rene Gollent
360504239c Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 14:18:20 +00:00
Adrien Destugues
7034a82597 Use a tabview instead of an iconrule (without icons) in the notification preflet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 13:41:23 +00:00
Rene Gollent
08f7f5744a Factor out _StartTeamDebugger() so it can be shared between the GUI and
CLI initialization.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 13:20:11 +00:00
Adrien Destugues
e9834f35e7 * revert '43157 as the files are actually needed. I still don't understand how I managed to build everything without them ...
* Move the files shared between server and preflet to the server folder.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 12:49:18 +00:00
Rene Gollent
192c6f9689 Add command line argument to specify usage of the CLI rather than the GUI.
Not used yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 12:21:06 +00:00
Adrien Destugues
8f1b66b114 Turns out the "notification kit" was not actually used anywhere. So, remove it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 12:18:19 +00:00
Rene Gollent
20616c59c1 Add stubs for the eventual command line interface.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 10:42:56 +00:00
Rene Gollent
787740e0f9 Save and restore the inspector window's frame + mode settings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 10:42:05 +00:00
Rene Gollent
548716773f Add convenience method for accessing the underlying value store.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 10:40:40 +00:00
Siarzhuk Zharski
f3f68b1f92 * Multicast support added;
* STATISTICS switched off to prevent trashing syslog.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 05:30:51 +00:00
François Revol
a4b79a647b Allow up to 2MB for the kernel, since it's already over 1MB.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 02:48:33 +00:00
François Revol
983b0dfa95 Fix building libroot on m68k.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 02:41:14 +00:00
François Revol
450297cbd1 Build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 01:13:09 +00:00
François Revol
b29bbc9a80 Fix the bootloader build for m68k.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 01:09:49 +00:00
Axel Dörfler
51b5d92eda * ArgumentList now inherits from BObjectList instead of aggregating it.
* Fixed BString::ICompare() checks.
* Minor other improvements.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 23:15:07 +00:00
Axel Dörfler
214853702f * Put ServerConnection into the BPrivate namespace as it should have been.
* Fixed completely broken error reporting; Write()/Read() will now return the
  proper error code (and ssize_t instead of int32).
* Reimplemented WaitForData() using poll() which is more efficient.
* Now uses BNetworkAddress to resolve the server address which also should now
  work with IPv6.
* Removed some unused headers.
* Minor coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 22:56:50 +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
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
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
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
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
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
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
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
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
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
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
Michael Lotz
45cbd81436 Fix build with tracing disabled. Since capture_tracing_stack_trace() doesn't
return a stack trace when tracing is disabled we don't really need to be able
to print one either.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 22:49:32 +00:00
Ingo Weinhold
f606e8fd79 mmlr + bonefish:
* AllocationTrackingCallback::ProcessTrackingInfo(): Also pass the
  allocation pointer.
* "allocations_per_caller" KDL command: Add option "-d". When given,
  each allocation for the specified caller is printed, including the
  respective stack trace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 22:26:23 +00:00
Ingo Weinhold
e32699b404 mmlr + bonefish:
Add ObjectCache::ObjectAtIndex().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 22:23:37 +00:00
Ingo Weinhold
328df922e6 mmlr + bonefish:
* Add TraceOutput::PrintArgs(), a va_list version of Print().
* Move code of TraceOutput::Print() to new private template function
  print_stack_trace().
* Add public tracing_print_stack_trace().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 22:22:14 +00:00
Michael Lotz
a5e2a43050 Fix the build with memory manager tracing disabled. The guard was missing
in the header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 21:40:40 +00:00
François Revol
7014f7f3e4 Fix method name in trace.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 21:29:19 +00:00
Ingo Weinhold
50175c99c4 mmlr + bonefish:
Refactor the "allocations_per_caller" KDL command related functions.
They expect an instance of a class implementing the new
AllocationTrackingCallback interface, now. The only implementation ATM
is AllocationCollectorCallback, which does the work the now removed
slab_debug_add_allocation_for_caller() did before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 21:16:14 +00:00
Rene Gollent
12a1034a7d Extend the generic Settings classes to support float and rect settings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 21:10:24 +00:00
Rene Gollent
15dbca93da Extend BVariant to support storing BRects as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 20:57:31 +00:00
Ingo Weinhold
f908ff9bb6 mmlr + bonefish:
* Fix build broken in r43078. The slab_debug_add_allocation_for_caller()
  wasn't guarded correctly.
* slab_debug_add_allocation_for_caller(): Add bool resetAllocationInfos
  parameter, which makes the function clear the allocation tracking
  infos after processing the data.
* "allocations_per_caller" KDL command: Add option "-r" to reset the
  allocation tracking infos. The next invocation of the command will
  only show the allocations made after the reset.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 20:35:49 +00:00
Ingo Weinhold
0422a0f3ae mmlr + bonefish:
* dump_allocations_per_caller(): Compute the total allocation count and
  size from the caller infos instead of using return arguments in the
  helper functions called.
* Move caller info update code from analyze_allocation_callers() to new
  function slab_debug_add_allocation_for_caller(), so it can be reused.
* Add MemoryManager::AnalyzeAllocationCallers() to collect the
  allocation information for the memory manager.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 19:40:27 +00:00
Adrien Destugues
244a545018 Mail daemon notifications, round 2:
* Use the proper identifier for each notification window : 2 per account for sending/receiving, and a global one to show the "n message received" message.
 * Use the mail daemon icon on the windows instead of the default ones
 * Shuffle the text in the windows a bit so it makes more sense
 * Use the settings from the mail preflet for showing or not the window.
The meaning of "always" changes a bit, since it is not possible to have a "forever" timeout with the notification server (and that would be rather annoying).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 19:25:40 +00:00
Rene Gollent
4b38291dbc Style fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 19:10:21 +00:00
François Revol
8fe82997ba Some more tracing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 18:59:47 +00:00
François Revol
f6fbf32a02 Dump the 68040 mmu registers before touching them.
Added a comment about the Milan clone which uses the mmu in the BIOS to emulate Atari hardware, and the Transparent Translation registers to map the PCI bus, which screws up with our current code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 18:58:18 +00:00
Ingo Weinhold
e1c6140eaa mmlr + bonefish:
* Add optional stack trace capturing for slab memory manager tracing.
* Add allocation tracking for the slab allocator (enabled via
  SLAB_ALLOCATION_TRACKING). The allocation tracking requires tracing
  with stack traces to be enabled for object caches and/or the memory
  manager.
  - Add class AllocationTrackingInfo that associates an allocation with
    its respective tracing entry. The structure is added to the end of
    an allocation done by the memory manager. For the object caches
    there's a separate array for each slab.
  - Add code range markers to the slab code, so that the first caller
    into the slab code can be retrieved from the stack traces.
  - Add KDL command "allocations_per_caller" that lists all allocations
    summarized by caller.
* Move debug definitions from slab_private.h to slab_debug.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 18:34:21 +00:00
Ingo Weinhold
69d7ad7dc5 mmlr + bonefish:
* Move struct tracing_stack_trace to tracing.h header.
* Add tracing_find_caller_in_stack_trace(). Helper function to get the
  first return address of a stack trace that is not in one of the given
  address ranges.
* Add AbstractTracingEntryWithStackTrace::StackTrace() getter.
* Add tracing_is_entry_valid(). Checks, based on the additionally given
  time, whether a tracing entry is (probably) still in the tracing
  buffer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 17:16:29 +00:00
Adrien Destugues
506a6eb522 Fix delay loop condition in BPushGamesound test. It seems to work mostly fine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 16:58:35 +00:00
Michael Lotz
485bb14c36 Prefix the heap version of the "allocations" debugger command with "heap_".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 16:29:28 +00:00
Rene Gollent
76ce2c7ef7 More work-in-progress towards getting settings saved/restored.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 15:45:31 +00:00
Adrien Destugues
0044a8c39a Apply patch by bkmx from ticket #5093 : fixes some buffer index math in
BPushGameSound so at least it doesn't crashes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 14:31:08 +00:00
Michael Lotz
5fd0416842 Tiny cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 14:27:25 +00:00
Rene Gollent
8252ed52dd gcc2 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 14:07:35 +00:00
Adrien Destugues
f3b7dcd4d2 * Remove the now unneeded Message-logic for hiding and showing the preview
* Put the clock mode radio buttons above the preview
Also makes hiding hte preview work again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 13:35:58 +00:00
Rene Gollent
0d3e347507 WIP: Add abstract base class TeamUISettings and corresponding subclass GUITeamUISettings.
Once complete, these will be used to store/restore settings for the debugger's various UI
components.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 12:45:01 +00:00
François Revol
e5712f7bf8 Fix constness to avoid warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 10:55:34 +00:00
Adrien Destugues
1a5c1f9ed5 * Use const references instead of pointers for the read from/write to
attribute/resource method in locale kit catalogs
 * Only load the embedded catalog if nothing else was found, so it can easily
be overridden
 * Change the resource type to 'CADA' (CAtalog DAta) for embedded catalogs, and
use a hash of the language code as the resource ID. This allows multiple
languages to be stored in the same file and does not interfere with the user
storing his own BMessages as resources.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 10:13:34 +00:00
François Revol
c87c47960c Pass an existing or created transaction to CreateVolumeID(). Hopefully it's correct this time. Axel?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 09:49:05 +00:00
François Revol
95f7cdcccb Fix BeOS build for comparison. This test still fails on Haiku btw...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 09:32:05 +00:00
Adrien Destugues
701d92850e Mail daemon now uses standard notification windows.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 08:13:02 +00:00
Axel Dörfler
b47bd3cf51 * Work in progress of an IMAP response parser that will replace weak and
error prone parsing method that is currently utilized by the IMAP module.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 23:33:22 +00:00
Adrien Destugues
74ddcac51f Sorry, fix #7557 for real.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 22:52:18 +00:00
Adrien Destugues
85feb4de3f Wrong fd count given to select. Fixes #7557.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 22:39:58 +00:00
Adrien Destugues
a40e8645e2 Switch the default value of the "crlf" option in telnet. This means lines are
ended with \r\n instead of \r\0. Both are accepted in most telnet servers, as
there is some unclear wording in the telnet RFC. However, using \r\n allows to
use telnet for other stuff, like connecting to an SMTP server. Debian Linux
telnet client also uses that by default (likely other Linuces use the same).

Fixes #2663.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 22:05:24 +00:00
Michael Lotz
ffb6929a3b bonefish+mmlr:
Move blocking the 0xcccccccc and 0xdeadbeef address ranges from heap to VM init
so that it also works when used in the slab allocator.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 22:00:16 +00:00
Michael Lotz
72156a402f bonefish+mmlr:
* Introduce "paranoid" malloc/free into the slab allocator (initializing
  allocated memory to 0xcc and setting freed memory to 0xdeadbeef).
* Allow for optional stack traces for slab object cache tracing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 21:58:00 +00:00
Michael Lotz
fe8f0f4601 bonefish+mmlr:
* Add an AbstractTraceEntryWithStackTrace that includes stack trace handling.
* Add a selector macro/template combo to conveniently select the right base
  class depending on whether stack traces are enabled or not.
* Minor style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 21:37:39 +00:00
Michael Lotz
ebf63109bb Tiny style cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 21:31:58 +00:00
François Revol
a287d1c156 Fix Jeroen Oortwijn's email address.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 20:55:59 +00:00
François Revol
701c4b84bb Abide by the Coding Style Police.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 20:39:57 +00:00
François Revol
77697df4cf Remove leftover debug code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 20:14:16 +00:00
François Revol
0fa3181d95 Implemented the patch on #7963 in a different way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 18:09:24 +00:00
Rene Gollent
f6df6995b6 Apply patch by Olivier Coursiere that fixes #8075: the color index variable
wasn't constrained to the size of the color array, leading to an overflow +
crash when a large number of files were scanned. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 17:07:47 +00:00
Adrien Destugues
14ac1ee962 Tweak the notification window again :
* Spacing of the bprogressbar is now 8pixels on each size
  * Remove the useless window tab for now

Also fix DecoratorFrame() again as BORDERED_WINDOW didn't work with it either.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 14:26:37 +00:00
François Revol
9b7ff360a0 Add creation of a be:volume_id attribute on the root node as BeOS did, based on a patch by phcoder. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 13:33:40 +00:00
Adrien Destugues
ee46c038a6 Add newline to locale command line output. (that's more usual and it works for
all other CLI apps).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 13:32:22 +00:00
Adrien Destugues
c2f3ee3b7b * Move the GMT/Local radio box to the timezone tab
* As there is some extra space there, use it to display a hint on what the
settings are useful for
  * Remove the huge and unclear tooltip that explained it before (that'd rather
be part of the userguide)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 13:25:26 +00:00
Rene Gollent
89a1a98bca Delete the application object from the correct thread. The previous
version attempted to Quit() and then immediately delete the app object
from another thread. This triggered a debug assert since in the latter
case we push a quit message onto the looper's message queue and let that
handle terminating the message loop. As a consequence, it was possible for
said looper thread to not have finished shutting down properly before we
called delete, leading to a debug assert with respect to calling delete on a
still running looper. Should correctly fix the crash on terminating the 
test app_server.




git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 13:13:30 +00:00
Oliver Tappe
cddcc2bea9 Fix MutableLocaleRoster::GetSystemCatalog()
* Using a hardcoded path is bad, since the library folder might
  change and/or the /system/lib/libbe.so may not be the libbe.so
  actually in use. Instead, we now lookup the loaded libbe-image
  and get the entry_ref from its image_info.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 11:00:01 +00:00
Michael Lotz
9a4b557caa Fix typo, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 10:22:48 +00:00
Michael Lotz
87d4f28e6f Watch out for missing attribute support when copying attributes and then don't
error out. Fixes an error message for each copied file when copying from a
filesystem that doesn't support attributes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 10:20:50 +00:00
Michael Lotz
a735bdebb9 Align all filesystem relevant places to use B_UNSUPPORTED for unsupported
instead of a mix of B_NOT_SUPPORTED and B_UNSUPPORTED. This allows checking for
a specific error code. Probably one of those should be phased out...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 10:18:03 +00:00
Michael Lotz
988cfaca32 Don't delete the be_app, it is destoried by the Quit() call. Fixes the crash
when closing the app_server test environment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 10:04:32 +00:00
Adrien Destugues
924ead9a3e * Coding style
* Stub out the unneeded code in the buildtool version of DefaultCatalog.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 09:16:38 +00:00
Adrien Destugues
54fad654ce Rework the handling of catalog loading in locale kit :
Instead of computing the mime signature and giving this to the catalog system,
give an entry_ref instead. The default catalog add-on can thus look at the
right place when searching local catalogs (embedded as resources, or stored
as files next to the executable.
  * This allows different versions of the same app to each have their own
catalog set,
  * And also make the embedded/local catalog searching work for add-ons and
libs, instead it only worked for apps because of a getAppInfo call.

Fix cpufrequency to make use of it properly (that wouldhave worked without the
change, but nowit's mandatory, since loading a catlog by mimesignature is not
possible anymore).

Should fix #8037.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 08:57:09 +00:00
Rene Gollent
1ea897d0ab Should have been part of yesterday's Deskbar changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 07:07:43 +00:00
Adrien Destugues
48215ce467 Use a more correct mimetype for libbe catalogs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 22:40:45 +00:00
François Revol
ba43890fe5 Whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 21:18:20 +00:00
François Revol
86b7df9ad6 Add five Wacom Bamboo models, patch by Jeroen Oortwijn (idefix) from ticket #7600. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 21:14:50 +00:00
François Revol
7349dee191 Rename the settings file to match the addon name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 20:45:57 +00:00
Michael Lotz
d3fdd8b180 Remove superflous test done a few lines above already.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 20:37:15 +00:00
Rene Gollent
8aab28f19b And more fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 19:42:44 +00:00
Rene Gollent
b373759b5d Build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 19:36:26 +00:00
Rene Gollent
7625ce5150 Factor out an _SaveSettings() call to write back settings. Use it to commit tray item changes immediately instead of at Deskbar exit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 18:28:22 +00:00
Matt Madia
d64437e6a9 Removed some TODO for licenses and url's.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 18:28:03 +00:00
François Revol
520d5f6e3e Some pending work on the esound sink media node. Still not usable, and esound is being deprecated anyway on Linux. At least it compiles. Renamed it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 18:25:27 +00:00
Adrien Destugues
dff7bba0da Patch by oco: use more regular look for size slider in DriveSetup partition
creation dialog. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 17:30:11 +00:00
Rene Gollent
c0ad1c9185 Adjust the previous change to use paths instead of entry_refs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 17:00:50 +00:00
Rene Gollent
3e6ff860b4 Rework Deskbar's tray replicant support a bit. Instead of relying on a live query
for be:deskbar_item_status in order to determine which replicants are supposed to
be living in the tray, a list of entry refs is now stored. While the former approach
was cool, it doesn't really work in either a multiuser or a package-aware world, where
executables are generally read-only. Note this means you'll lose your existing replicants
the first time you run this new revision, and need to re-add them.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 16:52:03 +00:00
Matt Madia
9f37e36f78 updated the copyright and license for the files that list copyright to M.Kawamura. Based on r29897.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 16:41:57 +00:00
Matt Madia
93676a6f0b Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 16:38:39 +00:00
Adrien Destugues
f045f44c7a Patch by taos : localize TGA and STX translator. Fixes #7229.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 16:13:13 +00:00
François Revol
cba6e1d06d Just use ntfs_attr_add() since the non_resident version doesn't seem to work, can't remember why I wanted to force non-resident attributes in the first place.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 16:01:36 +00:00
Rene Gollent
d07738ee1d Apply the same fix as r42996 for the suspend string as well. Fixes build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 13:46:43 +00:00
Adrien Destugues
3b7d1b050f Use the proper define to make the string visible only to collectcatkeys.
Makes gcc4 happy.
Sorry for the inconvenience, build fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 12:48:18 +00:00
Axel Dörfler
25342134e7 * Started a very simple test application for the IMAP add-on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 11:00:09 +00:00
Rene Gollent
b50f9c8616 Build fix. These lines otherwise trigger unused variable errors on gcc4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 10:53:07 +00:00
Adrien Destugues
5b264395c0 Patch by Karvjorm (#7348): localize Pairs application name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 09:10:23 +00:00
Fredrik Holmqvist
7bc8568491 John Scipione has moved from a contributor to a maintainer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 08:53:57 +00:00
Adrien Destugues
c0d5825b50 Move string constants out of ifdef blocks so they can be collected by collectcatkeys.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 08:33:54 +00:00
Ryan Leavengood
f64b502da0 Hide the time zone preview in the Time preflet when the BIOS clock is set to
local time.

Fixes #6743.

I tried to mimic existing message constant naming, but may come back and fix
them all to our coding style. Is there some backwards compatible reason for
some of the constants being what they are?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 04:16:00 +00:00
Joachim Seemer
9a39723ca5 Applied patch by Disreali, adding colour scheme green on black. Fixes #7977. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 22:42:52 +00:00
Niels Sascha Reedijk
d57dba3c4e Apply patch from ticket #7015 (slightly modified) by kallisti:
A cosmetic cleanup of the partition types for the Intel partition map.

 * large number of partition types added (thanks fdisk!)
 * clean up what partitions can be created


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 22:28:11 +00:00
Axel Dörfler
4325056b3b * Busy looping without sleeping isn't so nice.
* Also allow upper case Y to please Michael :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 22:19:16 +00:00
Niels Sascha Reedijk
7f1880dc0e Apply patch for ticket #8008:
* Remove BNode documentation from the source code and add it to Node.dox
 * Rewrite some of the existing documents


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 22:02:52 +00:00
Fredrik Holmqvist
3c259863a6 Now that we can have custom buildflags allow Haiku to build with -Os which needs some functions not only as defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 22:00:33 +00:00
Niels Sascha Reedijk
1326b9d0b4 Apply the patch by jscipione on ticket #7994.
* Update BScreen class style and variable names
 * Remove documentation from Screen.cpp file
 * Create Screen.dox documentation file



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 21:51:43 +00:00
Axel Dörfler
ef88976995 * Reinitialize global locks after a fork (at least those in the Application
Kit).
* This should fix #5668.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 21:17:59 +00:00
François Revol
8215661bb2 Apply patch by 'mt' from ticket #7622 to localize the debug_server alert. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 21:00:07 +00:00
Axel Dörfler
edbfa1c70b * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 20:52:52 +00:00
Adrien Destugues
4eef91b9c8 Rework time computations in tracker status window to use localized functions.
Result is not as good as the previous implementation, because we need the more advanced BDateFormat API, which is not available yet.

Fixes #6930.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 20:48:41 +00:00
Stephan Aßmus
3f2e30c0a0 Place the button description window near the mouse and to
the side of the pad window that has enough room (preferring
right/bottom side of pad). The algorithm doesn't strictly
prevent the window to be placed outside of the screen in any
and all situations, but it should work pretty well in
practice.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 19:31:29 +00:00
François Revol
e9e53773c9 Erase the removed account from the accounts map. This avoids a crash when an account was removed when we shutdown the daemon, due to double free().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 18:47:21 +00:00
Axel Dörfler
a9bd4e48eb * More minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 17:38:58 +00:00
François Revol
ee5f0dac80 Applied patch from jalopeura on ticket #7458 and reworked it to use the BMailDaemon::MarkAsRead() method when an account id exists.
Added a TODO note about using menu labels in tests while they could someday be translated.
Replaced some hardcoded strings with the proper defines.
Made the add-on also apply partial emails, I suppose it's the intent.
Works for me.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 17:35:11 +00:00
Oliver Tappe
4d9b54c175 Some cleanup in Backround preflet:
* rename a couple of members for imroved clarity
* adjust formatting in header

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 17:12:44 +00:00
Axel Dörfler
d817520f98 * Removed some dead code by applying a patch by lucian from ticket #6275,
thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 17:09:12 +00:00
Ingo Weinhold
e4700f2e2b Patch by Philippe Saint-Pierre: Wait only half a second instead of 5
before displaying anything.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 16:52:37 +00:00
Axel Dörfler
7781d9ad28 * Applied patch by 'mt' that fixes ticket #6275 - thanks a lot!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 16:48:16 +00:00
Adrien Destugues
6fd240c27d #7512: Localize mixer media add-on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 16:40:56 +00:00
François Revol
e039afe87e Define B_MAIL_DAEMON_SIGNATURE and use it instead of hardcoding the signature everywhere.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 16:21:17 +00:00
Michael Lotz
345eb8c4fe Make two unexpected/error cases more visible with debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 16:16:45 +00:00
Oliver Tappe
e54b10160f Close #3223 with patch provided by Humdinger (which I adjusted to the current state of the code).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 16:06:08 +00:00
Stephan Aßmus
e2b113d4f2 Some coding style fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 16:00:25 +00:00
Matt Madia
7c91e8ddab Change command/option behaviour to mimic the
American.keymap. This closes ticket #4464.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 15:55:28 +00:00
Joachim Seemer
993181928d Applied patch by rq. Changes the example keyboard from 101 to 102-keys, inserting key 0x69 between letf shift and Z. Fixes #6539. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 15:47:21 +00:00
Adrien Destugues
a576344849 Patch by Karvjorm : localize FontDemo (#7349).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 15:46:26 +00:00
Adrien Destugues
f1d67b39de Patch by taos (#7529): localize Chart.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 15:31:55 +00:00
Rene Gollent
a481c815c1 Apply patch by Taos which adds hyperlink for LGPL license (#7907). Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 15:22:05 +00:00
Alexandre Deckner
5261544b0d Applying patch for ticket #6134.
Fixes BCursor tests. Thanks Karvjorm! And sorry for the delay.
I also re-enabled the tests in the Jamfile (cf. r41788)




git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 15:21:05 +00:00
Adrien Destugues
c143c10312 Patch by humdinger: localize BSnow. (#7528)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 15:20:26 +00:00
Adrien Destugues
1e52d1c2d5 Patch by Kavjorm to fix app server tests (#6367). Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 14:52:17 +00:00
Rene Gollent
32aa019c45 Apply patch by Adrian Panasiuk that fixes issues with some 3com combo chipsets. Resolves #3120.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 14:45:39 +00:00
Adrien Destugues
f86acdc207 Patch by Karvjorm: localize Login.
Fixes #7234.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 14:44:13 +00:00
Adrien Destugues
92bae21ab7 Try to load resource-embedded catalog from application. Should fix #8037.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 14:35:55 +00:00
Rene Gollent
cd32d81c40 Build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 12:59:10 +00:00
Axel Dörfler
3928c786a0 * Moved thread function into the class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 12:22:56 +00:00
Axel Dörfler
4b2c09b6b3 * Style cleanup.
* Changed quote from double to uint64.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 12:16:11 +00:00
Axel Dörfler
d396412d0b * Ordered methods in the order of their declaration.
* Minor coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 11:32:55 +00:00
Axel Dörfler
cdffe7e544 * Removed the license file as well, since it's just MIT.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 09:01:43 +00:00
Axel Dörfler
89cecb5a2a * Removed files that aren't really make any sense to have in our repository.
* Removed duplicated headers that we already have in our repository elsewhere.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 09:01:00 +00:00
François Revol
0fa0204f7c Use the new private roster API to shutdown.
Maybe we should have a confirmation alert the first time ?
Btw, the power_button driver should really implement select() or some other non-polling mechanism, it sux having to waste cpu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-28 21:55:14 +00:00
Alexander von Gluck IV
397fbc47bb * better identify BAR location defines
* fix bug where we were using an r600 bios pull method
  on r700 cards. this should help prevent shadow rom fallback.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-28 19:08:37 +00:00
Alexander von Gluck IV
f52ca69c79 * attempt to reduce tracing spam a bit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-28 16:39:26 +00:00
Alexander von Gluck IV
8fbddad17c * better use Radeon HD 4xxx (r7xx) VM FB registers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-28 04:42:16 +00:00
Alexander von Gluck IV
025d4eed52 * reorganize register definitions
There were a large number if incorrect, duplicated, misplaced
  registers that were leading to bugs in the code.  This is my first
  shot at cleaning them up.  Luckly as we are using AtomBIOS the number
  of registers we need to know about is shrinking.
* remove registers left over from register banging days
* r770 is less then r710, r720 in the drm sources. Fix in code.
* enable newer radeons for testing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-28 04:30:54 +00:00
Alexander von Gluck IV
139848f37a * bailing when we can't idle the MC is the correct
behaviour... but while things are incomplete
  it may be better to try and push on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-27 18:03:02 +00:00
François Revol
fe0bb0ec24 Cleanup: reorder includes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-26 23:56:40 +00:00
Alexander von Gluck IV
bbcc2a8c03 * lets idle the memory controller before checking if it's idle
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-26 14:11:24 +00:00
Alexander von Gluck IV
46af81655d * redesign pretty much everything frame buffer related
* don't resize the frame buffer after mapping it.. doesn't make sense
* add memory controller code and program the memory controller for r600
* remove unneeded frame_buffer_int
* don't malloc mc_info, waste of time
* fix scaler setting
* vramStart in mc should be 0... get vertical colored lines however when this
  this is set properly (everything in mc_info is the MC view of FB BAR)
  When vramStart is the FB physical address... i get proper video on some cards
  ... thoughts?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-26 04:51:51 +00:00
Alexander von Gluck IV
a96db7dc36 * vesa != intel. *cough*
* no functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-25 20:29:41 +00:00
Alexander von Gluck IV
6c80b06bb8 * same blanking value, correct define.
* set blanking color to full red for debugging
  to know when blanking is enabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-25 18:54:17 +00:00
Alexander von Gluck IV
62278874a6 * add TV encoder setup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-25 18:34:47 +00:00
Alexander von Gluck IV
07a90a634d * add better tracing
* add encoder quirks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-25 17:25:09 +00:00
Alexander von Gluck IV
da9d54ead0 * be a little clearer in tracing on whats going on
when we fallback to shadow rom
* no functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-25 15:49:23 +00:00
Philippe Houdoin
427e96598c Revert back my change as its broken.
I will take some rest as obviously I should not allwed to commit anything rigth now.
Sorry guys.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-25 06:46:40 +00:00
Philippe Houdoin
cc6dd72fbb Update B_USB_RAW_COMMAND_GET_DESCRIPTOR to support retrieving
up to total_length a configuration descriptor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-25 06:19:49 +00:00
Alexander von Gluck IV
62605d2824 * redesign code that locates AtomBIOS
allows for more flexible searching
* check out shadow VGA bios as very last resort
  may cause issues but not a bad last resort
  compared to an app_server crash
* better tracing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-25 02:29:25 +00:00
Philippe Houdoin
1ce29039cd Revert r42812. As pointed by Michael, one can use
BUSBDevice::GetDescriptor() to retrieve whatever descriptor, including a 
complete configuration descriptor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-24 21:02:14 +00:00
Alexander von Gluck IV
d5c8ef5d69 * add chipset flags vs isIGP
* we can now utilize these chipset
  flags throughout the driver to better id
  cards and features
* remove leftover BIOS size define from intel skel
* no *real* functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-24 17:53:22 +00:00
Alexander von Gluck IV
6f2ec43df7 * memory_base isn't what I thought it was and is 0x0
* look at PCI bar 0 (Frame buffer base) for AtomBIOS
* potential solution to #8040 ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-24 17:03:48 +00:00
Joachim Seemer
bc096b828e Applied patch inserting newlines in error message. Closes #7953. Thanks diver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-24 15:57:18 +00:00
Alexander von Gluck IV
98421bb887 * simplify some trace statements
* add potential support for IGP chipsets
* igp code is *untested* and should work *in theory*
* potentially resolves #8040 / #8046 ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-24 14:58:27 +00:00
Michael Lotz
edfba0bb03 Actually put a note about the Haiku specific there, so that this isn't
overlooked accidentally on future updates.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-24 10:25:41 +00:00
Michael Lotz
a3f90d5cca Unlike FreeBSD we use a ifmultiaddr struct field to store the address and let
the ifma_addr point to that. Therefore freeing it caused a misaligned free and
then a double free, resulting in heap corruption for the next user to fall
victim to. Only happened when removing multicast addresses though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-24 10:21:22 +00:00
Alexander von Gluck IV
bbf37742d3 * start using DCE versions in framebuffer code as it
gives us finer control


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-21 22:44:23 +00:00
Alexander von Gluck IV
72bc31d759 * get some DIG code done, lots of commented out
Display Port stuff. We need special DIG encoder
  storage unless I can find a way to mash it into
  the same box as the other encoders.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-21 22:13:58 +00:00
Fredrik Holmqvist
97d5dc0a3c I was being lazy, as pointe out by mmlr. It is much better to copy DSDT always do you don't need to figure out if you need to toggle that switch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-21 19:42:46 +00:00
Fredrik Holmqvist
c5862c76d3 Patch by scgtrp (Mike Smith) to copy DSDT to memory, as some machines corrupt DSDT after boot. This fixes bug #8043.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-21 19:14:06 +00:00
Michael Lotz
f9ba150bd9 Adding the PulsedDrawing test app that redraws its view every second with a
random color. It can be used to reproduce an app_server bug that causes the view
to be drawn on the last position on the old workspace when the window is moved
to another workspace using Workspaces.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-21 16:30:03 +00:00
Alexander von Gluck IV
f3cb4623c8 * take note of external encoders
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-21 15:52:22 +00:00
Alexander von Gluck IV
f089aa5229 * stub out dig encoder setup
* adjust pll post divider calculation
* fix digital encoder setup action
* don't run memreq on DCE < 3, should solve
  some AtomBIOS failure loops


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-21 14:53:40 +00:00
Alexander von Gluck IV
a4ba3a0f61 * pass dceMajor and dceMinor to accelerant
* will fix other var names to match style guidelines
  shortly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-21 14:32:01 +00:00
Rene Gollent
b0efb2e13b Skip non-file entries when enumerating OpenGL renderer add-ons. Fixes #8039.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-20 22:54:03 +00:00
Alexander von Gluck IV
b18a9bc338 * add a Radeon HD IGP chip reported as missing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-20 18:20:38 +00:00
Alexander von Gluck IV
a6c4bc423e * enable radeon_hd in the nightly build
* disable Evergreen+ cards for now as they are tested
  non-functional.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-20 14:22:30 +00:00
Alexander von Gluck IV
f5edabc8f8 * add a 4890 PCIID I missed
* correct a few wrong DCE versions
  using xorg documentation


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-20 01:00:23 +00:00
Alexander von Gluck IV
24d19f4dab * fix silly unsigned vs signed bug in gcc2
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-19 20:12:20 +00:00
Alexander von Gluck IV
9b4aacc210 * backport linux AtomBIOS parser bugfix...
Fixes memory corruption on some boards.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-19 18:40:46 +00:00
Alexander von Gluck IV
6e4eb955c7 * add DCE version major and minor as we may need it at some point
* add notes that AtomBIOS goes all the way back to X700 (r4xx) 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-19 18:19:13 +00:00
Stefano Ceccherini
b1128999ca Fix build (forgot the ";")
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-19 12:41:36 +00:00
Stefano Ceccherini
276a254c1c Reorganized defines in the header.
Deallocate resources correcly in error case. Support for level and edge
interrupts.
Removed volatile keyword where it's not needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-19 12:40:12 +00:00
Stefano Ceccherini
bcf13367d4 Use B_DO_NOT_RESCHEDULE in the interrupt handler because we are running
with the interrupts disabled (was causing KDL under qemu).
Add a define to switch the HPET timers to 32 or 64 bit (32 bit now by default)
Reordered some things
Add some debug output. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-19 11:11:53 +00:00
Alexander von Gluck IV
afbd52f16a * improve framebuffer programming on newer cards
* correct? color mode setting bug
* fix var naming to match style guidelines
* add a few missing register defines


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-18 05:54:28 +00:00
Alexander von Gluck IV
a4f66979fe * fix minimum pll out units
* sort files in Jamfile
* add TV and compontent video support in encoder code
* fix missing var in display detection code


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-18 03:34:28 +00:00
Alexander von Gluck IV
756fb8b796 * fix pll limitations probing
* radeon HD mode setting on analog monitors is now working!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-17 22:49:44 +00:00