Below is the mysql.selectDatabase function: boolean mysqlselectdatabaseverb ( hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror ) { MYSQL *dbid;...
3112
Matt Neuburg
mattneub
Apr 12, 2007 3:19 pm
On or about 4/12/07 5:18 AM, thus spake "frontierkernel@yahoogroups.com" ... I wouldn't expect a double to be good for more than about 19 digits. (You should...
3113
creecode
Apr 12, 2007 4:49 pm
Hey David, ... IIRC. The getreadonlytextvalue is not read only in that it will prevent modifications to the variable but rather you the coder will not make...
3114
Andre Radke
andre_radke
Apr 12, 2007 6:19 pm
... You did remember correctly, Thomas: Using getreadonlytextvalue to obtain a string parameter from a kernel call implies a promise on your part to treat the...
3115
David Gewirtz
zatzdiagnostic
Apr 12, 2007 9:52 pm
Thanks guys! I'm recoding right now. And thanks for the hint on pushcharhandle.. that's important. -- David...
3116
David Gewirtz
zatzdiagnostic
Apr 12, 2007 10:26 pm
If you look at many of the Frontier .c files, for example langtmpstack.c, you'll see there are comments in both the C form (i.e., /* comment */) and in the C++...
3117
creecode
Apr 12, 2007 10:51 pm
We had some general c coding style guide talk in the past on this list but never got to the point of actually getting something up on frontierkernel.org. For...
3118
Seth
yahoo.seth@...
Apr 12, 2007 11:12 pm
... I think it's generally unimportant, BUT I prefer // for commenting out a couple lines here and there, and /**/ for commenting out blocks of code...
3119
creecode
Apr 12, 2007 11:49 pm
I got in, it just took a long time for the emails to show up....
3120
David Gewirtz
zatzdiagnostic
Apr 13, 2007 2:27 am
OK, thanks. I'm generally doing it reasonably cleanly, but I've completely let myself go while coding the MySQL stuff. I'll clean it up soon and if folks hate...
3121
David Gewirtz
zatzdiagnostic
Apr 13, 2007 7:34 am
I'm still working on it, but I thought I'd give an overview of what's working now: mysql.clearQuery: Clear a MySQL query. mysql.close: Close a MySQL...
3122
Andre Radke
andre_radke
Apr 13, 2007 9:08 am
... That's why I prefer sticking with /* C style */ comments, but I'm sure I have myself used C++ style // comments in some places, too. -André -- Andre Radke...
3123
Steve Kirks
srkbuh
Apr 13, 2007 10:30 pm
... Holy smoke! Steve Kirks http://houseofwarwick.com/ warwick@... AIM/iChat: srk@......
3124
David Gewirtz
zatzdiagnostic
Apr 14, 2007 12:53 am
Yah. One clarification: I'm doing Windows only. When I'm done with it, we'll have to decide how to do the Mac side, like we did with SQLite. One good thing is...
3125
Joshua Allen
allenjswa
Apr 14, 2007 7:54 pm
... Hi Andre, One of the senior devs on IE team investigated further, and we didn't find anything additional. It looks like the thread context is getting lost...
3126
Andre Radke
andre_radke
Apr 15, 2007 8:20 pm
... Thanks for the update. In the meantime, I got Visual Studio .NET 2003 set up on Win XP (SP2) with IE7, running under Parallels on a MacBook Pro. Now I can...
3127
David Gewirtz
zatzdiagnostic
Apr 15, 2007 10:07 pm
I want to create a simple mutex around the following lines of the MySQL query code: /* Process the initial query sequence */ returnCode = mysql_query(dbid,...
3128
Andre Radke
andre_radke
Apr 16, 2007 5:13 pm
... I assume this is cribbed from mysqlcompilequeryverb in langmysql.c? Since you don't release the thread globals in that context, you don't need to implement...
3129
creecode
Apr 18, 2007 6:41 pm
Hello all, Just another data point. I was unable to get Frontier to crash with IE7. This is under Virtual PC w/Windows XP Pro. Toodle-looooooooo........ ...
3130
Steve Kirks
srkbuh
Apr 18, 2007 10:51 pm
All: I don't have a lot of money, but since it talks and BS walks, I'm willing to pay *some* money for some help with a kernel fix. I can point you to the...
3131
creecode
Apr 18, 2007 11:05 pm
Hey Steve, Can you tell us more about the issue?...
3132
warwick@...
srkbuh
Apr 19, 2007 1:00 am
It's hard to say without stepping through the code and writing notes. The simple way to explain this is that the kernel is trying to decide what menu font to...
3133
Steve Kirks
srkbuh
Apr 21, 2007 2:41 pm
... Here's the path that the code takes: Thread 0 Crashed: 0 com.userland.Radio 0x000b6032 chainhashtable + 21 (langhash.c:488) 1...
3134
Steve Kirks
srkbuh
Apr 24, 2007 2:21 am
... Here's an update with more info. The problem exists all of the way back to revision 1284 when trying to open a file with a resource fork. Can someone...
3135
Steve Kirks
srkbuh
Apr 24, 2007 3:04 am
... The debugger docs says that if the eip thread state address is equal to the address of the crash address then it's likely the problem is pointer related....
3136
Steve Kirks
srkbuh
Apr 24, 2007 5:48 am
... I've stepped through the entire process to open a root file via the debugger and it's been an eye-opener for sure. Did you know that on a Mac, opening the...
3137
David Gewirtz
zatzdiagnostic
Apr 24, 2007 9:40 am
Steve, it sounds like you're well on your way. Why not use this as an excellent learning opportunity? (and, nope, I'm not your guy -- I don't know enough and...
3138
David Gewirtz
zatzdiagnostic
Apr 24, 2007 9:48 am
Thanks, Andre. Yes, it is pulled from mysql.query. Here's the MySQL docs statement that has me concerned: "If you want to use multiple threads on the same...
3139
Andre Radke
andre_radke
Apr 24, 2007 1:21 pm
... Your code is safe. Since your code doesn't explicitly release the global semaphore (see the threading docs I pointed to in my last message), the code in...
3140
Andre Radke
andre_radke
Apr 24, 2007 7:36 pm
Steve, take a look at the loaddefaultfont function in shellwindow.c. There's a comment by Timothy Paustian that describes the likeliest cause for your crashes,...