summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* [818a1a51e4] Apply fixes from Andreas Seltenreich (reported to us by Tom ↵dkf2015-08-172-0/+4
| | | | Lane) for handling low memory situations. Should not be reachable in Tcl due to ckalloc() panic policy.
* Backport the fixes to handling of continue in for-step clauses.dkf2015-08-031-15/+23
|
* [3e7eca8c8c] Prevent overflow in size values passed to allocators.dgp2015-07-291-3/+19
|
* [3e7eca8c8c] Prevent overflow in the size value passed to ckrealloc().dgp2015-07-291-1/+3
|
* Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-232-0/+40
|\ | | | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
| * merge trunkbug_57945b574a_without_stubjan.nijtmans2015-07-1533-1505/+1399
| |\
| | * Implement TIP 436: Improve TclOO isa Introspectiondkf2015-07-102-63/+55
| | |\
| | | * Say what is meant more clearly, put syntax checks before semantic checks.dkf2015-07-011-42/+43
| | | |
| | | * Implementation of TIP #436: Improve TclOO isa Introspectiondkf2015-07-011-34/+25
| | | |
| | * | [a0ece9d6d4] The cmd field of a CmdFrame when non-NULL must point within thedgp2015-07-051-1/+0
| | | | | | | | | | | | string of the corresponding codePtr->source.
| | * | Plug leak of two mp_ints.dgp2015-07-021-0/+2
| | | |
| | * | 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
| | |\
| | * | 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
| | |\ \
| | * \ \ 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.
| | * | | | 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
| | |\ \ \ \ \ \ | | | | |/ / / / | | | |/| | | |
| | * | | | | | 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.
| * | | | | | | | Rename the new API to TclMutexUnlockAndFinalize as it is not platform-specific.Joe Mistachkin2015-06-172-3/+3
| | | | | | | | |
| * | | | | | | | Change Tcl_MutexUnlockAndFinalize() to internal function ↵jan.nijtmans2015-06-166-16/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclpMutexUnlockAndFinalize(). This does not require a TIP, and still should fix the reported bug.
| * | | | | | | | Merge updates from trunk.Joe Mistachkin2015-06-042-6/+10
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | [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.
| * | | | | | | | merge trunktesteddgp2015-05-282-112/+34
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | 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.
| | * | | | | | | 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.
| * | \ \ \ \ \ \ \ merge trunkdgp2015-05-201-14/+1
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / /
| | * | | | | | | | 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.
| * | | | | | | | | Update header file with the TIP number.Joe Mistachkin2015-05-171-1/+1
| | | | | | | | | |
| * | | | | | | | | Merge updates from trunk.Joe Mistachkin2015-05-176-32/+166
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / /
| | * | | | | | | | [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
| | |\ \ \ \ \ \ \ \ \