summary refs log tree commit diff
path: root/etc/psf/default.u
blob: 790ad92bdaa8887026502811147528833f4d971c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
#
# Character table extracted from font default8x16.psfu
#
0x000	U+2008
0x001	U+263a
0x002	U+263b
0x003	U+2665
0x004	U+2666
0x005	U+2663
0x006	U+2660
0x007	U+2022
0x008	U+25d8
0x009	U+25cb
0x00a	U+25d9
0x00b	U+2642
0x00c	U+2640
0x00d	U+266a
0x00e	U+266b U+266c
0x00f	U+263c
0x010	U+25b6 U+25ba
0x011	U+25c0 U+25c4
0x012	U+2195
0x013	U+203c
0x014	U+00b6
0x015	U+00a7
0x016	U+25ac
0x017	U+21a8
0x018	U+2191
0x019	U+2193
0x01a	U+2192
0x01b	U+2190
0x01c	U+221f U+2319
0x01d	U+2194
0x01e	U+25b2
0x01f	U+25bc
0x020	U+0020 U+00a0 U+2000 U+2001 U+2002 U+2003 U+2004 U+2005 U+2006 U+2007 U+2008 U+2009 U+200a U+202f
0x021	U+0021
0x022	U+0022
0x023	U+0023
0x024	U+0024
0x025	U+0025
0x026	U+0026
0x027	U+0027
0x028	U+0028
0x029	U+0029
0x02a	U+002a
0x02b	U+002b
0x02c	U+002c
0x02d	U+002d
0x02e	U+002e
0x02f	U+002f
0x030	U+0030
0x031	U+0031
0x032	U+0032
0x033	U+0033
0x034	U+0034
0x035	U+0035
0x036	U+0036
0x037	U+0037
0x038	U+0038
0x039	U+0039
0x03a	U+003a
0x03b	U+003b
0x03c	U+003c
0x03d	U+003d
0x03e	U+003e
0x03f	U+003f
0x040	U+0040
0x041	U+0041
0x042	U+0042
0x043	U+0043
0x044	U+0044
0x045	U+0045
0x046	U+0046
0x047	U+0047
0x048	U+0048
0x049	U+0049
0x04a	U+004a
0x04b	U+004b
0x04c	U+004c
0x04d	U+004d
0x04e	U+004e
0x04f	U+004f
0x050	U+0050
0x051	U+0051
0x052	U+0052
0x053	U+0053
0x054	U+0054
0x055	U+0055
0x056	U+0056
0x057	U+0057
0x058	U+0058
0x059	U+0059
0x05a	U+005a
0x05b	U+005b
0x05c	U+005c
0x05d	U+005d
0x05e	U+005e
0x05f	U+005f
0x060	U+0060
0x061	U+0061
0x062	U+0062
0x063	U+0063
0x064	U+0064
0x065	U+0065
0x066	U+0066
0x067	U+0067
0x068	U+0068
0x069	U+0069
0x06a	U+006a
0x06b	U+006b
0x06c	U+006c
0x06d	U+006d
0x06e	U+006e
0x06f	U+006f
0x070	U+0070
0x071	U+0071
0x072	U+0072
0x073	U+0073
0x074	U+0074
0x075	U+0075
0x076	U+0076
0x077	U+0077
0x078	U+0078
0x079	U+0079
0x07a	U+007a
0x07b	U+007b
0x07c	U+007c
0x07d	U+007d
0x07e	U+007e
0x07f	U+2302
0x080	U+00c7
0x081	U+00fc
0x082	U+00e9
0x083	U+00e2
0x084	U+00e4
0x085	U+00e0
0x086	U+00e5
0x087	U+00e7
0x088	U+00ea
0x089	U+00eb
0x08a	U+00e8
0x08b	U+00ef
0x08c	U+00ee
0x08d	U+00ec
0x08e	U+00c4
0x08f	U+00c5 U+212b
0x090	U+00c9
0x091	U+00e6
0x092	U+00c6
0x093	U+00f4
0x094	U+00f6
0x095	U+00f2
0x096	U+00fb
0x097	U+00f9
0x098	U+00ff
0x099	U+00d6
0x09a	U+00dc
0x09b	U+00a2
0x09c	U+00a3
0x09d	U+00a5
0x09e	U+20a7
0x09f	U+0192
0x0a0	U+00e1
0x0a1	U+00ed
0x0a2	U+00f3
0x0a3	U+00fa
0x0a4	U+00f1
0x0a5	U+00d1
0x0a6	U+00aa
0x0a7	U+00ba
0x0a8	U+00bf
0x0a9	U+2310
0x0aa	U+00ac
0x0ab	U+00bd
0x0ac	U+00bc
0x0ad	U+00a1
0x0ae	U+00ab
0x0af	U+00bb
0x0b0	U+2591
0x0b1	U+2592
0x0b2	U+2593
0x0b3	U+2502
0x0b4	U+2524
0x0b5	U+2561
0x0b6	U+2562
0x0b7	U+2556
0x0b8	U+2555
0x0b9	U+2563
0x0ba	U+2551
0x0bb	U+2557
0x0bc	U+255d
0x0bd	U+255c
0x0be	U+255b
0x0bf	U+2510
0x0c0	U+2514
0x0c1	U+2534
0x0c2	U+252c
0x0c3	U+251c
0x0c4	U+2500
0x0c5	U+253c
0x0c6	U+255e
0x0c7	U+255f
0x0c8	U+255a
0x0c9	U+2554
0x0ca	U+2569
0x0cb	U+2566
0x0cc	U+2560
0x0cd	U+2550
0x0ce	U+256c
0x0cf	U+2567
0x0d0	U+2568
0x0d1	U+2564
0x0d2	U+2565
0x0d3	U+2559
0x0d4	U+2558
0x0d5	U+2552
0x0d6	U+2553
0x0d7	U+256b
0x0d8	U+256a
0x0d9	U+2518
0x0da	U+250c
0x0db	U+2588
0x0dc	U+2584
0x0dd	U+258c
0x0de	U+2590
0x0df	U+2580
0x0e0	U+03b1
0x0e1	U+00df U+03b2
0x0e2	U+0393
0x0e3	U+03c0
0x0e4	U+03a3
0x0e5	U+03c3
0x0e6	U+00b5 U+03bc
0x0e7	U+03c4
0x0e8	U+03a6
0x0e9	U+0398
0x0ea	U+03a9 U+2126
0x0eb	U+03b4
0x0ec	U+221e
0x0ed	U+03c6 U+2205 U+2300
0x0ee	U+03b5 U+2208
0x0ef	U+2229
0x0f0	U+2261
0x0f1	U+00b1
0x0f2	U+2265
0x0f3	U+2264
0x0f4	U+2320
0x0f5	U+2321
0x0f6	U+00f7
0x0f7	U+2248
0x0f8	U+00b0
0x0f9	U+2219 U+22c5
0x0fa	U+00b7
0x0fb	U+221a
0x0fc	U+207f
0x0fd	U+00b2
0x0fe	U+220e U+25a0
0x0ff	U+00a0
:51 +0200'>2015-08-14clone: use cgit_print_error_page() instead of html_status()John Keeping This provides a formatted error response rather than a simple HTTP error. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-14cgit: use cgit_print_error_page() where appropriateJohn Keeping These are more-or-less one-to-one translations but in the final hunk we gain an HTTP error code where we used to send "200 OK", which is an improvement. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-14ui-shared: add cgit_print_error_page() functionJohn Keeping This will allow us to generate error responses with the correct HTTP response code without needing all of the layout boilerplate. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-14ui-patch: make sure to send http headersChristian Hesse Requesting a text/plain patch with bad commit id made cgit send text without proper http headers. This results in "500 Internal Server Error" with "Premature end of script headers" in server logs. So print http headers before error message and return. Signed-off-by: Christian Hesse <mail@eworm.de> Reviewed-by: John Keeping <john@keeping.me.uk> 2015-08-13Makefile: make "git/config.mak.uname" inclusion optionalJohn Keeping If we haven't got a "git" directory, it should still be possible to run "make get-git", so we cannot include this file unconditionally. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13ui-shared: show full date in tooltip if longer ago than max_relativeJohn Keeping Commit caed6cb (ui-shared: show absolute time in tooltip for relative dates, 2014-12-20) added a toolip when we show a relative time. However, in some cases we show a short date (that is, the date but not the time) if an event was sufficiently far in the past and that commit did not update that case to add the same tooltip. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13ui-shared: use common function in print_rel_date()John Keeping Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13ui-shared: extract date formatting to a functionJohn Keeping This will allow this code to be common with print_rel_date. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13filter: don't use dlsym unnecessarilyJohn Keeping We only need to hook write() if Lua filter's are in use. If support has been disabled, remove the dependency on dlsym(). Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13ui-tree: use "sane" isgraph()John Keeping Git's git-compat-util.h defines a "sane ctype" that does not use locale information and works with signed chars, but it does not include isgraph() so we have included ctype.h ourselves. However, this means we have to include a system header before git-compat-util.h which may lead to the system defining some macros (e.g. _FILE_OFFSET_BITS on Solaris) before git-compat-util.h redefines them with a different value. We cannot include ctype.h after git-compat-util.h because we have defined many of its functions as macros which causes a stream of compilation errors. Defining our own "sane" isgraph() using Git's sane isprint() and isspace() avoids all of these problems. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13cgit.h: move stdbool.h from ui-shared.hJohn Keeping Follow the Git policy of including system headers in only one place. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13cache.c: fix header orderJohn Keeping git-compat-util.h may define values that affect how system headers are interpreted, so move sys/sendfile.h after cgit.h (which includes git-compat-util.h). Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13configfile.c: don't include system headers directlyJohn Keeping git-compat-util.h may define various values that affect the interpretation of system headers. In most places we include cgit.h first, which pulls in git-compat-util.h, but this file does not depend on anything else in CGit, so use git-compat-util.h directly. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13Remove redundant includesJohn Keeping These are all included in git-compat-util.h (when necessary), which we include in cgit.h. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13Makefile: include Git's config.mak.unameJohn Keeping This pulls in the correct value of $(INSTALL) on a wide variety of systems. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13tests: allow shell to be overriddenJohn Keeping On some systems (e.g. Solaris), /bin/sh is not a POSIX shell. Git already provides suitable overrides in its config.mak.uname file and we provide cgit.conf to allow the user to further change this. The code for this is taken from Git's t/Makefile, meaning that we now invoke the tests in the same way that Git does. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-13redirect: cleanlinessJason A. Donenfeld 2015-08-13redirect: be more careful for different cgi setupsJason A. Donenfeld 2015-08-12ui-log: fix double countingJohn Keeping This crept in while rebasing the previous commit onto an updated upstream. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-12log: allow users to follow a fileJohn Keeping Teach the "log" UI to behave in the same way as "git log --follow", when given a suitable instruction by the user. The default behaviour remains to show the log without following renames, but the follow behaviour can be activated by following a link in the page header. Follow is not the default because outputting merges in follow mode is tricky ("git log --follow" will not show merges). We also disable the graph in follow mode because the commit graph is not simplified so we end up with frequent gaps in the graph and many lines that do not connect with any commits we're actually showing. We also teach the "diff" and "commit" UIs to respect the follow flag on URLs, causing the single-file version of these UIs to detect renames. This feature is needed only for commits that rename the path we're interested in. For commits before the file has been renamed (i.e. that appear later in the log list) we change the file path in the links from the log to point to the old name; this means that links to commits always limit by the path known to that commit. If we didn't do this we would need to walk down the log diff'ing every commit whenever we want to show a commit. The drawback is that the "Log" link in the top bar of such a page links to the log limited by the old name, so it will only show pre-rename commits. I consider this a reasonable trade-off since the "Back" button still works and the log matches the path displayed in the top bar. Since following renames requires running diff on every commit we consider, I've added a knob to the configuration file to globally enable/disable this feature. Note that we may consider a large number of commits the revision walking machinery no longer performs any path limitation so we have to examine every commit until we find a page full of commits that affect the target path or something related to it. Suggested-by: René Neumann <necoro@necoro.eu> Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-12shared: make cgit_diff_tree_cb publicJohn Keeping This will allow us to use this nice wrapper function elsewhere, avoiding dealing with the diff queue when we only need to inspect a filepair. Signed-off-by: John Keeping <john@keeping.me.uk> 2015-08-12t0110: Chain together using &&Jason A. Donenfeld 2015-08-12about: always ensure page has a trailing slashJason A. Donenfeld Otherwise we can't easily embed links to other /about/ pages. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2015-08-12filters: apply HTML escapingLazaros Koromilas http://www.w3.org/International/questions/qa-escapes#use 2015-08-12git: update to v2.5.0Christian Hesse Update to git version v2.5.0. * Upstream commit 5455ee0573a22bb793a7083d593ae1ace909cd4c (Merge branch 'bc/object-id') changed API: for_each_ref() callback functions were taught to name the objects not with "unsigned char sha1[20]" but with "struct object_id". * Upstream commit dcf692625ac569fefbe52269061230f4fde10e47 (path.c: make get_pathname() call sites return const char *) Signed-off-by: Christian Hesse <mail@eworm.de> 2015-08-12Fix processing of repo.hide and repo.ignoreDaniel Reichelt