Commit Graph

40010 Commits

Author SHA1 Message Date
Rene Gollent
f1aea13b5e Detect if the message node is contained in a BMessage field child. If so,
handle the message in flat format. This gets messages embedded inside other
messages working.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-07 21:51:50 +00:00
Ingo Weinhold
85b41b15d9 * Added bool and double BString::operator<<() versions.
* Removed the clashing operator in JobSetupDlg. Automatic whitespace
  cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-07 10:17:15 +00:00
Rene Gollent
2a3c2964f1 BMessageValueNode wasn't taking into account the possibility that type
information was unavailable, leading to a crash when used without a debug
libbe being present.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 23:34:02 +00:00
Ingo Weinhold
1e393751ba MemoryManager::_GetChunks(): Fixed incorrect check. The area structure offset
introduced in r37701 was not taken into account for computing the short meta
chunk size. Fixes the reopened #6237.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 20:23:42 +00:00
Axel Dörfler
1ea7b190fe * Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 17:40:29 +00:00
Axel Dörfler
e27005998f * Applied a patch of x-ist that implements auto hide functionality with minor
coding style changes by myself.
* Thanks, and sorry for the long delay!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 17:34:44 +00:00
Axel Dörfler
13bec72c73 * Add IPv6 modules to the build; they shouldn't do any harm at least, and a bit
more testing can't hurt.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 16:51:01 +00:00
Rene Gollent
90753bf805 Fix leaking of type references.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-05 00:57:29 +00:00
Alexander von Gluck IV
b6c5f46896 * Add D2 GRPH update lock register to priv headers
* Add crtControl global register
* Add grphUpdate storage
* Do some logical reordering of register writes
* Correct crt final power-on checks
* Enhance tracing
* Disable PLL, it is needed but seems to completely break
  the modesetting resulting in black-screen-of-doom.
  (fixing PLL set/calibration is now priority one)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 22:24:17 +00:00
Clemens Zeidler
33dd44da71 Small leftover from my debug code. Return the correct status now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 21:14:11 +00:00
Clemens Zeidler
63bf94e273 The complete S&T group has an additional, surrounding magnetic border now. Fixes #7437.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 21:10:10 +00:00
Clemens Zeidler
b91ddd8116 * Make the magnetic border code more accessible by moving the code into a separate class and use it in a new protected WindowBehaviour method.
* Simplify the algorithm a bit, no functional changes are intended.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 21:04:55 +00:00
Rene Gollent
d012351656 Add TODO note.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 16:52:19 +00:00
Rene Gollent
977db2b595 Add clarifying comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 16:50:37 +00:00
Rene Gollent
c1d84ade70 * Use the base type name in order to look up the types for strings
and pointers. This gets strings inside BMessages working.

* Enable the BMessage type handler. This effectively means that the debugger
  now has the ability to introspect BMessages for their field contents.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 14:56:31 +00:00
Rene Gollent
e5519ef504 Add a constraint field which allows one to specify a particular base type name.
This is necessary for looking up pointer and array types.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 14:55:13 +00:00
Rene Gollent
063fa6fa1e Properly handle field names that have multiple indices by publishing
child nodes for them.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 14:05:42 +00:00
Rene Gollent
677379191f Lookups against the type cache need to be checked against the constraints
as well.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 13:20:00 +00:00
Rene Gollent
140b05c8ec Simplification due to better understanding of the node system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 12:44:29 +00:00
Rene Gollent
aa069e23fa Add a listener hook to notify the parent when model nodes are marked hidden.
This allows the variables view to request value/location resolution for those
nodes as needed, since it's otherwise unaware of their existence. This is
necessary in order to correctly handle nodes which require resolution to
happen in order to publish their children, since their value would otherwise
never be requested when they're hidden by virtue of being the child of an
address node.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 12:41:58 +00:00
Alexander von Gluck IV
4c330e8cfd small order of operations fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 03:10:32 +00:00
Rene Gollent
002d5e9729 Only mark a compound child hidden if it is in fact the only child present.
Interesting side effects otherwise occur in the case where multiple compound
children are present, since other areas of the table model depend on the node
only being hidden in the single child case.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 02:34:08 +00:00
Joachim Seemer
3f1b2f48aa Updated catalogs from HTA.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-03 10:18:25 +00:00
Rene Gollent
ef826895ff * Restructure things a bit so we store the message's message and field headers
after resolving them. This allows us to reuse BMessage's logic for computing
  the offsets of values in the data buffer.
* Resolve fields to their types and correctly resolve the locations of their
  data. This means we can now see the values of fields inside the message, with
  some caveats: string types aren't yet handled properly, and we don't yet
  properly deal with fields that have multiple indices.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-02 20:11:54 +00:00
Rene Gollent
a4dcbd0004 Add Brian Luft to the contributors list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-02 16:01:54 +00:00
Rene Gollent
ce59b51ce3 Applied patch by Brian Luft to clean up the shortcuts GUI and bring it more
into HIG compliance. Resolves part of #5420. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-02 16:01:05 +00:00
Rene Gollent
f4e0b8d03a Now that DebuggerInterface is BReferenceable, all of these need to be correctly
acquiring/releasing refs to it as well. Thanks Ingo.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-02 02:01:02 +00:00
Rene Gollent
e466360263 Add copy constructor to ValueLoader.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 21:45:44 +00:00
Rene Gollent
96893f28cc Acquire references to TeamMemory appropriately.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 21:41:21 +00:00
Rene Gollent
8ac3d9fe39 Resolved TODO: made TeamMemory and TeamTypeInformation BReferenceable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 21:40:32 +00:00
Michael Lotz
716e16d4c3 Change the test frame type to something that differs depending on endianness so
that swapping issues as in r42357 can be detected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 21:33:42 +00:00
Michael Lotz
4cde5cc228 * Fix binding to link level sockets. The bound type was constructed using the
sdl_e_type in network byte order, causing such a socket not to receive
  anything.
  When working around that by not using htons() on bind, sending would then fail
  on such a socket because the byte order is actually required to be swapped
  there.
* Extend the comment for the B_NET_FRAME_TYPE macro to document that the input
  types are supposed to be in host byte order to avoid future confusion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 20:26:37 +00:00
Alexander von Gluck IV
97510b0338 * Introduce a new tab to the Appearance Preflet for Decorator
* Show Decorator information button
* Decorator changes happen in real time on click
* Remove *old* OpenBeOS Decerator selection code
* Still have a little cleanup todo
* Need to give a little focus on revert/default buttons
* Decerator test / screenshots?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 04:46:07 +00:00
Rene Gollent
fd47185941 BMessageFieldHeaderNode{Child} -> BMessageFieldNode{Child}
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 02:40:16 +00:00
Rene Gollent
698ad09748 * Add interface TeamTypeInformation and implement in TeamDebugInfo. Pass along
to various classes that need a reference to it in order to allow value nodes
  to look up type information from the target team.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 02:36:32 +00:00
Rene Gollent
8a7985745c Cleanups to simplify handling of pointer vs value types.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 01:54:58 +00:00
Axel Dörfler
f74d4e95d9 * Removed the 150ms delay before showing the window - the window is now always
opened only once the stream is ready. This fixes the random "open in audio
  position" of video files.
* Removed a call to _ShowIfNeeded() in _RefsReceived(); it doesn't seem to have
  any purpose.
* Center new video windows on screen.
* Call _ShowIfNeeded() after the window has been positioned and resized in
  _SetupWindow(). This fixes having the window jump around on screen after
  launch.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 00:05:29 +00:00
Axel Dörfler
0325a782f4 * Removed the superfluous wait time until the context menu pops up. This fixes
the video hanging everytime you open the context menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-30 23:05:51 +00:00
Axel Dörfler
c54e3124f6 * Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-30 23:01:18 +00:00
Axel Dörfler
d6c46607da * Enabled the "keep subtitles visible when the controls are visible" mode
in the "subtitles at the bottom of video" setting, too.
* Nice surprise to see a feature I wanted to implement already implemented,
  really nicely done stippi :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-30 23:00:38 +00:00
Rene Gollent
185d2cdcb9 * Add model class TypeLookupConstraints.
* Create and pass constraints to type lookup requests to ensure
  that the type we get back is in fact the one we wanted, and not
  a different one that happened to have a similar name.

Resolves ticket #5495.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-30 22:30:48 +00:00
Alexander von Gluck IV
26e18b1f89 gcc2 buildfix; few style adjustments
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-30 21:57:39 +00:00
Alex Wilson
b0b8840701 Update LayoutTest1.cpp to use the templatized layout builders, and compile while I'm at it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-30 20:09:27 +00:00
Clemens Zeidler
9879c0bc8b Forgot this one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-29 23:40:33 +00:00
Clemens Zeidler
83c3aba207 More localization support by taos, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-29 22:37:44 +00:00
Clemens Zeidler
c30f4641fa Be more clean and use a auto lock, thanks Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-29 22:00:00 +00:00
Fredrik Holmqvist
6831484d63 Guesswork but since #7750 stops in this loop, and all other similar loops look like this (and it works here): I think we need to update child.
Let me know if I'm wrong.

This should fix #7750. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-29 21:13:12 +00:00
Axel Dörfler
e416dbbd1b * Fixed GCC2 build.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-29 18:17:24 +00:00
Michael Lotz
961a96a987 Optimize the configuration of the port heap. Previously the max bin size was
512 bytes with a heap page of 2048 bytes resulting in excessive waste for
allocations between 512 and 1023 bytes. Also tune the requested alignment so
that sizeof(port_message) (currently 28 bytes) can occupy one allocation unit
without waste.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-29 18:03:42 +00:00
Clemens Zeidler
2483cfd8b7 Patch by taos. Fix mail daemon signature. Thanks! This probably break the HTA entry... Is there a special reason why the signature is x-vnd.Be-POST? x-vnd.Haiku-mail_daemon sounds better to me.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-28 23:48:00 +00:00