Commit Graph

30147 Commits

Author SHA1 Message Date
Ingo Weinhold
050b103c26 Don't SubInclude the libntfs subdir again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 21:12:04 +00:00
Stephan Aßmus
728fcacd9a Accidentally didn't commit my latest verson.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 19:39:24 +00:00
Stephan Aßmus
97eeaf2256 * Icon for Transmission by zuMi, with tweaks by myself (align handle for 16x16)
* Icon for Beacon by zuMi (I think Ryan had the idea), with many tweaks by
  myself (new and simplified shaft with outline, beams are not cropped, better
  shadow).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 19:37:54 +00:00
Bruno G. Albuquerque
808cb201de - Small clean-up. Change relevant function names to more appropriate and
non-ambiguous names (as pointed out by Ingo).
- This file has a lot of code that is Haiku only and is not in the original
  ntfs-3g code. maybe we should try to clean this up and merge the changes
  upstream.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 16:52:08 +00:00
Ingo Weinhold
d24e0386a3 * Added LocationDescription class.
* Handle DW_AT_location attributes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 16:49:08 +00:00
Ingo Weinhold
dec24704e1 * Moved the outer dependencies for the expression evaluation into new class
DwarfExpressionEvaluationContext.
* Implemented the remaining operations save DW_OP_piece and DW_OP_bit_piece.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 16:21:33 +00:00
Bruno G. Albuquerque
137ded7516 - Use ntfschar instead of wchar_t where applicable. libntfs assumed that the
size of wchar was 16 bits, which was not true anymore after recent changes.
- Considering the changes were inside libntfs, which is 3rd party code, I am
  not sure this is the correct way to apply this fix (if you have a better
  idea, let me know.
- This fixes bug #4075.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 15:39:09 +00:00
Axel Dörfler
0ca5323479 * Changed the enum into defines, so that apps can check whether or not they
exist (as mDNSResponder does, for example).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 15:28:49 +00:00
Rene Gollent
3c0955a1ce * Removed no longer needed workaround for mouse wheel messages (thanks Axel!).
* Introduced SourceCode::LineLengthAt(index) and respective implementations in FileSourceCode and DisassembledCode for getting the cached length of the line at the given index.
* Use LineLengthAt in various places in SourceView::TextView to avoid having to calculate string lengths on the fly.
* Clamp the size of the drag and drop rect to the window size. Otherwise in cases of large selections, said rect would get quite large.
* Add support for double click word and triple click line selection.
* Fix problems with tracking state which would erroneously cause the mouse entering the view while dragging on a scroll bar to initiate a drag and drop if there was selected text.
* Add Select All menu/keyboard shortcut and implement corresponding functionality in SourceView::TextView.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-15 12:52:18 +00:00
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