Commit Graph

21 Commits

Author SHA1 Message Date
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Jamie Dale
7775242a93 Fixed output log performance degradation as new text was added
UETOOL-129 - Investigate SOutputLog performance degradation

FTextLayout::AddLine was causing a re-flow of the entire document when a new line was added. This change makes it only flow the line that is being added (providing the rest of the layout is already up-to-date).

ReviewedBy Justin.Sargent

[CL 2363200 by Jamie Dale in Main branch]
2014-11-18 06:25:21 -05:00
Michael Noland
6e79b18ad4 Editor: Fix crash during shutdown with log timestamps
[CL 2357800 by Michael Noland in Main branch]
2014-11-12 20:01:49 -05:00
Mikolaj Sieluzycki
462bb3edc1 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356890 by Mikolaj Sieluzycki in Main branch]
2014-11-12 05:28:51 -05:00
Michael Noland
897c2880b4 Editor: Fix Clang error with ? of dissimilar types
[CL 2355272 by Michael Noland in Main branch]
2014-11-10 18:29:57 -05:00
Michael Noland
6d2b7ff428 Editor: Add LogTimestampMode editor config setting to control how timestamps are displayed in the output log (still defaults to None)
[CL 2354931 by Michael Noland in Main branch]
2014-11-10 15:13:41 -05:00
Jamie Dale
588dfdfcf0 Removed some redundant focus switching code from the output log
This was causing the focus to ultimately switch back to the widget that was already focused, however it was also causing IMEs to lose their current context. This force focus isn't needed, as the suggestions list is already set to not take focus when it's spawned.

[CL 2350270 by Jamie Dale in Main branch]
2014-11-05 13:12:41 -05:00
Chris Gagnon
0e6d657c3d Refactor to unify keyboard and controller input and focus.
Native controller navigation support.

[CL 2345039 by Chris Gagnon in Main branch]
2014-10-30 12:29:36 -04:00
Matt Kuhlenschmidt
b2d573aa0d Fix crash typing in the output log when a PIE window is open
[CL 2344902 by Matt Kuhlenschmidt in Main branch]
2014-10-30 10:18:39 -04:00
Jamie Dale
7dfea2d544 Fixed a crash when the TSF IME API tried to get the selected text from SOutputLog
FOutputLogTextLayoutMarshaller::GetText wasn't implemented, so it was always returning an empty string. I've implemented this and verified that it doesn't cause any performance issues for the output log.

I had to change SMultiLineEditableText::LoadText to only do that when it was bound to a delegate, as that was causing a hitch while the output log was updated when you gave it focus.

I also fixed giving the output log focus sometimes jumping to the top of the log (SMultiLineEditableText::OnKeyboardFocusReceived needed the same fix as SMultiLineEditableText::OnKeyboardFocusLost to prevent the cursor jumping into focus).

ReviewedBy Justin.Sargent

[CL 2308259 by Jamie Dale in Main branch]
2014-09-24 09:59:43 -04:00
Jamie Dale
22f0534844 Removed Tick() from SOutputLog
It wasn't actually needed as we're able to perform the scroll immediately in all cases we need to, rather than wait until the next Tick().

#codereview Max.Preussner

[CL 2306688 by Jamie Dale in Main branch]
2014-09-23 06:03:13 -04:00
Jamie Dale
6da78431f0 Some usability improvements for the output log
1) The selected text colour is now easier on the eyes
2) The output log will always scroll to the end when you enter a command
3) The output log will now correctly scroll to the bottom when it is first opened (it forces the scrollbars to always visible to avoid the horizontal scrollbar being able to move the vertical scrollbar up slightly from the bottom of the log)

ReviewedBy Andrew.Rodham

[CL 2305438 by Jamie Dale in Main branch]
2014-09-22 09:46:08 -04:00
Jamie Dale
57f0bee6b0 Fixed auto-scrolling not working after clearing the output log
ReviewedBy Rob.Jones

[CL 2298082 by Jamie Dale in Main branch]
2014-09-15 09:30:39 -04:00
Jamie Dale
80b7d7a258 Converted SOutputLog to use a multiline editable text control to show its log output
This is using a custom text marshaller to efficiently convert an FLogMessage into something understood by the FTextLayout.

ReviewedBy Justin.Sargent

[CL 2297960 by Jamie Dale in Main branch]
2014-09-15 07:10:02 -04:00
Matt Kuhlenschmidt
a75d1ba1c6 Console can be opened anywhere in the editor by pressing tilde (~). This is shortcut is rebindable.
[CL 2284536 by Matt Kuhlenschmidt in Main branch]
2014-09-04 10:49:55 -04:00
Matt Kuhlenschmidt
e16c656e93 Some tweaks to minimize horizontal scrollbar artifacts in the output log.
[CL 2267403 by Matt Kuhlenschmidt in Main branch]
2014-08-22 10:04:10 -04:00
Matt Kuhlenschmidt
b8c7941fe3 Added horizontal scrolling to the output log.
[CL 2258783 by Matt Kuhlenschmidt in Main branch]
2014-08-15 22:45:05 -04:00
Michael Trepka
3293117f09 More fixes for Clang warnings
[CL 2238624 by Michael Trepka in Main branch]
2014-07-31 15:43:08 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
TimSweeney
3a75fe0114 Engine source (Main branch up to CL 2027006) 2014-03-15 01:14:25 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00