Commit Graph

30517 Commits

Author SHA1 Message Date
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
Rene Gollent c4ee57cfe2 Make source view navigable and scrollable via the usual keyboard shortcuts. Still lots to do including drawing a focus highlight and text selection/copying via keyboard and/or mouse.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-12 20:29:18 +00:00
Oliver Tappe 2b5f70fcad * updated python optional package, which was built by Scott
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-12 17:15:57 +00:00
Fredrik Modeen d0da5b576f Fix compile of BeServed on Zeta but could not get it to work on Zeta - Windows xp combination. I will not do much more work on this. I have a pkg that I intend to make public.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-12 14:03:58 +00:00
Stephan Aßmus 7f96d6194d Fixed accidental removal of licenses in previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-12 10:34:19 +00:00
Fredrik Modeen fcab391bbc Fixes #2314.
* Check if ProcessController are already installed in deskbar, If so don't try to install again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-12 10:25:18 +00:00
Rene Gollent 008ec58d9f When building the block cache for UserlandFS's haiku emulation lib, don't include tracing since that's unavailable outside of the kernel. Fixes ticket #4092. Axel or Ingo, please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-12 03:52:52 +00:00
Ingo Weinhold 50ffb0b27e Fixed Includes invocation for .def files. The wrong variable was used.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 20:27:44 +00:00
Ingo Weinhold 6cba4149a1 Announce y.tab.h inclusion of parse.h to jam.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 20:25:39 +00:00
Ingo Weinhold 31af373488 Patch by Bryce Groff with small changes by myself:
* Fixed _Create(): Now it correctly supports nested partitions and uses the
  selected partitionable space.
* Fixed _Delete(): Should also work for nested partitions, now.
* Changes to keep the disk view and menu item state in sync.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 16:50:57 +00:00
Michael Pfeiffer 504033fbbe Clean up. Renamed spool_file to spoolFile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 14:37:11 +00:00
Ingo Weinhold a365e1cfbb Patch by Bryce Groff, some changes by myself:
* devfs:
  - devfs_[un]publish_partition(): They no longer get the partition path as
    parameter, but rather the device path and the partition name.
  - Added devfs_rename_partition(), which renames an already published
    partition node.
* KPartition/KDiskDevice:
  - Replaced the fPublished flag by fPublishedName, the name under which the
    partition is published. This simplifies UnpublishDevice() and makes it
    practically infallible.
  - Added GetFileName(), which only returns the partition's file name.
    Simplified GetPath() by using it.
  - When a partition is added/removed the subsequent sibling partitions get a
    new index. Now we also rename their published device nodes (and those of
    their descendents). When something goes wrong we unpublish the concerned
    partition's device to be on the safe side. Would be a shame to accidentally
    format the wrong partition, eh? :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 14:35:04 +00:00
Michael Pfeiffer 3db3c417f0 Fixed ticket #2935: Background of preview window should be gray.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 14:23:35 +00:00
Michael Pfeiffer b3491b369f After showing the preview window the print output was empty, because file position was wrong.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 14:00:53 +00:00
Clemens Zeidler e391ec67b7 - extended info window looks a little bit better now.
- cache the battery status and read it out in the polling thread
- fix time label



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 10:53:29 +00:00
Michael Pfeiffer 9a443f6c06 Added yasm and cdrtools to list of dependencies.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 10:17:06 +00:00
Ingo Weinhold 37e2eea0d8 Remove duplicates in the function list view.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 00:15:39 +00:00
Ingo Weinhold 18ca318a3d * Since disassembled code is actually function instance specific,
FunctionInstance does now also have a (DisassembledCode) source code
  attribute. Function keeps its attribute, but it explicitly is a
  FileSourceCode now.
* SourceCode:
  - Removed GetStatementAtLocation(). Instead DisassembledCode has a
    StatementAtLocation() now. As well as a StatementAtAddress() and
    StatementAddressRange(). Rather cast to the subclass (in two instances)
    instead of having those methods in the base class. In most cases we already
    have the subclasses now, anyway.
  - Added Lock()/Unlock(), which are implemented in FileSourceCode. The
    statement ranges are no longer immutable, so we have to lock.
* TeamDebugModel:
  - Revived GetBreakpointsInAddressRange().
  - GetBreakpointsForSourceCode(): Optimized for DisassembledCode and fixed
    in the FileSourceCode case. We need to compare with the functions' source
    file instead of their source code, since they might not have the source
    code set yet. Fixed two instances of the same problem in SourceView. Setting
    breakpoints in functions that have no associated source code yet, works now.
* Team:
  - GetStatementAtAddress(): Optimized by using the DisassembledCode, if
    available.
  - GetStatementAtSourceLocation(): If the supplied source code is
    DisassembledCode, we have to get the statement from it directly, since
    we can't get that information from the image debug info.
* TeamDebugInfo: Added LoadSourceCode() and DisassembleFunction(), the new way
  to get FileSourceCode respectively DisassembledCode. SpecificTeamDebugInfo
  has lost LoadSourceCode() and gained service methods AddSourceCodeInfo() and
  ReadCode(). This avoids unnecessary code duplication in the subclasses.
  Moreover it allows for joining source location info source files from
  different images (and compilation units) -- interesting for inline functions
  in headers.
* Adjusted LoadSourceCodeJob and TeamDebugger::FunctionSourceCodeRequested()
  accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 00:05:26 +00:00
Stephan Aßmus 1dc94c6b69 Fix spelling error in comment. Thanks Joseph!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-10 18:51:33 +00:00
Stephan Aßmus b07121279f Keep the mouse at the same location when preventing the screen saver to go
off... solves some weird issues.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-10 18:08:30 +00:00
Stephan Aßmus 3621c97fdf Most of our Readers place 1:1 as pixel aspect ratio for undistorted video,
which doesn't seem to be correct from how I read the BeBook. Ignore it for
now which is pretty unlikely to be a problem.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-10 17:59:34 +00:00
Stephan Aßmus 691c650397 Do not set the pixel_*_aspect fields wrongly, just leave them at 0, which
hopefully any app interpretes as to be ignored.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-10 17:49:50 +00:00