1. 26 Feb, 2009 1 commit
    • Jiri (George) Lebl's avatar
      handle crashes of the readline-helper without hanging. Slight · 938801c1
      Jiri (George) Lebl authored
      
      Thu Feb 26 00:54:16 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/gnome-genius.c: handle crashes of the readline-helper without
      	  hanging.  Slight reorganization of startup to show window few
      	  nanoseconds faster.  Also don't use gtk_show_uri yet.  This
      	  causes backwards binary incompatibility which sucks as my other
      	  laptop uses hardy.
      
      	* src/calc.c: slight improvement in help handling.  Don't sort
      	  the functions in the categories until we really need to.
      
      	* src/dict.c: when checking for similar id's do the sum and a square
      	  sum to check for reorderings.  This fixes the strange suggestions
      	  sometimes
      
      	* src/genius-readline-helper.c: avoid crashes on getting SIGINT, ignore
      
      
      svn path=/trunk/; revision=738
      938801c1
  2. 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
  3. 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
  4. 23 Feb, 2009 1 commit
  5. 22 Feb, 2009 1 commit
  6. 21 Feb, 2009 1 commit
  7. 20 Feb, 2009 3 commits
  8. 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
  9. 17 Feb, 2009 1 commit
    • Jiri (George) Lebl's avatar
      fix the scales on the axis (the precision was reversed!) · 189a5369
      Jiri (George) Lebl authored
      
      Tue Feb 17 17:35:44 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/graphing.c: fix the scales on the axis (the precision was
      	  reversed!)
      
      	* src/graphing.c: draw the x/y axis and a dotted grid in grey.  This
      	  really improves readability I think.  This should be configurable I
      	  guess.
      
      	* src/funclib.c, src/gnome-genius.c, src/genius.c: allow setting
      	  default for AskString as second argument
      
      	* help/C/gel-function-list.xml: update
      
      
      svn path=/trunk/; revision=724
      189a5369
  10. 16 Feb, 2009 6 commits
    • Jiri (George) Lebl's avatar
      fix some strings · 911dba4b
      Jiri (George) Lebl authored
      
      Mon Feb 16 01:27:46 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/gnome-genius.c: fix some strings
      
      Mon Feb 16 01:27:29 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* cs.po: update
      
      
      
      svn path=/trunk/; revision=723
      911dba4b
    • Jiri (George) Lebl's avatar
      add padding to string query dialogs. Add stock plot icon · adefc954
      Jiri (George) Lebl authored
      
      Mon Feb 16 01:09:16 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/gnome-genius.c: add padding to string query dialogs.  Add stock
      	  plot icon
      
      	* pixmaps/*/genius-stock-plot.png: Draw a simple plot icon for the
      	  menu/toolbar
      
      
      svn path=/trunk/; revision=722
      adefc954
    • Jiri (George) Lebl's avatar
      minor fixes. Display help for plugin loading, don't do lazy binding (can · 81d5ae23
      Jiri (George) Lebl authored
      
      Mon Feb 16 00:11:29 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/gnome-genius.c, src/plugin.c: minor fixes.  Display help for
      	  plugin loading, don't do lazy binding (can lead to stupid crashes,
      	  better just not load bad plugins) also pass the LOCAL flag to
      	  plugins to be safer.
      
      	* src/Makefile.am: add the NOGUI libs to gnome-genius.  That will
      	  make plugins work again
      
      
      svn path=/trunk/; revision=721
      81d5ae23
    • Jiri (George) Lebl's avatar
      small cleanup · 1f1d854e
      Jiri (George) Lebl authored
      
      Sun Feb 15 20:05:05 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* configure.in, src/gnome-genius.c: small cleanup
      
      
      svn path=/trunk/; revision=720
      1f1d854e
    • Jiri (George) Lebl's avatar
      fix tlen default (to be 5 not 0.1), tinc default is set according to tlen · 52418746
      Jiri (George) Lebl authored
      
      Sun Feb 15 19:50:15 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/graphing.c: fix tlen default (to be 5 not 0.1), tinc default is
      	  set according to tlen
      
      
      svn path=/trunk/; revision=719
      52418746
    • Jiri (George) Lebl's avatar
      Add solver dialog to vectorfields. Also add VectorfieldDrawSolution and · 7ccd9988
      Jiri (George) Lebl authored
      
      Sun Feb 15 18:51:42 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/graphing.c: Add solver dialog to vectorfields.  Also add
      	  VectorfieldDrawSolution and VectorfieldClearSolutions.  Also draw
      	  arrows with proper arrows not triangles.  Change default to not
      	  normalize arrow length, that's better default I think.
      
      	* help/C/genius.xml, help/C/gel-function-list.xml: update
      
      	* ve/ve-nongnome.c: remove some unused functions
      
      
      svn path=/trunk/; revision=718
      7ccd9988
  11. 15 Feb, 2009 2 commits
    • Jiri (George) Lebl's avatar
      raise version · f98d0017
      Jiri (George) Lebl authored
      
      Sun Feb 15 15:18:20 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* configure.in: raise version
      
      	* configure.in, src/gnome-genius.c: finish the de-libgnome(ui)ization
      	  And remove the libgnome(ui) dep.  Removes 14 libs from the output
      	  of 'ldd'
      
      	* ve/viciousui.h: remove libgnome include
      
      
      svn path=/trunk/; revision=717
      f98d0017
    • Jiri (George) Lebl's avatar
      in the event hook, handle events until all handled, fixes "hangs" or · 3acab7ad
      Jiri (George) Lebl authored
      
      Sun Feb 15 11:25:47 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/gnome-genius.c: in the event hook, handle events until all
      	  handled, fixes "hangs" or extreme ui slowdowns
      	  when event hook is not run often enough
      
      	* ve/ve-miscui.[ch]: steal gtk_dialog_run and do
      	  ve_dialog_run_nonmodal.  This way we can interrupt a tight loop
      	  with AskString's in it
      
      	* src/gnome-genius.c: start implementing a window with GtkUIManager
      	  to get rid of libgnomeui dep.
      
      
      svn path=/trunk/; revision=716
      3acab7ad
  12. 13 Feb, 2009 4 commits
    • Jiri (George) Lebl's avatar
      use gtk_show_uri to show help when gtk is high enough version · d613c945
      Jiri (George) Lebl authored
      
      Fri Feb 13 14:51:43 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/gnome-genius.c: use gtk_show_uri to show help
      	  when gtk is high enough version
      
      
      svn path=/trunk/; revision=715
      d613c945
    • Jiri (George) Lebl's avatar
      some more delibgnome(ui)ification · bdebe948
      Jiri (George) Lebl authored
      
      Fri Feb 13 13:59:11 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/gnome-genius.c, src/graphing.c, src/gnome-genius.h src/genius.c:
      	  some more delibgnome(ui)ification
      
      
      svn path=/trunk/; revision=714
      bdebe948
    • Jiri (George) Lebl's avatar
      remove ve_find_prog_in_path and ve_i18n_get_language_list, those have · 7d129b5d
      Jiri (George) Lebl authored
      
      Fri Feb 13 13:29:35 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* ve/ve-misc.c, ve/ve-misc.h, ve/ve-gnome.c, ve/ve-nongnome.c,
      	  ve/ve-config.c:  remove ve_find_prog_in_path and
      	  ve_i18n_get_language_list, those have analogs in glib now
      	  ve_is_prog_in_path now doesn't take the extra path argument,
      	  gdm needed that somewhere and ve is only for genius now.
      
      	* src/graphing.c: use ve_is_prog_in_path in the new way
      
      	* configure.in: require glib 2.6.0 as well
      
      
      svn path=/trunk/; revision=713
      7d129b5d
    • Jiri (George) Lebl's avatar
      do not compile glade-helper, we don't need glade thus kill the libglade · 0c812fe2
      Jiri (George) Lebl authored
      
      Fri Feb 13 13:08:55 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* configure.in, ve/Makefile.am: do not compile glade-helper,
      	  we don't need glade thus kill the libglade dep
      
      	* configure.in: require GTK 2.6.0 (yeah way behind times)
      
      	* src/gnome-genius.c: exorcise some libgnome/ui demons.  get rid of
      	  gnome_help_* and gnome_config_* and gnome_about*  One more step
      	  towards getting rid of this dep
      
      	* src/genius.c, src/gnome-genius.c: when binreloc gets us the wrong
      	  dir do not use it.  Use the default compiled in dir as backup.
      
      
      svn path=/trunk/; revision=712
      0c812fe2
  13. 10 Feb, 2009 1 commit
    • Jiri (George) Lebl's avatar
      raise version update NEWS · bc436a46
      Jiri (George) Lebl authored
      
      Tue Feb 10 16:43:08 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* configure.in, NEWS: raise version update NEWS
      
      	* src/mpwrap.c: fix leak in multiply
      
      	* src/mpwrap.c: fix a leak and fix a buffer overrun (Thanks to
      	  Simon Munton simon-genius at munton.demon.co.uk)
      
      	* lib/equation_solving/diffeqs.gel: Fix EulersMethod (it was
      	  overshooting by one increment)  Also EulersMethod and RungeKutta
      	  now solve system by just accepting vectors for y
      
      	* src/geniustests.txt: add new tests for EulersMethod
      
      	* help/C/genius.xml, help/C/gel-function-list.xml: Update
      	  documentation, fix EulersMethod doc by using the right id string.
      
      
      svn path=/trunk/; revision=711
      bc436a46
  14. 08 Feb, 2009 2 commits
  15. 03 Feb, 2009 2 commits
  16. 02 Feb, 2009 1 commit
    • Jiri (George) Lebl's avatar
      fix the plot scale precision (especially for y). When we just click on the · 2ee2614c
      Jiri (George) Lebl authored
      
      Mon Feb 02 01:11:11 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/graphing.c: fix the plot scale precision (especially for y).  
      	  When we just click on the plot do zoom in instead of zoom into an
      	  incredibly small window.  And finally make the create plot window
      	  usable on a netbook by adding a scrollwindow on small screens
      	  for the lineplot tab.
      
      
      svn path=/trunk/; revision=703
      2ee2614c
  17. 01 Feb, 2009 3 commits
    • Jiri (George) Lebl's avatar
      fix typo thanks to Daniel Nylander · d1c098d5
      Jiri (George) Lebl authored
      
      Sun Feb 01 10:54:30 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/graphing.c: fix typo thanks to Daniel Nylander
      
      
      
      svn path=/trunk/; revision=702
      d1c098d5
    • Jiri (George) Lebl's avatar
      do Runge-Kutta instead of Euler for the graphical slopefield solver. Whack · bb676d65
      Jiri (George) Lebl authored
      
      Sun Feb 01 00:11:32 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/graphing.c: do Runge-Kutta instead of Euler for the graphical
      	  slopefield solver.  Whack VectorfieldCPlot (never implemented,
      	  should not be a separate function anyway).  Implement
      	  VectorfieldPlot and SlopefieldPlot.
      
      	* help/C/genius.xml, help/C/gel-function-list.xml: update for all
      	  the new changes
      
      
      svn path=/trunk/; revision=699
      bb676d65
    • Jiri (George) Lebl's avatar
      resolve some GtkExtra nonsense (dx and dy for flux are specified in · 5936d5b9
      Jiri (George) Lebl authored
      
      Sat Jan 31 18:44:38 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/graphing.c: resolve some GtkExtra nonsense (dx and dy for flux
      	  are specified in pixels, that is some serious crack!) so that
      	  slope/vector fields draw correctly in non-aspect zoom.  Implement
      	  the "clear solutions" functions and included a GUI.  Implement
      	  a solver dialog and implement "clicky-solutions" when the dialog
      	  is ON.
      
      
      svn path=/trunk/; revision=698
      5936d5b9
  18. 31 Jan, 2009 2 commits
    • Jiri (George) Lebl's avatar
      it turns out the gmp cmp functions can return other values than -1,0,1. So · c54beb70
      Jiri (George) Lebl authored
      
      Sat Jan 31 09:42:58 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/mpwrap.c: it turns out the gmp cmp functions can return other
      	  values than -1,0,1.  So normalize on the mpw_cmp* level.  This
      	  broke for loops that started at negative numbers.
      
      	* src/geniustests.txt: add some tests for the for loops starting at
      	  negative values
      
      	* src/graphing.c: fixup the tick size for slopefield and vectorfield
      	  Implement stubs for the GEL interface to all of these, allow
      	  setting the increment in SlopefieldDrawSolution
      
      	* src/calc.h: update the COPYRIGHT_STRING
      
      
      svn path=/trunk/; revision=697
      c54beb70
    • Jiri (George) Lebl's avatar
      fix some leaks. Implement a simple euler method graphical solver for the · 7dc3f7b2
      Jiri (George) Lebl authored
      
      Fri Jan 30 18:30:30 2009  Jiri (George) Lebl <jirka@5z.com>
      
      	* src/graphing.c: fix some leaks.  Implement a simple euler method
      	  graphical solver for the slopefield.  Currently it is only
      	  accessible by a temporary function just to see if it works.  It
      	  needs a proper interface and also a UI interface.
      	  Slopefield/Vectorfield do not yet have proper GEL interface either
      
      
      svn path=/trunk/; revision=696
      7dc3f7b2
  19. 27 Jan, 2009 1 commit
  20. 06 Dec, 2008 1 commit
  21. 19 Nov, 2008 1 commit
  22. 14 Nov, 2008 1 commit
  23. 10 Nov, 2008 1 commit
    • George Lebl's avatar
      foo · 7dff9299
      George Lebl authored
      
      svn path=/trunk/; revision=690
      7dff9299
  24. 06 Nov, 2008 1 commit