aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MacroCommand.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-07-22Remove the assignment operator from a regular pointer to a RefCountPavel Labath1-1/+1
it is too easy too shoot yourself in the foot with it, other smart pointers also don't allow such assignments. If you do want to assign to a RefCount pointer, use reset(). ps: assignment between two RefCounts remains possible, of course.
2011-05-10Make RefCount<> more sensiblePavel Labath1-1/+1
the previous version of operator*() made no sense. E.g., it violated the invariant (*ptr).foo <=> ptr->foo. The dereferencing operator now returns a reference to the pointed-to object, rather than a pointer to it. I also added a bool conversion operator, which can be used in testing the NULL-ness of the pointer. Anyone wondering if that could be done in a simpler way is encouraged to read <http://www.artima.com/cppsource/safebool.html>. And, finally, I removed the mutable flag from the m_data member, since it does not need it.
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz1-1/+1
2009-05-26Error on incomplete MacroCmd key commandJim Ramsay1-7/+9
2008-04-21some fixes for gcc 3.4Thomas Orgis1-1/+1
2008-01-11make FbTk::Command a template class, split parsing information out of ↵Mark Tiefenbruck1-10/+10
ObjectRegistry
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-30removed some unneeded headersMathias Gumz1-1/+0
2007-12-20convert macro command parsing to use new StringUtil functionMark Tiefenbruck1-15/+11
2007-12-16changed CommandRegistry to a template class, renamed to ObjectRegistry<Type>Mark Tiefenbruck1-4/+4
2007-12-13added FbTk::CommandRegistry, decentralized command parsing, and made them ↵markt1-0/+48
auto-register
2006-06-10added new command: ToggleCmd, works like a macro but executes the commands ↵fluxgen1-0/+18
one at the time. Thanks Mark Tiefenbruck
2006-04-02size_t fixes, thanks Semushin Slava aka php-coderfluxgen1-1/+1
2006-02-16updated copyright infomathias1-1/+1
2005-01-24copyright datemathias1-1/+1
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2003-09-29added size accessorfluxgen1-1/+5
2003-01-11executes a list of commandsfluxgen1-0/+39