summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-05-17Fixed unicode path handling.Remko Tronçon
- Use boost::filesystem::path consistently for referring to files. - Use boost::filesystem streams for I/O, such that paths are always handled correctly. - Use stringToPath and pathToString for conversion between strings and boost::filesystem::path, to ensure we have consistent unicode handling across platforms and environments. The default constructor and string conversion uses platform-dependent encoding, depending on the global locale set in the application, which causes problems. So, unless you are in platform dependent code, the default constructor and string() function should not be used. When constructing paths from other paths (e.g. using operator/), also use stringToPath (instead of string arguments) if the path can contain unicode characters. Change-Id: If286bd9e71c8414afc0b24ba67e26ab7608ef6ea
2012-12-23Replace functors and for loops by boost::lambdas.Remko Tronçon
Change-Id: I6d2364dc85464f238d95978793f35953a2947799
2012-12-23Fix loading of status messagesKevin Smith
Change-Id: I03af596b46a75d5fae7c222369ca12795017b876
2012-12-23Don't include the trailing line ending in status messagesKevin Smith
Change-Id: Ie986c4ba946b55962dc6cec99a1c9a6eb29b6d71
2012-12-23Avoid any duplicates in the status menuKevin Smith
Change-Id: I43ced9659bf16bce637f5f16f0987b2289d372a1
2012-12-23Don't store duplicate statusKevin Smith
Change-Id: I28731080f2e0b0223faa5da8489993be0fd69f6f
2012-12-23Save recent status messages and allow easy setting.Kevin Smith
Change-Id: I5baaa2cf28cbc344bf442c4a74e0c9ff3ba31ea1