Rene Gollent
c771baca29
Re-enable Vision gcc4 package (update has been posted to haiku-files).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-04 22:54:54 +00:00
Rene Gollent
33dda791af
Fix several incorrect gcc4 and/or hybrid build checks. Closes ticket #4036 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-01 17:10:34 +00:00
Rene Gollent
70392894d9
Added LibIconv as dep for Firefox. Fixes ticket #4169 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-01 15:43:54 +00:00
Rene Gollent
90d0584d89
Added vendor ID for Gateway. Thanks Urias!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-01 04:33:38 +00:00
Rene Gollent
447c2a84b9
Add some more vendor IDs gleaned from some of my monitors here, Urias and one of linux's EDID quirks files.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-01 04:21:50 +00:00
Rene Gollent
51ab53a6ac
Fix some regressions in keyboard shift selection behavior introduced by the last set of changes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-01 04:20:56 +00:00
Rene Gollent
6e58de0288
Implement double click / triple click drag selection as in Pe.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-01 01:40:11 +00:00
Rene Gollent
a0bfe3ab9d
gcc4 build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-01 00:04:05 +00:00
Rene Gollent
2252911973
Add missing definition for wcsstr. This was preventing clucene from building with wide chars enabled.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-31 22:16:58 +00:00
Rene Gollent
16dac19ef7
gcc4 build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-31 17:57:32 +00:00
Rene Gollent
33e0d2e413
Also remove no longer needed variable.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-30 23:26:36 +00:00
Rene Gollent
5171d87a62
Removed stray debug printf.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-30 23:26:09 +00:00
Rene Gollent
9fba8251e9
Since wchar support now works, the wstring typedef should now also be safe.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-29 14:09:43 +00:00
Rene Gollent
cc5a45e3e2
Our current gcc4 is linked to libiconv.so.2 and as such requires the LibIconv optional package to work.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-29 03:09:36 +00:00
Rene Gollent
391e314cb3
Fix build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-29 02:27:26 +00:00
Rene Gollent
490563379e
Fix another omitted instance of anchor updating.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-29 02:07:03 +00:00
Rene Gollent
7155254d3f
Fix several instances of the anchor index not being properly tracked. When shift-selecting via keyboard, rely on the anchor to know where to shift the selection towards. Fixes rest of ticket #4120 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-29 01:59:58 +00:00
Rene Gollent
e80a60b54f
Only react to B_SELECT_ALL when in multiple selection mode. Fixes part of ticket #4120 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-29 01:39:10 +00:00
Rene Gollent
c9d9b2da7e
Remove old BeOS-era hack to prevent NavMenus from containing > 500 items. This fixes missing items when right click browsing large directories.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 20:31:49 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Rene Gollent
b644566e31
Don't append the demangled function name twice. This fixes symbols incorrectly being shown doubled when DWARF info was unavailable.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-10 03:27:19 +00:00
Rene Gollent
a41067fcb4
When initializing a file panel, check if the view is being targetted at the desktop. If so we need to flag appropriately as we need a different iterator which will also return the volume poses. Fixes ticket #4073 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 23:22:38 +00:00
Rene Gollent
254d2b2d1a
Fix a number of problems in PoseView:
...
1) If a node was filtered out by the ref filter, PoseView effectively wiped out all evidence that it ever knew the node existed and stopped listening for changes on it. Consequently, it would never notice if an attribute change such as updating the file's type made the file now eligible to be viewed. Now we keep watching the node and keep it on the zombie list until such time as it passes the filter (if ever).
2) Refresh() cleared the pose list, but not the inserted nodes list. Consequently, any nodes that were already visible before calling Refresh() would not be readded.
This fixes various problems seen in the file panels in WonderBrush (and probably others), such as the file panel initially coming up empty sometimes, and also it not noticing new screenshots,
This closes ticket #1717 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-29 00:06:00 +00:00
Rene Gollent
2688837424
Fix assertion when using Tracker in debug mode. This closes ticket #1636 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 02:27:59 +00:00
Rene Gollent
55e74cf261
Fix typo.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 02:10:43 +00:00
Rene Gollent
926b6fdb08
Fix style violation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-21 19:34:15 +00:00
Rene Gollent
faafd00c1a
Fix broken check for ctrl+cmd+esc that would result in any of ctrl+esc, cmd+esc or ctrl+cmd+esc triggering safe video mode, and as a side effect, prevent menus from being opened via keyboard.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-21 19:33:07 +00:00
Rene Gollent
3756e25935
GCC4 build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-20 15:37:33 +00:00
Rene Gollent
70e5aac875
Applied patch by Ankur Sethi - add CLucene optional package to be used by indexing HCD project. Closes ticket #4027 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-15 00:13:37 +00:00
Rene Gollent
c8602bcd11
The Media preflet was using a mix of old and layout style primitives to set itself up. As a consequence resizing basically didn't work correctly at all. Fixes ticket #3427 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-14 00:37:07 +00:00
Rene Gollent
2e38e90efb
Update fallback path used if finddir fails to correspond to the new directory structure. Resolves ticket #4019 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-13 22:07:31 +00:00
Rene Gollent
e47b453ffd
Be a bit more defensive here just in case the wav header has invalid data.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-10 14:47:57 +00:00
Rene Gollent
6b9846f69d
Fix gcc4 build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-10 12:51:17 +00:00
Rene Gollent
8c310b36f0
Provide a default value for the leaf argument as is done in the const char * versions of the constructor/setter. This is consistent with the Be Book, though R5 and/or Dano's headers were likewise missing this.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-09 20:41:04 +00:00
Rene Gollent
c0e1e0eaac
Fix GCC4 build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-07 19:07:34 +00:00
Rene Gollent
08acbdd994
Fix gcc4 build. Closes ticket #3996 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-05 12:33:22 +00:00
Rene Gollent
a63261ea5a
Added files missed in previous commit. Thanks Urias.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-05 03:50:21 +00:00
Rene Gollent
80829ec813
Imported Gerald Zajac's ATI Mach64 / Rage driver and removed the old GPL-only mach64 driver that wasn't even part of the image anyways. Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-05 02:50:25 +00:00
Rene Gollent
6a004bd33c
When we dynamically create a mount point directory, add a special marker subdirectory in it so the disk system knows the directory was not created by the user. When unmounting, look for the marker and remove the mountpoint directory if found. This fixes the issue where mount / unmount / mounting a volume via Tracker would result in extra empty dirs in the rootfs. Ideally I'd rather solve this by being able to tag the mount points with attributes, but this isn't currently possible since the attribute overlay is a module and thus not available when mounting the rootfs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-31 05:55:54 +00:00
Rene Gollent
e0e7fdd350
Patch by Matt Madia: Update OpenSSL to v0.9.8k. Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-11 16:39:21 +00:00
Rene Gollent
671eb7421d
If I owed Axel a beer for every style violation, I'd quite likely be bankrupt by now...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 17:42:13 +00:00
Rene Gollent
0d487f65e9
Move using directives into the cpp files so they don't leak into apps making use of the locale kit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 14:52:54 +00:00
Rene Gollent
cbb809dc42
gcc4 build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 14:45:56 +00:00
Rene Gollent
4328106485
gcc4 build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 01:09:26 +00:00
Rene Gollent
60553668bc
Update Vision to build 090423. Includes url parsing rewrites courtesy of mmu_man to handle all URL types registered in the mime DB, and a fix for a crash reported by Matt Madia.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 03:59:39 +00:00
Rene Gollent
5e172bc680
Removed x86-only restriction on Cortex as it does in fact build on PPC. If there was a different reason it was marked x86-only, please explain and/or revert.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-20 01:25:43 +00:00
Rene Gollent
33befb1eff
PPC build fix, thanks to Urias McCullough.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-19 03:31:13 +00:00
Rene Gollent
a7e67ab3f2
gcc4 build fix by Maxime Simon. Resolves ticket #3786 . Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-18 16:58:28 +00:00
Rene Gollent
e451292ccd
Patch by Matt Madia: Update to a newer (and Haiku-native) NetSurf build using the new libhubbub HTML parser. This should also fix the conflicts seen between Netsurf and BezillaBrowser optional packages, and closes tickets 3785 and 3449. Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-18 15:40:13 +00:00
Rene Gollent
5227a704f6
GCC4 build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-17 01:32:21 +00:00
Rene Gollent
464e95c43f
gcc4 build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-15 23:20:56 +00:00
Rene Gollent
dd0e375f41
Fix build break I introduced in previous commit. Add some extra behavior for OutlineListView's right arrow: if the item has children and is expanded, right arrow now jumps to the first child.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-13 22:20:49 +00:00
Rene Gollent
86656c6b30
When checking double click with jitter threshold, make sure that both clicks are also on the same list item. Thanks stippi for pointing out this oversight!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-13 22:10:24 +00:00
Rene Gollent
2b110c144b
Modify double click check to allow some fuzz in the pointer placement, as is done in Tracker. BTextView likely needs a similar adjustment.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-13 12:47:13 +00:00
Rene Gollent
979786f1e6
Don't show the total number of items if 0 (as will happen in the case of move operations since we skip the pre-flight count for those). Fixes ticket #3722 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 22:33:21 +00:00
Rene Gollent
010f5aa422
Possibly less than ideal, but gets ape_reader building on both gcc2 and 4. (The previous gcc4 fixes broke it again on gcc2). I'm uncertain as to why the include order of <algorithm> seems to matter though.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 12:45:12 +00:00
Rene Gollent
be878f6087
These were using CR/LF for some reason.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 12:32:49 +00:00
Rene Gollent
11c511b999
Make BListView's doubleclick handling a bit more sane. Should fix ticket #3724 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 03:28:39 +00:00
Rene Gollent
fcdaa0c79d
If an item does not have an expand/collapse latch, let the left arrow jump to its parent (if any). Implements ticket #3725 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 03:13:08 +00:00
Rene Gollent
b5067cdcbd
gcc4 build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 23:14:09 +00:00
Rene Gollent
cd03af05a4
Various cleanups to how the selection indices are maintained when part of the selection is occluded by a collapse operation, which could cause a crash in some instances. This fixes ticket #3711 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-08 00:09:33 +00:00
Rene Gollent
e419aeed10
If drag and drop with the context menu is used (right click drag / control + drag), treat "Copy Here" as a request to duplicate the item if the destination is the same folder.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-07 03:31:33 +00:00
Rene Gollent
c121b41fd2
Make gcc4 happy.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-06 23:50:20 +00:00
Rene Gollent
2a30a9e9f1
Implemented BTextControl's string "Value" property. This fixes ticket #3494 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-06 22:10:41 +00:00
Rene Gollent
cce423c203
gcc4 build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-06 15:21:57 +00:00
Rene Gollent
0f617d4476
Fix several cases of forgetting to include libstdc++ in the libs. This allows a successful build of Haiku on gcc4 Haiku, though it's presently unclear to me why this didn't prevent linking on any other platform (gcc2 haiku, and gcc2/4 cross compilers from FBSD had no issues here).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 22:33:53 +00:00
Rene Gollent
dd6ab6242c
gcc4 build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 17:53:33 +00:00
Rene Gollent
909dad39fb
Mark Flurry as x86-only for now, as other platforms don't yet have a libGL. Thanks again to Urias.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 03:35:59 +00:00
Rene Gollent
fcd5f6b97c
Patch by Urias McCullough: Fix userlandfs build on ppc (unused variable warning/error). Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 02:43:35 +00:00
Rene Gollent
df0389f978
Fix building library symlinks. Should un-break building things within Haiku. Thanks Axel for helping track this down.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-03 23:34:13 +00:00
Rene Gollent
14df3c2bed
Various tweaks - 1) while enqueued, keep track of which run queue a thread is in on the scheduler data structure, and use this information so that set_thread_priority doesn't have to search every CPU to find the thread. Also slightly tweak the enqueue and steal operations to take advantage of some of the stats we're now tracking, and experiment with variable quantum sizes for low priority CPU bound threads. Still lots of work to do with respect to balancing and/or affinity though.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 03:13:55 +00:00
Rene Gollent
0ae9a91575
gcc4 build fix - thanks to Artur Wyszynski for submitting. Closes ticket #3652 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 03:03:16 +00:00
Rene Gollent
f03b0a18cc
gcc4 build fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 17:59:23 +00:00
Rene Gollent
4cabb4a077
Integer precision is good enough for us here. Thanks Axel.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 21:44:44 +00:00
Rene Gollent
a638252106
Use correct case for Preferences folder name.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 20:42:42 +00:00
Rene Gollent
684409f06f
Add symlink to config/be/Preferences when installing Bluetooth optional package.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 20:38:32 +00:00
Rene Gollent
6ad5d4edc0
dump_run_queue() now outputs the average quantum usage for threads as well. Not quite formatted properly due to what appear to be limitations in kprintf's handling of float format specifiers. Need to investigate.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 18:11:28 +00:00
Rene Gollent
bd037e94a0
Track the number of threads in each CPU's runqueue.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 17:14:52 +00:00