sstjames ( Simon St James)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Jun 15 2016, 2:12 PM (409 w, 1 d)
Availability
Available

Recent Activity

Aug 29 2017

sstjames committed R230:0020a0147aee: Add myself (Simon St James) to license table: I'm happy to be relicensed to any… (authored by sstjames).
Add myself (Simon St James) to license table: I'm happy to be relicensed to any…
Aug 29 2017, 2:35 PM

Sep 3 2016

sstjames added a comment to D2643: Fix constant crashes related to the vi command bar.

Thanks guys - this is quite likely a fix for https://bugs.kde.org/show_bug.cgi?id=367786

Sep 3 2016, 6:31 AM

Aug 27 2016

sstjames added a comment to D2597: Allows only one level of recursion.

Thanks for investigating Ivan, and sorry for the inconvenience this has caused.

Aug 27 2016, 8:27 AM

Jun 18 2016

sstjames closed D1894: Workaround fact that Qt 5.5 does not allow shortcuts to be triggered by playing QKeyEvents.

Committed: https://phabricator.kde.org/rKTEXTEDITOR025edb11ca9b0fa3685802e6c9cb608a4daa7911

Jun 18 2016, 8:36 AM
sstjames committed R39:88fc845ecd94: *sigh* - in Input mode, Qt seems to send each keypress first as a… (authored by sstjames).
*sigh* - in Input mode, Qt seems to send each keypress first as a…
Jun 18 2016, 8:36 AM
sstjames committed R39:025edb11ca9b: Annoyingly, in Qt 5.5 we can no longer trigger shortcuts by replaying… (authored by sstjames).
Annoyingly, in Qt 5.5 we can no longer trigger shortcuts by replaying…
Jun 18 2016, 8:35 AM

Jun 17 2016

sstjames updated the diff for D1894: Workaround fact that Qt 5.5 does not allow shortcuts to be triggered by playing QKeyEvents.

UPDATE: Hopefully fix the "replay macro/ last change duplicates characters" bug - no automated test for this yet (for some reason, the tests fail for Michal, but not for me!). Michal - would you mind acting as Guinea Pig again? :)

Jun 17 2016, 12:51 PM
sstjames committed R39:ac0e86530578: Add/ update licensing info for Emulated Command Bar stuff. (authored by sstjames).
Add/ update licensing info for Emulated Command Bar stuff.
Jun 17 2016, 8:52 AM
sstjames closed D1892: Re-instate Emulated Command Bar tests, and refactor Emulated Command Bar.

Committed, with last commit 7acf83ca944bbec6f970d00d2f0de2f64c5a83d7

Jun 17 2016, 8:45 AM
sstjames added a comment to D1892: Re-instate Emulated Command Bar tests, and refactor Emulated Command Bar.

Crap - didn't realise that *every single commit* would be broadcast to the mailing list. Sorry about that!

Jun 17 2016, 8:24 AM
sstjames committed R39:6571af1abf9d: The original patch (691c0315868511edff8048081e6e8b85c6653816) from Francis… (authored by sstjames).
The original patch (691c0315868511edff8048081e6e8b85c6653816) from Francis…
Jun 17 2016, 8:18 AM
sstjames committed R39:7acf83ca944b: Whoops - fix intermittent crashes by calling setViInputModeManager() on… (authored by sstjames).
Whoops - fix intermittent crashes by calling setViInputModeManager() on…
Jun 17 2016, 8:18 AM
sstjames committed R39:18f380b5481b: Annoyingly, as of Qt 5.5, simply replaying the correct QKeyEvents does *not*… (authored by sstjames).
Annoyingly, as of Qt 5.5, simply replaying the correct QKeyEvents does *not*…
Jun 17 2016, 8:18 AM
sstjames committed R39:16d027d1eba6: Various tiny tweaks and improvements. (authored by sstjames).
Various tiny tweaks and improvements.
Jun 17 2016, 8:18 AM
sstjames committed R39:e3f71cd2d7df: Move some of the creation stuff in the constructor of EmulatedCommandBar into… (authored by sstjames).
Move some of the creation stuff in the constructor of EmulatedCommandBar into…
Jun 17 2016, 8:18 AM
sstjames committed R39:062630254367: Compile fix for when Q_ASSERTs are active. (authored by sstjames).
Compile fix for when Q_ASSERTs are active.
Jun 17 2016, 8:18 AM
sstjames committed R39:27f511300cc5: Minor tweaks. (authored by sstjames).
Minor tweaks.
Jun 17 2016, 8:18 AM
sstjames committed R39:765d8e684c37: Move CommandMode into its own source files. (authored by sstjames).
Move CommandMode into its own source files.
Jun 17 2016, 8:18 AM
sstjames committed R39:5245b396e738: Move moveCursorTo() into ActiveMode, and remove the duplicated copies of… (authored by sstjames).
Move moveCursorTo() into ActiveMode, and remove the duplicated copies of…
Jun 17 2016, 8:18 AM
sstjames committed R39:61f47ec602d5: Make some of ActiveMode's members private instead of protected, accessible… (authored by sstjames).
Make some of ActiveMode's members private instead of protected, accessible…
Jun 17 2016, 8:18 AM
sstjames committed R39:f021d6eba80e: Move SearchMode into its own source files. (authored by sstjames).
Move SearchMode into its own source files.
Jun 17 2016, 8:18 AM
sstjames committed R39:119660373222: Move InteractiveSedReplaceMode into its own source files. (authored by sstjames).
Move InteractiveSedReplaceMode into its own source files.
Jun 17 2016, 8:18 AM
sstjames committed R39:a6a8d29815ca: Compile fix for ActiveMode. (authored by sstjames).
Compile fix for ActiveMode.
Jun 17 2016, 8:18 AM
sstjames committed R39:177b6d9bed12: Add the "update match highlight attributes when config changed" code into… (authored by sstjames).
Add the "update match highlight attributes when config changed" code into…
Jun 17 2016, 8:18 AM
sstjames committed R39:8ae2a87011fb: Begin moving the Completer stuff into its own source files, starting with… (authored by sstjames).
Begin moving the Completer stuff into its own source files, starting with…
Jun 17 2016, 8:18 AM
sstjames committed R39:cbaa10dd605e: Move ActiveMode and Completer into their own source files - couldn't do this… (authored by sstjames).
Move ActiveMode and Completer into their own source files - couldn't do this…
Jun 17 2016, 8:18 AM
sstjames committed R39:77d57fbc62c0: Move MatchHighlighter into its own source files. (authored by sstjames).
Move MatchHighlighter into its own source files.
Jun 17 2016, 8:18 AM
sstjames committed R39:fb2be96b89bb: Move emulatedcommandbar.cpp/.h into new emulatedcommandbar subdirectory. (authored by sstjames).
Move emulatedcommandbar.cpp/.h into new emulatedcommandbar subdirectory.
Jun 17 2016, 8:18 AM
sstjames committed R39:7f796a61c475: Dead code-- (authored by sstjames).
Dead code--
Jun 17 2016, 8:18 AM
sstjames committed R39:def118de2528: Dead code-- (authored by sstjames).
Dead code--
Jun 17 2016, 8:18 AM
sstjames committed R39:33ed249fe569: When deciding whether to send unrecognised keypresses to the line edit, use… (authored by sstjames).
When deciding whether to send unrecognised keypresses to the line edit, use…
Jun 17 2016, 8:18 AM
sstjames committed R39:4a8aa020a5e6: Begin preparations to remove EmulatedCommandBar::CompletionType in favour of… (authored by sstjames).
Begin preparations to remove EmulatedCommandBar::CompletionType in favour of…
Jun 17 2016, 8:18 AM
sstjames committed R39:5a7b36071365: Further work on moving all Completion-related stuff into the Completer class. (authored by sstjames).
Further work on moving all Completion-related stuff into the Completer class.
Jun 17 2016, 8:18 AM
sstjames committed R39:0b3e3198c3bd: Begin transitioning to a "m_currentMode" rather than switching on type… (authored by sstjames).
Begin transitioning to a "m_currentMode" rather than switching on type…
Jun 17 2016, 8:18 AM
sstjames committed R39:65f317f1ecad: Debugging--. (authored by sstjames).
Debugging--.
Jun 17 2016, 8:18 AM
sstjames committed R39:3b1a97db473b: Move all the completion-related stuff into new Completer class. (authored by sstjames).
Move all the completion-related stuff into new Completer class.
Jun 17 2016, 8:18 AM
sstjames committed R39:9da7bd9879de: Move some more Search-related stuff into SearchMode. (authored by sstjames).
Move some more Search-related stuff into SearchMode.
Jun 17 2016, 8:18 AM
sstjames committed R39:48f72f799996: Deal with deactivating the CommandMode in the same way as we deal with… (authored by sstjames).
Deal with deactivating the CommandMode in the same way as we deal with…
Jun 17 2016, 8:18 AM
sstjames committed R39:86c9995136a6: Continue moving Command-related stuff into CommandMode. (authored by sstjames).
Continue moving Command-related stuff into CommandMode.
Jun 17 2016, 8:18 AM
sstjames committed R39:fa4b4a236d3e: Continue moving Command-related stuff into CommandMode. (authored by sstjames).
Continue moving Command-related stuff into CommandMode.
Jun 17 2016, 8:18 AM
sstjames committed R39:a32c237eb45c: Begin to make sense of the handleKeyPress() - organise it as: (authored by sstjames).
Begin to make sense of the handleKeyPress() - organise it as:
Jun 17 2016, 8:18 AM
sstjames committed R39:20e82c0f2532: Dead code-- (authored by sstjames).
Dead code--
Jun 17 2016, 8:18 AM
sstjames committed R39:1cd34b37376d: Continue moving Command-related stuff into CommandMode. (authored by sstjames).
Continue moving Command-related stuff into CommandMode.
Jun 17 2016, 8:18 AM
sstjames committed R39:56b41140c35f: Our only uses of commandBeforeCursor() where essentially to compute… (authored by sstjames).
Our only uses of commandBeforeCursor() where essentially to compute…
Jun 17 2016, 8:18 AM
sstjames committed R39:88f5ab5f1cf7: Create new CommandMode - all of the Command-mode type stuff with ultimately… (authored by sstjames).
Create new CommandMode - all of the Command-mode type stuff with ultimately…
Jun 17 2016, 8:18 AM
sstjames committed R39:1b1fded36b62: Continue moving Command-related stuff into CommandMode. (authored by sstjames).
Continue moving Command-related stuff into CommandMode.
Jun 17 2016, 8:18 AM
sstjames committed R39:c6d447e3e9a8: Continue moving search-related stuff into SearchMode. (authored by sstjames).
Continue moving search-related stuff into SearchMode.
Jun 17 2016, 8:18 AM
sstjames committed R39:b2aa36081e97: Move ParsedSedExpression into CommandMode. (authored by sstjames).
Move ParsedSedExpression into CommandMode.
Jun 17 2016, 8:18 AM
sstjames committed R39:401e2be60eec: Move the match highlighting stuff (which is used by both… (authored by sstjames).
Move the match highlighting stuff (which is used by both…
Jun 17 2016, 8:18 AM
sstjames committed R39:e8b12b7bffb2: Slightly refactor the "don't automatically show Command completion if the… (authored by sstjames).
Slightly refactor the "don't automatically show Command completion if the…
Jun 17 2016, 8:18 AM
sstjames committed R39:71697438930c: Begin working towards forking all the search stuff into new SearchMode class. (authored by sstjames).
Begin working towards forking all the search stuff into new SearchMode class.
Jun 17 2016, 8:18 AM
sstjames committed R39:8573839fda07: Factor duplicated code into new startCompletion helper. (authored by sstjames).
Factor duplicated code into new startCompletion helper.
Jun 17 2016, 8:18 AM
sstjames committed R39:10445d502208: Make Commands completion mode use the new Completion approach. (authored by sstjames).
Make Commands completion mode use the new Completion approach.
Jun 17 2016, 8:18 AM
sstjames committed R39:bf17c5557d11: Good - this code inside updateCompletionPrefix() is no longer needed with our… (authored by sstjames).
Good - this code inside updateCompletionPrefix() is no longer needed with our…
Jun 17 2016, 8:18 AM
sstjames committed R39:36841d87b59d: Make WordFromDocument use the new Completion approach. (authored by sstjames).
Make WordFromDocument use the new Completion approach.
Jun 17 2016, 8:18 AM
sstjames committed R39:dec592a2a096: Make CommandHistory use the new Completion approach. (authored by sstjames).
Make CommandHistory use the new Completion approach.
Jun 17 2016, 8:18 AM
sstjames committed R39:3607f91281f3: Make SearchHistory use the new Completion approach. (authored by sstjames).
Make SearchHistory use the new Completion approach.
Jun 17 2016, 8:18 AM
sstjames committed R39:3f43eb4a7131: Make CompletionStartParams shouldStart false by default. (authored by sstjames).
Make CompletionStartParams shouldStart false by default.
Jun 17 2016, 8:18 AM
sstjames committed R39:12ce80e637d8: Make SedReplaceHistory use the new generic Completion approach. (authored by sstjames).
Make SedReplaceHistory use the new generic Completion approach.
Jun 17 2016, 8:18 AM
sstjames committed R39:e9794161441b: Further progress towards decoupling the "trigger/ update completion" from… (authored by sstjames).
Further progress towards decoupling the "trigger/ update completion" from…
Jun 17 2016, 8:18 AM
sstjames committed R39:adefee2f802c: Add a bit of whitespace and re-order for clarity. (authored by sstjames).
Add a bit of whitespace and re-order for clarity.
Jun 17 2016, 8:18 AM
sstjames committed R39:d027227e6a60: Experimental: begin working towards making completion deduce more things for… (authored by sstjames).
Experimental: begin working towards making completion deduce more things for…
Jun 17 2016, 8:18 AM
sstjames committed R39:7efb9d4724cf: Tuck some of the initialisation of CompletionStartParams back into… (authored by sstjames).
Tuck some of the initialisation of CompletionStartParams back into…
Jun 17 2016, 8:18 AM
sstjames committed R39:68c48e401ddd: Move hideAllWidgetsExcept up into EmulatedCommandBar and make further use of it. (authored by sstjames).
Move hideAllWidgetsExcept up into EmulatedCommandBar and make further use of it.
Jun 17 2016, 8:18 AM
sstjames committed R39:4235eb46f9e5: Move all occurences where InteractiveSedReplaceMode calls private methods of… (authored by sstjames).
Move all occurences where InteractiveSedReplaceMode calls private methods of…
Jun 17 2016, 8:18 AM
sstjames committed R39:c303b1f7900d: Move m_interactiveSedReplaceLabel into InteractiveSedReplaceMode. (authored by sstjames).
Move m_interactiveSedReplaceLabel into InteractiveSedReplaceMode.
Jun 17 2016, 8:18 AM
sstjames committed R39:7d73ba237f3b: Minor refactoring. (authored by sstjames).
Minor refactoring.
Jun 17 2016, 8:18 AM
sstjames committed R39:dc232414727c: Begin implementing helper methods inside ActiveMode, which is now a friend of… (authored by sstjames).
Begin implementing helper methods inside ActiveMode, which is now a friend of…
Jun 17 2016, 8:18 AM
sstjames committed R39:9eb1cdbf29ab: Fix flaky test - a "coarse" timer - like the one used by the command response… (authored by sstjames).
Fix flaky test - a "coarse" timer - like the one used by the command response…
Jun 17 2016, 8:18 AM
sstjames committed R39:b00646caaa8d: Move m_interactiveSedReplaceActive into InteractiveSedReplaceMode (and rename… (authored by sstjames).
Move m_interactiveSedReplaceActive into InteractiveSedReplaceMode (and rename…
Jun 17 2016, 8:18 AM
sstjames committed R39:d3757cecf7cc: Remove the confusing hack that was needed to ensure that the "0 replacements… (authored by sstjames).
Remove the confusing hack that was needed to ensure that the "0 replacements…
Jun 17 2016, 8:18 AM
sstjames committed R39:e2f8b09b0405: Begin work on an internal ActiveMode helper class, from which the newly added… (authored by sstjames).
Begin work on an internal ActiveMode helper class, from which the newly added…
Jun 17 2016, 8:18 AM
sstjames committed R39:d2244a744d55: Use in-class initializers instead of member-initialisation list. (authored by sstjames).
Use in-class initializers instead of member-initialisation list.
Jun 17 2016, 8:18 AM
sstjames committed R39:210cc9b6c3b3: Remove redundant clause. (authored by sstjames).
Remove redundant clause.
Jun 17 2016, 8:18 AM
sstjames committed R39:6dfb4b6cdabe: Update the test version of commandResponseMessageTimeOutMS to match that of… (authored by sstjames).
Update the test version of commandResponseMessageTimeOutMS to match that of…
Jun 17 2016, 8:18 AM
sstjames committed R39:be5bb3e03ace: EmulatedCommandBar's override of "closed()" needn't be public. (authored by sstjames).
EmulatedCommandBar's override of "closed()" needn't be public.
Jun 17 2016, 8:18 AM
sstjames committed R39:7e7984c60d6f: The switchToCommandResponseDisplay()* stuff is really a "dismiss the emulated… (authored by sstjames).
The switchToCommandResponseDisplay()* stuff is really a "dismiss the emulated…
Jun 17 2016, 8:18 AM
sstjames committed R39:30cffa8d1e67: In the "test that the test suite can send and receive shortcuts" test, pick a… (authored by sstjames).
In the "test that the test suite can send and receive shortcuts" test, pick a…
Jun 17 2016, 8:18 AM
sstjames committed R39:f8b83e170c8b: Remove match highlighting when the emulated command bar is closed. (authored by sstjames).
Remove match highlighting when the emulated command bar is closed.
Jun 17 2016, 8:18 AM
sstjames committed R39:af524167679c: Fix a regression in the emulated command bar - notably that each step in an… (authored by sstjames).
Fix a regression in the emulated command bar - notably that each step in an…
Jun 17 2016, 8:18 AM
sstjames committed R39:1746be58cb1c: Fix bug with "incremental" searches being added to the search history (i.e. (authored by sstjames).
Fix bug with "incremental" searches being added to the search history (i.e.
Jun 17 2016, 8:18 AM
sstjames committed R39:a0bf072a8b45: Initial attempt at re-instating the Emulated Command Bar tests - doesn't link… (authored by sstjames).
Initial attempt at re-instating the Emulated Command Bar tests - doesn't link…
Jun 17 2016, 8:18 AM
sstjames committed R39:67d64f67c0eb: Rename vimStyleCommandBarTestsSetUpAndTearDown ->… (authored by sstjames).
Rename vimStyleCommandBarTestsSetUpAndTearDown ->…
Jun 17 2016, 8:18 AM

Jun 16 2016

sstjames added a comment to D1894: Workaround fact that Qt 5.5 does not allow shortcuts to be triggered by playing QKeyEvents.

Seems to be working correctly. Compiled, tested (tests and manual) on my computer with Qt5.6.1. One of the vim_keys test is failing, but at least the vi mode is back functioning, so ship it.

Thanks for testing :) Which vim_keys test is failing? They seem to all be working here, though I'm using Qt 5.5.1.

It might be just a new bug in Qt5.6 :)

>>> running command  "qa"  on text  ""
 FAIL!  : KeysTest::MacroTests() 'kate_view->viewModeHuman().contains(macroIsRecordingStatus)' returned FALSE. ()
    Loc: [/amonsul/kde/ktexteditor/autotests/src/vimode/keys.cpp(707)]
 QDEBUG : KeysTest::MarkTests()
Jun 16 2016, 7:18 PM
sstjames added a comment to D1894: Workaround fact that Qt 5.5 does not allow shortcuts to be triggered by playing QKeyEvents.

Seems to be working correctly. Compiled, tested (tests and manual) on my computer with Qt5.6.1. One of the vim_keys test is failing, but at least the vi mode is back functioning, so ship it.

Jun 16 2016, 6:32 PM
sstjames added a comment to D1892: Re-instate Emulated Command Bar tests, and refactor Emulated Command Bar.

Since you have moved the code to separate folder, don't you want to move the code to separate C++ namespace too?

Jun 16 2016, 4:20 PM

Jun 15 2016

sstjames added a reviewer for D1894: Workaround fact that Qt 5.5 does not allow shortcuts to be triggered by playing QKeyEvents: KTextEditor.
Jun 15 2016, 3:10 PM
sstjames added a dependency for D1894: Workaround fact that Qt 5.5 does not allow shortcuts to be triggered by playing QKeyEvents: D1892: Re-instate Emulated Command Bar tests, and refactor Emulated Command Bar.
Jun 15 2016, 3:07 PM
sstjames added a dependent revision for D1892: Re-instate Emulated Command Bar tests, and refactor Emulated Command Bar: D1894: Workaround fact that Qt 5.5 does not allow shortcuts to be triggered by playing QKeyEvents.
Jun 15 2016, 3:07 PM
sstjames retitled D1894: Workaround fact that Qt 5.5 does not allow shortcuts to be triggered by playing QKeyEvents from to Workaround fact that Qt 5.5 does not allow shortcuts to be triggered by playing QKeyEvents.
Jun 15 2016, 3:06 PM
sstjames added a comment to D1892: Re-instate Emulated Command Bar tests, and refactor Emulated Command Bar.

This is a big one - essentially I think it is ok to commit. While browsing through the code, my only real comment is that instead of QRegExp, we should use QRegularExpression. However, as the patch is already big enough, I wouldn't change it now.

What is more important to note is that KDE Frameworks is released every month, see https://community.kde.org/Schedules/Frameworks.
So next tagging date is 2nd of July (bit more than two weeks). This is good, since it means that we have two weeks to fix regressions :-)

So I would be fine with committing this, and if you target the KDE Frameworks 5.24, please rather commit early than late.

More feedback and / or better reviews are of course welcome :)

Jun 15 2016, 2:49 PM
sstjames retitled D1892: Re-instate Emulated Command Bar tests, and refactor Emulated Command Bar from to Re-instate Emulated Command Bar tests, and refactor Emulated Command Bar.
Jun 15 2016, 2:20 PM