All times are UTC + 1 hour




Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: JonDO Console issues
PostPosted: Fri Aug 26, 2011 16:48 

Joined: Wed Nov 10, 2010 3:02
Posts: 82
It's updated. But the 2 C files are still in:

Code:
/*
* Copyright (c) 2007 David Crawshaw <david@zentus.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

#include <stdlib.h>
#include "sqlite3.h"

/* Provides access to metadata across NestedVM 7-argument limit on functions.*/
struct metadata {
  int pNotNull;
  int pPrimaryKey;
  int pAutoinc;
};

int column_metadata_helper(
  sqlite3 *db,
  sqlite3_stmt *stmt,
  int col,
  struct metadata *p
){
  const char *zTableName, *zColumnName;
  int rc = 0;

  p->pNotNull = 0;
  p->pPrimaryKey = 0;
  p->pAutoinc = 0;

  zTableName = sqlite3_column_table_name(stmt, col);
  zColumnName = sqlite3_column_name(stmt, col);

  if (zTableName && zColumnName) {
    rc = sqlite3_table_column_metadata(
      db, 0, zTableName, zColumnName, 0, 0,
      &p->pNotNull, &p->pPrimaryKey, &p->pAutoinc
    );
  }

  return rc;
}


extern int _call_java(int xType, int context, int args, int value);

void xFunc_helper(sqlite3_context *context, int args, sqlite3_value** value)
{
    _call_java(1, (int)context, args, (int)value);
}

void xStep_helper(sqlite3_context *context, int args, sqlite3_value** value)
{
    _call_java(2, (int)context, args, (int)value);
}

void xFinal_helper(sqlite3_context *context)
{
    _call_java(3, (int)context, 0, 0);
}

/* create function if pos is non-negative, aggregate if agg is true */
int create_function_helper(sqlite3 *db, const char *name, int pos, int agg)
{
    return sqlite3_create_function(db, name, -1, SQLITE_ANY, (void*)pos,
            pos>=0 && !agg ? &xFunc_helper : 0,
            pos>=0 &&  agg ? &xStep_helper : 0,
            pos>=0 &&  agg ? &xFinal_helper : 0);
}


Top
 Profile  
 
 Post subject: Re: JonDO Console issues
PostPosted: Thu Sep 01, 2011 10:31 
User avatar

Joined: Thu Dec 04, 2008 18:02
Posts: 1049
Sure. But that is not part of JonDoConsole's source code (you'll find all the source code here: http://svn.jondos.de/svnpub/JonDoConsole/trunk/). Rather that is external code JonDoConsole relies on in order to be able to create and handle databases. You'll find all the dependencies of it here: http://svn.jondos.de/svnpub/JonDoConsole/trunk/pom.xml (see: the dependency tags).


Top
 Profile  
 
 Post subject: Re: JonDO Console issues
PostPosted: Tue Oct 25, 2011 13:41 

Joined: Wed Nov 10, 2010 3:02
Posts: 82
http://anonymous-proxy-servers.net/en/jondoconsole.html

Quote:
Date: 2011-09-30 Version: 00.00.129


when run it says 128 only

it works with free services, paid not tested yet

most issues are still in (autoconnect still on, connects to other service then I just selected(?), it still says "Type 'reload' " although reloading already in progress, it finally finds the services, just it takes a long time and there is no progress or expiry time information).


Top
 Profile  
 
 Post subject: Re: JonDO Console issues
PostPosted: Mon Nov 07, 2011 17:27 
User avatar

Joined: Thu Dec 04, 2008 18:02
Posts: 1049
AnonymousTerrorist wrote:
http://anonymous-proxy-servers.net/en/jondoconsole.html

Quote:
Date: 2011-09-30 Version: 00.00.129


when run it says 128 only
Thanks for reporting this. Should be fixed now.

Quote:
it works with free services, paid not tested yet
It works for paid services as well.

AnonymousTerrorist wrote:
most issues are still in (autoconnect still on, connects to other service then I just selected(?), it still says "Type 'reload' " although reloading already in progress, it finally finds the services, just it takes a long time and there is no progress or expiry time information).
You may want to cache the necessary information as the message after start of JonDoConsole says. See: https://anonymous-proxy-servers.net/wik ... onsole.jar and there under section "Usage" the -s option. Hope that helps.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Free Trial for Premium Services
Free Trial for Premium Services
Get your free test code for JonDonym Premium services!
JonDonym News
JonDo Error Message
Fri, 03 Mai 2013
HTTPS Certificate Updates
Fri, 22 Feb 2013
Speaker's Corner
First-Party Cookies
Thu, 09 May 2013
JonDoBrowser 0.6 - Status Report
Tue, 16 Apr 2013
For your web site - free!
Get your free IP check image for your web site or forum here!
Latest software releases
JonDo 0.18.001
Tue, 29 May 2012
JonDoFox 2.6.14
Wed, 15 May 2013
JonDoBrowser 0.6 Beta
Mon, 08 Apr 2013
Live-CD/DVD 0.9.41
Fri, 12 Apr 2013