[Spice-devel] [2/2] Implement handling of SPICE_MSG_DISPLAY_INVAL_LIST

2013-09-16 Thread Aric Stewart
Also converts the display cache from an array to an object. This is to help enforce proper sparceness of the data as well as make it easier to reliably fully delete a given cache entry without affecting access to the remaining entries. --- display.js | 16 +--- spicemsg.js | 24 ++

[Spice-devel] [PATCH spice-html5 2/2] Implement handling of SPICE_MSG_DISPLAY_INVAL_LIST

2013-09-16 Thread Aric Stewart
Also converts the display cache from an array to an object. This is to help enforce proper sparceness of the data as well as make it easier to reliably fully delete a given cache entry without affecting access to the remaining entries. --- display.js | 16 +--- spicemsg.js | 24 +

[Spice-devel] [1/2] implement and use a new dataview getUint64

2013-09-16 Thread Aric Stewart
--- spicedataview.js | 12 spicemsg.js | 6 ++ spicetype.js | 15 --- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/spicedataview.js b/spicedataview.js index 43f0170..800df03 100644 --- a/spicedataview.js +++ b/spicedataview.js @@ -66,6 +6

[Spice-devel] [patch spice-html5 1/2] implement and use a new dataview getUint64

2013-09-16 Thread Aric Stewart
Apologies I did not head these patches correctly. --- spicedataview.js | 12 spicemsg.js | 6 ++ spicetype.js | 15 --- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/spicedataview.js b/spicedataview.js index 43f0170..800df03 100644 --- a

Re: [Spice-devel] [spice-html5 0/3] IE 10 support

2013-04-22 Thread Aric Stewart
I have looked over these 3 patches and see nothing jumping out at me. Other than the user using IE10 that is. so ACK -aric ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] [PATCH spice-html5 (resend)] support decompressing LZ_IMAGE_TYPE_XXXA images

2012-10-09 Thread Aric Stewart
Signed-off-by: Aric Stewart --- display.js |2 +- lz.js | 26 +- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/display.js b/display.js index 15d43d3..d3429da 100644 --- a/display.js +++ b/display.js @@ -246,7 +246,7

Re: [Spice-devel] [PATCH spice-html5] support decompressing LZ_IMAGE_TYPE_XXXA images

2012-10-09 Thread Aric Stewart
You are correct I will remove that line and resend. -aric On 10/9/12 8:48 AM, Jeremy White wrote: >> -function convert_spice_lz_rgb_to_web(context, lz_rgb) >> +function convert_spice_lz_to_web(context, lz_image) >> { >> -var u8 = new Uint8Array(lz_rgb.data); >> var at; >> -if (lz_rgb

[Spice-devel] [PATCH spice-html5] support loading SPICE_IMAGE_TYPE_JPEG_ALPHA image types

2012-10-03 Thread Aric Stewart
the alpha layering is not well tested Signed-off-by: Aric Stewart --- display.js | 86 +++-- spicetype.js | 31 + 2 files changed, 108 insertions(+), 9 deletions(-) diff --git a/display.js b/display.js index d3429da

[Spice-devel] [PATCH spice-html5] support decompressing LZ_IMAGE_TYPE_XXXA images

2012-10-03 Thread Aric Stewart
Signed-off-by: Aric Stewart --- display.js |2 +- lz.js | 28 +++- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/display.js b/display.js index 15d43d3..d3429da 100644 --- a/display.js +++ b/display.js @@ -246,7 +246,7

[Spice-devel] [PATCH spice-html5] Discard input messages until input channel is ready

2012-09-26 Thread Aric Stewart
Signed-off-by: Aric Stewart --- inputs.js | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/inputs.js b/inputs.js index 57ee626..4d3b28f 100644 --- a/inputs.js +++ b/inputs.js @@ -86,7 +86,7 @@ function handle_mousemove(e) move = new

[Spice-devel] [8/8]quic: implemenet QUIC_IMAGE_TYPE_RGBA decoding

2012-09-24 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 268 ++- 1 files changed, 264 insertions(+), 4 deletions(-) diff --git a/quic.js b/quic.js index 26a021f..9bb9f47 100644 --- a/quic.js +++ b/quic.js @@ -942,6 +942,245

[Spice-devel] [7/ ]quic: generalize QuicEncoder.prototype.decode_run

2012-09-24 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 26 +- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/quic.js b/quic.js index 699820f..26a021f 100644 --- a/quic.js +++ b/quic.js @@ -775,7 +775,7 @@ QuicEncoder.prototype.quic_rgb32_uncompress_row_seg

[Spice-devel] [1/ ]correct some issues with prototype vs instance member objects

2012-09-24 Thread Aric Stewart
Resending Patch set for Jeremy White. Sorry my total for patches is missing. -aric Signed-off-by: Aric Stewart --- quic.js | 18 +- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/quic.js b/quic.js index 7c5be6b..3007624 100644 --- a/quic.js +++ b/quic.js

[Spice-devel] [6/ ]quic javascript code cleanups

2012-09-24 Thread Aric Stewart
check with strict but do not enable it. Signed-off-by: Aric Stewart --- quic.js | 101 ++ 1 files changed, 42 insertions(+), 59 deletions(-) diff --git a/quic.js b/quic.js index 15d2dbf..699820f 100644 --- a/quic.js +++ b/quic.js

[Spice-devel] [5/ ]QUIC_IMAGE_TYPE_RGB24 decodes the same as QUIC_IMAGE_TYPE_RGB32

2012-09-24 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/quic.js b/quic.js index 138b052..15d2dbf 100644 --- a/quic.js +++ b/quic.js @@ -957,6 +957,7 @@ QuicEncoder.prototype.quic_rgb32_uncompress_row = function (prev_row, cur_row

[Spice-devel] [4/ ]remove function find_bucket_8bpc

2012-09-24 Thread Aric Stewart
removing the function call overhead improves performance Signed-off-by: Aric Stewart --- quic.js | 27 +++ 1 files changed, 11 insertions(+), 16 deletions(-) diff --git a/quic.js b/quic.js index 0e33610..138b052 100644 --- a/quic.js +++ b/quic.js @@ -436,11 +436,6

[Spice-devel] [3/ ]fold do_run into uncompress

2012-09-24 Thread Aric Stewart
eliminates a function call and many object references for performance Signed-off-by: Aric Stewart --- quic.js | 134 ++ 1 files changed, 73 insertions(+), 61 deletions(-) diff --git a/quic.js b/quic.js index 0bae57e..0e33610 100644

[Spice-devel] [2/ ]remove code duplications in uncompress

2012-09-24 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 180 +-- 1 files changed, 71 insertions(+), 109 deletions(-) diff --git a/quic.js b/quic.js index 3007624..0bae57e 100644 --- a/quic.js +++ b/quic.js @@ -641,41 +641,32

[Spice-devel] [PATH spice-html5][2/2]quic: implement QUIC_IMAGE_TYPE_RGBA decoding

2012-09-20 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 268 ++- 1 files changed, 264 insertions(+), 4 deletions(-) diff --git a/quic.js b/quic.js index 26a021f..9bb9f47 100644 --- a/quic.js +++ b/quic.js @@ -942,6 +942,245

[Spice-devel] [PATCH spice-html5][1/2]quic: generalize QuicEncoder.prototype.decode_run

2012-09-20 Thread Aric Stewart
This series will have to go in after my previous serise Signed-off-by: Aric Stewart --- quic.js | 26 +- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/quic.js b/quic.js index 699820f..26a021f 100644 --- a/quic.js +++ b/quic.js @@ -775,7 +775,7

Re: [Spice-devel] [PATCH spice-html5][1/6]correct some issues with prototype vs instance member objects

2012-09-17 Thread Aric Stewart
Any chance for a push on this series? -aric On 9/13/12 2:52 PM, Aric Stewart wrote: > Signed-off-by: Aric Stewart > --- > quic.js | 18 +- > 1 files changed, 5 insertions(+), 13 deletions(-) > > diff --git a/quic.js b/quic.js > index 7c5be6b..3007624 1

[Spice-devel] [PATCH spice-html5][6/6]quic javascript code cleanups

2012-09-13 Thread Aric Stewart
check with strict but do not enable it. Signed-off-by: Aric Stewart --- quic.js | 101 ++ 1 files changed, 42 insertions(+), 59 deletions(-) diff --git a/quic.js b/quic.js index 15d2dbf..699820f 100644 --- a/quic.js +++ b/quic.js

[Spice-devel] [PATCH spice-html5][5/6]QUIC_IMAGE_TYPE_RGB24 decodes the same as QUIC_IMAGE_TYPE_RGB32

2012-09-13 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/quic.js b/quic.js index 138b052..15d2dbf 100644 --- a/quic.js +++ b/quic.js @@ -957,6 +957,7 @@ QuicEncoder.prototype.quic_rgb32_uncompress_row = function (prev_row, cur_row

[Spice-devel] [PATCH spice-html5][4/6]remove function find_bucket_8bpc

2012-09-13 Thread Aric Stewart
removing the function call overhead improves performance Signed-off-by: Aric Stewart --- quic.js | 27 +++ 1 files changed, 11 insertions(+), 16 deletions(-) diff --git a/quic.js b/quic.js index 0e33610..138b052 100644 --- a/quic.js +++ b/quic.js @@ -436,11 +436,6

[Spice-devel] [PATCH spice-html5][3/6]fold do_run into uncompress

2012-09-13 Thread Aric Stewart
eleminates a function call and many object references for performance Signed-off-by: Aric Stewart --- quic.js | 134 ++ 1 files changed, 73 insertions(+), 61 deletions(-) diff --git a/quic.js b/quic.js index 0bae57e..0e33610 100644

[Spice-devel] [PATCH spice-html5][2/6]remove code duplications in uncompress

2012-09-13 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 180 +-- 1 files changed, 71 insertions(+), 109 deletions(-) diff --git a/quic.js b/quic.js index 3007624..0bae57e 100644 --- a/quic.js +++ b/quic.js @@ -641,41 +641,32

[Spice-devel] [PATCH spice-html5][1/6]correct some issues with prototype vs instance member objects

2012-09-13 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 18 +- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/quic.js b/quic.js index 7c5be6b..3007624 100644 --- a/quic.js +++ b/quic.js @@ -330,11 +330,11 @@ QuicModel.prototype = { function QuicBucket() { +this.counters

Re: [Spice-devel] [PATCH spice-html5] rewrite quic.js to be a native javascript implementation

2012-09-13 Thread Aric Stewart
58 AM, Alon Levy wrote: >>>> Alon Levy píše v Čt 13. 09. 2012 v 10:31 -0400: >>>>>> On Wed, Sep 12, 2012 at 11:22:14AM -0500, Aric Stewart wrote: >>>>>>> there remain a few TODOs including implementing more than just >>>>>&

Re: [Spice-devel] [PATCH spice-html5] rewrite quic.js to be a native javascript implementation

2012-09-13 Thread Aric Stewart
/12 9:58 AM, Alon Levy wrote: >> Alon Levy píše v Čt 13. 09. 2012 v 10:31 -0400: >>>> On Wed, Sep 12, 2012 at 11:22:14AM -0500, Aric Stewart wrote: >>>>> there remain a few TODOs including implementing more than just >>>>> rgb32 images >>>

Re: [Spice-devel] [spice-html5] implement handing of MJPEG display streams

2012-09-06 Thread Aric Stewart
Doh, this is what i get for not checking the list and updating this morning. sorry, it is there thanks! -aric On 9/6/12 9:13 AM, Aric Stewart wrote: > Checking in here. Looks like Jeremy acked this but it never got pushed? > > Could someone help me with that? > > thanks! >

Re: [Spice-devel] [spice-html5] implement handing of MJPEG display streams

2012-09-06 Thread Aric Stewart
Checking in here. Looks like Jeremy acked this but it never got pushed? Could someone help me with that? thanks! -aric On 8/27/12 10:59 AM, Aric Stewart wrote: > Signed-off-by: Aric Stewart > --- > display.js | 66 ++ > enums.

[Spice-devel] [spice-html5] implement handing of MJPEG display streams

2012-08-27 Thread Aric Stewart
Signed-off-by: Aric Stewart --- display.js | 66 ++ enums.js|2 + spicemsg.js | 92 +++ 3 files changed, 160 insertions(+), 0 deletions(-) diff --git a/display.js b/display.js index 3efabb1

Re: [Spice-devel] status of my spice-html5 patches

2012-08-16 Thread Aric Stewart
Ok, I think i have finally gotten word wrapping correctly turned off (the source of my patch corruption) resent. -aric On 8/16/12 11:42 AM, Alon Levy wrote: > On Thu, Aug 16, 2012 at 10:34:38AM -0500, Aric Stewart wrote: >> Makes sense, probably depends on how many people are out ther

[Spice-devel] (resend)[spice-html5] prevent out of sync modifier keys

2012-08-16 Thread Aric Stewart
Signed-off-by: Aric Stewart --- inputs.js | 86 + 1 files changed, 86 insertions(+), 0 deletions(-) diff --git a/inputs.js b/inputs.js index ce1d15e..57ee626 100644 --- a/inputs.js +++ b/inputs.js @@ -18,6 +18,15 @@ along with

[Spice-devel] [resend][spice-html5] work to improve keyboard keycode -> scancode processing

2012-08-16 Thread Aric Stewart
Signed-off-by: Aric Stewart --- atKeynames.js | 183 +++ utils.js | 266 +++-- 2 files changed, 327 insertions(+), 122 deletions(-) create mode 100644 atKeynames.js diff --git a/atKeynames.js b

[Spice-devel] (resend) [spice-html5] Add the scroll to the cursor offset

2012-08-16 Thread Aric Stewart
Signed-off-by: Aric Stewart --- spicemsg.js |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spicemsg.js b/spicemsg.js index 41b001d..79c76bc 100644 --- a/spicemsg.js +++ b/spicemsg.js @@ -639,8 +639,8 @@ function SpiceMsgcMousePosition(sc, e) this.buttons_state

Re: [Spice-devel] status of my spice-html5 patches

2012-08-16 Thread Aric Stewart
Thu, Aug 16, 2012 at 07:08:14AM -0500, Aric Stewart wrote: Hi all, Just checking on the spice-html5 patches I sent a while ago. I see they have not gotten pushed and am wondering what i should do to help that process. So there are two patches: the resent scroll fix, and the at keyboard

Re: [Spice-devel] status of my spice-html5 patches

2012-08-16 Thread Aric Stewart
Hi Jeremy has told me that he does not have commit access. So if you would kindly push that would be greatly appreciated. thanks! -aric On 8/16/12 10:10 AM, Alon Levy wrote: On Thu, Aug 16, 2012 at 07:08:14AM -0500, Aric Stewart wrote: Hi all, Just checking on the spice-html5 patches I

[Spice-devel] status of my spice-html5 patches

2012-08-16 Thread Aric Stewart
Hi all, Just checking on the spice-html5 patches I sent a while ago. I see they have not gotten pushed and am wondering what i should do to help that process. thanks! -aric ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists

[Spice-devel] [PATCH][spice-html5] prevent out of sync modifier keys

2012-08-16 Thread Aric Stewart
Signed-off-by: Aric Stewart --- inputs.js | 86 + 1 files changed, 86 insertions(+), 0 deletions(-) diff --git a/inputs.js b/inputs.js index ce1d15e..57ee626 100644 --- a/inputs.js +++ b/inputs.js @@ -18,6 +18,15 @@ along with

[Spice-devel] [PATCH](resend) [spice-html5] Add the scroll to the cursor offset

2012-08-09 Thread Aric Stewart
Checking with a more complaint browser proves that scrollLeft is also needed. Signed-off-by: Aric Stewart --- spicemsg.js |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spicemsg.js b/spicemsg.js index 41b001d..79c76bc 100644 --- a/spicemsg.js +++ b/spicemsg.js

Re: [Spice-devel] [PATCH] [spice-html5] Add the top scroll to the cursor offset

2012-08-08 Thread Aric Stewart
There is, however I have not found it materially required of the window is too narrow. -aric On 8/8/12 10:04 AM, Jeremy White wrote: this.x = e.clientX - sc.display.surfaces[sc.display.primary_surface].canvas.offsetLeft; -this.y = e.clientY - sc.display.surfaces[sc.display.

[Spice-devel] [PATCH][spice-html5] work to improve keyboard keycode -> scancode processing

2012-08-08 Thread Aric Stewart
Signed-off-by: Aric Stewart --- atKeynames.js | 183 +++ utils.js | 266 +++-- 2 files changed, 327 insertions(+), 122 deletions(-) create mode 100644 atKeynames.js diff --git a/atKeynames.js b

[Spice-devel] [PATCH] [spice-html5] Add the top scroll to the cursor offset

2012-08-08 Thread Aric Stewart
Signed-off-by: Aric Stewart --- spicemsg.js |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/spicemsg.js b/spicemsg.js index 41b001d..f4873f1 100644 --- a/spicemsg.js +++ b/spicemsg.js @@ -640,7 +640,7 @@ function SpiceMsgcMousePosition(sc, e) if (e

[Spice-devel] [PATCH spice-common] move variable decleration to head of code block

2012-04-18 Thread Aric Stewart
Signed-off-by: Aric Stewart --- common/ssl_verify.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/ssl_verify.c b/common/ssl_verify.c index e45d26e..2f34c00 100644 --- a/common/ssl_verify.c +++ b/common/ssl_verify.c @@ -386,9 +386,9 @@ static int verify_subject

Re: [Spice-devel] [PATCH spice] update visual studio project file

2012-04-18 Thread Aric Stewart
. -aric On 4/18/12 6:48 AM, Aric Stewart wrote: I wonder if the process of having to include the patch as text into my e-mail is what is munging the line endings. I could check if VC can handle a project file with linux style line endings and then we could normalize to linux line endings and see if

Re: [Spice-devel] [PATCH spice] update visual studio project file

2012-04-18 Thread Aric Stewart
, Alon Levy wrote: On Tue, Apr 17, 2012 at 06:24:18PM -0500, Aric Stewart wrote: Note, there may be line-ending issues here is we are not careful. This file is a msdos formatted file. There was some inconsistencies in those line-ending that I have normalized. Aric, this doesn't apply a

[Spice-devel] [PATCH spice] update visual studio project file

2012-04-17 Thread Aric Stewart
Note, there may be line-ending issues here is we are not careful. This file is a msdos formatted file. There was some inconsistencies in those line-ending that I have normalized. Signed-off-by: Aric Stewart --- client/windows/redc.vcproj | 84

[Spice-devel] [PATCH spice]Update win32 generate(1).bat files to match modern usage

2012-04-17 Thread Aric Stewart
This involves: generating .c instead of .cpp files Not including "common.h" Standardizing some parameters Signed-off-by: Aric Stewart --- client/windows/generate.bat |4 ++-- client/windows/generate1.bat |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --gi

Re: [Spice-devel] messages.h unable to be used in VC++

2012-04-17 Thread Aric Stewart
PM, spice-devel-requ...@lists.freedesktop.org <mailto:spice-devel-requ...@lists.freedesktop.org> wrote: On Tue, Apr 17, 2012 at 08:15:22AM -0500, Aric Stewart wrote: Hello all, Working away at making the current tip of spice build the win32 client. I have run into another problem. Since the last working wi

[Spice-devel] [PATCH spice-common] add padding member to SpiceMsgEmpty

2012-04-17 Thread Aric Stewart
Empty structures are undefined in C, gcc handles them without issue assigning a size of 0. However MSVC++ generates a hard error (C2015) this allows messages.h to be included in c files compiled by MSVC++. Signed-off-by: Aric Stewart --- common/messages.h |1 + 1 files changed, 1

[Spice-devel] [PATCH spice] we do not need afxres.h included in redc.rc

2012-04-17 Thread Aric Stewart
It is not an MFC project so simply including windef.h is better and allows for compiling with the Express editions of Visual Studio. --- client/windows/redc.rc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/windows/redc.rc b/client/windows/redc.rc index 5f08539.

[Spice-devel] [PATCH spice-common] allow log.c to compile under MSVC++

2012-04-17 Thread Aric Stewart
--- common/log.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/common/log.c b/common/log.c index ef4da06..3cbcef6 100644 --- a/common/log.c +++ b/common/log.c @@ -22,7 +22,9 @@ #include #include #include +#ifndef _MSC_VER #include +#endif #include

[Spice-devel] messages.h unable to be used in VC++

2012-04-17 Thread Aric Stewart
Hello all, Working away at making the current tip of spice build the win32 client. I have run into another problem. Since the last working win32 cllient build the code generated by spice_codegen.py has shifted from CPP files to C files. The generated files include messages.h. Inside

Re: [Spice-devel] [PATCH spice] update windows client generate.bat and generate1.bat

2012-04-17 Thread Aric Stewart
not attach as a patch. -aric On 4/17/12 2:23 AM, Alon Levy wrote: On Mon, Apr 16, 2012 at 01:10:01PM -0500, Aric Stewart wrote: the python script is now in spice-common and client_marshallers.h needs to be included instead of marshallers.h Third, the patch doesn't apply because of EOL i

[Spice-devel] Introduction and Hello

2012-04-16 Thread Aric Stewart
Hello, My name is Aric Stewart. Primarily a WINE hacker, due to interest from a client I am starting work on spice. I will mostly be focusing on the win32 client to begin with but we will see where work progresses. I am happy to be helping out here and hope to be able to be productive

[Spice-devel] [PATCH spice] Copy getopt.h from old common/win/my_getopt-1.5/my_getopt

2012-04-16 Thread Aric Stewart
This patch completes the copy from 4d8f39020ac83602c1647d4af04e8b19bf74ed6e which missed this file. --- client/windows/getopt.h | 56 +++ 1 files changed, 56 insertions(+), 0 deletions(-) create mode 100644 client/windows/getopt.h diff --git a

[Spice-devel] [PATCH spice] update windows client generate.bat and generate1.bat

2012-04-16 Thread Aric Stewart
the python script is now in spice-common and client_marshallers.h needs to be included instead of marshallers.h --- client/windows/generate.bat |4 ++-- client/windows/generate1.bat |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/windows/generate.bat b/

[Spice-devel] [PATCH spice-common] Add a return value to the default case in create_bitmap to satisfy VC++

2012-04-16 Thread Aric Stewart
--- common/gdi_canvas.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c index 4c5daea..0a04bf8 100644 --- a/common/gdi_canvas.c +++ b/common/gdi_canvas.c @@ -564,7 +564,7 @@ static uint8_t *create_bitmap(HBITMAP *bitmap, HBITMAP