Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Complete the second last commit |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | revised_text | tip-466 |
Files: | files | file ages | folders |
SHA1: |
3727f7a0f3142c26578bbfb8096087ec |
User & Date: | fvogel 2017-02-22 20:30:11 |
Context
2017-02-22
| ||
21:35 | Silence compiler warnings check-in: 56772126 user: fvogel tags: revised_text, tip-466 | |
20:30 | Complete the second last commit check-in: 3727f7a0 user: fvogel tags: revised_text, tip-466 | |
16:58 | Silence compiler warning check-in: 32323a1b user: fvogel tags: revised_text, tip-466 | |
Changes
Changes to generic/tkBitField.c.
︙ | ︙ | |||
11 12 13 14 15 16 17 | #include "tkBitField.h" #include "tkIntSet.h" #include "tkAlloc.h" #include <string.h> #include <assert.h> | | | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #include "tkBitField.h" #include "tkIntSet.h" #include "tkAlloc.h" #include <string.h> #include <assert.h> #if !(__STDC_VERSION__ >= 199901L) # define _TK_NEED_IMPLEMENTATION # include "tkBitFieldPriv.h" #endif #ifndef MAX # define MAX(a,b) (((int) a) < ((int) b) ? b : a) #endif |
︙ | ︙ | |||
1509 1510 1511 1512 1513 1514 1515 | return true; } #endif /* TK_UNUSED_BITFIELD_FUNCTIONS */ | | | 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 | return true; } #endif /* TK_UNUSED_BITFIELD_FUNCTIONS */ #if __STDC_VERSION__ >= 199901L /* Additionally we need stand-alone object code. */ #define inline extern inline TkBitField *TkBitNew(unsigned size); inline const unsigned char *TkBitData(const TkBitField *bf); inline unsigned TkBitByteSize(const TkBitField *bf); inline unsigned TkBitRefCount(const TkBitField *bf); inline void TkBitIncrRefCount(TkBitField *bf); |
︙ | ︙ |
Changes to generic/tkIntSet.c.
︙ | ︙ | |||
12 13 14 15 16 17 18 | * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ #include "tkIntSet.h" #include "tkBitField.h" #include "tkAlloc.h" | | | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ #include "tkIntSet.h" #include "tkBitField.h" #include "tkAlloc.h" #if !(__STDC_VERSION__ >= 199901L) # define _TK_NEED_IMPLEMENTATION # include "tkIntSetPriv.h" #endif #include <string.h> #include <assert.h> |
︙ | ︙ | |||
2120 2121 2122 2123 2124 2125 2126 | return true; } #endif /* TK_UNUSED_INTSET_FUNCTIONS */ | | | 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 | return true; } #endif /* TK_UNUSED_INTSET_FUNCTIONS */ #if __STDC_VERSION__ >= 199901L /* Additionally we need stand-alone object code. */ #define inline extern inline unsigned TkIntSetByteSize(const TkIntSet *set); inline const unsigned char *TkIntSetData(const TkIntSet *set); inline bool TkIntSetIsEmpty(const TkIntSet *set); inline unsigned TkIntSetSize(const TkIntSet *set); inline unsigned TkIntSetMax(const TkIntSet *set); |
︙ | ︙ |
Changes to generic/tkQTree.c.
︙ | ︙ | |||
44 45 46 47 48 49 50 | * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ #include "tkQTree.h" #include "tkAlloc.h" | | | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ #include "tkQTree.h" #include "tkAlloc.h" #if !(__STDC_VERSION__ >= 199901L) # define _TK_NEED_IMPLEMENTATION # include "tkQTreePriv.h" #endif #include <tcl.h> #include <string.h> #include <assert.h> |
︙ | ︙ | |||
1126 1127 1128 1129 1130 1131 1132 | return cd.count; } #endif /* QTREE_SEARCH_RECTS_CONTAINING */ | | | 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 | return cd.count; } #endif /* QTREE_SEARCH_RECTS_CONTAINING */ #if __STDC_VERSION__ >= 199901L /* Additionally we need stand-alone object code. */ #define inline extern inline bool TkQTreeRectIsEmpty(const TkQTreeRect *rect); inline bool TkQTreeRectIsEqual(const TkQTreeRect *rect1, const TkQTreeRect *rect2); inline bool TkQTreeRectContainsPoint(const TkQTreeRect *rect, TkQTreeCoord x, TkQTreeCoord y); inline bool TkQTreeRectContainsRect(const TkQTreeRect *rect1, const TkQTreeRect *rect2); inline bool TkQTreeRectIntersects(const TkQTreeRect *rect1, const TkQTreeRect *rect2); inline TkQTreeRect *TkQTreeRectSet(TkQTreeRect *rect, TkQTreeCoord xmin, TkQTreeCoord ymin, TkQTreeCoord xmax, TkQTreeCoord ymax); inline TkQTreeRect *TkQTreeRectTranslate(TkQTreeRect *rect, TkQTreeCoord dx, TkQTreeCoord dy); #endif /* __STDC_VERSION__ >= 199901L */ /* vi:set ts=8 sw=4: */ |
Changes to generic/tkRangeList.c.
︙ | ︙ | |||
12 13 14 15 16 17 18 | #include "tkRangeList.h" #include "tkAlloc.h" #include <tk.h> #include <string.h> #include <assert.h> | | | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #include "tkRangeList.h" #include "tkAlloc.h" #include <tk.h> #include <string.h> #include <assert.h> #if !(__STDC_VERSION__ >= 199901L) # define _TK_NEED_IMPLEMENTATION # include "tkRangeListPriv.h" #endif #ifndef MIN # define MIN(a,b) ((a) < (b) ? a : b) #endif |
︙ | ︙ | |||
665 666 667 668 669 670 671 | } printf("(%d)\n", ranges->count); } #endif /* !NDEBUG */ | | | 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 | } printf("(%d)\n", ranges->count); } #endif /* !NDEBUG */ #if __STDC_VERSION__ >= 199901L /* Additionally we need stand-alone object code. */ #define inline extern inline int TkRangeSpan(const TkRange *range); inline bool TkRangeTest(const TkRange *range, int value); inline int TkRangeListLow(const TkRangeList *ranges); inline int TkRangeListHigh(const TkRangeList *ranges); inline unsigned TkRangeListSpan(const TkRangeList *ranges); |
︙ | ︙ |
Changes to generic/tkText.c.
︙ | ︙ | |||
21 22 23 24 25 26 27 | #include "tkTextUndo.h" #include "tkTextTagSet.h" #include "tkBitField.h" #include <stdlib.h> #include <ctype.h> #include <assert.h> | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #include "tkTextUndo.h" #include "tkTextTagSet.h" #include "tkBitField.h" #include <stdlib.h> #include <ctype.h> #include <assert.h> #if !(__STDC_VERSION__ >= 199901L) # define _TK_NEED_IMPLEMENTATION # include "tkTextPriv.h" #endif #ifndef MAX # define MAX(a,b) ((a) < (b) ? b : a) #endif |
︙ | ︙ | |||
11491 11492 11493 11494 11495 11496 11497 | Tcl_SetObjResult(textPtr->interp, resultPtr); Tcl_DecrRefCount(resultPtr); } #endif /* !NDEBUG */ | | | 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 | Tcl_SetObjResult(textPtr->interp, resultPtr); Tcl_DecrRefCount(resultPtr); } #endif /* !NDEBUG */ #if __STDC_VERSION__ >= 199901L /* Additionally we need stand-alone object code. */ #define inline extern inline TkSharedText * TkBTreeGetShared(TkTextBTree tree); inline int TkBTreeGetNumberOfDisplayLines(const TkTextPixelInfo *pixelInfo); inline TkTextPixelInfo *TkBTreeLinePixelInfo(const TkText *textPtr, TkTextLine *linePtr); inline unsigned TkBTreeEpoch(TkTextBTree tree); inline unsigned TkBTreeIncrEpoch(TkTextBTree tree); |
︙ | ︙ |
Changes to generic/tkTextTagSet.c.
1 2 3 4 5 6 7 8 9 10 11 12 13 | /* * tkTextTagSet.c -- * * This module implements a set for tagging information. * * Copyright (c) 2015-2017 Gregor Cramer * * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ #include "tkTextTagSet.h" | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | /* * tkTextTagSet.c -- * * This module implements a set for tagging information. * * Copyright (c) 2015-2017 Gregor Cramer * * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ #include "tkTextTagSet.h" #if !(__STDC_VERSION__ >= 199901L) # define _TK_NEED_IMPLEMENTATION # include "tkTextTagSetPriv.h" #endif #if !TK_TEXT_DONT_USE_BITFIELDS # include <assert.h> |
︙ | ︙ | |||
1661 1662 1663 1664 1665 1666 1667 | } return TkIntSetJoinOfDifferences(MakeCopyIfNeeded(dst), ts1, ts2); } #endif /* !TK_TEXT_USE_BITFIELDS */ | | | 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 | } return TkIntSetJoinOfDifferences(MakeCopyIfNeeded(dst), ts1, ts2); } #endif /* !TK_TEXT_USE_BITFIELDS */ #if __STDC_VERSION__ >= 199901L /* Additionally we need stand-alone object code. */ #define inline extern #if !TK_TEXT_DONT_USE_BITFIELDS inline TkTextTagSet *TkTextTagSetNew(unsigned size); inline unsigned TkTextTagSetRefCount(const TkTextTagSet *ts); inline void TkTextTagSetIncrRefCount(TkTextTagSet *ts); inline unsigned TkTextTagSetDecrRefCount(TkTextTagSet *ts); |
︙ | ︙ |
Changes to generic/tkTextUndo.c.
︙ | ︙ | |||
10 11 12 13 14 15 16 | */ #include "tkTextUndo.h" #include "tkInt.h" #include "tkAlloc.h" #include <assert.h> | | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | */ #include "tkTextUndo.h" #include "tkInt.h" #include "tkAlloc.h" #include <assert.h> #if !(__STDC_VERSION__ >= 199901L) # define _TK_NEED_IMPLEMENTATION # include "tkTextUndoPriv.h" #endif #ifndef MAX # define MAX(a,b) ((a) < (b) ? b : a) #endif |
︙ | ︙ | |||
1036 1037 1038 1039 1040 1041 1042 | } } return NULL; } | | | 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 | } } return NULL; } #if __STDC_VERSION__ >= 199901L /* Additionally we need stand-alone object code. */ #define inline extern inline void TkTextUndoSetContext(TkTextUndoStack stack, TkTextUndoContext context); inline TkTextUndoContext TkTextUndoGetContext(const TkTextUndoStack stack); inline unsigned TkTextUndoGetMaxUndoDepth(const TkTextUndoStack stack); inline int TkTextUndoGetMaxRedoDepth(const TkTextUndoStack stack); inline unsigned TkTextUndoGetMaxSize(const TkTextUndoStack stack); |
︙ | ︙ |