summaryrefslogtreecommitdiff
path: root/pages/edit_timer.ecpp
AgeCommit message (Collapse)Author
2017-06-18Protect stored timers in SortedTimers listJasmin Jessich
- SortedTimers::GetByTimerId will now return "const cTimer *" to be sure the timer is never modified within live. Modifying or more worse deleting such a timer can lead to a segfault. This is no longer the case, but using const may protect future mistakes.
2017-06-18Fixed a memory leak when creating a new timerJasmin Jessich
2017-06-18Removed useless debug printingJasmin Jessich
2017-06-09Fixed lock order in edit_timer.ecppJasmin Jessich
- Move the schedules lock into a block and execute "new cTimer(..." with unlocked Schedules lists.
2017-05-21Use "std::unique_ptr" instead of "std::auto_ptr"Jasmin Jessich
- Compile plugin with C++11 compiler, to allow usage of "std::unique_ptr". - Added "-Wfatal-errors -Wall" to stop on the first error and switch on all warnings. - Removed autoptr.h and used "std::unique_ptr" instead where macro AUTO_PTR has been used. Checked also, if the pointers are used correctly, because "std::unique_ptr" is not 100% compatible to "std::auto_ptr", when the pointer is "moved". "std::unique_ptr" needs an explicit call to "std::move" in this case (AFAIU). Keep "std::auto_ptr" in the epgsearch interface!
2017-05-21Include file re-orderingJasmin Jessich
- Reorder all included header files to this order: * own headers * STL headers * VDR headers * system headers This has been done in all source and all own header files. Normally the STL headers should have gone after the VDR headers, but due to an compilation error with GCC 6 and the definition of swap in vdr/tools.h if __STL_CONFIG_H is not defined, the STL headers need to be before the VDR headers. Please note, that GCC 4.x, 5.x and 6.x do no longer define __STL_CONFIG_H resulting in the definition of swap in vdr/tools.h. This was no problem till GCC 6.x. To overcome the error in GCC 6.x, __STL_CONFIG_H is now defined in some headers before including a VDR header file, so that vdr/tools.h doe not define swap any more. Klaus S. might change the definition in vdr/tools.h with the next VDR version. So the setting of "__STL_CONFIG_H" may be removed. - Added all missing system/STL/VDR header files to the own header files, so that they can be included as first file. - Removed all unnecessary header file includes in source and own header files. - Used #include "..." only for header files in the same directory and #include <...> for all header files which need to be searched via the -I and built in path.
2017-05-20gcc-6 fixesJasmin Jessich
- New file autoptr.h to switch between "std::unique_ptr" and "std::auto_ptr" depending on the GCC version, by new macro AUTO_PTR. - Removed some "using namespace std" and add some "#define __STL_CONFIG_H" before including header files. This will not define "swap" in vdr/tools.h. - Remove also "using namespace std::tr1".
2017-04-02Silence compilation warnings.Rolf Ahrenberg
2017-04-01VDR-2.3.1 compatibility patch by Nachteule.Rolf Ahrenberg
http://www.vdr-portal.de/board16-video-disk-recorder/board55-vdr-plugins/p1280013-vdr-live-vdr-2-3-1/#post1280013
2013-04-13Fixed status toggle of timers, via the edit_timer dialog.Dieter Hametner
This bug was reported by user 'mhanu' in bug #1332.
2009-09-07new user management within setup that also handles different user rightsChristian Wieninger
2008-10-21some fixes for the directory entry within the edit timer menu, requiresChristian Wieninger
epgsearch-0.9.25.beta6
2008-10-20added a browsable directory field for timer editingChristian Wieninger
2008-10-07VDR default values for timers created with 'New timer'Christian Wieninger
2008-08-06- italian translation fix and TRANSLATORS message regarding "mm/dd/yyyy"Christian Wieninger
2008-04-10Commented out some debugging log statements to not clutter syslog withcvs-commit-353Dieter Hametner
to much information.
2008-03-23Some clean up in the timer editing call.Dieter Hametner
Prepeared timer edititing to be a popup like the epg-data. This is not finished yet and seems to have some problems with the form and the popup. So the overall functionality is disabled. Never the less some of the changes for this are of general interrest, so current work was commited. Changes in the styles for this.
2008-02-25Added new image for timer conflict notification.Dieter Hametner
Added a Force function to TimerConflicNotifier. Added the force notification to timer creation. First tests with this weren't very promising. Needs some thorough testing also at timer modification and deletion. Regenerated language header for backwards compatibilty.
2008-01-16- fix for #418 via DatePickerChristian Wieninger
2007-09-19- added missing include for vdr < 1.5.7Christian Wieninger
2007-09-19- fix translations in vdr-1.5.9Christian Wieninger
2007-07-24- Updated veltliner theme with changes from Ulf Kiener.Dieter Hametner
- Fixed new timer creation bug. - Fixed typo in styles.css
2007-07-22- Some changes to enhance W3C XHTML strict compatibility.Dieter Hametner
- Timer are called with epgid instead channelid and eventid.
2007-07-12- Update to the mootools framework.Dieter Hametner
- New more XHTML compliant tips. - Optional AJAX enabled infoboxes for epg information. - Major speed enhancement for the single pages, due to less data to transfer to the browser. - See doc/ChangeLog for more detailed changes description. - See doc/dev-conventions.txt for how we benefit from mootools package on the ECMAScript side of live.
2007-06-22- Introducing Mootools as base javascript library.Dieter Hametner
- ported Infobox javascript code to this library. - LiveSimpleAjaxRequest uses Ajax-Object from mootools. - Start of distribution of javascript in source form (not compiled into the live binary).
2007-06-06- Use GetConfigDir instead of USRDIR define.Dieter Hametner
- Unification of table markup (still needs some tweaking). - Adaption of styles.css to new table CSS classes.
2007-06-04- check for title when creating/editing a timer (#342)Christian Wieninger
2007-06-03- general CSS based themeing support.Dieter Hametner
- added setup option to select theme. - added search scheme for themable images and stylesheets. - added marine (default) and redwine theme. - documented new features. All developers must read doc/dev-conventions.txt
2007-06-02- edit_timer now jumps back to its referer after saving the timer instead of ↵Christian Wieninger
calling timers.html
2007-06-01- use history.back() onclick at "Cancel" button in edit_timer andMichael Brückner
edit_searchtimer.
2007-05-31- Added doc/ChangeLogDieter Hametner
- Added doc/css-themeing.txt - Implemented support for site wide style overrides. Fixes Bug #339 - Updated all pages to use the override mechanism. - Added needed files to Makefile - Introduced USRDIR configuration variable to Makefile.
2007-05-24Added nice frames around checkboxes and their labels, added logical labels ↵Thomas Keil
(you can click the label now to enable the checkbox/radio)
2007-05-01Numbers are now padded with leading zeroes if necessary, fixed Bug #275Thomas Keil
2007-04-29- xml version of infobox, updates only pagelements inside the box notDieter Hametner
whole box. This circumvents the tooltip stacking problem. - updated styles for this change. - updated i18n.cpp for this change. - Changed javascript implementation for infobox. - Box doesn't change size after first update. - added some <%cpp> { </%cpp> tags to prevent newlines inserted by tntnet. See tntnet documentation about this. - Added infobox to all pages that didn't had one.
2007-04-26- added login protection to the following pages: edit_searchtimer.ecppMichael Brückner
edit_timer.ecpp login.ecpp recordings.ecpp remote.ecpp schedule.ecpp searchresults.ecpp searchtimers.ecpp timers.ecpp whats_on.ecpp - replaced DOCTYPE at login.ecpp and whats_on.ecpp with page element "<& pageelems.doc_type &>"
2007-04-24- temporarly replaced new searchtimer button with button_new.pngMichael Brückner
- dont show something like "edit searchtimers" or "edit timers"
2007-04-24Various stuff, I'm in a hurryThomas Keil
2007-04-24Added Border-bottom for last lineThomas Keil
2007-04-24Styles prettierThomas Keil
2007-01-19- converted all tChannelID::ToString and *::FromString calls to the stream ↵Sascha Volkenandt
operators when streams are involved
2007-01-14Updated recordings tooltipps.Dieter Hametner
2007-01-12- added operators for streaming tChannelIDSascha Volkenandt
- passing tChannelID consistently
2007-01-09made logo xhtml conform. Use one logo-component defined in pageelemsDieter Hametner
2007-01-09fixed page layout (partly by Michi)Dieter Hametner
2007-01-07- renamed page_init.ecpp and page_exit.ecpp to *.ehSascha Volkenandt
2007-01-07- simplified error handlingSascha Volkenandt
- moved error_widget to error.ecpp as subcomponent - introduced error handling where necessary - moved creation of timer settings string from page to code - added redirect to edit_timer.ecpp after saving a timer
2007-01-07Michis header patch for edit_timersDieter Hametner
2007-01-07added styles and i18nThomas Keil
2007-01-06- added simple error handling and regrouped web pagesSascha Volkenandt
2007-01-06- implemented updating and adding timers from background threadSascha Volkenandt
- added function to "Save"-button of edit_timer