Tagged Check-ins

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Check-ins with non-propagating tags:

08:19 [421270b133] Leaf: - Add previously missing themes (VERY LARGE files). (user: beyert, tags: trunk, 0.9.0-RELEASE)
22:40 [e9701e4b36] - src/args.c: Default to font bitstream vera sans instead of bitstream vera sans mono. (user: beyert, tags: trunk, 0.8.1-RELEASE)
22:32 [4095cc8966] - src/Makefile: Fix indentation. Fix terminology of PREFIX and LOCALBASE. Replace all usages of PREFIX with LOCALBASE, and DEST_PREFIX with PREFIX. DEST_PREFIX is obsolete.

- src/args.c: Default to font bitstream vera sans mono instead of liberation sans mono.

- src/ Increment version to 0.8.1. Fix indentation. Fix terminology of PREFIX and LOCALBASE. (user: beyert, tags: trunk, 0.8.1-RELEASE)

03:31 [efc3f92307] - src/ Increment version to 0.8.0, due to DPMS recovery improvements.

- src/draw_fns.c: Slightly adjust drawing code to avoid redundant extra calls to XClearWindow, and to reduce code length.

- src/event_loop.c: In event loop, make sure to redraw text if ev.type matches KeyPress, MotionNotify, or ButtonPress. This should get rid of issue where the login box is blank sometimes after recovering from DPMS mode. (user: beyert, tags: trunk, 0.8.0-RELEASE)

21:30 [8fe48523a1] - README: Add some information, adjust some sentences and overall wording. Remove feature about DPMS support, because this feature will be moved to metaidle. (user: beyert, tags: trunk, 0.7.9-RELEASE)
21:21 [d90d4c20ae] - src/args.c: Fix indentation on switch statement.

- src/event_loop.c: Get rid of (commented) DPMS support, which will later become a part of metaidle. It doesn't make any sense to make this a part of the screen locker application. Fix indentation in places, and move many variable declarations of the same type on to one line.

- src/main.c: Move many variable declarations of the same type on to one line. (user: beyert, tags: trunk, 0.7.9-RELEASE)

11:44 [6d8c4be4e7] - src/Makefile: Fix minor typo. (user: beyert, tags: trunk, 0.7.9-RELEASE)
11:41 [4aabb6902c] - src/Makefile: Add conditionals to deal with options for various build options. (these yes/no options are named USE_*). The user no longer needs to manually set OPT_CPPFLAGS, OPT_INCS, or OPT_LIBS. Add proper support for shadow file, crypt library, and "bsd auth", (whatever that is, maybe non-FreeBSD BSDs need it?) which previously were not easy to set in a user-friendly fashion.

- src/ Update to version 0.7.9. Completely change options system to require less thinking on the part of the end user. Now we have boolean yes/no options set as USE_*. Add USE_* options for shadow file, crypt library, and "bsd auth". Set all USE_* variables to options that are sensible for FreeBSD. Pick a more sensible default for X11PREFIX, since most operating systems don't use /usr/X11R6 anymore. (user: beyert, tags: trunk, 0.7.9-RELEASE)

11:03 [0054d987b4] - src/Makefile: Move INCS, LIBS and CPPFLAGS from here, since they are not meant to be set by end users.

- src/ Increment version to 0.7.7. Get rid of excessive comments, which are addressed in the README. Move comments above all of the OPT_* variables. Move INCS, LIBS and CPPFLAGS from to the Makefile, since they are not meant to be set by end users. (user: beyert, tags: trunk, 0.7.7-RELEASE)

10:46 [4668b36bae] - .fossil-settings/ignore-glob: Add .fossilmsg to ignore-glob.

- src/Makefile: Move conditionals from to here, since the user shouldn't set it directly. Add data.h to HDR.

- src/ Update version to 0.7.6, due to large scale changes regarding the use of the new typedef Session. This is preliminary, however, it should get rid of the need for so many typedefs, and simplify the code.

- src/data.h: Add new file, defines typedef struct Session.

- src/draw_fns.c: Adjust to use struct to have one common signature for each action of redraw_text and draw_box.

- src/draw_fns.h: Include data header file. Adjust signatures accordingly.

- src/event_loop.c: Adjust to use struct to have one common signature for each action event_loop. Get rid of many now redundant ifdefs, due to the signature changes for the actions redraw_text and draw_box.

- src/event_loop.h: Include data header file. Adjust signatures accordingly.

- src/main.c: Get rid of many now redundant types, since they are contained with the "session" type. Get rid of many now redundant ifdefs, due to the signature changes for the actions redraw_text and draw_box. Greatly adjust naming conventions of data to use the data contained within Session s. (user: beyert, tags: trunk, 0.7.6-RELEASE)

09:19 [2b6bdc50f2] - src/Makefile: Use DEST_PREFIX instead of PREFIX for destination. (This allows to install to non-standard locations, while still including libraries from PREFIX.)

- src/ Add DEST_PREFIX variable, which is set to the value of PREFIX by default. (user: beyert, tags: trunk, 0.7.3-RELEASE)

04:51 [bd36bcbba5] - src/Makefile: Change "build" target from metalock to build, to be more consistent with terminology. (user: beyert, tags: trunk, 0.7.3-RELEASE)
04:39 [7d372aa1d4] - README: Note that BSD make (either FreeBSD or NetBSD bmake) is now required, with some workarounds for users who want to use GNU make. Note that both clang or gcc may be used as the compiler. Adjust indentation style. Discuss theme installation, which is the most difficult part. Explain installation steps in more detail.

- src/Makefile: Add conditional to ensure that the theme exists in the proper place. Give more user friendly output during build and install phases.

- src/ Add target dist-theme. Separate notion of theme tarball generation from the generation of the regular tarball. Add support for clang as CC, and make it the default c compiler. Update version to 0.7.3. (user: beyert, tags: trunk, 0.7.3-RELEASE)

10:31 [347b61b13f] - src/args.c: Change border width option from -b to -w. Add support for --bg_color / -B and --fg_color / -F options. Add string parsing code to handle determining the individual r, g and b values from the input hexadecimal string.

- src/ Update version to 0.7.0, due to major changes.

- src/helper_fns.c: Also allow header of 0X for a hexadecimal string.

- src/main.c: Add ColorMap cm to handle the state of the colormap, which needs to allocate new colors. Populate the bg_r, bg_g, bg_b, fg_r, fg_g, fg_b values. Allocate in the colormap, as well. Replace hardcoded ColorMaps with cm. Replace all hardcoded colors with usages of bg and fg. (user: beyert, tags: trunk, 0.7.0-RELEASE)

08:05 [f05051e81d] - src/helper_fns.c: Add procedures char_is_hex, string_is_hex.

- src/helper_fns.h: Add procedures char_is_hex, string_is_hex. (user: beyert, tags: trunk, 0.6.3-RELEASE)

07:28 [d0f1063b55] - src/ Increment version to 0.6.3.

- src/main.c: Take preliminary steps towards implementing user customizable background and foreground color. (user: beyert, tags: trunk, 0.6.3-RELEASE)

22:51 [f81561ffe1] README: Update details regarding Imlib2. (user: beyert, tags: trunk, 0.6.2-RELEASE)
22:42 [a3ac94d61f] - src/args.c: Get rid of -g/--gzip_compress_on, -G/--zip_compress_off flags, since they are mostly redundant. If verbosity is > 1, then print compile time options.

- src/ Increment version to 0.6.2. Bring back Imlib2 in the default compile setting, since apparently it works MUCH better for large images with a lot of colors, or for photographs. (It is too much trouble for most users to perform palette reduction for the xpm file to 32766 colors, only to find out that it takes over a minute to load even with reduced colors...). The default theme works very well with XPM, though.

- src/helper_fns.c: Add action image_filename.

- src/helper_fns.h: Add action image_filename.

- src/main.c: Rewrite filename detection code in terms of calls to image_filename. Bring back support for more image formats than just xpm/xpm.gz, because it is too tedious (and SLOW) to use xpm files for high color images / photos. Currently supported formats are png, jpg, jpeg, xpm, xpm.gz, although only the latter two are available unless you compile with Imlib2 support. (user: beyert, tags: trunk, 0.6.2-RELEASE)

01:38 [4158de5e99] - src/ Increment version to 0.6.1.

- src/draw_fns.c: Include string.h. Apparently some object files were already compiled during development, preventing proper errors until now. Fix compilation when XFT is disabled.

- src/event_loop.c: Include more files. Apparently some object files were already compiled during development, preventing proper errors until now. Update signature of event_loop to take two more GC types.

- src/event_loop.h: Update/fix signature of action event_loop.

- src/main.c: Make gc2 global with respect to this file. Add gc and gc2 as arguments to invocation of event_loop. (user: beyert, tags: trunk, 0.6.1-RELEASE)

00:44 [85ddf5196c] - src/Makefile: Add newly added sources and headers to SRC and HDR variables, respectively.

- src/ Due to large-scale changes to code structure, update version to 0.6.0. Get rid of -pedantic flag on cflags, to get rid of redundant and annoying warning "Xfuncproto.h:134:24: warning: ISO C does not permit named variadic macros".

- src/draw_fns.c: Add new file. Move all drawing related actions in this file.

- src/draw_fns.h: Add new header file for respective file.

- src/event_loop.c: Add new file. Move the entire event loop into this file, inside the action event_loop.

- src/event_loop.h: Add new header file for respective file.

- src/helper_fns.c: Add new file. Move all helper related functions/procedures/actions into this file.

- src/helper_fns.h: Add new header file for respective file.

- src/main.c: Move tons of code into other files, particularly all helper actions/procedures. Move event loop into src/event_loop.c. Restructure code to minimize the number of externs needed. (user: beyert, tags: trunk, 0.6.0-RELEASE)

21:51 [792a85d50b] - README: Change wording and cleanup formatting. (user: beyert, tags: trunk, 0.5.5-RELEASE)
21:42 [4b6ad1fa2d] - README: Update commentary regarding Imlib2. (user: beyert, tags: trunk, 0.5.5-RELEASE)
21:27 [5f162de8c9] - src/args.c: Prefer Uncompressed files by default.

- src/ Update version to 0.5.5, because substantial changes have been made. Note dependencies, in case they are not in the default

- src/main.c: Add optional Imlib2.h support again, since it is sometimes faster than xpm.h. Rearrange code to avoid hardcoded box size. Also avoid hardcoded background size. Coincientially, due to a rearrangement of code, rendering now seems significantly faster than before with xpm.h. Since the performance is much better with the xpm backend than it was previously, it is up to the user which one is better. Imlib2 is probably faster, and has better error reporting in the case of invalid pixmaps, however, xpm is a smaller library, and is likely to be more secure. (user: beyert, tags: trunk, 0.5.5-RELEASE)

02:48 [c627aeb451] - src/ Update version to 0.5.2.

- src/main.c: Increase performance of drawing further by using single operation XpmReadFileToPixmap, instead of the slower dual operation XpmReadFileToXpmImage and XpmCreatePixmapFromXpmImage. It still seems slower than the Imlib2 xpm version, but it is much faster than before. Catch one case of a missing image that was omitted in the previous commit. Simplify image loading code greatly. (user: beyert, tags: trunk, 0.5.2-RELEASE)

02:06 [20b0bae0ee] - src/main.c: Create illusion of a faster drawing algorithm by delaying drawing of both windows (which is triggered by XClearWindow) until both pixmaps are loaded and set to the background of their respective windows. Also, specify width and height dimensions of pixmaps using XpmImage data members and XpmAttributes. Fix some logic errors in the code. (user: beyert, tags: trunk, 0.5.1-RELEASE)
21:55 [d7e347b98f] - src/args.c: Implement support for --gzip_compress_on / -g and --gzip_compress_off / -G options.

- src/main.c: Implement support for the prefer_uncompressed option. (user: beyert, tags: trunk, 0.5.1-RELEASE)

21:13 [3bcff50cc6] - src/ Update version to 0.5.1.

- src/main.c: Prefer gzipped pixmaps, if available.

- themes/Blue_Marble/bg.xpm: Delete this file, since we now use the gzipped pixmap as the default in the distribution.

- themes/Blue_Marble/bg.xpm.gz: Add this file, since the themes now handle gzipped pixmaps.

- themes/Blue_Marble/box.xpm: Delete this file, since we now use the gzipped pixmap as the default in the distribution. - themes/Blue_Marble/box.xpm.gz: Add this file, since the themes now handle gzipped pixmaps.

- themes/Blue_Marble/ Update theme version to 1.3. (user: beyert, tags: trunk, 0.5.1-RELEASE)

10:35 [6298a0d7b6] - src/ Get rid of obsolete reference to Imlib2. (user: beyert, tags: trunk, 0.5.0-RELEASE)
10:28 [6f14c5ccd2] - README: More changes in wording regarding the deprecation of Imlib2 in this program. (user: beyert, tags: trunk, 0.5.0-RELEASE)
10:26 [92d4b8df31] - README: Note that Imlib2 is no longer required or used by the program. (user: beyert, tags: trunk, 0.5.0-RELEASE)
10:23 [66d02e1525] - Increment version to 0.5.0-RELEASE. Get rid of Imlib2 in LIBS, add Xpm in LIBS. (Imlib2 is no longer used, Xpm covers the same role in this program)

- main.c: Change headers to use xpm.h instead of Imlib2.h. Get rid of Imlib2 specific jargon, and use xpm equivalents for loading an image from a file and converting it to a pixmap. Print error messages if xpm loading or xpm to pixmap conversion fails. (user: beyert, tags: trunk, 0.5.0-RELEASE)

08:51 [578f26d93e] - themes/Blue_Marble/ Rename from themes/Blue_Marble/metadata. Make compliant with Makefile includes for distfile generation. Increment version to 1.2 for this reason. All variables have a theme_ prefix to avoid collisions. All future themes must include at least the theme_name and theme_version variables to assist in automated distfile generation, and this metadata must be contained in the file (user: beyert, tags: trunk, 0.4.6-RELEASE)
08:26 [262aeb555f] - README: Change to reflect the fact that the only image format supported is xpm, not png anymore. (user: beyert, tags: trunk, 0.4.6-RELEASE)
08:18 [586b840d50] - src/Makefile: chown and chmod files in default theme directory.

- themes/Blue_Marble/bg.xpm: Replace with high quality conversion. (Sadly, the xpms that were smaller than pngs were greatly washed out images with reduced colors)

- themes/Blue_Marble/box.xpm: Replace with high quality conversion.

- themes/Blue_Marble/metadata: Update version to 1.1, due to using proper xpm files. Add email as well. (user: beyert, tags: trunk, 0.4.6-RELEASE)

08:05 [4e15fe4395] - themes/Blue_Marble/metadata: Add metadata file to "Blue_Marble" theme. This will be required for all themes, although as a matter of policy, rather than for immediate use by the program. (user: beyert, tags: trunk, 0.4.6-RELEASE)
07:46 [a72b12acca] - src/ Increment version to 0.4.6-RELEASE.

- src/main.c: Change all usages of png to xpm. (Amazingly, the files are SMALLER????)

- themes/Blue_Marble/bg.png: Delete from repository.

- themes/Blue_Marble/bg.xpm: Add to repository.

- themes/Blue_Marble/box.png: Delete from repository.

- themes/Blue_Marble/box.xpm: Add to repository. (user: beyert, tags: trunk, 0.4.6-RELEASE)

07:36 [0245de410c] - src/Makefile: Adjust Makefile to install "theme" specified in Significant adjustments made to all targets. The dist target is subject to change, and is untested.

- src/args.c: Add support for -t / --theme argument. Set theme_name to the DEFAULT_THEME if none are specified.

- src/ Increment version to 0.4.5. Set the DEFAULT_THEME.

- src/main.c: Write code to take theme_name into account. Basic error testing performed.

- themes/Blue_Marble/bg.png: Rename from res/bg.png

- themes/Blue_Marble/box.png: Rename from res/box.png (user: beyert, tags: trunk, 0.4.5-RELEASE)

06:08 [33d4f72c67] - README: Improve README. (user: beyert, tags: trunk, 0.4.1-RELEASE)
06:05 [7910c3dd02] - README: Improve README. Make it consistent with wiki. (user: beyert, tags: trunk, 0.4.1-RELEASE)
05:53 [1ab1920618] - src/args.c: Replace all USE_* macro usages with WITH_* macro usages.

- src/ Increment version to 0.4.1. Replace all USE_* macro usages with WITH_* macro usages. Improve comments. Get rid of, or note redundant content.

- src/main.c: Replace all USE_* macro usages with WITH_* macro usages. (user: beyert, tags: trunk, 0.4.1-RELEASE)

04:23 [95f4e2c28f] - src/args.c: Select an appropriate default font based on whether or not Xft is used.

- src/ Increment version to 0.4.0, because many changes were made, particularly regarding optional Xft support. Add Xft related options to LIBS and CPPFLAGS. Change all usages of CPPFLAGS named HAVE_* to USE_*.

- src/main.c: Add (optional) Xft support. Use macros to add additional cases wherever Xft code might differ from regular Xlib font code. Change all usages of CPPFLAGS named HAVE_* to USE_*. Make deallocation at the end of the program more detailed (add Xft related deallocation calls, as well as previously missing XFreeGC calls). Improve retext drawing algorithm in some cases, when dealing with typing in the password. (this was necessary to get the proper text appearance when Xft is used, although the difference is not visually evident when Xft support is disabled). (user: beyert, tags: trunk, 0.4.0-RELEASE)

04:45 [d62eed4b2b] - src/args.c: Fix getopt (ultragetopt) support. It was not working properly when the ultragetopt_long procedure was used, so adjust the macro usage accordingly.

- src/ Increment version to 0.3.1. Instead of USE_ULTRAGETOPT, use the internal variable ULTRAGETOPT_REPLACE_GETOPT instead. This allows ultragetopt to emulate the interface of other getopt implementations. (user: beyert, tags: trunk, 0.3.1-RELEASE)

04:24 [7f4db9c67c] - res/box.png: Add new file. (Forgot to add this before...) (user: beyert, tags: trunk, 0.3.0-RELEASE)
04:23 [40d78c3a37] - Makefile: Install box png resource as well in targets.

- Increment version.

- main.c: Don't use the same pixmap to draw the login box, make it a different pixmap. Account for box related pixmap variables. Make x/y size of box constants. Adjust pixmap rendering code to render two different pixmaps. (user: beyert, tags: trunk, 0.3.0-RELEASE)

21:08 [e56d08d189] - src/main.c: Set imgfn to "" to prevent invalid default values from messing up the image filename. (user: beyert, tags: trunk, 0.2.9-RELEASE)
06:31 [1eef1a5cf6] - src/ Minor changes to documentation on ultragetopt. (user: beyert, tags: trunk, 0.2.9-RELEASE)
06:28 [01e10ede74] - src/args.c: Use native ultragetopt_long command when ultragetopt is specified, to get rid of warnings.

- src/ When ultragetopt is used, as it is in the default, it needs to be added (-lultragetopt) to LIBS. (user: beyert, tags: trunk, 0.2.9-RELEASE)

23:13 [b5915ac1a4] - src/args.c: minor cleanup on --help command format. (user: beyert, tags: trunk, 0.2.9-RELEASE)
23:07 [a3ce8e8a11] - src/args.c: Implement support for --border_width/-b argument.

- src/main.c: Make border width of login box optional. (default: 0) (user: beyert, tags: trunk, 0.2.9-RELEASE)

03:36 [fa4f87b296] - src/args.c: Change commandline arguments. Show long options as well with -h. Implement -f/--font option. (defaults to fixed if font does not exist. If no argument is specified, and it is available, it defaults to size 24 Helvetica). Adjust names of other options to be more consistent.

- src/main.c: Get rid of window destruction of the SimpleWindow, because that is already handled by destroying the parent window, and its presence causes errors on the program exit. (although it did not cause any known security problems). Get rid of obsolete or extraneous code. Get rid of third argument to action draw_box, because it is redundant. (user: beyert, tags: trunk, 0.2.9-RELEASE)

02:23 [b171e47d00] - src/ Update to version 0.2.9, due to login box drawing improvements.

- src/main.c: Draw Text in a "box" which is a SimpleWindow contained within the root window. This ensures that text is properly centered now... Dimensions and fonts are likely to be customizable in the near future, although this is not yet implemented. Many details on the drawing algorithm (particularly the code organization) are likely to be improved soon, and are subject to change. (user: beyert, tags: trunk, 0.2.9-RELEASE)

11:29 [c54457455b] - src/main.c: Calculate string length differently for pline to fix a display bug for first character typed or deleted. Handle line-feeds differently on termination conditions if verbosity > 1. Portray character return for high verbosity settings. (user: beyert, tags: trunk, 0.2.8-RELEASE)
09:19 [084fc2ea4b] - .fossil-settings/ignore-glob: Ignore the screenshots/ directory. (user: beyert, tags: trunk, 0.2.8-RELEASE)
08:08 [8e711250e1] - src/ Update version to 0.2.8. Forgot to do this in the last commit... (user: beyert, tags: trunk, 0.2.8-RELEASE)
08:05 [76dea2c724] - src/main.c: Major security fix in drawing algorithm to prevent all currently known core dumps. (yes, it was previously possible in some cases to crash the application in most/all older versions) For this reason, DO NOT use any prior versions any more. Only draw/show the first 32 characters of the password. Reset the password if the user types in 256 characters without submitting the password. The program from this point on, is *presumably* secure, and has undergone some hostile user testing... (although more testing is certainly welcome) (user: beyert, tags: trunk, 0.2.8-RELEASE)
07:07 [0e75b611b5] - src/ Fix tag numbering system, which should be three octaves instead of two. I don't like using values larger than 9 for the second octave, generally. This way, it gives a more accurate portrayal of the program being in early stages of development. (user: beyert, tags: trunk, 0.2.7-RELEASE)
06:59 [7908a399c4] - .fossil-settings/ignore-glob: Add file which contains matches to ignore from the fossil extras command. (user: beyert, tags: trunk, 0.2.7-RELEASE)
05:24 [5b02a7798a] - src/args.c: Change long option --log_level to --verbosity, and change respective short option from -l to -v. Change --version short option from -v to -V. (user: beyert, tags: trunk, 0.2.7-RELEASE)
05:11 [682e848195] - src/Makefile: Add new source file args.c to SRC.

- src/alloc.c: Handle allocations and deallocations of script 2d arrays.

- src/alloc.h: Header file.

- src/args.c: Change all script char arrays to 2d char arrays. Adjust all optarg support for script related commands.

- src/ Update to version 0.27, due to the signficant changes made to the memory allocation as well as proper execv support. This is enough to increment two minor versions.

- src/main.c: Implement support for execv. Now scripts of multiple arguments may be used, provided that each argument, including the command consists of less than or equal to 255 characters, and that fewer than 64 arguments are used, counting the command itself. If these restrictions prove to be prohibitive, then these values may be changed in the file alloc.c. Support for compile time macros will be implemented in the near future. (user: beyert, tags: trunk, 0.2.7-RELEASE)

06:55 [11c94d0f1c] - src/args.c: Make some minor adjustments to the code. (user: beyert, tags: trunk, 0.2.6-RELEASE)
06:47 [df14ec9592] - src/args.c: Changed all command argument parsing code to use getopt. The ultragetopt implementation is strongly recommended, and is officially supported. Change several option names. Implement proper long argument support. This is the first step towards implementing argument support for script keybindings.

- src/ Check in regular include and lib directories in addition to the X11 versions. Note that only ultragetopt is officially supported.

- src/main.c: Update options to be consistent with variable name changes in args.c. (user: beyert, tags: trunk, 0.2.6-RELEASE)

10:26 [6ba4d07fb2] - src/Makefile: Fix dist target, particularly in how it handles subdirectories. In dist target, include image, as well other missing files. Make aware of presence of args.c, and handle headers as well. Make sure it copies to a dist subdirectory, rather than the current directory.

- src/args.c: Include headers as needed.

- src/args.h: Add new header file. Include prototype of action handle_args.

- src/main.c: Adjust to include header file of args instead of the c file. (user: beyert, tags: trunk, 0.2.5-RELEASE)

10:00 [ef51d0534f] - res/bg.png: Add sample "default" background. My own work, distributed under the same license as the project itself. The color variety could be better, but the texture is very good. (user: beyert, tags: trunk, 0.2.5-RELEASE)
05:22 [ccf0afc661] - src/Makefile: Various improvements, fix distfile generation. Improve precision of uninstall target. (user: beyert, tags: trunk, 0.2.5-RELEASE)