New upstream version 3.3.116
أحمد المحمودي (Ahmed El-Mahmoudy)
8 months ago
1837 | 1837 | Use MapViewOfFileEx for mmap on Windows (fstapi). |
1838 | 1838 | Define FST_DO_MISALIGNED_OPS on AArch64 (fstapi). |
1839 | 1839 | 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. |
0 | 0 | ########################################################################## |
1 | 1 | |
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. | |
3 | 3 | Portions of GTKWave are Copyright (C) 1999-2023 Udi Finkelstein. |
4 | 4 | Context support is Copyright (C) 2007-2023 Kermin Elliott Fleming. |
5 | 5 | Trace group support is Copyright (C) 2009-2023 Donald Baltus. |
0 | 0 | #! /bin/sh |
1 | 1 | # 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. | |
3 | 3 | # |
4 | 4 | # Report bugs to <bybell@rocketmail.com>. |
5 | 5 | # |
579 | 579 | # Identity of this package. |
580 | 580 | PACKAGE_NAME='gtkwave-gtk3' |
581 | 581 | 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' | |
584 | 584 | PACKAGE_BUGREPORT='bybell@rocketmail.com' |
585 | 585 | PACKAGE_URL='' |
586 | 586 | |
1394 | 1394 | # Omit some internal or obsolete options to make the list less imposing. |
1395 | 1395 | # This message is too long to be a string in the A/UX 3.1 sh. |
1396 | 1396 | 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. | |
1398 | 1398 | |
1399 | 1399 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1400 | 1400 | |
1460 | 1460 | |
1461 | 1461 | if test -n "$ac_init_help"; then |
1462 | 1462 | 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:";; | |
1464 | 1464 | esac |
1465 | 1465 | cat <<\_ACEOF |
1466 | 1466 | |
1608 | 1608 | test -n "$ac_init_help" && exit $ac_status |
1609 | 1609 | if $ac_init_version; then |
1610 | 1610 | cat <<\_ACEOF |
1611 | gtkwave-gtk3 configure 3.3.115 | |
1611 | gtkwave-gtk3 configure 3.3.116 | |
1612 | 1612 | generated by GNU Autoconf 2.69 |
1613 | 1613 | |
1614 | 1614 | Copyright (C) 2012 Free Software Foundation, Inc. |
2252 | 2252 | This file contains any messages produced by compilers while |
2253 | 2253 | running configure, to aid debugging if configure makes a mistake. |
2254 | 2254 | |
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 | |
2256 | 2256 | generated by GNU Autoconf 2.69. Invocation command line was |
2257 | 2257 | |
2258 | 2258 | $ $0 $@ |
3119 | 3119 | |
3120 | 3120 | # Define the identity of the package. |
3121 | 3121 | PACKAGE='gtkwave-gtk3' |
3122 | VERSION='3.3.115' | |
3122 | VERSION='3.3.116' | |
3123 | 3123 | |
3124 | 3124 | |
3125 | 3125 | cat >>confdefs.h <<_ACEOF |
11567 | 11567 | # report actual input values of CONFIG_FILES etc. instead of their |
11568 | 11568 | # values after options handling. |
11569 | 11569 | 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 | |
11571 | 11571 | generated by GNU Autoconf 2.69. Invocation command line was |
11572 | 11572 | |
11573 | 11573 | CONFIG_FILES = $CONFIG_FILES |
11633 | 11633 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
11634 | 11634 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
11635 | 11635 | ac_cs_version="\\ |
11636 | gtkwave-gtk3 config.status 3.3.115 | |
11636 | gtkwave-gtk3 config.status 3.3.116 | |
11637 | 11637 | configured by $0, generated by GNU Autoconf 2.69, |
11638 | 11638 | with options \\"\$ac_cs_config\\" |
11639 | 11639 |
1 | 1 | # Process this file with autoconf to produce a configure script. |
2 | 2 | |
3 | 3 | 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) | |
5 | 5 | AC_CONFIG_SRCDIR([src/vcd.c]) |
6 | 6 | AM_INIT_AUTOMAKE |
7 | 7 | AC_CONFIG_HEADER([config.h]) |
7 | 7 | <key>CFBundleExecutable</key> |
8 | 8 | <string>gtkwave</string> |
9 | 9 | <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> | |
11 | 11 | <key>CFBundleIconFile</key> |
12 | 12 | <string>gtkwave.icns</string> |
13 | 13 | <key>CFBundleIdentifier</key> |
17 | 17 | <key>CFBundlePackageType</key> |
18 | 18 | <string>APPL</string> |
19 | 19 | <key>CFBundleShortVersionString</key> |
20 | <string>3.3.115</string> | |
20 | <string>3.3.116</string> | |
21 | 21 | <key>CFBundleSignature</key> |
22 | 22 | <string>????</string> |
23 | 23 | <key>CFBundleVersion</key> |
24 | <string>3.3.115</string> | |
24 | <string>3.3.116</string> | |
25 | 25 | <key>NSHumanReadableCopyright</key> |
26 | 26 | <string>Copyright 1999 - 2023 Tony Bybell, GNU General Public License.</string> |
27 | 27 | <key>LSMinimumSystemVersion</key> |
23 | 23 | \fB\-F,\-\-fastpack\fR |
24 | 24 | Indicates that fastlz should be used instead of LZ4 for value change data. |
25 | 25 | .TP |
26 | \fB\-4,\-\-zlibpack\fR | |
26 | \fB\-Z,\-\-zlibpack\fR | |
27 | 27 | Indicates that zlib should be used instead of LZ4 for value change data. |
28 | 28 | .TP |
29 | 29 | \fB\-c,\-\-compress\fR |
7 | 7 | #endif |
8 | 8 | |
9 | 9 | #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) | |
11 | 11 | #include <gdk/gdkwayland.h> |
12 | 12 | #endif |
13 | 13 | #endif |
2051 | 2051 | int zfd; |
2052 | 2052 | int fourpack_duo = 0; |
2053 | 2053 | #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); | |
2055 | 2056 | #endif |
2056 | 2057 | |
2057 | 2058 | fixup_offs = ftello(xc->handle); |
2141 | 2142 | fflush(xc->handle); |
2142 | 2143 | |
2143 | 2144 | #ifndef __MINGW32__ |
2144 | sprintf(fnam, "%s.hier", xc->filename); | |
2145 | snprintf(fnam, fnam_len, "%s.hier", xc->filename); | |
2145 | 2146 | unlink(fnam); |
2146 | 2147 | free(fnam); |
2147 | 2148 | #endif |
2820 | 2821 | uint32_t i; |
2821 | 2822 | |
2822 | 2823 | 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); | |
2824 | 2825 | |
2825 | 2826 | literal_lens = (unsigned int *)calloc(elem_count, sizeof(unsigned int)); |
2826 | 2827 | val_lens = (unsigned int *)calloc(elem_count, sizeof(unsigned int)); |
3908 | 3909 | if(!xc->fh) |
3909 | 3910 | { |
3910 | 3911 | 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); | |
3912 | 3914 | unsigned char *mem = (unsigned char *)malloc(FST_GZIO_LEN); |
3913 | 3915 | fst_off_t hl, uclen; |
3914 | 3916 | fst_off_t clen = 0; |
3927 | 3929 | htyp = xc->contains_hier_section_lz4duo ? FST_BL_HIER_LZ4DUO : FST_BL_HIER_LZ4; |
3928 | 3930 | } |
3929 | 3931 | |
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); | |
3931 | 3933 | fstReaderFseeko(xc, xc->f, xc->hier_pos, SEEK_SET); |
3932 | 3934 | uclen = fstReaderUint64(xc->f); |
3933 | 3935 | #ifndef __MINGW32__ |
4584 | 4586 | int zfd; |
4585 | 4587 | int flen = strlen(xc->filename); |
4586 | 4588 | char *hf; |
4589 | int hf_len; | |
4587 | 4590 | |
4588 | 4591 | seclen = fstReaderUint64(xc->f); |
4589 | 4592 | uclen = fstReaderUint64(xc->f); |
4590 | 4593 | |
4591 | 4594 | if(!seclen) return(0); /* not finished compressing, this is a failed read */ |
4592 | 4595 | |
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); | |
4596 | 4600 | fcomp = fopen(hf, "w+b"); |
4597 | 4601 | if(!fcomp) |
4598 | 4602 | { |
5188 | 5192 | |
5189 | 5193 | if(beg_tim) |
5190 | 5194 | { |
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); | |
5193 | 5197 | 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; } | |
5195 | 5199 | } |
5196 | 5200 | if((xc->num_blackouts)&&(cur_blackout != xc->num_blackouts)) |
5197 | 5201 | { |
5198 | 5202 | if(beg_tim == xc->blackout_times[cur_blackout]) |
5199 | 5203 | { |
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"); | |
5201 | 5205 | fstWritex(xc, wx_buf, wx_len); |
5202 | 5206 | } |
5203 | 5207 | } |
5331 | 5335 | clone_d[j] = srcdata[7-j]; |
5332 | 5336 | } |
5333 | 5337 | } |
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); | |
5335 | 5339 | value_change_callback(user_callback_data_pointer, beg_tim, idx+1, xc->temp_signal_value_buf); |
5336 | 5340 | } |
5337 | 5341 | } |
5359 | 5363 | } |
5360 | 5364 | |
5361 | 5365 | 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); | |
5363 | 5367 | fstWritex(xc, wx_buf, wx_len); |
5364 | 5368 | } |
5365 | 5369 | } |
5624 | 5628 | } |
5625 | 5629 | } |
5626 | 5630 | |
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]); | |
5629 | 5633 | 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; } | |
5631 | 5635 | |
5632 | 5636 | if((xc->num_blackouts)&&(cur_blackout != xc->num_blackouts)) |
5633 | 5637 | { |
5634 | 5638 | if(time_table[i] == xc->blackout_times[cur_blackout]) |
5635 | 5639 | { |
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"); | |
5637 | 5641 | fstWritex(xc, wx_buf, wx_len); |
5638 | 5642 | } |
5639 | 5643 | } |
5883 | 5887 | clone_d[j] = srcdata[7-j]; |
5884 | 5888 | } |
5885 | 5889 | } |
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); | |
5887 | 5891 | value_change_callback(user_callback_data_pointer, time_table[i], idx+1, xc->temp_signal_value_buf); |
5888 | 5892 | } |
5889 | 5893 | } |
5909 | 5913 | } |
5910 | 5914 | } |
5911 | 5915 | |
5912 | wx_len = sprintf(wx_buf, "r%.16g", d); | |
5916 | wx_len = snprintf(wx_buf, 32, "r%.16g", d); | |
5913 | 5917 | fstWritex(xc, wx_buf, wx_len); |
5914 | 5918 | } |
5915 | 5919 | } |
6015 | 6019 | } |
6016 | 6020 | } |
6017 | 6021 | |
6018 | sprintf((char *)buf, "%.16g", d); | |
6022 | snprintf((char *)buf, 32, "%.16g", d); /* this will write 18 bytes */ | |
6019 | 6023 | } |
6020 | 6024 | } |
6021 | 6025 | |
6607 | 6611 | } |
6608 | 6612 | } |
6609 | 6613 | |
6610 | sprintf(buf, "r%.16g", d); | |
6614 | snprintf(buf, 32, "r%.16g", d); /* this will write 19 bytes */ | |
6611 | 6615 | return(buf); |
6612 | 6616 | } |
6613 | 6617 | } |
7414 | 7414 | else |
7415 | 7415 | { |
7416 | 7416 | 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 | } | |
7417 | 7420 | GLOBALS->signalwindow_width_dirty=1; |
7418 | 7421 | MaxSignalLength(); |
7419 | 7422 | signalarea_configure_event(GLOBALS->signalarea, NULL); |