1202 Commits

Author SHA1 Message Date
ErrorFlynn
59d3a68485
item_proxy bug fix: postfix increment operator
The behavior of the postfix increment operator is not consistent with the increment operator concept (currently just returns the next sibling node).
2019-09-20 23:38:09 -04:00
ErrorFlynn
b7a0874428
fixed bug: listbox::sort_col doesn't update view
Calling listbox::sort_col to change the sort column doesn't update the viewport to reflect the change, forcing the user to call API::refresh_window or otherwise perform stupid tricks to force the listbox to refresh.
2019-08-20 05:32:36 -04:00
ErrorFlynn
69e559f657
fixed a bug in trigger::dbl_click()
impl_->set_expanded() was called unconditionally, even if the node had no children. This caused the node icon to change to the "expanded" icon if the node had an icon scheme, even when the node didn't have children.
2019-08-11 20:27:16 -04:00
ErrorFlynn
1b0ac10475
fixes for the listbox bugs described in issue #472 2019-08-05 14:11:02 -04:00
ErrorFlynn
d845a82dc4
fixed another listbox selection bug
a display position was searched for in a set of absolute positions
2019-07-06 14:18:24 -04:00
ErrorFlynn
417071e4b5
fix for selection bug described in issue #448 2019-06-03 17:51:21 -04:00
ErrorFlynn
4e3641ed88
fix for issue #428 2019-05-05 11:13:08 -04:00
ErrorFlynn
c5b38f3643
bug: second parameter of category_icon() is rvalue reference 2019-04-18 17:12:31 -04:00
ErrorFlynn
b7ddcd7d3a
fix for issue #420 2019-04-15 13:00:04 -04:00
Jinhao
cff318d182 enhance the performance of nana 2019-04-13 00:03:40 +08:00
Jinhao
cff5a0e1c4 hides place.splitter if one of leaves is undisplayed 2019-04-10 23:17:20 +08:00
Jinhao
3716961eb4 small fix that wrong parameter is passed to scan_div 2019-04-10 23:13:37 +08:00
Jinhao
682e92c14d add check for matching numbers of left/right brackets of div-text 2019-04-10 01:19:36 +08:00
Jinhao
d931ebb61c filter out the middle and right button for item selection(#413) 2019-04-10 00:41:04 +08:00
Jinhao
a4c3784efe fix bug that wd.find_window unexpectedly returns
wd.find_window unexpectedly returns a wrong handle if captured window
ignores children windows.
2019-04-03 23:59:12 +08:00
Jinhao
6b8a898239 improve fix 73c68def7ec2bb7d3af1a4370209cb862f66b408 2019-04-02 01:19:07 +08:00
Jinhao
73c68def7e fix bug that child widgets may not be updated during event handling 2019-04-01 06:25:18 +08:00
Jinhao
5803395b7e improve place.modify
it is allowed to modify a field with a new div-text which contains an existing
name in the field being modified
2019-03-31 12:44:22 +08:00
Jinhao
bd01cb447e fix bug that mouse wheel when displaying a msgbox(#411) 2019-03-24 20:03:45 +08:00
Jinhao
01b7f6ff09 add lexically_normal and weakly_canonical to nana.fs 2019-03-22 06:11:24 +08:00
Jinhao
71e3f9de80 Merge branch 'folderbox_weakly_canonical' of https://github.com/qPCR4vir/nana into qPCR4vir-folderbox_weakly_canonical 2019-03-21 22:30:16 +08:00
Vina Rodriguez
ea3082239b implement filesystem path stem() in nana 2019-03-19 20:04:31 +01:00
Vina Rodriguez
2b6c8e0180 fix crash by using empty path to initialize folderbox with fs canonical() which don't exist 2019-03-19 20:00:55 +01:00
Jinhao
7ba93f2164 add contribution description 2019-03-14 06:31:52 +08:00
ErrorFlynn
68d01ffe70
fix: tooltip window doesn't have tree scheme & typeface (issue #405)
The treebox tooltip window is not initialized with the treebox scheme, which causes a crash in color_proxy::operator color(). Additionally, the tooltip window also uses a default font.
2019-03-12 15:58:01 -04:00
Jinhao
b0392bfa3c fix missing noexcept 2019-03-12 04:09:13 +08:00
Jinhao
f8604c06c8 improve jpeg check 2019-03-09 22:55:37 +08:00
Jinhao
2470848fba Merge branch 'hotfix-1.6.2' into develop-1.7 2019-03-09 21:54:57 +08:00
Jinhao
0d96fcc097 refactoring general events 2019-03-09 18:12:47 +08:00
Jinhao
2abae1dd68 refactoring 2019-03-08 06:11:21 +08:00
ErrorFlynn
845dda8c3e
corrected wrong offset for "Exif" bytes 2019-03-07 12:42:59 -05:00
ErrorFlynn
fd8261c6a2
fix for issue #399 2019-03-07 04:36:27 -05:00
Jinhao
0a3fb34e09 use std::filesystem::path instead of std::string 2019-03-07 01:10:02 +08:00
ErrorFlynn
26ae1bf32e
OFN_FILEMUSTEXIST for filebox in open mode
When the user types in the name of a nonexistent file, or selects a file and then changes the folder, the `OFN_FILEMUSTEXIST` flag causes the dialog box to pop up a warning message box when the user clicks the "Open" button, instead of closing and returning a nonexistent path.
2019-03-05 08:33:05 -05:00
Jinhao
92ae306994 small change 2019-03-05 03:37:01 +08:00
Jinhao
3b00ef8008 Merge branch 'text_editor_handle_end_key' of https://github.com/beru/nana into beru-text_editor_handle_end_key 2019-03-04 22:08:30 +08:00
Jinhao
f137f751c0 refactor arg_dropfiles with std::filesystem::path 2019-03-03 07:07:58 +08:00
Jinhao
71f57bbf92 refactor filebox and folderbox 2019-02-28 07:38:13 +08:00
Jinhao
29cee29f5f refactor folderbox and filebox 2019-02-26 04:24:40 +08:00
beru
b286ced6ba fix compile error 2019-02-24 10:29:34 +09:00
beru
46ad9fd9f3 Fix ctrl + end key handling, pos.y member should be calculated with _m_coordinate_to_caret method. 2019-02-24 09:53:36 +09:00
Jinhao
bf27549beb fix nana filesystem 2019-02-23 00:52:21 +08:00
Jinhao
240fb82ab3 remove deprecated code 2019-02-20 23:04:03 +08:00
Jinhao
e89ee5d18b some improvements
improved resizing performance
removed frame widget
refactoring
2019-02-16 00:55:02 +08:00
Jinhao
bbc39906c0 remove deprecated code and debug code 2019-02-15 06:27:17 +08:00
Jinhao
9f1d015355 Merge branch 'develop' into develop-1.7 2019-02-10 07:15:32 +08:00
besh81
56065bb2b8 fixed listbox scheme.header_padding_top use 2019-02-06 11:35:33 +01:00
Jinhao
85c2bdbd75 small changes 2019-02-02 00:31:56 +08:00
Jinhao
7f12b76e08 Merge branch 'hotfix-1.6.2' into develop-1.7 2019-02-02 00:26:52 +08:00
Jinhao
fb8ade6557 some modifications to #357 and #383 2019-01-31 07:08:45 +08:00