summaryrefslogtreecommitdiff
path: root/portato/gui (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rewrote Session as to use the normal ConfigParser and not our own oneRené 'Necoro' Neumann2010-03-141-1/+1
* Read translators from fileRené 'Necoro' Neumann2010-03-062-9/+6
* Merge branch 'best_icon'.René 'Necoro' Neumann2010-03-062-8/+18
|\
| * Only show best_icon, if the package can be installed w/o unmaskingRené 'Necoro' Neumann2010-03-061-2/+2
| * Show icon to signal the best package versionRené 'Necoro' Neumann2010-03-061-1/+15
| * improved image handlingRené 'Necoro' Neumann2010-03-062-7/+3
* | Use 'clear' instead of 'delete' for the search lineRené 'Necoro' Neumann2010-03-051-1/+1
* | Corrected typoRené 'Necoro' Neumann2010-03-051-1/+1
* | Reorderd parts of the menuRené 'Necoro' Neumann2010-03-051-3/+3
* | Fixed bug in preference windowRené 'Necoro' Neumann2010-03-051-2/+0
* | Fixed copyrightRené 'Necoro' Neumann2010-03-0521-21/+21
* | Save current search type in sessionRené 'Necoro' Neumann2010-03-051-3/+15
* | Added combo box for selecting the search type to main windowRené 'Necoro' Neumann2010-03-052-4/+42
* | Added Italian translation. Thanks to Ponsi.René 'Necoro' Neumann2009-11-081-0/+1
* | Fix the segfault in GLib due to wrong encodingRené 'Necoro' Neumann2009-10-241-0/+1
* | Adding revison info to version output.René 'Necoro' Neumann2009-10-243-2/+44
* | Objectified all the functional stuff in backend.__init__.René 'Necoro' Neumann2009-10-151-4/+3
* | Enhance the splash window handling.René 'Necoro' Neumann2009-10-082-2/+9
* | Also allow 'unselect all' in the PkgListRené 'Necoro' Neumann2009-10-051-1/+10
* | Now have it the sorted way in PkgListsRené 'Necoro' Neumann2009-10-052-3/+9
* | Enhanced system.sort_package_list to also sort CPVsRené 'Necoro' Neumann2009-10-051-1/+1
* | Added an PkgList window and rewrote UpdateWindow and WorldListWindow to use itRené 'Necoro' Neumann2009-10-053-39/+63
* | Add uninstall button and rename to PkgListWindowRené 'Necoro' Neumann2009-10-051-2/+17
* | First quick hack to have a world listRené 'Necoro' Neumann2009-10-053-2/+24
|/
* Re-formulate the debug message if a menu file has been found.René 'Necoro' Neumann2009-09-061-1/+1
* Update ui files with gladeRené 'Necoro' Neumann2009-09-068-72/+167
* Automatic loading of the external menuRené 'Necoro' Neumann2009-09-062-3/+25
* Make glade update the MainWindow.ui fileRené 'Necoro' Neumann2009-09-061-85/+134
* Moved the menu to an extra fileRené 'Necoro' Neumann2009-09-062-210/+207
* Print database type at the bottom of exceptions. NOTE: This does not handle m...René 'Necoro' Neumann2009-09-051-0/+2
* And here is the debugging again :) ... using ctypesRené 'Necoro' Neumann2009-09-031-1/+8
* Screw debugging ... prefer the ctypes approach to get rid of yet another c-mo...René 'Necoro' Neumann2009-09-032-23/+10
* Use this wrapper instead of ctypes to set the textdomain and stuff for the gt...René 'Necoro' Neumann2009-09-031-9/+5
* Add small wrapper to C-gettextRené 'Necoro' Neumann2009-09-031-0/+18
* Removed the 'translatable' attribute from 'gtk-*' stringsRené 'Necoro' Neumann2009-08-315-11/+11
* Release the threadQueue-Lock in syncv0.13René 'Necoro' Neumann2009-08-251-0/+1
* Sync portage and the DB after emerge syncRené 'Necoro' Neumann2009-08-111-0/+9
* Do not show masking label, if the package is not in system anymoreRené 'Necoro' Neumann2009-08-111-2/+2
* Add credits for translationRené 'Necoro' Neumann2009-08-101-0/+1
* Sort plugins in the windowRené 'Necoro' Neumann2009-07-051-13/+8
* Port DependencyDetailRené 'Necoro' Neumann2009-07-052-124/+2
* Also port FilesDetailRené 'Necoro' Neumann2009-07-052-34/+0
* Also ported EbuildDetailRené 'Necoro' Neumann2009-07-052-26/+1
* Add Changelog as PluginRené 'Necoro' Neumann2009-07-052-89/+65
* Add 'WidgetPlugin' classRené 'Necoro' Neumann2009-07-051-8/+12
* Add NotebookSlotRené 'Necoro' Neumann2009-05-202-0/+18
* Cleaned up dialogs importRené 'Necoro' Neumann2009-05-151-21/+18
* Get rid of wrapper.py and GtkConsoleRené 'Necoro' Neumann2009-05-154-338/+312
* Fix importRené 'Necoro' Neumann2009-05-151-1/+1
* Merge new (better) plugin system, now allowing to add widgetsRené 'Necoro' Neumann2009-05-153-27/+57
|\
mbarrassing thinko in cgit_check_cache() would truncate valid cachefiles in the following situation: 1) process A notices a missing/expired cachefile 2) process B gets scheduled, locks, fills and unlocks the cachefile 3) process A gets scheduled, locks the cachefile, notices that the cachefile now exist/is not expired anymore, and continues to overwrite it with an empty lockfile. Thanks to Linus for noticing (again). Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move global variables + callback functions into shared.cLars Hjemli4-82/+86 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move functions for generic object output into ui-view.cLars Hjemli4-34/+43 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move log-functions into ui-log.cLars Hjemli5-111/+121 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move repo summary functions into ui-summary.cLars Hjemli4-47/+59 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move functions for repolist output into ui-repolist.cLars Hjemli5-70/+90 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move common output-functions into ui-shared.cLars Hjemli4-82/+99 While at it, replace the cgit_[lib_]error constants with a proper function Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli4-28/+29 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 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>