Changes between Version 3 and Version 4 of PreDecemberReleaseHackathon

Show
Ignore:
Timestamp:
12/12/09 03:27:33 (5 years ago)
Author:
jkeenan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PreDecemberReleaseHackathon

    v3 v4  
    1010== Resources == 
    1111 
     12=== `context_unify3` branch === 
     13 
     14[http://smolder.plusthree.com/app/public_projects/report_details/30822 Smolder report at r43007]. 
     15 
    1216=== `->strstart` cleanup === 
    1317 
     
    1721Check off completed instances by editing wiki to put an asterisk after first 2 vertical bars. 
    1822 
    19 ||||./src/ops/string.ops||392||$1 = PTR2UINTVAL($2->strstart); 
    20 ||||./src/gc/api.c||527||string->strstart        = NULL; 
    21 ||||./src/gc/api.c||734||sets also C<< str->strstart >> to the new buffer location, C<< str->bufused >> 
    22 ||||./src/gc/api.c||764||Buffer_bufstart(str) = str->strstart = mem; 
    23 ||||./src/gc/api.c||830||oldmem             = str->strstart; 
    24 ||||./src/gc/api.c||832||str->strstart      = mem; 
    25 ||||./src/gc/alloc_resources.c||439||offset = (ptrdiff_t)((STRING *)b)->strstart - 
    26 ||||./src/gc/alloc_resources.c||464||((STRING *)b)->strstart = (char *)Buffer_bufstart(b) + 
    27 ||||./src/gc/alloc_resources.c||500||((STRING *)b)->strstart = (char *)Buffer_bufstart(b) + 
    28 ||||./src/gc/alloc_resources.c||910||PARROT_ASSERT(((STRING *) pobj)->strstart >= 
    29 ||||./src/gc/alloc_resources.c||912||PARROT_ASSERT(((STRING *) pobj)->strstart + 
    30 ||||./src/gc/alloc_resources.c||927||PARROT_ASSERT(((STRING *)pobj)->strstart >= 
    31 ||||./src/gc/alloc_resources.c||929||PARROT_ASSERT(((STRING *)pobj)->strstart + 
    32 ||||./src/gc/mark_sweep.c||312||(char*) ((PMC*)b)->vtable->whoami->strstart); 
    33 ||||./src/packfile/pf_items.c||1331||s->strstart, OFFS(pf, *cursor))); 
    34 ||||./src/packfile/pf_items.c||1389||if (s->strstart) { 
    35 ||||./src/packfile/pf_items.c||1390||mem_sys_memcopy(charcursor, s->strstart, s->bufused); 
    36 ||||./src/pmc/filehandle.pmc||370||char * const r = readline(got_prompt ? prompt->strstart NULL); 
    37 ||||./src/pmc/filehandle.pmc||381||fprintf(stderr, "%s", prompt->strstart); 
    38 ||||./src/pmc/filehandle.pmc||394||&&    (((char *)string_result->strstart)[len - 1] == '\n' 
    39 ||||./src/pmc/filehandle.pmc||395||   ((char *)string_result->strstart)[len - 1] == '\r')) { 
    40 ||||./src/pmc/eval.pmc||284||if ((size_t)(res->strstart) & 0xf) { 
    41 ||||./src/pmc/eval.pmc||285||char *adr     = res->strstart; 
    42 ||||./src/pmc/eval.pmc||287||res->strstart = adr; 
    43 ||||./src/pmc/eval.pmc||296||PackFile_pack(INTERP, pf, (opcode_t *)res->strstart); 
    44 ||||./src/pmc/eval.pmc||354||if (!PackFile_unpack(INTERP, pf, (opcode_t *)packed->strstart, 
    45 ||||./src/io/win32.c||493||void * const buffer = s->strstart; 
    46 ||||./src/io/unix.c||556||const char * const buffer = s->strstart; 
    47 ||||./src/io/utf8.c||64||const utf8_t *u8ptr = (utf8_t *)((char *)s->strstart + 
    48 ||||./src/io/portable.c||306||const size_t   bytes = fread(s->strstart, 1, 1, fptr); 
    49 ||||./src/io/portable.c||311||ungetc(*(char *)s->strstart, fptr); 
    50 ||||./src/io/portable.c||409||void * const buffer = s->strstart; 
    51 ||||./src/io/buffer.c||303||if (!s->strstart) 
    52 ||||./src/io/buffer.c||306||out_buf = (unsigned char *)s->strstart; 
    53 ||||./src/io/buffer.c||442||memmove(s->strstart, buffer_next, len); 
    54 ||||./src/io/buffer.c||510||if (s->strstart) { 
    55 ||||./src/io/buffer.c||517||out_buf = (unsigned char*)s->strstart + s->strlen; 
    56 ||||./src/io/buffer.c||529||if (s->strstart) { 
    57 ||||./src/io/buffer.c||536||out_buf = (unsigned char*)s->strstart + s->strlen; 
    58 ||||./src/io/buffer.c||568||void          * const buffer       = s->strstart; 
    59 ||||./src/io/socket_win32.c||251||if ((error = send((int)io->os_handle, (char *)s->strstart + byteswrote, 
    60 ||||./src/io/socket_unix.c||304||if ((error = send(io->os_handle, (char *)s->strstart + byteswrote, 
    61 ||||./src/utils.c||585||const char * const str_start  = base->strstart; 
    62 ||||./src/utils.c||587||const char * const search_str = search->strstart; 
    63 ||||./src/utils.c||635||const char * const search_start = search->strstart; 
    64 ||||./src/utils.c||644||const char * const base_start = (char *)base->strstart + current_offset; 
    65 ||||./src/oo.c||958||bits = (((UINTVAL) method_name->strstart) >> 2) & TBL_SIZE_MASK; 
    66 ||||./src/oo.c||979||while (e && e->strstart != method_name->strstart) { 
    67 ||||./src/oo.c||991||e->strstart = method_name->strstart; 
    68 ||||./src/dynext.c||335||if (!STRING_IS_EMPTY(lib) && memcmp(lib->strstart, "lib", 3) == 0) { 
    69 ||||./src/dynext.c||336||*handle = Parrot_dlopen((char *)lib->strstart + 3); 
    70 ||||./src/dynext.c||346||if (!STRING_IS_EMPTY(lib) && memcmp(lib->strstart, "lib", 3) == 0) { 
    71 ||||./src/pmc_freeze.c||348||ignored = PF_store_number((opcode_t *)((ptrcast_t)s->strstart + used), &v); 
    72 ||||./src/pmc_freeze.c||377||ignored = PF_store_string((opcode_t *)((ptrcast_t)s->strstart + used), v); 
    73 ||||./src/pmc_freeze.c||399||const char * const   start  = (char *)io->image->strstart; 
    74 ||||./src/pmc_freeze.c||400||char               **opcode = &io->image->strstart; 
    75 ||||./src/pmc_freeze.c||404||io->image->bufused -= ((char *)io->image->strstart - start); 
    76 ||||./src/pmc_freeze.c||405||io->image->strlen  -= ((char *)io->image->strstart - start); 
    77 ||||./src/pmc_freeze.c||428||const char * const   start  = (const char *)io->image->strstart; 
    78 ||||./src/pmc_freeze.c||429||char               **opcode = &io->image->strstart; 
    79 ||||./src/pmc_freeze.c||433||io->image->bufused -= ((char *)io->image->strstart - start); 
    80 ||||./src/pmc_freeze.c||434||io->image->strlen  -= ((char *)io->image->strstart - start); 
    81 ||||./src/pmc_freeze.c||459||char * const   start  = (char*)io->image->strstart; 
    82 ||||./src/pmc_freeze.c||460||char *         opcode = io->image->strstart; 
    83 ||||./src/pmc_freeze.c||464||io->image->strstart = opcode; 
    84 ||||./src/pmc_freeze.c||535||mem_sys_memcopy(s->strstart, pf->header, PACKFILE_HEADER_BYTES); 
    85 ||||./src/pmc_freeze.c||554||mem_sys_memcopy(pf->header, s->strstart, PACKFILE_HEADER_BYTES); 
    86 ||||./src/pmc_freeze.c||560||LVALUE_CAST(char *, s->strstart) += header_length; 
    87 ||||./src/pmc_freeze.c||1140||LVALUE_CAST(char *, image->strstart) -= bufused; 
    88 ||||./src/pmc_freeze.c||1144||PARROT_ASSERT(image->strstart >= (char *)Buffer_bufstart(image)); 
    89 ||||./t/op/string_cs.t||735||# 106         dest_len = u_strToUpper(src->strstart, dest_len, 
    90 ||||./t/op/string_cs.t||740||# (gdb) x /8h src->strstart 
    91 ||||./t/op/string_cs.t||746||# (gdb) x /8h src->strstart 
    92  
    93 === `context_unify3` branch === 
    94  
    95 [http://smolder.plusthree.com/app/public_projects/report_details/30822 Smolder report at r43007]. 
     23||'''Fixed'''||'''File'''||'''Line'''||'''Code'''||'''Rev/Editor''' 
     24||||./src/ops/string.ops||392||$1 = PTR2UINTVAL($2->strstart);|| 
     25||||./src/gc/api.c||527||string->strstart        = NULL;|| 
     26||||./src/gc/api.c||734||sets also C<< str->strstart >> to the new buffer location, C<< str->bufused >>|| 
     27||||./src/gc/api.c||764||Buffer_bufstart(str) = str->strstart = mem;|| 
     28||||./src/gc/api.c||830||oldmem             = str->strstart;|| 
     29||||./src/gc/api.c||832||str->strstart      = mem;|| 
     30||||./src/gc/alloc_resources.c||439||offset = (ptrdiff_t)((STRING *)b)->strstart -|| 
     31||||./src/gc/alloc_resources.c||464||((STRING *)b)->strstart = (char *)Buffer_bufstart(b) +|| 
     32||||./src/gc/alloc_resources.c||500||((STRING *)b)->strstart = (char *)Buffer_bufstart(b) +|| 
     33||||./src/gc/alloc_resources.c||910||PARROT_ASSERT(((STRING *) pobj)->strstart >=|| 
     34||||./src/gc/alloc_resources.c||912||PARROT_ASSERT(((STRING *) pobj)->strstart +|| 
     35||||./src/gc/alloc_resources.c||927||PARROT_ASSERT(((STRING *)pobj)->strstart >=|| 
     36||||./src/gc/alloc_resources.c||929||PARROT_ASSERT(((STRING *)pobj)->strstart +|| 
     37||||./src/gc/mark_sweep.c||312||(char*) ((PMC*)b)->vtable->whoami->strstart);|| 
     38||||./src/packfile/pf_items.c||1331||s->strstart, OFFS(pf, *cursor)));|| 
     39||||./src/packfile/pf_items.c||1389||if (s->strstart) {|| 
     40||||./src/packfile/pf_items.c||1390||mem_sys_memcopy(charcursor, s->strstart, s->bufused);|| 
     41||||./src/pmc/filehandle.pmc||370||char * const r = readline(got_prompt ? prompt->strstart NULL);|| 
     42||||./src/pmc/filehandle.pmc||381||fprintf(stderr, "%s", prompt->strstart);|| 
     43||||./src/pmc/filehandle.pmc||394||&&    (((char *)string_result->strstart)[len - 1] == '\n'|| 
     44||||./src/pmc/filehandle.pmc||395||   ((char *)string_result->strstart)[len - 1] == '\r')) {|| 
     45||||./src/pmc/eval.pmc||284||if ((size_t)(res->strstart) & 0xf) {|| 
     46||||./src/pmc/eval.pmc||285||char *adr     = res->strstart;|| 
     47||||./src/pmc/eval.pmc||287||res->strstart = adr;|| 
     48||||./src/pmc/eval.pmc||296||PackFile_pack(INTERP, pf, (opcode_t *)res->strstart);|| 
     49||||./src/pmc/eval.pmc||354||if (!PackFile_unpack(INTERP, pf, (opcode_t *)packed->strstart,|| 
     50||||./src/io/win32.c||493||void * const buffer = s->strstart;|| 
     51||||./src/io/unix.c||556||const char * const buffer = s->strstart;|| 
     52||||./src/io/utf8.c||64||const utf8_t *u8ptr = (utf8_t *)((char *)s->strstart +|| 
     53||||./src/io/portable.c||306||const size_t   bytes = fread(s->strstart, 1, 1, fptr);|| 
     54||||./src/io/portable.c||311||ungetc(*(char *)s->strstart, fptr);|| 
     55||||./src/io/portable.c||409||void * const buffer = s->strstart;|| 
     56||||./src/io/buffer.c||303||if (!s->strstart)|| 
     57||||./src/io/buffer.c||306||out_buf = (unsigned char *)s->strstart;|| 
     58||||./src/io/buffer.c||442||memmove(s->strstart, buffer_next, len);|| 
     59||||./src/io/buffer.c||510||if (s->strstart) {|| 
     60||||./src/io/buffer.c||517||out_buf = (unsigned char*)s->strstart + s->strlen;|| 
     61||||./src/io/buffer.c||529||if (s->strstart) {|| 
     62||||./src/io/buffer.c||536||out_buf = (unsigned char*)s->strstart + s->strlen;|| 
     63||||./src/io/buffer.c||568||void          * const buffer       = s->strstart;|| 
     64||||./src/io/socket_win32.c||251||if ((error = send((int)io->os_handle, (char *)s->strstart + byteswrote,|| 
     65||||./src/io/socket_unix.c||304||if ((error = send(io->os_handle, (char *)s->strstart + byteswrote,|| 
     66||||./src/utils.c||585||const char * const str_start  = base->strstart;|| 
     67||||./src/utils.c||587||const char * const search_str = search->strstart;|| 
     68||||./src/utils.c||635||const char * const search_start = search->strstart;|| 
     69||||./src/utils.c||644||const char * const base_start = (char *)base->strstart + current_offset;|| 
     70||||./src/oo.c||958||bits = (((UINTVAL) method_name->strstart) >> 2) & TBL_SIZE_MASK;|| 
     71||||./src/oo.c||979||while (e && e->strstart != method_name->strstart) {|| 
     72||||./src/oo.c||991||e->strstart = method_name->strstart;|| 
     73||||./src/dynext.c||335||if (!STRING_IS_EMPTY(lib) && memcmp(lib->strstart, "lib", 3) == 0) {|| 
     74||||./src/dynext.c||336||*handle = Parrot_dlopen((char *)lib->strstart + 3);|| 
     75||||./src/dynext.c||346||if (!STRING_IS_EMPTY(lib) && memcmp(lib->strstart, "lib", 3) == 0) {|| 
     76||||./src/pmc_freeze.c||348||ignored = PF_store_number((opcode_t *)((ptrcast_t)s->strstart + used), &v);|| 
     77||||./src/pmc_freeze.c||377||ignored = PF_store_string((opcode_t *)((ptrcast_t)s->strstart + used), v);|| 
     78||||./src/pmc_freeze.c||399||const char * const   start  = (char *)io->image->strstart;|| 
     79||||./src/pmc_freeze.c||400||char               **opcode = &io->image->strstart;|| 
     80||||./src/pmc_freeze.c||404||io->image->bufused -= ((char *)io->image->strstart - start);|| 
     81||||./src/pmc_freeze.c||405||io->image->strlen  -= ((char *)io->image->strstart - start);|| 
     82||||./src/pmc_freeze.c||428||const char * const   start  = (const char *)io->image->strstart;|| 
     83||||./src/pmc_freeze.c||429||char               **opcode = &io->image->strstart;|| 
     84||||./src/pmc_freeze.c||433||io->image->bufused -= ((char *)io->image->strstart - start);|| 
     85||||./src/pmc_freeze.c||434||io->image->strlen  -= ((char *)io->image->strstart - start);|| 
     86||||./src/pmc_freeze.c||459||char * const   start  = (char*)io->image->strstart;|| 
     87||||./src/pmc_freeze.c||460||char *         opcode = io->image->strstart;|| 
     88||||./src/pmc_freeze.c||464||io->image->strstart = opcode;|| 
     89||||./src/pmc_freeze.c||535||mem_sys_memcopy(s->strstart, pf->header, PACKFILE_HEADER_BYTES);|| 
     90||||./src/pmc_freeze.c||554||mem_sys_memcopy(pf->header, s->strstart, PACKFILE_HEADER_BYTES);|| 
     91||||./src/pmc_freeze.c||560||LVALUE_CAST(char *, s->strstart) += header_length;|| 
     92||||./src/pmc_freeze.c||1140||LVALUE_CAST(char *, image->strstart) -= bufused;|| 
     93||||./src/pmc_freeze.c||1144||PARROT_ASSERT(image->strstart >= (char *)Buffer_bufstart(image));|| 
     94||||./t/op/string_cs.t||735||# 106         dest_len = u_strToUpper(src->strstart, dest_len,|| 
     95||||./t/op/string_cs.t||740||# (gdb) x /8h src->strstart|| 
     96||||./t/op/string_cs.t||746||# (gdb) x /8h src->strstart||