Feed Advanced Search

Apr 9 2019

tcanabrava updated the diff for D20224: Implement saving sessions recursively.
  • Use reference with range for loops
Apr 9 2019, 9:08 AM · Konsole
tcanabrava added inline comments to D20224: Implement saving sessions recursively.
Apr 9 2019, 9:03 AM · Konsole
tcanabrava added a comment to D18992: Kbruch exercise mode improvement.

ping?

Apr 9 2019, 8:41 AM · KDE Edu
tcanabrava accepted D19085: Add override to clean up warnings.
Apr 9 2019, 8:40 AM
tcanabrava added a comment to D19960: bluez-qt: remove warnings.

ping?

Apr 9 2019, 8:39 AM · Frameworks
tcanabrava accepted D19563: adding multiple decays and updated isotope information H-Na.
Apr 9 2019, 8:39 AM · KDE Edu
tcanabrava requested changes to D20119: clean main.cpp.

the adition of the phabricator configuration file is unrelated to a clean, please split in two patches.

Apr 9 2019, 8:37 AM
tcanabrava requested changes to D20258: clean.
Apr 9 2019, 8:36 AM
tcanabrava added a comment to D20398: Remove warning: do not use 'else' after 'return'.

the specific warning is https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html

Apr 9 2019, 8:35 AM
tcanabrava added a comment to D20335: Remove warning static member accessed through instance.

I believe that he builds in clang and clang 8 added quite a bunch of new
warnings

Apr 9 2019, 6:07 AM

Apr 8 2019

tcanabrava accepted D20322: remove the OpenMPI dependency.
Apr 8 2019, 7:34 PM
tcanabrava added a comment to D20335: Remove warning static member accessed through instance.

true, but then the instance is there anyway. what we gain from this?

Apr 8 2019, 7:32 PM
tcanabrava added a comment to D20224: Implement saving sessions recursively.

Hm? This doesn’t touches that.

Apr 8 2019, 5:33 PM · Konsole
tcanabrava added a comment to D20224: Implement saving sessions recursively.

waiting for @hindenburg ok before landing. :)

Apr 8 2019, 3:21 PM · Konsole
tcanabrava updated the diff for D20224: Implement saving sessions recursively.
  • Better variable name
Apr 8 2019, 2:22 PM · Konsole
tcanabrava updated the diff for D20224: Implement saving sessions recursively.
  • Whitespace / Todos removal
Apr 8 2019, 2:07 PM · Konsole
tcanabrava added a comment to D20224: Implement saving sessions recursively.

This seems to fix the issue I started having recently where Konsole crashes at logout and then opens as a big white window on login after session restoration.

Apr 8 2019, 1:57 PM · Konsole
tcanabrava accepted D20336: Simplifying class constructor with constructor delegate.

sorry, my mistake. this is correct.
https://en.cppreference.com/w/cpp/language/initializer_list#Delegating_constructor

Apr 8 2019, 1:56 PM
tcanabrava added a comment to D20336: Simplifying class constructor with constructor delegate.

that looks factually wrong. what are you trying to accomplish here?

Apr 8 2019, 1:55 PM
tcanabrava updated the test plan for D20224: Implement saving sessions recursively.
Apr 8 2019, 12:10 PM · Konsole
tcanabrava added a reviewer for D20224: Implement saving sessions recursively: ngraham.
Apr 8 2019, 12:03 PM · Konsole
tcanabrava updated the diff for D20224: Implement saving sessions recursively.

Session Save / Restore

Apr 8 2019, 12:00 PM · Konsole

Apr 5 2019

tcanabrava updated subscribers of D20036: Correct math to blend color in the blur effect.

OpenMP is missing, Andre is working on it.

Apr 5 2019, 10:47 AM · KDE Applications

Apr 4 2019

tcanabrava added a comment to D20224: Implement saving sessions recursively.

This code can load sessions, it has a better behavior than the old session load code, but still has bugs. I'll finish this luckly today / tomorrow.

Apr 4 2019, 3:14 PM · Konsole
tcanabrava updated the diff for D20224: Implement saving sessions recursively.
  • Sessions partially working
  • Code cleanup
Apr 4 2019, 2:57 PM · Konsole
tcanabrava added a comment to D20224: Implement saving sessions recursively.

I'll remove the debugs / message handlers as soon as everything is working. but it's one of the fastest ways for me to keep the debug messages between runs so I can understand what's wrong.
the session is correctly saved, and the SessionManager correctly loads all the sessions back, the ViewManager however is broken on load. that's what I'm debugging now. so even tougth we don't display any terminal, they are up and running.

Apr 4 2019, 1:38 PM · Konsole
tcanabrava updated the diff for D20224: Implement saving sessions recursively.
  • messageHandler + tons of debug
  • Sabe json correctly in the configuration
Apr 4 2019, 1:36 PM · Konsole
tcanabrava added a comment to D20224: Implement saving sessions recursively.

Well, I finally managed to discover something:
when MainWindow::saveProperties is triggered we already destroyed the sessions and tabs, and that's the reason it's not saving anything.
I'm trying to debug the destructor order now to see if I can change something.

Apr 4 2019, 10:26 AM · Konsole

Apr 3 2019

tcanabrava updated the diff for D20224: Implement saving sessions recursively.
  • Implement the Load of Sessions
  • Solve crash while quitting konsole via Session End
  • Still Broken, do not review unless you can help. :)
Apr 3 2019, 5:22 PM · Konsole
tcanabrava added reviewers for D20224: Implement saving sessions recursively: Konsole, hindenburg.
Apr 3 2019, 10:27 AM · Konsole
tcanabrava requested review of D20224: Implement saving sessions recursively.
Apr 3 2019, 10:27 AM · Konsole

Mar 30 2019

tcanabrava added a comment to D17643: Multiple Splits per Tab.

The code for sessions is commented out, in the original review you said
that you would help me see the saving the session code as now we have to
deal with splits.

Mar 30 2019, 9:10 PM · Konsole

Mar 29 2019

tcanabrava updated the diff for D20115: Re enable move tab left / right via keyboard shortcuts.
  • Remove empty line
Mar 29 2019, 4:51 PM · Konsole
tcanabrava added reviewers for D20115: Re enable move tab left / right via keyboard shortcuts: Konsole, hindenburg.
Mar 29 2019, 4:51 PM · Konsole
tcanabrava requested review of D20115: Re enable move tab left / right via keyboard shortcuts.
Mar 29 2019, 4:50 PM · Konsole
tcanabrava added a comment to D18154: Add a "Session Switcher" via Ctrl + Tab.

This is mostly working, but I will not merge this untill we fix the current state of the shortcuts (that I'm preparing in a separate patch).
after the shortcuts are correct, there will be a follow up patch here to use the switcher style *or* the next-prev-tab style (as we have today) selectable by the user, defaulting to the current behavior.

Mar 29 2019, 3:09 PM · Konsole
tcanabrava updated the diff for D18154: Add a "Session Switcher" via Ctrl + Tab.
  • Simplify handling of code
  • Handle list with the shortcut selected
  • Mostly working
  • Remove mnemonics from text
Mar 29 2019, 3:07 PM · Konsole
tcanabrava added a comment to D17643: Multiple Splits per Tab.

I’m in a konsole spree this week so expect patches.

Mar 29 2019, 2:57 PM · Konsole

Mar 28 2019

tcanabrava added a comment to D18154: Add a "Session Switcher" via Ctrl + Tab.

how that the splits are merged, I'm preparing a round of patches that where rotting in my pc.

Mar 28 2019, 5:14 PM · Konsole
tcanabrava abandoned D18575: Remove warning before hidding the MenuBar.
Mar 28 2019, 11:44 AM · Plasma
tcanabrava abandoned D19015: This is a followup review for the removal of ifdefs before debug.
Mar 28 2019, 11:43 AM
tcanabrava added a reviewer for D20088: Simplify TerminalDisplay code : Konsole.
Mar 28 2019, 11:42 AM · Konsole
tcanabrava abandoned D20089: Remove sender() and QVariant() conversions.
Mar 28 2019, 11:41 AM · Konsole
tcanabrava accepted D20036: Correct math to blend color in the blur effect.
Mar 28 2019, 11:41 AM · KDE Applications
tcanabrava abandoned D20090: Declare + initialize, instead of setting the value later.
Mar 28 2019, 11:41 AM · Konsole
tcanabrava updated the diff for D20088: Simplify TerminalDisplay code .
  • Use one liners where appropriate.
  • Remove sender() and QVariant() conversions
  • Declare + initialize, instead of setting the value later
  • Don't create unecessary temporaries
  • Extract code from huge function into a smaller one
Mar 28 2019, 11:40 AM · Konsole
tcanabrava requested review of D20090: Declare + initialize, instead of setting the value later.
Mar 28 2019, 11:37 AM · Konsole
tcanabrava requested review of D20089: Remove sender() and QVariant() conversions.
Mar 28 2019, 11:36 AM · Konsole
tcanabrava requested review of D20088: Simplify TerminalDisplay code .
Mar 28 2019, 11:35 AM · Konsole

Mar 26 2019

tcanabrava added a comment to D19956: ki18n: updating memory manager and removing compile warnings.

-1 gettext is c code, should not use c++ includes.

Mar 26 2019, 2:11 PM · Frameworks
tcanabrava added a comment to D17643: Multiple Splits per Tab.

I'm using this now for months without problems, I know that people have different usecases but I belive that this is stable enough to land in master, giving us enough time to kill all the bugs for the next release.
and also to minimize the amount of possible breaks.

Mar 26 2019, 11:27 AM · Konsole
tcanabrava updated the diff for D17643: Multiple Splits per Tab.
  • Remove deprecated code
  • Refactor to reduce the number of boilerplate
  • Fix updating the detach menus
  • Fix creation of splits in the middle of the grid
  • Properly count the number of Terminals
  • Remove unused function - a findChildren is what it's needed
  • Call directly, lambda is uneeded here.
  • don't copy the map
  • Fix rebase
  • Fix rebase
  • Update Konsole Rc version
  • Connect signals directly without lambdas
  • Resize instead of setting the geometry
Mar 26 2019, 11:22 AM · Konsole
tcanabrava added a comment to D17643: Multiple Splits per Tab.

not dead, just crazy at life.

Mar 26 2019, 11:10 AM · Konsole
tcanabrava requested changes to D20036: Correct math to blend color in the blur effect.
Mar 26 2019, 11:09 AM · KDE Applications
tcanabrava added a comment to D20036: Correct math to blend color in the blur effect.

omp is a new dependency, so it should be added to cmake.
https://cliutils.gitlab.io/modern-cmake/chapters/packages/OpenMP.html

Mar 26 2019, 11:09 AM · KDE Applications

Mar 20 2019

tcanabrava accepted D19166: Add application path as valid path for debuggers.
Mar 20 2019, 2:07 PM · Plasma

Mar 18 2019

tcanabrava added a comment to D19813: Fix freeze when resize with transparent option.

pushed the revert to both master / applications 19.04

Mar 18 2019, 7:10 PM · KDE Applications
tcanabrava added a reverting change for R374:fff60307ff06: Remove conditional debug output: R374:9966eeb36230: Revert "Remove conditional debug output".
Mar 18 2019, 7:09 PM
tcanabrava committed R374:9966eeb36230: Revert "Remove conditional debug output" (authored by tcanabrava).
Revert "Remove conditional debug output"
Mar 18 2019, 7:09 PM
tcanabrava added a reverting change for R374:fff60307ff06: Remove conditional debug output: R374:4413d7ab3a70: Revert "Remove conditional debug output".
Mar 18 2019, 7:09 PM
tcanabrava committed R374:4413d7ab3a70: Revert "Remove conditional debug output" (authored by tcanabrava).
Revert "Remove conditional debug output"
Mar 18 2019, 7:09 PM

Mar 17 2019

tcanabrava updated subscribers of D19813: Fix freeze when resize with transparent option.

I'll revert and reply on a dev branch

Mar 17 2019, 8:28 AM · KDE Applications
tcanabrava added a comment to D19813: Fix freeze when resize with transparent option.

Pino, it doesn't. If you enabled the debug messages the code wouldn't
compile as the code that happened with the debug messages where actually
broken.

Mar 17 2019, 7:13 AM · KDE Applications

Mar 16 2019

tcanabrava added a comment to D17643: Multiple Splits per Tab.

Will do that today

Mar 16 2019, 5:42 PM · Konsole

Mar 14 2019

tcanabrava accepted D19645: Deprecating rotation function.
Mar 14 2019, 10:49 AM · KDE Edu
tcanabrava updated the diff for D17643: Multiple Splits per Tab.
  • Remove deprecated code
  • Refactor to reduce the number of boilerplate
  • Fix updating the detach menus
  • Fix creation of splits in the middle of the grid
  • Properly count the number of Terminals
  • Remove unused function - a findChildren is what it's needed
  • Call directly, lambda is uneeded here.
  • don't copy the map
  • Fix rebase
  • Fix rebase
  • Update Konsole Rc version
  • Connect signals directly without lambdas
Mar 14 2019, 10:02 AM · Konsole
tcanabrava abandoned D19656: Comparisson has a typo, === and not = ==..
Mar 14 2019, 9:53 AM · Plasma

Mar 11 2019

tcanabrava committed R32:b576771d0f8f: Be less restrictive with failures while searching for LLVM (authored by tcanabrava).
Be less restrictive with failures while searching for LLVM
Mar 11 2019, 2:19 PM
tcanabrava accepted D19519: Ensure Disconnection to avoid bed double connect.
Mar 11 2019, 12:39 PM · Atelier: General Development
tcanabrava added a comment to D19645: Deprecating rotation function.
In D19645#428711, @apol wrote:

That's not how we deprecate in C++.

You'll want to use ANALITZAPLOT_DEPRECATED_EXPORT on the method declaration.

Mar 11 2019, 10:40 AM · KDE Edu
tcanabrava committed R337:02076eed06dd: Merge branch 'issues' into 'master' (authored by tcanabrava).
Merge branch 'issues' into 'master'
Mar 11 2019, 10:35 AM

Mar 10 2019

tcanabrava requested review of D19656: Comparisson has a typo, === and not = ==..
Mar 10 2019, 3:15 PM · Plasma
tcanabrava added a comment to D17643: Multiple Splits per Tab.

Sorry for the abscense, I was in vacations in brazil for three weeks
without a computer.
I just got back home (like, yesterday), and I also just bougth a new
computer (after 10 years, yey). What I'm doing right now is to setup my KDE
dev environment and compile everything.

Mar 10 2019, 3:10 PM · Konsole

Mar 8 2019

tcanabrava updated subscribers of D13882: Use QTabBar: drop tons of code.

thats Easy to fix but I’d say that the current way is more “expected”. Nate?

Mar 8 2019, 8:19 PM · Konsole

Mar 5 2019

tcanabrava updated subscribers of D19457: Resurrect kdev-java.

Em ter, 5 de mar de 2019 às 18:36, Dāvis Mosāns <noreply@phabricator.kde.org>
escreveu:

Mar 5 2019, 10:56 PM · KDevelop

Feb 26 2019

tcanabrava accepted D19164: Modernizes and remove Clang-Tyde warnings.
Feb 26 2019, 12:25 PM

Feb 25 2019

tcanabrava updated the diff for D17643: Multiple Splits per Tab.
  • Remove deprecated code
  • Refactor to reduce the number of boilerplate
  • Fix updating the detach menus
  • Fix creation of splits in the middle of the grid
  • Properly count the number of Terminals
  • Remove unused function - a findChildren is what it's needed
  • Call directly, lambda is uneeded here.
  • don't copy the map
  • Fix rebase
  • Fix rebase
Feb 25 2019, 11:00 PM · Konsole

Feb 16 2019

tcanabrava added a comment to D17643: Multiple Splits per Tab.

I’m ok with it.

Feb 16 2019, 3:32 PM · Konsole

Feb 15 2019

tcanabrava accepted D18859: cdb: First working version.
Feb 15 2019, 1:45 PM · Plasma
tcanabrava updated the diff for D19015: This is a followup review for the removal of ifdefs before debug.
  • More guards removed.
  • Remove unused include
Feb 15 2019, 12:41 PM

Feb 14 2019

tcanabrava requested review of D19015: This is a followup review for the removal of ifdefs before debug.
Feb 14 2019, 5:24 PM
tcanabrava committed R374:fff60307ff06: Remove conditional debug output (authored by tcanabrava).
Remove conditional debug output
Feb 14 2019, 2:39 PM
tcanabrava closed D18930: Remove conditional debug output.
Feb 14 2019, 2:39 PM
tcanabrava updated the diff for D18930: Remove conditional debug output.
  • Fix compilation
Feb 14 2019, 2:21 PM
tcanabrava closed D18741: Convert old style to Qt5 style connection.

already merged and a followup was also merged fixing the issues related by @broulik

Feb 14 2019, 9:42 AM
tcanabrava committed R374:28bb1592924b: Remove unused code (authored by andreagenor).
Remove unused code
Feb 14 2019, 9:41 AM
tcanabrava closed D18742: Remove unused code.
Feb 14 2019, 9:41 AM · KDE Applications
tcanabrava committed R374:1d1136866821: Standardizing includes across header files (authored by andreagenor).
Standardizing includes across header files
Feb 14 2019, 9:40 AM
tcanabrava closed D18872: Standardizing includes across header files.
Feb 14 2019, 9:40 AM
tcanabrava committed R374:d69b9ee1426d: Replace some math macro definitions (authored by andreagenor).
Replace some math macro definitions
Feb 14 2019, 9:40 AM
tcanabrava closed D18876: Replace some math macro definitions.
Feb 14 2019, 9:40 AM
tcanabrava added a comment to D14200: Simplify newSession code.

@hindenburg ping?

Feb 14 2019, 9:39 AM · Konsole
tcanabrava updated the diff for D18579: Rework Sensor Browser.
  • Fix code style
  • re-add assert
  • Fix code style
Feb 14 2019, 9:37 AM · Plasma
tcanabrava committed R106:b4bde28dc7af: Simpe C updates to ksysguardd code (authored by tcanabrava).
Simpe C updates to ksysguardd code
Feb 14 2019, 9:31 AM
tcanabrava closed D18576: Simpe C updates to ksysguardd code.
Feb 14 2019, 9:31 AM · Plasma
tcanabrava closed D18578: Reduce string objects.
Feb 14 2019, 9:30 AM · Plasma
tcanabrava committed R106:91b1f7115bf3: Reduce string objects (authored by tcanabrava).
Reduce string objects
Feb 14 2019, 9:30 AM
tcanabrava added a comment to D18575: Remove warning before hidding the MenuBar.

No other KDE app does this

That's not true. Kate and Gwenview do this too, and for good reason: without this warning, there's no way to know how to get the menu bar back again if you remove it by accident and/or don't know about the ctrl+m shortcut.

Konsole doesn't show a warning because it's a power user app; presumably the user knows what he/she is doing. Dolphin doesn't have this warning because it automatically creates a menu-like toolbar button when the menubar is hidden, which is an acceptable alternative. But for apps that don't do this or something else (e.g. putting the menubar in the titlebar instead) we need to show an ugly warning like this.

Feb 14 2019, 9:29 AM · Plasma

Feb 13 2019

tcanabrava updated subscribers of D17643: Multiple Splits per Tab.

There are two different patches for that, one from myself that adds a dim
effect (that Kurt asked to remove from this change set) and another one
that implements a header, also in a different review (but not from myself
and I don’t have the review number on my head).

Feb 13 2019, 9:16 PM · Konsole
tcanabrava added a comment to D15742: Add close tab and create new tab on middle click event.

Be my guest

Feb 13 2019, 6:00 PM · Konsole