From 2c60c493852024ddd75044ff9057fe5b26066cb7 Mon Sep 17 00:00:00 2001 From: Max Odnoletkov <1752162+odnoletkov@users.noreply.github.com> Date: Fri, 18 May 2018 22:32:46 +0300 Subject: [PATCH 01/34] Fix #569: Pass command line args through to the stage view (#823) --- include/tig/git.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tig/git.h b/include/tig/git.h index 761198399..56151d593 100644 --- a/include/tig/git.h +++ b/include/tig/git.h @@ -27,12 +27,12 @@ #define GIT_DIFF_STAGED(encoding_arg, context_arg, space_arg, old_name, new_name) \ "git", "diff-index", (encoding_arg), "--root", "--patch-with-stat", "-C", "-M", \ - "--cached", "--diff-filter=ACDMRTXB", DIFF_ARGS, (context_arg), (space_arg), "HEAD", \ + "--cached", "--diff-filter=ACDMRTXB", DIFF_ARGS, "%(cmdlineargs)", (context_arg), (space_arg), "HEAD", \ "--", (old_name), (new_name), NULL #define GIT_DIFF_UNSTAGED(encoding_arg, context_arg, space_arg, old_name, new_name) \ "git", "diff-files", (encoding_arg), "--root", "--patch-with-stat", "-C", "-M", \ - DIFF_ARGS, (context_arg), (space_arg), "--", (old_name), (new_name), NULL + DIFF_ARGS, "%(cmdlineargs)", (context_arg), (space_arg), "--", (old_name), (new_name), NULL /* Don't show staged unmerged entries. */ #define GIT_DIFF_STAGED_FILES(output_arg) \ From cbad6545a7513d8296eeafa91ca6341e291f1f05 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Thu, 12 Apr 2018 22:20:14 -0400 Subject: [PATCH 02/34] Use view flags to apply the grep view's line number fix --- src/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw.c b/src/draw.c index 50a84f878..e27b3f09c 100644 --- a/src/draw.c +++ b/src/draw.c @@ -490,7 +490,7 @@ view_column_draw(struct view *view, struct line *line, unsigned int lineno) * in grep mode by special-treating that view. */ if (draw_lineno(view, column, column_data.line_number ? *column_data.line_number : lineno, - strcmp(view->name, "grep"))) + !view_has_flags(view, VIEW_GREP_LIKE))) return true; continue; From acb472d282292730d5e8009e4664985ee58c39e2 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 18 May 2018 15:43:28 -0400 Subject: [PATCH 03/34] Update compat/hashtab.c with latest libiberty version Synced from https://github.com/gcc-mirror/gcc/commit/8e8f6434760cfe2a1c6c9644181189fdb4d987bb:w --- compat/hashtab.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/compat/hashtab.c b/compat/hashtab.c index 10d9b381e..c4d6361a0 100644 --- a/compat/hashtab.c +++ b/compat/hashtab.c @@ -1,6 +1,5 @@ /* An expandable hash tables datatype. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1999-2018 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@cygnus.com). This file is part of the libiberty library. @@ -965,17 +964,17 @@ iterative_hash (const PTR k_in /* the key */, c += length; switch(len) /* all the case statements fall through */ { - case 11: c+=((hashval_t)k[10]<<24); - case 10: c+=((hashval_t)k[9]<<16); - case 9 : c+=((hashval_t)k[8]<<8); + case 11: c+=((hashval_t)k[10]<<24); /* fall through */ + case 10: c+=((hashval_t)k[9]<<16); /* fall through */ + case 9 : c+=((hashval_t)k[8]<<8); /* fall through */ /* the first byte of c is reserved for the length */ - case 8 : b+=((hashval_t)k[7]<<24); - case 7 : b+=((hashval_t)k[6]<<16); - case 6 : b+=((hashval_t)k[5]<<8); - case 5 : b+=k[4]; - case 4 : a+=((hashval_t)k[3]<<24); - case 3 : a+=((hashval_t)k[2]<<16); - case 2 : a+=((hashval_t)k[1]<<8); + case 8 : b+=((hashval_t)k[7]<<24); /* fall through */ + case 7 : b+=((hashval_t)k[6]<<16); /* fall through */ + case 6 : b+=((hashval_t)k[5]<<8); /* fall through */ + case 5 : b+=k[4]; /* fall through */ + case 4 : a+=((hashval_t)k[3]<<24); /* fall through */ + case 3 : a+=((hashval_t)k[2]<<16); /* fall through */ + case 2 : a+=((hashval_t)k[1]<<8); /* fall through */ case 1 : a+=k[0]; /* case 0: nothing left to add */ } From 4d045874f50d5fd11eff8c46ac562f0f96156a57 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 18 May 2018 15:54:36 -0400 Subject: [PATCH 04/34] Fix #824: Workaround potential null pointer dereferences --- compat/hashtab.c | 2 +- src/line.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compat/hashtab.c b/compat/hashtab.c index c4d6361a0..3f3171c58 100644 --- a/compat/hashtab.c +++ b/compat/hashtab.c @@ -728,7 +728,7 @@ htab_remove_elt_with_hash (htab_t htab, PTR element, hashval_t hash) PTR *slot; slot = htab_find_slot_with_hash (htab, element, hash, NO_INSERT); - if (*slot == HTAB_EMPTY_ENTRY) + if (!slot || *slot == HTAB_EMPTY_ENTRY) return; if (htab->del_f) diff --git a/src/line.c b/src/line.c index b78457b69..fd0f52942 100644 --- a/src/line.c +++ b/src/line.c @@ -206,8 +206,8 @@ init_colors(void) { struct line_rule query = { "default", STRING_SIZE("default") }; struct line_rule *rule = find_line_rule(&query); - int default_bg = rule->info.bg; - int default_fg = rule->info.fg; + int default_bg = rule ? rule->info.bg : COLOR_BLACK; + int default_fg = rule ? rule->info.fg : COLOR_WHITE; enum line_type type; /* XXX: Even if the terminal does not support colors (e.g. From 2282264cd009c80dee200fc669ebf31038088c91 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 18 May 2018 16:47:24 -0400 Subject: [PATCH 05/34] Rework #790 to define newscr in tig.h if undefined (#797) * Rework #790 to define newscr in tig.h if undefined * Fix warning when NCURSES_WIDECHAR is undefined --- include/tig/display.h | 4 ++-- include/tig/tig.h | 5 +++++ src/tig.c | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/include/tig/display.h b/include/tig/display.h index 467cf66d8..63954b6a1 100644 --- a/include/tig/display.h +++ b/include/tig/display.h @@ -58,8 +58,8 @@ void enable_mouse(bool enable); enum status_code open_script(const char *path); -#define get_cursor_pos(cursor_y, cursor_x) getyx(curscr, cursor_y, cursor_x) -#define set_cursor_pos(cursor_y, cursor_x) wmove(curscr, cursor_y, cursor_x) +#define get_cursor_pos(cursor_y, cursor_x) getyx(newscr, cursor_y, cursor_x) +#define set_cursor_pos(cursor_y, cursor_x) wmove(newscr, cursor_y, cursor_x) #endif /* vim: set ts=8 sw=8 noexpandtab: */ diff --git a/include/tig/tig.h b/include/tig/tig.h index bdec98ad4..20e55769f 100644 --- a/include/tig/tig.h +++ b/include/tig/tig.h @@ -95,6 +95,11 @@ #undef FALSE #endif +#ifndef newscr +/* `newscr` is a ncurses-ism, and doesn't exist in netbsd-curses. (#790) */ +#define newscr curscr +#endif + #if __GNUC__ >= 3 #define TIG_NORETURN __attribute__((__noreturn__)) #define PRINTF_LIKE(fmt, args) __attribute__((format (printf, fmt, args))) diff --git a/src/tig.c b/src/tig.c index 2f3a0495d..4b7d55e4d 100644 --- a/src/tig.c +++ b/src/tig.c @@ -514,7 +514,7 @@ parse_options(int argc, const char *argv[], bool pager_mode) printf("tig version %s\n", TIG_VERSION); #ifdef NCURSES_VERSION printf("%s version %s.%d\n", -#if NCURSES_WIDECHAR +#ifdef NCURSES_WIDECHAR "ncursesw", #else "ncurses", From 408a805fb95dbe88cfe17940ab760f2c2fbe2d7d Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 18 May 2018 16:41:31 -0400 Subject: [PATCH 06/34] Update NEWS --- NEWS.adoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/NEWS.adoc b/NEWS.adoc index aa60cbc36..c10e2427d 100644 --- a/NEWS.adoc +++ b/NEWS.adoc @@ -1,6 +1,25 @@ Release notes ============= +master +------ + +Improvements: + + - Add 'send-child-enter' option to control interaction with child views. (#791) + - Update make config defaults for Cygwin to ncurses6. (GH #792) + - Build against netbsd-curses. (GH #789) + +Bug fixes: + + - Fix `file(1)` argument on Linux used for resolving encodings. (GH #788) + - Fix underflow in the file search. (GH #800, #801) + - Fix line numbers in grep view when scrolled. (GH #813) + - Pass command line args through to the stage view. (GH #569, #823) + - Fix resource leak. (GH #780) + - Fix various compiler warnings and pointer arithmetic. (GH #799, #803) + - Workaround potential null pointer dereferences. (GH #824) + tig-2.3.3 --------- From 0e8e05ce423a52a25248d9a17dfa5cda396fd2f0 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 18 May 2018 17:23:03 -0400 Subject: [PATCH 07/34] Fail the Travis build if a test fails --- tools/travis.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/travis.sh b/tools/travis.sh index 7e6a9720e..7c9df1c1c 100755 --- a/tools/travis.sh +++ b/tools/travis.sh @@ -1,5 +1,8 @@ #!/bin/bash +set -euo pipefail +IFS=$'\n\t' + build_config () { cp contrib/config.make . make all-debug From 35a0a448d0044d2143eee7f8992d527a9f5f033d Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 18 May 2018 17:43:31 -0400 Subject: [PATCH 08/34] Require sudo to run LeakSanitizer --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8cb71cde7..687d6f2dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ language: c -sudo: false +# LeakSanitizer requires ptrace capabilities +# https://github.com/travis-ci/travis-ci/issues/9033 +sudo: required addons: apt: From bfd1927955b12c9908ad108aa1748c1480d339f5 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 18 May 2018 18:16:22 -0400 Subject: [PATCH 09/34] Test address sanitizer in a separate build --- .travis.yml | 18 ++++++++++-------- tools/travis.sh | 39 +++++++++++++++++++++++++++------------ 2 files changed, 37 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 687d6f2dd..ed5cd0211 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,5 @@ language: c - -# LeakSanitizer requires ptrace capabilities -# https://github.com/travis-ci/travis-ci/issues/9033 -sudo: required +sudo: false addons: apt: @@ -12,10 +9,8 @@ addons: - valgrind env: - global: - matrix: - - TRAVIS_TIG=autoconf - - TRAVIS_TIG=config + - TIG_BUILD=autoconf + - TIG_BUILD=config.make compiler: - gcc @@ -25,6 +20,13 @@ script: tools/travis.sh matrix: include: + - env: TIG_BUILD=address-sanitizer + compiler: clang + os: linux + # LeakSanitizer requires ptrace capabilities + # https://github.com/travis-ci/travis-ci/issues/9033 + sudo: required + script: tools/travis.sh - if: branch = master os: osx env: diff --git a/tools/travis.sh b/tools/travis.sh index 7c9df1c1c..02dc306eb 100755 --- a/tools/travis.sh +++ b/tools/travis.sh @@ -3,35 +3,50 @@ set -euo pipefail IFS=$'\n\t' -build_config () { +build_config_make() { cp contrib/config.make . make all-debug make update-docs && git diff --exit-code make test make test TEST_OPTS=valgrind - if [ $CC = clang ]; then make test-address-sanitizer; fi - make DESTDIR=/tmp/bare-destdir install install-doc - make DESTDIR=/tmp/bare-destdir uninstall - test ! -d /tmp/bare-destdir + make prefix=/tmp/bare-prefix install install-doc /tmp/bare-prefix/bin/tig --version make prefix=/tmp/bare-prefix uninstall test ! -d /tmp/bare-prefix + make distclean } -build_autoconf () { +build_autoconf() { make dist ./configure --prefix=/tmp/conf-prefix - make V=1 TEST_SHELL=bash all test install install-doc + make V=1 TEST_SHELL=bash all test + + make install install-doc /tmp/conf-prefix/bin/tig --version make uninstall test ! -d /tmp/conf-prefix + + make DESTDIR=/tmp/bare-destdir install install-doc + /tmp/bare-destdir/tmp/conf-prefix/bin/tig --version + make DESTDIR=/tmp/bare-destdir uninstall + test ! -d /tmp/bare-destdir + make clean } -if [[ $TRAVIS_TIG = config ]]; then - build_config -elif [[ $TRAVIS_TIG = autoconf ]]; then - build_autoconf -fi +build_address_sanitizer() { + cp contrib/config.make . + make test-address-sanitizer +} + +case "$TIG_BUILD" in + config.make) build_config_make ;; + autoconf) build_autoconf ;; + address-sanitizer) build_address_sanitizer ;; + + *) + echo "Unknown config: $TIG_BUILD" + exit 1 +esac From 8a4effa904e71e7c4d8c726a7e31963774c6814b Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 18 May 2018 16:29:20 -0400 Subject: [PATCH 10/34] Fix #821: Add key mappings for single and double quotes --- NEWS.adoc | 2 ++ doc/tigrc.5.adoc | 3 ++- src/keys.c | 13 ++++++------- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/NEWS.adoc b/NEWS.adoc index c10e2427d..9487f3193 100644 --- a/NEWS.adoc +++ b/NEWS.adoc @@ -19,6 +19,8 @@ Bug fixes: - Fix resource leak. (GH #780) - Fix various compiler warnings and pointer arithmetic. (GH #799, #803) - Workaround potential null pointer dereferences. (GH #824) + - Bind to single and double quotes by using the ** and + ** key mappings. (GH #821) tig-2.3.3 --------- diff --git a/doc/tigrc.5.adoc b/doc/tigrc.5.adoc index 859595d89..f75cff997 100644 --- a/doc/tigrc.5.adoc +++ b/doc/tigrc.5.adoc @@ -599,7 +599,8 @@ bind to the `<` key. **, ** or **, **, **, ** or **, ** or **, ** or **, ** or **, ** or **, **, **, -** or **, **, **, ** ... ** +** or **, **, **, **, +**, ** ... ** To define key mappings with the `Ctrl` key, use ``. In addition, key combos consisting of an initial `Escape` key followed by a normal key value can diff --git a/src/keys.c b/src/keys.c index ef3c0ec93..b0b9d3744 100644 --- a/src/keys.c +++ b/src/keys.c @@ -243,6 +243,8 @@ static const struct key_mapping key_mappings[] = { { "ShiftDel", KEY_SDC }, { "ShiftHome", KEY_SHOME }, { "ShiftEnd", KEY_SEND }, + { "SingleQuote", '\'' }, + { "DoubleQuote", '"' }, }; static const struct key_mapping * @@ -314,14 +316,11 @@ get_key_value(const char **name_ptr, struct key *key) if (!mapping) return error("Unknown key mapping: %.*s", len, start); - if (mapping->value == ' ') - return parse_key_value(key, name_ptr, 0, " ", end); + if (strchr(" #<'\"", mapping->value)) { + const char replacement[] = { mapping->value, 0 }; - if (mapping->value == '#') - return parse_key_value(key, name_ptr, 0, "#", end); - - if (mapping->value == '<') - return parse_key_value(key, name_ptr, 0, "<", end); + return parse_key_value(key, name_ptr, 0, replacement, end); + } *name_ptr = end + 1; key->data.value = mapping->value; From 12c6dff274240fed83d245b19dabb3d44aeee1a9 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 18 May 2018 22:36:18 -0400 Subject: [PATCH 11/34] Change the blame view to have the same default columns as git-blame Closes #812 --- NEWS.adoc | 1 + test/blame/default-test | 157 +++++++++++++++++----------------- test/blame/revargs-test | 116 +++++++++++++------------ test/blame/start-on-line-test | 58 ++++++------- tigrc | 2 +- 5 files changed, 170 insertions(+), 164 deletions(-) diff --git a/NEWS.adoc b/NEWS.adoc index 9487f3193..356e7e2e2 100644 --- a/NEWS.adoc +++ b/NEWS.adoc @@ -9,6 +9,7 @@ Improvements: - Add 'send-child-enter' option to control interaction with child views. (#791) - Update make config defaults for Cygwin to ncurses6. (GH #792) - Build against netbsd-curses. (GH #789) + - Change the blame view to render more like `git blame`. (GH #812) Bug fixes: diff --git a/test/blame/default-test b/test/blame/default-test index 7f5feb615..24f3fe9c3 100755 --- a/test/blame/default-test +++ b/test/blame/default-test @@ -5,6 +5,7 @@ tigrc < AuthorDate: Tue Oct 29 18:46:52 2013 +0100 Commit: Sébastien Doeraene CommitDate: Tue Oct 29 18:46:52 2013 +0100 - + Update for new groupId and package structure of Scala.js. --- project/Build.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) - + diff --git a/project/Build.scala b/project/Build.scala index 560bca1..1713681 100644 --- a/project/Build.scala @@ -91,22 +92,22 @@ index 560bca1..1713681 100644 EOF assert_equals 'blame-with-diff-no-file-filter.screen' < AuthorDate: Tue Oct 29 18:46:52 2013 +0100 Commit: Sébastien Doeraene CommitDate: Tue Oct 29 18:46:52 2013 +0100 - + Update for new groupId and package structure of Scala.js. --- project/Build.scala | 2 +- @@ -115,7 +116,7 @@ CommitDate: Tue Oct 29 18:46:52 2013 +0100 tracer/Engine.scala | 2 +- tracer/JSTypes.scala | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) - + diff --git a/project/Build.scala b/project/Build.scala index 560bca1..1713681 100644 --- a/project/Build.scala @@ -123,33 +124,33 @@ index 560bca1..1713681 100644 EOF assert_equals 'blame-parent-of-74537d9.screen' < Date: Fri, 18 May 2018 22:44:06 -0400 Subject: [PATCH 12/34] Visually distinguish merge vs commit in utf-8 graph (#660) by returning smaller character "Bullet Operator" for ordinary commits. --- src/graph-v1.c | 2 +- src/graph-v2.c | 2 +- test/diff/diff-stat-split-test | 52 +- test/graph/00-simple-test | 6 +- test/graph/01-merge-from-left-test | 4 +- test/graph/02-duplicate-parent-test | 8 +- test/graph/03-octo-merge-test | 4 +- test/graph/04-missing-bar-test | 6 +- test/graph/05-extra-pipe-test | 4 +- test/graph/06-extra-bars-test | 96 +- test/graph/07-multi-collapse-test | 12 +- test/graph/08-multi-collapse-2-test | 14 +- test/graph/09-parallel-siblings-test | 10 +- test/graph/10-shorter-merge-than-branch-test | 16 +- test/graph/11-new-branch-in-middle-test | 10 +- test/graph/12-cross-over-collapse-test | 12 +- ...branches-with-different-middle-branch-test | 16 +- test/graph/14-long-collapse-line-test | 30 +- test/graph/15-many-merges-test | 24 +- test/graph/16-changes-test | 6 +- test/graph/17-more-merges-test | 34 +- test/graph/18-tig-test | 12 +- test/graph/19-tig-all-test | 68 +- test/graph/20-tig-all-long-test | 3648 ++++++++--------- .../graph/regression/horizontal-artifact-test | 10 +- .../regression/horizontal-bar-wrong-2-test | 16 +- test/main/commit-order-edge-case-test | 16 +- test/main/graph-argument-test | 28 +- test/main/start-on-line-test | 38 +- 29 files changed, 2102 insertions(+), 2102 deletions(-) diff --git a/src/graph-v1.c b/src/graph-v1.c index 89297d62e..aea1c0afe 100644 --- a/src/graph-v1.c +++ b/src/graph-v1.c @@ -357,7 +357,7 @@ graph_symbol_to_utf8(const struct graph_symbol *symbol) return " ◎"; else if (symbol->merge) return " ●"; - return " ●"; + return " ∙"; } if (symbol->merge) { diff --git a/src/graph-v2.c b/src/graph-v2.c index ebe2b9699..98f476e37 100644 --- a/src/graph-v2.c +++ b/src/graph-v2.c @@ -1041,7 +1041,7 @@ graph_symbol_to_utf8(const struct graph_symbol *symbol) return " ◎"; else if (symbol->merge) return " ●"; - return " ●"; + return " ∙"; } if (graph_symbol_cross_merge(symbol)) diff --git a/test/diff/diff-stat-split-test b/test/diff/diff-stat-split-test index 6a6fb7bdd..bb18121f5 100755 --- a/test/diff/diff-stat-split-test +++ b/test/diff/diff-stat-split-test @@ -19,33 +19,33 @@ in_work_dir create_repo_from_tgz "$base_dir/files/scala-js-benchmarks.tgz" test_tig assert_equals 'diff-stat.screen' < -2014-01-16 17:43 Jonas Fonseca ● Bump Scala.js version to 0.3-SNAPSHOT |AuthorDate: Sat Mar 1 17:26:01 2014 -0500 -2014-01-16 17:39 Jonas Fonseca ● Integrate app code into the benchmark infrastructure |Commit: Jonas Fonseca +2014-03-01 17:26 Jonas Fonseca ∙ [master] WIP: Upgrade to 0.4-SNAPSHOT and DCE |commit ee912870202200a0b9cf4fd86ba57243212d341e +2014-03-01 15:59 Jonas Fonseca ∙ Add type parameter for js.Dynamic |Refs: [master] +2014-01-16 22:51 Jonas Fonseca ∙ Move classes under org.scalajs.benchmark package scop|Author: Jonas Fonseca +2014-01-16 17:43 Jonas Fonseca ∙ Bump Scala.js version to 0.3-SNAPSHOT |AuthorDate: Sat Mar 1 17:26:01 2014 -0500 +2014-01-16 17:39 Jonas Fonseca ∙ Integrate app code into the benchmark infrastructure |Commit: Jonas Fonseca 2014-01-16 07:47 Jonas Fonseca ●─╮ Merge pull request #4 from phaller/patch-1 |CommitDate: Sat Mar 1 17:26:01 2014 -0500 -2014-01-16 15:32 Philipp Haller │ ● Fix link to Dart benchmark harness | -2013-12-17 00:02 Jonas Fonseca ●─╯ Update links to reflect project name change | WIP: Upgrade to 0.4-SNAPSHOT and DCE -2013-12-03 23:35 Jonas Fonseca ● Use Scala.js 0.2-SNAPSHOT |--- -2013-11-26 23:39 Jonas Fonseca ● Extract the benchmark list variable name; fix push to| common/benchmark-runner.sh | 5 +++-- -2013-11-26 23:31 Jonas Fonseca ● Solve the easiest sudoku grid | common/src/main/scala/org/scalajs/benchmark/Benchmark.scala | 11 +++++------ -2013-11-26 23:22 Jonas Fonseca ● Disable phantomjs by default | common/src/main/scala/org/scalajs/benchmark/BenchmarkApp.scala | 2 +- -2013-11-26 22:55 Jonas Fonseca ● Exclude Sudoku when running all benchmarks | common/start-benchmark.js | 9 +++++++-- -2013-11-26 22:52 Jonas Fonseca ● Fix reference setup to work for node | deltablue/exports.js | 13 ------------- -2013-11-26 22:03 Jonas Fonseca ● Move benchmark registration to Scala | .../src/main/scala/org/scalajs/benchmark/deltablue/DeltaBlue.scala | 7 +++++++ -2013-11-26 20:13 Jonas Fonseca ● Rename projects to be grouped together in Eclipse | project/Build.scala | 13 ++++--------- -2013-11-19 21:56 Jonas Fonseca ● sudoku: use iterator instead of Try() | project/build.sbt | 5 ++++- -2013-11-11 21:56 Jonas Fonseca ● Add verification of sudoku solutions | richards/exports.js | 13 ------------- -2013-11-11 21:50 Jonas Fonseca ● Use stream to halt when first sudoku solution has bee| .../src/main/scala/org/scalajs/benchmark/richards/Richards.scala | 3 +++ -2013-11-11 01:11 Jonas Fonseca ● Add initial version of sudoku benchmark | run.sh | 2 +- -2013-11-05 23:20 Jonas Fonseca ● Reformat code using Scala IDE | sudoku/exports.js | 13 ------------- -2013-11-05 20:41 Jonas Fonseca ● Update exports.js files to use new Scala.js class nam| sudoku/src/main/scala/org/scalajs/benchmark/sudoku/Sudoku.scala | 2 ++ -2013-11-03 23:48 Jonas Fonseca ● Add support for PhantomJS | tracer/exports.js | 13 ------------- -2013-11-03 23:11 Jonas Fonseca ● Make the engine stubs file optional | tracer/index-dev.html | 2 +- -2013-11-03 22:44 Jonas Fonseca ● Refactor the benchmark shell code | tracer/index.html | 2 +- +2014-01-16 15:32 Philipp Haller │ ∙ Fix link to Dart benchmark harness | +2013-12-17 00:02 Jonas Fonseca ∙─╯ Update links to reflect project name change | WIP: Upgrade to 0.4-SNAPSHOT and DCE +2013-12-03 23:35 Jonas Fonseca ∙ Use Scala.js 0.2-SNAPSHOT |--- +2013-11-26 23:39 Jonas Fonseca ∙ Extract the benchmark list variable name; fix push to| common/benchmark-runner.sh | 5 +++-- +2013-11-26 23:31 Jonas Fonseca ∙ Solve the easiest sudoku grid | common/src/main/scala/org/scalajs/benchmark/Benchmark.scala | 11 +++++------ +2013-11-26 23:22 Jonas Fonseca ∙ Disable phantomjs by default | common/src/main/scala/org/scalajs/benchmark/BenchmarkApp.scala | 2 +- +2013-11-26 22:55 Jonas Fonseca ∙ Exclude Sudoku when running all benchmarks | common/start-benchmark.js | 9 +++++++-- +2013-11-26 22:52 Jonas Fonseca ∙ Fix reference setup to work for node | deltablue/exports.js | 13 ------------- +2013-11-26 22:03 Jonas Fonseca ∙ Move benchmark registration to Scala | .../src/main/scala/org/scalajs/benchmark/deltablue/DeltaBlue.scala | 7 +++++++ +2013-11-26 20:13 Jonas Fonseca ∙ Rename projects to be grouped together in Eclipse | project/Build.scala | 13 ++++--------- +2013-11-19 21:56 Jonas Fonseca ∙ sudoku: use iterator instead of Try() | project/build.sbt | 5 ++++- +2013-11-11 21:56 Jonas Fonseca ∙ Add verification of sudoku solutions | richards/exports.js | 13 ------------- +2013-11-11 21:50 Jonas Fonseca ∙ Use stream to halt when first sudoku solution has bee| .../src/main/scala/org/scalajs/benchmark/richards/Richards.scala | 3 +++ +2013-11-11 01:11 Jonas Fonseca ∙ Add initial version of sudoku benchmark | run.sh | 2 +- +2013-11-05 23:20 Jonas Fonseca ∙ Reformat code using Scala IDE | sudoku/exports.js | 13 ------------- +2013-11-05 20:41 Jonas Fonseca ∙ Update exports.js files to use new Scala.js class nam| sudoku/src/main/scala/org/scalajs/benchmark/sudoku/Sudoku.scala | 2 ++ +2013-11-03 23:48 Jonas Fonseca ∙ Add support for PhantomJS | tracer/exports.js | 13 ------------- +2013-11-03 23:11 Jonas Fonseca ∙ Make the engine stubs file optional | tracer/index-dev.html | 2 +- +2013-11-03 22:44 Jonas Fonseca ∙ Refactor the benchmark shell code | tracer/index.html | 2 +- 2013-10-29 17:29 Jonas Fonseca ●─╮ Merge pull request #2 from sjrd/patch-2 | tracer/src/main/scala/org/scalajs/benchmark/tracer/Tracer.scala | 3 +++ -2013-10-29 18:48 Sébastien Doeraene │ ● Remove workaround to support Node.js. | 17 files changed, 42 insertions(+), 76 deletions(-) -2013-10-29 18:46 Sébastien Doeraene │ ● Update for new groupId and package structure of Sca| +2013-10-29 18:48 Sébastien Doeraene │ ∙ Remove workaround to support Node.js. | 17 files changed, 42 insertions(+), 76 deletions(-) +2013-10-29 18:46 Sébastien Doeraene │ ∙ Update for new groupId and package structure of Sca| [main] ee912870202200a0b9cf4fd86ba57243212d341e - commit 1 of 48 58%|[diff] ee912870202200a0b9cf4fd86ba57243212d341e - line 1 of 367 7% EOF diff --git a/test/graph/00-simple-test b/test/graph/00-simple-test index 9639b79df..dd80496fc 100755 --- a/test/graph/00-simple-test +++ b/test/graph/00-simple-test @@ -22,8 +22,8 @@ EOF assert_equals stdout <