rlar
34e37f393c
insertnumber(), rename s_ ==> s
2018-02-17 19:15:54 +01:00
rlar
1f15329745
insertnumber(), drop second argument
2018-02-17 19:15:54 +01:00
rlar
9f6173cd0b
insertnumber(), add second arg on invocation
2018-02-17 19:15:54 +01:00
rlar
a2ddc6bf2a
insertnumber(), express some constness
2018-02-17 19:15:54 +01:00
rlar
b41b8e7138
insertnumber(), add `i' on invocation
2018-02-17 19:15:54 +01:00
rlar
160529cf59
insertnumber(), express some constness
2018-02-17 19:15:54 +01:00
rlar
e8bc7df5c3
insertnumber(), emphasize return i + ...
2018-02-17 19:15:54 +01:00
rlar
06501162e5
nupa_substitute(), make use of the transformations
2018-02-17 19:15:54 +01:00
rlar
2a446c2119
nupa_substitute(), use `strncasecmp()'
2018-02-17 19:15:54 +01:00
rlar
c036fa0519
nupa_substitute(), cleanup
2018-02-17 19:15:54 +01:00
rlar
81cb1ed674
nupa_substitute(), drop s_
2018-02-17 19:15:54 +01:00
rlar
5416ecaab9
nupa_substitute(), rename iptr --> s
2018-02-17 19:15:54 +01:00
rlar
18f69116e8
nupa_substitute(), verify `s' beeing unused now
2018-02-17 19:15:54 +01:00
rlar
03abdc65f5
nupa_substitute(), cleanup
2018-02-17 19:15:54 +01:00
rlar
53b23cf4b6
nupa_substitute(), transform pscopy(,x,y,) --> pscopy(,x+y,y-y,) (requirement strlen(x) >= y to be verified later)
2018-02-17 19:15:54 +01:00
rlar
8e69f7e70a
nupa_substitute(), cleanup
2018-02-17 19:15:54 +01:00
rlar
0bea4987c4
nupa_substitute(), fix lvalues
2018-02-17 19:15:54 +01:00
rlar
b47123ac6a
nupa_substitute(), i ==> iptr - (const) s
2018-02-17 19:15:54 +01:00
rlar
b832578f0e
nupa_substitute(), fix lvalues
2018-02-17 19:15:54 +01:00
rlar
ccf34637b3
nupa_substitute(), k ==> kptr - (const) s
2018-02-17 19:15:54 +01:00
rlar
551aae4b05
nupa_substitute(), drop ls
2018-02-17 19:15:54 +01:00
rlar
4af5a78bb5
nupa_substitute(), ls ==> s_end - (const) s
2018-02-17 19:15:54 +01:00
rlar
fb3a1be6a5
nupa_substitute(), express some constness
2018-02-17 19:15:54 +01:00
rlar
aa5d48da3b
nupa_substitute(), drop unused argument `err'
2018-02-17 19:15:54 +01:00
rlar
e212566176
evaluate_variable(), change signature, pass substring instead of string
...
side effect:
string `t' is no longer globally upcased, which is is of no consequence
for the single place where evaluate_variable() is invoked
2018-02-17 19:15:54 +01:00
rlar
3f7951d187
evaluate_expr(), change signature, pass substring instead of string
2018-02-17 19:15:54 +01:00
rlar
7aa3664157
numparam, drop some typedefs
2018-02-17 19:15:54 +01:00
rlar
fa14255fc9
numparam, use `strtoupper()', drop `stupcase()'
2018-02-17 19:15:54 +01:00
rlar
a0a3f48227
numparam/xpressn.c, remove an artifact
2018-02-17 19:15:54 +01:00
rlar
7b175dd1c4
numparam, drop unused `srcfile'
2018-02-17 19:15:54 +01:00
rlar
4f8bef997d
numparam, nupa_signal(), drop useless return value
2018-02-17 19:15:54 +01:00
rlar
5b194f1679
numparam, drop unused stuff
2018-02-17 19:15:54 +01:00
rlar
15e8fab975
numparam, use `trunc()'
2018-02-17 19:15:54 +01:00
rlar
31ca73a6f0
numparam, use `isdigit_c()'
2018-02-17 19:15:54 +01:00
rlar
e88e75a8d4
numparam, use `toupper_c()'
2018-02-17 19:15:54 +01:00
rlar
6d5b968464
numparam, use `tolower_c()'
2018-02-17 19:15:54 +01:00
rlar
3b0a595ecf
numparam/mystring.c, drop defect and unused `ccopy()'
2018-02-17 19:15:54 +01:00
rlar
db8f8fc062
numparam/mystring.c, fix `pscopy()' and `pscopy_up()'
2018-02-17 19:15:54 +01:00
rlar
6a328ef609
numparam, drop `length()'
2018-02-17 19:15:54 +01:00
rlar
15dd80c0e7
numparam, drop `cpos()'
2018-02-17 19:15:54 +01:00
rlar
e324e4aac3
numparam/spicenum.c, use type `bool'
2018-02-17 19:15:54 +01:00
rlar
cd260cf45a
numparam/spicenum.c, stripsomespace(), cleanup
2018-02-17 19:15:54 +01:00
rlar
a9a8afa12d
numparam/xpressn.c, split `evaluate()' into two functions
2018-02-17 19:15:54 +01:00
rlar
6da961c3f1
numparam/xpressn.c, evaluate(), drop local `numeric'
...
and return instantly when formula() reports an error
2018-02-17 19:15:54 +01:00
rlar
7549b3409e
numparam/xpressn.c, abstraction, introduce `double_to_string()'
2018-02-17 19:15:54 +01:00
rlar
6d4fc501bd
numparam/xpressn.c, evaluate_variable(), cleanup `for' loop
2018-02-17 19:15:54 +01:00
rlar
fdfaf0c84a
numparam/xpressn.c, don't mess the case of quoted strings
...
and drop `dico_t.option' which is nowhere set
2018-02-17 19:15:54 +01:00
rlar
23f6d51c67
numparam/xpressn.c, evaluate(), drop local `done' and `lq'
...
no longer limit the length of a quoted string parameter
2018-02-17 19:15:54 +01:00
rlar
e970e8c4ea
numparam/xpressn.c, evaluate(), drop `dt'
2018-02-17 19:15:54 +01:00
rlar
00c3d2f79e
numparam/xpressn.c, drop `getidtype()'
2018-02-17 19:15:54 +01:00
rlar
34040a592d
numparam, #3/3, remove global `nupa_inst_name'
2018-02-17 19:15:54 +01:00
rlar
1bf2590caa
numparam, #2/3, avoid global `nupa_inst_name'
2018-02-17 19:15:53 +01:00
rlar
ca4278685d
numparam, #1/3, avoid global `nupa_inst_name'
2018-02-17 19:15:53 +01:00
rlar
495eef349d
numparam/xpressn.c, nupa_subcktcall(), drop unused `err' argument
2018-02-17 19:15:53 +01:00
rlar
979175fbc6
numparam/xpressn.c, findsubckt(), drop unused `subname' argument
2018-02-17 19:15:53 +01:00
rlar
f42c8d60b4
numparam/spicenum.c, use `copy_substring()'
2018-02-17 19:15:53 +01:00
rlar
49e03cdcb2
numparam, entry_type, #5/5, rewrite to get rid of 'NUPA_SPACE'
...
use fact: 'entry' !== NULL
2018-02-17 19:15:53 +01:00
rlar
c761c74a22
numparam, entry_type, #4/5, drop 'nolookup' which has known value here
2018-02-17 19:15:53 +01:00
rlar
b7b6d9ace3
numparam, entry_type, #3/5, drop unused 'NUPA_POINTER'
...
'NUPA_POINTER' is nowhere assigned to storage
thus 'nupa_type' variables can never have this value
2018-02-17 19:15:53 +01:00
rlar
09d92ba692
numparam, entry_type, #2/5, use a type-checked enum for 'nupa_type'
2018-02-17 19:15:53 +01:00
rlar
6a1c9f934c
numparam, entry_type, #1/5, introduce typedef 'nupa_type'
2018-02-17 19:15:53 +01:00
rlar
21f2187530
numparam/xpressn.c, #5/5, drop unused assignment
2018-02-17 19:15:53 +01:00
rlar
1820f5547f
numparam/xpressn.c, #4/5, use a local 'c' instead of 'dt'
2018-02-17 19:15:53 +01:00
rlar
85f48726ea
numparam/xpressn.c, #3/5, whitespace
2018-02-17 19:15:53 +01:00
rlar
146ca72153
numparam/xpressn.c, #2/5, cleanup, drop 'err' and return early
2018-02-17 19:15:53 +01:00
rlar
303d78f616
numparam/xpressn.c, #1/5, cleanup, rewrite upside down
...
and use known variable values to instantly 'return'
instead of skipping some 'if' bodies
2018-02-17 19:15:53 +01:00
rlar
bc0782aba1
numparam, #4/4, defsubckt(), use struct card * argument
2018-02-17 19:15:53 +01:00
rlar
2a149d7541
numparam, #3/4, nupa_scan(), use struct card * argument
2018-02-17 19:15:53 +01:00
rlar
77da3c6f26
numparam, #2/2, nupa_copy(), use struct card * argument
2018-02-17 19:15:53 +01:00
rlar
19dfaf03f3
numparam, #1/2, nupa_eval(), use struct card * argument
2018-02-17 19:15:53 +01:00
rlar
f0159cbd0b
numparam/spicenum.c, stripbraces(), bug fix
...
overwriting SPICE_DSTRING `dstr_p' may invalidate `s'
This bug was injected with the introduction of SPICE_DSTRING in :
> commit 76feebbbfa
> Date: Thu Feb 25 21:43:03 2010 +0000
> various bug fixes
2017-11-13 20:36:49 +01:00
h_vogt
9f62057973
introduce include file "ngspice/randnumb.h"
2016-08-15 11:30:26 +02:00
h_vogt
7ea4e99842
numparam/general.h, remove redundant memory management functions
2016-07-17 11:45:22 +02:00
rlar
5e04924890
cleanup `skip_ws()' usage
2016-03-22 15:26:11 +01:00
rlar
b1d8b99018
skip-ws, #6/6, rename to match inpcom.c
2016-03-22 15:26:10 +01:00
rlar
22875d056b
skip-ws, #5/6, use functional style
2016-03-22 15:26:09 +01:00
rlar
a86f2068c8
skip-ws, #3/6, use TEMPORARY macros, obj-invariant
2016-03-22 15:26:06 +01:00
rlar
6d1171ad6f
skip-ws, #2/6, introduce "ngspice/stringskip.h"
...
with some temporary macros to skip whitespace
2016-03-22 15:26:05 +01:00
rlar
88983b079b
numparam/spicenum.c, prevent memory access beyond end of string
2016-03-22 15:25:47 +01:00
rlar
726d0be34c
use char variants of the <ctype.h> toxxxx() family
2016-03-09 20:24:36 +01:00
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
2016-03-09 20:24:36 +01:00
rlar
ea0cd17974
numparam/xpressn.c, fix a warning
2016-03-09 20:24:36 +01:00
h_vogt
888bcce829
spicenum.c, new variable `interactive'
...
when set enables interactive numparam error handling
2016-02-07 17:34:26 +01:00
rlar
33487b7d68
src/sharedspice.c, add ATTRIBUTE_NORETURN to function `shared_exit()' declaration
2015-12-15 22:05:14 +01:00
h_vogt
ab05d9df04
numparm/spicenum.c, rename local variable `cp_out' --> `fp'
...
to avoid a "hides global declaration" compiler warning
2015-12-13 12:24:38 +01:00
h_vogt
f7d387005f
numparam/spicenum.c, bug #300 , exit gracefully upon numparam error (SHARED_MODULE)
...
Thanks to Sergii Baitala, who reported this in
#300 Shared ngspice: ngspice hangs on getchar
http://sourceforge.net/p/ngspice/bugs/300/
2015-12-13 11:46:11 +01:00
rlar
b137930330
xpressn.c, formula(), #6/6 simplify
2015-11-07 19:11:54 +01:00
rlar
a805fe6b56
xpressn.c, formula(), #5/6 whitespace and indentation
2015-11-07 19:10:25 +01:00
rlar
577352e6bb
xpressn.c, formula(), #4/6 move around
2015-11-07 19:09:44 +01:00
rlar
b156921ea0
xpressn.c, formula(), #3/6 refactor fetchid(), pass substring, include `upcase()'
2015-11-07 19:08:40 +01:00
rlar
1d9592c591
xpressn.c, formula(), #2/6 move dstring buildup out of `fetchid()'
2015-11-07 19:08:23 +01:00
rlar
d6ce788539
xpressn.c, formula(), #1/6 upside-down an `if..else..'
2015-11-07 18:59:07 +01:00
rlar
76aedfae40
numparam/xpressn.c, cleanup `getidtype()'
2015-10-11 14:21:04 +02:00
rlar
813024678d
numparam/xpressn.c, cleanup `fetchnumentry()'
2015-10-11 14:02:45 +02:00
rlar
c9e8c7651f
numparam/xpressn.c, cleanup `keyword()'
2015-10-11 11:56:35 +02:00
rlar
0390736faa
xpressn.c, fetchid(), #15/15 cleanup
2015-10-10 20:20:45 +02:00
rlar
ba9c7f060b
xpressn.c, fetchid(), #14/15 rewrite
2015-10-10 20:20:45 +02:00
rlar
ff74222538
xpressn.c, fetchid(), #13/15 local scope
2015-10-10 20:20:45 +02:00
rlar
9041bf93ca
xpressn.c, fetchid(), #12/15 use fact
2015-10-10 20:20:45 +02:00
rlar
c8020f4811
xpressn.c, fetchid(), #11/15 reorder
2015-10-10 20:20:44 +02:00
rlar
880b41bb7f
xpressn.c, fetchid(), #10/15 rewrite
2015-10-10 20:20:44 +02:00
rlar
16b53e3784
xpressn.c, fetchid(), #9/15 reorder
2015-10-10 20:20:44 +02:00
rlar
3fea077ebe
xpressn.c, fetchid(), #8/15 rewrite
2015-10-10 20:20:44 +02:00
rlar
aa87d90ba9
xpressn.c, fetchid(), #7/15 use fact
2015-10-10 20:20:44 +02:00
rlar
9a69f79feb
xpressn.c, fetchid(), #6/15 use fact
2015-10-10 20:20:44 +02:00
rlar
16496f8ff7
xpressn.c, fetchid(), #5/15 express some facts
2015-10-10 20:20:44 +02:00
rlar
cc68d8fadb
xpressn.c, fetchid(), #4/15 use fact
2015-10-10 20:20:44 +02:00
rlar
e8fa81e382
xpressn.c, fetchid(), #3/15 express some facts
2015-10-10 20:20:44 +02:00
rlar
7142e0e1fc
xpressn.c, fetchid(), #2/15 rename `iptr' --> `s'
2015-10-10 20:20:44 +02:00
rlar
af0ba9bed5
xpressn.c, fetchid(), #1/15 swap arguments
2015-10-10 20:20:44 +02:00
rlar
6bea757457
frontend/numparam, drop `sfix()'
2015-05-02 10:24:40 +02:00
rlar
0865747d88
numparam/mystring.c, cleanup functions which return `void'
2014-09-20 18:55:32 +02:00
rlar
88bc7874f0
numparm, introduce `log10'
2014-09-12 19:09:56 +02:00
rlar
e1f0dc5893
numparam, nupa_define(), drop unused argument `pval'
2014-08-10 20:21:48 +02:00
rlar
c2028203a8
numparam, unify `entry' variable
2014-08-10 20:21:43 +02:00
rlar
a67b74ab9f
numparam, unify `dico' variable
2014-08-10 20:21:39 +02:00
rlar
e952500be3
numparam, rename `tdico' --> `dico_t'
2014-08-10 20:21:34 +02:00
rlar
f3ce5bde2c
numparam, rename `entry' --> `entry_t'
2014-08-10 20:21:29 +02:00
rlar
1910f50179
numparam, cleanup typedefs
2014-08-10 20:21:25 +02:00
rlar
612777d79d
numparam, drop unused code
2014-08-10 20:21:19 +02:00
rlar
e0a74261ae
numparam, cleanup `symbols' reallocation
2014-08-09 20:51:02 +02:00
rlar
699ea93d1e
numparam, combine `symbols[0]' with `symbols[>0]' processing
2014-08-09 20:49:46 +02:00
rlar
8ee943e0c8
numparam, rename `local_symbols' --> `symbols'
2014-08-09 20:49:25 +02:00
rlar
30fc375e2c
numparam, use `local_symbols[0]' instead of `global_symbols'
2014-08-09 20:48:56 +02:00
rlar
cdf4623b6f
xpressn.c, whitespace
2014-08-09 19:38:29 +02:00
rlar
4592c1af97
xpressn.c, reorder `dicostack_pop()'
2014-08-09 19:38:25 +02:00
rlar
f4480c1cb9
xpressn.c, split `dicostack()' into `dicostack_push()' and `dicostack_pop()'
2014-08-09 19:38:18 +02:00
rlar
9973b3d1f8
xpressn.c, rename `define()' --> `nupa_define()'
2014-08-09 19:38:14 +02:00
rlar
583492ab41
spicenum.c, shrink scope of some hash pointers
2014-08-09 19:38:09 +02:00
rlar
4eeb1361d6
spicenum.c, rewrite nupa_done()
2014-06-26 19:50:07 +02:00
rlar
d2d606a79a
spicenum.c, rewrite putlogfile()
2014-06-26 19:50:06 +02:00
rlar
da6790e68d
numparam, change np_trunc() and np_round() return type to double
2014-06-26 19:50:05 +02:00
rlar
c1bd74f982
mystring.c, drop auxiliary implementations of np_round() and np_trunc()
2014-06-26 19:50:04 +02:00
rlar
4abb068405
xpressn.c, use fabs()
2014-06-26 19:50:03 +02:00
rlar
d17c0d7813
mystring.c, rewrite spos_()
2014-06-26 19:50:02 +02:00
rlar
bf3888c490
numparam, drop "//" comment processing (already done in inpcom.c)
2014-06-24 18:20:18 +02:00
rlar
80b0ac22a4
xpressn.c, rewrite message() usage
2014-06-24 18:20:12 +02:00
rlar
aa7a7606c7
avoid multiple declarations of controlled_exit(), add 'noreturn' attribute
2014-05-14 21:36:18 +02:00
dwarning
461026f2b9
fix to use garbage collector with --enable-gc
2014-02-07 13:19:35 +01:00
rlar
f2093b17e8
parseunit(), support 'T' for "Tera"
...
in response to a bug report by Andy Fierman
"#273 T = Tera = 1e12 suffix is ignored when used in a parameter in a subcircuit."
http://sourceforge.net/p/ngspice/bugs/273/
2014-01-11 16:24:21 +01:00
rlar
d225c4f958
xpressn.c, introduce fortran style nint() rounding function
2014-01-02 09:33:21 +01:00
h_vogt
8ad6bd209d
replacements for functions missing in the msvc world
2014-01-02 09:31:10 +01:00
rlar
492f1f006c
numparam, almost full precision for stringified double float numbers
2014-01-02 09:25:48 +01:00
rlar
6a2060e472
xpressn.c, drop initkeys()
2013-12-31 16:42:06 +01:00
rlar
7463410a5e
xpressn.c, drop "AND OR NOT DIV MOD DEFINED" keywords
2013-12-31 16:42:05 +01:00
rlar
6b1363dcf7
xpressn.c, use C strings for the arguments of `keywords()'
2013-12-31 16:42:04 +01:00
rlar
a855a19d2c
xpressn.c, drop '&' and '|' operators, (we have '&&' and '||')
2013-12-31 16:42:04 +01:00
rlar
ef3580d590
xpressn.c, whitespace cleanup
2013-12-31 16:41:35 +01:00
rlar
1ac45bfd57
xpressn.c, implement a?b:c in the "formula" parser
2013-12-31 16:41:34 +01:00
rlar
1b959e6a50
xpressn.c, drop XFU_V
...
probably accidentally introduced in commit
> Author: h_vogt <h_vogt>
> Date: Sun Feb 7 11:27:59 2010 +0000
>
> improved numparam error message
2013-12-31 16:41:34 +01:00
rlar
9cb20e97d0
xpressn.c, use enums instead of literals
2013-12-31 16:41:33 +01:00
rlar
297778127b
xpressn.c, drop "Defd" enum, to be incorporated into a bigger enum
2013-12-31 16:41:32 +01:00
rlar
76c7cd6fbd
xpressn.c, fix semantics of `int(x)' and remove dangerous macros
...
int(x) most probably shall be trunc(x) instead of floor(x)
note trunc(x) was #defined beeing floor(x)
note ln(x) was #defined beeing log(x)
2013-12-31 16:41:32 +01:00
rlar
2854fa71d4
fix an endless loop waiting for y/n when the input is at EOF
...
reported by Calin Andrian
Subject: [Ngspice-devel] Invaild number bug
2013-12-31 16:41:31 +01:00
rlar
467eb58244
xpressn.c, fix semantics of '&&' and '||'
...
these shall interpret a value as a bool according to (value != 0)
and these shall evaluate to either 1.0 or 0.0
2013-12-31 16:41:30 +01:00
rlar
f6d610a1b6
xpressn.c, whitespace cleanup
2013-12-31 16:41:30 +01:00
rlar
0a42a19b02
xpressn.c, fix `truth' for ternary_fcn()
...
0.0 is `false', everything else is `true'
2013-12-31 16:41:29 +01:00
h_vogt
02555fbe99
bug reported by Yamamaya: revert deleting dicoS structure in inp.c and measure.c:
...
still to be used by 'listing param'
deletion moved to com_remcirc()
2013-12-31 16:26:01 +01:00
rlar
feb43795b2
numparm, fix pow() implementation
2013-12-31 16:25:35 +01:00
rlar
1dda94fb7a
numparm, cleanup formula()
2013-12-31 16:25:34 +01:00
h_vogt
3fae8e0ba9
xpressn.c: add domain check for acosh, atanh replacement functions
2013-12-31 16:25:32 +01:00
rlar
2f508696a6
numparm, cleanup rewrite formula()
2013-12-31 16:25:31 +01:00
h_vogt
e5e08b6f93
xpressn.c: asinh, acosh, atanh replacement functions added
2013-12-31 16:25:30 +01:00
rlar
3e721d871a
xpressn.c, cleanup `maximize' operation
2013-12-31 16:25:29 +01:00
rlar
dbb8a76adb
xpressn.c, cleanup char index bistromatic
2013-12-31 16:25:27 +01:00
rlar
5db94276d3
sprinkle some constness
2013-12-31 16:25:26 +01:00
rlar
d3c0b7f5fa
xpressn.c, use symbolic `state' constants
2013-12-31 16:25:25 +01:00
rlar
b232a25fb6
xpressn.c, prepare
2013-12-31 16:25:24 +01:00
rlar
1883edb12b
xpressn.c, tan, asin, acos, atan, asinh, acosh, atanh, pwr, tanh
...
add tan() asin() acos() atan() asinh() acosh() atanh()
rewrite pwr() and tanh()
2013-12-31 16:25:11 +01:00
h_vogt
b821e7e6cf
xpressn.c, numparam.h: fcn del_attrib with void* argument,
...
required by nghash_free()
2013-12-31 16:19:52 +01:00
h_vogt
94595c06df
spicenum.c, xpressn.c: plug setup memory leak
...
by adding user defined delete function for hash table entries
2013-12-31 16:18:56 +01:00
h_vogt
3f23287bdd
spicenum.c: fix memory leak completely
2013-12-31 16:13:20 +01:00
h_vogt
da10f49755
remove memory leak freeing dicoS
...
reported by Jonathan Knott
2013-12-31 16:13:19 +01:00
h_vogt
49c1385ba6
bug fix, `#248 Subcircuit call cannot have a node with same name as the subcircuit'
...
reported by Henrik Forstén
http://sourceforge.net/p/ngspice/bugs/248/
2013-12-31 16:12:48 +01:00
Henrik Forstén
c9c23342bc
numparm, speedup modernizeex() for the common case
2013-12-31 16:11:10 +01:00
h_vogt
d4d3910e5a
xpressn.c: reduce number of (forbidden) keywords
...
to what is actually used
2013-12-31 16:09:38 +01:00
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
...
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar
6c8f002eea
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
Francesco Lannutti
08ec219417
remove all .cvsignore files
2012-10-26 18:30:14 +02:00
Francesco Lannutti
1dc70189a7
remove compilation warnings (type casts)
2012-10-26 18:04:44 +02:00
dwarning
2506fe3858
changed the #include order - ngspice.h must be first
...
because icc complains about declaration visibility of mmsghdr struct
2012-09-29 20:44:12 +02:00
rlar
ab98f03622
src/frontend/** whitespace, indentation, ...
...
checked for object file invariance on linux
2012-09-22 19:33:50 +02:00
rlar
c0e2d4abef
src/frontend/**, whitespace,
...
object files will change, due to __LINE__ usage
2012-09-20 20:32:02 +02:00
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
2012-09-20 20:30:53 +02:00
rlar
0beb95757f
cancer of the semicolon
2012-08-07 21:20:36 +02:00
rlar
cb0a48801d
introduce AM_CFLAGS = $(STATIC)
2012-07-07 14:51:39 +02:00
rlar
d8105873db
remove error.h, use fteext.h for controlled_exit()
2012-06-12 21:26:29 +02:00
rlar
c54d3a617e
drop (void*) cast of the dispose() argument
2012-02-06 20:18:26 +00:00
rlar
f17b14102c
bug fix, incorrect '%le' printf format specifier
2012-01-08 10:26:36 +00:00
rlar
afa1371746
#3/6 config.h --> ngspice/config.h, AM_CPPFLAGS
2011-12-27 12:05:51 +00:00
rlar
4ca58067a2
#2/6 config.h --> ngspice/config.h, #include's
2011-12-27 11:33:01 +00:00
h_vogt
75767fcc3d
floor(), ceil() added
2011-12-26 11:34:21 +00:00
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
2011-12-13 19:57:45 +00:00
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
rlar
8f09de4e4a
bug fix, parameter assignment was broken for expressions containing one of '<=' '>=' or '!='
2011-12-03 09:10:07 +00:00
rlar
e42fa8ba06
swallow warnings
2011-10-31 10:53:51 +00:00
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
2011-08-20 17:27:09 +00:00
h_vogt
1cbe685d4c
include path for error.h
2011-08-11 16:39:37 +00:00
h_vogt
57c9b44c73
inproved error messages in pipe mode
2011-08-10 16:39:46 +00:00
rlar
0892d04c8a
explicit `int' casts for some ptrdiff_t expressions, where an `int' seems to be big enough
2011-07-09 19:45:22 +00:00
rlar
1876ad1094
remove unused global artifact `dynLlen'
2011-07-09 18:45:54 +00:00
rlar
451f88c5e1
swallow type conversion warnings
2011-06-24 15:26:52 +00:00
h_vogt
f94cc3a8a0
comp issues
2011-05-29 10:07:10 +00:00
rlar
55638c8023
various cleanups
2011-04-30 12:29:19 +00:00
rlar
701027b1ff
numparm, remove unused artifacts
2011-02-19 15:11:53 +00:00
rlar
70c97e12bb
numparm, un-pascal-ify, ws() wln()
2011-02-19 15:08:20 +00:00
rlar
18352e827d
numparm, cleanup, (())
2011-02-19 15:06:13 +00:00
rlar
49b7e340d5
numparm, cleanup, {}
2011-02-19 15:04:09 +00:00
rlar
b48b6a3474
numparm, rewrite some conditional expressions
2011-02-19 15:01:49 +00:00
rlar
407b220a1d
silence compiler warnings
2011-02-19 14:58:18 +00:00
rlar
7ad47870ef
numparm, un-pascal-ify, use '\0'
2011-02-19 14:56:40 +00:00
rlar
6349bc4fbf
numparm, un-pascal-ify, use '\r' '\n' '\t'
2011-02-19 14:54:00 +00:00
rlar
5e30c39384
numparm, cleanup some small functions
2011-02-19 14:51:01 +00:00
rlar
999d69731a
numparm, 17 digit placeholders --> numparm__XXXXXXXX dummy symbols
2011-02-19 14:49:07 +00:00
rlar
1ab4158abd
numparm, upgrade message() to accept format strings
2011-02-19 14:45:42 +00:00
rlar
76a7f5b5f7
numparm, shrink scope for dstrings, mostly message() related
2011-02-19 14:43:35 +00:00
rlar
90f4a2137b
numparm, cleanup parseunit() and fetchnumber()
2011-02-19 14:37:40 +00:00
rlar
24cdf89344
reinstate a missing if(numerical), which got lost
2011-02-13 20:24:10 +00:00
rlar
f6ed60844f
part 2, the actual change
2011-02-13 19:20:34 +00:00
rlar
35c36b1590
part 1, whitespace and indentation, nothing else
2011-02-13 19:19:02 +00:00
rlar
5a3f5ac03d
undo the last commit, with the sole purpose to seperate it into two commits
2011-02-13 19:17:23 +00:00
h_vogt
bb5ea06be4
start cleanup numparam
2011-02-13 15:16:48 +00:00
h_vogt
6d7ee3632e
remoce compiler warnings
2010-12-30 14:49:35 +00:00
h_vogt
1ea76af678
add statistical functions to numparam and nutmeg parsers
2010-12-28 19:01:30 +00:00
dwarning
3ab9e6d060
cvs ignore .libs
2010-12-12 09:42:47 +00:00
dwarning
b964cf949c
cvs ignore *.lo and *.la
2010-12-12 09:34:10 +00:00
rlar
e6c30efe46
Nr 4/5 (x = ...) != NULL , swallow warnings
2010-11-19 18:52:44 +00:00
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
2010-11-16 20:38:24 +00:00
rlar
80286e0032
pour `IGNORE()' all over the source
2010-11-16 19:11:32 +00:00
rlar
faa4943218
ci_prefix() returns a `bool', and change struct element `ivl' type to `int'
2010-11-06 20:29:33 +00:00
rlar
aaaf547951
remove some unused functions from the numparam world
2010-11-06 20:25:21 +00:00
rlar
21a31ab2c2
tiny rewrite, make use of strtolower() and strtoupper()
2010-11-06 17:39:18 +00:00
rlar
96992f770a
use the type `bool' instead of `unsigned char' in the numparam world
2010-11-02 17:55:32 +00:00
rlar
6ac005103b
add some more `int' versus `size_t' casts
2010-11-02 17:28:22 +00:00
rlar
b4ffca60c4
(int) casts for some `strlen()' expressions
2010-11-02 17:17:43 +00:00
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
2010-10-28 19:32:34 +00:00
rlar
2540531c38
remove local prototypes, which are allready included
2010-10-15 18:31:20 +00:00
rlar
5bc8777a9b
remove #define for EOS use '\0' instead
2010-10-09 11:42:10 +00:00
rlar
b5f1a18f7c
ngspice_compat_mode() prototype --> include files
2010-10-08 18:15:04 +00:00
rlar
4d31d2a12f
some .c file local prototypes
2010-10-08 18:05:00 +00:00
rlar
68b2e6b23a
whitespace cleanup (all Makefile.am files)
2010-09-17 16:11:25 +00:00
h_vogt
453b565f71
improve random number generation
2010-09-01 21:13:01 +00:00
h_vogt
fc2df06f9b
bug no. 3047884
2010-08-19 19:48:00 +00:00
rlar
4cdd842cd8
muffle compiler warnings
2010-07-24 18:51:06 +00:00
rlar
62c6626254
add casts for void* returning functions
2010-07-11 19:34:15 +00:00
rlar
3369d860b4
cast the return values of malloc() function calls
2010-07-01 19:52:23 +00:00
h_vogt
111d25b0fc
short -> int
2010-06-27 16:42:59 +00:00
h_vogt
3a96b98900
short -> int
2010-06-27 16:19:27 +00:00
rlar
a14e59866e
ansi function declarations (prototypes)
2010-06-23 19:33:54 +00:00
rlar
5946300a97
upgrade foo() --> foo(void) ansi function definition
2010-06-23 18:57:13 +00:00