Commit Graph

29 Commits

Author SHA1 Message Date
gatecat
eca1a4cee4 Use hashlib in most remaining code
Signed-off-by: gatecat <gatecat@ds0.me>
2021-06-02 15:05:20 +01:00
D. Shah
3ae96bff88 Refactor GUI to use IdStringLists
The GUI internally had an 'IdStringList' type that I hadn't spotted, to
avoid a conflict this is renamed to IdList which also reflects its new
purpose better.

Signed-off-by: D. Shah <dave@ds0.me>
2021-02-02 17:00:33 +00:00
Vegard Storheil Eriksen
34cc1bd41f gui: Fix sorting order in TreeModel. 2020-02-28 03:56:33 +01:00
Vegard Storheil Eriksen
bb754441c8 gui: Fix undefined behavior in TreeModel.
std::sort() requires the comparison function to return false for even
comparison. Returning true results in undefined behavior and a potential
segfault.
2020-02-28 03:48:41 +01:00
Miodrag Milanovic
38e3b6338c Various warning fixes 2020-01-18 15:23:35 +01:00
Miodrag Milanovic
b8870bb99c Propagate proper ctx, fixes fetchMore 2018-11-11 10:53:48 +01:00
Miodrag Milanovic
f43ee265e8 Cleanup 2018-10-27 12:02:01 +02:00
Miodrag Milanovic
ba0ab7cb30 simplify and move arround 2018-10-27 12:02:01 +02:00
Miodrag Milanovic
5d5324c073 Split tree models and make other features work with it 2018-10-27 12:02:01 +02:00
Miodrag Milanovic
86a36ceeef Properly delete element from unordered_map 2018-08-02 08:32:16 +02:00
Sergiusz Bazanski
85fc356fc1 clangformat 2018-08-01 03:59:27 +01:00
Sergiusz Bazanski
3408e427f9 gui: cosmetics 2018-08-01 03:55:47 +01:00
Sergiusz Bazanski
e423cceba8 gui: treemodel: bail early on empty children updates in IdStringList 2018-08-01 03:31:06 +01:00
Sergiusz Bazanski
f9d30bcdea gui: lock arch when accessing/building treemodel 2018-08-01 03:26:27 +01:00
Sergiusz Bazanski
900649ce7a gui: restore search 2018-08-01 03:11:22 +01:00
Sergiusz Bazanski
a117fcdefd gui: treemodel: cleanups 2018-08-01 02:59:07 +01:00
Sergiusz Bazanski
8e5c6557d6 gui: treemodel: simplify class hierarchy 2018-08-01 02:24:57 +01:00
Sergiusz Bazanski
6baf8216ed gui: move tree model into own namespace 2018-08-01 02:19:30 +01:00
Sergiusz Bazanski
049e487f3f gui: fix warnings 2018-08-01 02:14:20 +01:00
Sergiusz Bazanski
c8cf0bbc05 gui: make new tree model clickable 2018-08-01 00:46:22 +01:00
Sergiusz Bazanski
6241052e11 Merge branch 'master' into q3k/treemodel-fast 2018-08-01 00:22:09 +01:00
Sergiusz Bazanski
cc0ffee3fe gui: lazy loading of tree model 2018-07-31 15:49:47 +01:00
David Shah
e3a403fa29 ecp5: Disable Pip list in GUI for now
Signed-off-by: David Shah <davey1576@gmail.com>
2018-07-31 14:36:17 +02:00
Miodrag Milanovic
7da64ee167 Implement simple search 2018-07-30 20:10:36 +02:00
Sergiusz Bazanski
3b9bde533a gui: sort tree elements somewhat smarter 2018-07-30 09:46:01 +01:00
Miodrag Milanovic
7c8865d2fc Added sorting 2018-07-29 10:56:36 +02:00
Miodrag Milanovic
ba2531edc0 add proper info on model changes 2018-07-28 18:48:32 +02:00
Miodrag Milanovic
0d3d149c4f Clean highlight selection if removed from tree 2018-07-28 16:56:16 +02:00
Miodrag Milanovic
7b09a7402e Move all to tree model 2018-07-28 15:44:00 +02:00