| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2012-12-03 | ClientManager: support naming clients and accessing client's context by name | Maxime Coste | |
| 2012-11-12 | SafeCountable::m_count is mutable so that we can have safe_ptr<const T> | Maxime Coste | |
| 2012-10-02 | do not use our broken safe bool, c++11 explicit bool conversion is better | Maxime Coste | |
| 2012-10-02 | move clamp to utils.hh | Maxime Coste | |
| 2012-08-29 | escape whitespaces in filename or buffername completions | Maxime Coste | |
| 2012-06-30 | add safe_ptr::operator=(safe_ptr&&) and safe_ptr::reset(T*) | Maxime Coste | |
| 2012-06-28 | Add SafeCountable and safe_ptr classes | Maxime Coste | |
| safe_ptr is a smart pointer which manage a safe count in pointed objects. SafeCountable provides the interface needed for safe_ptr and assert the safe count is zero in destructor. This permits to have pointers that guarantees their pointed object is alive. | |||
| 2012-06-25 | remove ugly id_to_str param in idvaluemap and str_to_str | Maxime Coste | |
| 2012-06-12 | Cleanup utils.hh, remove auto_raii in favor of on_scope_end | Maxime Coste | |
| 2012-04-14 | replace std::string references with String | Maxime Coste | |
| 2012-01-25 | add a find(container, value) utility function | Maxime Coste | |
| 2011-12-20 | Utils: add on_scope_end utility | Maxime Coste | |
| on_scope_end permits to register a functor to be called at scope end (either exception thrown or normal scope end). this is usefull for cleanup code that must be run. usage: auto cleaner = on_scope_end([]() { cleanup(); }); | |||
| 2011-12-02 | Window: use an idvaluemap to store highlighters | Maxime Coste | |
| 2011-10-17 | utils: add contains function | Maxime Coste | |
| 2011-09-23 | Utils: Singleton template and migration of the BufferManager | Maxime Coste | |
| Singletons are not autocreating, the application needs to create exactly one instance (I want to avoid implicit initialization order hell) | |||
| 2011-09-17 | LineAndColumn: move to it's own header and add operator[+-]=? | Maxime Coste | |
| LineAndColumn is now a template so that WindowCoords and BufferCoords cannot be added together. | |||
| 2011-09-14 | utils: add auto_raii helper function | Maxime Coste | |
| this helper permits to register a resource and cleanup function to keep exception safety with C like resource. For exemple, to be sure that a FILE* will be closed, you can use: auto file = auto_raii(fopen("filename"), fclose); file will auto cast to FILE* when needed, and will call fclose when going out of scope. | |||
| 2011-09-09 | assert: custom implementation | Maxime Coste | |
| 2011-09-08 | utils: add operator== (const std::unique_ptr<T>&, T*) | Maxime Coste | |
| 2011-09-06 | utils: Add reversed template helper for container iteration | Maxime Coste | |
| this permits to use range-based for loops to iterate on reversed containers. Should work on any container implementing rbegin and rend. | |||
| 2011-09-05 | LineAndColumn: segregate into WindowCoord and BufferCoord | Maxime Coste | |
| Having the same type to specify coordinates in window space or buffer space is error prone, now the compiler will tell if we use one for another. | |||
