#
b4bab54a |
|
31-Mar-2012 |
anevilyak <anevilyak@94f232f2-1747-11df-bad5-a5bfde151594> |
Be more specific about how we check the modifiers mask. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@586 94f232f2-1747-11df-bad5-a5bfde151594
|
#
6c086bdf |
|
30-Mar-2012 |
anevilyak <anevilyak@94f232f2-1747-11df-bad5-a5bfde151594> |
Don't try to filter any of these keys if modifiers are pressed. Fixes Web+ eating things like the workspace switching shortcuts if the URL input group happened to have focus. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@585 94f232f2-1747-11df-bad5-a5bfde151594
|
#
a6549080 |
|
29-Dec-2010 |
leavengood <leavengood@94f232f2-1747-11df-bad5-a5bfde151594> |
Mostly revert r563 and fix it properly. The ESC key should be dispatched to the text view from the filter as well as from the browser window. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@564 94f232f2-1747-11df-bad5-a5bfde151594
|
#
a9112961 |
|
29-Dec-2010 |
leavengood <leavengood@94f232f2-1747-11df-bad5-a5bfde151594> |
Restore the original URL text when the escape key is pressed. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@563 94f232f2-1747-11df-bad5-a5bfde151594
|
#
37876e4b |
|
18-May-2010 |
stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594> |
Extend the auto-completion framework in order to support using page-up/down to navigate the choices list. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@501 94f232f2-1747-11df-bad5-a5bfde151594
|
#
90a69c8e |
|
18-May-2010 |
stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594> |
The mechanism with which the TextViewCompleter detected changes (attaching a BMessageFilter to the BTextView to pre-process key down events) missed changes to the BTextView via other means, for example by pasting, or simply when SetText() is invoked on the BTextView. -> Introduced an alternative method of making the TextViewCompleter aware of changes, by invoking new method TextModified(). To bypass the old method, one has to call SetModificationsReported(true). URLInput::URLTextView now uses the new method in InsertText() and DeleteText(), which catches any and all changes to the text. Since the BAutoCompleter framework also controls the editor view contents, it needs to protect against re-entering some methods when the editor view reports the changes (fIgnoreEditViewStateChanges). Since we want the BAutoCompleter to always be aware of the current editor view contents, but not necessarily also running the choice mechanism (i.e. when you enter "www.google.com", you don't want the auto-completion kick back in when it is programmatically changed to "http://www.google.com" later on), the EditViewStateChange() method gets a boolean now "updateChoices". All programmatic changes to the URL will then not trigger displaying the choice pop-up, but the BAutoCompleter is always aware of the current editor view contents. All this fixes numerous issues and inconsistencies with entering text in the URL text view. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@500 94f232f2-1747-11df-bad5-a5bfde151594
|
#
25057e59 |
|
21-Apr-2010 |
stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594> |
When selecting choices in the auto-completion pop-up, insert the current choice into the text view, so the user can continue typing from that choice, or modify it. For example, one can type "dev.haiku-os.org", select a choice "http://dev.haiku-os.org/ticket/1234" and then replace just the last chunk with another ticket number and press enter. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@447 94f232f2-1747-11df-bad5-a5bfde151594
|
#
312655fb |
|
07-Apr-2010 |
stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594> |
* Renamed TextControlCompleter to TextViewCompleter, since it actually only works with the BTextView. * Factored out the URL text handling into a new class URLInputGroup, which is used instead of a plain BTextControl, but currently works much the same way. It's a BGroupView though and allows easy addition of other controls and items into the URL text field. * Moved baseURL() method into it's own file, since it's used from multiple places now. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@402 94f232f2-1747-11df-bad5-a5bfde151594
|
#
b4bab54a16381816e0f534b3d073a043aa74e13a |
|
31-Mar-2012 |
anevilyak <anevilyak@94f232f2-1747-11df-bad5-a5bfde151594> |
Be more specific about how we check the modifiers mask. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@586 94f232f2-1747-11df-bad5-a5bfde151594
|
#
6c086bdf6a4b39ff2300cb52ab6eff83d89c19af |
|
30-Mar-2012 |
anevilyak <anevilyak@94f232f2-1747-11df-bad5-a5bfde151594> |
Don't try to filter any of these keys if modifiers are pressed. Fixes Web+ eating things like the workspace switching shortcuts if the URL input group happened to have focus. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@585 94f232f2-1747-11df-bad5-a5bfde151594
|
#
a65490807d3c889418680b9c51d419ba78199736 |
|
29-Dec-2010 |
leavengood <leavengood@94f232f2-1747-11df-bad5-a5bfde151594> |
Mostly revert r563 and fix it properly. The ESC key should be dispatched to the text view from the filter as well as from the browser window. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@564 94f232f2-1747-11df-bad5-a5bfde151594
|
#
a9112961b9f0b3fc1566eb58bc6fcc48c5fc94a5 |
|
29-Dec-2010 |
leavengood <leavengood@94f232f2-1747-11df-bad5-a5bfde151594> |
Restore the original URL text when the escape key is pressed. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@563 94f232f2-1747-11df-bad5-a5bfde151594
|
#
37876e4b33ddb7258e98d6b5af42529f6dfc46b8 |
|
18-May-2010 |
stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594> |
Extend the auto-completion framework in order to support using page-up/down to navigate the choices list. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@501 94f232f2-1747-11df-bad5-a5bfde151594
|
#
90a69c8e1d42bbe82b16a9caadad3fefca92f655 |
|
18-May-2010 |
stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594> |
The mechanism with which the TextViewCompleter detected changes (attaching a BMessageFilter to the BTextView to pre-process key down events) missed changes to the BTextView via other means, for example by pasting, or simply when SetText() is invoked on the BTextView. -> Introduced an alternative method of making the TextViewCompleter aware of changes, by invoking new method TextModified(). To bypass the old method, one has to call SetModificationsReported(true). URLInput::URLTextView now uses the new method in InsertText() and DeleteText(), which catches any and all changes to the text. Since the BAutoCompleter framework also controls the editor view contents, it needs to protect against re-entering some methods when the editor view reports the changes (fIgnoreEditViewStateChanges). Since we want the BAutoCompleter to always be aware of the current editor view contents, but not necessarily also running the choice mechanism (i.e. when you enter "www.google.com", you don't want the auto-completion kick back in when it is programmatically changed to "http://www.google.com" later on), the EditViewStateChange() method gets a boolean now "updateChoices". All programmatic changes to the URL will then not trigger displaying the choice pop-up, but the BAutoCompleter is always aware of the current editor view contents. All this fixes numerous issues and inconsistencies with entering text in the URL text view. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@500 94f232f2-1747-11df-bad5-a5bfde151594
|
#
25057e59b7e5914185854eda2e33bc1fe49c6a31 |
|
21-Apr-2010 |
stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594> |
When selecting choices in the auto-completion pop-up, insert the current choice into the text view, so the user can continue typing from that choice, or modify it. For example, one can type "dev.haiku-os.org", select a choice "http://dev.haiku-os.org/ticket/1234" and then replace just the last chunk with another ticket number and press enter. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@447 94f232f2-1747-11df-bad5-a5bfde151594
|
#
312655fb6f521a6a769e3d7dd4cb908708848f29 |
|
07-Apr-2010 |
stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594> |
* Renamed TextControlCompleter to TextViewCompleter, since it actually only works with the BTextView. * Factored out the URL text handling into a new class URLInputGroup, which is used instead of a plain BTextControl, but currently works much the same way. It's a BGroupView though and allows easy addition of other controls and items into the URL text field. * Moved baseURL() method into it's own file, since it's used from multiple places now. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@402 94f232f2-1747-11df-bad5-a5bfde151594
|