##// END OF EJS Templates
Remove 5s wait on inactivity on GUI inputhook loops...
Remove 5s wait on inactivity on GUI inputhook loops The 5s (and 1s) waits were originally added in commit 5074878, but the 5 second wait meant if you left the console for 5+ minutes idle, it would take up to 5 seconds for a response to a keypress. This tradeoff of CPU cycles for battery life seems too far. Note that commit 5074878 was originally for wx, glut and pyglet are based on the wx version and came into existence after commit 5074878.

File last commit:

r12661:a408ca51
r13125:f9e20986
Show More
Makefile
24 lines | 680 B | text/x-makefile | MakefileLexer
Jonathan Frederic
Updated makefile to generate tplx files for ALL tpl files....
r12661 TPLS := $(patsubst %.tpl,../latex/skeleton/%.tplx,$(wildcard *.tpl))
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608
Jonathan Frederic
Updated makefile to generate tplx files for ALL tpl files....
r12661 all: clean $(TPLS)
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608
Jonathan Frederic
Updated makefile to generate tplx files for ALL tpl files....
r12661 # Convert standard Jinja2 syntax to LaTeX safe Jinja2
# see http://flask.pocoo.org/snippets/55/ for more info
MinRK
fix skeleton template makefile
r12455 ../latex/skeleton/%.tplx: %.tpl
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608 @echo 'generating tex equivalent of $^: $@'
Jonathan Frederic
Updated makefile to generate tplx files for ALL tpl files....
r12661 @echo '((= Auto-generated template file, DO NOT edit directly!\n' \
' To edit this file, please refer to ../../skeleton/README.md' \
'=))\n\n' > $@
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608 @sed \
-e 's/{%/((*/g' \
-e 's/%}/*))/g' \
-e 's/{{/(((/g' \
-e 's/}}/)))/g' \
-e 's/{#/((=/g' \
-e 's/#}/=))/g' \
Matthias BUSSONNIER
lots of modification for latex
r9611 -e "s/tpl'/tplx'/g" \
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608 $^ >> $@
clean:
@echo "cleaning generated tplx files..."
Jonathan Frederic
Updated makefile to generate tplx files for ALL tpl files....
r12661 @-rm ../latex/skeleton/*.tplx