Commit Graph

45777 Commits

Author SHA1 Message Date
Rene Gollent
7de99f8341 Fix Terminal build. 2013-05-10 23:21:51 -04:00
Ingo Weinhold
09cbc86d0d TTracker::RefsReceived(): Forward "be:*" message fields
In some cases /bin/open puts some additional fields in the
B_REFS_RECEIVED message, but those were completely ignored. This makes
opening paths with appended line/column numbers actually work as
expected.
2013-05-11 04:44:53 +02:00
Ingo Weinhold
7e3f7da70a BURL: Make the output to stderr DEBUG only 2013-05-11 04:44:53 +02:00
Ingo Weinhold
e9bad28aaf Terminal: Add a hyperlink mode
When holding down Command, text under the mouse is checked whether it
looks like a URL or a local path. If so, it is highlighted and can be
clicked, which will open the URL/file. Right-clicking opens a context
menu with items for opening the link/file or copying it to the
clipboard. When additionally holding down Shift, path prefixes up to
the component under the mouse will be considered (no effect for URLs).

Changes:
* Add HyperLink class. Encapsulates a type, the address, and an
  optional base address. Features an Open() method to open the address.
* Move/add some string constants to TermConst.
* Move TermView::CharClassifier to top level and rename to
  DefaultCharClassifier.
* Introduce TermViewHighlight and TermViewHighlighter. The former
  refers to a range of text in a TermView's text buffer. It also
  contains a pointer to a TermViewHighlighter object, which specifies
  how the text range shall be rendered (colors and attributes).
* TermView:
  - Add respective _{Add,Remove}Highlight() methods and adjust the code
    to support highlights.
  - Make the selection a TermViewHighlight. At least its visual aspect
    is now handled like other highlights.
  - Introduce an inner TextBufferSyncLocker. It is used instead of
    BAutolock when locking the text buffer to synchronize the visual
    buffer with it. After it unlocks it calls
    _VisibleTextBufferChanged(), if the visual text buffer has changed,
    which in turn calls a new callback on the active state.
  - Add WindowActivated() and ModifiersChanged() callbacks to the state
    interface.
  - Add new states HyperLinkState and HyperLinkMenuState which
    implement the new feature.

Fix modifier issues
2013-05-11 04:44:25 +02:00
Ingo Weinhold
314e8a20c6 BasicTerminalBuffer: Add {Previous,Next}LinePos() 2013-05-11 03:07:38 +02:00
Ingo Weinhold
bda35ef5dc Terminal: Pull user input handling into state classes 2013-05-11 03:07:30 +02:00
Ingo Weinhold
a7000a02a0 Terminal: Add header VTKeyTbl.h
... exporting what is defined in VTKeyTbl.c.
2013-05-11 03:07:13 +02:00
Rene Gollent
74ec65d843 Fix profile to recognize commpage image. 2013-05-10 18:21:33 -04:00
Jérôme Duval
052e89004c HaikuImage: simplified a bit by combining two specification lists. 2013-05-10 23:09:46 +02:00
Jérôme Duval
ef0c2a820b HaikuImage: use the same HaikuImage Jamfile for x86 and x86_64 2013-05-10 22:51:42 +02:00
Jérôme Duval
16a3940cca HaikuImage: added or removed targets for x86_64
* add vesa.accelerant, vesa driver, ps2, isa, bios, generic_x86 for x86_64 too
* only have reiserfs, firewire, agp_gart targets for x86
* reverted hrev43950, liblocale alias shouldn't be needed anymore
2013-05-10 22:42:10 +02:00
Jérôme Duval
215954e3e3 FFilterByBuildFeatures: fixed typo 2013-05-10 22:31:23 +02:00
Jérôme Duval
6922a8fe9b silicon_image_3112: fixes 64 bit warnings 2013-05-10 21:43:05 +02:00
Jérôme Duval
b2b1ed3e22 canna input method: fixes 64 bit warnings
* ugly, this code is not really fixable anyway.
2013-05-10 21:41:14 +02:00
Jérôme Duval
847f1a92bd spider screen_saver: fixes 64 bit warnings 2013-05-10 21:31:47 +02:00
Jérôme Duval
f39eb5cf94 ipp and lpr print transports: fixes 64 bit warnings 2013-05-10 21:29:34 +02:00
Jérôme Duval
14bf5c3248 preview print driver: fixes 64 bit warnings 2013-05-10 21:24:47 +02:00
Jérôme Duval
e393a1691b tone_producer_demo: fixes 64 bit warnings 2013-05-10 21:19:58 +02:00
Jérôme Duval
c7000dc3ee opensound.media_addon: fixes 64 bit warnings 2013-05-10 21:19:06 +02:00
Jérôme Duval
973f12146b mixer.media_addon: fixes 64 bit warnings 2013-05-10 21:11:34 +02:00
Jérôme Duval
217c8a17a8 multi_audio.media_addon: fixes 64 bit warnings 2013-05-10 21:03:20 +02:00
Jérôme Duval
e1a77daa69 Cortex: fixes 64 bit warnings 2013-05-10 20:59:13 +02:00
Jérôme Duval
5f3e33091c match_header and spam_filter: fixes 64 bit warnings 2013-05-10 20:55:34 +02:00
Jérôme Duval
a8dca85557 imap: fixes 64 bit warnings 2013-05-10 20:32:29 +02:00
Jérôme Duval
653d5b980c pop3: fixes 64 bit warnings 2013-05-10 20:28:37 +02:00
Jérôme Duval
07eea198ea mandelbrot: fixes 64 bit warnings 2013-05-10 20:11:23 +02:00
Jérôme Duval
981062893e Clock: fixes 64 bit warnings 2013-05-10 20:09:22 +02:00
Jérôme Duval
99f76d5df5 Chart: fixes 64 bit warnings 2013-05-10 20:08:02 +02:00
Jérôme Duval
e971f3b162 shortcut_catcher: fixes 64 bit warnings 2013-05-10 20:04:02 +02:00
Jérôme Duval
0bbc331f6b ShorcutsPreferences: fixes 64 bit warnings 2013-05-10 19:59:05 +02:00
Jérôme Duval
4c1efaad9c MailPreferences: fixes 64 bit warnings 2013-05-10 19:56:07 +02:00
Jérôme Duval
006e76a155 MidiPlayer: fixes 64 bit warnings 2013-05-10 19:53:03 +02:00
Jérôme Duval
bc8c7d615d translate: fixes 64 bit warnings 2013-05-10 19:49:36 +02:00
Jérôme Duval
0059a07ade roster: fixes 64 bit warnings 2013-05-10 19:46:29 +02:00
Jérôme Duval
7074a7c7ec reindex: fixes 64 bit warnings 2013-05-10 19:44:51 +02:00
Jérôme Duval
aff59d31a3 hey: fixes 64 bit warnings 2013-05-10 19:42:24 +02:00
Jérôme Duval
2a8d81c291 bfsinfo: fixes 64 bit warnings 2013-05-10 19:31:22 +02:00
Jérôme Duval
fe1f74ab54 media_server: fixes 64 bit warnings 2013-05-10 18:46:04 +02:00
Stephan Aßmus
d4f100e56e Unify spacing
* Unify split width
 * Make break point list attach to tab frame, apply default insets and spacing to buttons.
2013-05-10 10:55:54 +02:00
Stephan Aßmus
754fcddd72 Remove the spacing between menu bar and contents
* The spacing is already present due to the insets
   of the contents, so there was some extra room
   between the menu and the contents which this
   commit removes.
2013-05-10 10:09:52 +02:00
Stephan Aßmus
9f5437a40b Changed hierarchy of splits to give variables/registers more room 2013-05-10 09:57:43 +02:00
Stephan Aßmus
abb7ea6512 Renamed File menu to Team and Quit to Close.
There isn't actually a file on disk somewhere. And Quit
 could have been mistaken to quit the entire Debugger
 application, as Quit in File usually does with applications.
 However, it will only close the that team window and only
 quit Debugger if it was the last open window.
2013-05-10 09:39:25 +02:00
John Scipione
55eb18ef2f Terminal: Move the find window under your cursor
on open moving the window back into the screen if necessary.
2013-05-10 00:52:58 -04:00
John Scipione
88c2518b23 Terminal: Layout the find window better 2013-05-10 00:51:57 -04:00
John Scipione
55067dfe82 Style fixes and update copywrite headers 2013-05-10 00:51:24 -04:00
John Scipione
298cd4c2bf BMenuField: Fix menu bar resizing in auto-size mode.
Fixes #9753 (for real this time)

Don't resize the menu field when the menu bar resizes, the menu
field stays the same size because we'll need to use it's width to
check when the menu bar width has expanded beyond its width.
Then, if the selected menu item expands the menu bar to a width
greater than the width of the menu field resize it to the menu field
width.
2013-05-09 21:29:14 -04:00
John Scipione
f6d93b80f3 Remove the unused bounds parameter from DrawLabel
Also refactor BMenuField::Draw()
2013-05-09 21:29:13 -04:00
John Scipione
869e4bdca3 Don't cast to float, use floorf 2013-05-09 21:29:13 -04:00
John Scipione
91810d8efd Use better variable names in SetDivider 2013-05-09 21:29:12 -04:00
John Scipione
df5d08a718 Style fixes to BMenuField
Rename resize to resizingMode, whitespace fixes, compare to 0 explicitly
2013-05-09 21:29:12 -04:00