Hello community, here is the log from the commit of package bff for openSUSE:Factory checked in at 2018-06-13 15:39:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bff (Old) and /work/SRC/openSUSE:Factory/.bff.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bff" Wed Jun 13 15:39:06 2018 rev:12 rq:615773 version:1.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/bff/bff.changes 2011-09-23 01:52:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.bff.new/bff.changes 2018-06-13 15:39:35.688109108 +0200 @@ -1,0 +2,6 @@ +Sun Jun 10 09:02:36 UTC 2018 - [email protected] + +- Update to 1.0.5: + * Add samples written in Brainfuck. + +------------------------------------------------------------------- Old: ---- bff-1.0.4.tar.gz New: ---- bff-1.0.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bff.spec ++++++ --- /var/tmp/diff_new_pack.bBNaIq/_old 2018-06-13 15:39:36.604075403 +0200 +++ /var/tmp/diff_new_pack.bBNaIq/_new 2018-06-13 15:39:36.612075109 +0200 @@ -1,7 +1,7 @@ # # spec file for package bff # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,21 +16,26 @@ # - Name: bff -Version: 1.0.4 -Release: 1 -License: BSD-3-Clause +Version: 1.0.5 +Release: 0 Summary: Slightly-optimizing Brainfuck interpreter -Url: http://swapped.cc/bf/ +License: BSD-3-Clause Group: Development/Languages/Other -Source: http://swapped.cc/bff/files/%{name}-%{version}.tar.gz - -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: http://swapped.cc/bf/ +Source: https://github.com/apankrat/bff/archive/v%{version}/%{name}-%{version}.tar.gz %description Slightly-optimizing (tm) Brainfuck interpreter +%package samples +Summary: Samples of code written in Brainfuck +Group: Development/Languages/Other +BuildArch: noarch + +%description samples +Some examples of programs written in Brainfuck. + %prep %setup -q @@ -39,10 +44,14 @@ %install install -D -m 755 bff %{buildroot}%{_bindir}/%{name} +install -d %{buildroot}%{_datadir}/bff-samples +install -m 644 samples/* %{buildroot}%{_datadir}/bff-samples %files -%defattr(-,root,root) +%doc README.md %{_bindir}/%{name} -%doc README + +%files samples +%{_datadir}/bff-samples %changelog ++++++ bff-1.0.4.tar.gz -> bff-1.0.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bff-1.0.4/README new/bff-1.0.5/README --- old/bff-1.0.4/README 2011-08-02 02:12:32.000000000 +0200 +++ new/bff-1.0.5/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,43 +0,0 @@ -bff 1.0.4 -========= - - Moderately-optimizing Brainfi*ck language interpreter - - http://swapped.cc/bf - -= - To build with GNU tools run - make - - To install in /usr/bin (not sure why you'd be wanting this though) - make install - - To clean up the build files - make clean - -= - 1.0.4 - Aug 1, 2011 - fixed xalloc() to zero newly allocated blocks - - 1.0.3.1 - Aug 2, 2004 - fixed a bug where programs starting with < or > command - were not handled properly - - 1.0.3 - Jul 29, 2004 - further optimized the main loop, now runs twice as fast - - 1.0.2 - Apr 27, 2004 - made it compilable under MSVC - added -Wall to Makefile - added missing string.h include - - 1.0.1 - Apr 27, 2004 - the cell array is now dynamically grown when exhausted; - the input may be read from the file - - 1.0.0 - Apr 26, 2004 - an initial public release - -========================================================================== -Copyright (c) 2004-11, Alex Pankratov ([email protected]). All rights reserved. - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bff-1.0.4/README.md new/bff-1.0.5/README.md --- old/bff-1.0.4/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/bff-1.0.5/README.md 2012-12-10 10:17:00.000000000 +0100 @@ -0,0 +1,46 @@ + bff 1.0.5 + ========= + + Moderately-optimizing brainfuck interpreter + + http://swapped.cc/bff + + = + To build with GNU tools run + make + + To install in /usr/bin (not sure why you'd be wanting this though) + make install + + To clean up the build files + make clean + + = + 1.0.5 - Dec 10, 2012 + fixed grow() as per Mitch Schwartz note + + 1.0.4 - Aug 1, 2011 + fixed xalloc() to zero newly allocated blocks + + 1.0.3.1 - Aug 2, 2004 + fixed a bug where programs starting with < or > command + were not handled properly + + 1.0.3 - Jul 29, 2004 + further optimized the main loop, now runs twice as fast + + 1.0.2 - Apr 27, 2004 + made it compilable under MSVC + added -Wall to Makefile + added missing string.h include + + 1.0.1 - Apr 27, 2004 + the cell array is now dynamically grown when exhausted; + the input may be read from the file + + 1.0.0 - Apr 26, 2004 + an initial public release + + ========================================================================== + Copyright (c) 2004-12, Alex Pankratov ([email protected]). All rights reserved. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bff-1.0.4/bff.c new/bff-1.0.5/bff.c --- old/bff-1.0.4/bff.c 2011-08-02 02:09:12.000000000 +0200 +++ new/bff-1.0.5/bff.c 2012-12-10 10:17:00.000000000 +0100 @@ -1,8 +1,8 @@ /* * Copyright (c) 2004 Alex Pankratov. All rights reserved. * - * Slightly-optimizing (tm) Brainfuck interpreter, 1.0.4 - * http://swapped.cc/bf + * Slightly-optimizing (tm) Brainfuck interpreter, 1.0.5 + * http://swapped.cc/bff */ /* @@ -58,11 +58,10 @@ (argc > 3) ) usage(); - /* open program file */ + /* open and read the program file */ if (argc > 1 && ! (fh = fopen(argv[1], "r"))) die("cannot open program file (%s)\n", argv[1]); - /* read proggy */ n = 0; p = 0; while (! feof(fh)) @@ -86,7 +85,7 @@ input = getc; } - /* strip comments */ + /* strip the comments */ for (i=j=0; i<n; i++) if (strchr("[]<>+-,.", p[i])) p[j++] = p[i]; @@ -253,14 +252,19 @@ inc = 3 * (pos - n) / 2; v = xalloc(v, (n+inc) * sizeof(int)); - memset(v + n, 0, inc * sizeof(int)); if (pos < 0) { /* underflow */ memmove(v + inc, v, n * sizeof(int)); + memset(v, 0, inc * sizeof(int)); *j += inc; } + else + { + /* overflow */ + memset(v + n, 0, inc * sizeof(int)); + } *jmax += inc; return v; @@ -277,8 +281,8 @@ void usage() { fprintf(stderr, - "bff: slightly-opimizing Brainfuck interpreter, 1.0.3.1, " - "http://swapped.cc/bf\n" + "bff: slightly-opimizing Brainfuck interpreter, 1.0.5, " + "http://swapped.cc/bff\n" "Usage: bff [<program file> [<input data file]]\n"); exit(-1); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bff-1.0.4/samples/mandelbrot.b new/bff-1.0.5/samples/mandelbrot.b --- old/bff-1.0.4/samples/mandelbrot.b 1970-01-01 01:00:00.000000000 +0100 +++ new/bff-1.0.5/samples/mandelbrot.b 2012-12-10 10:17:00.000000000 +0100 @@ -0,0 +1,145 @@ + A mandelbrot set fractal viewer in brainf*** written by Erik Bosman ++++++++++++++[->++>>>+++++>++>+<<<<<<]>>>>>++++++>--->>>>>>>>>>+++++++++++++++[[ +>>>>>>>>>]+[<<<<<<<<<]>>>>>>>>>-]+[>>>>>>>>[-]>]<<<<<<<<<[<<<<<<<<<]>>>>>>>>[-]+ +<<<<<<<+++++[-[->>>>>>>>>+<<<<<<<<<]>>>>>>>>>]>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>> +>+<<<<<<<<<<<<<<<<<[<<<<<<<<<]>>>[-]+[>>>>>>[>>>>>>>[-]>>]<<<<<<<<<[<<<<<<<<<]>> +>>>>>[-]+<<<<<<++++[-[->>>>>>>>>+<<<<<<<<<]>>>>>>>>>]>>>>>>+<<<<<<+++++++[-[->>> +>>>>>>+<<<<<<<<<]>>>>>>>>>]>>>>>>+<<<<<<<<<<<<<<<<[<<<<<<<<<]>>>[[-]>>>>>>[>>>>> +>>[-<<<<<<+>>>>>>]<<<<<<[->>>>>>+<<+<<<+<]>>>>>>>>]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>>>>> ++>>>>>>>>>>>>>>>>>>>>>>>>>>>+<<<<<<[<<<<<<<<<]>>>>>>>>>[>>>>>>[-<<<<<<->>>>>>]+< +<<<<<[->>>>>>->>[-<<<<<<<<+>>>>>>>>]<<<<<<<<[->>>>>>>>+<<<<<<<<<<<<<<<<<[<<<<<<< +<<]>>>>[-]+>>>>>[>>>>>>>>>]>+<]]+>>>>>>>>[-<<<<<<<<->>>>>>>>]+<<<<<<<<[->>>>>>>> +-<<[-<<<<<<+>>>>>>]<<<<<<[->>>>>>+<<<<<<<<<<<<<<<[<<<<<<<<<]>>>[-]+>>>>>>[>>>>>> +>>>]>[-]+<]]+>[-<[>>>>>>>>>]<<<<<<<<]>>>>>>>>]<<<<<<<<<[<<<<<<<<<]>>>>[-]<<<++++ ++[-[->>>>>>>>>+<<<<<<<<<]>>>>>>>>>]>>>>>->>>>>>>>>>>>>>>>>>>>>>>>>>>-<<<<<<[<<<< +<<<<<]]>>>] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bff-1.0.4/samples/random.b new/bff-1.0.5/samples/random.b --- old/bff-1.0.4/samples/random.b 1970-01-01 01:00:00.000000000 +0100 +++ new/bff-1.0.5/samples/random.b 2012-12-10 10:17:00.000000000 +0100 @@ -0,0 +1,14 @@ +>>>++[ + <++++++++[ + <[<++>-]>>[>>]+>>+[ + -[->>+<<<[<[<<]<+>]>[>[>>]]] + <[>>[-]]>[>[-<<]>[<+<]]+<< + ]<[>+<-]>>- + ]<.[-]>> +] +"Random" byte generator using the Rule 30 automaton. +Doesn't terminate; you will have to kill it. +To get x bytes you need 32x+4 cells. +Turn off any newline translation! +Daniel B Cristofani (cristofdathevanetdotcom) +http://www.hevanet.com/cristofd/brainfuck/ \ No newline at end of file
