| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2011-06-04 | Introduce conditional system | Tomas Bzatek | 9 | -31/+218 | |
| This is very basic scripting support - simple value retrieval and block conditionals. Defines could be either static from theme setup or programatically added during page generation. | |||||
| 2011-05-29 | setup: Fix wrong access() test | Tomas Bzatek | 1 | -1/+1 | |
| 2011-05-29 | Introduce new theming system | Tomas Bzatek | 9 | -494/+795 | |
| This extends current templating system to another dimension, bringing the possibility to have multiple themes generated at once. The purpose is to be able to switch between multiple designs, from PC to mobile, classic vs. flat view, slideshow, etc. For the moment, only the classic theme is available. Rules: * for switching between themes, place a link inside your template manually - it's not a cgg concern, only your theming infrastructure * don't forget to define different file names for index and album pages across different themes * it's recommended to keep default theme named as "index.*" to avoid showing directory listing on webserver Notes: * some TODOs will be fixed when we have new theme using these advanced features (e.g. pictures in album pages) * TODO: introduce tag/block conditional system, allow custom user defines for each theme/page * TODO: deprecate <show_go_up>, <show_exif_table> and <border style> in favor of conditionals (these tags belong to theming) | |||||
| 2011-03-31 | block-parser: Add function to mark block as used | Tomas Bzatek | 2 | -0/+24 | |
| Some blocks such as "IMG_LIST" are containers themselves and no data are retrieved from them. That way they don't ever get marked as used, resulting in constant hit in the generator loop. | |||||
| 2011-03-26 | Don't generate thumbnails for hidden items | Tomas Bzatek | 1 | -13/+15 | |
| 2011-03-03 | Fix atom feed paths | Tomas Bzatek | 4 | -35/+11 | |
| And convert it to use global path info. | |||||
| 2011-01-23 | Get thumbnail orientation when really needed | Tomas Bzatek | 4 | -35/+24 | |
| No need to store generated data during thread work anymore. | |||||
| 2011-01-23 | Indentation fixes | Tomas Bzatek | 5 | -38/+29 | |
| 2011-01-23 | Use g_build_{filename|path} when possible | Tomas Bzatek | 4 | -38/+39 | |
| This has a nice side effect of not having double slashes in paths anymore. | |||||
| 2011-01-23 | Consolidate paths in a separate struct | Tomas Bzatek | 7 | -59/+91 | |
| This will allow us to pass detailed path info to worker methods. Each path info instance is bound to a currently processed album and directory. Possibly move to struct TItems in the future. | |||||
| 2010-12-12 | setup: Code cleanup | Tomas Bzatek | 3 | -22/+26 | |
| 2010-12-12 | xml-parser: Cleanup | Tomas Bzatek | 4 | -57/+50 | |
| 2010-12-12 | Fix leaked struct | Tomas Bzatek | 1 | -3/+1 | |
| 2010-12-12 | jpeg-utils: Get rid of error handling macros | Tomas Bzatek | 1 | -91/+79 | |
| 2010-12-12 | Get rid of that global variables fear | Tomas Bzatek | 1 | -33/+16 | |
| 2010-12-12 | Use g_malloc0() | Tomas Bzatek | 1 | -3/+2 | |
| 2010-12-12 | Fix indentation | Tomas Bzatek | 3 | -4/+4 | |
| 2010-12-12 | Cleanup header defines | Tomas Bzatek | 11 | -31/+93 | |
| 2010-12-12 | items: Cleanup | Tomas Bzatek | 3 | -14/+14 | |
| 2010-12-12 | setup: Code cleanup | Tomas Bzatek | 3 | -31/+31 | |
| 2010-12-12 | jpeg-utils: Function data cleanup | Tomas Bzatek | 3 | -8/+8 | |
| 2010-12-05 | cgg-dirgen: Code cleanup | Tomas Bzatek | 1 | -7/+7 | |
| 2010-10-30 | Write image sizes for thumbnails in HTML files | Tomas Bzatek | 1 | -1/+10 | |
| 2010-10-30 | Don't resize an image if it fits in desired size | Tomas Bzatek | 2 | -18/+23 | |
| 2010-10-10 | Do crop and shave in one step | Tomas Bzatek | 1 | -5/+1 | |
| Silly me, this can be easily done at once. | |||||
| 2010-10-09 | Add support for squared thumbnails | Tomas Bzatek | 5 | -9/+61 | |
| Disabled by default, only very simple center crop implemented. The SQUARED_SIMPLE_SHAVE_AMOUNT constant may be slightly adjusted according to future experience. It's a really dumb algorithm which may not be suitable for every picture. Looking for a fast and smart algorithm to determine image weight center and radius, i.e. focus on object of interest. The OpenCV's face recognition features are worth to test and consider, though I fear the speed issues. | |||||
| 2010-10-09 | Plug some more memory leaks | Tomas Bzatek | 1 | -22/+17 | |
| 2010-10-08 | Plug some memory leaks | Tomas Bzatek | 3 | -0/+4 | |
| 2010-10-08 | Add basic Atom feed writer | Tomas Bzatek | 11 | -34/+530 | |
| 2010-10-07 | Add some more application constants | Tomas Bzatek | 1 | -1/+1 | |
| 2010-10-06 | Fix day of the week in EXIF date string | Tomas Bzatek | 1 | -0/+1 | |
| mktime() modifies tm_wday and tm_yday to correct values. | |||||
| 2010-07-22 | Add option to generate full gallery, overriding the nofullsize switch | Tomas Bzatek | 3 | -8/+15 | |
| This option takes the highest priority | |||||
| 2010-07-19 | Silence error messages when searching for setup file | Tomas Bzatek | 2 | -4/+11 | |
| Also print the setup file path in verbose mode. | |||||
| 2010-06-29 | Fix counting of hidden albums | Tomas Bzatek | 2 | -3/+5 | |
| 2009-10-18 | Plug memory leaks | Tomas Bzatek | 1 | -0/+3 | |
| 2009-10-18 | Dynamic memory allocation for string replace functions | Tomas Bzatek | 1 | -14/+39 | |
| This will fix all outstanding multithreading issues, coming from statically allocated memory, common for all threads. The algorithms have been further extended to allow input of any size. | |||||
| 2009-09-23 | Make thumbnail orientation independent of source image orientation | Tomas Bzatek | 4 | -10/+12 | |
| 2009-09-23 | Track image orientation separately, outside threading | Tomas Bzatek | 5 | -15/+24 | |
| Also fix forgotten two struct members :-o | |||||
| 2009-09-23 | Generate source image and thumbnail paths on demand | Tomas Bzatek | 2 | -24/+68 | |
| Another step to get rid of writes to unlocked objects during threading. | |||||
| 2009-09-23 | Optimize job manager index counting, filter out non-processable items | Tomas Bzatek | 1 | -34/+33 | |
| 2009-09-22 | Track job manager state in a separate list | Tomas Bzatek | 2 | -20/+44 | |
| The goal is to get rid of any writes to unlocked objects (album items) during thread work. | |||||
| 2009-09-20 | Avoid unnecessary locking | Tomas Bzatek | 1 | -3/+2 | |
| 2009-09-20 | Plug some memory leaks | Tomas Bzatek | 3 | -6/+13 | |
| 2009-05-10 | Remove #ifdef __DEBUG_ALL__ | Tomas Bzatek | 6 | -130/+19 | |
| 2009-05-10 | Consolidate data types | Tomas Bzatek | 19 | -499/+409 | |
| 2009-04-25 | Custom thumbnail file name format | Tomas Bzatek | 3 | -2/+26 | |
| 2009-04-25 | Update mode | Tomas Bzatek | 7 | -122/+200 | |
| By doing update, cgg will check the output structure for missing files and re-generate them as necessary. The decision whether an item (file, picture, album) needs to be updated is done by comparing timestamps (mtime specifically). Due to that reason it's important to keep this fact in mind when replacing single image which carries older timestamp than other files. Either don't use the update mode or 'touch' that new file. Changes made to any XML file will result in whole album re-generation (excluding subalbums). | |||||
| 2009-04-11 | Support for interspaces | Tomas Bzatek | 3 | -1/+18 | |
| 2009-04-11 | Print statistics in verbose mode | Tomas Bzatek | 13 | -46/+189 | |
| 2009-04-11 | User customizable image directories | Tomas Bzatek | 4 | -15/+34 | |
