Codebase list gtkwave / 14deb20
New upstream version 3.3.116 أحمد المحمودي (Ahmed El-Mahmoudy) 8 months ago
10 changed file(s) with 52 addition(s) and 40 deletion(s). Raw diff Collapse all Expand all
18371837 Use MapViewOfFileEx for mmap on Windows (fstapi).
18381838 Define FST_DO_MISALIGNED_OPS on AArch64 (fstapi).
18391839 Fixed attrbegin short length problem.
1840 3.3.116 25jun23 Fix manpage/odt for vcd2fst command switch documentation for
1841 zlibpack.
1842 Add GDK_WINDOWING_WAYLAND check for gdkwayland.h header usage.
1843 Changed sprintf to snprintf in fstapi.c.
1844 Fix init crash on show_base_symbols enabled.
00 ##########################################################################
11
2 GTKWave 3.3.115 Wave Viewer is Copyright (C) 1999-2023 Tony Bybell.
2 GTKWave 3.3.116 Wave Viewer is Copyright (C) 1999-2023 Tony Bybell.
33 Portions of GTKWave are Copyright (C) 1999-2023 Udi Finkelstein.
44 Context support is Copyright (C) 2007-2023 Kermin Elliott Fleming.
55 Trace group support is Copyright (C) 2009-2023 Donald Baltus.
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for gtkwave-gtk3 3.3.115.
2 # Generated by GNU Autoconf 2.69 for gtkwave-gtk3 3.3.116.
33 #
44 # Report bugs to <bybell@rocketmail.com>.
55 #
579579 # Identity of this package.
580580 PACKAGE_NAME='gtkwave-gtk3'
581581 PACKAGE_TARNAME='gtkwave-gtk3'
582 PACKAGE_VERSION='3.3.115'
583 PACKAGE_STRING='gtkwave-gtk3 3.3.115'
582 PACKAGE_VERSION='3.3.116'
583 PACKAGE_STRING='gtkwave-gtk3 3.3.116'
584584 PACKAGE_BUGREPORT='bybell@rocketmail.com'
585585 PACKAGE_URL=''
586586
13941394 # Omit some internal or obsolete options to make the list less imposing.
13951395 # This message is too long to be a string in the A/UX 3.1 sh.
13961396 cat <<_ACEOF
1397 \`configure' configures gtkwave-gtk3 3.3.115 to adapt to many kinds of systems.
1397 \`configure' configures gtkwave-gtk3 3.3.116 to adapt to many kinds of systems.
13981398
13991399 Usage: $0 [OPTION]... [VAR=VALUE]...
14001400
14601460
14611461 if test -n "$ac_init_help"; then
14621462 case $ac_init_help in
1463 short | recursive ) echo "Configuration of gtkwave-gtk3 3.3.115:";;
1463 short | recursive ) echo "Configuration of gtkwave-gtk3 3.3.116:";;
14641464 esac
14651465 cat <<\_ACEOF
14661466
16081608 test -n "$ac_init_help" && exit $ac_status
16091609 if $ac_init_version; then
16101610 cat <<\_ACEOF
1611 gtkwave-gtk3 configure 3.3.115
1611 gtkwave-gtk3 configure 3.3.116
16121612 generated by GNU Autoconf 2.69
16131613
16141614 Copyright (C) 2012 Free Software Foundation, Inc.
22522252 This file contains any messages produced by compilers while
22532253 running configure, to aid debugging if configure makes a mistake.
22542254
2255 It was created by gtkwave-gtk3 $as_me 3.3.115, which was
2255 It was created by gtkwave-gtk3 $as_me 3.3.116, which was
22562256 generated by GNU Autoconf 2.69. Invocation command line was
22572257
22582258 $ $0 $@
31193119
31203120 # Define the identity of the package.
31213121 PACKAGE='gtkwave-gtk3'
3122 VERSION='3.3.115'
3122 VERSION='3.3.116'
31233123
31243124
31253125 cat >>confdefs.h <<_ACEOF
1156711567 # report actual input values of CONFIG_FILES etc. instead of their
1156811568 # values after options handling.
1156911569 ac_log="
11570 This file was extended by gtkwave-gtk3 $as_me 3.3.115, which was
11570 This file was extended by gtkwave-gtk3 $as_me 3.3.116, which was
1157111571 generated by GNU Autoconf 2.69. Invocation command line was
1157211572
1157311573 CONFIG_FILES = $CONFIG_FILES
1163311633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1163411634 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1163511635 ac_cs_version="\\
11636 gtkwave-gtk3 config.status 3.3.115
11636 gtkwave-gtk3 config.status 3.3.116
1163711637 configured by $0, generated by GNU Autoconf 2.69,
1163811638 with options \\"\$ac_cs_config\\"
1163911639
11 # Process this file with autoconf to produce a configure script.
22
33 AC_PREREQ(2.59)
4 AC_INIT(gtkwave-gtk3, 3.3.115, bybell@rocketmail.com)
4 AC_INIT(gtkwave-gtk3, 3.3.116, bybell@rocketmail.com)
55 AC_CONFIG_SRCDIR([src/vcd.c])
66 AM_INIT_AUTOMAKE
77 AC_CONFIG_HEADER([config.h])
77 <key>CFBundleExecutable</key>
88 <string>gtkwave</string>
99 <key>CFBundleGetInfoString</key>
10 <string>3.3.115, (C) 1999-2023 Tony Bybell http://gtkwave.sourceforge.net</string>
10 <string>3.3.116, (C) 1999-2023 Tony Bybell http://gtkwave.sourceforge.net</string>
1111 <key>CFBundleIconFile</key>
1212 <string>gtkwave.icns</string>
1313 <key>CFBundleIdentifier</key>
1717 <key>CFBundlePackageType</key>
1818 <string>APPL</string>
1919 <key>CFBundleShortVersionString</key>
20 <string>3.3.115</string>
20 <string>3.3.116</string>
2121 <key>CFBundleSignature</key>
2222 <string>????</string>
2323 <key>CFBundleVersion</key>
24 <string>3.3.115</string>
24 <string>3.3.116</string>
2525 <key>NSHumanReadableCopyright</key>
2626 <string>Copyright 1999 - 2023 Tony Bybell, GNU General Public License.</string>
2727 <key>LSMinimumSystemVersion</key>
2323 \fB\-F,\-\-fastpack\fR
2424 Indicates that fastlz should be used instead of LZ4 for value change data.
2525 .TP
26 \fB\-4,\-\-zlibpack\fR
26 \fB\-Z,\-\-zlibpack\fR
2727 Indicates that zlib should be used instead of LZ4 for value change data.
2828 .TP
2929 \fB\-c,\-\-compress\fR
77 #endif
88
99 #if GTK_CHECK_VERSION(3,22,26)
10 #if !defined(__MINGW32__) && !defined(MAC_INTEGRATION)
10 #if !defined(__MINGW32__) && !defined(MAC_INTEGRATION) && defined(GDK_WINDOWING_WAYLAND)
1111 #include <gdk/gdkwayland.h>
1212 #endif
1313 #endif
20512051 int zfd;
20522052 int fourpack_duo = 0;
20532053 #ifndef __MINGW32__
2054 char *fnam = (char *)malloc(strlen(xc->filename) + 5 + 1);
2054 int fnam_len = strlen(xc->filename) + 5 + 1;
2055 char *fnam = (char *)malloc(fnam_len);
20552056 #endif
20562057
20572058 fixup_offs = ftello(xc->handle);
21412142 fflush(xc->handle);
21422143
21432144 #ifndef __MINGW32__
2144 sprintf(fnam, "%s.hier", xc->filename);
2145 snprintf(fnam, fnam_len, "%s.hier", xc->filename);
21452146 unlink(fnam);
21462147 free(fnam);
21472148 #endif
28202821 uint32_t i;
28212822
28222823 name_len = strlen(name);
2823 elem_count_len = sprintf(elem_count_buf, "%" PRIu32, elem_count);
2824 elem_count_len = snprintf(elem_count_buf, 16, "%" PRIu32, elem_count);
28242825
28252826 literal_lens = (unsigned int *)calloc(elem_count, sizeof(unsigned int));
28262827 val_lens = (unsigned int *)calloc(elem_count, sizeof(unsigned int));
39083909 if(!xc->fh)
39093910 {
39103911 fst_off_t offs_cache = ftello(xc->f);
3911 char *fnam = (char *)malloc(strlen(xc->filename) + 6 + 16 + 32 + 1);
3912 int fnam_len = strlen(xc->filename) + 6 + 16 + 32 + 1;
3913 char *fnam = (char *)malloc(fnam_len);
39123914 unsigned char *mem = (unsigned char *)malloc(FST_GZIO_LEN);
39133915 fst_off_t hl, uclen;
39143916 fst_off_t clen = 0;
39273929 htyp = xc->contains_hier_section_lz4duo ? FST_BL_HIER_LZ4DUO : FST_BL_HIER_LZ4;
39283930 }
39293931
3930 sprintf(fnam, "%s.hier_%d_%p", xc->filename, getpid(), (void *)xc);
3932 snprintf(fnam, fnam_len, "%s.hier_%d_%p", xc->filename, getpid(), (void *)xc);
39313933 fstReaderFseeko(xc, xc->f, xc->hier_pos, SEEK_SET);
39323934 uclen = fstReaderUint64(xc->f);
39333935 #ifndef __MINGW32__
45844586 int zfd;
45854587 int flen = strlen(xc->filename);
45864588 char *hf;
4589 int hf_len;
45874590
45884591 seclen = fstReaderUint64(xc->f);
45894592 uclen = fstReaderUint64(xc->f);
45904593
45914594 if(!seclen) return(0); /* not finished compressing, this is a failed read */
45924595
4593 hf = (char *)calloc(1, flen + 16 + 32 + 1);
4594
4595 sprintf(hf, "%s.upk_%d_%p", xc->filename, getpid(), (void *)xc);
4596 hf_len = flen + 16 + 32 + 1;
4597 hf = (char *)calloc(1, hf_len);
4598
4599 snprintf(hf, hf_len, "%s.upk_%d_%p", xc->filename, getpid(), (void *)xc);
45964600 fcomp = fopen(hf, "w+b");
45974601 if(!fcomp)
45984602 {
51885192
51895193 if(beg_tim)
51905194 {
5191 if(dumpvars_state == 1) { wx_len = sprintf(wx_buf, "$end\n"); fstWritex(xc, wx_buf, wx_len); dumpvars_state = 2; }
5192 wx_len = sprintf(wx_buf, "#%" PRIu64 "\n", beg_tim);
5195 if(dumpvars_state == 1) { wx_len = snprintf(wx_buf, 32, "$end\n"); fstWritex(xc, wx_buf, wx_len); dumpvars_state = 2; }
5196 wx_len = snprintf(wx_buf, 32, "#%" PRIu64 "\n", beg_tim);
51935197 fstWritex(xc, wx_buf, wx_len);
5194 if(!dumpvars_state) { wx_len = sprintf(wx_buf, "$dumpvars\n"); fstWritex(xc, wx_buf, wx_len); dumpvars_state = 1; }
5198 if(!dumpvars_state) { wx_len = snprintf(wx_buf, 32, "$dumpvars\n"); fstWritex(xc, wx_buf, wx_len); dumpvars_state = 1; }
51955199 }
51965200 if((xc->num_blackouts)&&(cur_blackout != xc->num_blackouts))
51975201 {
51985202 if(beg_tim == xc->blackout_times[cur_blackout])
51995203 {
5200 wx_len = sprintf(wx_buf, "$dump%s $end\n", (xc->blackout_activity[cur_blackout++]) ? "on" : "off");
5204 wx_len = snprintf(wx_buf, 32, "$dump%s $end\n", (xc->blackout_activity[cur_blackout++]) ? "on" : "off");
52015205 fstWritex(xc, wx_buf, wx_len);
52025206 }
52035207 }
53315335 clone_d[j] = srcdata[7-j];
53325336 }
53335337 }
5334 sprintf((char *)xc->temp_signal_value_buf, "%.16g", d);
5338 snprintf((char *)xc->temp_signal_value_buf, xc->longest_signal_value_len + 1, "%.16g", d);
53355339 value_change_callback(user_callback_data_pointer, beg_tim, idx+1, xc->temp_signal_value_buf);
53365340 }
53375341 }
53595363 }
53605364
53615365 fstVcdID(vcdid_buf, idx+1);
5362 wx_len = sprintf(wx_buf, "r%.16g %s\n", d, vcdid_buf);
5366 wx_len = snprintf(wx_buf, 64, "r%.16g %s\n", d, vcdid_buf);
53635367 fstWritex(xc, wx_buf, wx_len);
53645368 }
53655369 }
56245628 }
56255629 }
56265630
5627 if(dumpvars_state == 1) { wx_len = sprintf(wx_buf, "$end\n"); fstWritex(xc, wx_buf, wx_len); dumpvars_state = 2; }
5628 wx_len = sprintf(wx_buf, "#%" PRIu64 "\n", time_table[i]);
5631 if(dumpvars_state == 1) { wx_len = snprintf(wx_buf, 32, "$end\n"); fstWritex(xc, wx_buf, wx_len); dumpvars_state = 2; }
5632 wx_len = snprintf(wx_buf, 32, "#%" PRIu64 "\n", time_table[i]);
56295633 fstWritex(xc, wx_buf, wx_len);
5630 if(!dumpvars_state) { wx_len = sprintf(wx_buf, "$dumpvars\n"); fstWritex(xc, wx_buf, wx_len); dumpvars_state = 1; }
5634 if(!dumpvars_state) { wx_len = snprintf(wx_buf, 32, "$dumpvars\n"); fstWritex(xc, wx_buf, wx_len); dumpvars_state = 1; }
56315635
56325636 if((xc->num_blackouts)&&(cur_blackout != xc->num_blackouts))
56335637 {
56345638 if(time_table[i] == xc->blackout_times[cur_blackout])
56355639 {
5636 wx_len = sprintf(wx_buf, "$dump%s $end\n", (xc->blackout_activity[cur_blackout++]) ? "on" : "off");
5640 wx_len = snprintf(wx_buf, 32, "$dump%s $end\n", (xc->blackout_activity[cur_blackout++]) ? "on" : "off");
56375641 fstWritex(xc, wx_buf, wx_len);
56385642 }
56395643 }
58835887 clone_d[j] = srcdata[7-j];
58845888 }
58855889 }
5886 sprintf((char *)xc->temp_signal_value_buf, "%.16g", d);
5890 snprintf((char *)xc->temp_signal_value_buf, xc->longest_signal_value_len + 1, "%.16g", d);
58875891 value_change_callback(user_callback_data_pointer, time_table[i], idx+1, xc->temp_signal_value_buf);
58885892 }
58895893 }
59095913 }
59105914 }
59115915
5912 wx_len = sprintf(wx_buf, "r%.16g", d);
5916 wx_len = snprintf(wx_buf, 32, "r%.16g", d);
59135917 fstWritex(xc, wx_buf, wx_len);
59145918 }
59155919 }
60156019 }
60166020 }
60176021
6018 sprintf((char *)buf, "%.16g", d);
6022 snprintf((char *)buf, 32, "%.16g", d); /* this will write 18 bytes */
60196023 }
60206024 }
60216025
66076611 }
66086612 }
66096613
6610 sprintf(buf, "r%.16g", d);
6614 snprintf(buf, 32, "r%.16g", d); /* this will write 19 bytes */
66116615 return(buf);
66126616 }
66136617 }
74147414 else
74157415 {
74167416 GLOBALS->show_base = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menu_wlist[WV_MENU_VSBS]));
7417 if (!GLOBALS->signalarea || !GLOBALS->wavewindow) {
7418 return;
7419 }
74177420 GLOBALS->signalwindow_width_dirty=1;
74187421 MaxSignalLength();
74197422 signalarea_configure_event(GLOBALS->signalarea, NULL);
1818 #include <gtk/gtkx.h>
1919 #endif
2020 #if GTK_CHECK_VERSION(3,22,26)
21 #if !defined(MAC_INTEGRATION)
21 #if !defined(MAC_INTEGRATION) && defined(GDK_WINDOWING_WAYLAND)
2222 #include <gdk/gdkwayland.h>
2323 #endif
2424 #endif