ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
December 2009
----- 2024 -----
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
22 participants
501 discussions
Start a n
N
ew thread
[tkreuzer] 44621: [NTDLL] Convert to spec. Taken from wine with massive changes by me. @ ros-arm-bringup: I couldn't verify it works for arm, so I kept the arm def file.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Wed Dec 16 18:32:30 2009 New Revision: 44621 URL:
http://svn.reactos.org/svn/reactos?rev=44621&view=rev
Log: [NTDLL] Convert to spec. Taken from wine with massive changes by me. @ ros-arm-bringup: I couldn't verify it works for arm, so I kept the arm def file. Added: trunk/reactos/dll/ntdll/def/ntdll.pspec (with props) Removed: trunk/reactos/dll/ntdll/def/ntdll_i386.def Modified: trunk/reactos/dll/ntdll/ntdll.rbuild [This mail would be too long, it was shortened to contain the URLs only.] Added: trunk/reactos/dll/ntdll/def/ntdll.pspec URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/def/ntdll.pspec?…
Removed: trunk/reactos/dll/ntdll/def/ntdll_i386.def URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/def/ntdll_i386.d…
Modified: trunk/reactos/dll/ntdll/ntdll.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ntdll.rbuild?rev…
14 years, 10 months
1
0
0
0
[sserapion] 44620: Revert unnecessary hack/fix.
by sserapion@svn.reactos.org
Author: sserapion Date: Wed Dec 16 18:01:24 2009 New Revision: 44620 URL:
http://svn.reactos.org/svn/reactos?rev=44620&view=rev
Log: Revert unnecessary hack/fix. Modified: branches/ros-amd64-bringup/reactos/drivers/video/miniport/vbe/vbemp.c Modified: branches/ros-amd64-bringup/reactos/drivers/video/miniport/vbe/vbemp.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/drive…
============================================================================== --- branches/ros-amd64-bringup/reactos/drivers/video/miniport/vbe/vbemp.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/drivers/video/miniport/vbe/vbemp.c [iso-8859-1] Wed Dec 16 18:01:24 2009 @@ -781,8 +781,6 @@ MapInformation->VideoRamBase = RequestedAddress->RequestedVirtualAddress; MapInformation->VideoRamLength = 0x10000; } -#else - FrameBuffer.QuadPart = 0; #endif VideoPortMapMemory(DeviceExtension, FrameBuffer,
14 years, 10 months
1
0
0
0
[cgutman] 44619: [OSKITTCP] - Add ROS-specific MSS code - We don't mirror our route cache with oskittcp so we can't rely on routes to get the MTU
by cgutman@svn.reactos.org
Author: cgutman Date: Wed Dec 16 05:45:43 2009 New Revision: 44619 URL:
http://svn.reactos.org/svn/reactos?rev=44619&view=rev
Log: [OSKITTCP] - Add ROS-specific MSS code - We don't mirror our route cache with oskittcp so we can't rely on routes to get the MTU Modified: branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/tcp_input.c Modified: branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/tcp_input.c URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/lib/driver…
============================================================================== --- branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/tcp_input.c [iso-8859-1] (original) +++ branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/tcp_input.c [iso-8859-1] Wed Dec 16 05:45:43 2009 @@ -1961,7 +1961,14 @@ inp = tp->t_inpcb; if ((rt = tcp_rtlookup(inp)) == NULL) { +#ifndef __REACTOS__ tp->t_maxopd = tp->t_maxseg = tcp_mssdflt; +#else + if (offer < tcp_mssdflt) + tp->t_maxopd = tp->t_maxseg = tcp_mssdflt; + else + tp->t_maxopd = tp->t_maxseg = min(offer, tcp_mssopt(tp)); +#endif return; } #ifndef __REACTOS__ @@ -2116,15 +2123,20 @@ tcp_mssopt(tp) struct tcpcb *tp; { +#ifndef __REACTOS__ struct rtentry *rt; rt = tcp_rtlookup(tp->t_inpcb); if (rt == NULL) return tcp_mssdflt; -#ifndef __REACTOS__ + return rt->rt_ifp->if_mtu - sizeof(struct tcpiphdr); #else - return tcp_mssdflt; + struct ifaddr *ifa = ifa_ifwithnet((struct sockaddr *)&tp->t_inpcb->inp_faddr); + if (ifa == NULL) + return tcp_mssdflt; + + return ifa->ifa_mtu - sizeof(struct tcpiphdr); #endif } #endif /* TUBA_INCLUDE */
14 years, 10 months
1
0
0
0
[cgutman] 44618: [OSKITTCP] - Fix broken MTU code (MTU was assumed to always be 1500)
by cgutman@svn.reactos.org
Author: cgutman Date: Wed Dec 16 03:41:39 2009 New Revision: 44618 URL:
http://svn.reactos.org/svn/reactos?rev=44618&view=rev
Log: [OSKITTCP] - Fix broken MTU code (MTU was assumed to always be 1500) Modified: branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/ip_output.c Modified: branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/ip_output.c URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/lib/driver…
============================================================================== --- branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/ip_output.c [iso-8859-1] (original) +++ branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/ip_output.c [iso-8859-1] Wed Dec 16 03:41:39 2009 @@ -160,6 +160,7 @@ */ #define ifatoia(ifa) ((struct in_ifaddr *)(ifa)) #define sintosa(sin) ((struct sockaddr *)(sin)) +#ifndef __REACTOS__ if (flags & IP_ROUTETOIF) { if ((ia = ifatoia(ifa_ifwithdstaddr(sintosa(dst)))) == 0 && (ia = ifatoia(ifa_ifwithnet(sintosa(dst)))) == 0) { @@ -167,9 +168,8 @@ error = ENETUNREACH; goto bad; } -#ifndef __REACTOS__ + ifp = ia->ia_ifp; -#endif ip->ip_ttl = 1; } else { /* @@ -181,7 +181,7 @@ * the link layer, as this is probably required in all cases * for correct operation (as it is for ARP). */ -#ifndef __REACTOS__ + if (ro->ro_rt == 0) rtalloc_ign(ro, RTF_PRCLONING); if (ro->ro_rt == 0) { @@ -195,8 +195,17 @@ ro->ro_rt->rt_use++; if (ro->ro_rt->rt_flags & RTF_GATEWAY) dst = (struct sockaddr_in *)ro->ro_rt->rt_gateway; -#endif - } + } + +#else + if ((ia = ifatoia(ifa_ifwithdstaddr(sintosa(dst)))) == 0 && + (ia = ifatoia(ifa_ifwithnet(sintosa(dst)))) == 0) { + ipstat.ips_noroute++; + error = ENETUNREACH; + goto bad; + } +#endif + #ifndef __REACTOS__ if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { struct in_multi *inm; @@ -358,7 +367,9 @@ /* * If small enough for interface, can just send directly. */ - if ((u_short)ip->ip_len <= 1400 /* XXX Get MTU from Interface */) { + + /* FIXME: This was ROS-modified code. Where is the original? */ + if ((u_short)ip->ip_len <= ((struct ifaddr *)ia)->ifa_mtu) { ip->ip_len = htons((u_short)ip->ip_len); ip->ip_off = htons((u_short)ip->ip_off); ip->ip_sum = 0; @@ -421,8 +432,7 @@ goto bad; } #else - OS_DbgPrint(OSK_MID_TRACE,("Using default mtu of 1500\n")); - len = (1500 - hlen) & ~7; + len = (((struct ifaddr *)ia)->ifa_mtu - hlen) & ~7; #endif {
14 years, 10 months
1
0
0
0
[tkreuzer] 44617: Copy from trunk
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Wed Dec 16 02:06:10 2009 New Revision: 44617 URL:
http://svn.reactos.org/svn/reactos?rev=44617&view=rev
Log: Copy from trunk Modified: branches/ros-amd64-bringup/reactos/tools/rsym/log2lines.c Modified: branches/ros-amd64-bringup/reactos/tools/rsym/log2lines.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools…
============================================================================== --- branches/ros-amd64-bringup/reactos/tools/rsym/log2lines.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/tools/rsym/log2lines.c [iso-8859-1] Wed Dec 16 02:06:10 2009 @@ -27,7 +27,7 @@ #define CP_CMD "copy /Y " #define DIR_FMT "dir /a:-d /s /b %s > %s" -#else /* not defined (__DJGPP__) || defined (__WIN32__) */ +#else /* not defined (__DJGPP__) || defined (__WIN32__) */ #include <errno.h> #include <limits.h> @@ -41,7 +41,7 @@ #define CP_CMD "cp -f " #define DIR_FMT "find %s -type f > %s" -#endif /* not defined (__DJGPP__) || defined (__WIN32__) */ +#endif /* not defined (__DJGPP__) || defined (__WIN32__) */ #define CP_FMT CP_CMD "%s %s > " DEV_NULL @@ -82,14 +82,14 @@ struct summ_struct { - int translated; - int undo; - int redo; - int skipped; - int diff; + int translated; + int undo; + int redo; + int skipped; + int diff; int majordiff; - int offset_errors; - int total; + int offset_errors; + int total; }; struct lineinfo_struct @@ -104,11 +104,11 @@ }; typedef struct cache_struct CACHE; -typedef struct summ_struct SUMM; +typedef struct summ_struct SUMM; typedef struct lineinfo_struct LINEINFO; -static CACHE cache; -static SUMM summ; +static CACHE cache; +static SUMM summ; static LINEINFO lastLine; static char *optchars = "bcd:fFhl:mMrsS:tTuUvz:"; @@ -130,7 +130,7 @@ static char opt_dir[MAX_PATH]; // -d static char opt_logFile[MAX_PATH]; // -l static char opt_7z[MAX_PATH]; // -z -static char opt_scanned[LINESIZE]; // all scanned options +static char opt_scanned[LINESIZE]; // all scanned options static FILE *logFile = NULL; static char *cache_name; @@ -229,9 +229,9 @@ static PROSSYM_ENTRY find_offset(void *data, size_t offset) { - PSYMBOLFILE_HEADER RosSymHeader = (PSYMBOLFILE_HEADER) data; - PROSSYM_ENTRY Entries = (PROSSYM_ENTRY) ((char *)data + RosSymHeader->SymbolsOffset); - size_t symbols = RosSymHeader->SymbolsLength / sizeof (ROSSYM_ENTRY); + PSYMBOLFILE_HEADER RosSymHeader = (PSYMBOLFILE_HEADER)data; + PROSSYM_ENTRY Entries = (PROSSYM_ENTRY)((char *)data + RosSymHeader->SymbolsOffset); + size_t symbols = RosSymHeader->SymbolsLength / sizeof(ROSSYM_ENTRY); size_t i; for (i = 0; i < symbols; i++) @@ -252,7 +252,7 @@ static int print_offset(void *data, size_t offset, char *toString) { - PSYMBOLFILE_HEADER RosSymHeader = (PSYMBOLFILE_HEADER) data; + PSYMBOLFILE_HEADER RosSymHeader = (PSYMBOLFILE_HEADER)data; PROSSYM_ENTRY e = NULL; PROSSYM_ENTRY e2 = NULL; int bFileOffsetChanged = 0; @@ -264,20 +264,20 @@ if (opt_twice) { e2 = find_offset(data, offset - 1); - - if ( e == e2 ) + + if (e == e2) e2 = NULL; else summ.diff++; - if ( opt_Twice && e2 ) + if (opt_Twice && e2) { e = e2; e2 = NULL; /* replaced (transparantly), but updated stats */ } } - if ( e || e2 ) + if (e || e2) { strcpy(lastLine.file1, &Strings[e->FileOffset]); strcpy(lastLine.func1, &Strings[e->FunctionOffset]); @@ -315,47 +315,47 @@ else strcat(fmt, "%.0s)"); - if (toString) - { // put in toString if provided + if (toString) + { // put in toString if provided snprintf(toString, LINESIZE, fmt, - &Strings[e->FileOffset], + &Strings[e->FileOffset], &Strings[e2->FileOffset], - (unsigned int)e->SourceLine, + (unsigned int)e->SourceLine, (unsigned int)e2->SourceLine, - &Strings[e->FunctionOffset], - &Strings[e2->FunctionOffset]); + &Strings[e->FunctionOffset], + &Strings[e2->FunctionOffset]); } else { strcat(fmt, "\n"); printf(fmt, - &Strings[e->FileOffset], + &Strings[e->FileOffset], &Strings[e2->FileOffset], - (unsigned int)e->SourceLine, + (unsigned int)e->SourceLine, (unsigned int)e2->SourceLine, &Strings[e->FunctionOffset], &Strings[e2->FunctionOffset]); } } else - { + { if (toString) { // put in toString if provided snprintf(toString, LINESIZE, "%s:%u (%s)", - &Strings[e->FileOffset], - (unsigned int)e->SourceLine, + &Strings[e->FileOffset], + (unsigned int)e->SourceLine, &Strings[e->FunctionOffset]); } else { printf("%s:%u (%s)\n", - &Strings[e->FileOffset], - (unsigned int)e->SourceLine, - &Strings[e->FunctionOffset]); - } - } - return 0; - } + &Strings[e->FileOffset], + (unsigned int)e->SourceLine, + &Strings[e->FunctionOffset]); + } + } + return 0; + } return 1; } @@ -371,24 +371,24 @@ int res; /* Check if MZ header exists */ - PEDosHeader = (PIMAGE_DOS_HEADER) FileData; + PEDosHeader = (PIMAGE_DOS_HEADER)FileData; if (PEDosHeader->e_magic != IMAGE_DOS_MAGIC || PEDosHeader->e_lfanew == 0L) { fprintf(stderr, "Input file is not a PE image.\n"); - summ.offset_errors ++; + summ.offset_errors++; return 1; } /* Locate PE file header */ /* sizeof(ULONG) = sizeof(MAGIC) */ - PEFileHeader = (PIMAGE_FILE_HEADER) ((char *)FileData + PEDosHeader->e_lfanew + sizeof (ULONG)); + PEFileHeader = (PIMAGE_FILE_HEADER)((char *)FileData + PEDosHeader->e_lfanew + sizeof(ULONG)); /* Locate optional header */ - PEOptHeader = (PIMAGE_OPTIONAL_HEADER) (PEFileHeader + 1); + PEOptHeader = (PIMAGE_OPTIONAL_HEADER)(PEFileHeader + 1); ImageBase = PEOptHeader->ImageBase; /* Locate PE section headers */ - PESectionHeaders = (PIMAGE_SECTION_HEADER) ((char *)PEOptHeader + PEFileHeader->SizeOfOptionalHeader); + PESectionHeaders = (PIMAGE_SECTION_HEADER)((char *)PEOptHeader + PEFileHeader->SizeOfOptionalHeader); /* make sure offset is what we want */ offset = fixup_offset(ImageBase, offset); @@ -398,7 +398,7 @@ if (!PERosSymSectionHeader) { fprintf(stderr, "Couldn't find rossym section in executable\n"); - summ.offset_errors ++; + summ.offset_errors++; return 1; } res = print_offset((char *)FileData + PERosSymSectionHeader->PointerToRawData, offset, toString); @@ -413,7 +413,7 @@ printf("??:0\n"); } fprintf(stderr, "Offset not found.\n"); - summ.offset_errors ++; + summ.offset_errors++; } return res; @@ -538,7 +538,7 @@ return 1; } - readLen = fread(&PEDosHeader, sizeof (IMAGE_DOS_HEADER), 1, fr); + readLen = fread(&PEDosHeader, sizeof(IMAGE_DOS_HEADER), 1, fr); if (1 != readLen) { if (opt_verbose) @@ -557,8 +557,8 @@ } /* Locate PE file header */ - res = fseek(fr, PEDosHeader.e_lfanew + sizeof (ULONG), SEEK_SET); - readLen = fread(&PEFileHeader, sizeof (IMAGE_FILE_HEADER), 1, fr); + res = fseek(fr, PEDosHeader.e_lfanew + sizeof(ULONG), SEEK_SET); + readLen = fread(&PEFileHeader, sizeof(IMAGE_FILE_HEADER), 1, fr); if (1 != readLen) { if (opt_verbose) @@ -568,7 +568,7 @@ } /* Locate optional header */ - readLen = fread(&PEOptHeader, sizeof (IMAGE_OPTIONAL_HEADER), 1, fr); + readLen = fread(&PEOptHeader, sizeof(IMAGE_OPTIONAL_HEADER), 1, fr); if (1 != readLen) { if (opt_verbose) @@ -625,7 +625,7 @@ if (!Line) return NULL; - pentry = malloc(sizeof (CACHE_ENTRY)); + pentry = malloc(sizeof(CACHE_ENTRY)); if (!pentry) return NULL; @@ -682,7 +682,7 @@ if (PATHCMP(name, pnext->name) == 0) { if (pprev) - { // move to head for faster lookup next time + { // move to head for faster lookup next time pprev->pnext = pnext->pnext; pnext->pnext = cache.phead; cache.phead = pnext; @@ -895,9 +895,9 @@ static char * remove_mark(char *Line) { - if( Line[1] == ' ' && Line[2] == '<' ) - if ( Line[0] == '*' || Line[0] == '?' ) - return Line+2; + if (Line[1] == ' ' && Line[2] == '<') + if (Line[0] == '*' || Line[0] == '?') + return Line + 2; return Line; } @@ -934,7 +934,7 @@ if (cnt == 3 && ch == ' ') { tail = strchr(s, '>'); - tail = tail ? tail-1 : tail; + tail = tail ? tail - 1 : tail; if (tail && tail[0] == ')' && tail[1] == '>') { res = 0; @@ -943,20 +943,20 @@ if (opt_redo && !(res = translate_file(path, offset, LineOut))) { log(outFile, "%s<%s:%x (%s)>%s", mark, path, offset, LineOut, tail); - summ.redo ++; + summ.redo++; } else { log(outFile, "%s<%s:%x>%s", mark, path, offset, tail); - summ.undo ++; + summ.undo++; } } else { mark = opt_Mark ? "? " : ""; - summ.skipped ++; + summ.skipped++; } - summ.total ++; + summ.total++; } } @@ -969,14 +969,14 @@ { mark = opt_mark ? "* " : ""; log(outFile, "%s<%s:%x (%s)>%s", mark, path, offset, LineOut, tail); - summ.translated ++; + summ.translated++; } else { mark = opt_Mark ? "? " : ""; - summ.skipped ++; + summ.skipped++; } - summ.total ++; + summ.total++; } } } @@ -990,29 +990,29 @@ } static void -print_summary(FILE * outFile) +print_summary(FILE *outFile) { if (outFile) { fprintf(outFile, "\n*** LOG2LINES SUMMARY ***\n"); - fprintf(outFile, "Translated: %d\n", summ.translated); - fprintf(outFile, "Reverted: %d\n", summ.undo); - fprintf(outFile, "Retranslated: %d\n", summ.redo); - fprintf(outFile, "Skipped: %d\n", summ.skipped); - fprintf(outFile, "Differ: %d\n", summ.diff); + fprintf(outFile, "Translated: %d\n", summ.translated); + fprintf(outFile, "Reverted: %d\n", summ.undo); + fprintf(outFile, "Retranslated: %d\n", summ.redo); + fprintf(outFile, "Skipped: %d\n", summ.skipped); + fprintf(outFile, "Differ: %d\n", summ.diff); fprintf(outFile, "Differ (function/source): %d\n", summ.majordiff); - fprintf(outFile, "Offset error: %d\n", summ.offset_errors); - fprintf(outFile, "Total: %d\n", summ.total); + fprintf(outFile, "Offset error: %d\n", summ.offset_errors); + fprintf(outFile, "Total: %d\n", summ.total); fprintf(outFile, "-------------------------------\n"); fprintf(outFile, "Log2lines version: " LOG2LINES_VERSION "\n"); - fprintf(outFile, "Directory: %s\n",opt_dir); - fprintf(outFile, "Passed options: %s\n",opt_scanned); + fprintf(outFile, "Directory: %s\n", opt_dir); + fprintf(outFile, "Passed options: %s\n", opt_scanned); fprintf(outFile, "-------------------------------\n"); } } static int -translate_files(FILE * inFile, FILE * outFile) +translate_files(FILE *inFile, FILE *outFile) { char *Line = malloc(LINESIZE + 1); char *path = malloc(LINESIZE + 1); @@ -1090,7 +1090,7 @@ } } else - { // Line by line, slightly faster but less interactive + { // Line by line, slightly faster but less interactive while (fgets(Line, LINESIZE, inFile) != NULL) { if (!opt_raw) @@ -1125,7 +1125,7 @@ " - Also, <offset> can be repeated for each <exefile>\n" " - NOTE: some of the options below will have no effect in this form.\n" " Otherwise it reads stdin and tries to translate lines of the form:\n" -" <IMAGENAME:ADDRESS>\n\n" +" <IMAGENAME:ADDRESS>\n\n" " The result is written to stdout.\n" " log2lines uses a cache in order to avoid a directory scan at each\n" " image lookup, greatly increasing performance. Only image path and its\n" @@ -1158,14 +1158,14 @@ " -r Raw output without translation.\n\n" " -s Statistics. A summary with the following info is printed after EOF:\n" " *** LOG2LINES SUMMARY ***\n" -" - Translated: Translated lines.\n" -" - Reverted: Lines translated back. See -u option\n" -" - Retranslated: Lines retranslated. See -U option\n" -" - Skipped: Lines not translated.\n" -" - Differ: Lines where (addr-1) info differs. See -tT options\n" +" - Translated: Translated lines.\n" +" - Reverted: Lines translated back. See -u option\n" +" - Retranslated: Lines retranslated. See -U option\n" +" - Skipped: Lines not translated.\n" +" - Differ: Lines where (addr-1) info differs. See -tT options\n" " - Differ(func/src):Lines where also function or source info differ.\n" -" - Offset error: Image exists, but error retrieving offset info.\n" -" - Total: Total number of lines attempted to translate.\n" +" - Offset error: Image exists, but error retrieving offset info.\n" +" - Total: Total number of lines attempted to translate.\n" " Also some version info is displayed.\n\n" " -S <context>\n" " Source lines. Display up to <context> lines until linenumber.\n" @@ -1195,7 +1195,7 @@ "Examples:\n" " Setup is a VMware machine with its serial port set to: '\\\\.\\pipe\\kdbg'.\n\n" " Just recreate cache after a svn update or a new module has been added:\n" -" log2lines -F\n\n" +" log2lines -F\n\n" " Use kdbg debugger via console (interactive):\n" " log2lines -c < \\\\.\\pipe\\kdbg\n\n" " Use kdbg debugger via console, and append copy to logFile:\n" @@ -1243,7 +1243,7 @@ char Line[LINESIZE]; int res = 0; char iso_tmp[MAX_PATH]; - int iso_copied = 0; + int iso_copied = 0; FILE *fiso; strcpy(iso_tmp, iso); @@ -1252,8 +1252,8 @@ if (opt_verbose) fprintf(stderr, "Open of %s failed (locked for writing?), trying to copy first\n", iso); - strcat(iso_tmp,"~"); - if (copy_file(iso,iso_tmp)) + strcat(iso_tmp, "~"); + if (copy_file(iso, iso_tmp)) return 3; iso_copied = 1; } @@ -1394,7 +1394,7 @@ } strcpy(opt_scanned, ""); - for (i=1; i<argc; i++) + for (i = 1; i < argc; i++) { strcat(opt_scanned, argv[i]); strcat(opt_scanned, " "); @@ -1506,7 +1506,7 @@ { if (opt_verbose) fprintf(stderr, "Disabling log buffering on %s\n", opt_logFile); - setbuf(logFile,NULL); + setbuf(logFile, NULL); } else { @@ -1537,15 +1537,15 @@ fprintf(stderr, "translating %s %s\n", base, offset); translate_file(base, my_atoi(offset), NULL); reportSource(stdout); - } + } else { fprintf(stderr, "<exefile> expected\n"); res = 3; break; - } - } - else + } + } + else { // Must be exefile base = offset; @@ -1553,7 +1553,7 @@ } } else - { // translate logging from stdin + { // translate logging from stdin translate_files(stdin, stdout); }
14 years, 10 months
1
0
0
0
[tkreuzer] 44616: Fix built a bit more.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Wed Dec 16 00:49:10 2009 New Revision: 44616 URL:
http://svn.reactos.org/svn/reactos?rev=44616&view=rev
Log: Fix built a bit more. Modified: trunk/reactos/base/applications/sndrec32/audio_membuffer.cpp Modified: trunk/reactos/base/applications/sndrec32/audio_membuffer.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
============================================================================== --- trunk/reactos/base/applications/sndrec32/audio_membuffer.cpp [iso-8859-1] (original) +++ trunk/reactos/base/applications/sndrec32/audio_membuffer.cpp [iso-8859-1] Wed Dec 16 00:49:10 2009 @@ -7,7 +7,7 @@ -#include "StdAfx.h" +#include "stdafx.h" #include "audio_membuffer.hpp"
14 years, 10 months
1
0
0
0
[janderwald] 44615: fix build
by janderwald@svn.reactos.org
Author: janderwald Date: Wed Dec 16 00:28:54 2009 New Revision: 44615 URL:
http://svn.reactos.org/svn/reactos?rev=44615&view=rev
Log: fix build Modified: trunk/reactos/base/applications/sndrec32/audio_def.hpp Modified: trunk/reactos/base/applications/sndrec32/audio_def.hpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
============================================================================== --- trunk/reactos/base/applications/sndrec32/audio_def.hpp [iso-8859-1] (original) +++ trunk/reactos/base/applications/sndrec32/audio_def.hpp [iso-8859-1] Wed Dec 16 00:28:54 2009 @@ -51,7 +51,7 @@ #include <windows.h> #include <mmsystem.h> //Windows MultiMedia (WINMM) audio apis #include <mmreg.h> //codecs stuff -#include <Msacm.h> //codecs stuff +#include <msacm.h> //codecs stuff
14 years, 10 months
1
0
0
0
[janderwald] 44613: * Added wavebar * Added format, duration, buffer, position labels - Now wave_in/out objects are opened only when pressed rec/play buttons. - The slider bar now real points to audio samples in the buffer - Some other little Gui changes - by Marco Pagliaricci (IRC: rendar)
by janderwald@svn.reactos.org
Author: janderwald Date: Tue Dec 15 23:39:18 2009 New Revision: 44613 URL:
http://svn.reactos.org/svn/reactos?rev=44613&view=rev
Log: * Added wavebar * Added format, duration, buffer, position labels - Now wave_in/out objects are opened only when pressed rec/play buttons. - The slider bar now real points to audio samples in the buffer - Some other little Gui changes - by Marco Pagliaricci (IRC: rendar) Modified: trunk/reactos/base/applications/sndrec32/audio_def.hpp trunk/reactos/base/applications/sndrec32/audio_format.cpp trunk/reactos/base/applications/sndrec32/audio_format.hpp trunk/reactos/base/applications/sndrec32/audio_membuffer.cpp trunk/reactos/base/applications/sndrec32/audio_membuffer.hpp trunk/reactos/base/applications/sndrec32/audio_producer.cpp trunk/reactos/base/applications/sndrec32/audio_producer.hpp trunk/reactos/base/applications/sndrec32/audio_receiver.cpp trunk/reactos/base/applications/sndrec32/audio_receiver.hpp trunk/reactos/base/applications/sndrec32/audio_resampler_acm.cpp trunk/reactos/base/applications/sndrec32/audio_resampler_acm.hpp trunk/reactos/base/applications/sndrec32/audio_wavein.cpp trunk/reactos/base/applications/sndrec32/audio_wavein.hpp trunk/reactos/base/applications/sndrec32/audio_waveout.cpp trunk/reactos/base/applications/sndrec32/audio_waveout.hpp trunk/reactos/base/applications/sndrec32/lang/en-US.rc trunk/reactos/base/applications/sndrec32/lang/it-IT.rc trunk/reactos/base/applications/sndrec32/resource.h trunk/reactos/base/applications/sndrec32/sndrec32.cpp trunk/reactos/base/applications/sndrec32/sndrec32.h trunk/reactos/base/applications/sndrec32/sndrec32.rbuild trunk/reactos/base/applications/sndrec32/stdafx.h trunk/reactos/base/applications/sndrec32/targetver.h [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/base/applications/sndrec32/audio_def.hpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_format.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_format.hpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_membuffer.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_membuffer.hpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_producer.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_producer.hpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_receiver.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_receiver.hpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_resampler_acm.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_resampler_acm.hpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_wavein.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_wavein.hpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_waveout.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/audio_waveout.hpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/resource.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/sndrec32.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/sndrec32.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/sndrec32.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/stdafx.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
Modified: trunk/reactos/base/applications/sndrec32/targetver.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
14 years, 10 months
1
0
0
0
[tkreuzer] 44612: remove old hacks
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Tue Dec 15 23:08:38 2009 New Revision: 44612 URL:
http://svn.reactos.org/svn/reactos?rev=44612&view=rev
Log: remove old hacks Modified: branches/ros-amd64-bringup/reactos/include/psdk/msacm.h branches/ros-amd64-bringup/reactos/include/psdk/sqlext.h Modified: branches/ros-amd64-bringup/reactos/include/psdk/msacm.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
============================================================================== --- branches/ros-amd64-bringup/reactos/include/psdk/msacm.h [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/include/psdk/msacm.h [iso-8859-1] Tue Dec 15 23:08:38 2009 @@ -21,9 +21,6 @@ #ifndef __WINE_MSACM_H #define __WINE_MSACM_H -/* HACK! This shouldn't be here, but wine code needs it. */ -#include <mmreg.h> - #ifdef __cplusplus extern "C" { #endif /* defined(__cplusplus) */ Modified: branches/ros-amd64-bringup/reactos/include/psdk/sqlext.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
============================================================================== --- branches/ros-amd64-bringup/reactos/include/psdk/sqlext.h [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/include/psdk/sqlext.h [iso-8859-1] Tue Dec 15 23:08:38 2009 @@ -1142,9 +1142,7 @@ #endif #define TRACE_VERSION 1000 -#ifndef __WINE_DEBUG_H // HACK!!! #define TRACE_ON 1 -#endif #ifndef RC_INVOKED #define SQL_ODBC_KEYWORDS \
14 years, 10 months
1
0
0
0
[tkreuzer] 44611: shuffle headers, add #undef, helps with wine macros.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Tue Dec 15 22:53:29 2009 New Revision: 44611 URL:
http://svn.reactos.org/svn/reactos?rev=44611&view=rev
Log: shuffle headers, add #undef, helps with wine macros. Modified: branches/ros-amd64-bringup/reactos/dll/win32/odbc32/proxyodbc.c Modified: branches/ros-amd64-bringup/reactos/dll/win32/odbc32/proxyodbc.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/w…
============================================================================== --- branches/ros-amd64-bringup/reactos/dll/win32/odbc32/proxyodbc.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/dll/win32/odbc32/proxyodbc.c [iso-8859-1] Tue Dec 15 22:53:29 2009 @@ -37,13 +37,16 @@ #include "windef.h" #include "winbase.h" #include "winreg.h" + +#include "sql.h" +#include "sqltypes.h" +#include "sqlext.h" + +#undef TRACE_ON + #include "wine/debug.h" #include "wine/library.h" #include "wine/unicode.h" - -#include "sql.h" -#include "sqltypes.h" -#include "sqlext.h" #include "proxyodbc.h"
14 years, 10 months
1
0
0
0
← Newer
1
...
20
21
22
23
24
25
26
...
51
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Results per page:
10
25
50
100
200