Skip to content
Permalink
Browse files

Implement an about:runtime page and :runtime command to view and

change runtime settings.  Settings that have been modified show in a
highlighted color in the table.  Tooltips describe the setting's
function, as well as the default values.
  • Loading branch information...
jrick committed Jul 31, 2012
1 parent d38f66d commit 7d377d0d8dc75fc51040127dff495988f2b184af
Showing with 1,720 additions and 323 deletions.
  1. +7 −2 Makefile
  2. +131 −133 about.c
  3. +192 −0 ascii2txt.pl
  4. +8 −2 freebsd/Makefile
  5. +7 −1 linux/Makefile
  6. +1,141 −173 settings.c
  7. +93 −0 txt2tooltip.pl
  8. +1 −1 unix.c
  9. +0 −1 xombrero.1
  10. +59 −8 xombrero.c
  11. +81 −2 xombrero.h
@@ -35,7 +35,7 @@ CPPFLAGS+= -DXOMBRERO_BUILDSTR=\"$(BUILDVERSION)\"

MANDIR= ${PREFIX}/man/man

CLEANFILES += ${.CURDIR}/javascript.h javascript.h xombrero.cat1 xombrero.core
CLEANFILES += ${.CURDIR}/javascript.h javascript.h tooltip.h xombrero.cat1 xombrero.core

JSFILES += hinting.js
JSFILES += input-focus.js
@@ -49,6 +49,11 @@ javascript.h: ${JSFILES} js-merge-helper.pl
perl ${.CURDIR}/js-merge-helper.pl \
${JSCURDIR} > javascript.h

tooltip.h: ${MAN} ascii2txt.pl txt2tooltip.pl
mandoc -Tascii ${.CURDIR}/${MAN} | \
perl ${.CURDIR}/ascii2txt.pl | \
perl ${.CURDIR}/txt2tooltip.pl > tooltip.h

beforeinstall:
install -m 755 -d ${PREFIX}/bin
install -m 755 -d ${PREFIX}/man/man1/
@@ -64,7 +69,7 @@ beforeinstall:
install -m 644 ${.CURDIR}/style.css ${PREFIX}/share/xombrero
install -m 644 ${.CURDIR}/hsts-preload ${PREFIX}/share/xombrero

${PROG} ${OBJS} beforedepend: javascript.h
${PROG} ${OBJS} beforedepend: javascript.h tooltip.h

# clang targets
.if ${.TARGETS:M*analyze*}
Oops, something went wrong.

0 comments on commit 7d377d0

Please sign in to comment.
You can’t perform that action at this time.