h_vogt
dbd0a5743a
Enable utf-8 and UNICODE for string handling.
preprocessor flag EXT_ASC resets handling to old behaviour.
Add utf-16 wide char to all Windows string i/o.
Add translation between utf-8 and utf-16.
Add angle to fcn DevDrawText.
9 years ago
Holger Vogt
c77da1870d
Fixed compiler warnings related to const, unreachable code, and an empty translation unit.
6 years ago
Holger Vogt
b1be546939
User expects an empty input line, not a text that has to be deleted befopre writing
6 years ago
Holger Vogt
3ab2c6468c
raise time for immediate output, to catch some more information
7 years ago
Holger Vogt
fac46c0bfd
Speed up the text output in Windows GUI:
The stream is pushed to the display only every 30 milliseconds.
For the first 200ms the stream is still pushed for every line.
7 years ago
Holger Vogt
6ac67c2285
make GUI more responsive. Prevent output freezing
if large data volumes are sent to the display
7 years ago
Jim Monte
3874916948
[PATCH #56 ] New history buffering
7 years ago
Jim Monte
9e5b0e8f82
[PATCH #58 ] Made annotations of WinMain() agree with its prototype
7 years ago
Jim Monte
8f2677438b
[PATCH #57 ] Fixed several issues with win_x_fread()
7 years ago
Jim Monte
ea81da2b01
[PATCH #55-1] Fixed some compiler warnings added by Visual Studio 2019
7 years ago
Jim Monte
ba60c4e8a9
[PATCH #54 ] Fixed bug with processing of user input when the user input
size equals or exceeds the allowed amount. A 1-byte buffer overrun resulted
in incorrect processing of the buffer returned from the window supplying user
input which lead to an infinite loop.
7 years ago
Jim Monte
0fd5b0fd80
[PATCH #51 ] Added scrolling to input window
7 years ago
Holger Vogt
9f40c2b584
add an icon to MS Windows VC exe
7 years ago
h_vogt
67e06bb4ac
winmain.c, bug fix, #315 ngspice under windows 10 shows exception on quit
https://sourceforge.net/p/ngspice/bugs/315/
longjmp() creates segfault under Windows 10 (VS and MINGW)
somewhere when MainWindowProc() is processing the WM_CLOSE message.
Instead of raising SIGINT, directly call cp_doquit().
return 0 if "askquit" is set and the user declines to "quit".
This continues the simulation, if still active.
9 years ago
h_vogt
78ea2e1523
winmain.c, remove of fcn 'read' in Windows
9 years ago
rlar
2bafe98f17
winmain.c, etc, cleanup
9 years ago
rlar
90a205d36d
winmain.c, etc, whitespace cleanup
9 years ago
rlar
3a9ace82bb
winmain.c, etc, cleanup, rewrite obfuscated symbols
substitute in the whole source code:
"__stream" --> "stream"
"__pos" --> "pos"
"__s" --> "s"
"__n" --> "n"
"__c" --> "c"
"__format" --> "format"
"__ptr" --> "ptr"
"__size" --> "size"
"__path" --> "path"
"__mode" --> "mode"
"__offset" --> "offset"
"__whence" --> "whence"
"__arglist" --> "arglist"
"__buf" --> "buf"
"__fp" --> "fp"
"f_c_l_o_s_e" --> "win_x_fclose"
"f_e_o_f" --> "win_x_feof"
"f_e_r_r_o_r" --> "win_x_ferror"
"f_f_l_u_s_h" --> "win_x_fflush"
"fg_e_t_c" --> "win_x_fgetc"
"f_g_e_t_p_o_s" --> "win_x_fgetpos"
"fg_e_t_s" --> "win_x_fgets"
"fp_r_i_n_t_f" --> "win_x_fprintf"
"fp_u_t_c" --> "win_x_fputc"
"fp_u_t_char" --> "win_x_fputchar"
"fp_u_t_s" --> "win_x_fputs"
"f_r_e_a_d" --> "win_x_fread"
"f_r_e_o_p_e_n" --> "win_x_freopen"
"fs_c_a_n_f" --> "win_x_fscanf"
"f_s_e_e_k" --> "win_x_fseek"
"f_s_e_t_p_o_s" --> "win_x_fsetpos"
"f_t_e_l_l" --> "win_x_ftell"
"f_w_r_i_t_e" --> "win_x_fwrite"
"g_e_t_c" --> "win_x_getc"
"g_e_t_char" --> "win_x_getchar"
"g_e_t_s" --> "win_x_gets"
"p_e_r_r_o_r" --> "win_x_perror"
"p_r_i_n_t_f" --> "win_x_printf"
"p_u_t_c" --> "win_x_putc"
"p_u_t_char" --> "win_x_putchar"
"p_u_t_s" --> "win_x_puts"
"r_e_a_d" --> "win_x_read"
"s_c_a_n_f" --> "win_x_scanf"
"ung_e_t_c" --> "win_x_ungetc"
"vfp_r_i_n_t_f" --> "win_x_vfprintf"
"vfs_c_a_n_f" --> "win_x_vfscanf"
"vp_r_i_n_t_f" --> "win_x_vprintf"
"vs_c_a_n_f" --> "win_x_vscanf"
9 years ago
rlar
93d040703d
winmain.c, drop artefact "fgetchar", cleanup/emphasise disabled "freopen"
9 years ago
rlar
69537a7899
winmain.c, fs_c_a_n_f(), bug fix, and cleanup "minimise"
9 years ago
rlar
0932120a7f
special cases of the char variants of the <ctype.h> family
10 years ago
h_vogt
8b8f275645
defines.h, winmain.c, .h: fix --with-wingui for CYGWIN
13 years ago
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
13 years ago
h_vogt
92a529f15c
winmain.c: print buffer enlarged
13 years ago
rlar
0beb95757f
cancer of the semicolon
14 years ago
h_vogt
fe86d3d5c7
Enable ctrl-c to interrupt a simulation also for Windows GUI
14 years ago
h_vogt
fc7692a896
outheap removed
14 years ago
rlar
4ca58067a2
#2/6 config.h --> ngspice/config.h, #include's
14 years ago
rlar
0d7f64657c
move stringutil.h --> src/include/ngspice
14 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
15 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
h_vogt
e7ce26c118
convert float to double
15 years ago
rlar
b4dc54b3e3
another type fix for Visual Studio, QUIT_BUTTON_ID
15 years ago
h_vogt
e5a255a030
Windows progress message
15 years ago
rlar
12eba3888e
cleanup integer type conversions
15 years ago
rlar
7ecafe2aa3
cleanup integer type conversions
15 years ago
rlar
acac8cefe5
winmain.c, remove redundant global variable `oflag'
15 years ago
h_vogt
51614f0915
prototypes
15 years ago
h_vogt
561e339365
reduce compiler warnings
15 years ago
rlar
241783d0b5
use for(;;) instead of while(1) to muffle some visual-C warnings
16 years ago
h_vogt
80af4f24a6
SystemParametersInfo()
16 years ago
h_vogt
7dc6417e6d
add xfont, wfont, wfont_size variables
16 years ago
h_vogt
f34a09b540
gnuplot update
16 years ago
dwarning
ddd6ceaebb
rm unused variable
17 years ago
h_vogt
c579717d00
replace strdup by copy
17 years ago
h_vogt
8d7356970b
updating windows
17 years ago
h_vogt
9fb0d31390
MS Visual Studio: build date, "quit" button
17 years ago
h_vogt
5f9f71b5a4
variable ngdebug for additional debug info
17 years ago
h_vogt
c84522b842
prints time required for setup
17 years ago