103 Commits

Author SHA1 Message Date
qPCR4vir
20c40a091a fix warning about order of initialization 2019-05-05 21:46:20 +02:00
qPCR4vir
74b486e267 first "working" version of place::error - compiles and run when Ok
tested with some errors as espected
2019-05-05 11:20:09 +02:00
qPCR4vir
003ffee01a implement error 2019-05-05 11:20:09 +02:00
qPCR4vir
45bb9f4318 \todo introduce a place::implement::field_gather::error ?? 2019-05-05 11:20:09 +02:00
qPCR4vir
5b1d0b4606 tokenizer errors 2019-05-05 11:20:09 +02:00
qPCR4vir
1d2e489c7f full error msg at one place 2019-05-05 11:20:09 +02:00
qPCR4vir
7830f430c0 tokenizer::error 2019-05-05 11:20:09 +02:00
qPCR4vir
064d59de13 rename to valid_field_name 2019-05-05 11:20:09 +02:00
qPCR4vir
6b3c02b558 introduce place::error and badname 2019-05-05 11:20:09 +02:00
qPCR4vir
77dd467f73 Add field name to place error 2019-05-05 11:20:02 +02:00
Jinhao
f274ff4c4c Merge branch 'develop' of https://github.com/beru/nana into beru-develop 2019-04-16 23:39:40 +08:00
beru
a596c7f64e fix typos 2019-04-14 14:49:01 +09: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
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
81d667dbd7 using C++17 emplace return type 2018-08-27 06:51:20 +08:00
Jinhao
04e57771a4 eliminate GCC warings when -Wimplicit-fallthrough is enabled 2018-08-10 23:35:11 +08:00
Jinhao
7a24df521e fix a compiler error 2018-06-07 03:56:18 +08:00
Jinhao
0290e49fbe let the param of place.div be a string(#298) 2018-06-07 03:33:39 +08:00
Jinhao
48f759e007 remove deprecated code 2018-05-29 04:12:53 +08:00
Jinhao
216cb786e7 various fixes
fixed compiler warnings
fixed bad overridings
fixed FreeBSD support
2018-05-22 14:22:58 +08:00
Jinhao
da70334459 Merge branch 'hotfix-1.5.6' into develop 2018-05-17 16:09:59 +08:00
Jinhao
2ce98087bc fix bug that place::modify generates a bad div text 2018-05-17 16:08:22 +08:00
Jinhao
2cf374705f Merge branch 'hotfix-1.5.6' into develop 2018-04-12 15:49:30 +08:00
Jinhao
dbf898cc50 new switchable field 2018-03-13 11:15:29 +08:00
Jinhao
9690c38b83 fix crash that occurs when place::modify a field which isn't leftmost one 2018-03-02 03:39:25 +08:00
qPCR4vir
708152ed78 FEATURE: use width and height instead of weight 2017-10-20 02:11:39 +02:00
Jinhao
2cf0adf777 small modification 2017-08-31 04:41:43 +08:00
Jinhao
93514186d5 fix some typo 2017-06-08 21:45:00 +08:00
Jinhao
d386400d1c fix issue that place may break the visibility of tab panels 2017-05-05 04:47:43 +08:00
Jinhao
0511a300d6 improve place fit when margin is given 2017-04-29 11:24:35 +08:00
Jinhao
94bb4103f8 add new method for place.splitter renderer 2017-04-15 11:08:13 +08:00
Jinhao
431f0af893 fix syntax errors and warnings 2017-03-17 07:29:34 +08:00
Jinhao
f0dc62cc21 new vfit/hfit for place
added fit-content support for button/picture/combox/label
2017-03-15 23:39:39 +08:00
Jinhao
f43d54d7e2 code refine 2017-03-04 07:53:06 +08:00
Jinhao
3e5c4133ce finish basic work of fit-content 2017-02-25 02:49:57 +08:00
Jinhao
2bd1cf715f add fit-content and improve place 2017-02-05 08:37:16 +08:00
Jinhao
78c404bf9b init place field with weight when min/max is specified 2016-12-13 07:25:49 +08:00
Jinhao
abe2f0687f fix some compiler warnings and errors for GCC 2016-11-27 12:39:26 +08:00
Jinhao
8fe39df8b4 fix an issue of place number type(#157)
missing conversion from real to percent
2016-10-06 08:53:17 +08:00
Jinhao
5383d85cc0 add support of div-text update for splitter(#157) 2016-10-05 09:41:44 +08:00
Jinhao
fb27eece33 change some names base on #156 2016-10-03 05:36:13 +08:00
Jinhao
2614c55e30 Merge branch 'develop' of https://github.com/dankan1890/nana into dankan1890-develop 2016-10-03 05:22:40 +08:00
Jinhao
d8ce7ea1ba fix the issue of place find_str(#156) 2016-10-03 05:11:00 +08:00
dankan1890
e5c14570cb fix exact match in find_idstr. (note: removed isalpha, isalnum already performs that check) 2016-10-02 22:17:59 +02:00
dankan1890
818c7459e7 place::modify() now correctly updates the text to place::div_text.
Note: I reverted the previous commit because it had an incorrect formatting.
2016-09-29 14:00:45 +02:00
dankan1890
00e9c0a21f reverted 2016-09-29 13:56:36 +02:00
dankan1890
3c2b36ead8 place::modify() now correctly updates the place::div_text. 2016-09-29 13:54:12 +02:00
Jinhao
830839ae27 add place::div() to return the div text
introduce keywords 'undisplayed' and 'invisible' into div-text
2016-09-28 07:47:53 +08:00