Commit Graph

30197 Commits

Author SHA1 Message Date
Axel Dörfler 7d7de072af * Fixed a crashing bug in case creating the image symbol iterator failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 14:02:21 +00:00
Bruno G. Albuquerque 08eedf6c5b - Remove error reporting when we can not open the inbox directory to read the
manifest from it. This is a common condition on the first run.
- Added a comment about this.

This fixes ticket #2133.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 11:30:39 +00:00
Ingo Weinhold 8fad39df43 Also get the local variables for a stack frame. Apparently gcc doesn't add a
DW_AT_start_scope attribute to any variable entries, so the variables already
appear at the beginning of the block. I suppose we'll have to guess from the
source location when the variables become active.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 01:12:52 +00:00
Ingo Weinhold 905860f5b4 The DWARF specs were a bit fuzzy on this one. Apparently only the low pc
attribute serves as base address for address range and location lists.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 01:07:00 +00:00
Ingo Weinhold fad43e5283 Removed some debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 01:05:34 +00:00
Ingo Weinhold 8d716cdba3 Added support for several variable and lexical block entry attributes and
child handling for lexical blocks (at least for nesting and variables).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 01:05:10 +00:00
Ingo Weinhold 502fcbcc5b Added Contains() method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 01:03:02 +00:00
François Revol b12110c5db Use a define for max cpu count.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-19 20:14:38 +00:00
François Revol 4cf03112fa - cleaner way to scroll to the applet,
- include a config file if exists to avoid committing config stuff.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-19 20:02:58 +00:00
Stefano Ceccherini bd09485ce9 try to handle the SetFontFamily case in ServerPicture, although it doesn't work. Maybe I'm not doing it correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-19 10:21:21 +00:00
Stefano Ceccherini 2fb98dccf3 Added a test for BPicture 'SetFontFamilyAndStyle' which we don't handle yet
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-19 10:14:48 +00:00
Ingo Weinhold da4d62db94 * Worker:
- Made Job Referenceable.
  - Turned JobKey into an abstract base class to add flexibility. The new
    SimpleJobKey is a subclass with the former functionality.
* TeamWindow: Removed the TeamWindow* parameter from the listener hooks. The
  TeamDebugger knows anyway.
* Added IDs to Variable, Function, and FunctionInstance. The latter two generate
  the ID on the fly, Variable stores it.
* SpecificImageDebugInfo::CreateFrame(): Changed FunctionDebugInfo* debug
  parameter to FunctionInstance* to provide more info (the function ID).
* DwarfInterfaceFactory/DwarfImageDebugInfo:
  - Added class DwarfFunctionParameterID, an ID class implementation for
    function parameters and set the IDs on the parameter objects.
  - Retrieve the size of a type (i.e. the size of its objects) and store it in
    DwarfType.
  - If a parameter's ValueLocation doesn't have a size, set that of the
    respective type.
  - Map the register indicies in the parameters' ValueLocations from DWARF to
    our indices.
* Added class TypeComponentPath for identifying subcomponents in types.
* Added class StackFrameValues, a container associating variables and their
  subcomponents with values.
* StackFrame does now have a StackFrameValues object for parameters and local
  variables and a mechanism to notify listeners when values have been retrieved.
* Added GetStackFrameValueJob to retrieve variable values. Lots of functionality
  is missing yet. Most notably it doesn't retrieves values for subcomponents.
* Wired everything to trigger loading of variable values and getting notified
  when done.
* VariablesView: Added a value column. This is all very basic and has to be
  done differently, but at least values for the parameters can be seen already.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 23:52:16 +00:00
Ingo Weinhold bcbd46eba3 Added SetPieceAt() and Dump() methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 23:19:08 +00:00
Ingo Weinhold f3516af2ca Added AddressSize(), IsBigEndian, IsHostEndian().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 23:18:06 +00:00
Ingo Weinhold e3eda50984 Made ByteSize() a virtual method in DIEType and implemented in all subclasses
that potentially have that attribute.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 23:16:51 +00:00
Ingo Weinhold b312b9ff83 Moved the implementation of ExpressionEvaluationContext. No functional changed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 23:15:22 +00:00
Ingo Weinhold 81ad27df05 * More debug output.
* Fixed _PushRegister(). It was ignoring the offset.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 23:13:06 +00:00
Ingo Weinhold d26889cca5 Base classes for IDs for various objects. The idea is to use them to uniquely
identify the respective objects without actually holding a pointer to them.
They will eventually also become persistable which will allow e.g. to associate
(and store) settings with the objects.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 23:11:20 +00:00
Ingo Weinhold 72e9c66b4d Class helping with assembling data from chunks of byte unaligned bit arrays.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 23:06:33 +00:00
Ingo Weinhold 6de84d6d8d Added AddUninitialized(), appending the given number of uninitialized elements.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 23:03:01 +00:00
Ingo Weinhold b5d6fc7173 * Added missing bool type support.
* Added Bytes(), returning a pointer to the "raw" data, and Size(), returning
  the data size.
* Added SetToTypedData(), which initializes the object from a data buffer and a
  type code.
* Added SwapEndianess() to swap the endianess of the contained data (if
  possible).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 23:01:48 +00:00
François Revol 591eab0aba - add PowerOnSensor() virtual,
- Add Or/And reg helpers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 15:34:51 +00:00
François Revol 586b09a499 Add method ProbeByIICSignature().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 14:52:45 +00:00
François Revol e48c731ca7 Add a name to UVC cams.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 14:03:24 +00:00
Rene Gollent 28b5bc6c93 Don't scroll if the mouse pointer is outside the view but still within its y bounds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-18 13:38:19 +00:00
Joachim Seemer 714d0c0567 * Fixed link in applications.html
* Added "setup wizard" and some info on IMAP to prefs-e-mail.html. IMAP is a bit
  broken, as was recently found out, so I'll leave it all at that for now.
* Moved every localization-dependent image into a mirror image folder under its
  language (ATM there's only "en"). Only neutral images like icons remain
  directly under /docs/userguide/images.
* Changed all image links accordingly.
* Removed all height and width attributes to ease exchanging images. Only fixed
  size images (icons) will retain them for faster loading.
* Added a special pre.terminal for printouts to save ink. Thanks Rob Tijssen for
  that suggestion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 17:14:31 +00:00
Axel Dörfler 5fbad060b3 * Work-in-progress on a kernel profile service that can be evaluated from
userland afterwards.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 16:21:06 +00:00
Stephan Aßmus f594f19bfb Another patch by Jeroen Oortwijn:
It completes the previous patch to the Installer, this time in the Installer
FinishScript, to support making volumes with spaces in their names bootable.
Thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 15:28:03 +00:00
Stephan Aßmus c854f14029 * Cleanup
* Added TODO note with regards to BDataIO streams.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 11:58:33 +00:00
Stephan Aßmus f06ec9ec92 Fallback to detecting the stream duration from the AVFormatContext, if the
AVStream does not provide it. For my test Flash Videos, I can at least get
a duration now, although seeking is pretty broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 09:32:09 +00:00
Rene Gollent 993611096f gcc2 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 02:07:36 +00:00
Ingo Weinhold d315bfd510 * Added class ValueLocation to represent a location of a value on the target
machine.
* DWARF:
  - Various additions to the DIE classes.
  - DwarfExpressionEvaluationContext:
    - Added support for location expressions and thus the missing DW_OP_piece
      and DW_OP_bit_piece operations.
    - Fixed some deviations from the specs.
    - Added debug output.
  - DwarfFile:
    - Added missing evaluation of CFA expression rules.
    - Added service methods to evaluate expressions, location expressions,
      and constant and dynamic values.
* Added model classes for representing types and variables. Particularly the
  types part is not finished yet.
* StackFrame does now contain parameters and local variables.
* Added DwarfInterfaceFactory, which creates implementation objects for the
  types, as well as variables objects. It's even less finished.
* DwarfImageDebugInfo::CreateFrame(): Resolve function parameters and add them
  to the stack frame. No local variables yet.
* Added the beginnings of a variables view. Only lists the names of parameters
  and local variables (of understood types) ATM.
* Renamed RegisterView to RegistersView.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 01:54:43 +00:00
Rene Gollent ce79a21bd0 Fix bug where going out of the view's range would cause the entire region to be deselected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 01:28:30 +00:00
Rene Gollent d2de9de701 Removed SourceView::_VisibleRect() as it was functionally identical to BView::Bounds(). Implemented variable-speed drag scrolling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 01:22:24 +00:00
Rene Gollent 7084f8b18b Resolve TODO: Implement drag scrolling. Needs to be fine tuned some to allow for variable rate scrolling based on how far outside the view you move the mouse, but works for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 00:36:33 +00:00
Stephan Aßmus 36c088531f * Automatic white space cleanup
* Small hack to display at least some frames (one every 15 frames) when the
  CPU is utterly incapable of decoding video fast enough.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 22:20:43 +00:00
Oliver Tappe da82d38f42 * Removed hack used by BeOS to trick stl allocator into using malloc/free for
all allocations, instead we now directly request the use of malloc/free in
  stl_config.h. This avoids warnings about 'arrays of size 0' when building
  any stl-code with -pedantic (like e.g. ICU does).
  Alternatively, we could active pthread-type threading support, but since in
  some small tests, I have not been able to see any advantage, I've just added
  a respective comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 21:27:21 +00:00
Stefano Ceccherini 2d214dbbcb Fixed wrong check
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 19:51:58 +00:00
Stephan Aßmus 9c0db3445c Patch by Jeroen Oortwijn:
Escape the mount point, so volumes with spaces in their name can be made
bootable after installing. Thanks a lot! Fixes #4063.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 13:47:11 +00:00
Stephan Aßmus 10b5c1016e Reverted r31604.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 13:02:17 +00:00
Stephan Aßmus c340785238 * Added support for Flash Video (VP6F video and MP3 audio tested only).
* Seeking does not work, since the duration extraction from libavformat does
  not work for this container (maybe there are ways/workarounds but I didn't
  look into it).
* Automatic white space cleanup.

TODO: Add MIME type with sniffer rule.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 12:59:54 +00:00
Stephan Aßmus 52464b8f9a Couldn't get this to compile with current GCC4 on Haiku without this change,
please someone review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 12:34:54 +00:00
Stephan Aßmus cc6df7270c Removed the other versions, the first version is awesome, IHMO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 10:15:27 +00:00
Rene Gollent c0f60e6610 * Fix some calculation errors in FileSourceCode spotted by Ingo.
* if we click in the selection without dragging, clear the selection.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 03:42:44 +00:00
Michael Lotz ef6d576ca7 That slipped in with the last commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 02:46:25 +00:00
Michael Lotz 63d557f06f Fixing random GCC4 warnings. Mostly missing consts, some parentheses, some braces... Should all be harmless and not change anything.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-16 02:42:03 +00:00
Michael Lotz b78c74fdc4 Fix GCC4 build. Duplicate parameter names generate a warning there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 23:38:15 +00:00
Ryan Leavengood ef37e382db New midi_server icon roughly based on this:
http://karistouf.free.fr/images/BCR2000_G.jpg

The notes may not fit in with other Haiku icons and could be removed. I kind of
like them though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 22:56:55 +00:00
Jérôme Duval 6e94d29882 added flac to the codec table and the demuxer table.
audio format is now taken into account by the decoder when negociating the media output format.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 22:28:13 +00:00
Ingo Weinhold fbe19a11f8 * Fixed several build issues.
* Removed the broken character conversion functions of the Haiku "port".
  Instead map the 4 unused wchar/locale support functions to panic().
  Eventually we might want to provide minimalistic wchar support in the kernel
  instead, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 21:17:17 +00:00