Commit Graph

30138 Commits

Author SHA1 Message Date
Ingo Weinhold
3c33a74c01 Rather resolve range lists lazily. We need them for all functions, but there
are a lot more DIEs that have range lists.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 12:37:56 +00:00
Axel Dörfler
78888c44da Applied patch by Ma Jie adding functionality needed by mDNSResponder:
* added new protocol method process_ancillary_data_no_container() that does not
  need a container to fill the cmsghdr data.
* Added support for the IP_RECVDSTADDR option using this call.
* Implemented support for IP_MULTICAST_IF.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 11:53:29 +00:00
Ingo Weinhold
ecece29dd8 thread_hit_serious_debug_event(): Incorrect return value. Fixes #4098.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 11:37:04 +00:00
Axel Dörfler
491e89c541 * Worked around our now POSIX conformant realpath() implementation. If we decide
to go back to BSD's, this one can be reverted again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 11:31:44 +00:00
Axel Dörfler
648b674d3f * Fixed volume change via mouse wheel over the replicant icon regression.
See #2323.
* Also fixed the mouse wheel not working once the volume value equaled -1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 09:16:12 +00:00
Axel Dörfler
2cff698572 * Removed some problematic (OpenSound) entries, those that are already included
in others, and those where we already provide functionality for (VLC, Beam).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 08:17:45 +00:00
Axel Dörfler
514fcf3be9 * Pass the mouse wheel message to our parent (ie. the next handler) if we don't
have any scrollers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 08:07:44 +00:00
Axel Dörfler
68504ee9f2 * Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 08:04:50 +00:00
Ingo Weinhold
ca38af4c2b Implemented interpretation of most of the DWARF expression operations. A few
are still missing. And everything is still utterly untested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 02:12:03 +00:00
Ingo Weinhold
460f6b3e73 Added DwarfTargetInterface::ReadValueFromMemory() version with address
space + address pair.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 02:08:47 +00:00
Ingo Weinhold
ade8662ece Added ReadValueFromMemory() version taking an "address space" + address pair as
used by DWARF. Not needed/supported for x86.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 02:07:42 +00:00
Jérôme Duval
b739c6a866 recognizes the ac3 codec as part of the WAV format family (the one published by ac3_decoder).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 23:23:52 +00:00
Jérôme Duval
6fd02522ea fix debug mode
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 23:14:42 +00:00
Rene Gollent
0543dd88c7 Forward mouse wheel changes to the parent view so the scroll view can react to them.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 23:11:21 +00:00
Rene Gollent
4890653c13 Small cleanups. Implement drag and dropping the text selection.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 22:57:08 +00:00
Rene Gollent
6c6e9cdb1a Rework copy message dispatching to auto-dispatch to the focus view rather than targetting the textview specifically.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 22:42:15 +00:00
Rene Gollent
9e1a62419e Style fixes and automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 22:28:35 +00:00
Jérôme Duval
8856fd5fcf Have MediaPlayer supports files with unknown duration:
* Controller: accept streams with unknown duration. 
* PlaybackManager: trusts the current frame start and end when frameCount not positive. Also don't stop playing when fStopPlayingFrame is zero. 
* MediaTrackAudioSupplier: only fills with silent when the frame count is not zero.
* added some traces.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 21:54:45 +00:00
Jérôme Duval
170bf578be change video/ts to video/mp2t as recommended by Fredrik Ekdahl
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 20:57:11 +00:00
Fredrik Modeen
f8c84871ee Spell fix, thanks Stefano for correcting me.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 20:41:59 +00:00
Fredrik Modeen
05afd3332b * Last check in had an error when you tried to install ProcessController twice.
* Had to change some names so that I didn't use the name tmp or temp :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 18:43:22 +00:00
Ryan Leavengood
b7af6fd5a4 My update of zuMi's Beacon icon to have the target not cut off and a smaller
more centered arrow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 18:34:48 +00:00
Jérôme Duval
1a90d61b47 synth is already in the data directory, removed the one in the etc directory.
change B_SYNTH_DIRECTORY to use the data directory


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 17:05:57 +00:00
Jérôme Duval
5ad2aeb373 added video/ts for transport stream videos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 16:47:54 +00:00
Jérôme Duval
84adf930a7 added the synth directory for SF2 banks. big_synth.sy is used there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 16:09:10 +00:00
Stephan Aßmus
6da40f2e24 Fixed more bugs with re-layouting when switching clips:
* In full screen mode, make sure to relayout the video view if size and/or
  aspect change. Also adjust the window size limits (for later).
* Add optional code to _ResizeWindow() to make sure the window is fully on
  screen. When it is out on one side, move it back in, when it is too large,
  scale and center it so all the border is visible. This code is used when
  switching clips if not in full screen mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 12:50:38 +00:00
Stephan Aßmus
d99b6b083f Make sure the window size limits are always up to date.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 12:09:51 +00:00
Stephan Aßmus
095a1f5b8b Use the usual function keys as shortcuts for stepping. (From memory, hope I got
it right...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 11:47:50 +00:00
Stephan Aßmus
5422febd0b Fixed a few coding style violations and GCC4 warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 11:26:15 +00:00
Stephan Aßmus
3bc54daf84 Patch by zuMi:
* Updated BeHappy icon
* Updated PoorMan icon
* Beacon draft (I don't think it fits so well with the rest of the icons)
* New CF LightBulb


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 10:33:16 +00:00
Stephan Aßmus
84b8519214 A whole bunch of icons, all made by zuMi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 10:30:02 +00:00
Ryan Leavengood
07587ce238 I have created a new CharacterMap icon, which resurrects a big part Stephan's
great Menu prefs icon. If the extra little "islands" seem extraneous they can be
removed easily. I figured the Yen symbol was an appropriate choice for the main
island.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 06:27:21 +00:00
Ryan Leavengood
b097110bfb According to Stephan the bug I wrote this code for (#1307) is no longer an
issue. Since there may be valid reasons to have part of the media player window
offscreen this code could get annoying. I still think it is pretty though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 04:36:17 +00:00
Rene Gollent
ab49b58c80 Copy to clipboard now works.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 04:03:12 +00:00
Rene Gollent
8bf1b2d603 * Fix several visual glitches in the selection highlight and selection behavior.
* Highlight the source view to indicate focus.
* Add rudimentary menu bar with quit and copy options (copy not yet working)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-14 00:41:59 +00:00
Ingo Weinhold
ab3c00eef3 The beginnings of a DWARF expression evaluator.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 23:54:32 +00:00
Ingo Weinhold
e355492924 Missing include.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 23:53:55 +00:00
Ingo Weinhold
106c4d4020 * Got rid of dwarf_{addr,off,size}_t. Consequently use 64 bit types instead.
* Made the DWARF code fully 64 bit aware (hopefully).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 23:03:36 +00:00
Jérôme Duval
487862c6bc uses B_ORIGIN when drawing the bitmap. helps with blender
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 21:57:54 +00:00
Ingo Weinhold
fd1f509330 Skeleton for source language abstraction. There's SourceLanguage with several
subclasses, though they don't do much yet. SourceCode is now associated with a
SourceLanguage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 20:45:15 +00:00
Ingo Weinhold
5bf75a6f2b Last minute change that, of course, broke the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 20:05:17 +00:00
Stephan Aßmus
9ce9e6e458 Resetting the width/height and aspect all at once in my last commit was buggy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 20:04:06 +00:00
Stephan Aßmus
f186fa405c * Improvements to the aspect ratio handling. The "Keep Aspect Ratio" setting
is now superfluous.
* When switching aspect ratio and the current video size is 100%, always
  resize such that one side stays at 100% (which would be the height mostly)
  and the other is scaled up (mostly the width).
* In _SetupWindow(), which is triggered by a new stream for example, also
  check if the aspect ratio changed and resize accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 19:58:07 +00:00
Ingo Weinhold
f7526300d9 * DWARF: Implemented parsing the DWARF frame info and evaluating it (save for
DWARF expressions). Several related new classes: CfaRule[Set], CfaContext,
  DwarfTargetInterface (for accessing target registers and memory).
* Implemented DwarfImageDebugInfo::CreateFrame(), so the DWARF frame info is
  used for unwinding the stack.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 18:54:11 +00:00
Ingo Weinhold
614e1dc42f * Register:
- Added a type constant describing the format of the register value.
  - Added flag "is callee-preserved" indicating whether the ABI requires the
    register to be preserved by a called function.
* CpuState: Added SetRegisterValue(), made GetRegisterValue() const.
* Added RegisterMap interface for mapping register indices between different
  models.
* Architecture:
  - Added CreateCpuState() version to create a clean CpuState.
  - Added GetDwarfRegisterMaps(), which returns to RegisterMaps, converting
    from and to DWARF register indices.
  - Added ReadValueFromMemory() reading a value from the target team's memory.
    The value type is specified by a type constant and the value return via a
    BVariant.
  - CreateStackTrace: No longer decide whether to adjust the instruction pointer
    of the previous CPU state depending on who created the CPU state. Instead
    compare it with the return address of the next frame. If they are equal it
    obviously has to be adjusted.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 18:45:49 +00:00
Ingo Weinhold
3b859de22e Added handy static method SizeOfType().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 18:33:06 +00:00
Rene Gollent
000dfcbcf3 Draw the selection highlight. Still has some issues when shrinking the selection region, but will deal with that after work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 13:05:10 +00:00
Rene Gollent
366f83ad41 Add partially functional mouse selection support. Doesn't yet draw the selection highlight or handle scrolling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-13 00:19:26 +00:00
Jérôme Duval
7e1a9f1583 applied from idefix to fix the tab order for the Expander app (bug #4076). Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-12 22:05:38 +00:00
Jérôme Duval
7096765716 added quotes around the mount point parameter, should fix #4063
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-12 21:57:11 +00:00