Commit Graph

23 Commits

Author SHA1 Message Date
Johannes Schickel
03959c18dc COMMON: Slight formatting fixes in stack.h. 2012-02-22 20:08:40 +01:00
Johannes Schickel
7d8da24082 COMMON: Add a size_type to Stack and FixedStack. 2012-02-22 20:07:40 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Max Horn
9d970009a6 COMMON: Simplified Common::Stack methods using the recent Common::Array improvements
svn-id: r40267
2009-05-03 09:19:46 +00:00
Max Horn
7caad280d1 COMMON: Removed copy constructors / assignment operators in cases where they are identical to the automatically generated ones. Also removed a pointless 'explicit'
svn-id: r40049
2009-04-21 17:02:09 +00:00
Max Horn
53cd1361c5 Made Common::Stack return refs, thus ensuring that it matches exactly the behavior of FixedStack; added unit tests
svn-id: r35974
2009-01-21 02:23:09 +00:00
Stephen Kennedy
c1e8e340ff * Saving of keymaps fully implemented
* Added Keymapper::cleanupGameKeymaps() with code to remove game keymaps from active stack

svn-id: r33853
2008-08-14 01:42:02 +00:00
Johannes Schickel
db04dd427d Formatting.
svn-id: r31852
2008-05-03 23:02:05 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
728d01cb17 Removing some unnecessary #includes
svn-id: r26044
2007-03-09 23:46:45 +00:00
Max Horn
e0a7c6d7a7 Made it possible to init a Stack<T> with an Array<T>; removed hack in Stack<T>::top
svn-id: r25696
2007-02-18 18:08:38 +00:00
Max Horn
f54b935500 Tweaked the FixedStack class a bit
svn-id: r24926
2006-12-25 23:13:13 +00:00
Max Horn
9f93e5bb81 Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
2006-03-28 09:42:54 +00:00
Max Horn
36934b611d Change CVS keywords to SVN keywords
svn-id: r20510
2006-02-11 09:53:53 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Eugene Sandulenko
cdb88416a8 Fix bug in FixedStack.pop(). Returned wrong value.
svn-id: r14567
2004-08-12 21:49:48 +00:00
Eugene Sandulenko
e31aa60730 Fix compilation of remove_at() in array.h. It was never tested before.
Make stacks' pop() return top value, not just move stack pointer.

svn-id: r14565
2004-08-12 21:33:59 +00:00
Max Horn
5d0f0ea0c6 Added generic variable size stack class - COMPLETELY UNTESTED. Really should add some unit tests for this...
svn-id: r13776
2004-05-05 01:19:42 +00:00
Max Horn
e8adb5e628 very simpled and limited stack class (fixed size even)
svn-id: r13429
2004-03-29 22:28:57 +00:00