summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Revert refcount changes that were not cosmetic.dgp2015-07-025-7/+7
| | | | | | Changing equality testing to inequality testing does more than make code prettier or clearer. It makes it less strict, and thus more tolerant of other bugs elsewhere. Such changes deserve separate consideration at least, not breezy entry in an otherwise "code cleanup" commit.
* Revert some refcount changes on I/O structs.dgp2015-07-022-3/+3
| | | | | | | These are refcounts on structs, not Tcl_Obj's. Their scheme doesn't suffer the same difficulties and histories as Tcl_Obj's, and they need not copy every detail, appropriate or not, from Tcl_Obj refcount management. The "significant value" -- as dkf puts it -- for the struct refcounting scheme is 0 not 1.
* Another round of refCount consistancy improvements.jan.nijtmans2015-07-0212-86/+83
|
* remove code that was ifdef'ed out for ages (ENABLE_NS_VARNAME_CACHING), has ↵Miguel Sofer2015-07-021-163/+0
| | | | zero hope of being revived and got out of sync anyway
* Don't use internalRep.otherValuePtr any more, twoPtrValue.ptr1 is always a ↵jan.nijtmans2015-07-014-23/+24
| | | | | better idea. A few more consistancies in refcount management.
* Consistancy in refcount management.jan.nijtmans2015-06-305-11/+11
|
* Correct handling of dictionaries in the background error processing code.dkf2015-06-301-10/+10
|\
| * Correct handling of dictionaries in the background error processing code.dkf2015-06-301-10/+10
| |
* | Use twoPtrValue in stead of ptrAndLongRep for implementation of some ↵jan.nijtmans2015-06-306-71/+61
| | | | | | | | | | internal Obj types. On most platforms this doesn't make a difference, as (void *) and (long) generially have the same size. The only exception where it makes a difference is win64, as we can now store 64 bits in this field in stead of only 32 bits, exactly what the processor is optimized for.
* | Tcl_GetStringFromObj(..., NULL) -> Tcl_GetString(...). Use size_t in stead ↵jan.nijtmans2015-06-244-6/+6
| | | | | | | | of int for more internal variables.
* | Silence compiler warning.dgp2015-06-241-2/+1
|\ \ | |/
| * Make sure that an input lying precisely 1/2 ULP between two floating point ↵dgp2015-06-241-8/+30
| | | | | | | | values is rounded to even.
* | Member field which should not have been const, because it is dynamically ↵jan.nijtmans2015-06-234-22/+22
|\ \ | |/ | | | | allocated. Some end-of-line spacing in header files.
| * Member field which should not have been CONST, because it is dynamically ↵jan.nijtmans2015-06-231-1/+1
| | | | | | | | allocated
* | If the file system changes when "cwd" changes, force a filesystem refresh on ↵jan.nijtmans2015-06-231-6/+17
| | | | | | | | path objects. Needed for AndroWish/TclKit (???) in obscure situations, harmless on systems which only have a single native filesystem.
* | Make sure that an input lying precisely 1/2 ULP between two floating point ↵Kevin B Kenny2015-06-201-8/+31
| | | | | | | | values is rounded to even.
* | Remove lines of code made obsolete by earlier changes.dgp2015-06-191-5/+1
| |
| |
| \
*-. \ [a4cb3f06c4] Fix edge case handling in lreplace. Many more tests.dgp2015-06-181-1/+1
|\ \ \ | | |/
| * | fix for a4cb3f06c4fe - bug introduced in 32b61592465aspect2015-06-161-1/+1
| | |
* | | Upgrade all internal Unicode tables from Unicode 7.0 to Unicode 8.0jan.nijtmans2015-06-182-1042/+1088
|\ \ \ | | |/ | |/|
| * | Upgrade all internal Unicode tables from Unicode 7.0 to Unicode 8.0jan.nijtmans2015-06-182-1044/+1090
| | |
* | | Plug memory leaks in the Tcl_ZlibInflate() error handling code. Fix for ↵Joe Mistachkin2015-06-111-1/+2
| | | | | | | | | | | | ticket [478c446889].
* | | Stop documentation lie about command rename traces and comment lie aboutdgp2015-06-081-1/+1
|\ \ \ | |/ / | | | what's done with them in TclOO.
* | | [268b23df11] Revised patch to create phony source string when thedgp2015-06-031-5/+11
| | | | | | | | | | | | original script does not actually contain the command being invoked. (Example: the tcl::mathfunc::* command invoked via [expr] interpretation)
* | | Put the ellipsis inside, not outside, the close quote.dgp2015-06-031-1/+1
| | |
* | | [268b23df11] When GetSrcInfoForPc() returns NULL, make sure it also setsdgp2015-06-031-8/+6
| | | | | | | | | | | | the length to a non-positive value so nothing tries to read offsets from a NULL pointer.
* | | Make tweak to the mem-debug tracking official. It is now again possible to ↵andreask2015-05-271-14/+33
|\ \ \ | |/ / | | | | | | use regular packages with a mem-debug core without inciting a panic.
| * | Make tweak to the mem-debug tracking official. It is now again possible to ↵andreask2015-05-271-14/+33
| |\ \ | | | | | | | | | | | | use regular packages with a mem-debug core without inciting a panic.
| | * | Minor compilation issue fix, make sure variable declaration (via macro) is ↵aku_mem_debug_allow_regularJoe Mistachkin2015-05-221-6/+7
| | | | | | | | | | | | | | | | first.
| | * | Moved Tcl_Obj* objThreadMap release tracking to a location where regular ↵andreask2015-05-221-14/+32
| | | | | | | | | | | | | | | | packages will call through, enabling their full tracking by the core, and thus avoiding the "expected to create new entry for object map" panic seen otherwise.
* | | | Remove useless code, trying to sync win32 environment variables with ↵jan.nijtmans2015-05-251-98/+1
|\ \ \ \ | |/ / / | | | | | | | | cygwin's. cygwin1.dll is responsible for doing that. Taken over from cygwin's tcl fork.
| * | | Remove useless code, trying to sync win32 environment variables with ↵jan.nijtmans2015-05-251-99/+1
| | | | | | | | | | | | | | | | cygwin's. cygwin1.dll is responsible for doing that. Taken over from cygwin's tcl fork.
* | | | Tidier version.dgp_defer_string_repdkf2015-05-191-15/+1
| | | |
* | | | Don't cause string rep generation in [list <lit> <lit> ... <lit>] bytecode.dgp2015-05-191-9/+10
| | | | | | | | | | | | Candidate for merge to trunk to simplify bytecode.
* | | | [0f42ff7871] Remove unintentional difference between interpreted and ↵dkf2015-05-151-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | compiled [next].
| * \ \ \ merge trunkdgp2015-05-125-33/+168
| |\ \ \ \
| * | | | | Correction suggested by miguel. Passes test suite and fixes bug demos.dgp2015-04-081-1/+1
| | | | | |
| * | | | | Proposed fix.dgp2015-04-081-0/+1
| | | | | |
* | | | | | [9dd1bd7a74] Ensure that [self] returns a sensible value in a destructor ↵dkf2015-05-151-2/+7
| |/ / / / |/| | | | | | | | | | | | | | even when construction didn't complete.
* | | | | [894da183c8] Test and fix for regression in flushing blocked channels.dgp2015-04-291-1/+4
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | [894da183c8] Test and fix for regression in flushing blocked channels.dgp2015-04-291-1/+4
| |\ \ \ \
| | * | | | [894da183c8] Fix and test for bug at the point it was introduced.bug_894da183c8dgp2015-04-291-0/+3
| | | | | |
* | | | | | [879a0747be] Repair handling of incomplete multi-byte chars at the ends of ↵dgp2015-04-241-6/+53
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | input buffers. Also properly reset input encoding flags when cycling through a fleeting EOF condition.
| * | | | | [879a0747be] Repair handling of incomplete multi-byte chars at the endsdgp2015-04-241-7/+54
| | | | | | | | | | | | | | | | | | | | | | | | of input buffers. Also properly reset input encoding flags when cycling through a fleeting EOF condition.
* | | | | | Fix UtfToUtfProc() to remove the potential to read beyond end of input buffer.dgp2015-04-241-1/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Fix UtfToUtfProc() to remove the potential to read beyond end of input buffer.dgp2015-04-241-1/+1
| | | | | |
| * | | | | merge 8.5dgp2015-02-051-3/+15
| |\ \ \ \ \
| | * | | | | Backport of channel mem leak fix that got missed before.dgp2015-02-051-3/+15
| | | | | | |
| * | | | | | Bump to version 8.5.18.dgp2015-02-051-2/+2
| |/ / / / /
* | | | | | Reduce the list walking by keeping lastPtr fields.zippy_fifodgp2015-04-162-29/+37
| | | | | |