summary refs log tree commit diff
path: root/port/wcwidth/Makefile
blob: f6932d6d44ec9928dd9a7c4fcd0ab287690bf5a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PREFIX = ~/.local

OBJS = wcwidth.o wcswidth.o
DYLIB = libwcwidth.dylib

${DYLIB}: ${OBJS}
	${CC} -dynamiclib ${LDFLAGS} ${OBJS} -o $@

wcwidth.o: nonspacing.h wide.h

clean:
	rm -f ${DYLIB} ${OBJS}

install: ${DYLIB}
	install -d ${PREFIX}/lib
	install -m 644 ${DYLIB} ${PREFIX}/lib

uninstall:
	rm -f ${PREFIX}/lib/${DYLIB}
", so drop it too. For a file with 2000 lines, this yields a saving of 40% (29% gzipped). While at it, fix the hover effect of line numbers: now the line number get a black background as was intended. Signed-off-by: Peter Wu <lekensteyn@gmail.com> Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08plain: don't append charset for binary MIME typesJohn Keeping When outputting the Content-Type HTTP header we print the MIME type and then append "; charset=<charset>" if the charset variable is non-null. We don't want a charset when we have selected "application/octet-stream" or when the user has specified a custom MIME type, since they may have specified their own charset. To avoid this, make sure we set the page's charset to NULL in ui-plain before we generate the HTTP headers. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08ui-log.c: Several simplificationsLukas Fleischer * Use argv_array_pushf() for inserting formatted strings. * Remove unneeded static strings. * Replace "if" by "else if" for readability and speed. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08Use argv_array in place of vectorLukas Fleischer Instead of using our own vector implementation, use argv_array from Git which has been specifically designed for dynamic size argv arrays. Drop vector.h and vector.c which are no longer needed. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08ui-stats.c: Remove unused macroLukas Fleischer Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08scan-tree.c: Remove unused macroLukas Fleischer This is no longer needed since commit fb3655df (use struct strbuf instead of static buffers, 2013-04-06). Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2013-09-14ui-shared: Drop filepair_cb_raw() and helperLukas Fleischer Remove filepair_cb_raw() and all related functions. These are no longer needed. We now use Git's internal functions for raw diff formatting everywhere. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2013-09-14ui-diff: Use diff_tree_sha1() for raw diff formattingLukas Fleischer