Jim Monte
|
e10666f25c
|
Added support for DSTRING in code modules with makefile builds
|
2020-01-12 21:10:58 -05:00 |
Jim Monte
|
d5b263baa3
|
Clarified error message
|
2020-01-12 21:08:02 -05:00 |
Jim Monte
|
cba621a4d7
|
Fixed compile warning about signed/unsigned comparison.
|
2020-01-12 21:06:51 -05:00 |
Jim Monte
|
f3afb5c66d
|
Gave structure defining Mif_Complex_t a name so that it could be forward referenced.
|
2020-01-12 21:06:14 -05:00 |
Jim Monte
|
f744ac61cd
|
Formatting and added comments
|
2020-01-12 21:03:43 -05:00 |
Jim Monte
|
c70962fc13
|
Formatting
|
2020-01-12 21:02:19 -05:00 |
Jim Monte
|
e32991ae7a
|
Minor fix to end-of-index processing of let command
|
2019-12-23 22:42:01 -05:00 |
Jim Monte
|
6eac11db97
|
File path built more efficiently and now allows an arbitrary length. Prevented strdup() of NULL if path too long. Similarly prevented fopen with a NULL file name. Added function to determine Windows absolute paths properly. Fixed numerous issues that were caused by including Windows system header due to conflicting names. Generally a CMPP_ prefix was added as a "namespace". Also used the standard C bool type instead of defining one.
|
2019-12-23 22:40:56 -05:00 |
Jim Monte
|
18c6a5a5ad
|
Formatting and comments added
|
2019-12-23 01:16:10 -05:00 |
Jim Monte
|
8570089260
|
Removed unnecessary comparisons when lowercasing a string.
|
2019-12-23 01:03:35 -05:00 |
Jim Monte
|
10d0f18fb6
|
Modified calculation to determine when memory is nearly exhausted. Also changed prototypes of memory reporting functions to match their definitions.
|
2019-12-21 21:09:30 -05:00 |
Jim Monte
|
e4966e0263
|
Restored command arguments accidentally deleted.
|
2019-12-21 15:39:24 -05:00 |
Jim Monte
|
5e879468e9
|
Rework of let command. Added support for slices as described in feature #69 and fixed several crashes and issues described in bugs #443, #444, #446, #447, and #448.
|
2019-12-18 23:25:03 -05:00 |
Jim Monte
|
5d788b8359
|
Added #include <stdio.h> to define FILE.
|
2019-12-17 15:41:00 -05:00 |
Jim Monte
|
3ddc4b986a
|
Modified search for init file so that it searches both <HOME> and <USERPROFILE> if both are defined.
|
2019-12-17 01:44:36 -05:00 |
Jim Monte
|
9507c00d61
|
Added -D/--define option to define a variable from the command line.
|
2019-12-17 01:38:33 -05:00 |
Jim Monte
|
7381b8e72f
|
Opened binary files for writing using "wb" in all cases
|
2019-12-16 14:53:40 -05:00 |
Jim Monte
|
52d0091859
|
Added basic help messages in addtion to reference to web pages
|
2019-12-16 01:40:25 -05:00 |
Jim Monte
|
091792351b
|
Added conjugate function conj().
|
2019-12-15 14:51:37 -05:00 |
Jim Monte
|
b7d40636e5
|
Additional freeing of device-dependent information for bug #419 and related bugs.
|
2019-12-15 01:17:04 -05:00 |
Jim Monte
|
5e29293a0d
|
Removed redundant macro
|
2019-12-15 00:13:50 -05:00 |
Jim Monte
|
ca77a9a2b3
|
Minor formatting and punctuation change.
|
2019-12-14 13:05:51 -05:00 |
Jim Monte
|
6383959b71
|
Fixed resolution of ~ to home directory. (Bug #405) Also fixed potential buffer overruns in glob expansion
|
2019-12-14 01:13:13 -05:00 |
Jim Monte
|
1c61d2a699
|
Fixed checking for redirection tokens
|
2019-12-12 20:07:45 -05:00 |
Jim Monte
|
fc696a294e
|
Fixed access of freed memory when reporting an error.
|
2019-12-12 19:44:09 -05:00 |
Jim Monte
|
6335f12839
|
Fixed several issues related to plotting and vector lifetimes and made ownership of vectors clearer. The issues in bugs 419, 423, 425, and 426 were related and were addressed here.
|
2019-12-12 19:10:29 -05:00 |
Jim Monte
|
24f26a1dfe
|
Fixed "phantom vector" issue with plots and crash when plots are resized. See bugs #419 and #423 for details. Also several parameters were changed from char * to const char * in the plotting functions.
|
2019-12-10 19:47:00 -05:00 |
Jim Monte
|
552845290b
|
Fixed bug with 255 card deck entered using circbyline
|
2019-12-10 18:18:48 -05:00 |
Jim Monte
|
52b2bd1f23
|
Added error recovery when invalid foreach statement found
|
2019-12-10 15:44:57 -05:00 |
Jim Monte
|
37fa925871
|
Fixed memory leak when empty word found.
|
2019-12-10 15:22:19 -05:00 |
Jim Monte
|
f55465935b
|
Reduced the number of configuration changes that must be made when a new version of ngspice is released.
|
2019-12-10 15:04:24 -05:00 |
Jim Monte
|
3cbef48182
|
Fixed reporting of system information in Windows.
|
2019-12-10 01:27:14 -05:00 |
Jim Monte
|
01b8dd7d92
|
Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into beta_jdm
|
2019-12-10 00:15:55 -05:00 |
Jim Monte
|
627dd3e8c5
|
Made UI more consistent when comments are entered.
|
2019-12-10 00:14:22 -05:00 |
Jim Monte
|
8a33161432
|
Cleaned up defintions of macro constants
|
2019-12-09 23:52:41 -05:00 |
Jim Monte
|
767ee1665a
|
Used Win32 function PathIsRelativeA() to identify an absolute path instead of checking the string since the system function may handle more cases (network shares, etc.). Also reviewed formatting that was done on inpcom.c by a code beautifier in an earlier commit. Nearly all of it was an improvement, but a few cases were reverted back to closer to the original form. One particular instance was comments where a list of steps was given one per line.
|
2019-12-09 23:01:28 -05:00 |
Jim Monte
|
6792441f9d
|
Clarified purpose of LOTS and NLOTS macros
|
2019-12-09 19:23:25 -05:00 |
Jim Monte
|
b39e5d9507
|
Made checking for single-character words faster. The testing now also uses less memory and works for 8-bit characters, which would have previously caused buffer overruns. It is also more modular and has additional documentation.
|
2019-12-09 19:09:39 -05:00 |
Jim Monte
|
987cf14542
|
Fixed some comments that appear to have been missed when compile_min.sh was used to create compile_linux.sh
|
2019-12-09 18:57:52 -05:00 |
Jim Monte
|
b6f4637239
|
Used the new capabilities of ft_numparse() to allow the creation of variables and list items of type CP_NUM
|
2019-12-09 18:26:52 -05:00 |
Jim Monte
|
5260904aa4
|
Made cp_enqvar() mode modular by adding a separate function to handle the case of a vector. Lists are more efficiently handled by moving common comparisons out of the loop over elements. The first argument of cp_enqvar() is changed from char * to const char * since the name of the variable being found is not altered by the function.
|
2019-12-09 16:18:31 -05:00 |
Jim Monte
|
595c024968
|
Fixed buffer resizing, made string utilities more modular, and added several new utilities, some which do not require a null termination, potentially avoiding the need to copy a string. Also some substring utilities using the Rabin-Karp algorithm were added.
|
2019-12-09 00:27:03 -05:00 |
Jim Monte
|
8b8ffe36a6
|
Fixed locating vectors like V(node)
|
2019-12-08 23:42:49 -05:00 |
Jim Monte
|
3c73a98038
|
Modified regression tests for library processing to make indication of failures more robust
|
2019-12-08 23:32:02 -05:00 |
Holger Vogt
|
d864bd750c
|
plug a memory leak by CALLBACK,
deleting locally malloced memory
|
2019-12-07 14:53:08 +01:00 |
Jim Monte
|
7496060d80
|
Fixed potential infinite loop (until memory is exhausted) and added several utility functions for processing strings.
|
2019-12-06 19:39:08 -05:00 |
Jim Monte
|
e6c14b3eb0
|
Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM.
|
2019-12-06 16:04:45 -05:00 |
Jim Monte
|
0ad9565ba7
|
Fixed merge conflict. Also made readifile() static and removed an unnecessary string duplication there.
|
2019-12-05 16:19:21 -05:00 |
Jim Monte
|
aee1304ad4
|
Added no_histsubst option and related fixes
|
2019-12-05 14:38:57 -05:00 |
Jim Monte
|
c86b7692f5
|
Fixed usage of new dstring functions. Also added const to some parameters that did not change.
|
2019-12-05 00:37:32 -05:00 |