summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | merge trunkdgp2015-07-1785-7338/+11068
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | [9bad630c31] Prevent read outside of buffer bounds.dgp2015-07-151-1/+1
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | [9bad630c31] Prevent read outside of buffer bounds.dgp2015-07-151-1/+1
| | | | | | | | |
* | | | | | | | | [b1534b438b] Prevent read outside buffer boundaries.dgp2015-07-151-1/+12
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | [b1534b438b] Prevent read outside buffer boundaries.dgp2015-07-151-1/+12
| | | | | | | | |
* | | | | | | | | Increase some counter sizes related to filesystem epoch from int to size_t. ↵jan.nijtmans2015-07-152-15/+27
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | And prevent them ever becoming 0 due to an overflow. (backported with variation from androwish)
* | | | | | | | 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
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | 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.