Changeset 4366 for neercs


Ignore:
Timestamp:
Feb 16, 2010, 12:02:28 AM (10 years ago)
Author:
Sam Hocevar
Message:

Clean up source code, copyright information, author names, SVN keywords...

Location:
neercs/trunk
Files:
35 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/README

    r4101 r4366  
    1 $Id$
    21
    32Building neercs
  • neercs/trunk/bootstrap

    r3915 r4366  
    11#! /bin/sh
    2 # $Id: bootstrap 3643 2009-08-25 14:23:08Z sam $
    32
    43# bootstrap: generic bootstrap/autogen.sh script for autotools projects
    54#
    6 # Copyright (c) 2002-2009 Sam Hocevar <sam@hocevar.net>
     5# Copyright (c) 2002-2010 Sam Hocevar <sam@hocevar.net>
    76#
    87#    This program is free software. It comes without any warranty, to
     
    1312#
    1413# The latest version of this script can be found at the following place:
    15 #   http://sam.zoy.org/autotools/
     14#    http://caca.zoy.org/wiki/build
    1615
    1716# Die if an error occurs
  • neercs/trunk/configure.ac

    r4337 r4366  
    1 # $Id: configure.ac 98 2006-09-22 16:27:37Z sam $
    21
    32AC_INIT(neercs, 0.0)
  • neercs/trunk/doc/Makefile.am

    r4362 r4366  
    1 # $Id: Makefile.am 1986 2008-06-20 19:49:23Z jylam $
    21
    32EXTRA_DIST = doxygen.cfg.in doxygen.css footer.html header.html \
  • neercs/trunk/doc/footer.html

    r4218 r4366  
    1 <!-- $Id$ -->
    21  </body>
    32</html>
  • neercs/trunk/doc/header.html

    r4218 r4366  
    77  </head>
    88  <body>
    9 <!-- $Id$ -->
  • neercs/trunk/doc/neercs.1

    r4024 r4366  
    1919\*Q/etc/neercs.conf\*U and \*Q$HOME/.neercsrc\*U.
    2020.TP 5
    21 .BI "\-P " pid 
     21.BI "\-P " pid
    2222Grab a running process.
    2323.TP 5
  • neercs/trunk/doc/neercs.dox

    r4218 r4366  
    1 /* $Id$ */
    21
    32/** \mainpage neercs Documentation
  • neercs/trunk/src/ansi.c

    r4110 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
    5  *                2008 Pascal Terjan <pterjan@linuxfr.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
     5 *                2008-2010 Pascal Terjan <pterjan@linuxfr.org>
    66 *                All Rights Reserved
    7  *
    8  *  $Id: ansi.c 4071 2009-11-30 10:03:47Z jylam $
    97 *
    108 *  This program is free software. It comes without any warranty, to
     
    331329        }
    332330
    333         /* GnDMx Gn-Designators, 9x^n chars; need one more char to distinguish 
     331        /* GnDMx Gn-Designators, 9x^n chars; need one more char to distinguish
    334332           these */
    335333        else if (buffer[i] == '\033' && buffer[i + 1] == '$'
     
    479477            /* vttest use to interleave control characters (\014 CR or \010
    480478               BS) into CSI sequences, either directly after ESC[ or after
    481                param. Can't find anything related to this in any documentation 
     479               param. Can't find anything related to this in any documentation
    482480               nor XTerm sources, thought. */
    483481
     
    744742                }
    745743            case 'c':          /* DA -- Device Attributes */
    746                 /* 
     744                /*
    747745                   0 Base VT100, no options 1 Processor options (STP) 2
    748746                   Advanced video option (AVO) 3 AVO and STP 4 Graphics
     
    10481046                sc->bold = 1;
    10491047                break;
    1050             case 2:            /* faint, decreased intensity or second colour 
     1048            case 2:            /* faint, decreased intensity or second colour
    10511049                                 */
    10521050                sc->faint = 1;
  • neercs/trunk/src/attach.c

    r4071 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
    5  *                2008 Pascal Terjan <pterjan@linuxfr.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
     5 *                2008-2010 Pascal Terjan <pterjan@linuxfr.org>
    66 *                All Rights Reserved
    7  *
    8  *  $Id$
    97 *
    108 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/client.c

    r4337 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
    5  *                2008 Pascal Terjan <pterjan@linuxfr.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
     5 *                2008-2010 Pascal Terjan <pterjan@linuxfr.org>
    66 *                All Rights Reserved
    7  *
    8  *  $Id: client.c 3939 2009-11-18 14:40:39Z jylam $
    97 *
    108 *  This program is free software. It comes without any warranty, to
     
    133131            screen_list->old_x = caca_get_mouse_x(screen_list->dp);
    134132            screen_list->old_y = caca_get_mouse_y(screen_list->dp);
    135            
     133
    136134            char buf[52];
    137135            int bytes;
     
    219217                y = atoi(buf + 19);
    220218
    221                 /* 0 means we have valid data but incomplete, so read the rest 
     219                /* 0 means we have valid data but incomplete, so read the rest
    222220                 */
    223221                while (l == 0)
  • neercs/trunk/src/configuration.c

    r4063 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id$
    86 *
    97 *  This program is free software. It comes without any warranty, to
     
    138136struct config_line *get_config_option(void)
    139137{
    140         return config_option;   
     138    return config_option;
    141139}
    142140
     
    326324{
    327325    int i = 0;
    328    
     326
    329327    debug("Looking for '%s'\n", name);
    330    
     328
    331329    while (strncmp(config_option[i].name, "last", strlen("last")))
    332330    {
     
    370368
    371369
    372 /* 
    373  * Options setters 
     370/*
     371 * Options setters
    374372 */
    375373
  • neercs/trunk/src/effects.c

    r4080 r4366  
    11/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id$
    86 *
    97 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/grab.c

    r4001 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2008 Pascal Terjan
     3 *  Copyright (c) 2008-2010 Pascal Terjan <pterjan@linuxfr.org>
    44 *                All Rights Reserved
    5  *
    6  *  $Id$
    75 *
    86 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/help.c

    r4080 r4366  
    11/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id: help.c 3996 2009-11-22 12:41:45Z jylam $
    86 *
    97 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/input.c

    r4071 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
    5  *                2008 Pascal Terjan <pterjan@linuxfr.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
     5 *                2008-2010 Pascal Terjan <pterjan@linuxfr.org>
    66 *                All Rights Reserved
    7  *
    8  *  $Id$
    97 *
    108 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/lock.c

    r4075 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id$
    86 *
    97 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/main.c

    r4075 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
    5  *                2008 Pascal Terjan <pterjan@linuxfr.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
     5 *                2008-2010 Pascal Terjan <pterjan@linuxfr.org>
    66 *                All Rights Reserved
    7  *
    8  *  $Id$
    97 *
    108 *  This program is free software. It comes without any warranty, to
     
    158156        if (start_server(screen_list))
    159157            goto end;
    160         if (start_client(screen_list)) 
     158        if (start_client(screen_list))
    161159            goto end;
    162160    }
  • neercs/trunk/src/mygetopt.c

    r3969 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *
    8  *  $Id$
    96 *
    107 *  This program is free software. It comes without any warranty, to
     
    1512 */
    1613
    17 /* 
     14/*
    1815 *  mygetopt.c: getopt_long reimplementation
    1916 */
  • neercs/trunk/src/mygetopt.h

    r3551 r4366  
    11/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id$
    86 *
    97 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/mytrace.c

    r3969 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2008 Pascal Terjan
    4  *            (c) 2008 Sam Hocevar <sam@zoy.org>
     3 *  Copyright (c) 2008-2010 Pascal Terjan <pterjan@linuxfr.org>
     4 *                2008-2010 Sam Hocevar <sam@hocevar.net>
    55 *                All Rights Reserved
    6  *
    7  *  $Id$
    86 *
    97 *  This program is free software. It comes without any warranty, to
     
    494492}
    495493
    496 /* 
     494/*
    497495 * XXX: the following functions are local
    498496 */
  • neercs/trunk/src/mytrace.h

    r3891 r4366  
    11/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2008 Sam Hocevar <sam@zoy.org>
     3 *  Copyright (c) 2008-2010 Sam Hocevar <sam@hocevar.net>
    44 *                All Rights Reserved
    5  *
    6  *  $Id$
    75 *
    86 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/neercs.h

    r4335 r4366  
    11/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id$
    86 *
    97 *  This program is free software. It comes without any warranty, to
     
    143141    int orig_x, orig_y;          /* Used by recurrents */
    144142    int orig_w, orig_h;          /* Used by recurrents */
    145    
     143
    146144    int report_mouse;            /* ANSI */
    147145};
     
    153151};
    154152
    155 struct cube_props 
     153struct cube_props
    156154{
    157155    int in_switch;
     
    163161{
    164162    /* Input box */
    165         struct input_box *box;
     163    struct input_box *box;
    166164};
    167165
     
    171169    long long unsigned int timeout;     /* Screensaver timeout in us */
    172170    int in_screensaver;
    173     void *data; 
     171    void *data;
    174172};
    175173
     
    181179    char *socket_path[2];        /* Sockets to write to the server / to the client */
    182180    char *socket_dir;            /* Where to create the socket */
    183     char *session_name;          /* Name of the session */ 
     181    char *session_name;          /* Name of the session */
    184182};
    185183
     
    191189    long long unsigned int  autolock_timeout;
    192190    char lockpass[1024];
    193     char lockmsg[1024];   
     191    char lockmsg[1024];
    194192};
    195193
     
    202200    int python_command;          /* Python command */
    203201    int window_list;             /* Window list */
    204     int cur_in_list;             /* Window list */ 
     202    int cur_in_list;             /* Window list */
    205203};
    206204
     
    212210    char **to_start;
    213211    int  nb_to_grab;
    214     int  attach, forceattach;   
     212    int  attach, forceattach;
    215213};
    216214
     
    228226    int command;
    229227    int eyecandy;                /* Eye Candy */
    230    
     228
    231229    long long unsigned int last_key_time;
    232230    long long unsigned int last_refresh_time;
    233    
     231
    234232    struct comm comm;            /* Client/Server communications */
    235233    struct lock lock;            /* Lock */
     
    237235    struct interpreter_props interpreter_props; /* Python interpreter */
    238236    struct screensaver screensaver;/* Screensaver stuff */
    239    
     237
    240238    int pty, prevpty;            /* Current and previous window */
    241239    int count;                   /* Window count */
    242     int wm_type;                 /* Window manager type */   
     240    int wm_type;                 /* Window manager type */
    243241    int border_size;             /* Borders */
    244242    struct cube_props cube;      /* Cube */
    245243    long long unsigned int last_switch; /* Cube */
    246    
     244
    247245    struct screen **screen;      /* Windows */
    248246    struct option *config;       /* Option parsing and configuration */
    249247    struct sys sys;              /* System stuff */
    250    
     248
    251249    struct recurrent_list *recurrent_list;  /* Recurrents functions */
    252    
     250
    253251    char *title;                 /* Window title */
    254252    int width, height;           /* caca window size */
     
    264262    char *key;
    265263    char *value;
    266    
     264
    267265    struct option *next;
    268266};
  • neercs/trunk/src/python/interpreter.c

    r4336 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2009 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2009-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    44 *                All Rights Reserved
    5  *
    6  *  $Id: interpreter.c 3996 2009-11-22 12:41:45Z jylam $
    75 *
    86 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/python/py_module.c

    r4165 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2009 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2009-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    44 *                All Rights Reserved
    5  *
    6  *  $Id: py_module.c 3996 2009-11-22 12:41:45Z jylam $
    75 *
    86 *  This program is free software. It comes without any warranty, to
     
    6664    if(!b)
    6765        return;
    68     if(b[0]=='\'') 
     66    if(b[0]=='\'')
    6967    {
    70         memmove(b, &b[1], strlen(b)-1);   
     68        memmove(b, &b[1], strlen(b)-1);
    7169        b[strlen(b)-2] = 0;
    7270    }
     
    8785        if (res)
    8886        {
    89             /* Get object representation 
     87            /* Get object representation
    9088             * FIXME : find a way to check object's type */
    9189            PyObject *str = PyObject_Repr(res);
    92            
     90
    9391            /* Make sure it's a string */
    9492            char *err =
  • neercs/trunk/src/python/py_module.h

    r4046 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2009 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2009-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    44 *                All Rights Reserved
    5  *
    6  *  $Id: py_module.c 3996 2009-11-22 12:41:45Z jylam $
    75 *
    86 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/recurrent.c

    r4205 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id$
    86 *
    97 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/screen_list.c

    r4071 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id: screens.c 3970 2009-11-19 17:01:00Z jylam $
    86 *
    97 *  This program is free software. It comes without any warranty, to
     
    3230struct screen_list *create_screen_list(void)
    3331{
    34    
     32
    3533    struct screen_list *screen_list = NULL;
    3634    struct passwd *user_info;
    3735    char *user_dir = NULL;
    38    
     36
    3937    /* Create screen list */
    4038    screen_list = (struct screen_list *)malloc(sizeof(struct screen_list));
     
    5452        return NULL;
    5553    }
    56    
     54
    5755    screen_list->count = 0;
    5856    screen_list->modals.mini = 1;
     
    9896    screen_list->cube.in_switch = 0;
    9997    screen_list->cube.duration = 1000000;
    100    
     98
    10199    screen_list->interpreter_props.box = NULL;
    102    
     100
    103101    screen_list->recurrent_list = NULL;
    104102    screen_list->cv = NULL;
    105103    screen_list->dp = NULL;
    106    
     104
    107105    memset(screen_list->lock.lockmsg, 0, 1024);
    108106    memset(screen_list->lock.lockpass, 0, 1024);
    109    
     107
    110108    /* Build local config file path */
    111109    user_dir = getenv("HOME");
     
    124122        sprintf(screen_list->sys.user_path, "%s/%s", user_dir, ".neercsrc");
    125123    }
    126    
    127    
     124
     125
    128126    screen_list->recurrent_list =
    129127    (struct recurrent_list *)malloc(sizeof(struct recurrent_list));
     
    139137    }
    140138    screen_list->recurrent_list->count = 0;
    141    
     139
    142140    return screen_list;
    143141}
     
    147145    int i;
    148146    struct option *option;
    149    
     147
    150148    if (screen_list->dp)
    151149        caca_free_display(screen_list->dp);
    152    
     150
    153151    if (screen_list->cv)
    154152        caca_free_canvas(screen_list->cv);
    155    
     153
    156154    for (i = 0; i < screen_list->count; i++)
    157155    {
    158156        destroy_screen(screen_list->screen[i]);
    159157    }
    160    
     158
    161159    if (screen_list->comm.socket_path[SOCK_SERVER])
    162160    {
     
    166164        free(screen_list->comm.socket_path[SOCK_SERVER]);
    167165    }
    168    
     166
    169167    if (screen_list->comm.socket_path[SOCK_CLIENT])
    170168    {
     
    175173        free(screen_list->comm.socket_path[SOCK_CLIENT]);
    176174    }
    177    
     175
    178176    if (screen_list->comm.socket[SOCK_CLIENT])
    179177        close(screen_list->comm.socket[SOCK_CLIENT]);
    180    
     178
    181179    if (screen_list->comm.socket[SOCK_SERVER])
    182180        close(screen_list->comm.socket[SOCK_SERVER]);
    183    
     181
    184182    if (screen_list->screen)
    185183        free(screen_list->screen);
    186    
     184
    187185    option = screen_list->config;
    188    
     186
    189187    while (option)
    190188    {
     
    197195        free(kromeugnon);
    198196    }
    199    
     197
    200198    for (i = 0; i < screen_list->recurrent_list->count; i++)
    201199    {
     
    203201        i = 0;
    204202    }
    205    
     203
    206204    if (screen_list->recurrent_list->recurrent)
    207205        free(screen_list->recurrent_list->recurrent);
    208206    if (screen_list->recurrent_list)
    209207        free(screen_list->recurrent_list);
    210    
     208
    211209    if (screen_list->comm.session_name)
    212210        free(screen_list->comm.session_name);
    213    
     211
    214212    if (screen_list->title)
    215213        free(screen_list->title);
    216    
     214
    217215    free(screen_list);
    218216}
  • neercs/trunk/src/screens.c

    r4110 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id$
    86 *
    97 *  This program is free software. It comes without any warranty, to
     
    234232    if(screen_list->modals.python_command)
    235233    {
    236         draw_python_command(screen_list);
     234         draw_python_command(screen_list);
    237235    }
    238236#endif
  • neercs/trunk/src/screensaver.c

    r4337 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id$
    86 *
    97 *  This program is free software. It comes without any warranty, to
     
    5856 "  <|_= .-'  |\n"
    5957 "   | --|   \\'.-_ \n"
    60  "   |   | \\  \" _.\n" 
     58 "   |   | \\  \" _.\n"
    6159 "    `-_|.-\\_.-\n"},
    6260{
    6361 "      __._ \n"
    6462 "   .-'== _',\n"
    65  "  \\|_= .-'  |\n" 
    66  "   | --|  __'-.\n" 
    67  "   |   | ___.-\n" 
     63 "  \\|_= .-'  |\n"
     64 "   | --|  __'-.\n"
     65 "   |   | ___.-\n"
    6866 "    `-_|.-\n"},
    6967{
    70  "   _- __._\n" 
    71  "  /.-'== _',_.-.\n" 
    72  "  \\|_= .-'/  _.'\n" 
     68 "   _- __._\n"
     69 "  /.-'== _',_.-.\n"
     70 "  \\|_= .-'/  _.'\n"
    7371 "   | --| / .-\n"
    74  "   |   |  _.|\n" 
     72 "   |   |  _.|\n"
    7573 "    `-_|.-\n"}
    7674};
    7775
    7876char toaster_mask[3][99] = { {
    79                              
     77
    8078 "      __._ \n"
    8179 "   .-'== _',\n"
    8280 "  <|_=X.-'XX|\n"
    8381 "   |X--|XXX\\'.-_ \n"
    84  "   |XXX|X\\XX\"X_.\n" 
    85  "    `-_|.-\\_.-\n"}, 
     82 "   |XXX|X\\XX\"X_.\n"
     83 "    `-_|.-\\_.-\n"},
    8684    {
    8785
     
    9391 "    `-_|.-\n"},
    9492{
    95  "   _- __._\n" 
    96  "  /.-'== _',_.-.\n" 
    97  "  \\|_= .-'/XX_.'\n" 
     93 "   _- __._\n"
     94 "  /.-'== _',_.-.\n"
     95 "  \\|_= .-'/XX_.'\n"
    9896 "   |X--|X/X.-\n"
    99  "   |XXX|XX_.|\n" 
     97 "   |XXX|XX_.|\n"
    10098 "    `-_|.-\n"}
    10199};
  • neercs/trunk/src/server.c

    r4337 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
    5  *                2008 Pascal Terjan <pterjan@linuxfr.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
     5 *                2008-2010 Pascal Terjan <pterjan@linuxfr.org>
    66 *                All Rights Reserved
    7  *
    8  *  $Id$
    97 *
    108 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/term.c

    r4074 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
    44 *                All Rights Reserved
    5  *
    6  *  $Id$
    75 *
    86 *  This program is free software. It comes without any warranty, to
  • neercs/trunk/src/widgets.c

    r4071 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2009 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2009-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    44 *                All Rights Reserved
    5  *
    6  *  $Id: widget.c 3939 2009-11-18 14:40:39Z jylam $
    75 *
    86 *  This program is free software. It comes without any warranty, to
     
    6967        caca_printf(box->cv, x + 2, y + 4, box->output_res);
    7068    }
    71    
     69
    7270    return 0;
    7371}
  • neercs/trunk/src/widgets.h

    r4048 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2009 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2009-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    44 *                All Rights Reserved
    5  *
    6  *  $Id: widget.h 3939 2009-11-18 14:40:39Z jylam $
    75 *
    86 *  This program is free software. It comes without any warranty, to
     
    2321
    2422
    25 enum input_box_code 
     23enum input_box_code
    2624{
    2725    INPUT_BOX_ESC,
    28     INPUT_BOX_RET,   
    29         INPUT_BOX_NOTHING,
     26    INPUT_BOX_RET,
     27    INPUT_BOX_NOTHING,
    3028};
    3129
    32 struct input_box 
     30struct input_box
    3331{
    3432    caca_canvas_t *cv;
     
    4644char* widget_ibox_get_text(struct input_box *box);
    4745void widget_ibox_destroy(struct input_box *box);
    48 void widget_ibox_set_error(struct input_box *box, char *err); 
    49 void widget_ibox_set_msg(struct input_box *box, char *msg); 
     46void widget_ibox_set_error(struct input_box *box, char *err);
     47void widget_ibox_set_msg(struct input_box *box, char *msg);
  • neercs/trunk/src/wm.c

    r4337 r4366  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    3  *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org>
     3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
     4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
    6  *
    7  *  $Id$
    86 *
    97 *  This program is free software. It comes without any warranty, to
     
    3836    s->h = h;
    3937
    40     /* 
     38    /*
    4139     * caca_set_canvas_boundaries() is bugged as hell, so let's resize it by
    4240     * hands
Note: See TracChangeset for help on using the changeset viewer.