Jump to content


Photo

Netsurf


  • Please log in to reply
46 replies to this topic

#1 scachi

scachi

    GP32 User

  • Members
  • PipPipPip
  • 87 posts

Posted 08 September 2011 - 09:24 PM

Hi,

here is a first port of netsurf for testing.
Onscreen keyboard is available in the lower-right corner (tiny keyboard image).
You have to click first in the input field where the input should appear before inserting text.
That's buggy atm as the inserted text is not visible .. but it works.

#2 kayuz

kayuz

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 559 posts
  • Gender:Male

Posted 08 September 2011 - 09:33 PM

THANKS!!! GUY THANKS!! :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
i will try it immediately!!!!
thanks you!
ps: can you host this test on another file sharing site? i have problems with uploaded ;)
EIDT2: i tested it, so i found a lot of problems:
first: when you tap on the onscreen keyboard you don't see what you are writing;
second: it don't display the images, but i think you can't do anything, is the browser directely ;)
third: can you use too the caanoo controls like the ABYX bottons or the analogic stick? will be more easy to manage the web pages: for help i think in caanoo browser from rikku2000 will be some trick to enamble them ;) http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?0,0,0,0,112,509

Edited by kayuz, 08 September 2011 - 10:11 PM.


#3 scachi

scachi

    GP32 User

  • Members
  • PipPipPip
  • 87 posts

Posted 09 September 2011 - 07:11 AM

THANKS!!! GUY THANKS!! :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
i will try it immediately!!!!
thanks you!
ps: can you host this test on another file sharing site? i have problems with uploaded ;)
EIDT2: i tested it, so i found a lot of problems:
first: when you tap on the onscreen keyboard you don't see what you are writing;
second: it don't display the images, but i think you can't do anything, is the browser directely ;)
third: can you use too the caanoo controls like the ABYX bottons or the analogic stick? will be more easy to manage the web pages: for help i think in caanoo browser from rikku2000 will be some trick to enamble them ;) http://dl.openhandhe...0,0,0,0,112,509

Thx for testing and reporting + link.
Can you recommend another free file sharing site ?

I'll try to fix all the problems in the next few days.

#4 DJRoby4

DJRoby4

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 194 posts

Posted 09 September 2011 - 07:21 AM

Yeah, surfing the net with the analog stick would be awesome. Well, i'm trying this browser on my arch installation (on pc) and the images are loading. This seems to be a great browser on pc, I haven't tested it yet on the caanoo.
Great idea, man!
=)

#5 DJRoby4

DJRoby4

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 194 posts

Posted 09 September 2011 - 07:23 AM

You can use OpenHandhelds and write in the description that is a alpha, or use megaupload or (the simplest way) you can attach the file to the post! =)
Roberto.

#6 kayuz

kayuz

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 559 posts
  • Gender:Male

Posted 09 September 2011 - 08:05 AM

no no no, use mediafire, no wait for donwload and easy upload ;)
thanks you so much for listened my report, hope to see all fixed :D

EDIT: i add in wikipedia that Netsurf is avaible on the caanoo.
second i host your test on mediafire ;) http://www.mediafire.com/?4b5vtdnrir3bbxf

Edited by kayuz, 09 September 2011 - 02:50 PM.


#7 Zip

Zip

    Member

  • Members
  • PipPip
  • 23 posts
  • Gender:Male
  • Location:Italy

Posted 09 September 2011 - 11:35 PM

when the browser is 100% fixed you must upload to OpenHandeld.org (there are some time problem to upgrade a release in a new version)
at all thanx for port :)

#8 vcoleiro1

vcoleiro1

    Member

  • Members
  • PipPip
  • 11 posts

Posted 10 September 2011 - 04:01 AM

Keep up the good work, your effort is much appreciated

#9 scachi

scachi

    GP32 User

  • Members
  • PipPipPip
  • 87 posts

Posted 10 September 2011 - 06:26 PM

Hi,

test2 is available.
Images should be working and entered text is visible now too.

No caanoo button control is supported at the moment..it will be added with my next test release.

#10 kayuz

kayuz

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 559 posts
  • Gender:Male

Posted 10 September 2011 - 06:31 PM

NEW UPDATE! tHANKS A LOT!! :D :D :D :D
i wait spasmodly the next test ;)
thanks scachi ;)
EDIT.
so, i try it and there are my suggestions for the next version:
- add some more features.. like Favorites.. i don't know if there are already enambled in the original browser.
- is impossible to enamble flash or javascrips...(i don't want anything ;)
- and naturally the CAANOO controls

anway great work, guy ;)

Edited by kayuz, 10 September 2011 - 07:12 PM.


#11 KIRA_NIX

KIRA_NIX

    Member

  • Members
  • PipPip
  • 29 posts
  • Gender:Male
  • Location:Paris, France

Posted 11 September 2011 - 08:56 AM

Great job scachi

#12 Luo=-_

Luo=-_

    GP32 User

  • Members
  • PipPipPip
  • 75 posts
  • Gender:Male
  • Location:Curitiba - Paraná - Brasil
  • Interests:Caanoo scene

Posted 11 September 2011 - 03:11 PM

I tested for about half hour yesterday and the browser is VERY promising! The sites show your pictures and frames correctly. Obviously needs a little work but, for you Scachi... congratulations!!! THANK YOU! :D

Keep working... the way it is is already the best browser for Caanoo. :)

Luo=-_

#13 KIRA_NIX

KIRA_NIX

    Member

  • Members
  • PipPip
  • 29 posts
  • Gender:Male
  • Location:Paris, France

Posted 11 September 2011 - 07:40 PM

Where is the '@' on the keyboard ?!?

#14 LTStone

LTStone

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 345 posts
  • Gender:Male
  • Interests:my awesome wife and kids
    my V-max
    gaming
    Street fighter alpha 3
    theology

Posted 11 September 2011 - 08:28 PM

Would this be hard to port for the Wiz?

#15 Rikku2000

Rikku2000

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 301 posts
  • Gender:Not Telling

Posted 12 September 2011 - 10:24 AM

If you want and you can add it:
Posted Image
Posted Image
The code is not the best way but it works for me.

Code:
SDL_Joystick *joy;

/* Virtual Keyboard Init */
int virtual_keyboard_open; // If its 1 then open the Virtual Keyboard
int virtual_keyboard_shift = 0; // If its 1 then use the SHIFT keys

int virtual_keyboard_init;
int virtual_keyboard_x = 51;
int virtual_keyboard_y = 147;

const SDLKey virtual_keyboard_array1[] = {
	SDLK_q, SDLK_w, SDLK_e, SDLK_r, SDLK_t, SDLK_y, SDLK_u, SDLK_i, SDLK_o, SDLK_p,
	SDLK_a, SDLK_s, SDLK_d, SDLK_f, SDLK_g, SDLK_h, SDLK_j, SDLK_k, SDLK_l, SDLK_COMMA,
	SDLK_z, SDLK_x, SDLK_c, SDLK_v, SDLK_b, SDLK_n, SDLK_m, SDLK_PERIOD, SDLK_BACKSPACE, SDLK_RETURN
};

const SDLKey virtual_keyboard_array2[] = {
	SDLK_1, SDLK_2, SDLK_3, SDLK_4, SDLK_5, SDLK_6, SDLK_7, SDLK_8, SDLK_9, SDLK_0,
	SDLK_HASH, SDLK_SEMICOLON, SDLK_PLUS, SDLK_ASTERISK, SDLK_DOLLAR, SDLK_CARET, SDLK_EQUALS, SDLK_QUOTEDBL, SDLK_BACKSLASH, SDLK_AMPERSAND,
	SDLK_QUOTEDBL, SDLK_EXCLAIM, SDLK_QUESTION, SDLK_SLASH, SDLK_MINUS, SDLK_UNDERSCORE, SDLK_COLON, SDLK_AT, SDLK_BACKSPACE, SDLK_RETURN
};

void push_key( SDLKey key ) {
	SDL_Event e;

	memset(&e.key.keysym, 0, sizeof(e.key.keysym));

	e.key.keysym.sym = key;
	e.key.keysym.unicode = key;

	e.key.state = SDL_RELEASED;

	e.type = SDL_KEYDOWN;
	SDL_PushEvent(&e);

	e.type = SDL_KEYUP;
	SDL_PushEvent(&e);
}

int o_x, o_y; // Virtual Mouse

joy = SDL_JoystickOpen(0);

	  case SDL_JOYAXISMOTION:
		  if (virtual_keyboard_open == 0)
			  if (SDL_JoystickGetAxis(joy, 1) < -16384) {
				  push_key(SDLK_UP);
			  } else if (SDL_JoystickGetAxis(joy, 0) < -16384) {
				  push_key(SDLK_LEFT);
			  } else if (SDL_JoystickGetAxis(joy, 1) >  16384) {
				  push_key(SDLK_DOWN);
			  } else if (SDL_JoystickGetAxis(joy, 0) >  16384) {
				  push_key(SDLK_RIGHT);
			  }
			  break;

	  case SDL_JOYBUTTONDOWN:
		  if(SDL_JoystickGetButton(joy, 0)) {
			  push_key(SDLK_RETURN);
		  } else if(SDL_JoystickGetButton(joy, 1)) {
		  } else if(SDL_JoystickGetButton(joy, 2)) {
		  } else if(SDL_JoystickGetButton(joy, 3)) {
			  push_key(SDLK_t);
		  } else if(SDL_JoystickGetButton(joy, 4)) {
		  } else if(SDL_JoystickGetButton(joy, 5)) {
		  } else if(SDL_JoystickGetButton(joy, 6)) {
			  if (virtual_keyboard_open == 0)
				  push_key(SDLK_ESCAPE);
		  } else if(SDL_JoystickGetButton(joy, 7)) {
		  } else if(SDL_JoystickGetButton(joy, 8)) {
			  if (virtual_keyboard_open == 0) {
				  virtual_keyboard_open = 1;
				  virtual_keyboard_shift = 0;
			  } else if (virtual_keyboard_open == 1)
				  virtual_keyboard_open = 0;
		  } else if(SDL_JoystickGetButton(joy, 9)) {
			  if (virtual_keyboard_open == 1)
				  if (virtual_keyboard_shift == 0)
					  virtual_keyboard_shift = 1;
				  else if (virtual_keyboard_shift == 1)
					  virtual_keyboard_shift = 0;
		  } else if(SDL_JoystickGetButton(joy, 10)) {
		  }
		  break;

	  case SDL_JOYBUTTONUP:
		  break;

	  case SDL_MOUSEBUTTONDOWN:
		  if (virtual_keyboard_open == 0) {
		  } else if (virtual_keyboard_open == 1) {
			  for(virtual_keyboard_init = 0; virtual_keyboard_init < 29; virtual_keyboard_init++) {
				  if (virtual_keyboard_shift == 0) {
					  if (o_x + (10) > virtual_keyboard_x && o_x < virtual_keyboard_x + (10) && o_y + (16) > virtual_keyboard_y && o_y < virtual_keyboard_y + (16))
						  push_key(virtual_keyboard_array1[virtual_keyboard_init]);
				  } else if (virtual_keyboard_shift == 1) {
					  if (o_x + (10) > virtual_keyboard_x && o_x < virtual_keyboard_x + (10) && o_y + (16) > virtual_keyboard_y && o_y < virtual_keyboard_y + (16))
						  push_key(virtual_keyboard_array2[virtual_keyboard_init]);
				  }

				  virtual_keyboard_x += 24;

				  if (virtual_keyboard_x == 291) {
					  virtual_keyboard_y += 37;
					  virtual_keyboard_x = 51;
				  }
			  }
		  }
		  break;

      case SDL_MOUSEBUTTONUP:
		  if (virtual_keyboard_open == 0) {
		  } else if (virtual_keyboard_open == 1) { // Set Virtual Keyboard default
			  virtual_keyboard_x = 51; virtual_keyboard_y = 147;
		  }
          break;

      case SDL_MOUSEMOTION:
		  if (virtual_keyboard_open == 0) {
		  } else if (virtual_keyboard_open == 1) {
			  o_x = event.motion.x;
			  o_y = event.motion.y;
		  }
          break;

Edited by Rikku2000, 12 September 2011 - 10:27 AM.