6 Commits

Author SHA1 Message Date
Simon Edwards
74e5798509 Lots of import fixes. Eliminated the import hacks such as those used inside UM/Settings/__init__.py.
CURA-2917
2016-12-12 16:05:35 +01:00
Ghostkeeper
d33f6d2e44
Make regex match exactly on entire string
The carot indicates start of string, the dollar the end of string. So it must match on the entire string, not a piece of it.

Contributes to issue CURA-2692.
2016-10-28 13:33:36 +02:00
Ghostkeeper
4ef2caddf5
Remove debug prints
Oops.

Contributes to issue CURA-2692.
2016-10-28 13:33:36 +02:00
Ghostkeeper
36fa4afc6c
Remove misguided attempt at representing UTF-8 encode length
It was commented out anyway. I also updated the documentation there.

Contributes to issue CURA-2692.
2016-10-28 09:55:19 +02:00
Ghostkeeper
717248bd78
Limit number of special characters
There is also a more advanced attempt that allows more, but I've commented it out because it doesn't quite work yet. Special characters now always count for 12.

Contributes to issue CURA-2652.
2016-10-27 21:55:58 +02:00
Ghostkeeper
37d1c0be36
Add validator for machine names
Currently this validator can't be used in QML due to a PyQt bug. I plan to call the validator manually upon receiving a signal that the text changed in a text box.

Contributes to issue CURA-2692.
2016-10-27 21:55:58 +02:00