Commit Graph

4614 Commits

Author SHA1 Message Date
rlar 2b3220086d graph.h, grid.c, enforce consistent string buffer size (plot "units", LABEL_CHARS) 2015-03-08 19:36:46 +01:00
dwarning 032b1c32c4 separate diode bottom and sidewall contributions for depletion capacitance 2015-03-08 17:54:49 +01:00
dwarning ea4c438311 Limiting the junction potential to a usual values for silicon diodes 2015-03-08 17:54:30 +01:00
dwarning c30373e37e correct formula for temperature dependent depletion capacitance (tlevc=1) 2015-03-04 06:54:34 +01:00
rlar a21770aab9 parser/inpgtok.c, remove unused function `INPgetU2Tok()'
INPgetU2Tok() was introduced in commit
Date:   Fri Sep 3 12:51:42 2010 +0000
    bug in B source parsing removed

and later unused in commit
Date:   Thu Apr 28 19:27:45 2011 +0000
    bug fix, (#329233)
2015-02-28 20:43:25 +01:00
rlar 1b7f3a9f2c parser/inpeval.c, this cannot happen here 2015-02-28 19:41:31 +01:00
rlar 548a1045a4 parser/inpeval.c, simplify mil/meg/milli processing 2015-02-28 19:22:01 +01:00
rlar c018b328b9 parser/inpeval.c, whitespace cleanup 2015-02-28 19:03:41 +01:00
rlar 4555107013 parser/inpeval.c, use '\0' 2015-02-28 19:03:39 +01:00
rlar a2b5288a3d parser/inpeval.c, bug fix, allow at most one sign char when parsing a number 2015-02-28 19:03:37 +01:00
rlar 12e8ee750b parser/inpeval.c, bug fix, incorrect restore of `*line' 2015-02-28 19:03:32 +01:00
rlar 2cbc84ccd1 parser/inpgtok.c, use copy_substring() 2015-02-28 11:05:46 +01:00
rlar 39d391fe33 parser/inpgtok.c, whitespace cleanup 2015-02-28 11:05:43 +01:00
rlar 4ae35e8974 parser/inpgtok.c, bug fix, introduced in "memory leaks: code improved"
commit "memory leaks: code improved"
Date:   Sun Apr 5 08:57:55 2009 +0000

'point' has not been incremented for so called
   "Weird items" with string length == 1
2015-02-28 11:05:23 +01:00
rlar 3c133c95b3 update bison generated files 2015-02-21 15:08:06 +01:00
rlar 788a5e5fa0 inpptree parser, bug fix, segfault due to usage of an unknown function
for example:
B1  1 0  V = {log(2.0, 1.3) + nosuchthing(2.0, 1.3)}
2015-02-21 15:08:04 +01:00
rlar 8e65614d31 spfactor.c, cktnames.c, don't crash when simulating "nothing"
reported by Siddhant Saraf in
> [ngspice:discussion] "out of memory" error : simulating a 2bit AND gate"

This comes in two flavours,
   1) an empty circuit
   2) a xspice circuit with exclusively xspice event nodes
2015-02-08 22:07:14 +01:00
rlar 8d44da4741 sharedspice.c, disable unused code 2015-01-22 17:50:16 +01:00
rlar ae62187d06 sharedspice.c, bug fix, #298 Wrong define in sharedspice.c
thanks to "Sergii" who reported this here:
http://sourceforge.net/p/ngspice/bugs/298

This bug did not have any effect
2015-01-22 17:49:47 +01:00
rlar 8dc0d0ce5c configure.ac, add -Wno-unused-but-set-variable to our default gcc CFLAGS 2015-01-04 20:53:35 +01:00
rlar ccc4c60d81 src/frontend/variable.c, swallow "warning: conversion to 'int' from 'size_t' may change the sign of the result" 2015-01-04 20:37:16 +01:00
rlar 7b0275ebf7 string.c, swallow "warning: value computed is not used" 2015-01-04 20:31:45 +01:00
rlar e57b8b5426 main.c, volatile, make shure they are up to date in memory when LONGJMP is executed 2015-01-04 16:06:15 +01:00
rlar f8df1a7b2f src/main.c, whitespace cleanup 2015-01-03 21:50:19 +01:00
rlar 8369732e7b src/main.c, cleanup 2015-01-03 21:50:18 +01:00
rlar 42d0e42e0d src/main.c, prompt(), rewrite 2015-01-03 21:17:18 +01:00
rlar 15a04192da src/main.c, prompt(), fix incorrect backslash expansion in promptstrings 2015-01-03 20:56:47 +01:00
rlar a65a028067 src/main.c, prompt(), drop ancient workaround for editline v2.9
thats dead now for some years.
2015-01-03 20:56:45 +01:00
rlar 6aff8d5418 src/main.c, rewrite to be autoindent friendly 2015-01-03 20:56:42 +01:00
rlar 86c61c1909 src/main.c, nutmeg, cleanup `ft_loadfile()' invocation
drop non functional code which might originally have been meant
  to read a default `ft_rawfile' when no other file
  was given on the command line.

this would be disturbing behaviour anyway,
  since it would be impossible to start
  nutmeg interactively without any file.
2015-01-03 16:37:43 +01:00
rlar a820d11451 inpcom.c, inp_remove_ws(), allow netsted braces `{}' 2014-12-31 16:58:25 +01:00
rlar 9ee7888033 inpcom.c, inp_remove_ws(), copy() only when necessary 2014-12-31 16:58:24 +01:00
rlar 3fd1f56a10 inpcom.c, inp_remove_ws(), fix processing after skipped whitespace 2014-12-31 16:58:20 +01:00
rlar d623763e58 inpcom.c, cleanup inp_remove_ws(), reorder loop, reveal obscure behaviour 2014-12-31 16:52:41 +01:00
rlar bd055c1a98 inpcom.c, cleanup inp_remove_ws(), #4/4, minor 2014-12-31 16:33:45 +01:00
rlar e25620f117 inpcom.c, cleanup inp_remove_ws(), #3/4, common code in if-then-else 2014-12-31 16:33:21 +01:00
rlar d1260f4e4d inpcom.c, cleanup inp_remove_ws(), #2/4, dup some code down into if-then-else 2014-12-31 15:59:51 +01:00
rlar 91658bc856 inpcom.c, cleanup inp_remove_ws(), #1/4, thats inevitably true 2014-12-31 15:59:28 +01:00
rlar 82a5c1c48a inpcom.c, inp_remove_ws(), avoid appending a surplus '\0' 2014-12-31 15:49:57 +01:00
rlar 07ba16192e inpcom.c, cleanup inp_remove_ws(), #5/5, introduce `d' instead of `big_buffer_index' 2014-12-31 15:12:40 +01:00
rlar f1fcc943f9 inpcom.c, cleanup inp_remove_ws(), #4/5, minor 2014-12-31 15:12:22 +01:00
rlar e290e55f31 inpcom.c, cleanup inp_remove_ws(), #3/5, drop `curr', use `s' instead 2014-12-31 15:12:06 +01:00
rlar 0081ec9b51 inpcom.c, cleanup inp_remove_ws(), #2/5, highlight `s' beeing almost unused 2014-12-31 15:11:46 +01:00
rlar 179d55547c inpcom.c, cleanup inp_remove_ws(), #1/5, highlight `s' beeing const 2014-12-31 15:11:05 +01:00
rlar 9b1f248c52 inpcom.c, inp_remove_ws(), #7/7, invert 'if' expression 2014-12-28 20:07:20 +01:00
rlar d2371be535 inpcom.c, inp_remove_ws(), #6/7, reorder condition, highlight similiarity 2014-12-28 20:06:12 +01:00
rlar cf6582ea8c inpcom.c, inp_remove_ws(), #5/7, simplify condition 2014-12-28 20:05:41 +01:00
rlar 2c200ae453 inpcom.c, inp_remove_ws(), #4/7, simplify condition 2014-12-28 20:04:59 +01:00
rlar 0e74b5be15 inpcom.c, inp_remove_ws(), #3/7, combine `if' expressions 2014-12-28 20:04:19 +01:00
rlar 70c9350359 inpcom.c, inp_remove_ws(), #2/7, combine `if' expressions 2014-12-28 20:03:27 +01:00