E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint Log Message: Directory /cvs/e/e17/apps/emprint added to the repository - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/src Log Message: Directory /cvs/e/e17/apps/emprint/src added to the repository - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/data Log Message: Directory /cvs/e/e17/apps/emprint/data added to the repository - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/src/bin Log Message: Directory /cvs/e/e17/apps/emprint/src/bin added to the repository - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/data/images Log Message: Directory /cvs/e/e17/apps/emprint/data/images added to the repository - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint Added Files: .cvsignore AUTHORS COPYING COPYING-PLAIN ChangeLog Makefile.am NEWS README TODO autogen.sh configure.in Log Message: Added 'emprint' to cvs. An EFL-Based utility for taking screenshots of the entire desk, a specific window, or a specific region. It has some other options too, see emprint --help for more details. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/data Added Files: .cvsignore Makefile.am Log Message: Added 'emprint' to cvs. An EFL-Based utility for taking screenshots of the entire desk, a specific window, or a specific region. It has some other options too, see emprint --help for more details. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/src Added Files: .cvsignore Makefile.am Log Message: Added 'emprint' to cvs. An EFL-Based utility for taking screenshots of the entire desk, a specific window, or a specific region. It has some other options too, see emprint --help for more details. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/src/bin Added Files: .cvsignore Makefile.am emprint.h main.c Log Message: Added 'emprint' to cvs. An EFL-Based utility for taking screenshots of the entire desk, a specific window, or a specific region. It has some other options too, see emprint --help for more details. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/data/images Added Files: .cvsignore Makefile.am rect.png Log Message: Added 'emprint' to cvs. An EFL-Based utility for taking screenshots of the entire desk, a specific window, or a specific region. It has some other options too, see emprint --help for more details. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/src/bin Modified Files: main.c Log Message: Use proper app name when displaying help. === RCS file: /cvs/e/e17/apps/emprint/src/bin/main.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- main.c 29 Dec 2007 17:42:52 - 1.1 +++ main.c 29 Dec 2007 18:02:16 - 1.2 @@ -199,7 +199,7 @@ static void _em_print_help(void) { - printf(Usage: egrab [OPTIONS]... FILE\n + printf(Usage: emprint [OPTIONS]... FILE\n Where FILE is the target for the screenshot.\n If no FILE is specified, a date-stamped file will be saved in the current directory.\n @@ -222,7 +222,7 @@ static void _em_print_version(void) { - printf(egrab version VERSION\n); + printf(emprint version VERSION\n); } static void - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/src/bin Modified Files: main.c Log Message: Add trap in case user only passes in a directory without a filename. === RCS file: /cvs/e/e17/apps/emprint/src/bin/main.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- main.c 29 Dec 2007 18:02:16 - 1.2 +++ main.c 29 Dec 2007 18:37:33 - 1.3 @@ -257,59 +257,71 @@ strftime(buf, sizeof(buf), %Y-%m-%d-%H%M%S.png, loctime); else { - /* filename was given, check for '%' signs to -* format based on strftime */ - if (strstr(opts-filename, %)) - strftime(buf, sizeof(buf), opts-filename, loctime); + if (ecore_file_is_dir(opts-filename)) + { +strftime(buf, sizeof(buf), %Y-%m-%d-%H%M%S.png, loctime); +/* set the new filename */ +snprintf(buf, sizeof(buf), %s/%s, opts-filename, strdup(buf)); +if (opts-filename) evas_stringshare_del(opts-filename); +opts-filename = evas_stringshare_add(buf); +return; + } else { -/* no '%' signs, check for files existing in the directory */ -if (ecore_file_exists(opts-filename)) +/* filename was given, check for '%' signs to + * format based on strftime */ +if (strstr(opts-filename, %)) + strftime(buf, sizeof(buf), opts-filename, loctime); +else { - /* get the directory */ - dir = ecore_file_dir_get(opts-filename); - - /* get the filename */ - f = ecore_file_file_get(opts-filename); - - /* if these two match, then no dir was passed in, - * use current dir */ - if (!strcmp(dir, f)) dir = getenv(PWD); - - /* strip the extension for searches */ - ext = ecore_file_strip_ext(opts-filename); - - /* list files in this directory count them */ - fl = ecore_file_ls(dir); - ecore_list_first_goto(fl); - while ((file = ecore_list_next(fl)) != NULL) - { - /* skip thumb files in the count */ - if (strstr(file, thumb)) continue; - if (strstr(file, ext)) c++; - } - - /* destroy the file list */ - if (fl) ecore_list_destroy(fl); - - /* assemble new filename based on count */ - if (c 0) + /* no '%' signs, check for files existing in the directory */ + if (ecore_file_exists(opts-filename)) { - c++; - - /* strip the extension from filename */ - file = ecore_file_strip_ext(opts-filename); + /* get the directory */ + dir = ecore_file_dir_get(opts-filename); - /* get the actual extension */ - ext = strrchr(opts-filename, '.'); - if (!ext) ext = strdup(.png); + /* get the filename */ + f = ecore_file_file_get(opts-filename); - /* assemble new filename */ - snprintf(buf, sizeof(buf), %s%i%s, file, c, ext); + /* if these two match, then no dir was passed in, + * use current dir */ + if (!strcmp(dir, f)) dir = getenv(PWD); + + /* strip the extension for searches */ + ext = ecore_file_strip_ext(opts-filename); + + /* list files in this directory count them */ + fl = ecore_file_ls(dir); + ecore_list_first_goto(fl); + while ((file = ecore_list_next(fl)) != NULL) +{ + /* skip thumb files in the count */ + if (strstr(file, thumb)) continue; + if (strstr(file, ext)) c++; +} + + /* destroy the file list */ + if (fl) ecore_list_destroy(fl); + + /* assemble new filename based on count */ + if (c 0) +{ + c++; + + /* strip the extension from filename */ + file = ecore_file_strip_ext(opts-filename); + + /* get the actual extension */ + ext = strrchr(opts-filename, '.'); + if (!ext) ext = strdup(.png); + +
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot Removed Files: .cvsignore Log Message: Nuked old screenshot module. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot/po Removed Files: LINGUAS Makevars POTFILES.in eo.po fi.po fr.po it.po ja.po ru.po sv.po Log Message: Nuked old screenshot module. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot Modified Files: INSTALL Makefile.am autogen.sh configure.in Log Message: remove po dir. === RCS file: /cvs/e/e_modules/screenshot/INSTALL,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- INSTALL 30 Jan 2006 05:12:51 - 1.3 +++ INSTALL 29 Dec 2007 21:10:07 - 1.4 @@ -1,11 +1,234 @@ -COMPILING and INSTALLING: +Installation Instructions +* -If you got a official release tar archive do: -./autogen.sh - -Then to compile: -make +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, +2006 Free Software Foundation, Inc. -To install: -make install +This file is free documentation; the Free Software Foundation gives +unlimited permission to copy, distribute and modify it. + +Basic Installation +== + +Briefly, the shell commands `./configure; make; make install' should +configure, build, and install this package. The following +more-detailed instructions are generic; see the `README' file for +instructions specific to this package. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. Caching is +disabled by default to prevent problems with accidental use of stale +cache files. + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You need `configure.ac' if +you want to change it or regenerate `configure' using a newer version +of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. + + Running `configure' might take a while. While running, it prints + some messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options += + +Some systems require unusual options for compilation or linking that the +`configure' script does not know about. Run `./configure --help' for +details on some of the pertinent environment variables. + + You can give `configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here +is an example: + + ./configure CC=c99 CFLAGS=-g LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures + + +You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you can use GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + With a non-GNU `make', it is safer to compile the package for one +architecture at a time in the source code directory. After you have +installed the package for one architecture, use `make distclean'
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot/po Removed Files: .cvsignore Log Message: remove po dir. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint ravenlock
Enlightenment CVS committal Author : ravenlock Project : e17 Module : apps/emprint Dir : e17/apps/emprint/src/bin Modified Files: main.c Log Message: Allow for argument substitution in APP command line === RCS file: /cvs/e/e17/apps/emprint/src/bin/main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- main.c 29 Dec 2007 18:37:33 - 1.3 +++ main.c 29 Dec 2007 21:11:15 - 1.4 @@ -207,7 +207,9 @@ \t--beep\t\t\tBeep before taking screenshot\n \t--delay NUM\t\tWait NUM seconds before taking screenshot\n \t--prompt\t\tPrompt for FILE\n - \t--app APP\t\tLaunch APP after taking screenshot\n + \t--app APP\t\tLaunch APP after taking screenshot. A '%%s'\n + \t\t\t\tincluded in the app command line will be\n + \t\t\t\treplaced with the filename.\n \t--thumb THUMB\t\tGenerate a thumbnail as THUMB\n \t--thumb-geom NUM\tGeometry to use for thumbnail\n \t\t\t\tNUM can be a percentage of the original size OR\n @@ -808,8 +810,19 @@ Ecore_Exe *exe; char buf[4096]; - /* assemble exe string including app filename */ - snprintf(buf, sizeof(buf), %s %s, opts-app, opts-filename); + /* +* If there is a %s in our app, lets replace it with the filename +* This will allow a user to specify an app similar to: +* +* /usr/local/bin/myapp arg1 %s arg2 arg3 +* +* and have %s replaced with the filename emprint is using. +*/ + if (strstr(opts-app, %s)) + snprintf(buf, sizeof(buf), opts-app, opts-filename); + else + /* otherwise, assemble exe string including app filename */ + snprintf(buf, sizeof(buf), %s %s, opts-app, opts-filename); /* run the app */ exe = ecore_exe_run(buf, NULL); - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot/fonts Log Message: Directory /cvs/e/e_modules/screenshot/fonts added to the repository - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot/images Log Message: Directory /cvs/e/e_modules/screenshot/images added to the repository - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot/m4 Log Message: Directory /cvs/e/e_modules/screenshot/m4 added to the repository - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot/src Log Message: Directory /cvs/e/e_modules/screenshot/src added to the repository - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot Added Files: .cvsignore e-module-screenshot.edc main.c module.desktop.in Log Message: Adding new screenshot module. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot Removed Files: main.c Log Message: Oops, main.c shouldn't be there. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot/fonts Added Files: .cvsignore VeraBd.ttf Log Message: Added new screenshot module. Requires apps/emprint. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot/images Added Files: .cvsignore flash1.png flash2.png flash3.png flash4.png flash5.png module_icon.png Log Message: Added new screenshot module. Requires apps/emprint. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot/src Added Files: .cvsignore Makefile.am e_mod_config.c e_mod_main.c e_mod_main.h Log Message: Added new screenshot module. Requires apps/emprint. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot/m4 Added Files: .cvsignore ac_attribute.m4 Log Message: Added new screenshot module. Requires apps/emprint. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot Removed Files: VeraBd.ttf e_mod_config.c e_mod_main.c e_mod_main.h e_modules-screenshot.spec.in module_icon.png screenshot.edc spark1.png spark2.png spark3.png spark4.png spark5.png Log Message: removing old files. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot Removed Files: e-module-screenshot.edj Log Message: remove the compiled edj file. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot Removed Files: module.desktop Log Message: remove compiled .desktop file. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot Removed Files: ABOUT-NLS Log Message: Remove about-nls file. This module will need all the translating stuff redone because a lot has changed. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: screenshot devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot Dir : e_modules/screenshot Removed Files: INSTALL Log Message: Remove install file, not needed in cvs. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/emprint devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/emprint Dir : e17/apps/emprint/src/bin Modified Files: main.c Log Message: Set the mouse pointer before showing the band. === RCS file: /cvs/e/e17/apps/emprint/src/bin/main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- main.c 29 Dec 2007 21:11:15 - 1.4 +++ main.c 29 Dec 2007 21:30:20 - 1.5 @@ -459,12 +459,12 @@ mouse_down_hdl = ecore_event_handler_add(ECORE_X_EVENT_MOUSE_BUTTON_DOWN, _em_cb_mouse_down, NULL); - /* create the rubber band */ - _em_band_show(); - /* set the mouse pointer */ if (cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_CROSS)) ecore_x_window_cursor_set(input_window, cursor); + + /* create the rubber band */ + _em_band_show(); } static void - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_popup.c Log Message: When trying todo composite for popups, check that 1) the user wanted to use it AND 2) X can actually do it (ie: composite is enabled). === RCS file: /cvs/e/e17/apps/e/src/bin/e_popup.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- e_popup.c 13 Nov 2006 07:26:14 - 1.15 +++ e_popup.c 29 Dec 2007 21:43:59 - 1.16 @@ -169,7 +169,8 @@ pop-shaped = 1; else pop-shaped = 0; - if (e_config-use_composite) + /* check if user wanted composite AND that X can do it */ + if ((e_config-use_composite) (ecore_x_composite_query())) { ecore_evas_alpha_set(pop-ecore_evas, pop-shaped); pop-evas_win = ecore_evas_software_x11_window_get(pop-ecore_evas); - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_popup.c Log Message: Better check for composite support. === RCS file: /cvs/e/e17/apps/e/src/bin/e_popup.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- e_popup.c 29 Dec 2007 21:43:59 - 1.16 +++ e_popup.c 29 Dec 2007 22:02:10 - 1.17 @@ -170,7 +170,7 @@ else pop-shaped = 0; /* check if user wanted composite AND that X can do it */ - if ((e_config-use_composite) (ecore_x_composite_query())) + if ((e_config-use_composite) (ecore_x_screen_is_composited(0))) { ecore_evas_alpha_set(pop-ecore_evas, pop-shaped); pop-evas_win = ecore_evas_software_x11_window_get(pop-ecore_evas); - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e Dir : e17/apps/e/src/modules/conf_engine Modified Files: e_int_config_engine.c Log Message: As per some irc discussion, Display a confirm dialog when user selects to use composite, but not composite engine is running. === RCS file: /cvs/e/e17/apps/e/src/modules/conf_engine/e_int_config_engine.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e_int_config_engine.c 13 Aug 2007 06:02:24 - 1.3 +++ e_int_config_engine.c 29 Dec 2007 22:59:51 - 1.4 @@ -5,7 +5,9 @@ static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata); static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata); static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata); - +static void _cb_composite_change(void *data, Evas_Object *obj); +static void _cb_confirm_yes(void *data); +static void _cb_confirm_no(void *data); struct _E_Config_Dialog_Data { @@ -13,6 +15,7 @@ int use_composite; int evas_engine_default; + Evas_Object *o_composite; }; EAPI E_Config_Dialog * @@ -20,7 +23,7 @@ { E_Config_Dialog *cfd; E_Config_Dialog_View *v; - + if (e_config_dialog_find(E, _config_engine_dialog)) return NULL; v = E_NEW(E_Config_Dialog_View, 1); if (!v) return NULL; @@ -40,7 +43,7 @@ _create_data(E_Config_Dialog *cfd) { E_Config_Dialog_Data *cfdata; - + cfdata = E_NEW(E_Config_Dialog_Data, 1); _fill_data(cfdata); cfdata-cfd = cfd; @@ -62,7 +65,7 @@ static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) -{ +{ e_config-use_composite = cfdata-use_composite; e_config-evas_engine_default = cfdata-evas_engine_default; e_config_save_queue(); @@ -80,7 +83,10 @@ o = e_widget_list_add(evas, 0, 0); of = e_widget_framelist_add(evas, _(General Settings), 0); - ob = e_widget_check_add(evas, _(Enable Composite), (cfdata-use_composite)); + ob = e_widget_check_add(evas, _(Enable Composite), + (cfdata-use_composite)); + cfdata-o_composite = ob; + e_widget_on_change_hook_set(ob, _cb_composite_change, cfdata); e_widget_framelist_object_append(of, ob); e_widget_list_object_append(o, of, 1, 1, 0.5); @@ -91,7 +97,7 @@ if (!strcmp(SOFTWARE, l-data)) engine = E_EVAS_ENGINE_SOFTWARE_X11; else if (!strcmp(GL, l-data)) engine = E_EVAS_ENGINE_GL_X11; else if (!strcmp(XRENDER, l-data)) engine = E_EVAS_ENGINE_XRENDER_X11; - else continue; + else continue; ob = e_widget_radio_add(evas, _(l-data), engine, rg); e_widget_framelist_object_append(of, ob); } @@ -99,4 +105,46 @@ e_dialog_resizable_set(cfd-dia, 0); return o; +} + +static void +_cb_composite_change(void *data, Evas_Object *obj) +{ + E_Config_Dialog_Data *cfdata = NULL; + + if (!(cfdata = data)) return; + if (cfdata-use_composite) + { + if (!ecore_x_screen_is_composited(0)) + { +/* pop dialog */ +e_confirm_dialog_show(_(Enable Composite Support ?), + enlightenment/engine, + _(You have chosen to enable composite +support,brbut your current screen does +not support composite.brbr +Are you sure you wish to enable composite support ?), + NULL, NULL, _cb_confirm_yes, _cb_confirm_no, + cfdata, cfdata, NULL, NULL); + } + } +} + +static void +_cb_confirm_yes(void *data) +{ + E_Config_Dialog_Data *cfdata = NULL; + + if (!(cfdata = data)) return; + cfdata-use_composite = 1; +} + +static void +_cb_confirm_no(void *data) +{ + E_Config_Dialog_Data *cfdata = NULL; + + if (!(cfdata = data)) return; + cfdata-use_composite = 0; + e_widget_check_checked_set(cfdata-o_composite, 0); } - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e devilhorns
Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_popup.c Log Message: Remove check for compositing available and just use whatever the user selected. Not entirely safe nor correct tho. === RCS file: /cvs/e/e17/apps/e/src/bin/e_popup.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- e_popup.c 29 Dec 2007 22:02:10 - 1.17 +++ e_popup.c 29 Dec 2007 23:00:52 - 1.18 @@ -169,8 +169,7 @@ pop-shaped = 1; else pop-shaped = 0; - /* check if user wanted composite AND that X can do it */ - if ((e_config-use_composite) (ecore_x_screen_is_composited(0))) + if (e_config-use_composite) { ecore_evas_alpha_set(pop-ecore_evas, pop-shaped); pop-evas_win = ecore_evas_software_x11_window_get(pop-ecore_evas); - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: tclock devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : tclock Dir : e_modules/tclock Modified Files: e_mod_main.c Log Message: Fix popup position code so people can stop whinning. === RCS file: /cvs/e/e_modules/tclock/e_mod_main.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -3 -r1.58 -r1.59 --- e_mod_main.c26 Dec 2007 16:47:23 - 1.58 +++ e_mod_main.c29 Dec 2007 23:55:01 - 1.59 @@ -206,6 +206,7 @@ E_Zone *zone = NULL; char buf[4096]; int x, y, w, h; + int gx, gy, gw, gh; time_t current_time; struct tm *local_time; @@ -236,7 +237,46 @@ evas_object_resize(inst-o_tip, w, h); e_popup_edje_bg_object_set(inst-tip, inst-o_tip); + ecore_x_pointer_xy_get(zone-container-win, x, y); + e_gadcon_client_geometry_get(inst-gcc, gx, gy, gw, gh); + switch (inst-gcc-gadcon-orient) + { + case E_GADCON_ORIENT_CORNER_RT: + case E_GADCON_ORIENT_CORNER_RB: + case E_GADCON_ORIENT_RIGHT: + x = gx - w; + y = gy; + if ((y + h) = zone-h) + y = gy + gh - h; + break; + case E_GADCON_ORIENT_LEFT: + case E_GADCON_ORIENT_CORNER_LT: + case E_GADCON_ORIENT_CORNER_LB: + x = gx + gw; + y = gy; + if ((y + h) = zone-h) + y = gy + gh - h; + break; + case E_GADCON_ORIENT_TOP: + case E_GADCON_ORIENT_CORNER_TL: + case E_GADCON_ORIENT_CORNER_TR: + y = gy + gh; + x = gx; + if ((x + w) = zone-w) + x = gx + gw - w; + break; + case E_GADCON_ORIENT_BOTTOM: + case E_GADCON_ORIENT_CORNER_BL: + case E_GADCON_ORIENT_CORNER_BR: + y = gy - h; + x = gx; + if ((x + w) = zone-w) + x = gx + gw - w; + break; + default: + break; + } e_popup_move_resize(inst-tip, x, y, w, h); e_popup_show(inst-tip); } - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: mail devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : mail Dir : e_modules/mail Modified Files: imap2.c Log Message: Launch exe for imap2 when new mail is found; === RCS file: /cvs/e/e_modules/mail/imap2.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- imap2.c 7 Nov 2007 18:31:27 - 1.12 +++ imap2.c 30 Dec 2007 00:04:37 - 1.13 @@ -222,6 +222,11 @@ ic-server = NULL; _mail_set_text (ic-data); + + if ((ic-config-num_new 0) +(ic-config-use_exec) (ic-config-exec)) + _mail_start_exe (ic-config); + return 0; } - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs