Feed Advanced Search

Apr 3 2018

fabiank committed R604:57fe8de051a9: Text preview allows scrolling again (authored by fabiank).
Text preview allows scrolling again
Apr 3 2018, 2:34 PM
fabiank committed R604:3ba4fa7e5df5: video preview resizes correctly now (for some reason videos take very long to… (authored by fabiank).
video preview resizes correctly now (for some reason videos take very long to…
Apr 3 2018, 2:34 PM
fabiank committed R604:5ec596c8d771: fix initial image selection (authored by fabiank).
fix initial image selection
Apr 3 2018, 2:34 PM
fabiank committed R604:e0904678265a: start porting away for KDE4LibsSupport to ease fixing some bugs (authored by fabiank).
start porting away for KDE4LibsSupport to ease fixing some bugs
Apr 3 2018, 2:34 PM
fabiank committed R604:eb876c0c3b63: updated dolphin patch again (authored by fabiank).
updated dolphin patch again
Apr 3 2018, 2:34 PM
fabiank committed R604:cb8e565a631c: dolphin patch applies again against dolphin master… (authored by fabiank).
dolphin patch applies again against dolphin master…
Apr 3 2018, 2:34 PM
fabiank committed R604:ff9fa3009f8b: reduce CMake version requirement (authored by fabiank).
reduce CMake version requirement
Apr 3 2018, 2:34 PM
fabiank committed R604:46a580884a34: split monolithic dolphin patch, currently doe only partially apply (authored by fabiank).
split monolithic dolphin patch, currently doe only partially apply
Apr 3 2018, 2:34 PM
fabiank committed R604:87f7fd353fe8: add .arcconfig file (authored by fabiank).
add .arcconfig file
Apr 3 2018, 2:34 PM
fabiank committed R604:1009306c43f6: actually show application (authored by fabiank).
actually show application
Apr 3 2018, 2:34 PM
fabiank committed R604:633e08d45f34: some work on porting video to QtMultiMedia (authored by fabiank).
some work on porting video to QtMultiMedia
Apr 3 2018, 2:34 PM
fabiank committed R604:f37f390b61df: make text preview usable again (authored by fabiank).
make text preview usable again
Apr 3 2018, 2:34 PM
fabiank committed R604:c05688c67558: qml fixes (authored by fabiank).
qml fixes
Apr 3 2018, 2:34 PM
fabiank committed R604:840809622970: Initial porting to Qt5/KDE Frameworks, only compiles, doesn't work (authored by fabiank).
Initial porting to Qt5/KDE Frameworks, only compiles, doesn't work
Apr 3 2018, 2:34 PM
fabiank closed D11844: RFC: An initial, lazy port of KLook towards Qt5.
Apr 3 2018, 2:34 PM
fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • remove old connect
  • support directories again
Apr 3 2018, 2:33 PM

Apr 2 2018

fabiank added a comment to D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • TODO: new mimetype detection breaks the directory case, as it is considered an error (though we still get inode/directory as the result). Add special detection for dirs.
Apr 2 2018, 10:04 PM
fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • do not depend on phonon to detect if we support a video format
  • directly conect to mimetype signal, which appears to be emitted significantly earlier than result
Apr 2 2018, 9:41 PM
fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • video preview resizes correctly now (for some reason videos take very long to play though)
Apr 2 2018, 6:17 PM
fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • Text preview allows scrolling again
Apr 2 2018, 4:17 PM
fabiank updated subscribers of D11844: RFC: An initial, lazy port of KLook towards Qt5.

@bcooksley Would it be possible to set up a project page for KLook? Having all the todos as actionable tasks in a Workboard and being able to prioritize them would be more helpful than having half of them as a list in a text document, and the other half merely existing in my head. Also, when @ngraham decides to list all the usability and design improvements that are needed (which isn't really my area of expertise), he could put them there, too.

Apr 2 2018, 3:23 PM
fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • fix initial image selection
Apr 2 2018, 2:26 PM
fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • start porting away for KDE4LibsSupport to ease fixing some bugs
Apr 2 2018, 12:32 PM

Apr 1 2018

fabiank updated the summary of D11844: RFC: An initial, lazy port of KLook towards Qt5.
Apr 1 2018, 9:22 PM
fabiank updated the summary of D11844: RFC: An initial, lazy port of KLook towards Qt5.
Apr 1 2018, 9:17 PM
fabiank added a reviewer for D11844: RFC: An initial, lazy port of KLook towards Qt5: Dolphin.
Apr 1 2018, 9:16 PM
fabiank added a comment to D11844: RFC: An initial, lazy port of KLook towards Qt5.

@ngraham : So the dolphin integration works partially (as described above in the summary). I guess some input from the dolphin team would be helpful now. D11875 contains the dolphin patch so that it can be easier reviewed. I'm not so sure whether and how the discussion should be split between the two review requests.

Apr 1 2018, 9:16 PM
fabiank requested review of D11875: Revive the KLook patch for dolphin.
Apr 1 2018, 9:12 PM · Dolphin
fabiank added a dependent revision for D11844: RFC: An initial, lazy port of KLook towards Qt5: D11875: Revive the KLook patch for dolphin.
Apr 1 2018, 9:12 PM
fabiank updated the summary of D11844: RFC: An initial, lazy port of KLook towards Qt5.
Apr 1 2018, 9:07 PM
fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • updated dolphin patch again
Apr 1 2018, 8:58 PM
fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
Apr 1 2018, 7:46 PM
fabiank added a comment to D11815: Refactor the Solver class.

Anything I can do to convince you that templates are awesome, and we should use them ;-)? My main argument is that this improves type safety and allows to catch off by one errors when indexing the arrays (and it enables iteration with range based for, which I haven't implemented yet, though). It also helped me catch that Q_ASSERT weirdness in D11814, as with the std::array, that assignment became illegal.

Apr 1 2018, 6:56 PM
fabiank added inline comments to D11814: Getting rid of macros and dead code:.
Apr 1 2018, 6:33 PM
fabiank added a comment to D11779: General Code clean-up.

I'd say you can use override instead of Q_DECL_OVERRIDE if you want

Apr 1 2018, 6:20 PM

Mar 31 2018

fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • split monolithic dolphin patch, currently doe only partially apply
Mar 31 2018, 10:13 PM
fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • reduce CMake version requirement
Mar 31 2018, 8:05 PM
fabiank updated the diff for D11844: RFC: An initial, lazy port of KLook towards Qt5.
  • add .arcconfig file
Mar 31 2018, 8:03 PM
fabiank added a comment to D11844: RFC: An initial, lazy port of KLook towards Qt5.
Mar 31 2018, 7:59 PM
fabiank added a comment to D11844: RFC: An initial, lazy port of KLook towards Qt5.

@ngraham : I've added you as a reviewer, as I've initially stumbled (again) over KLook due to Bug 272539, and you were the last one active there. If you know anyone else who this might concern, please add them. This is really mostly meant as a RFC, and to probe if there is even interest in reviving KLook.

Mar 31 2018, 7:37 PM
fabiank added a reviewer for D11844: RFC: An initial, lazy port of KLook towards Qt5: ngraham.
Mar 31 2018, 7:36 PM
fabiank requested review of D11844: RFC: An initial, lazy port of KLook towards Qt5.
Mar 31 2018, 7:34 PM

Mar 30 2018

fabiank updated the summary of D11815: Refactor the Solver class.
Mar 30 2018, 7:03 PM
fabiank updated the summary of D11815: Refactor the Solver class.
Mar 30 2018, 7:02 PM
fabiank updated the summary of D11815: Refactor the Solver class.
Mar 30 2018, 7:02 PM
fabiank updated the summary of D11815: Refactor the Solver class.
Mar 30 2018, 7:00 PM
fabiank requested review of D11815: Refactor the Solver class.
Mar 30 2018, 6:58 PM
fabiank added a comment to D11814: Getting rid of macros and dead code:.
In the same vein as #D11779, this is meant to modernize and clean up to make the code base more maintainable.
Mar 30 2018, 6:56 PM
fabiank requested review of D11814: Getting rid of macros and dead code:.
Mar 30 2018, 6:53 PM

Mar 29 2018

fabiank added a comment to D11768: Add Desktop and Downloads to the default list of Places.

In Neon and Kubuntu, ~/Desktop exists for a new user by default. Is this not the case in other distros?

Mar 29 2018, 2:28 PM · Frameworks
fabiank updated the diff for D11779: General Code clean-up.
  • simplify check for nullptr in assert
Mar 29 2018, 1:34 PM
fabiank added inline comments to D11779: General Code clean-up.
Mar 29 2018, 1:10 PM
fabiank added a comment to D11779: General Code clean-up.

@aacid : You were joking that I've become the de-facto maintainer of the solver code by contributing to it, so I thought I might as well improve the general code hygiene. This patch set mainly removes provably dead code, and applies a few clang-tidy modernizations. The remainder is a bit of code simplification (reducing variable scope, malloc + memset -> calloc). I couldn't figure out how to get arc to create a series of smaller review requests (one per commit, history.immutable = true doesn't help in that regard), and hope you don't mind the clustered review request.

Mar 29 2018, 12:59 PM
fabiank added a reviewer for D11779: General Code clean-up: aacid.
Mar 29 2018, 12:50 PM
fabiank requested review of D11779: General Code clean-up.
Mar 29 2018, 12:45 PM

Mar 21 2018

fabiank added a comment to D10889: Summary: SpiderSolitaire: Check if there exists a card below before accessing it.

Friendly ping

Mar 21 2018, 3:18 PM

Mar 16 2018

fabiank added a comment to D11367: Capitalize first letter of type.

Just chiming in: Are you sure this is the right place for this? Shouldn't that be done at the place where the string is displayed by using QFont::setCapitalization?

Mar 16 2018, 6:53 PM · Baloo

Mar 4 2018

fabiank committed R284:29e7a1d89278: Apply fixes to simple clazy warnings (authored by fabiank).
Apply fixes to simple clazy warnings
Mar 4 2018, 2:45 PM
fabiank closed D10927: Apply fixes to simple clazy warnings.
Mar 4 2018, 2:45 PM · Frameworks

Mar 3 2018

fabiank added a comment to D10889: Summary: SpiderSolitaire: Check if there exists a card below before accessing it.

So the last change fixes that mp gets incremented and we happily write into the storage space of the MemoryManager which leads to all kinds of crashes. Now, I know that goto is normally not something you put into modern C++, but it seemed to be the nicest way out of the nested loop while keeping the check local to the increment.

Mar 3 2018, 8:27 PM
fabiank updated the diff for D10889: Summary: SpiderSolitaire: Check if there exists a card below before accessing it.
  • Don't derefernce stack if empty
  • Don't attempt to store more moves than we have space for
Mar 3 2018, 8:22 PM
fabiank added a comment to D10889: Summary: SpiderSolitaire: Check if there exists a card below before accessing it.

No, I'm not sure, it was probably more wishful thinking. Though those illegal reads can cause all kinds of memory corruption. Did your crash occur in a Debug build or in a RelWithDeb build? Just asking as the first makes it more likely to be an easy to find logic error, while the latter can be the compiler making use of UB at any place.

Mar 3 2018, 5:59 PM
fabiank committed R255:58647d0da5fd: connect to deleteLater to ensure that object is deleted (authored by fabiank).
connect to deleteLater to ensure that object is deleted
Mar 3 2018, 9:51 AM
fabiank closed D10982: connect to deleteLater to ensure that object is deleted.
Mar 3 2018, 9:51 AM
fabiank updated the diff for D10982: connect to deleteLater to ensure that object is deleted.

remove whitespace change

Mar 3 2018, 12:21 AM
fabiank requested review of D10982: connect to deleteLater to ensure that object is deleted.
Mar 3 2018, 12:19 AM

Mar 2 2018

fabiank updated the diff for D10889: Summary: SpiderSolitaire: Check if there exists a card below before accessing it.

Similar issues also exist in mod3solver.cpp, I've added some fixes/workarounds for that one too. I hope you don't mind, else I can separate it into a new review request.

Mar 2 2018, 10:08 PM
fabiank added a comment to D10953: use contains for membership test.

I'll probably won't contribute to Elisa regularly or any new features, but I might provide a few patches like this one to fix things clazy and other static analyzers complain about.

Mar 2 2018, 4:36 PM
fabiank committed R255:3d221a5efa1d: use contains for membership test (authored by fabiank).
use contains for membership test
Mar 2 2018, 4:35 PM
fabiank closed D10953: use contains for membership test.
Mar 2 2018, 4:35 PM
fabiank added a reviewer for D10953: use contains for membership test: mgallien.
Mar 2 2018, 3:11 PM

Mar 1 2018

fabiank added a reviewer for D10953: use contains for membership test: Elisa.
Mar 1 2018, 7:50 PM
fabiank requested review of D10953: use contains for membership test.
Mar 1 2018, 7:49 PM
fabiank committed R166:af6efd314dad: fix a few clazy warnings (authored by fabiank).
fix a few clazy warnings
Mar 1 2018, 1:04 PM
fabiank committed R166:4346dc05a494: Revert "fix a few clazy warnings" which contained an unrelated change (authored by fabiank).
Revert "fix a few clazy warnings" which contained an unrelated change
Mar 1 2018, 1:01 PM
fabiank added a reverting change for R166:20ea75329ee6: fix a few clazy warnings: R166:4346dc05a494: Revert "fix a few clazy warnings" which contained an unrelated change.
Mar 1 2018, 1:01 PM
fabiank committed R166:20ea75329ee6: fix a few clazy warnings (authored by fabiank).
fix a few clazy warnings
Mar 1 2018, 12:59 PM
fabiank closed D10931: fix a few clazy warnings.
Mar 1 2018, 12:59 PM

Feb 28 2018

fabiank added a comment to D10889: Summary: SpiderSolitaire: Check if there exists a card below before accessing it.

I always got the an asan abort due to the missing checks (the solver would always execute the code and dereference non-allocated memory ). Now, without asan and without the patches, I didn't get any crashes in a debug build, and occasionally crashes with RelWithDeb. I didn't get any crashes with RelWithDeb and my patches, though of course there could be other crab sources.

Feb 28 2018, 11:33 PM
fabiank added a reviewer for D10927: Apply fixes to simple clazy warnings: dfaure.
Feb 28 2018, 10:39 PM · Frameworks
fabiank added a reviewer for D10931: fix a few clazy warnings: Spectacle.
Feb 28 2018, 9:39 PM
fabiank updated the diff for D10931: fix a few clazy warnings.
Feb 28 2018, 9:38 PM
fabiank requested review of D10931: fix a few clazy warnings.
Feb 28 2018, 9:33 PM
fabiank retitled D10927: Apply fixes to simple clazy warnings from Use const methods to prevent container from detaching KHistoryComboBox: reserve list before populating it to Apply fixes to simple clazy warnings.
Feb 28 2018, 8:24 PM · Frameworks
fabiank requested review of D10927: Apply fixes to simple clazy warnings.
Feb 28 2018, 8:21 PM · Frameworks

Feb 27 2018

fabiank added a comment to D10889: Summary: SpiderSolitaire: Check if there exists a card below before accessing it.

I should add that KPatience relies on the Wp pointing one field before an array (which happens for instance Solver::unpack_position when strecpy returns 0, as the pile is empty). This apparently works with most compilers, but technically it's UB according to §5.7, 4 of the C++ standard (N4296). However, fixing this would require a large amount of refactoring.

Feb 27 2018, 3:24 PM
fabiank added a comment to D10889: Summary: SpiderSolitaire: Check if there exists a card below before accessing it.

This solves maybe the issue which appeared in BUG: 389540. At least, I don't get any invalid access warnings from asan anymore. However, the logic of the search is somewhat complex, so I'm not 100% sure that the correct branch is taken with the new access checks. Someone more familiar with the code might want to take a look at it.

Feb 27 2018, 2:51 PM
fabiank requested review of D10889: Summary: SpiderSolitaire: Check if there exists a card below before accessing it.
Feb 27 2018, 2:47 PM