(file) Return to Group3.txt CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / twiki / data / WineDev

  1 rizwank 1.2 %META:TOPICINFO{author="RizwanKassim" date="1108461409" format="1.0" version="1.15"}%
  2 rizwank 1.1 %META:TOPICPARENT{name="WebHome"}%
  3 rizwank 1.2 %TOC%
  4             
  5             
  6 rizwank 1.1 ---++ Proposed Timeline
  7             <table width="752" border="0" cellpadding="4" cellspacing="0">
  8               <tr>
  9             	 <td width="40">Date</td>
 10             	 <td width="81">Task</td>
 11             	 <td width="316">Description</td>
 12             	 <td width="143">Deliverable</td>
 13             	 <td width="66">Weight(%)</td>
 14               </tr>
 15               <tr bgcolor="#99FFCC">
 16             	 <td align="center">1/20<br>(complete)</td>
 17             	 <td>Schedule</td>
 18             	 <td>Come up with a preliminary schedule for the project </td>
 19             	 <td>The schedule in Wiki </td>
 20             	 <td align="center">1</td>
 21               </tr>
 22               <tr bgcolor="#FFFFCC">
 23             	 <td align="center">1/21<br>(complete)</td>
 24             	 <td>Project 0</td>
 25             	 <td>Install Windows and Linux</td>
 26             	 <td>Report on Wiki</td>
 27 rizwank 1.1 	 <td align="center">2</td>
 28               </tr>
 29               <tr bgcolor="#FFFFCC">
 30             	 <td>&nbsp;</td>
 31             	 <td>Project 1</td>
 32             	 <td>Build Wine</td>
 33             	 <td>Report on Wiki</td>
 34             	 <td align="center">2</td>
 35               </tr>
 36               <tr bgcolor="#99FFCC">
 37             	 <td align="center">1/28<br>(complete)</td>
 38             	 <td>Project 2</td>
 39             	 <td>Run base conformance test</td>
 40             	 <td>Test results on Wiki</td>
 41             	 <td align="center">2</td>
 42               </tr>
 43               <tr bgcolor="#99FFCC">
 44             	 <td>&nbsp;</td>
 45             	 <td>Select DLL</td>
 46             	 <td>Research candiate DLL's and choose the one we will work on</td>
 47             	 <td>Report on Wiki</td>
 48 rizwank 1.1 	 <td align="center">1</td>
 49               </tr>
 50               <tr bgcolor="#FFFFCC">
 51 rizwank 1.2 	 <td align="center">2/4<br>(complete)</td>
 52 rizwank 1.1 	 <td>Design</td>
 53             	 <td>Plan the conformance test, determine most commonly used functions and arguments. </td>
 54             	 <td>Report on Wiki</td>
 55             	 <td align="center">4</td>
 56               </tr>
 57               <tr bgcolor="#FFFFCC">
 58             	 <td>&nbsp;</td>
 59             	 <td>Alpha</td>
 60             	 <td>Create first Win32 app, add a few function tests. Run in Windows</td>
 61             	 <td>Source</td>
 62             	 <td align="center">6</td>
 63               </tr>
 64               <tr bgcolor="#99FFCC">
 65 rizwank 1.2 	 <td align="center">2/14 (complete)</td>
 66 rizwank 1.1 	 <td>Beta</td>
 67 rizwank 1.2 	 <td><p>Have the most common calls implemented.<br><strike>Submit to wine-test-devel for review.</strike><br>Haven't recieved feedback from advisor yet, submission to public list will wait for advisor review.
 68              </p>
 69 rizwank 1.1 		</td>
 70             	 <td>Source</td>
 71             	 <td align="center">4</td>
 72               </tr>
 73               <tr bgcolor="#99FFCC">
 74             	 <td align="center">2/18</td>
 75             	 <td>Presentation</td>
 76 rizwank 1.2 	 <td><p>Present Basics of Wine, as well as an introduction to writing compliance tests</p>Submit to wine-test-devel for review.
 77 rizwank 1.1 		</td>
 78             	 <td>Source</td>
 79             	 <td align="center">3</td>
 80               </tr>
 81               <tr bgcolor="#FFFFCC">
 82             	 <td align="center">2/21</td>
 83             	 <td>Submit</td>
 84             	 <td>Modify based on feedback, and submit to Wine list. Modify based on feedback from the winehq list and resubmit every few days. </td>
 85             	 <td>Source</td>
 86             	 <td align="center">5</td>
 87               </tr>
 88               <tr bgcolor="#FFFFCC">
 89             	 <td align="center">Onwards</td>
 90             	 <td>Submit</td>
 91             	 <td>Continue upgrading test suite, preparing to submit as additional patch once test is accepted. </td>
 92             	 <td>Source</td>
 93             	 <td align="center">4</td>
 94               </tr>
 95               <tr>
 96             	 <td>&nbsp;</td>
 97             	 <td>Acceptance</td>
 98 rizwank 1.1 	 <td>Test accepted into winehq source tree</td>
 99             	 <td>&nbsp;</td>
100             	 <td align="center"></td>
101               </tr>
102               <tr bgcolor="#FFFFCC">
103             	 <td align="center">Finals</td>
104             	 <td>Final Presentation</td>
105             	 <td>Show final tests, execution on Win & Linux, as well as eviolution of code over CVS commits </td>
106             	 <td>Presentation</td>
107             	 <td align="center">5</td>
108               </tr>
109             </table>
110             
111             Relevant details can be found here: [[http://groups.yahoo.com/group/wine-test-devel/ Yahoo Wine-Test-Devel Group]]
112             
113 rizwank 1.2 ---++ Presentation Notes
114             <br>1)What is Wine?
115             <br>2)Wine in action
116             <br>3)Wine test in action
117             <br>4)LZW sample code
118             <br>5)Overview fdi/fci
119             <br>6)Why fdi and no fci
120             <br>7)Show the visio diagram of fdi.h
121             <br>
122             <br>Show: main create, dummy macros, fake macros, real macros, delete , iscabinet 
123             
124             
125             
126 rizwank 1.1 ---++ To Do
127             	* Incrementally add test cases to cabinet_fdi.c
128             
129             ---++ Progress as of Given Date
130             *2005-01-21:*
131             	* Installed Linux
132             	* Built Wine
133             	* Successfully ran notepad.exe.so, !WinZip 9 installer, !WinZip 9
134             
135             *2005-01-25:*
136             	* Ran conformance test. Looks successful. Here's the output of 'grep "Test failed" log | sed 's/:.*//' | uniq -c | sort':
137             	* Installed MSVC Tools
138             <pre>
139             		 Riz:
140             	  1 msg.c
141             	  2 typelib.c
142             	  3 dsound.c
143             	  3 dsound8.c
144             	 34 win.c
145             	 43 metafile.c
146             </pre>
147 rizwank 1.1 	* Logfile attached below.
148             	* Screenshot of X-Window running notepad on wine (via SSH)
149             
150             *2005-01-28:*
151             <pre>
152             Conformance Test on SuSe 9.2 
153             Wine CVS checkout: 01/26/05 
154             
155             Results:
156             		 Alex:
157             	104 input.c
158             	 16 ds3d8.c
159             	 16 ds3d.c
160             	  1 file.c
161             	  1 propset.c
162             	  1 url.c
163             	  1 win.c
164             	 24 msg.c
165             	  3 typelib.c 
166             	  3 dsound8.c
167             	  3 dsound.c
168 rizwank 1.1 </pre>
169             Results:
170             	* [[%ATTACHURL%/log][log]]: Suse 9.2 conformance test
171             	* [[%ATTACHURL%/errors.txt][errors.txt]]: Errors in the Suse 9.2 Conformance Test
172             
173             This may look like a lot of errors but from  looking at them it's clear they focus on video, sound, and mouse events. This install is on a laptop and SuSe is having some "issues" with the video card and the touchpad. 
174             
175             *Chosen DLL* <br>
176             We have decided to work on cabinet.dll. Cabinet was one of the recommended DLLs by Dan, and handles decompression routines for the Microsoft .CAB format. While this DLL isn't as highly used as others, such as Wsock32, the [[http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devnotes/winprog/developer_notes.asp CabinetSDK]] that it implements is used in many install routines - providing a detailed test of the API would be beneficial to ensuring Wine's overall compatability.
177             
178             *2005-01-31:*
179             
180             One sleepless night led to a total recompile of wine for me on linux.ucla.edu. (linux.ucla.edu runs debian-stable, which runs an older version of libungif than 'should' be allowed by wine's autoconf - the bug report to Wine-Devel and follow ups can be found in LugWine)
181             The log files for my installs and compiles for reference.
182             
183             	* [[%ATTACHURL%/Jan31.cvs.txt][Jan31.cvs.txt]]: Jan 31 Wine Rebuild - CVS log
184             	* [[%ATTACHURL%/Jan31.configure.txt][Jan31.configure.txt]]: Jan 31 Wine Rebuild - Configure log
185             	* [[%ATTACHURL%/config.log][config.log]]: Jan 31 Wine Rebuild - config.log
186             	* [[%ATTACHURL%/config.status][config.status]]: Jan 31 Wine Rebuild - config.status
187             	* [[%ATTACHURL%/Jan31.depend.txt][Jan31.depend.txt]]: Jan 31 Wine Rebuild - 'make depend' log
188             	* [[%ATTACHURL%/Jan31.make-wogif.txt][Jan31.make-wogif.txt]]: Jan 31 Wine Rebuild - 'make' log
189 rizwank 1.1 	* [[%ATTACHURL%/Jan31.depend2.txt][Jan31.depend2.txt]]: Jan 31 Wine Rebuild - 'make depend' log #2 - post gif_lib.h fix
190             	* [[%ATTACHURL%/Jan31.make.txt][Jan31.make.txt]]: Jan 31 Wine Rebuild - 'make' log #2 - post gif_lib.h fix
191             
192             *2005-02-02:*
193             
194             With gif_lib.h fix:
195             		1 typelib.c
196             		3 dsound.c
197             		3 dsound8.c
198             		8 marshal.c
199             	  11 win.c
200             
201             *2005-02-03:*
202             
203             	  Successfully compiled the lzexpand test using MS headers on WindowsXP. <br>
204             	  Test ran successfully. 
205             
206             	  [[%ATTACHURL%/lzexpand_main.exe][lzexpand_main.exe]]: WinXP compilation of lzexpand test
207             
208 rizwank 1.2 ---++ Alpha
209             
210 rizwank 1.1 *2005-02-03:*
211             
212             	  Cabinet includes 2 interfaces. The File Compression Interface in FCI.h and the File Decompression Interface in FDI.h
213             	  By looking at fci.c we found that the functionaliry of FCI is essentialy not implemented in Wine. This file, which should hold the implementation of the FCI interface is essentially full for FIXME's. FDI however, being the more important, as programs actually use it, is implemented. Therefore we have descided to focus on the FDI interface
214             	  at the moment. 
215             
216             		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _Short Description of Functions:_ <br>
217             			 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FDICreate-Creates an FDI context.<br>
218             			 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FDIIsCabinet-Determines if a file is a cabinet and if so returns information about it.<br>
219             			 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FDICopy-Extracts a file from a cabinet.<br>
220             			 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FDIDestroy-Destroys an FDI context. <br>
221             
222             			 Furthermore there are nine callback functions that the user must provide inorder for the FDI to work. These functions deal primarily with memory and file I/O and having the user										provide them allows the interface to be used in a wide range of applications, and on nontraditional devices. 
223             
224             
225             	  [[%ATTACHURL%/FCI-FDI.DOC][FCI-FDI.DOC]]: FCI and FDI SDK Documentation <br>
226             	  [[%ATTACHURL%/FDI.H][FDI.H]]: File Decompression Interface header <br>
227             	  [[%ATTACHURL%/FDI_wine.H][FDI_wine.H]]: Wine version of FDI header file <br>
228             	  [[%ATTACHURL%/fci.c][fci.c]]: Wine (Non)Implementation of FCI
229             
230             
231 rizwank 1.1 
232             
233             *2005-02-04:*
234             
235             	  Created an Alpha Test which excersises a small subset of the functionality. <br> Refer to http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/group3/wine/dlls/cabinet/tests/ for the source code of the Makefile and cabinet_fdi.c
236             
237             Alpha results are fine on Windows.<br>
238             Results on Linux-wine<br>
239             [rizwank@xorn ~/win..cabinet/tests]$make<br>
240             ../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole cabinet_fdi.o testlist.o  -o cabinet_test.exe.so -L../../../libs/port -lwine_port -L../../../dlls -L../../../libs -lkernel32  -L/home/rizwank/lib <br>
241             cabinet_fdi.o: In function `TestDestroy':<br>
242             /home/rizwank/wine/dlls/cabinet/tests/cabinet_fdi.c:122: undefined reference to `FDIDestroy'<br>
243             /home/rizwank/wine/dlls/cabinet/tests/cabinet_fdi.c:123: undefined reference to `FDIDestroy'<br>
244             /home/rizwank/wine/dlls/cabinet/tests/cabinet_fdi.c:124: undefined reference to `FDIDestroy'<br>
245             cabinet_fdi.o: In function `TestCreate':<br>
246             /home/rizwank/wine/dlls/cabinet/tests/cabinet_fdi.c:135: undefined reference to `FDICreate'<br>
247             /home/rizwank/wine/dlls/cabinet/tests/cabinet_fdi.c:148: undefined reference to `FDICreate'<br>
248             /home/rizwank/wine/dlls/cabinet/tests/cabinet_fdi.c:161: undefined reference to `FDICreate'<br>
249             testlist.o: In function `get_tls_data':<br>
250             /home/rizwank/wine/dlls/cabinet/tests/testlist.c(.data+0x4): undefined reference to `func_cabinet_fdi'<br>
251             collect2: ld returned 1 exit status<br>
252 rizwank 1.1 winegcc: gcc failed.<br>
253             make: *** [cabinet_test.exe.so] Error 2<br>
254             <br>Obviously there is some header confusion.
255             
256             -- Main.RizwanKassim - 26 Jan 2005
257             	* [[%ATTACHURL%/oldlog.txt][oldlog.txt]]: Rizwan's Earlier Wine Conformance Test
258             
259             	* [[%ATTACHURL%/log.txt][log.txt]]: Rizwan's Current Wine Conformance Test
260             
261             
262             
263             	* [[%ATTACHURL%/TESTFDI.C][TESTFDI.C]]: TestFDI from MS - For REFERENCE ONLY
264             
265             	* [[%ATTACHURL%/FDI_wine.H][FDI_wine.H]]: Wine version of FDI header file
266             
267             	* [[%ATTACHURL%/fci.c][fci.c]]: Wine Implementation of FCI
268             
269 rizwank 1.2 ---++ Beta 
270             
271             *2005-02-11*<br>
272             
273             Offered an update to CVS with numerous changes and some significant questions onto the onward direction of our code bases. [[http://groups.yahoo.com/group/wine-test-devel/message/70 Message to wine-test-devel]].<p>
274             Channeling work with Alex --- will post CHANGELOG to code after final commit on the 14th.<br>
275             -- Main.RizwanKassim - 11 Feb 2005<p>
276             
277             *2005-02-14*<br>
278             <br>Added much "meat" to the code
279             <br>Streamlined some of the information printing by making a function to print all cabinet info
280             <br>Made a function to check that all the cabinet info is correct.
281             <br>The test now has fully working implementations of all I/O related functions, though changes in how files are treated will likely happen
282             <br>Implemented FDICopy and part of the notify function that it uses, code is now able to look at a cabinet and extract files from it. 
283             
284             *2005-02-14*<br>
285             Above link to wine-test-devel message, looking at the appropriate CVS diffs since Feb 94 will show the significant change in our project at this point. (see below for links) The four core functions of fdicreate are now implemented, and we have live extraction of files as well. In addition, I've written [[http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/group3/wine/dlls/cabinet/tests/hexify.sh hexify.sh]] to convert any given file into a C array automagically to handle the file encapsulation behavior that we've seen in the [[http://www.winehq.com/hypermail/wine-patches/2004/11/0182.html lzexpand demo]] that we've been shown. We planned to write a class emulating _open, _read, _write, etc for virtual files, but realized the following:
286             	* Can't write classes in C
287             	* Shouldn't spend a ton of time emulating those functions if we can 'buy' them (no luck yet)
288             	* Still pending advisors input on whether to virtualize files or not
289             Other major changes in this version (versus the last):
290 rizwank 1.2 	* [[http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/group3/wine/dlls/cabinet/tests/ Sample]] Cab files for extraction testing
291             	* [[http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/group3/wine/dlls/cabinet/tests/compile.bat Compilation script ]]
292             	* Comparison Diffs
293             		* [[http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/group3/wine/dlls/cabinet/tests/cabinet_fdi.c.diff?r1=text&tr1=1.5&r2=text&tr2=2.4&diff_format=l Overall diff for Alpha->Beta]]
294             		* [[http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/group3/wine/dlls/cabinet/tests/cabinet_fdi.c.diff?r1=text&tr1=1.5&r2=text&tr2=2.0&diff_format=l Diff between Alpha->Advisor Review Submission]] - The test cabinets, single virtual file, adding 'quiet' memory functions, real&fake open, close, read, added TestInfo function testing FDIIsCabinet.
295             		* [[http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/group3/wine/dlls/cabinet/tests/cabinet_fdi.c.diff?r1=text&tr1=2.0&r2=text&tr2=2.2&diff_format=h Diff for Alex]] -- See his notes above on his work
296             		* [[http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/group3/wine/dlls/cabinet/tests/cabinet_fdi.c.diff?r1=text&tr1=2.2&r2=text&tr2=2.4&diff_format=h Diff for Rizwan 2]] -- Added extended virtual file capabilities, minor changes and cleanup. 
297             	* [[http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/group3/wine/dlls/cabinet/tests/cabinet_fdi.c?r1=2.3 Versioning]] for reference :
298             		* Version 1.5 - 02/04 submission
299             		* Version 2.0 - Submission to Advisor
300             		* Version 2.2 - Alex's submission
301             		* Version 2.4 - Rizwan's next submission
302             <p>
303             Currently am [[http://groups.yahoo.com/group/wine-test-devel/message/72 discussing presentiation plans]] with group.
304             
305             Attaching compiled test executable BETA.
306             -- Main.RizwanKassim - 14 Feb 2005
307             
308             	* [[%ATTACHURL%/cabinet_fdi.exe][cabinet_fdi.exe]]: CabinetFDI Test - Beta
309             
310 rizwank 1.1 %META:FILEATTACHMENT{name="oldlog.txt" attr="" comment="Rizwan's Earlier Wine Conformance Test" date="1106984958" path="C:\cygwin\home\rizwank\oldlog.txt" size="41" user="RizwanKassim" version="1.1"}%
311             %META:FILEATTACHMENT{name="log.txt" attr="" comment="Rizwan's Current Wine Conformance Test" date="1106985141" path="C:\cygwin\home\rizwank\log.txt" size="68876" user="RizwanKassim" version="1.1"}%
312             %META:FILEATTACHMENT{name="log" attr="" comment="Suse 9.2 conformance test" date="1106990916" path="log" size="87782" user="AleksandrLiber" version="1.1"}%
313             %META:FILEATTACHMENT{name="errors.txt" attr="" comment="Erros for Suse 9.2" date="1106990958" path="errors.txt" size="4557" user="AleksandrLiber" version="1.1"}%
314             %META:FILEATTACHMENT{name="Wine3GradeSheet.xls" attr="" comment="Grade Sheet" date="1107564278" path="Z:\Wine3GradeSheet.xls" size="15360" user="RizwanKassim" version="1.2"}%
315             %META:FILEATTACHMENT{name="TESTFDI.C" attr="" comment="TestFDI from MS - For REFERENCE ONLY" date="1107498433" path="C:\temp\user\cab\SAMPLES\TESTFDI\TESTFDI.C" size="9347" user="RizwanKassim" version="1.1"}%
316             %META:FILEATTACHMENT{name="FCI-FDI.DOC" attr="" comment="FCI and FDI SDK Documentation" date="1107498473" path="C:\temp\user\cab\DOCS\FCI-FDI.DOC" size="59106" user="RizwanKassim" version="1.1"}%
317             %META:FILEATTACHMENT{name="FDI.H" attr="" comment="File Decompression Interface header" date="1107510990" path="FDI.H" size="47309" user="AleksandrLiber" version="1.1"}%
318             %META:FILEATTACHMENT{name="lzexpand_main.exe" attr="" comment="WinXP compilation of lzexpand test" date="1107511057" path="lzexpand_main.exe" size="32768" user="AleksandrLiber" version="1.1"}%
319             %META:FILEATTACHMENT{name="FDI_wine.H" attr="" comment="Wine version of FDI header file" date="1107512348" path="FDI_wine.H" size="10491" user="AleksandrLiber" version="1.1"}%
320             %META:FILEATTACHMENT{name="fci.c" attr="" comment="Wine Implementation of FCI" date="1107512386" path="fci.c" size="3588" user="AleksandrLiber" version="1.1"}%
321 rizwank 1.2 %META:FILEATTACHMENT{name="cabinet_fdi.exe" attr="" comment="CabinetFDI Test - Beta" date="1108461286" path="U:\wine\dlls\cabinet\tests\cabinet_fdi.exe" size="86016" user="RizwanKassim" version="1.1"}%

Rizwan Kassim
Powered by
ViewCVS 0.9.2