Commit Graph

30473 Commits

Author SHA1 Message Date
Rene Gollent
bd4b1ce4f7 Clear selection on file change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 00:42:38 +00:00
Ingo Weinhold
c31af1b060 Turned the view into a tree view. Still only the top level is shown, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 00:22:41 +00:00
Ingo Weinhold
20e4297b61 Added TreeTablePath::RemoveLastComponent().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 00:21:14 +00:00
Ingo Weinhold
d8c41ef38f Added support for containing BReferenceables of arbitrary actual type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 00:20:53 +00:00
Ingo Weinhold
6feb776265 Alias Referenceable as BReferenceable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 00:20:06 +00:00
Rene Gollent
34c6797ed4 Remove no longer needed hack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 20:53:41 +00:00
Stefano Ceccherini
e0826ec8d8 fixed gcc 4 warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 18:34:41 +00:00
Stefano Ceccherini
ba823bcb17 fBuffer was allocated with new and freed with "free()". Fixedx
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 18:34:05 +00:00
Stephan Aßmus
1b98cebd7a Turn off the optimization to skip calling Flush() when an invalidate request
was already sent by this or another view. This was already the case for the
BRect version of Invalidate(), but was forgotten in the BRegion version. I
just had an idea what the problem could be, but I think it's bogus. Needs some
investigation. Should fix ticket #4119 for the time being.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 15:44:15 +00:00
Stephan Aßmus
a5339f65c3 Fix a GCC4 warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 15:40:43 +00:00
Axel Dörfler
6102f0788a * file_cache_set_size() now clears the last page of its cache if needed. This
fixes #4106 for good.
* Also removed a bit of dead code in that function.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 09:19:24 +00:00
Stephan Aßmus
0d8ab1c4c1 When the display aspect values were large enough, the calculations in
MainWin::_GetUnscaledVideoSize() would result in 0 width/height. Fixes ticket
#4114.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 08:09:41 +00:00
Ingo Weinhold
2bf55b39a5 * Made FunctionID abstract. There are now two implementing subclasses,
SourceFunctionID (where we know the souce location of the function) and
  ImageFunctionID (where we don't know the source location). Made the
  classes archivable.
* Added support to find functions by ID.
* Improved user breakpoint handling. We can now "install" a breakpoint before we
  even know the function instances in which to install it. Whenever image debug
  information become available, breakpoints are installed in the concerned
  function instances of the respective image.
* Always trigger loading image debug info as soon as we become aware of an
  image.
* Implemented a settings management mechanism. ATM only the breakpoint
  locations for debugged teams are persisted. This seriously improves the
  debugging fun, though. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 02:35:30 +00:00
Rene Gollent
79a9dc4460 Implement missing horizontal drag scrolling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 02:21:20 +00:00
Ingo Weinhold
2d350c1010 Utility functionality for archiving/unarchiving.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 02:21:06 +00:00
Rene Gollent
a63980d9b7 Inlined _NextTabStop as suggested by Ingo (thanks!).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 01:26:39 +00:00
Rene Gollent
21931c6b49 * Factor out _NextTabStop() for use by the mouse position and text formatting functions.
* Use _NextTabStop() to correctly determine what character the mouse is clicking on for a line containing tabs. This fixes ticket #4110.
* Sync() after updating the selection region when moving the mouse so the visual feedback is immediate instead of the app_server trying to batch it. This fixes the random delays in the selection highlight updating itself.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 23:19:56 +00:00
Stephan Aßmus
3ecab110e7 Fixed typo in comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 15:46:53 +00:00
Oliver Tappe
5c454bb4ce * added another tiny glibc-test, testmb.c, which covers a couple of mb-/wc-related
functions (in a failed attempt to reproduce #4113)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 13:57:38 +00:00
Stephan Aßmus
130e0a69f8 Patch by Jens Arm with cleanup by myself:
Implemented the statfs operation which helps to get
information like used and free blocks on the volume.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 13:47:29 +00:00
Axel Dörfler
d0ed3c5f45 * On second thought, ignoring those characters make more sense than writing
basically garbage to the name.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 13:38:11 +00:00
Axel Dörfler
df51dda6c4 * Added a comment mentioning the missing handling of characters out of the UCS-2
range.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 13:26:45 +00:00
Axel Dörfler
c06e68d0c8 * Added partitioning system modules efi_gpt, amiga_rdb, and apple to the image.
* Changed the boot loader to have architecture dependent partition/file system
  support. Amiga/Apple partitions, and the AmigaFFS file system are now only
  supported on PPC, while EFI GPT, and the FAT file system is now only supported
  on x86.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 12:10:09 +00:00
Axel Dörfler
c6efb0f437 * Added missing "name" parameter to efi_gpt_create_child(), and
efi_gpt_validate_create_child() hooks.
* Implemented setting the name to the partition for real.
* Implemented to_ucs2().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 12:06:23 +00:00
Axel Dörfler
b8e5a675e5 * Implemented missing date parsing; queries like "last_modified > %-5 minutes%"
are now working as they should.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 10:05:20 +00:00
Axel Dörfler
8315ac2417 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 09:45:54 +00:00
Axel Dörfler
664683a7d2 * Fixed just another typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 08:33:57 +00:00
Axel Dörfler
bdee97bc3a * Applied slightly changed patch by Alexander von Gluck.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 08:22:01 +00:00
Ingo Weinhold
a5e1e7ceba Refactoring: Moved TeamDebugModel functionality into Team and got rid of the
former.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 19:20:06 +00:00
François Revol
77777c5389 Of course, using warnings as placeholders for code to write works fine until it's included when building an arch with -Werror...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 18:14:32 +00:00
François Revol
ff84453736 [GSoC] [ARM] Patch by Johannes Wischert.
Add dummy args structs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 18:10:06 +00:00
Jérôme Duval
9587a788d2 added subversion bash_completion from http://svn.collab.net/repos/svn/trunk/tools/client-side/bash_completion r37847
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 18:06:02 +00:00
François Revol
735be9db97 [GSoC] [ARM] Patch by Johannes Wischert.
Include ARM struct.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 18:04:35 +00:00
François Revol
8666a725ac [GSoC] [ARM] Patch by Johannes Wischert.
Add ARM header for debugger.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 18:03:42 +00:00
François Revol
6f823c251b Disable -Werror for m68k, arm and mipsel since we aren't really ready for it and we use #warning to mark things to write...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 17:34:13 +00:00
François Revol
9463ff4cb7 [GSoC] [ARM] Patch by Johannes Wischert.
Add ARM defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 17:19:02 +00:00
François Revol
7043bc6852 [GSoC] [ARM] Patch by Johannes Wischert.
Add ARM defines to the build system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 17:17:09 +00:00
Stefano Ceccherini
e6a52fe4b7 Setting the font family/style in a BPicture works now. Added a comment
to ServerBitmap


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 16:38:52 +00:00
Ingo Weinhold
a8d54837a8 Patch by Bryce Groff: Use the same name for BFS as <DiskDeviceTypes.h> does.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 14:59:27 +00:00
Ingo Weinhold
c1dd2f540d Patch by Jens Arm: Fixed swapped arguments in _kern_create_[sym]link()
invocations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 13:50:28 +00:00
Axel Dörfler
1ad5198c09 * Reset keyboard state when an emergency key has been processed - it's likely
that we lost a few keystrokes, and would make keys (like SysReq) stick.
  Thanks to Rene for the note!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 08:02:51 +00:00
Rene Gollent
b7419f8d91 Fix style violations introduced by nameless people ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 02:11:49 +00:00
Ingo Weinhold
0e8b72b130 * Fixed spurious IP and breakpoint markers in disassembled code.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 01:59:52 +00:00
Ingo Weinhold
25598171b1 GetStatementAtAddress(): Terminate, if we couldn't get the statement from the
disassembled code of the function.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 01:53:59 +00:00
Ingo Weinhold
ae8f22407a GetStatement(): 0 is a valid source location line, so rather init to -1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 01:52:21 +00:00
Ingo Weinhold
e78744554e Domain::_LocateDirectory(): We first want to check whether the directory exists
before trying to map its parent. This is what _LocateEntry() already does, so
things can be simplified. Should fix problems with finding local source files
for good. Or so I hope. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 01:10:45 +00:00
Ingo Weinhold
0b11ecb18c * Always include the public arch_debugger.h headers. The structures defined
there are prefixed with the respective architecture name. Useful for remote
  debugging a different architecture.
* <x86/arch_debugger.h>: Introduced a structure for the FPU state, so that it
  isn't left to the debugger.
* Removed the _kern_get_thread_cpu_state() syscall. Was originally intended for
  bdb compatiblity, but isn't really needed.
* Kernel x86 arch_get_debug_cpu_state(): The use of fnsave was broken, since
  it reinits the FPU after saving the state. This resulted in weird results
  when debugging functions using the FPU. We now use fxsave, if available.
  Otherwise fnsave + frstor should be used -- not fully implemented yet.
  Same for arch_set_debug_cpu_state().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 22:18:39 +00:00
Clemens Zeidler
d0c0ee9dd1 Add battery driver to the image. (needs acpi enabled)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 19:27:29 +00:00
Clemens Zeidler
387cda1a6a Move watching part from the driver cookie to a device cookie.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 19:18:56 +00:00
Clemens Zeidler
b636a0ec0b Make the shown info a little bit more usefull.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 19:15:32 +00:00