[vdr] Renaming of all *.c files in *.cpp or equivalent
Hi, I have a big wish for future development: Please rename all c++ files with *.c extensions into *.cpp or equivalent. Many IDEs may cope with *.c and treat them as c++ files. However, if not, you must force the IDE to do that, which is sometimes hard work to do. I think it is lesser work to rename them and edit the makefile to work with cpp for instance. I am using cpp as default extension for c++ files for long time now. What do you think about that? Denis ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Renaming of all *.c files in *.cpp or equivalent
On 02.01.2012 17:44, Denis Loh wrote: Hi, I have a big wish for future development: Please rename all c++ files with *.c extensions into *.cpp or equivalent. Many IDEs may cope with *.c and treat them as c++ files. However, if not, you must force the IDE to do that, which is sometimes hard work to do. I think it is lesser work to rename them and edit the makefile to work with cpp for instance. I am using cpp as default extension for c++ files for long time now. What do you think about that? I like *.c and will stay with it. If you really need to access the files as *.cpp, you could do for i in *.c; do echo ln -sf $i ${i}pp; done Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Renaming of all *.c files in *.cpp or equivalent
Well, it was just a thought, because there are many many naming conventions which suggests to use another extension than *.c like *.cc or *.cpp respectively. Mainly, it is only for better readability and to distinguish what type of code resided in the file. IDEs rely on this convention to decide which compiler it has to use. But I can live with it, because there is no real technical reason for renaming. Am 02.01.2012 18:07, schrieb Klaus Schmidinger: On 02.01.2012 17:44, Denis Loh wrote: Hi, I have a big wish for future development: Please rename all c++ files with *.c extensions into *.cpp or equivalent. Many IDEs may cope with *.c and treat them as c++ files. However, if not, you must force the IDE to do that, which is sometimes hard work to do. I think it is lesser work to rename them and edit the makefile to work with cpp for instance. I am using cpp as default extension for c++ files for long time now. What do you think about that? I like *.c and will stay with it. If you really need to access the files as *.cpp, you could do for i in *.c; do echo ln -sf $i ${i}pp; done Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Updated patch for vdr 1.7.22 in gentoo
On 02.01.2012 19:11 , Marc wrote: The patch applies, portage try several levels with patch and it succeeded at p1 (log start at 255). The modifications I've made work but you have more files that fail than me. Perhaps you use more use flags. I don't know if the extension patches are applied all the time or only when you set the use flag for them. You could try to build vdr without any use flag and see if it compiles. I got this patch installed without any errors, but it does not work (pressing rewind does not do anything).. In the setup-menu i see the LiveBuffer settings, but i can't enter the settings. I just started a vdrplugin-rebuild -se rebuild, so let's see if it's some other plugin that's screwing things up.. To add this patch to the overlay, have you tried to contact the maintainer ? It could be interested, its address is in the changelog. If i get this to work, then i'll do my best to persuade him to add this back to the overlay!! :-) Regards, René ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Updated patch for vdr 1.7.22 in gentoo
On 02.01.2012 23:44 , René wrote: On 02.01.2012 19:11 , Marc wrote: The patch applies, portage try several levels with patch and it succeeded at p1 (log start at 255). The modifications I've made work but you have more files that fail than me. Perhaps you use more use flags. I don't know if the extension patches are applied all the time or only when you set the use flag for them. You could try to build vdr without any use flag and see if it compiles. I got this patch installed without any errors, but it does not work (pressing rewind does not do anything).. In the setup-menu i see the LiveBuffer settings, but i can't enter the settings. I just started a vdrplugin-rebuild -se rebuild, so let's see if it's some other plugin that's screwing things up.. To add this patch to the overlay, have you tried to contact the maintainer ? It could be interested, its address is in the changelog. If i get this to work, then i'll do my best to persuade him to add this back to the overlay!! :-) A quick update.. Pressing the LiveBUffer menu-item in the setupmenu gives me the following in my logfile: Jan 3 00:42:27 vdr vdr: [16766] ERROR: Gentoo-VDR-Setup: menu System=LiveBuffer not known Does anyone know what this error means? if someone knows what's messed up in the previous error-message, then i get the same error for BigPatch Jan 3 00:42:29 vdr vdr: [16766] ERROR: Gentoo-VDR-Setup: menu System=BigPatch not known Regards, René ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Updated patch for vdr 1.7.22 in gentoo
On 02/01/2012 23:44, René wrote: On 02.01.2012 23:44 , René wrote: On 02.01.2012 19:11 , Marc wrote: The patch applies, portage try several levels with patch and it succeeded at p1 (log start at 255). The modifications I've made work but you have more files that fail than me. Perhaps you use more use flags. I don't know if the extension patches are applied all the time or only when you set the use flag for them. You could try to build vdr without any use flag and see if it compiles. I got this patch installed without any errors, but it does not work (pressing rewind does not do anything).. In the setup-menu i see the LiveBuffer settings, but i can't enter the settings. I just started a vdrplugin-rebuild -se rebuild, so let's see if it's some other plugin that's screwing things up.. To add this patch to the overlay, have you tried to contact the maintainer ? It could be interested, its address is in the changelog. If i get this to work, then i'll do my best to persuade him to add this back to the overlay!! :-) A quick update.. Pressing the LiveBUffer menu-item in the setupmenu gives me the following in my logfile: Jan 3 00:42:27 vdr vdr: [16766] ERROR: Gentoo-VDR-Setup: menu System=LiveBuffer not known Does anyone know what this error means? if someone knows what's messed up in the previous error-message, then i get the same error for BigPatch Jan 3 00:42:29 vdr vdr: [16766] ERROR: Gentoo-VDR-Setup: menu System=BigPatch not known Regards, René ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr I don't have livebuffer in the menu. I activated the livebuffer by setting 'Pause key handling' to 'Timeshit'. Regards, Marc. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Updated patch for vdr 1.7.22 in gentoo
On 03.01.2012 1:00 , Marc wrote: I don't have livebuffer in the menu. I activated the livebuffer by setting 'Pause key handling' to 'Timeshit'. Ok, is this something you have to manually edit in setup.conf? I don't have this option in the setup for recording.. Here i have only pause live video, do not pause live video and confirm pause live video.. Do you btw have to press pause to activate livebuffer, or can you just press rewind in the middle of playback? In the 1.6.x patch i don't have to press pause, i just press rewind.. Regards, René ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr