@@ -1,19 +1,19 @@ | |||||
/* sxiv: commands.c | /* sxiv: commands.c | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#define _POSIX_C_SOURCE 200112L /* for setenv(3) */ | #define _POSIX_C_SOURCE 200112L /* for setenv(3) */ | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: commands.h | /* sxiv: commands.h | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#ifndef COMMANDS_H | #ifndef COMMANDS_H | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: image.c | /* sxiv: image.c | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#include <unistd.h> | #include <unistd.h> | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: image.h | /* sxiv: image.h | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#ifndef IMAGE_H | #ifndef IMAGE_H | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: main.c | /* sxiv: main.c | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: options.c | /* sxiv: options.c | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#define _POSIX_C_SOURCE 2 /* for getopt(3) */ | #define _POSIX_C_SOURCE 2 /* for getopt(3) */ | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: options.h | /* sxiv: options.h | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#ifndef OPTIONS_H | #ifndef OPTIONS_H | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: thumbs.c | /* sxiv: thumbs.c | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: thumbs.h | /* sxiv: thumbs.h | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#ifndef THUMBS_H | #ifndef THUMBS_H | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: util.c | /* sxiv: util.c | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: util.h | /* sxiv: util.h | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#ifndef UTIL_H | #ifndef UTIL_H | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: window.c | /* sxiv: window.c | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#include <string.h> | #include <string.h> | ||||
@@ -1,19 +1,19 @@ | |||||
/* sxiv: window.h | /* sxiv: window.h | ||||
* Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de> | ||||
* | * | ||||
* This program is free software; you can redistribute it and/or | |||||
* modify it under the terms of the GNU General Public License | |||||
* as published by the Free Software Foundation; either version 2 | |||||
* of the License, or (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify it | |||||
* under the terms of the GNU General Public License as published by the | |||||
* Free Software Foundation; either version 2 of the License, or (at your | |||||
* option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, but | |||||
* WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS 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 this program; if not, write to the Free Software | |||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA. | |||||
* You should have received a copy of the GNU General Public License along | |||||
* with this program; if not, write to the Free Software Foundation, Inc., | |||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||||
*/ | */ | ||||
#ifndef WINDOW_H | #ifndef WINDOW_H | ||||