summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* remove .cvsignore filesBoris Faure2011-06-121-8/+0
| | | | SVN revision: 60246
* Revert and re-apply badnull patchLucas De Marchi2010-08-261-1/+1
| | | | | | | | | | | Revert previous patch generated by badnull.cocci script, and apply the new one. The main difference is that assert and assert-like functions are not touched anymore. SVN revision: 51650
* Revert coccinelle changes.Michael Jennings2010-08-231-1/+1
| | | | | | | | | | Using !! instead of != NULL results in significantly and unacceptably less readable code, and I refuse to accept those changes. Unfortunately, since they were all done at once, I have to revert the whole thing. Oh well. :( SVN revision: 51583
* Convert (hopefully) all comparisons to NULLLucas De Marchi2010-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply badzero.cocci, badnull.coci and badnull2.cocci This should convert all cases where there's a comparison to NULL to simpler forms. This patch applies the following transformations: code before patch ||code after patch =============================================================== return a == NULL; return !a; return a != NULL; return !!a; func(a == NULL); func(!a); func(a != NULL); func(!!a); b = a == NULL; b = !a; b = a != NULL; b = !!a; b = a == NULL ? c : d; b = !a ? c : d; b = a != NULL ? c : d; b = a ? c : d; other cases: a == NULL !a a != NULL a SVN revision: 51487
* Tue Jan 6 01:08:47 2009 Michael Jennings (mej)Michael Jennings2009-01-062-20/+20
| | | | | | | | Update copyright dates and fix a bad license. ---------------------------------------------------------------------- SVN revision: 38480
* Tue Jul 3 20:48:46 2007 Michael Jennings (mej)Michael Jennings2007-07-041-1/+1
| | | | | | | | Remove some cruft from kEsetroot. ---------------------------------------------------------------------- SVN revision: 30586
* Wed Jan 4 04:22:13 2006 Michael Jennings (mej)Michael Jennings2006-01-042-2/+2
| | | | | | | | Update copyright dates. ---------------------------------------------------------------------- SVN revision: 19522
* Mon Apr 18 21:49:08 2005 Michael Jennings (mej)Michael Jennings2005-04-191-8/+15
| | | | | | | | Re-indent code. ---------------------------------------------------------------------- SVN revision: 14229
* Mon Apr 18 18:00:17 2005 Michael Jennings (mej)Michael Jennings2005-04-184-54/+164
| | | | | | | | | | | | Applied a patch from Fredrik Svensson <fred@ludd.ltu.se> for 256-color support (a la xterm). I also renamed and imported a couple of his test scripts into utils/, and in playing around with them, I found and fixed an X server resource leak. Use Etpalette to view the 256-color palette. ---------------------------------------------------------------------- SVN revision: 14228
* Tue Mar 15 16:44:09 2005 Michael Jennings (mej)Michael Jennings2005-03-151-0/+2
| | | | | | | | | | | | | | | | | Reverted part of a patch from Chris Schoeneman <crs23@bigfoot.com> (changelog entry "Fri Jun 25 17:48:24 2004") which broke dead keys and compose-key sequences. Fixed autoSHIT for dist/distcheck/distclean/maintainer-clean and newer autoSHIT versions. Fixed error in saving of cut_chars attribute. Fixed saving/handling of beep_command attribute. ---------------------------------------------------------------------- SVN revision: 13745
* Sun Jan 11 17:09:07 2004 Michael Jennings (mej)Michael Jennings2004-01-111-1/+1
| | | | | | | It's too bad you can't just say, "Copyright 1997-2999." SVN revision: 8349
* Mon Dec 22 15:50:35 2003 Michael Jennings (mej)Michael Jennings2003-12-221-4/+4
| | | | | | | Minor tweaks to utils/Etbg_update_list. SVN revision: 8180
* Tue Dec 9 22:26:17 2003 Michael Jennings (mej)Michael Jennings2003-12-101-35/+36
| | | | | | | | | Add libast libs to GRLIBS. Hopefully fixed Etbg_update_list to be Solaris /bin/sh-friendly. SVN revision: 8077
* Wed Aug 20 10:19:50 2003 Michael Jennings (mej)Michael Jennings2003-08-201-1/+0
| | | | | | | | When saving settings, make sure to save the font effects too. Spotted by ptiJo <ptiJo@noos.fr>. SVN revision: 7353
* Sun Aug 17 09:55:43 2003 Michael Jennings (mej)Michael Jennings2003-08-171-1/+36
| | | | | | | | | | | Modified and applied a patch from Marc Merlin <marc@merlins.org> to auto-generate the pixmap menu entries via the Etbg_update_list script. You can now pass "-m /path/to/menufile" to Etbg_update_list to generate the entries in the specified file. Hopefully I'll make this process automated, at least on my end, in the near future. SVN revision: 7336
* Tue Apr 22 11:12:26 2003 Michael Jennings (mej)Michael Jennings2003-04-221-0/+3
| | | | | | | | | | | | Fixed a couple minor type issues on 64-bit systems. Cleaned up all the warnings in libscream.c and Esetroot.c. Updated the spec file to depend on imlib2 and the JPEG/PNG loaders. I hate to do that, but it seems necessary. SVN revision: 6874
* Wed Feb 19 16:17:00 2003 Michael Jennings (mej)Michael Jennings2003-02-191-1/+1
| | | | | | | Updated copyright statements for 2003. SVN revision: 6698
* Sat Jun 8 11:41:37 2002 Michael Jennings (mej)Michael Jennings2002-06-081-4/+4
| | | | | | | Escreen update with Twin support from Azundris <scream@azundris.com>. SVN revision: 6307
* Sun Jun 2 20:23:07 2002 Michael Jennings (mej)Michael Jennings2002-06-032-14/+9
| | | | | | | Latest Escreen patch along with twin support from Azundris. SVN revision: 6297
* Sat May 4 10:23:38 2002 Michael Jennings (mej)Michael Jennings2002-05-043-253/+253
| | | | | | | | | | | Ran reformat-code on the tree. Also merged in Azundris' Escreen patch. It's disabled by default for the moment pending further testing, but you can enable it manually by defining ESCREEN. SVN revision: 6202
* Sun Feb 3 15:51:38 2002 Michael Jennings (mej)Michael Jennings2002-02-032-2/+2
| | | | | | | Apparently I forgot to commit these copyright date changes. :( SVN revision: 5895
* Mon Jan 14 13:51:49 2002 Michael Jennings (mej)Michael Jennings2002-01-141-1/+2
| | | | | | | | | | | | | Added a server grab around the setting of the root properties and background. Suggested by Owen Taylor <otaylor@redhat.com> and Olivier Chapuis <olivier.chapuis@free.fr>. Also updated the version number in configure.ac for all those mor^H^H^Hpeople using Debian unstable. :-) Fixed a few compiler warnings too. SVN revision: 5834
* Sat Dec 29 15:39:38 2001 Michael Jennings (mej)Michael Jennings2001-12-291-7/+15
| | | | | | | | | | Fixed a little-endian bug with 24-bit XImages, added a bit to init_locale() in an effort to replicate the behavior of the Athena widgets, and added a -b option to Esetroot based on a patch from Oliwier Ptak <supergrass@gmx.net>. SVN revision: 5792
* Sat Sep 22 09:41:26 2001 Michael Jennings (mej)Michael Jennings2001-09-221-1/+1
| | | | | | | Fixes for Solaris where ln requires a certain argument order. SVN revision: 5367
* Tue Jul 3 18:01:24 2001 Michael Jennings (mej)Michael Jennings2001-07-041-0/+1
| | | | | | | | | | | All the docs and themes should now be up-to-date. Unless a showstopping bug turns up in the near future, this is pretty much it for 0.9.1. Now we just need some testing to make sure there's nothing horridly wrong.... So you all can test while we finish up the web site and the backgrounds. :-) SVN revision: 4919
* Thu Jun 28 19:01:05 2001 Michael Jennings (mej)Michael Jennings2001-06-291-1/+1
| | | | | | | Finished updating the man page for 0.9.1. SVN revision: 4869
* Well that was dumb.Michael Jennings2001-06-141-1/+1
| | | | SVN revision: 4811
* Wed Jun 13 21:13:51 PDT 2001 Michael Jennings <mej@eterm.org>Michael Jennings2001-06-142-4/+70
| | | | | | | | | | | | | There is now a new mechanism for dealing with the background image collection, including a new update script. Please read the newly- rewritten bg/README.backgrounds for details. Also, I'm trying to flesh out the Contributors list in that file, but my memory isn't cooperating. So if you contributed one of the backgrounds, or know someone who did, please let me know. SVN revision: 4810
* Mon Mar 5 13:38:01 PST 2001 Michael Jennings <mej@eterm.org>Michael Jennings2001-03-051-0/+2
| | | | | | | Fix for NetBSD from Marc Bevand <bevand_m@epita.fr>. SVN revision: 4313
* Fri Dec 29 14:39:09 PST 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-12-292-31/+3
| | | | | | | | | | | | | | | | | Moved the HAVE_SAVED_UIDS define into a configure option so that the FreeBSD folks will have an easier time with it. Fixed "make distcheck" which broke at some point. That X stuff in clean_exit() should only happen if we're debugging. Nobody but me should have to deal with those random hangs. :-) Added a patch for multibyte cursor support from Michael C. Wu <keichii@iteration.net> and Sung-Hyun Nam <namsh@lgic.co.kr>, along with some other FreeBSD-related patches from Mr. Wu. SVN revision: 4065
* Mon Oct 30 07:45:16 PST 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-10-301-1/+0
| | | | | | | | | | | | | Several small changes, like freeing pixmaps which won't be needed later, reducing the default Imlib2 cache size to 0 bytes (we don't really use it well), and an image path bugfix spotted by Teodor Zlatanov <tzz@iglou.com>. The big change, of course, is the disappearance of libmej and the new dependency on libast, which is now distributed separately. SVN revision: 3793
* Thu Aug 31 23:02:10 PDT 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-09-011-3/+1
| | | | | | | | Still more big changes. Working on adding pixmap and GC tracking to libmej using the existing allocation tracking routines. SVN revision: 3291
* Fri Jun 16 13:29:59 PDT 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-06-161-9/+32
| | | | | | | | Merged in a patch from Ariel Glenn <ariel@columbia.edu> to do mirrored image tiling in Esetroot. SVN revision: 2785
* Tue May 2 16:56:47 PDT 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-05-021-1/+7
| | | | | | | | | | | | | | | After getting sick of hearing people whining about the obscure error messages that resulted from trying to build without pixmap support, I hacked it until it at least built without it. I also added warnings to configure.in so that people would know if that happened. It's still not very happy running that way, which is something I need to fix. But hopefully it will stop the whining. Yeah, right. =P SVN revision: 2590
* Tue Apr 25 11:45:15 PDT 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-04-251-1/+1
| | | | | | | Updated per changes to Imlib2 API. SVN revision: 2536
* Mon Apr 17 22:25:27 PDT 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-04-181-3/+4
| | | | | | | | | | | | | I fixed the problem reported by Joakim Bodin <bodin@dreamhosted.com> with spawned processes. Also fixed Esetroot as reported by Wayne Johnson <bigman1@alltel.net>. Support for buttons higher than 5 was also added to the action bindings code for those (like me) with IntelliMouse Explorers and XFree86 4.0. :-) SVN revision: 2494
* Wed Apr 12 21:18:19 PDT 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-04-131-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the initial commit with Imlib2 support. READ THIS CAREFULLY. There is important information in this commit message that will keep you from getting screwed. First off, support for Imlib 1.x is GONE. It is no longer supported as of now. If you want to continue using it, do NOT install this version. I tried to support both for awhile, but the code ended up being way too ugly and hackish. Imlib2 is the future. And trust me, when you see what we do with this future, you'll be happy for the switch. The good news is that most of the basics work. Transparency still works, and the basic image stuff works. Most users won't notice any major problems, so long as your Imlib2 is 100% up-to-date. However, a few things still don't work: 1. Auto mode is a bit broken. You'll get X errors in XFree86 4.0. Don't use it if you're running XFree 4. 2. Color modifiers for images don't work. At all. 3. Transparency shading/tinting will not work in 8bpp or lower. Life blows sometimes. Sorry. Time for a real video card. :-) 4. The built-in icon is broken. 5. You WILL need to update your theme.cfg files. The borders on the horizontal and vertical bar images were incorrect when combined with the new anti-aliased scaling. The horizontal bars should have a right border of 3. Vertical bars should have a bottom border of 3. The menu images should have both right *and* bottom borders of 3. You can either make those changes by hand, or use the --with-theme-update option to autogen.sh. Your call. I think that covers everything I've run into. I will point out that I don't really take advantage of a lot of the Imlib2 features just yet. My first priority is to make all the stuff that worked before work again (or at least the important stuff). Then I'll work on new features. So there it is. If you're not ready for it, don't use it. But if you are, I hope you like it. SVN revision: 2478
* Tue Mar 14 19:11:26 PST 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-03-151-6/+2
| | | | | | | | | | Some further fixes for inline functions, 2 new winop actions, brand new and improved profiling macros, some miscellaneous fixes for SGI from Kimball Thurston <kimball@sgrail.com>, and more robust checking in the pasting code. SVN revision: 2235
* Thu Feb 17 15:13:20 PST 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-02-171-0/+10
| | | | | | | | | | | Fixed a bug with background colors and proportional fonts. Also added an escape sequence, \e]30;<filename>\a, to dump the scrollback buffer to a file. You will not get colors, or bold, or underlining, or any other rendering information. Just the text. Linebreaks will appear as they do on the screen. SVN revision: 2090
* Thu Feb 10 15:10:01 PST 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-02-114-2/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first public availability of the work thus far on Eterm 0.9.1. There's quite a bit of new stuff here. * Added scrollbar thumb support. * Completely redid the terminfo/termcap stuff. The terminfo file is now compiled (by tic) and installed by default (unless you specify --without-terminfo). The config files still say xterm, though, because some programs (like SLang and GNU mc) use the silly algorithm of "Is $TERM set to xterm?" to detect mouse reporting support in a terminal. =P But if you don't ever use xterm, you can use Eterm's termcap and just name it "xterm" instead. Thanks to Marius Gedminas <mgedmin@takas.lt> for his patch that started this whole revamp. * Added the kEsetroot script for KDE users from Dax Games <dgames@isoc.net>. * You can now configure the Home and End emulation via --with-home= and --with-end= options to configure. The --with-terminfo option is also new, and --enable-xim is now the default. * Added a new image state, disabled, for when Eterm loses focus. This is supported by all widgets (well, all those that could possibly be on screen when Eterm lost focus), even the background image. So you could actually have all your images darken on focus out and restore to normal on focus in. * Widget colors formerly dealt with as colors (menu text color, scrollbar color, etc.) are now handled by the imageclasses. Each image state can have a foreground and background color defined. The current exception is the background image; I hope to add that later. The foreground is the text color and the background is the object color (for solid color mode). So menu text color is set by the menu imageclass. And again, for unfocused colors, use the disabled state of the imageclass. * Proportionally-spaced fonts are now handled much better. They are still forced into evenly-spaced columns (it's a terminal for crying out loud!) but at least you don't end up with Eterm's wider than your screen. :-) * Home on refresh is gone, as is home on echo. It's now much simpler. There are two options: home on output, and home on input, the former being a combination of echo and refresh. Also, keypresses that don't necessarily have corresonding output can trigger a home on input, like Ctrl-End or whatever...ones that don't have special meaning. Credit to Darren Stuart Embry <dse@louisville.edu> for pointing out this issue and the one with "m-" in font names. * I finally got around to re-merging the new parser stuff from my work on the Not Game. Closed up some old potential behavior quirks with theme parsing. * Added a new escape sequence to fork-and-exec a program. Also added a scrollback search capability to highlight all occurances of a string in your scrollback buffer. Use the new "Etsearch" utility to access it. "Etsearch string" to search for a string, then "Etsearch" by itself to reset the highlighting. * And of course, the biggie. Eterm now supports a completely- customizeable buttonbar. Not a menubar, a buttonbar. It can have an arbitrary number of buttons, and each button can perform an action, just like a menuitem. So a button could bring up a menu (like a menubar) or launch a program (like a launchbar) or perform an operation (like a toolbar). Each button can have an icon, text, or both. And you can have buttons left- or right-justified in the buttonbar. You will eventually be able to have an arbitrary number of buttonbars, but I'm still working on that. As with any change this big, things could very easily be broken. So beware. :-) I have tested this myself, and everything seems to work, but I can't test every possibility. Let me know if you find anything that's broken, and enjoy! SVN revision: 2048
* Wed Jan 5 21:23:56 PST 2000 Michael Jennings <mej@eterm.org>Michael Jennings2000-01-052-2/+2
| | | | | | | Copyright date updates. SVN revision: 1860
* Tue Nov 2 16:53:56 PST 1999 Michael Jennings <mej@eterm.org>Michael Jennings1999-11-021-2/+10
| | | | | | | | | | Several bugs fixed here, most notably a potential seg fault in Esetroot, and remembering an Eterm's size works again. Also a minor redraw speedup. And %exec() now works properly instead of just causing Eterm to crash. :-) SVN revision: 1153
* Wed Oct 27 14:11:11 PDT 1999 Michael Jennings <mej@eterm.org>Michael Jennings1999-10-271-4/+4
| | | | | | | 64-bit cleanliness changes. SVN revision: 998
* Tue Oct 19 16:34:51 PDT 1999 Michael Jennings <mej@eterm.org>Michael Jennings1999-10-191-1/+2
| | | | | | | | | | | | | | | | | This should get rid of all the warnings. If you're running Linux and get warnings about setresuid, setresgid, grantpt, and unlockpt not having prototypes, feel free to add the following lines to your copy of /usr/include/unistd.h: /* Linux- and HP-UX-only setres?id() calls -- mej */ extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); extern int setresgid(gid_t rgid, gid_t egid, gid_t sgid); /* SVR4 PTY functions */ extern int grantpt(int fd); extern int unlockpt(int fd); SVN revision: 886
* Tue Oct 19 00:13:17 PDT 1999 Mandrake <mandrake@mandrake.net>Mandrake1999-10-191-1/+2
| | | | | | | | | | | Almost all the warnings are gone. only 3 remain on my system at home. two in command.c (where do I get proper prototypes for grantpt() and unlockpt()?) and one in options.c that is bizarre: options.c:3433: warning: `%x' yields only last 2 digits of year in some locales SVN revision: 871
* Mon Oct 18 23:59:17 PDT 1999 Mandrake <mandrake@mandrake.net>Mandrake1999-10-191-11/+12
| | | | | | | More warning bashing in Esetroot.c SVN revision: 869
* Tue Sep 28 14:18:44 PDT 1999 Michael Jennings <mej@eterm.org>Michael Jennings1999-09-281-14/+4
| | | | | | | | Several fixes here, some of which I forgot to commit a couple days ago. Oopsie. =) SVN revision: 438
* Tue Aug 17 18:06:01 PDT 1999 Michael Jennings <mej@eterm.org>Michael Jennings1999-08-187-23/+78
| | | | | | | | Now that we have a fixed CVS server.... This includes the old 0.8.10 code, but it's now 0.9. It also includes a timer subsystem. SVN revision: 52
* Fux0r!Michael Jennings1999-08-171-405/+0
| | | | SVN revision: 41
* Da da da.Michael Jennings1999-08-171-0/+9
| | | | SVN revision: 40