- first round of unit tests
This commit is contained in:
Federico Hernandez 2011-10-08 12:17:42 +02:00
parent 571195b7b0
commit bbe218a6f1
25 changed files with 438 additions and 414 deletions

View file

@ -69,25 +69,25 @@ unlike ($output, qr/\bwithout\b/, 'pri:H without');
# Test the version command abbreviations. # Test the version command abbreviations.
$output = qx{../src/task rc:abbrev.rc version}; $output = qx{../src/task rc:abbrev.rc version};
like ($output, qr/GNU\s+General\s+Public\s+License/, 'version'); like ($output, qr/MIT\s+license/, 'version');
$output = qx{../src/task rc:abbrev.rc versio}; $output = qx{../src/task rc:abbrev.rc versio};
like ($output, qr/GNU\s+General\s+Public\s+License/, 'versio'); like ($output, qr/MIT\s+license/, 'version');
$output = qx{../src/task rc:abbrev.rc versi}; $output = qx{../src/task rc:abbrev.rc versi};
like ($output, qr/GNU\s+General\s+Public\s+License/, 'versi'); like ($output, qr/MIT\s+license/, 'version');
$output = qx{../src/task rc:abbrev.rc vers}; $output = qx{../src/task rc:abbrev.rc vers};
like ($output, qr/GNU\s+General\s+Public\s+License/, 'vers'); like ($output, qr/MIT\s+license/, 'version');
$output = qx{../src/task rc:abbrev.rc ver}; $output = qx{../src/task rc:abbrev.rc ver};
like ($output, qr/GNU\s+General\s+Public\s+License/, 'ver'); like ($output, qr/MIT\s+license/, 'version');
$output = qx{../src/task rc:abbrev.rc ve}; $output = qx{../src/task rc:abbrev.rc ve};
like ($output, qr/GNU\s+General\s+Public\s+License/, 've'); like ($output, qr/MIT\s+license/, 'version');
$output = qx{../src/task rc:abbrev.rc v}; $output = qx{../src/task rc:abbrev.rc v};
like ($output, qr/GNU\s+General\s+Public\s+License/, 'v'); like ($output, qr/MIT\s+license/, 'version');
# Cleanup. # Cleanup.
unlink 'pending.data'; unlink 'pending.data';

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <test.h> #include <test.h>
#include <util.h> #include <util.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <Context.h> #include <Context.h>
#include <Color.h> #include <Color.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <Context.h> #include <Context.h>
#include <test.h> #include <test.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <Context.h> #include <Context.h>
#include <Date.h> #include <Date.h>

View file

@ -1,30 +1,31 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <algorithm> #include <algorithm>
#include <Context.h> #include <Context.h>
#include <Directory.h> #include <Directory.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <unistd.h> #include <unistd.h>
#include <cmake.h> #include <cmake.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <Context.h> #include <Context.h>
#include <Duration.h> #include <Duration.h>

View file

@ -1,30 +1,31 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <Context.h> #include <Context.h>
#include <File.h> #include <File.h>
#include <test.h> #include <test.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <unistd.h> #include <unistd.h>

View file

@ -1,30 +1,31 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <JSON.h> #include <JSON.h>
#include <test.h> #include <test.h>

View file

@ -1,30 +1,31 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <string.h> #include <string.h>
#include <File.h> #include <File.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <Context.h> #include <Context.h>
#include <main.h> #include <main.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <Context.h> #include <Context.h>
#include <Date.h> #include <Date.h>
#include <Nibbler.h> #include <Nibbler.h>

View file

@ -1,30 +1,31 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <Context.h> #include <Context.h>
#include <Path.h> #include <Path.h>
#include <test.h> #include <test.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2010 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <Context.h> #include <Context.h>
#include <RX.h> #include <RX.h>
#include <test.h> #include <test.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <main.h> #include <main.h>
#include <test.h> #include <test.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <Context.h> #include <Context.h>
#include <Task.h> #include <Task.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <Context.h> #include <Context.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <unistd.h> #include <unistd.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <string.h> #include <string.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <main.h> #include <main.h>
#include <text.h> #include <text.h>

View file

@ -2,28 +2,29 @@
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2010 - 2011, Johannes Schlatow. // Copyright 2010 - 2011, Johannes Schlatow.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <Context.h> #include <Context.h>

View file

@ -1,29 +1,30 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <main.h> #include <main.h>
#include <util.h> #include <util.h>

View file

@ -1,30 +1,31 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager. // taskwarrior - a command line task list manager.
// //
// Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // Copyright 2006-2011, Paul Beckingham, Federico Hernandez.
// All rights reserved.
// //
// This program is free software; you can redistribute it and/or modify it under // Permission is hereby granted, free of charge, to any person obtaining a copy
// the terms of the GNU General Public License as published by the Free Software // of this software and associated documentation files (the "Software"), to deal
// Foundation; either version 2 of the License, or (at your option) any later // in the Software without restriction, including without limitation the rights
// version. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// This program is distributed in the hope that it will be useful, but WITHOUT // The above copyright notice and this permission notice shall be included
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // in all copies or substantial portions of the Software.
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
// //
// You should have received a copy of the GNU General Public License along with // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// this program; if not, write to the // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// Free Software Foundation, Inc., // http://www.opensource.org/licenses/mit-license.php
// 51 Franklin Street, Fifth Floor,
// Boston, MA
// 02110-1301
// USA
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <iostream> #include <iostream>
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>