Mercurial > hg > toybox
annotate www/cleanup.html @ 1057:242c5de2bb22 draft
Replace for_each_pid_with_name_in_array_perform_callback_function_upon_translated_value() with name_to_pid(), comparing absolute paths or just basename() consistently as spotted by Lukasz Skalski, and adjust callers.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 03 Sep 2013 18:43:32 -0500 |
parents | 2b35f9c797ad |
children | f8432a8872e0 |
rev | line source |
---|---|
1056
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 <!--#include file="header.html" --> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 <h1>Cleaning up the toybox code.</h1> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 <p><a href=http://landley.net/notes.html#31-03-2013>Toybox |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 hasn't always taken proper advantage of external contributions</a>. |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 Lots of people want to help, but their contributions languish out of tree |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 or in the "pending" directory, awaiting cleanup.</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 <p>Toybox's design goals require simpler, tighter, and more explicit code |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 than most other implementations, among other reasons to allow better security |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 auditing. Writing "another" implementation of standard command line tools |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
13 isn't very interesting, they should be _better_ implementations. |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
14 Unfortunately, this means existing, working commands often take more effort to |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
15 clean up to Toybox's standards than writing a new one from scratch, not |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
16 because they don't work, but because we require an unusual level of polish.</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
17 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
18 <p>In hopes of teaching more people how to do this |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
19 cleanup work, I've started breaking cleanup changes into smaller chunks and |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
20 posting explanations of each change to the mailing list. |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
21 Below are indexes of each cleanup series. Line/byte totals of completed |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
22 series are given for scale, but the point of this work is simplicity, not |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
23 size.</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
24 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
25 <p>(Note: mercurial's web viewer doesn't follow renames, so the commit list |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
26 links may not show the final version of each file moved from the "pending" |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
27 directory to its final location. The summaries link the initial and cleaned |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
28 versions of each file when giving line counts.)</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
29 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
30 <hr> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
31 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
32 <p>General advice and/or policy:</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
33 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
34 <p><a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000850.html>Error messages and internationalization.</a></p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
35 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
36 <p><a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000891.html>Why not "const"?</a></p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
37 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
38 <p>(I leave the <a href=http://lkml.indiana.edu/hypermail/linux/kernel/1308.3/03890.html>Why not "bool"?</a> explanation to Linus Torvalds.)</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
39 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
40 <p><a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000893.html>Rationale for removing debug code</a>, the interesting bit says:</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
41 <blockquote><p>Rule of thumb: other people's debugging printfs are seldom as |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
42 useful as your own debugging printfs. Because you know what your output |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
43 _means_, and if you can't annotate the code to dump what you need you haven't |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
44 read enough of it yet. |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
45 </p></blockquote> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
46 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
47 <hr> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
48 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
49 <h1><a href=/hg/toybox/log/900/toys/pending/uuencode.c>uuencode</a> and |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
50 <a href=http:/hg/toybox/log/900/toys/pending/uudecode.c>uudecode</a> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
51 </h1> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
52 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
53 <p>This is an example of cleaning up something |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
54 that started in a condition most projects would be quite happy with. |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
55 The initial submission of uuencode and uudecode was a good high |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
56 quality contribution, written by a seasoned developer who did an excellent |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
57 job. It was still possible to shrink uuencode almost by half:</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
58 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
59 <ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
60 <li>old total: <a href=/hg/toybox/file/828/toys/pending/uuencode.c>116 lines (2743 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
61 bytes) in 7 functions</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
62 <li>new total: <a href=/hg/toybox/file/841/toys/posix/uuencode.c>67 lines (1440 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
63 bytes) in 1 function</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
64 </ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
65 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
66 <ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
67 <li>commit: <a href=/hg/toybox/rev/830>830</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
68 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000904.html>part 1</a> and |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
69 <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000903.html>part 2</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
70 <li>commit: <a href=/hg/toybox/rev/831>831</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
71 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000919.html>inline, default Y, move to toys/posix</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
72 <li>commit: <a href=/hg/toybox/rev/837>837</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
73 description: test suite.</li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
74 </ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
75 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
76 <p>Status: COMPLETE</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
77 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
78 <p>I tried to do the uudecode cleanup in smaller stages:</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
79 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
80 <ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
81 <li>old: <a href=/hg/toybox/file/828/toys/pending/uudecode.c>175 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
82 lines (4534 bytes) in 9 functions</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
83 <li>new: <a href=/hg/toybox/file/840/toys/posix/uudecode.c>107 lines |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
84 (2300 bytes) in 1 function</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
85 </ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
86 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
87 <ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
88 <li>commit: <a href=/hg/toybox/rev/833>833</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
89 description: preparatory adjustments to test suite.</li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
90 <li>commit: <a href=/hg/toybox/rev/835>835</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
91 description: todo</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
92 <li>commit: <a href=/hg/toybox/rev/838>838</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
93 description: todo</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
94 <li>commit: <a href=/hg/toybox/rev/839>839</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
95 description: todo</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
96 <li>commit: <a href=/hg/toybox/rev/839>839</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
97 description: todo (finish, move pending->posix, default y)</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
98 </ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
99 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
100 <p>Status: COMPLETE</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
101 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
102 <h1><a href=/hg/toybox/log/tip/toys/pending/ifconfig.c>ifconfig</a></h1> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
103 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
104 <p>The largest (ongoing) documented cleanup to date, still in progress:</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
105 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
106 <ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
107 <li>commit: <a href=/hg/toybox/rev/843>843</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
108 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000882.html>Explaining the ifconfig cleanup: part I.</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
109 <li>commit: <a href=/hg/toybox/rev/844>844</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
110 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000881.html>Explaining more ifconfig cleanup.</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
111 <li>commit: <a href=/hg/toybox/rev/852>852</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
112 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000921.html>cleanup</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
113 <li>commit: <a href=/hg/toybox/rev/856>856</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
114 description: A one line portability fix from Isaac Dunham</li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
115 <li>commit: <a href=/hg/toybox/rev/861>861</a> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
116 and <a href=/hg/toybox/rev/863>863</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
117 description: |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
118 <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000910.html>Help |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
119 infrastructure cleanup from Isaac Dunham</a> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
120 which I mis-applied and then <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000920.html>fixed plus some whitespace changes</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
121 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
122 <li>commit: <a href=/hg/toybox/rev/862>862</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
123 <a href=/hg/toybox/rev/864>864</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
124 <a href=/hg/toybox/rev/866>866</a>: todo</li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
125 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
126 <li>commit: <a href=/hg/toybox/rev/869>869</a> and <a href=/hg/toybox/rev/870>870</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
127 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000928.html>here</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
128 <li>commit: <a href=/hg/toybox/rev/878>878</a> and <a href=/hg/toybox/rev/879>879</a>: |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
129 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000946.html>here</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
130 <li>commit: <a href=/hg/toybox/rev/883>883</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
131 description: todo</li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
132 <li>commit: <a href=/hg/toybox/rev/898>898</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
133 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-May/000974.html>here</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
134 <li>commit: <a href=/hg/toybox/rev/905>905</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
135 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-May/000992.html>here</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
136 <li>commit: <a href=/hg/toybox/rev/906>906</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
137 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-May/000994.html>here</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
138 <li>commit: <a href=/hg/toybox/rev/907>907</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
139 <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-May/000995.html>here</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
140 </ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
141 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
142 <p>Status: in progress.</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
143 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
144 <h1><a href=/hg/toybox/log/tip/toys/pending/find.c>find</a></h1> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
145 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
146 <pre> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
147 814 Initial version by Gurang Shastri. |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
148 815 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
149 816 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
150 847 Felix Janda |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
151 848 Whitespace (reindent from tabs -> 2 spaces) |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
152 849 More cleanup |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
153 867 Felix Janda Improve operator processing. |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
154 874 Felix Janda |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
155 875 Felix Janda |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
156 887 Felix Janda fix -mtime |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
157 </pre> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
158 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
159 <ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
160 <li>commit: <a href=/hg/toybox/rev/849>849</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
161 description: <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000895.html>here</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
162 </ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
163 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
164 <p>Status: in progress.</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
165 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
166 <h1><a href=/hg/toybox/log/917/toys/pending/stat.c>stat</a></h1> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
167 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
168 <pre> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
169 747 initial submission |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
170 810 whitespace |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
171 811 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
172 871 whitespace (reindent from 4 spaces to 2) |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
173 872 Felix Janda cleanup |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
174 885 Felix Janda |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
175 move permission formatting (777 -> -rwxrwxrwx) from ls to lib so stat can reuse it. |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
176 886 Felix Janda remove unimplemented options and clean up help text |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
177 910 Felix Janda Add support for stating multiple files. |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
178 911 Felix Janda Separate stat and statfs. |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
179 912 <a href=/hg/toybox/rev/912>commit</a> <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-May/001019.html>description</a> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
180 <a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-May/001024.html>design pondering</a> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
181 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
182 914 916 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
183 </pre> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
184 <ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
185 <li>commit: <a href=/hg/toybox/rev/917>917</a></li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
186 <li>commit: <a href=/hg/toybox/rev/918>918</a>, |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
187 description: move to posix, default y.</li> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
188 </ul> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
189 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
190 <p>Status: COMPLETE.</p> |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
191 |
2b35f9c797ad
Pending cleanup page, less than half done. Some of it should probably move to the code style section.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
192 <!--#include file="footer.html" --> |