Commit Graph

7854 Commits

Author SHA1 Message Date
Holger Vogt 93be5bab0c increase buffer size, send text to string window,
retrieve the correct number of byte after utf-8 conversion.

Answering to a promt (e.g. after command 'hardcopy') does not
yet do.
2020-03-15 08:51:07 +01:00
Holger Vogt 510b1865b4 Re-sort wide char variable definitions.
add utf-8 ... utf-16 conversion.
Strings in history buffer shall remain utf-8.
History buffering is not yet working.
2020-03-15 08:51:07 +01:00
Holger Vogt 7a41921035 prevent crash if 'hardcopy' is given without parameters 2020-03-15 08:51:07 +01:00
Holger Vogt 6edb0eea41 re-organize PS color selection
Improve settings for PS image
Improve error messages
2020-03-15 08:51:07 +01:00
Holger Vogt 7af361521c add local linewidth change for plot and gnuplot commands 2020-03-15 08:51:07 +01:00
Holger Vogt 18f1e896f8 allow independent linewidth and gridwidth settings from within the .control section 2020-03-15 08:51:07 +01:00
Holger Vogt 853089036c add some plots 2020-03-15 08:51:07 +01:00
Holger Vogt 11de119140 setcf -> setcs
comments added
2020-03-15 08:51:06 +01:00
Holger Vogt 0c62251680 small update 2020-03-15 08:51:06 +01:00
Holger Vogt 7c0b72c387 prevent compiler warnings
enable short GUI interaction from within spfactor.c
2020-03-15 08:51:06 +01:00
Holger Vogt bd7b35541d Lengthy op calculations make the Win GUI unresposive.
A macro adds a short travel to the GUI fro0m within
the matrix ordering and factoring. Time overhead
during op is less than 0.5%.
2020-03-15 08:51:06 +01:00
Holger Vogt 3703cfe595 variable gridwidth, not gridlinewidth 2020-03-15 08:51:06 +01:00
Holger Vogt 3d009fef22 Variables xbrushwidth and gridwidth (to be set e.g. in
.spiceinit) allow setting separately the linewidths of the
graph (xbrushwidth) and the grid (gridwidth).
2020-03-15 08:51:06 +01:00
Holger Vogt 259515c2f7 tiny update to the short description 2020-03-15 08:51:06 +01:00
Holger Vogt c9edc6fcb3 Add function returning the true string length in pixels.
May be called from outside of x11.c.
2020-03-15 08:51:06 +01:00
Holger Vogt 10f0eea93e add gridwidth, xbrushwidth to postscript output 2020-03-15 08:51:06 +01:00
Holger Vogt ca7c77315a add missing üarameter to DevDrawLine for X11 and HPGL 2020-03-15 08:51:06 +01:00
Holger Vogt 8751092812 Enable separate linewidths for grids and graphs.
New variable gridwidth overrides xbrushwidth for graphs.
Fcn DevDrawLine() with boolean flag if grid is plotted.
Postscript, Gnuplot and X11 not (yet) supported.
2020-03-15 08:51:05 +01:00
Holger Vogt 7690b64571 add missing declaration of old_x11 2020-03-15 08:51:05 +01:00
h_vogt 7de3334cc1 short description of utf-8+1 branch contents 2020-03-15 08:51:05 +01:00
h_vogt 31aca8d00c freetype includes, checking for Xft lib, fontconfig 2020-03-15 08:51:05 +01:00
h_vogt 56b008a34d some utf-8 examples
please apologize for the nonsense texts
2020-03-15 08:51:05 +01:00
h_vogt 7c3a305d43 add wide char for string i/o under Windows
add utf-8 systax check
2020-03-15 08:51:05 +01:00
h_vogt 22f4e8f82d return extended ascii as alpha 2020-03-15 08:51:05 +01:00
Holger Vogt 85142709fc For UNICODE use char in comparison to ' '
only as unsigned char
2020-03-15 08:51:05 +01:00
h_vogt 531c229b0e Add library xft for allowing text rotation.
Setting variabe 'old_x11' will retain previous behaviour.
2020-03-15 08:51:05 +01:00
h_vogt 0cdea87cb5 Add and ignore angle in fcn for text out 2020-03-15 08:51:05 +01:00
Holger Vogt 0dfe8a22ad add angle to allow text rotation 2020-03-15 08:51:04 +01:00
h_vogt 697facdc30 #define fopen newfopen
and header for MINGW and MS VS
2020-03-15 08:51:04 +01:00
h_vogt 9f272ea8f6 function newfopen to replace fopen
by reading wide char strings
2020-03-15 08:51:04 +01:00
Holger Vogt 59adfc1d68 add extended ascii and its selection
converter UTF-8 to ISO-8859-1/ISO-8859-15
2020-03-15 08:51:04 +01:00
Holger Vogt c4f641dad6 remove bracket left over from recent manual merge conflict resolution 2020-03-15 08:51:04 +01:00
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.
2020-03-15 08:51:04 +01:00
Holger Vogt 28c0fbf397 Zero fp, this fixes bug no #475 2020-03-15 08:51:04 +01:00
Jim Monte 93233fde2c Made descriptions of invalid interpolation cases more descriptive and fixed a memory leak 2020-03-15 08:51:04 +01:00
dwarning 740df722c7 partially revert commit b4bbcb149 for spec analysis functionality 2020-03-15 08:51:04 +01:00
dwarning 86d7963f32 more meaningful warning if vector can't interpolate 2020-03-15 08:51:03 +01:00
Holger Vogt 0ad7acadec remove unreachable code warning, add const 2020-03-15 08:51:03 +01:00
Holger Vogt c77da1870d Fixed compiler warnings related to const, unreachable code, and an empty translation unit. 2020-03-15 08:51:03 +01:00
Jim Monte 7084274344 Fixed incorrect type of variable ch_cur. It was from const char * but should have been const char. 2020-03-15 08:51:03 +01:00
Holger Vogt 5bd45c0451 make path to dstring.c independent from build directory 2020-03-15 08:51:03 +01:00
Holger Vogt 5bc9a320eb Revert "correct the path to dstring.c"
This reverts commit 28002be150.
2020-03-15 08:51:03 +01:00
Holger Vogt 89ea46e39a prevent false freeing of vector 2020-03-15 08:51:03 +01:00
dwarning 129b219ed2 correct the path to dstring.c 2020-03-15 08:51:03 +01:00
dwarning 4f75d56011 no wrapper cp_globmatch needed 2020-03-15 08:51:03 +01:00
Vogt e628fd8977 just use strcmp instead of wrapper function 2020-03-15 08:51:02 +01:00
Holger Vogt 5e76758e57 update to cmpp by J. Monte 2020-03-15 08:51:02 +01:00
Jim Monte 955dda749d Jim Monte's update to cmpp 2020-03-15 08:51:02 +01:00
Holger Vogt 375a92d788 Fix of buffer overrun in interpolation at endpoint of interval.
Made cfunc.mod for tables more modular.
Prevented buffer overrun when building file name.
Added error checking for allocation failures in many locations.
Made binary search for interpolation more efficient.
2020-03-15 08:51:02 +01:00
Jim Monte 92065ea41b fixed singluar/plural agreement in an error message generated by the let command 2020-03-15 08:51:02 +01:00