summaryrefslogtreecommitdiff
path: root/portato/gui/templates (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add database type to global config -- no user-config for the momentRené 'Necoro' Neumann2009-02-201-0/+35
* Add color btns to the preferences, so they are configurable here tooRené 'Necoro' Neumann2009-02-201-85/+184
* Make combos workRené 'Necoro' Neumann2009-02-191-14/+0
* TranslationsRené 'Necoro' Neumann2009-02-191-39/+123
* Make the plugin menu work againRené 'Necoro' Neumann2009-02-181-6/+10
* Remove the 'pause' hackRené 'Necoro' Neumann2009-02-181-0/+1
* Fix popupsRené 'Necoro' Neumann2009-02-182-55/+19
* Hide console menuRené 'Necoro' Neumann2009-02-181-0/+1
* Make it start - though there are still itches - esp. with the menuRené 'Necoro' Neumann2009-02-181-76/+62
* Converted glade filesRené 'Necoro' Neumann2009-02-1810-1097/+860
* Fix the 'GtkSpinButton' warningRené 'Necoro' Neumann2009-02-181-1/+1
* Added database choice to dialogRené 'Necoro' Neumann2009-02-181-2/+58
* Added an extra 'Portage' tab to the preference dialog and moved all portage r...René 'Necoro' Neumann2009-02-181-11/+36
* Updated translationRené 'Necoro' Neumann2009-01-281-1/+1
* Small changesRené 'Necoro' Neumann2009-01-151-1/+1
* Make the use list lazy tooRené 'Necoro' Neumann2008-12-051-6/+2
* Make the dependency list lazyRené 'Necoro' Neumann2008-12-051-108/+98
* some more 5px paddings in the preferencesRené 'Necoro' Neumann2008-11-241-1/+6
* Save pref window dimensions in sessionRené 'Necoro' Neumann2008-11-241-96/+97
* Make setlist scrollableRené 'Necoro' Neumann2008-11-241-6/+30
* Attach logfile to mailRené 'Necoro' Neumann2008-09-151-2/+22
* Preparing 0.11René 'Necoro' Neumann2008-07-281-2/+2
* Disable '--oneshot' button if senselessRené 'Necoro' Neumann2008-07-281-97/+98
* Removed obsolete queuePopupRené 'Necoro' Neumann2008-07-281-116/+97
* New --oneshot-cb worksRené 'Necoro' Neumann2008-07-281-98/+97
* First support for the new emerge optionsRené 'Necoro' Neumann2008-07-281-98/+127
* Added "$(version)" for the config file naming.René 'Necoro' Neumann2008-07-201-95/+96
* Make mailwindow modalRené 'Necoro' Neumann2008-07-101-50/+52
* Add tooltip to revert btnRené 'Necoro' Neumann2008-07-101-97/+98
* Updated translationsRené 'Necoro' Neumann2008-07-091-2/+2
* Merged in the portage-2.2 branchRené 'Necoro' Neumann2008-07-091-3/+39
|\
| * Added set selection in preferencesRené 'Necoro' Neumann2008-07-091-3/+39
* | Added ability to install missing plugin depsRené 'Necoro' Neumann2008-07-041-86/+86
* | Some window refinementRené 'Necoro' Neumann2008-07-031-109/+126
* | Should show dependencies nowRené 'Necoro' Neumann2008-07-031-80/+80
* | Now the new design is able to do the same as the old oneRené 'Necoro' Neumann2008-06-301-135/+130
* | First draft of the new plugin windowRené 'Necoro' Neumann2008-06-301-8/+172
|/
* Finished send_mail workRené 'Necoro' Neumann2008-06-231-50/+67
* First mail window draftRené 'Necoro' Neumann2008-06-221-0/+185
* Fixed 'kill' in the systray popupRené 'Necoro' Neumann2008-06-091-2/+2
* Updated docs and german translationRené 'Necoro' Neumann2008-06-081-2/+2
* Make the new behavior configurableRené 'Necoro' Neumann2008-06-081-7/+27
* Make the console title length changeable by the userRené 'Necoro' Neumann2008-06-081-16/+51
* Moved version list out of the PackageTable into the normal MainWindowRené 'Necoro' Neumann2008-06-071-98/+97
* Fixed copyright stringRené 'Necoro' Neumann2008-05-161-1/+1
* Fixed spellingRené 'Necoro' Neumann2008-05-151-2/+2
* Added shortcut for 'Reload Portage' - increased max. scrollback linesRené 'Necoro' Neumann2008-04-211-96/+98
* Added seqizz' nick to the translators listingsRené 'Necoro' Neumann2008-04-181-1/+1
* Some length restrictionsRené 'Necoro' Neumann2008-04-111-96/+99
* Added turkish translation. Thanks to Gürkan Gür.René 'Necoro' Neumann2008-03-281-1/+2
e='2006-12-11 12:10:12 +0100'>2006-12-11Avoid infinite loops in caching layerLars Hjemli3-14/+31 Add a global variable, cgit_max_lock_attemps, to avoid the possibility of infinite loops when failing to acquire a lockfile. This could happen on broken setups or under crazy server load. Incidentally, this also fixes a lurking bug in cache_lock() where an uninitialized returnvalue was used. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Let 'make install' clear all cachefilesLars Hjemli1-0/+2 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Fix cache algorithm loopholeLars Hjemli3-11/+16 This closes the door for unneccessary calls to cgit_fill_cache(). Noticed by Linus. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add version identifier in generated filesLars Hjemli2-9/+14 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add license file and copyright noticesLars Hjemli5-0/+372 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add caching infrastructureLars Hjemli9-28/+353 This enables internal caching of page output. Page requests are split into four groups: 1) repo listing (front page) 2) repo summary 3) repo pages w/symbolic references in query string 4) repo pages w/constant sha1's in query string Each group has a TTL specified in minutes. When a page is requested, a cached filename is stat(2)'ed and st_mtime is compared to time(2). If TTL has expired (or the file didn't exist), the cached file is regenerated. When generating a cached file, locking is used to avoid parallell processing of the request. If multiple processes tries to aquire the same lock, the ones who fail to get the lock serves the (expired) cached file. If the cached file don't exist, the process instead calls sched_yield(2) before restarting the request processing. Signed-off-by: Lars Hjemli <hjemli@gmail.com>