aboutsummaryrefslogtreecommitdiff
path: root/core/text/table
Commit message (Collapse)AuthorAgeFilesLines
* core:os -> core:os/old && core:os/os2 -> core:osJeroen van Rijn6 days2-8/+8
|
* Remove all `core:os` imports from JS targetsJeroen van Rijn6 days1-0/+2
| | | | Fix `local_tz_name` on FreeBSD.
* One more fix.Jeroen van Rijn7 days1-1/+1
|
* Update exampleJeroen van Rijn7 days1-11/+9
|
* core:text/table -> core:os/os2Jeroen van Rijn7 days1-4/+4
|
* Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-281-1/+1
| | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
* Further overhaul of package line comments.Jeroen van Rijn2025-10-091-1/+1
|
* core: improve package doc comments for the documentation generatorLaytan Laats2024-09-031-19/+10
|
* Fix `-vet-tabs` issuesgingerBill2024-08-241-1/+1
|
* Imply `#no_capture` to all variadic parametersgingerBill2024-07-141-1/+1
|
* Add more uses of `#no_capture`gingerBill2024-07-141-1/+1
|
* Add documentation for `write_decorated_table`Feoramund2024-06-261-0/+51
|
* Add `write_decorated_table` APIFeoramund2024-06-261-0/+79
|
* Add string caching example documentationFeoramund2024-06-241-0/+42
|
* Add complete example showcasing Unicode supportFeoramund2024-06-241-0/+81
|
* Make `core:text/table` examples more completeFeoramund2024-06-241-40/+60
| | | | | They should be completely copy-and-paste friendly now, without the assumption of someone using `using table`.
* Add `Width_Proc` documentationFeoramund2024-06-241-0/+31
|
* Remove `table.dirty`Feoramund2024-06-241-27/+2
|
* Let `WIDTH_PROC` be specified as proc argument to `write_*_table`Feoramund2024-06-241-9/+5
|
* Crunch the rangesFeoramund2024-06-241-6/+6
|
* Update `core:text/table` documentationFeoramund2024-06-201-8/+16
|
* Use `log.error` instead of `eprintf`Feoramund2024-06-201-1/+2
|
* Add new API to `core:text/table`Feoramund2024-06-201-18/+124
| | | | | | - `header/row_of_values`, same `header/row`, more verbose name - `aligned_header/row_of_values`, set alignment for an entire row - `header/row_of_aligned_values`, set alignment per value
* Clarify error messageFeoramund2024-06-201-1/+1
|
* Remove unneeded `loc` argumentFeoramund2024-06-201-1/+1
|
* Optimize printing of markdown tablesFeoramund2024-06-201-23/+34
| | | | Check only once if the table has a header row, instead of every row.
* Add Unicode support to `core:text/table`Feoramund2024-06-201-28/+41
|
* Use tabs to indent HTML tablesFeoramund2024-06-201-11/+11
|
* Don't `build` HTML tablesFeoramund2024-06-201-4/+0
| | | | | `build` only recalculates length and width information, and this is not needed for HTML tables.
* Rename `write_ascii_table` to `write_plain_table`Feoramund2024-06-202-2/+2
|
* Fix the format of some `doc.odin` files of the `core` library which did not ↵Maurizio M. Gavioli2024-04-141-22/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made into the documentation. `c/frontend/tokenizer`: add proper "Example:" header to demo example code, removed empty lines. `container/bit_array`: moved comment before package; aligned narrative lines to left margin; converted case lines into bulleted lines ("- "); converted individual examples to single-tab-indented preformatted text. `dynlib`: removed "//+build ignore" line; added newline at EOF. `image/netpmb`: converted indented lines of "Reading", "Wrting" and "Some syntax..." into bulleted lists; "Formats" indented lines kept as they are as the preformatted text seems relevant to keep the alignments; doubly indented lines kept as single-indented to keep them different (as the format does not allow for two-level bulleted lists); removed empy lines. `os/os2`: WIP, not modified `sys/info`: removed "//+build ignore" line; converted tab-indented initial description into regular left-margin comment; moved uncommented sample code within the doc comment as an "Example:"; moved simple- and double-tabbed separate comments with sample Windows and macOS outputs within the doc comment as bulleted headlines with preformatted output listings; removed now empty comments and blank lines after the package line. `text/i18n`: removed "//+build ignore" line; moved the pacakge line at the end; de-indented the tab-indented introductory narrative; moved sample code comments into the doc comment as tab-indented code with a proper "Example:" heading; removed "```" MD attempts at code formatting. `text/table`: unindented the comment lines of a descriptive kind; headlines of major subdivisions are marked as bold; kept code samples as tab-indented preformatted text (as there are several of them, the standard "Example:" and "Output:" headings cannot be used) removing the "```" MD attempts at code formatting; removed in-between blank lines.
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-1/+1
|
* Use positional and named arguments within the core librarygingerBill2023-06-211-1/+1
|
* Add missing packages to `examples/all`gingerBill2023-06-071-2/+0
|
* Fix typos in docoskarnp2023-03-271-3/+3
|
* Fix typooskarnp2023-03-261-3/+3
|
* Rename init procsoskarnp2023-03-261-6/+6
|
* Remove unnecessary #partial switchoskarnp2023-03-261-2/+2
|
* Remove unnecessary C style looposkarnp2023-03-261-1/+1
|
* Fix cell alignment to default to Left using ZIIoskarnp2023-03-261-8/+1
|
* Move helper procs into utility.odinoskarnp2023-03-262-8/+13
|
* text/table: Initial implementationoskarnp2023-03-262-0/+499