1. 09 Oct, 2010 1 commit
  2. 03 Feb, 2010 1 commit
    • Jiri (George) Lebl's avatar
      Wed Feb 03 00:10:42 2010 Jiri (George) Lebl <jirka@5z.com> · aec7ebd5
      Jiri (George) Lebl authored
      	* src/graphing.c: when drawing slopefield solutions, allow the graph
      	  to leave window by a small fudge factor of 1/100 of the window size
      
      	* gtkextra/gtkplot.c, gtkextra/gtkplot3d.c: add some sanity fixes to
      	  fix crashes on tick calculations when the supplied data is less
      	  than sane.  The tick calculation stuff is very evil and there are
      	  still some crashes around when doing insensible things with
      	  graphs.
      aec7ebd5
  3. 02 Mar, 2009 1 commit
    • Jiri (George) Lebl's avatar
      implement profile-generate and profile-use target for profile guided · 038371be
      Jiri (George) Lebl authored
      
      Mon Mar 02 02:38:40 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* **/Makefile.am: implement profile-generate and profile-use
      	  target for profile guided optimization.  Not quite all working
      	  I don't think, but simple tests produce impressive results.
      
      	* gtkextra/gtkplotflux.c: fix bad use of snprintf
      
      
      svn path=/trunk/; revision=744
      038371be
  4. 25 Feb, 2009 1 commit
    • Jiri (George) Lebl's avatar
      Move the line clipping code from the GDK backend to the plotdata. Replace · cc4cda73
      Jiri (George) Lebl authored
      Tue Feb 24 22:05:41 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* gtkextra/gtkplotdata.c, gtkextra/gtkplotgdk.c: Move the line
      	  clipping code from the GDK backend to the plotdata.  Replace
      	  the one relevant draw_lines call with the new one.  I wonder
      	  if this should be done in more places.  This is a mess!
      	  There are still bugs if you zoom in way too much.  Not quite sure
      	  what the bug is.  We may need to actually move the endpoints 
      	  of the line.  This fixes broken EPS/PS export and printing
      	  when zoomed in to a slopefield/vectorfield/parametric graph.
      
      
      svn path=/trunk/; revision=735
      cc4cda73
  5. 24 Feb, 2009 1 commit
    • Jiri (George) Lebl's avatar
      use gtkextra clipping of lines · f81867dc
      Jiri (George) Lebl authored
      
      Tue Feb 24 01:35:34 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/graphing.c: use gtkextra clipping of lines
      
      	* gtkextra/*.c: apply patches from cvs gtkextra
      
      	* gtkextra/gtkplotgdk.c: fix drawing of lines which have parts which
      	  are very far offscreen.  Need to push this logic higher up the stack
      	  since such lines also kill the postscript output.
      
      	* src/graphing.c: remove some pointless allocation of point
      	  arrays.
      
      	* src/gnome-genius.c, src/graphing.c: fix menu accelerators
      
      
      svn path=/trunk/; revision=734
      f81867dc
  6. 18 Feb, 2009 1 commit
    • Jiri (George) Lebl's avatar
      handle read only files properly. Also verify text to be proper utf8 before · c5add299
      Jiri (George) Lebl authored
      
      Wed Feb 18 00:28:12 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/gnome-genius.c: handle read only files properly.  Also verify 
      	  text to be proper utf8 before inserting it into the text entry.
      	  And the notebook now has a right click menu to switch between
      	  programs.
      
      	* src/graphing.c, gtkextra/gtkplotcanvas.c: avoid spurious draws
      	  during new plots to avoid flicker when several LinePlot actions
      	  are done in sequence.  Also fix gtkextra to honour the freeze 
      	  in child draw.
      
      
      svn path=/trunk/; revision=726
      c5add299
  7. 17 Nov, 2007 1 commit
    • Jiri (George) Lebl's avatar
      add freeze/thaw functions since otherwise we may hang and eat all memory · c02a7eb2
      Jiri (George) Lebl authored
      
      Fri Nov 16 23:10:29 2007  Jiri (George) Lebl <jirka@5z.com>
      
      	* gtkextra/gtkplot.[ch]: add freeze/thaw functions since otherwise
      	  we may hang and eat all memory on recalculating ticks needlessly
      	  when changing both range and ticks.
      
      	* src/graphing.c: use freeze/thaw to avoid hangs and huge memory
      	  leaks.  On parametric plots, squish the graph a little and move
      	  the legend below the plot.
      
      	* NEWS: update
      
      
      svn path=/trunk/; revision=616
      c02a7eb2
  8. 11 Nov, 2007 1 commit
    • Jiri (George) Lebl's avatar
      add genius-graph.png to EXTRA_DIST · 7bbda62b
      Jiri (George) Lebl authored
      
      Sun Nov 11 00:14:04 2007  Jiri (George) Lebl <jirka@5z.com>
      
      	* pixmaps/Makefile.am: add genius-graph.png to EXTRA_DIST
      
      	* src/funclib.c: Implement DividePoly to divide polynomials
      	  using long division.  This was one of those things that
      	  I set aside to do "tommorrow" and it took close to a decade.
      
      	* help/C/gel-function-list.xml: document DividePoly
      
      	* configure.in: require GTK+ 2.4 (not 2.3.5 as previously)
      
      	* NEWS: update
      
      
      svn path=/trunk/; revision=601
      7bbda62b
  9. 04 Nov, 2007 1 commit
    • Jiri (George) Lebl's avatar
      Use -10 to 10 for all default ranges. Much better than PI, that was · efa3fdc1
      Jiri (George) Lebl authored
      
      Sat Nov 03 20:51:37 2007  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/graphing.c: Use -10 to 10 for all default ranges.  Much better
      	  than PI, that was stupid.  Set minimum plot window to 1e-10 and
      	  enforce it to avoid errors with computing ticks leading to
      	  hanging behaviour.
      
      	* gtkextra/*: copy new files from cvs version of gtk extra except
      	  for gtkpslot which is broken, so keep our old version which works
      
      	* gtkextra/gtkplot3d.[ch]: fix up the axis mess
      
      	* src/graphing.c: use the new gtk extra stuff.  Produces nicer
      	  plots on screen.  Initial patch was by Sebastian Dröge
      	  <slomo@circular-chaos.org>
      
      
      svn path=/trunk/; revision=591
      efa3fdc1
  10. 31 Oct, 2007 1 commit
  11. 20 Jan, 2007 1 commit
    • Jiri (George) Lebl's avatar
      Fix spelling, it's RayleighQuotient · ef38e329
      Jiri (George) Lebl authored
      
      Sat Jan 20 00:08:18 2007  Jiri (George) Lebl <jirka@5z.com>
      
      	* lib/linear_algebra/linear_algebra.gel: Fix spelling, it's
      	  RayleighQuotient
      
      	* lib/linear_algebra/linear_algebra.gel,
      	  lib/equation_solving/formulas.gel:  Fixup CubicFormula to work
      	  correctly with complex coefficients and implement Eigenvalues
      	  for 3 by 3 matrices.
      
      	* help/C/gel-function-list.xml, help/C/genius.xml: add a bunch of
      	  documentation to the function list and Planetmath and Mathworld
      	  links.
      
      	* src/geniustests.txt, src/longtest.gel: add tests
      
      	* add missing files to subversion
      
      
      svn path=/trunk/; revision=515
      ef38e329
  12. 12 Jul, 2006 1 commit
    • Jiri (George) Lebl's avatar
      fix error in using the file chooser · 2b0928d7
      Jiri (George) Lebl authored
      
      Wed Jul 12 14:26:35 2006  George (Jiri) Lebl <jirka@5z.com>
      
      	* src/gnome-genius.c: fix error in using the file chooser
      
      	* src/eval.c: fix compiler warning
      
      	* ve/*, configure.in, **/Makefile.am: use a private copy of
      	  slightly cut down vicious-extensions to make things work
      2b0928d7
  13. 14 Sep, 2004 1 commit
    • Jiri (George) Lebl's avatar
      some cleanup, and set the extra optimization flags directly rather then · 8c307637
      Jiri (George) Lebl authored
      
      Tue Sep 14 09:57:15 2004  George Lebl <jirka@5z.com>
      
      	* configure.in: some cleanup, and set the extra optimization flags
      	  directly rather then use -O3 since then -O2 would just reset thing,
      	  so we again optimize nicely.
      
      	* src/calc.[ch], src/funclib.c, src/genius.c, src/graphing.c:
      	  Implement translation of help texts coming from the standard
      	  library.  Still error texts are not translated, will need to
      	  figure that out.  User generated help strings are gotten with
      	  "genius --gettext" similarly to the "--compile" option.
      
      	* Makefile.am, lib/Makefile.am, po/POTFILES.in: create and use
      	  lib/library-strings.c
      
      	* lib/equation_solving/find_root.gel: Move FIXME's from help text
      	  to comment
      
      	* src/genius.c: add --version option
      
      	* gtkextra/gdmpsfont.c: fix memleak
      8c307637
  14. 13 Aug, 2004 1 commit
    • Jiri (George) Lebl's avatar
      applied patch from Florin Andrei <florin@andrei.myip.org> to export custom · e0b76d75
      Jiri (George) Lebl authored
      
      Thu Aug 12 18:15:20 2004  George Lebl <jirka@5z.com>
      
      	* genius.spec.in: applied patch from Florin Andrei <florin@andrei.myip.org>
      	  to export custom compiler flags to the build and to require vte-devel for the build
      
      	* configure.in: add -O3 in front of CFLAGS not after to allow custom
      	  CFLAGS to override this
      
      	* gtkextra/gtkplot3d.h: fix prototype, thanks to Erik Sigra
                <sigra@home.se> for noticing
      e0b76d75
  15. 05 Aug, 2004 2 commits
  16. 04 Aug, 2004 1 commit
    • Jiri (George) Lebl's avatar
      Allocate all memory for GelETree's, and the various loop structures in · 4da2af0f
      Jiri (George) Lebl authored
      
      Thu Jul 29 09:55:10 2004  George Lebl <jirka@5z.com>
      
      	* src/eval.[ch]: Allocate all memory for GelETree's, and the
      	  various loop structures in long continuous spaces with the
      	  structures aligned properly.  This seems to have little
      	  impact on speed but it has some impact on memory usage, about
      	  20% in a test that uses deep recursion.  As a side effect the
      	  free lists are no longer purged.  Also fix the MEM_DEBUG_FRIENDLY
      	  mode to actually free memory unless the MEM_DEBUG_SUPER_FRIENDLY
      	  is on.
      
      	* configure.in: automatically turn on -O3 for gcc, this seems
      	  to make a very minor dent in performance.  -fomit-frame-pointer
      	  does better, but we really don't want no debugging on this code.
      4da2af0f