aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAge
* Update comments in CMakeLists.txt with findingsConfuSomu2021-04-08
* Fix accessing invalid day of week from arrayConfuSomu2021-04-08
* WFI in rendering loop when sleepingConfuSomu2021-04-08
* Update default datetime to more recent valuesConfuSomu2021-04-08
* Remove button testing from home_menu appConfuSomu2021-04-08
* Rewrite app_init to check for malloc/new failuresConfuSomu2021-04-08
* Add fixme in pico-watch.cConfuSomu2021-04-01
* Increase heap sizeConfuSomu2021-04-01
* Fix possible race condition when switching appConfuSomu2021-03-28
* Enable malloc debuggingConfuSomu2021-03-28
* Merge branch 'api-class'ConfuSomu2021-03-28
|\
| * Implement API method for setting current datetimeapi-classConfuSomu2021-03-28
| * Implement API method for choosing between stringsConfuSomu2021-03-28
| * Implement API method for popup forConfuSomu2021-03-16
| * Implement API method to ask user for yes/no choiceConfuSomu2021-03-16
| * Move display of popup in API to generic functionConfuSomu2021-03-16
| * Dump display backbuffer only onceConfuSomu2021-03-04
| * Fix footer and header background drawingConfuSomu2021-03-04
|/
* Enter shallow sleep when there are no interactionsConfuSomu2021-03-02
* Use bool in bgrefreshConfuSomu2021-03-01
* Merge branch 'api-class'ConfuSomu2021-03-01
|\
| * Fix race condition when refresh interval is smallConfuSomu2021-03-01
| * Implement API to set/get render intervalConfuSomu2021-03-01
| * Implement API method for setting performanceConfuSomu2021-03-01
| * Use header and footer methods in appsConfuSomu2021-03-01
| * Implement API method for display header textConfuSomu2021-03-01
| * Implement API method for displaying footer textConfuSomu2021-03-01
| * Remove popup tests from home_menuConfuSomu2021-03-01
| * Wait for button press then hide popupConfuSomu2021-03-01
| * Implement method in API for drawing a popupConfuSomu2021-03-01
| * Expose features from the OLED library in the APIConfuSomu2021-02-28
| * Refactor API function namesConfuSomu2021-02-27
| * Implement getDatetime function in APIConfuSomu2021-02-27
| * Remove unnecessary includesConfuSomu2021-02-27
| * Init selected_app in home_menu to a default valueConfuSomu2021-02-27
| * Use an Api class for abstractionConfuSomu2021-02-27
|/
* Use dynamic allocation of app variables/dataConfuSomu2021-02-20
* Disable VSCode C/C++ error underlinesConfuSomu2021-02-20
* Use namepace for main_clock appConfuSomu2021-02-20
* Adopt C++ConfuSomu2021-02-20
* Implement home menuConfuSomu2021-02-15
* Implement handling of button pressesConfuSomu2021-02-10
* Ignore cortex-debug state json filesConfuSomu2021-02-09
* Create a sort of framework for appsConfuSomu2021-02-08
* Move initalisation to init.h/init.cConfuSomu2021-02-07
* Set display contrast in defineConfuSomu2021-02-07
* Show dateConfuSomu2021-02-07
* Use custom function for time string formattingConfuSomu2021-02-06
* Implement clock baseConfuSomu2021-02-06
* Initial commitConfuSomu2021-01-31
pan> taginfo *info; if (!revname) revname = ctx.qry.head; strbuf_addf(&fullref, "refs/tags/%s", revname); if (get_sha1(fullref.buf, sha1)) { cgit_print_error("Bad tag reference: %s", revname); goto cleanup; } obj = parse_object(sha1); if (!obj) { cgit_print_error("Bad object id: %s", sha1_to_hex(sha1)); goto cleanup; } if (obj->type == OBJ_TAG) { tag = lookup_tag(sha1); if (!tag || parse_tag(tag) || !(info = cgit_parse_tag(tag))) { cgit_print_error("Bad tag object: %s", revname); goto cleanup; } html("<table class='commit-info'>\n"); htmlf("<tr><td>tag name</td><td>"); html_txt(revname); htmlf(" (%s)</td></tr>\n", sha1_to_hex(sha1)); if (info->tagger_date > 0) { html("<tr><td>tag date</td><td>"); cgit_print_date(info->tagger_date, FMT_LONGDATE, ctx.cfg.local_time); html("</td></tr>\n"); } if (info->tagger) { html("<tr><td>tagged by</td><td>"); cgit_open_filter(ctx.repo->email_filter, info->tagger_email, "tag"); html_txt(info->tagger); if (info->tagger_email && !ctx.cfg.noplainemail) { html(" "); html_txt(info->tagger_email); } cgit_close_filter(ctx.repo->email_filter); html("</td></tr>\n"); } html("<tr><td>tagged object</td><td class='sha1'>"); cgit_object_link(tag->tagged); html("</td></tr>\n"); if (ctx.repo->snapshots) print_download_links(revname); html("</table>\n"); print_tag_content(info->msg); } else { html("<table class='commit-info'>\n"); htmlf("<tr><td>tag name</td><td>"); html_txt(revname); html("</td></tr>\n"); html("<tr><td>Tagged object</td><td class='sha1'>"); cgit_object_link(obj); html("</td></tr>\n"); if (ctx.repo->snapshots) print_download_links(revname); html("</table>\n"); } cleanup: strbuf_release(&fullref); }