source: neercs/trunk/src/main.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @4366   12 years Sam Hocevar Clean up source code, copyright information, author names, SVN keywords…
(edit) @4075   12 years Jean-Yves Lamoureux * Removed double includes of caca.h on most of the files
(edit) @4071   12 years Jean-Yves Lamoureux * Moved system stuff (user_path, shell, grab stuff, etc) to struct sys
(edit) @4060   12 years Jean-Yves Lamoureux * Moved lock-related stuff to struct lock
(edit) @4059   12 years Jean-Yves Lamoureux * Moved socket-related stuff to struct comm
(edit) @3974   13 years Jean-Yves Lamoureux * Moved client initialisation to client.c
(edit) @3973   13 years Jean-Yves Lamoureux * Moved screen list creation / destruction to screen_list.c
(edit) @3969   13 years Jean-Yves Lamoureux * Massive indentation pass, could insert odd things, blame pterjan, he …
(edit) @3961   13 years Jean-Yves Lamoureux * Better testing cases for autolock_timeout
(edit) @3960   13 years Jean-Yves Lamoureux * Removed useless signed/unsigned test
(edit) @3959   13 years Jean-Yves Lamoureux * Added --lock-after (-l) command line option (locks after N seconds), …
(edit) @3942   13 years Pascal Terjan * Drop withespaces
(edit) @3940   13 years Jean-Yves Lamoureux * Move client's mainloop to client.c
(edit) @3939   13 years Jean-Yves Lamoureux * Remove unused variables in screen_list, add configuration line to …
(edit) @3923   13 years Pascal Terjan * Remove unused variable
(edit) @3914   13 years Jean-Yves Lamoureux * Added 'cube' window manager (needs latest svn libcaca for …
(edit) @3896   13 years Pascal Terjan * Add lock_on_detach option
(edit) @3876   13 years Pascal Terjan * Factorize screen_list liberation
(edit) @3874   13 years Pascal Terjan * Add first version of process selector
(edit) @3872   13 years Pascal Terjan * Add very little but significant debug information
(edit) @3541   13 years Pascal Terjan * Export full canvas when we don't have dirty rectangles support
(edit) @3500   13 years Pascal Terjan Send cursor position, now that we no longer export full canvas
(edit) @3498   13 years Pascal Terjan Only send the dirty rectangles to the client
(edit) @3459   13 years Pascal Terjan * Do not lower refresh rate under 5 times per second
(edit) @3457   13 years Pascal Terjan * Adapt refresh rate dynamically and inform the server about it
(edit) @3456   13 years Pascal Terjan * Allow configuring max refresh rate
(edit) @3455   13 years Pascal Terjan * Don't refresh more than 60 times per second
(edit) @3445   13 years Pascal Terjan * Do not crash on unknown long option
(edit) @3444   13 years Pascal Terjan * Remove a memcpy
(edit) @3440   13 years Pascal Terjan * Fix a huge leak I had just introduced
(edit) @3438   13 years Pascal Terjan * Avoid a memcpy and allocating 128K on the stack
(edit) @3431   13 years Pascal Terjan * Handle large screens
(edit) @3324   14 years Pascal Terjan * Move attaching logic to a separate function
(edit) @2995   14 years Sam Hocevar Port neercs to the unified libcaca 0.99.beta15 API.
(edit) @2784   14 years Pascal Terjan * Only send title when it has changed
(edit) @2675   14 years Pascal Terjan * Don't crash when an option with mandatory argument is passed last
(edit) @2673   14 years Pascal Terjan * As to_grab and to_start are now part of screen_list, no need to have …
(edit) @2645   14 years Pascal Terjan * Move the end of options parsing into handle_command_line
(edit) @2642   14 years Jean-Yves Lamoureux * Moved most of the command line parsing to its own function
(edit) @2641   14 years Jean-Yves Lamoureux * Added window list and window selection by name using ctrl-a-"
(edit) @2639   14 years Jean-Yves Lamoureux * We can now choose current window with ctrl-a-N where N is 0-9
(edit) @2625   14 years Pascal Terjan * Filter out events that we don't use * Reduce caca_get_event timeout
(edit) @2624   14 years Pascal Terjan * Move all server creatio ninto server.c
(edit) @2614   14 years Pascal Terjan * Factorize some code in attach.c
(edit) @2613   14 years Pascal Terjan * Handle events even if we get flooded on the socket
(edit) @2596   14 years Pascal Terjan * Suffix the server socket, it's on them that we glob * If the last …
(edit) @2595   14 years Pascal Terjan * But don't leak
(edit) @2594   14 years Pascal Terjan * Wait until the server is started
(edit) @2592   14 years Pascal Terjan * Include config.h in attach.c to have DEBUG
(edit) @2591   14 years Pascal Terjan * Fix a double free and free everything in case of error
(edit) @2589   14 years Pascal Terjan * Add missing part in detach code (a lot of cleanup and fixes needed)
(edit) @2588   14 years Pascal Terjan * Rewrote detach handling, enjoy silent neercs
(edit) @2581   14 years bsittler Ctrl-A a & Ctrl-A ? behaviour
(edit) @2500   14 years Jean-Yves Lamoureux * Added an autolock timeout (autolock_timeout = N in configuration file)
(edit) @2497   14 years Jean-Yves Lamoureux * Use $HOME before trying to get user directory via getpwuid
(edit) @2496   14 years Jean-Yves Lamoureux * Removed a double-free and a leak. Mozilla, you have been trolled.
(edit) @2495   14 years Jean-Yves Lamoureux * Removed general local variables from main() and put it in struct …
(edit) @2493   14 years Sam Hocevar * Fix grabbing of one process: upper loop bound was wrong.
(edit) @2489   14 years Jean-Yves Lamoureux * Removed a double-free, check if ptr==NULL before freeing in several …
(edit) @2488   14 years Pascal Terjan * Have -r/-R/-S like screen
(edit) @2487   14 years Pascal Terjan * Add -c/--config to override local config file
(edit) @2486   14 years Jean-Yves Lamoureux * Changed /etc/neercs.conf to /etc/neercsrc (and changed example to …
(edit) @2484   14 years Jean-Yves Lamoureux * Factorized multiple calls of caca_refresh_display() * Configuration …
(edit) @2481   14 years Pascal Terjan * Improve the speed of current attach (even if it will die) * Fix …
(edit) @2480   14 years Pascal Terjan * Move most actions outside of option parsing
(edit) @2479   14 years Pascal Terjan * Move conditionnal include of pty.h from main.c to term.c
(edit) @2478   14 years Pascal Terjan * Don't use the caca_display in refresh_screens, it would make clean …
(edit) @2477   14 years Pascal Terjan * Close caca_display earlier when attaching - Give an error when no …
(edit) @2474   14 years Pascal Terjan * First more or less working version of attach
(edit) @2473   14 years Jean-Yves Lamoureux * get_ms() returns ... microseconds. Renamed to get_us(). (fsck you) …
(edit) @2471   14 years Jean-Yves Lamoureux * Added handlers for special keys (page up/down, insert, delete, home, …
(edit) @2468   14 years Jean-Yves Lamoureux * Cleaned a bit * Added help (--help/-h)
(edit) @2466   14 years Jean-Yves Lamoureux * Break pterjan changes ftw
(edit) @2464   14 years Jean-Yves Lamoureux * Last configuration file line was not handled * Added …
(edit) @2463   14 years Jean-Yves Lamoureux * Added configuration file and routines
(edit) @2458   14 years Pascal Terjan * Support detaching (NOT ATTACHING)
(edit) @2457   14 years Jean-Yves Lamoureux * Added lock-screen bugWfeature using PAM (likely to work only with …
(edit) @2456   14 years Jean-Yves Lamoureux * Don't send key that closed help window to current terminal
(edit) @2455   14 years Sam Hocevar * Do not build grab.c conditionally; instead, make grab_process() and …
(edit) @2453   14 years Pascal Terjan * Oops revert parts of 2451 which should not have been commited
(edit) @2451   14 years Pascal Terjan * Remove termios stuff, does not do anything currently
(edit) @2448   14 years Jean-Yves Lamoureux * Made Screensaver Engine (called a glazillon times) cleaner * Set …
(edit) @2447   14 years Jean-Yves Lamoureux * Added an ugly-not-finished-yet screensaver
(edit) @2445   14 years Jean-Yves Lamoureux * Added delayed (recurrent) functions, as well as a window-killing eyecandy
(edit) @2444   14 years Jean-Yves Lamoureux * Changed command line parsing to sam's mygetopt.c
(edit) @2433   14 years Pascal Terjan * Fix behavior with no parameter
(edit) @2431   14 years Pascal Terjan * Don't break build on platforms where grab is not supported
(edit) @2426   14 years Pascal Terjan * First attempt to grab a process when started with -P <pid>
(edit) @2421   14 years Jean-Yves Lamoureux * Put pty and prevpty in screen_list structure
(edit) @2402   14 years Jean-Yves Lamoureux * main.c now contains only main()
(edit) @2401   14 years Jean-Yves Lamoureux * Removed more stuff from main()
(edit) @2400   14 years Jean-Yves Lamoureux * Exploded main() into smaller parts (and that's ugly for now, yes)
(edit) @2395   14 years Jean-Yves Lamoureux * Totally unfinished scroll support (as vim uses it)
(edit) @2390   14 years Jean-Yves Lamoureux * Des espaces a la fin d'une ligne : Deux baffes dans ta gueule
(edit) @2389   14 years Pascal Terjan * Have pty and prevpty always valid, fixes the random crash when …
(edit) @2388   14 years Pascal Terjan * Switch to previous term when one shell exits
(edit) @2387   14 years Pascal Terjan * Move back title writing after drawing the associated box
(edit) @2385   14 years Pascal Terjan * Draw the titles after all the frames as they share the lines in …
(edit) @2384   14 years Pascal Terjan * Truncate titles larger than the window
(edit) @2383   14 years Pascal Terjan * Display the title of each screen on its frame
Note: See TracRevisionLog for help on using the revision log.