Commit bcf42772 authored by Antoine Cellerier's avatar Antoine Cellerier

src/*, include/* : update core functions. (Should make it relatively easy

                   to use in interfaces)
                   The downloadable plugins part still needs some work.

modules/control/rc.c : add function to query updates (mainly used for testing)

modules/gui/wxwidgets/* : update pannel.
parent 67d1feb2
......@@ -131,6 +131,7 @@ HEADERS_include = \
include/vlc_symbols.h \
include/vlc_threads_funcs.h \
include/vlc_threads.h \
include/vlc_update.h \
include/vlc_video.h \
include/vlc_vlm.h \
include/vlc_vod.h \
......@@ -466,6 +467,7 @@ SOURCES_libvlc_common = \
src/misc/objects.c \
src/misc/variables.c \
src/misc/error.c \
src/misc/update.c \
src/misc/vlm.c \
src/misc/xml.c \
src/misc/version.c \
......
......@@ -416,12 +416,16 @@ typedef struct vlm_schedule_t vlm_schedule_t;
/* divers */
typedef struct vlc_meta_t vlc_meta_t;
/* Stats */
typedef struct counter_t counter_t;
typedef struct counter_sample_t counter_sample_t;
typedef struct stats_handler_t stats_handler_t;
typedef struct input_stats_t input_stats_t;
typedef struct global_stats_t global_stats_t;
/* Update */
typedef struct update_t update_t;
typedef struct update_iterator_t update_iterator_t;
/*****************************************************************************
* Variable callbacks
......
......@@ -84,6 +84,7 @@ void __intf_UserHide (vlc_object_t *, int);
int __config_LoadConfigFile (vlc_object_t *, const char *);
int vlc_asprintf (char **, const char *, ...);
int __var_Change (vlc_object_t *, const char *, int, vlc_value_t *, vlc_value_t *);
update_iterator_t * update_iterator_New (update_t *);
int playlist_Disable (playlist_t *, playlist_item_t *);
char * vlc_input_item_GetInfo (input_item_t *p_i, const char *psz_cat,const char *psz_name);
int vout_VarCallback (vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void *);
......@@ -91,6 +92,7 @@ session_descriptor_t* sout_AnnounceSessionCreate (void);
void __osd_Volume (vlc_object_t *);
int vlc_vasprintf (char **, const char *, va_list);
int playlist_Sort (playlist_t *, int, int);
void update_Check (update_t *, vlc_bool_t);
int aout_DecDelete (aout_instance_t *, aout_input_t *);
int vlc_strcasecmp (const char *s1, const char *s2);
sout_packetizer_input_t * sout_InputNew (sout_instance_t *, es_format_t *);
......@@ -136,6 +138,7 @@ stream_t * __stream_UrlNew (vlc_object_t *p_this, const char *psz_url);
sout_mux_t * sout_MuxNew (sout_instance_t*, char *, sout_access_out_t *);
stream_t * __stream_DemuxNew (vlc_object_t *p_obj, char *psz_demux, es_out_t *out);
int vout_ShowTextRelative (vout_thread_t *, int, char *, text_style_t *, int, int, int, mtime_t);
unsigned int update_iterator_Action (update_iterator_t *, int);
void __stats_TimerDump (vlc_object_t*, const char *);
int block_FifoPut (block_fifo_t *, block_t *);
int playlist_ItemAddParent (playlist_item_t *, int,playlist_item_t *);
......@@ -161,6 +164,7 @@ int httpd_UrlCatch (httpd_url_t *, int i_msg, httpd_callback_t, httpd_callback_s
void __vlc_object_yield (vlc_object_t *);
const char * VLC_CompileBy (void);
playlist_item_t * playlist_LockItemGetByPos (playlist_t *, int);
void update_Delete (update_t *);
input_thread_t * __input_CreateThread (vlc_object_t *, input_item_t *);
const char * DecodeLanguage (uint16_t);
int __aout_VolumeSet (vlc_object_t *, audio_volume_t);
......@@ -220,6 +224,7 @@ void __stats_ComputeGlobalStats (vlc_object_t*,global_stats_t*);
char * vlc_strndup (const char *s, size_t n);
void vout_PlacePicture (vout_thread_t *, unsigned int, unsigned int, unsigned int *, unsigned int *, unsigned int *, unsigned int *);
float __config_GetFloat (vlc_object_t *, const char *);
void update_iterator_Delete (update_iterator_t *);
playlist_item_t * playlist_ItemGetById (playlist_t *, int);
const char * vlc_gai_strerror (int);
void net_ListenClose (int *fd);
......@@ -345,6 +350,7 @@ int playlist_PreparseEnqueue (playlist_t *, input_item_t *);
aout_buffer_t * aout_FifoPop (aout_instance_t * p_aout, aout_fifo_t * p_fifo);
int __vout_InitPicture (vlc_object_t *p_this, picture_t *p_pic, uint32_t i_chroma, int i_width, int i_height, int i_aspect);
int playlist_LockClear (playlist_t *);
unsigned int update_iterator_ChooseMirrorAndFile (update_iterator_t *, int, int, int);
void intf_InteractionManage (playlist_t *);
char * mstrtime (char *psz_buffer, mtime_t date);
void aout_FormatPrepare (audio_sample_format_t * p_format);
......@@ -356,6 +362,7 @@ xml_t * __xml_Create (vlc_object_t *);
msg_subscription_t* __msg_Subscribe (vlc_object_t *, int);
const char * VLC_Version (void);
session_descriptor_t* sout_AnnounceRegisterSDP (sout_instance_t *,const char *, const char *, announce_method_t*);
update_t * __update_New (vlc_object_t *);
char * stream_ReadLine (stream_t *);
int playlist_PreparseEnqueueItem (playlist_t *, playlist_item_t *);
void __osd_MenuPrev (vlc_object_t *);
......@@ -364,6 +371,7 @@ module_t * config_FindModule (vlc_object_t *, const char *);
void aout_VolumeSoftInit (aout_instance_t *);
void block_FifoRelease (block_fifo_t *);
void block_FifoEmpty (block_fifo_t *);
void update_download (update_iterator_t *, char *);
int playlist_ItemAddOption (playlist_item_t *, const char *);
void aout_VolumeNoneInit (aout_instance_t *);
void aout_DateInit (audio_date_t *, uint32_t);
......@@ -903,6 +911,14 @@ struct module_symbols_t
void (*__stats_ComputeGlobalStats_inner) (vlc_object_t*,global_stats_t*);
void (*__stats_TimerStop_inner) (vlc_object_t*, const char *);
void (*__stats_TimersDumpAll_inner) (vlc_object_t*);
update_iterator_t * (*update_iterator_New_inner) (update_t *);
void (*update_Check_inner) (update_t *, vlc_bool_t);
unsigned int (*update_iterator_Action_inner) (update_iterator_t *, int);
void (*update_Delete_inner) (update_t *);
void (*update_iterator_Delete_inner) (update_iterator_t *);
unsigned int (*update_iterator_ChooseMirrorAndFile_inner) (update_iterator_t *, int, int, int);
update_t * (*__update_New_inner) (vlc_object_t *);
void (*update_download_inner) (update_iterator_t *, char *);
};
# if defined (__PLUGIN__)
# define aout_FiltersCreatePipeline (p_symbols)->aout_FiltersCreatePipeline_inner
......@@ -1339,6 +1355,14 @@ struct module_symbols_t
# define __stats_ComputeGlobalStats (p_symbols)->__stats_ComputeGlobalStats_inner
# define __stats_TimerStop (p_symbols)->__stats_TimerStop_inner
# define __stats_TimersDumpAll (p_symbols)->__stats_TimersDumpAll_inner
# define update_iterator_New (p_symbols)->update_iterator_New_inner
# define update_Check (p_symbols)->update_Check_inner
# define update_iterator_Action (p_symbols)->update_iterator_Action_inner
# define update_Delete (p_symbols)->update_Delete_inner
# define update_iterator_Delete (p_symbols)->update_iterator_Delete_inner
# define update_iterator_ChooseMirrorAndFile (p_symbols)->update_iterator_ChooseMirrorAndFile_inner
# define __update_New (p_symbols)->__update_New_inner
# define update_download (p_symbols)->update_download_inner
# elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)
/******************************************************************
* STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access.
......@@ -1778,6 +1802,14 @@ struct module_symbols_t
((p_symbols)->__stats_ComputeGlobalStats_inner) = __stats_ComputeGlobalStats; \
((p_symbols)->__stats_TimerStop_inner) = __stats_TimerStop; \
((p_symbols)->__stats_TimersDumpAll_inner) = __stats_TimersDumpAll; \
((p_symbols)->update_iterator_New_inner) = update_iterator_New; \
((p_symbols)->update_Check_inner) = update_Check; \
((p_symbols)->update_iterator_Action_inner) = update_iterator_Action; \
((p_symbols)->update_Delete_inner) = update_Delete; \
((p_symbols)->update_iterator_Delete_inner) = update_iterator_Delete; \
((p_symbols)->update_iterator_ChooseMirrorAndFile_inner) = update_iterator_ChooseMirrorAndFile; \
((p_symbols)->__update_New_inner) = __update_New; \
((p_symbols)->update_download_inner) = update_download; \
(p_symbols)->net_ConvertIPv4_deprecated = NULL; \
(p_symbols)->__stats_CounterGet_deprecated = NULL; \
(p_symbols)->__stats_TimerDumpAll_deprecated = NULL; \
......
/*****************************************************************************
* vlc_update.h: VLC update and plugins download
*****************************************************************************
* Copyright (C) 2005 the VideoLAN team
* $Id: $
*
* Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either release 2 of the License, or
* (at your option) any later release.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
#ifndef _VLC_UPDATE_H
#define _VLC_UPDATE_H
#include <vlc/vlc.h>
#define UPDATE_FILE_TYPE_ALL (~0)
#define UPDATE_FILE_TYPE_NONE 0
#define UPDATE_FILE_TYPE_UNDEF 1
#define UPDATE_FILE_TYPE_INFO 2
#define UPDATE_FILE_TYPE_SOURCE 4
#define UPDATE_FILE_TYPE_BINARY 8
#define UPDATE_FILE_TYPE_PLUGIN 16
#define UPDATE_RELEASE_STATUS_ALL (~0)
#define UPDATE_RELEASE_STATUS_NONE 0
#define UPDATE_RELEASE_STATUS_OLDER 1
#define UPDATE_RELEASE_STATUS_EQUAL 2
#define UPDATE_RELEASE_STATUS_NEWER 4
#define UPDATE_RELEASE_TYPE_STABLE 1
#define UPDATE_RELEASE_TYPE_TESTING 2
#define UPDATE_RELEASE_TYPE_UNSTABLE 4
#define UPDATE_FAIL 0
#define UPDATE_SUCCESS 1
#define UPDATE_NEXT 0
#define UPDATE_PREV 2
#define UPDATE_MIRROR 4
#define UPDATE_RELEASE 8
#define UPDATE_FILE 16
#define UPDATE_RESET 32
/**
* Describes an update file
*/
struct update_file_t
{
int i_type; //< File type
char* psz_md5; //< MD5 hash
long int l_size; //< File size in bytes
char* psz_url; //< Relative (to a mirror) or absolute url
char* psz_description; //< Plain text description
};
/**
* Describes an update VLC release number
*/
struct update_release_t
{
char* psz_major; //< Version major string
char* psz_minor; //< Version minor string
char* psz_revision; //< Version revision string
char* psz_extra; //< Version extra string
char* psz_svn_revision; //< SVN revision
int i_type; //< Release type
int i_status; //< Release status compared to current VLC version
struct update_file_t* p_files; //< Files list
int i_files; //< Number of files in the files list
};
/**
* Describes a mirror
*/
struct update_mirror_t
{
char *psz_name; //< Mirror name
char *psz_location; //< Mirror geographical location
char *psz_type; //< Mirror type (FTP, HTTP, ...)
char *psz_base_url; //< Mirror base url
};
/**
* The update object. Stores (and caches) all information relative to updates
*/
struct update_t
{
vlc_t *p_vlc;
vlc_mutex_t lock;
struct update_release_t *p_releases; //< Releases (version) list
int i_releases; //< Number of releases
vlc_bool_t b_releases; //< True if we have a releases list
struct update_mirror_t *p_mirrors; //< Mirrors list
int i_mirrors; //< Number of mirrors
vlc_bool_t b_mirrors; //< True if we have a mirrors list
};
/**
* The update iterator structure. Usefull to browse the update object seamlessly
*/
struct update_iterator_t
{
update_t *p_u; //< Pointer to VLC update object
int i_r; //< Position in the releases list
int i_f; //< Position in the release's files list
int i_m; //< Position in the mirrors list
int i_t; //< File type bitmask
int i_rs; //< Release status bitmask
int i_rt; //< Release type bitmask
struct
{
int i_type; //< Type
char* psz_md5; //< MD5 hash
long int l_size; //< Size in bytes
char* psz_url; //< Absolute URL
char* psz_description; //< Description
} file; //< Local 'copy' of the current file's information
struct
{
char *psz_version; //< Version string
char *psz_svn_revision; //< SVN revision
int i_status; //< Status
int i_type; //< Type
} release; //< Local 'copy' of the current release's information
struct
{
char *psz_name; //< Name
char *psz_location; //< Geographical location
char *psz_type; //< Type (HTTP, FTP, ...)
} mirror; //< Local 'copy' of the current mirror's information
};
#define update_New( a ) __update_New( VLC_OBJECT( a ) )
VLC_EXPORT( update_t *, __update_New, ( vlc_object_t * ) );
VLC_EXPORT( void, update_Delete, (update_t * ) );
VLC_EXPORT( void, update_Check, ( update_t *, vlc_bool_t ) );
VLC_EXPORT( update_iterator_t *, update_iterator_New, ( update_t * ) );
VLC_EXPORT( void, update_iterator_Delete, ( update_iterator_t * ) );
VLC_EXPORT( unsigned int, update_iterator_Action, ( update_iterator_t *, int ) );
VLC_EXPORT( unsigned int, update_iterator_ChooseMirrorAndFile, ( update_iterator_t *, int, int, int ) );
VLC_EXPORT( void, update_download, ( update_iterator_t *, char * ) );
#endif
......@@ -39,6 +39,7 @@
#include <vlc/vout.h>
#include <vlc_video.h>
#include <vlc_osd.h>
#include <vlc_update.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
......@@ -95,6 +96,7 @@ static int AudioConfig ( vlc_object_t *, char const *,
vlc_value_t, vlc_value_t, void * );
static int Menu ( vlc_object_t *, char const *,
vlc_value_t, vlc_value_t, void * );
static void checkUpdates( intf_thread_t *p_intf, char *psz_arg );
/* Status Callbacks */
static int TimeOffsetChanged( vlc_object_t *, char const *,
......@@ -793,6 +795,10 @@ static void Run( intf_thread_t *p_intf )
Help( p_intf, b_longhelp );
}
else if( !strcmp( psz_cmd, "check-updates" ) )
{
checkUpdates( p_intf, psz_arg );
}
else switch( psz_cmd[0] )
{
case 'f':
......@@ -944,6 +950,9 @@ static void Help( intf_thread_t *p_intf, vlc_bool_t b_longhelp)
msg_rc(_("| mosaic-cols #. . . . . . . . . . .number of cols"));
msg_rc(_("| mosaic-keep-aspect-ratio {0,1} . . .aspect ratio"));
msg_rc( "| ");
msg_rc(_("| check-updates [newer] [equal] [older]\n"
"| [undef] [info] [source] [binary] [plugin]"));
msg_rc( "| ");
}
msg_rc(_("| help . . . . . . . . . . . . . this help message"));
msg_rc(_("| longhelp . . . . . . . . . a longer help message"));
......@@ -2150,3 +2159,120 @@ static playlist_item_t *parse_MRL( intf_thread_t *p_intf, char *psz_mrl )
return p_item;
}
/*****************************************************************************
* checkUpdates : check for updates
****************************************************************************/
static void checkUpdates( intf_thread_t *p_intf, char *psz_arg )
{
update_iterator_t *p_uit;
update_t *p_u = update_New( p_intf );
if( p_u == NULL ) return;
p_uit = update_iterator_New( p_u );
if( p_uit )
{
int s = 0, t = 0;
if( strstr( psz_arg, "newer" ) )
s |= UPDATE_RELEASE_STATUS_NEWER;
if( strstr( psz_arg, "equal" ) )
s |= UPDATE_RELEASE_STATUS_EQUAL;
if( strstr( psz_arg, "older" ) )
s |= UPDATE_RELEASE_STATUS_OLDER;
if( s ) p_uit->i_rs = s;
else p_uit->i_rs = UPDATE_RELEASE_STATUS_NEWER;
if( strstr( psz_arg, "undef" ) )
t |= UPDATE_FILE_TYPE_UNDEF;
if( strstr( psz_arg, "info" ) )
t |= UPDATE_FILE_TYPE_INFO;
if( strstr( psz_arg, "source" ) )
t |= UPDATE_FILE_TYPE_SOURCE;
if( strstr( psz_arg, "binary" ) )
t |= UPDATE_FILE_TYPE_BINARY;
if( strstr( psz_arg, "plugin" ) )
t |= UPDATE_FILE_TYPE_PLUGIN;
if( t ) p_uit->i_t = t;
update_Check( p_u, VLC_FALSE );
update_iterator_Action( p_uit, UPDATE_MIRROR );
msg_rc( "\nUsing mirror: %s (%s) [%s]",
p_uit->mirror.psz_name,
p_uit->mirror.psz_location,
p_uit->mirror.psz_type );
while( (s = update_iterator_Action( p_uit, UPDATE_FILE )) != UPDATE_FAIL )
{
char *psz_tmp;
if( s & UPDATE_RELEASE )
{
switch( p_uit->release.i_status )
{
case UPDATE_RELEASE_STATUS_OLDER:
psz_tmp = strdup( "older" );
break;
case UPDATE_RELEASE_STATUS_EQUAL:
psz_tmp = strdup( "equal" );
break;
case UPDATE_RELEASE_STATUS_NEWER:
psz_tmp = strdup( "newer" );
break;
default:
psz_tmp = strdup( "?!?" );
break;
}
msg_rc( "\n+----[ VLC %s %s (%s) ] ",
p_uit->release.psz_version,
p_uit->release.psz_svn_revision,
psz_tmp );
free( psz_tmp );
}
switch( p_uit->file.i_type )
{
case UPDATE_FILE_TYPE_UNDEF:
psz_tmp = strdup( "undef" );
break;
case UPDATE_FILE_TYPE_INFO:
psz_tmp = strdup( "info" );
break;
case UPDATE_FILE_TYPE_SOURCE:
psz_tmp = strdup( "source" );
break;
case UPDATE_FILE_TYPE_BINARY:
psz_tmp = strdup( "binary" );
break;
case UPDATE_FILE_TYPE_PLUGIN:
psz_tmp = strdup( "plugin" );
break;
default:
psz_tmp = strdup( "?!?" );
break;
}
msg_rc( "| %s (%s)", p_uit->file.psz_description, psz_tmp );
free( psz_tmp );
if( p_uit->file.l_size )
{
if( p_uit->file.l_size > 1024 * 1024 * 1024 )
asprintf( &psz_tmp, "(%ld GB)",
p_uit->file.l_size / (1024*1024*1024) );
if( p_uit->file.l_size > 1024 * 1024 )
asprintf( &psz_tmp, "(%ld MB)",
p_uit->file.l_size / (1024*1024) );
else if( p_uit->file.l_size > 1024 )
asprintf( &psz_tmp, "(%ld kB)",
p_uit->file.l_size / 1024 );
else
asprintf( &psz_tmp, "(%ld B)", p_uit->file.l_size );
}
else
{
psz_tmp = strdup( "" );
}
msg_rc( "| %s %s", p_uit->file.psz_url, psz_tmp );
msg_rc( "+----" );
free( psz_tmp );
}
msg_rc( "" );
update_iterator_Delete( p_uit );
}
update_Delete( p_u );
}
/* XPM */
static char * update_ascii_xpm[] = {
"34 34 96 2",
" c None",
". c #BCBCBC",
"+ c #F7F7F7",
"@ c #F3F3F3",
"# c #F1F1F1",
"$ c #EFEFEF",
"% c #ECECEC",
"& c #EAEAEA",
"* c #E9E9E9",
"= c #C2C2C2",
"- c #808080",
"; c #FFFFFF",
"> c #FEFEFE",
", c #FBFBFB",
"' c #F2F2F2",
") c #EEEEEE",
"! c #E3E3E3",
"~ c #BDBDBD",
"{ c #C0C0C0",
"] c #BBBBBB",
"^ c #B6B6B6",
"/ c #AFAFAF",
"( c #A2A2A2",
"_ c #8E8E8E",
": c #828282",
"< c #FCFCFC",
"[ c #F8F8F8",
"} c #AEAEAE",
"| c #A9A9A9",
"1 c #9E9E9E",
"2 c #C4C4C4",
"3 c #BABABA",
"4 c #CACACA",
"5 c #C9C9C9",
"6 c #B5B5B5",
"7 c #F9F9F9",
"8 c #E0E0E0",
"9 c #CCCCCC",
"0 c #BEBEBE",
"a c #FDFDFD",
"b c #FAFAFA",
"c c #F5F5F5",
"d c #BFBFBF",
"e c #A0A0A0",
"f c #D5D5D5",
"g c #C6C6C6",
"h c #F4F4F4",
"i c #C1C1C1",
"j c #E1E1E1",
"k c #DBDBDB",
"l c #CECECE",
"m c #F6F6F6",
"n c #D4D4D4",
"o c #E4E4E4",
"p c #DEDEDE",
"q c #D1D1D1",
"r c #EBEBEB",
"s c #B8B8B8",
"t c #B7B7B7",
"u c #DCDCDC",
"v c #D3D3D3",
"w c #F0F0F0",
"x c #E8E8E8",
"y c #868686",
"z c #DADADA",
"A c #D2D2D2",
"B c #E7E7E7",
"C c #878787",
"D c #888888",
"E c #E5E5E5",
"F c #E2E2E2",
"G c #D7D7D7",
"H c #DFDFDF",
"I c #D0D0D0",
"J c #E6E6E6",
"K c #DDDDDD",
"L c #767676",
"M c #777777",
"N c #CDCDCD",
"O c #EDEDED",
"P c #D8D8D8",
"Q c #B9B9B9",
"R c #D6D6D6",
"S c #B3B3B3",
"T c #CBCBCB",
"U c #CFCFCF",
"V c #787878",
"W c #ACACAC",
"X c #A6A6A6",
"Y c #9D9D9D",
"Z c #9A9A9A",
"` c #969696",
" . c #919191",
".. c #8C8C8C",
"+. c #848484",
"@. c #818181",
" ",
" . . . . . . . . . . . . . . . . ",
" . + + + + + + + + @ # $ % & * = - ",
" . + ; ; ; ; ; ; ; ; > ; , ' ) = ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; , ' = ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; , = ! ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; = ! ! ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; = ! ! ! ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; = ! ! ! ! ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; ~ { ] ^ / ( _ : - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; < [ # } | 1 2 / - ",
" . + ; ; ; ; ; ; ; ; ; ; ; ; ; ; , ' ] 3 4 5 6 - ",
" . + ; ; ; ; ; ; ; ; ; ; ; ; < 7 + $ ~ 1 8 9 0 - ",
" . + ; ; ; ; ; ; ; ; ; ; a b + c # $ d e 8 f g - ",
" . + ; ; ; ; ; ; ; ; ; b [ + h # $ ) i ( j k l - ",
" . + ; ; ; ; ; ; ; < 7 + m @ ' $ $ & n o ! p q - ",
" . + ; ; ; ; ; ; , 7 [ c c ' $ $ r * s t n u v - ",
" . + ; ; ; ; ; , b [ m c ' w $ % * x 3 y 8 z A - ",
" . + ; ; ; ; < < [ [ m @ # $ % * x B ] C 8 u q - ",
" . + ; ; ; ; , b + m @ # $ % * x B o . D 8 z A - ",
" . + ; ; ; , b + c h # $ % * * E o F n 8 8 G q - ",
" . + ; ; , 7 [ c @ # ) % & x E o j H ^ 6 u f I - ",
" . + ; , 7 + c ' w ) % & B J ! j H K t L 8 n l - ",
" . + ; 7 m h ' w ) r * x o ! j p K k t M 8 n N - ",
" . + b m h ' w O r * x o F j p K k P Q M 8 q l - ",
" Q + [ h # $ O r * B J F j p u k P R n 8 8 N N - ",
" 6 + c # $ O r * B J F 8 p u k G R v Q s H 4 9 - ",
" S + @ $ O r * B o ! 8 p u z G f v q Q M 8 4 T - ",
" / + # O r * B o F 8 K u z G f v I U s V 8 4 5 - ",
" W + ) r * B o ! F 8 u k P n n q q N Q V 8 4 5 - ",
" | + x J ! j H u z P R n n A I U l N n ! 8 5 5 - ",
" | X ( Y Z ` ...D +.@.- - - - - - - - - - - - - ",
" ",
" "};
/* XPM */
static char * update_binary_xpm[] = {
"34 34 292 2",
" c None",
". c #BCBCBC",
"+ c #F7F7F7",
"@ c #F3F3F3",
"# c #F1F1F1",
"$ c #EFEFEF",
"% c #ECECEC",
"& c #EAEAEA",
"* c #E9E9E9",
"= c #C2C2C2",
"- c #808080",
"; c #FFFFFF",
"> c #FEFEFE",
", c #FBFBFB",
"' c #F2F2F2",
") c #EEEEEE",
"! c #E3E3E3",
"~ c #647EAA",
"{ c #5B77A6",
"] c #6584AD",
"^ c #718DB3",
"/ c #5F7FAA",
"( c #6080AB",
"_ c #5C7AA7",
": c #6684AC",
"< c #5D7EAA",
"[ c #6E97BD",
"} c #6F98BE",
"| c #6082AD",
"1 c #F6F6F8",
"2 c #FDFDFD",
"3 c #BDBDBD",
"4 c #C0C0C0",
"5 c #BBBBBB",
"6 c #B6B6B6",
"7 c #AFAFAF",
"8 c #A2A2A2",
"9 c #8E8E8E",
"0 c #828282",
"a c #FBFCFD",
"b c #5A79A7",
"c c #6081AB",
"d c #6385AE",
"e c #688CB1",
"f c #7CA1C3",
"g c #799FC2",
"h c #D8E2ED",
"i c #F5F6F7",
"j c #F9F9F9",
"k c #F8F8F8",
"l c #DBDBDB",
"m c #D0D0D0",
"n c #C4C4C4",
"o c #5975A4",
"p c #607BA8",
"q c #5C78A7",
"r c #6587AE",
"s c #7298BF",
"t c #7CA2C5",
"u c #84A7C7",
"v c #8AABC9",
"w c #D7E2EC",
"x c #5D7BA8",
"y c #E8E8E8",
"z c #E2E2E2",
"A c #D8D8D8",
"B c #C9C9C9",
"C c #B5B5B5",
"D c #5D7DA8",
"E c #C3D4E4",
"F c #E3EBF2",
"G c #DCE6EF",
"H c #B7CBDE",
"I c #80A4C5",
"J c #96B4CF",
"K c #9CB8D3",
"L c #ABC2D8",
"M c #E1E2E5",
"N c #EEEFF0",
"O c #EBEBEB",
"P c #E4E4E4",
"Q c #DADADA",
"R c #CCCCCC",
"S c #BEBEBE",
"T c #A9C1D8",
"U c #E6EDF3",
"V c #B0C5DB",
"W c #91B1CE",
"X c #A0BAD3",
"Y c #98B6D1",
"Z c #9EB9D3",
"` c #A6BFD7",
" . c #ADC4DA",
".. c #C1D2E2",
"+. c #DDE7F0",
"@. c #7F9AB8",
"#. c #E0E1E3",
"$. c #EBEBEC",
"%. c #D5D5D5",
"&. c #C6C6C6",
"*. c #B9CDE0",
"=. c #D4E0EB",
"-. c #97B5D0",
";. c #749CC1",
">. c #6386AE",
",. c #5771A2",
"'. c #A7C0D8",
"). c #B1C6DC",
"!. c #BBCEE0",
"~. c #CBDAE8",
"{. c #D1DEEA",
"]. c #718DB1",
"^. c #E5E5E6",
"/. c #E7E7E7",
"(. c #DEDEDE",
"_. c #CECECE",
":. c #E0E8F1",
"<. c #5976A6",
"[. c #6279A5",
"}. c #B7BBC4",
"|. c #B9BDC5",
"1. c #B2C8DD",
"2. c #C9D8E6",
"3. c #DFE8F0",
"4. c #6082AB",
"5. c #D5D6D9",
"6. c #E1E1E2",
"7. c #E0E0E0",
"8. c #D1D1D1",
"9. c #D9E4EE",
"0. c #A4BED7",
"a. c #BABEC7",
"b. c #BFC3CB",
"c. c #C2C5CC",
"d. c #6182AE",
"e. c #D0DEE9",
"f. c #C6D5E5",
"g. c #8DAECC",
"h. c #5A76A5",
"i. c #D5D6D8",
"j. c #E5E5E5",
"k. c #DCDCDC",
"l. c #D3D3D3",
"m. c #668AAF",
"n. c #86A9C9",
"o. c #B5BAC3",
"p. c #BEC2CA",
"q. c #C9CCD2",
"r. c #D1D3D8",
"s. c #D9DBDF",
"t. c #94B3CF",
"u. c #5A78A5",
"v. c #C9CACE",
"w. c #D2D2D2",
"x. c #C4D5E5",
"y. c #B8BCC5",
"z. c #CED1D7",
"A. c #DEDFE3",
"B. c #EAEBED",
"C. c #7AA0C3",
"D. c #6589AE",
"E. c #BEC0C6",
"F. c #DFDFDF",
"G. c #5F80AA",
"H. c #6D94BC",
"I. c #698EB4",
"J. c #CEDCE9",
"K. c #678BB0",
"L. c #BDC1C9",
"M. c #E4E6E9",
"N. c #EFF0F1",
"O. c #DBE5EE",
"P. c #E6ECF3",
"Q. c #5972A1",
"R. c #A8ACB4",
"S. c #B8BBC1",
"T. c #81A5C6",
"U. c #A3BCD4",
"V. c #637AA6",
"W. c #C6C9D0",
"X. c #DEE0E4",
"Y. c #EEEFF1",
"Z. c #F5F7FA",
"`. c #6177A3",
" + c #A5A9B2",
".+ c #ABAFB7",
"++ c #BBBEC3",
"@+ c #DDDDDD",
"#+ c #D7D7D7",
"$+ c #9AB6D1",
"%+ c #6382AB",
"&+ c #CBCED4",
"*+ c #D6E1EB",
"=+ c #EBF1F6",
"-+ c #CCDAE9",
";+ c #ABAEB6",
">+ c #B7BABF",
",+ c #C7C9CC",
"'+ c #A3BDD6",
")+ c #AEC5DB",
"!+ c #EFF2F6",
"~+ c #F6F9FB",
"{+ c #A4A8B1",
"]+ c #B8BBC0",
"^+ c #D2D3D4",
"/+ c #D4D4D4",
"(+ c #5E7EA9",
"_+ c #B4C9DD",
":+ c #BECFE1",
"<+ c #EAF0F5",
"[+ c #F9FBFC",
"}+ c #FCFDFD",
"|+ c #657EA7",
"1+ c #B3B6BC",
"2+ c #C6C7CB",
"3+ c #D6D6D6",
"4+ c #CDCDCD",
"5+ c #C2D3E3",
"6+ c #D1DFEA",
"7+ c #E4ECF3",
"8+ c #ACC3D9",
"9+ c #E9EEF4",
"0+ c #85A8C8",
"a+ c #BBBDC2",
"b+ c #CDCED0",
"c+ c #D4D5D5",
"d+ c #9BB7D2",
"e+ c #B6B9BE",
"f+ c #CACBCD",
"g+ c #D3D3D4",
"h+ c #F2F6F9",
"i+ c #6079A4",
"j+ c #A3A7AF",
"k+ c #B0B3B8",
"l+ c #C6C7C9",
"m+ c #CFD0D0",
"n+ c #CACACA",
"o+ c #B4B8C0",
"p+ c #93B2CE",
"q+ c #A3A7B0",
"r+ c #A1A5AE",
"s+ c #A1A5AD",
"t+ c #A5A8B0",
"u+ c #B3B5BA",
"v+ c #C5C6C8",
"w+ c #CECECF",
"x+ c #CBCBCB",
"y+ c #909398",
"z+ c #BFC2C9",
"A+ c #B8BBC3",
"B+ c #82A6C7",
"C+ c #5771A1",
"D+ c #ADB1B7",
"E+ c #B0B3B9",
"F+ c #AFB2B8",
"G+ c #AEB0B6",
"H+ c #BFC1C4",
"I+ c #C9CACB",
"J+ c #9D9EA1",
"K+ c #D6D8DC",
"L+ c #C9CCD1",
"M+ c #BDBFC6",
"N+ c #A5A9B1",
"O+ c #B7BAC0",
"P+ c #C2C3C7",
"Q+ c #C7C9CB",
"R+ c #C6C7CA",
"S+ c #C3C4C7",
"T+ c #CACACB",
"U+ c #CFCFCF",
"V+ c #A4A5A5",
"W+ c #EBEBED",
"X+ c #DADBDD",
"Y+ c #CDCFD2",
"Z+ c #BABCC2",
"`+ c #A7ABB2",
" @ c #B3B6BB",
".@ c #C2C4C7",
"+@ c #CDCDCF",
"@@ c #D0D1D1",
"#@ c #CECFCF",
"$@ c #CDCDCE",
"%@ c #A8A8A8",
"&@ c #A4A4A5",
"*@ c #9F9FA0",
"=@ c #969798",
"-@ c #8B8D90",
";@ c #7E8086",
">@ c #777A7F",
",@ c #76797E",
"'@ c #7B7C80",
")@ c #7F7F81",
" ",
" . . . . . . . . . . . . . . . . ",
" . + + + + + + + + @ # $ % & * = - ",
" . + ; ; ; ; ; ; ; ; > ; , ' ) = ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; , ' = ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; , = ! ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; = ! ! ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; = ! ! ! ; ; - ",
" . + ; ; ; ~ { ; ; ; ] ^ ; ; ; = ! ! ! ! ; ; - ",
" . + ; ; { / ( _ : < [ } | 1 2 3 4 5 6 7 8 9 0 - ",
" . + a b ( c | d e } f g h | i j k # * l m n 7 - ",
" o p q < / ( c r s t u v w u x i j ' y z A B C - ",
" o D / x r E F G H I u J K L v { M N ) O P Q R S - ",
" { / _ T U V W I I X Y Z ` ...+.@.#.$.O ! l %.&.- ",
" _ D *.=.-.;.>.( { ,.*.'.).!.E ~.{.].^.& /.(.l _.- ",
" _ ( } :.J [ c <.[.}.|.| 1.!.E 2.3.w 4.5.6./.7.(.8.- ",
" _ c ( 9.0.s c o }.a.b.c.d.!.E e.+.G f.g.h.i.j.z k.l.- ",
"_ c | m.G n.d.o o.p.q.r.s.>.f.{.+.2.'.t.u u.v.z 7.Q w.- ",
"_ d.d g.x.} _ y.b.z.A.B.r f.{.+.f.Z C.D.c o E.F.F.k.8.- ",
"G.d.H.I.J.K.o L.z.M.N.r f.=.O.P.'.g | x Q.R.S.k.k.Q w.- ",
" / ;.T.U.I.V.W.X.Y.r 2.w 9.F Z.K D.D `. +.+++@+#+#+8.- ",
" ( u W $+` %+&+>.D.J.*+O.F =+; -+c ,. +;+>+,+l %.%.m - ",
" ( W $+'+)+..>.E J.w :.U !+~+; h ( {+;+]+,+^+A #+/+_.- ",
"(+t.Y '+V _+:+x.{.9.U <+[+}+; x.T -.|+1+2+^+3+3+/+/+4+- ",
" c x.J...5+2.6+O.7+f.8+` 9+e.'.0+m._ a+b+c+3+l.w.8._.- ",
" d.J g.*+6+9.<+E d+C.K.r t.t.D./ ,.e+f+g+l.w.m 4+4+- ",
" < _ W F h+:.0.f | D ,.i+b _ ,.j+k+l+m+8.m R n+R - ",
" ,.o+[ e.5+p+r D `.q+q+j+r+s+t+u+v+w+m x+x+n+x+- ",
" y+z+A+( v B+( C+{+R.D+E+F+G+u+H+I+_.x+x+x+n+B - ",
" J+K+L+M+o u.o N+.+O+P+Q+R+S+l+T+U+4+R n+n+n+B - ",
" V+W+X+Y+Z+;+N+`+ @.@+@m @@#@$@_._.4+R x+B B B - ",
" %@&@*@=@-@;@>@,@'@)@- - - - - - - - - - - - - - ",
" ",
" "};
/* XPM */
static char * update_document_xpm[] = {
"34 34 102 2",
" c None",
". c #BCBCBC",
"+ c #F7F7F7",
"@ c #F3F3F3",
"# c #F1F1F1",
"$ c #EFEFEF",
"% c #ECECEC",
"& c #EAEAEA",
"* c #E9E9E9",
"= c #C2C2C2",
"- c #808080",
"; c #FFFFFF",
"> c #FEFEFE",
", c #FBFBFB",
"' c #F2F2F2",
") c #EEEEEE",
"! c #B2B2B2",
"~ c #E3E3E3",
"{ c #B1B1B1",
"] c #BDBDBD",
"^ c #C0C0C0",
"/ c #B6B6B6",
"( c #AFAFAF",
"_ c #A2A2A2",
": c #8E8E8E",
"< c #828282",
"[ c #EDEDED",
"} c #E2E2E2",
"| c #DBDBDB",
"1 c #D0D0D0",
"2 c #C4C4C4",
"3 c #FAFAFA",
"4 c #F4F4F4",
"5 c #D8D8D8",
"6 c #C9C9C9",
"7 c #B5B5B5",
"8 c #E6E6E6",
"9 c #DCDCDC",
"0 c #DADADA",
"a c #CCCCCC",
"b c #BEBEBE",
"c c #ADADAD",
"d c #A8A8A8",
"e c #EBEBEB",
"f c #DFDFDF",
"g c #D7D7D7",
"h c #D5D5D5",
"i c #C6C6C6",
"j c #F9F9F9",
"k c #F6F6F6",
"l c #E7E7E7",
"m c #CECECE",
"n c #AEAEAE",
"o c #ABABAB",
"p c #AAAAAA",
"q c #A4A4A4",
"r c #9F9F9F",
"s c #D1D1D1",
"t c #F8F8F8",
"u c #E0E0E0",
"v c #DEDEDE",
"w c #D3D3D3",
"x c #A6A6A6",
"y c #A5A5A5",
"z c #D2D2D2",
"A c #F5F5F5",
"B c #A1A1A1",
"C c #CBCBCB",
"D c #C8C8C8",
"E c #9D9D9D",
"F c #ACACAC",
"G c #E5E5E5",
"H c #E4E4E4",
"I c #9C9C9C",
"J c #DDDDDD",
"K c #A3A3A3",
"L c #E1E1E1",
"M c #9A9A9A",
"N c #A7A7A7",
"O c #A0A0A0",
"P c #9E9E9E",
"Q c #9B9B9B",
"R c #989898",
"S c #D4D4D4",
"T c #CDCDCD",
"U c #F0F0F0",
"V c #E8E8E8",
"W c #D6D6D6",
"X c #B9B9B9",
"Y c #969696",
"Z c #959595",
"` c #939393",
" . c #B3B3B3",
".. c #999999",
"+. c #919191",
"@. c #CACACA",
"#. c #CFCFCF",
"$. c #A9A9A9",
"%. c #8C8C8C",
"&. c #888888",
"*. c #848484",
"=. c #818181",
" . . . . . . . . . . . . . . . . ",
" . + + + + + + + + @ # $ % & * = - ",
" . + ; ; ; ; ; ; ; ; > ; , ' ) = ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; , ' = ; ; - ",
" . + ; ! ! ! ; ; ; ; > ; ; ; , = ~ ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; = ~ ~ ; ; - ",
" . + ; ! ! ! ! ! ! ! { ! ! ; ; = ~ ~ ~ ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; = ~ ~ ~ ~ ; ; - ",
" . + ; ! ! ! ! ! ! ! { ! ! ; ; ] ^ . / ( _ : < - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; , [ } * | 1 2 ( - ",
" . + ; ! ! ! ! ! ! ! ! ! ! ; ; ; 3 4 ~ ~ 5 6 7 - ",
" . + ; ; ; ; ; ; ; ; ; ; ; ; ; 3 3 ' 8 9 0 a b - ",
" . + ; ! ! ! ! ! ! ! ! ! ! ! ( c d d e f g h i - ",
" . + ; ; ; ; ; ; ; ; ; ; ; , j k $ $ [ l | 0 m - ",
" . + ; ! ! ! ! ! ! ! ! ! n c o p d q q r } 5 s - ",
" . + ; ; ; ; ; ; ; ; ; 3 t k 4 # $ * * l u v w - ",
" . + ; ! ! ! ! ! ! ! n c o p d x y q r r } 9 z - ",
" . + ; ; ; ; ; ; > 3 t A @ ' $ [ e * } } u 0 s - ",
" . + ; ! ! ! ! { c c o @ d x y q _ B r f f 9 z - ",
" . + ; ; ; ; , 3 + k @ # x C C 6 D i E 9 9 0 s - ",
" . + ; ! ! ( n F o p d $ q e * G H } I J g g 1 - ",
" . + ; ; , j t A @ # ) % K * G H L f M | h h m - ",
" . + ; ( c F o d N x q & B O P E Q M R 5 g S T - ",
" . + ; j k 4 ' U ) e * V H ~ L v J | 5 W S S m - ",
" X + 3 o p d N y q _ B r E E M M R Y Z ` z s T - ",
" 7 + t 4 # $ [ e * l 8 } L v 9 | 5 W w z 1 T a - ",
" .+ A d x y q _ B O E I M ..R Y Z ` +.+.a @.C - ",
" ( + @ $ [ e * l H ~ u v 9 0 g h w s 1 C C @.6 - ",
" F + # y e _ B H } u J 9 0 g h w 1 #.C C C @.6 - ",
" F + ) e * l H ~ } u 9 | 5 S S s s T a @.@.@.6 - ",
" $.+ V 8 ~ L f 9 0 5 W S S z 1 #.m T a C 6 6 6 - ",
" $.x _ E M Y +.%.&.*.=.- - - - - - - - - - - - - ",
" ",
" "};
/* XPM */
static char * update_info_xpm[] = {
"34 34 271 2",
" c None",
". c #BCBCBC",
"+ c #F7F7F7",
"@ c #F3F3F3",
"# c #F1F1F1",
"$ c #EFEFEF",
"% c #ECECEC",
"& c #EAEAEA",
"* c #E9E9E9",
"= c #C2C2C2",
"- c #808080",
"; c #FFFFFF",
"> c #FEFEFE",
", c #FBFBFB",
"' c #F2F2F2",
") c #EEEEEE",
"! c #E3E3E3",
"~ c #BDBDBD",
"{ c #C0C0C0",
"] c #BBBBBB",
"^ c #B6B6B6",
"/ c #AFAFAF",
"( c #A2A2A2",
"_ c #8E8E8E",
": c #828282",
"< c #FCFCFC",
"[ c #F8F8F8",
"} c #DBDBDB",
"| c #D0D0D0",
"1 c #C4C4C4",
"2 c #F0F1F4",
"3 c #D5DAE9",
"4 c #B2BFD9",
"5 c #9DACCF",
"6 c #E8E8E8",
"7 c #E2E2E2",
"8 c #D8D8D8",
"9 c #C9C9C9",
"0 c #B5B5B5",
"a c #F7F8FA",
"b c #C8D0E2",
"c c #8FA9DA",
"d c #789ED7",
"e c #87AFDF",
"f c #98BCE4",
"g c #8CA7D8",
"h c #C2CBDC",
"i c #E7E8EA",
"j c #EBEBEB",
"k c #E4E4E4",
"l c #DADADA",
"m c #CCCCCC",
"n c #BEBEBE",
"o c #ADBFE1",
"p c #85A9DB",
"q c #97BBE4",
"r c #AFC6E8",
"s c #B0C7E9",
"t c #AEC5E7",
"u c #A8C2E5",
"v c #92B0E1",
"w c #7F9DD7",
"x c #A5B4D4",
"y c #DDDFE1",
"z c #D5D5D5",
"A c #C6C6C6",
"B c #F7F8FB",
"C c #AFC0E3",
"D c #87ABDC",
"E c #A2BCE3",
"F c #A5BEE4",
"G c #9EBDE3",
"H c #9AB8E1",
"I c #99B9E0",
"J c #92B3E1",
"K c #91B1E0",
"L c #78A2D6",
"M c #A2B6D6",
"N c #E0E1E3",
"O c #DEDEDE",
"P c #CECECE",
"Q c #CAD6EA",
"R c #89ADDB",
"S c #87AADE",
"T c #79A2DA",
"U c #6C9CD7",
"V c #678FD2",
"W c #5F8CD0",
"X c #5886D3",
"Y c #618CD2",
"Z c #6890D3",
"` c #76A1D7",
" . c #7196D2",
".. c #B7C0D4",
"+. c #D1D1D1",
"@. c #F1F3F7",
"#. c #93B0DE",
"$. c #6C93D6",
"%. c #638ED4",
"&. c #5381CE",
"*. c #4472C5",
"=. c #3868C1",
"-. c #3262BB",
";. c #FDFDFD",
">. c #2047A9",
",. c #325CB3",
"'. c #3666BD",
"). c #386DC5",
"!. c #4678CB",
"~. c #4A7ACC",
"{. c #7998C9",
"]. c #D5D7DA",
"^. c #DCDCDC",
"/. c #D3D3D3",
"(. c #D4DCEC",
"_. c #6187CC",
":. c #4674C9",
"<. c #3867BD",
"[. c #2F56AE",
"}. c #2951A2",
"|. c #274996",
"1. c #264895",
"2. c #183289",
"3. c #254492",
"4. c #254897",
"5. c #2A509D",
"6. c #2D55A6",
"7. c #4B6CB6",
"8. c #B9BFCF",
"9. c #D2D2D2",
"0. c #A9B7D5",
"a. c #3A62B5",
"b. c #2A57AB",
"c. c #264F9B",
"d. c #26448F",
"e. c #223D83",
"f. c #203A7D",
"g. c #1E3879",
"h. c #1F3974",
"i. c #122871",
"j. c #1F3A7E",
"k. c #214388",
"l. c #2E4E98",
"m. c #949EB9",
"n. c #95A4C8",
"o. c #203E83",
"p. c #11276E",
"q. c #1B346E",
"r. c #1A336D",
"s. c #1C376F",
"t. c #1F3D7F",
"u. c #808CAC",
"v. c #8E9AB4",
"w. c #2F55AC",
"x. c #2D53A2",
"y. c #183593",
"z. c #1C3473",
"A. c #79839D",
"B. c #D7D7D7",
"C. c #9CA7C0",
"D. c #274286",
"E. c #3261B7",
"F. c #3464BB",
"G. c #244376",
"H. c #838EA3",
"I. c #C4CAD8",
"J. c #38538D",
"K. c #4C7FCB",
"L. c #4A78CB",
"M. c #406FC5",
"N. c #2654BB",
"O. c #284AB7",
"P. c #34497F",
"Q. c #A9AFBB",
"R. c #D4D4D4",
"S. c #E5E7ED",
"T. c #697C9F",
"U. c #8CAEE1",
"V. c #7CA5DD",
"W. c #739BD8",
"X. c #3C61C1",
"Y. c #4275C9",
"Z. c #596990",
"`. c #C3C5CA",
" + c #CDCDCD",
".+ c #FAFAFA",
"++ c #B4BDCE",
"@+ c #4C6DB8",
"#+ c #D3DCF0",
"$+ c #CDDAEE",
"%+ c #C4D6EF",
"&+ c #BBD3EC",
"*+ c #8FA3D6",
"=+ c #859DD4",
"-+ c #7C97CF",
";+ c #6F8BD0",
">+ c #7DA8DE",
",+ c #3D5591",
"'+ c #9CA4B5",
")+ c #B9B9B9",
"!+ c #F4F4F4",
"~+ c #E7E9ED",
"{+ c #919EB6",
"]+ c #4772BF",
"^+ c #CDDAEF",
"/+ c #EDF3F8",
"(+ c #EAF2F9",
"_+ c #E7EEF8",
":+ c #E5EBF6",
"<+ c #E0E9F5",
"[+ c #DBE6F4",
"}+ c #D6E1F1",
"|+ c #92B3E0",
"1+ c #39589E",
"2+ c #818DA6",
"3+ c #CACBCF",
"4+ c #F5F5F5",
"5+ c #DADDE5",
"6+ c #8F9CB7",
"7+ c #618BCF",
"8+ c #B4C8E8",
"9+ c #F7F8FC",
"0+ c #F1F4FA",
"a+ c #F1F2FA",
"b+ c #F2F6FB",
"c+ c #DFE8F4",
"d+ c #9EBDE2",
"e+ c #4D75BF",
"f+ c #8290A9",
"g+ c #C1C4CB",
"h+ c #CACACA",
"i+ c #B3B3B3",
"j+ c #EDEDED",
"k+ c #E0E2E6",
"l+ c #ACB4C8",
"m+ c #6A85BA",
"n+ c #658ED2",
"o+ c #7BA5D9",
"p+ c #A5C0E6",
"q+ c #729FD7",
"r+ c #628BCF",
"s+ c #647CB2",
"t+ c #9EA6BA",
"u+ c #C9CBCF",
"v+ c #CBCBCB",
"w+ c #E7E7E7",
"x+ c #D0D3D9",
"y+ c #B3BCCE",
"z+ c #8E9EC1",
"A+ c #7F8BAD",
"B+ c #7E8AAC",
"C+ c #8A9BBD",
"D+ c #ABB3C6",
"E+ c #C2C6CC",
"F+ c #CFCFCF",
"G+ c #ACACAC",
"H+ c #E0E0E0",
"I+ c #A9A9A9",
"J+ c #E6E6E6",
"K+ c #E1E1E1",
"L+ c #DFDFDF",
"M+ c #D6D6D6",
"N+ c #A6A6A6",
"O+ c #9D9D9D",
"P+ c #9A9A9A",
"Q+ c #969696",
"R+ c #919191",
"S+ c #8C8C8C",
"T+ c #888888",
"U+ c #848484",
"V+ c #818181",
" ",
" . . . . . . . . . . . . . . . . ",
" . + + + + + + + + @ # $ % & * = - ",
" . + ; ; ; ; ; ; ; ; > ; , ' ) = ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; , ' = ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; , = ! ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; = ! ! ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; = ! ! ! ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; = ! ! ! ! ; ; - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; ~ { ] ^ / ( _ : - ",
" . + ; ; ; ; ; ; ; ; > ; ; ; ; < [ # * } | 1 / - ",
" . + ; ; ; ; ; < 2 3 4 5 5 4 3 2 [ ' 6 7 8 9 0 - ",
" . + ; ; ; ; a b c d e f f e d g h i j k l m n - ",
" . + ; ; ; 2 o p q r s s r t u v w x y ! } z A - ",
" . + ; ; B C D E F G H I J K J I J L M N O } P - ",
" . + ; < Q R K S T U V W X X Y Z U ` ...O O +.- ",
" . + ; @.#.$.%.&.*.=.-.;.;.>.,.'.).!.~.{.].^./.- ",
" . + ; (._.:.<.[.}.|.1.;.;.2.3.4.5.6.,.7.8.l 9.- ",
" . + ; 0.a.b.c.d.e.f.g.h.i.i.h.g.j.k.3.l.m.^.+.- ",
" . + ; n.c.c.d.k.o.f.;.;.;.p.q.r.s.h.f.t.u.l 9.- ",
" . + ; v.k.w.b.x.}.}.5.;.< y.4.4.1.3.d.z.A.B.+.- ",
" . + ; C.D.E.F.F.-.E.,.< < >.[.b.6.6.}.G.H.z | - ",
" . + ; I.J.=.K.L.:.*.M.< < N.O.=.<.'.6.P.Q.R.P - ",
" . + ; S.T.*.K U.V.W.< < < < X.K.L.Y.}.Z.`.R. +- ",
" . + .+@ ++@+u #+$+%+&+*+=+-+;+>+W.*.,+'+| +.P - ",
" )++ [ !+~+{+]+^+/+(+_+:+<+[+}+$+|+1+2+3+| + +- ",
" 0 + 4+# $ 5+6+7+8+_+9+0+a+b+c+d+e+f+g+| m h+m - ",
" i++ @ $ j+j k+l+m+n+o+p+p+q+r+s+t+u+| v+v+h+v+- ",
" / + # j+j * w+7 x+y+z+A+B+C+D+E+P F+v+v+v+h+9 - ",
" G++ ) j * w+k ! 7 H+^.} 8 R.R.+.+. +m h+h+h+9 - ",
" I++ 6 J+! K+L+^.l 8 M+R.R.9.| F+P +m v+9 9 9 - ",
" I+N+( O+P+Q+R+S+T+U+V+- - - - - - - - - - - - - ",
" ",
" "};
/* XPM */
static char * update_source_xpm[] = {
"34 34 143 2",
" c None",
". c #BCBCBC",
"+ c #F7F7F7",
"@ c #F3F3F3",
"# c #F1F1F1",
"$ c #EFEFEF",
"% c #ECECEC",
"& c #EAEAEA",
"* c #E9E9E9",
"= c #C2C2C2",
"- c #808080",
"; c #FFFFFF",
"> c #003377",
", c #CEDBEB",
"' c #FBFBFB",
") c #F2F2F2",
"! c #EEEEEE",
"~ c #BFD0E5",
"{ c #E3E3E3",
"] c #FEFEFE",
"^ c #004F33",
"/ c #BDCEE4",
"( c #C2E1CF",
"_ c #CCE6D7",
": c #B6DBC5",
"< c #BDBDBD",
"[ c #C0C0C0",
"} c #B6B6B6",
"| c #AFAFAF",
"1 c #A2A2A2",
"2 c #8E8E8E",
"3 c #828282",
"4 c #008437",
"5 c #EDEDED",
"6 c #E2E2E2",
"7 c #DBDBDB",
"8 c #D0D0D0",
"9 c #C4C4C4",
"0 c #BCDDCA",
"a c #B9DBC7",
"b c #CEE4D7",
"c c #FAFAFA",
"d c #F4F4F4",
"e c #D8D8D8",
"f c #C9C9C9",
"g c #B5B5B5",
"h c #C5E0D0",
"i c #B7D8C5",
"j c #E6E6E6",
"k c #DCDCDC",
"l c #DADADA",
"m c #CCCCCC",
"n c #BEBEBE",
"o c #BCDDC9",
"p c #C6E0D1",
"q c #F9F9F9",
"r c #EBEBEB",
"s c #DFDFDF",
"t c #D7D7D7",
"u c #D5D5D5",
"v c #C6C6C6",
"w c #F6F6F6",
"x c #E7E7E7",
"y c #CECECE",
"z c #767676",
"A c #8B8B8B",
"B c #9F9F9F",
"C c #B3B3B3",
"D c #C7C7C7",
"E c #9E9E9E",
"F c #898989",
"G c #616161",
"H c #4C4C4C",
"I c #383838",
"J c #E4E4E4",
"K c #D1D1D1",
"L c #8D8D8D",
"M c #9A9A9A",
"N c #ACACAC",
"O c #888888",
"P c #777777",
"Q c #676767",
"R c #585858",
"S c #A5A5A5",
"T c #E0E0E0",
"U c #DEDEDE",
"V c #D3D3D3",
"W c #E5E5E5",
"X c #D2D2D2",
"Y c #000000",
"Z c #8C8C8C",
"` c #BFBFBF",
" . c #D6D6D6",
".. c #565656",
"+. c #454545",
"@. c #989898",
"#. c #737373",
"$. c #9B9B9B",
"%. c #656565",
"&. c #4B4B4B",
"*. c #848484",
"=. c #DDDDDD",
"-. c #F8F8F8",
";. c #F5F5F5",
">. c #E1E1E1",
",. c #F0F0F0",
"'. c #080808",
"). c #D4D4D4",
"!. c #CDCDCD",
"~. c #272727",
"{. c #1E1E1E",
"]. c #2D2D2D",
"^. c #232323",
"/. c #D9D9D9",
"(. c #343434",
"_. c #B9B9B9",
":. c #555555",
"<. c #E8E8E8",
"[. c #444444",
"}. c #535353",
"|. c #7A7A7A",
"1. c #6E6E6E",
"2. c #626262",
"3. c #6A6A6A",
"4. c #606060",
"5. c #595959",
"6. c #636363",
"7. c #CACACA",
"8. c #CBCBCB",
"9. c #747474",
"0. c #727272",
"a. c #707070",
"b. c #6B6B6B",
"c. c #686868",
"d. c #7B7B7B",
"e. c #CFCFCF",
"f. c #929292",
"g. c #A9A9A9",
"h. c #A6A6A6",
"i. c #9D9D9D",
"j. c #969696",
"k. c #919191",
"l. c #818181",
" . . . . . . . . . . . . . . . . ",
" . + + + + + + + + @ # $ % & * = - ",
" . + ; ; ; ; ; ; ; > , ; ' ) ! = ; - ",
" . + ; ; ; ; ; ; ; > ~ ; ; ' ) = ; ; - ",
" . + ; ; ; ; ; ; ; > ~ ; ; ; ' = { ; ; - ",
" . + ; ; ; ; ; ; ; ; ] ; ; ; ; = { { ; ; - ",
" . + ; ; ; ^ ^ ; ; > / ; ; ; ; = { { { ; ; - ",
" . + ; ; ^ ( _ ^ ; ; ] ; ; ; ; = { { { { ; ; - ",
" . + ; ; : ; ; ^ ; ; ] ; ; ; ; < [ . } | 1 2 3 - ",
" . + ; ; ; ; ^ : ; ; 4 4 ; ; ; ' 5 6 * 7 8 9 | - ",
" . + ; ; ; ; 0 ; ; 4 a b 4 ; 4 ; c d { { e f g - ",
" . + ; ; ; ^ ; ; ; 4 ; ; h ; i c c ) j k l m n - ",
" . + ; ; ; o ; ; ; p 4 ; ; ; ' q ) ) r s t u v - ",
" . + ; ; ; ; ; ; ; ; ; ; ; ' q w $ $ 5 x 7 l y - ",
" . + z A B C D k D C E F z G H I ) r r J 6 e K - ",
" . + ; f L M N < N M O P Q R S # $ * * x T U V - ",
" . + z F E C D k D C E F z G H I 5 r W W 6 k X - ",
" . + z F E C Y Z S ` .; z G H I r * 6 6 T l K - ",
" . + z F E C D Y ` .; F z G H I * x J s s k X - ",
" . + V P O M N < Y ; O P Q ..+.@.x J 6 k k l K - ",
" . + ; g #.- 2 $.2 - #.%.R &.*.W J 6 T =.t t 8 - ",
" . + ; ; ' q -.;.@ # ! % & * W J >.s =.7 u u y - ",
" . + ; ' q Y Y Y ,.'.% Y Y Y { >.s =.7 e t ).!.- ",
" . + ; q w ~.j {.! ].* ^./.(.>.U =.7 e .).).y - ",
" _.+ c w d :.7 +.r +.<.[.8 }.U =.7 e .V X K !.- ",
" g + -.d # |.1.2.* 3.j 4.5.6.k 7 e .V X 8 !.m - ",
" C + ;.# $ 5 r * x j 6 T U k 7 t .V K 8 m 7.8.- ",
" | + @ $ 5 9.* 0.a.1.T b.k c.t u V K 8 8.8.7.f - ",
" N + # 5 r A x O ).*.=.- l d.u V 8 e.8.8.8.7.f - ",
" N + ! r * 1 J $.8 @.k f.e L ).K K !.m 7.7.7.f - ",
" g.+ <.j { >.s k l e .).).X 8 e.y !.m 8.f f f - ",
" g.h.1 i.M j.k.Z O *.l.- - - - - - - - - - - - - ",
" ",
" "};
This diff is collapsed.
......@@ -24,9 +24,10 @@
#ifndef _WXVLC_UPDATEVLC_H_
#define _WXVLC_UPDATEVLC_H_
#include <vlc_update.h>
#include "wxwidgets.hpp"
#include <wx/treectrl.h>
#include <list>
class wxTreeCtrl;
......@@ -35,60 +36,19 @@ namespace wxvlc
class UpdateVLC: public wxFrame
{
public:
/** Constructor */
UpdateVLC( intf_thread_t *p_intf, wxWindow *p_parent );
virtual ~UpdateVLC();
private:
void OnButtonClose( wxCommandEvent& event );
void OnClose( wxCloseEvent& WXUNUSED(event) );
void GetData();
void OnCheckForUpdate( wxCommandEvent& event );
void OnMirrorChoice( wxCommandEvent& event );
void UpdateUpdatesTree();
void UpdateMirrorsChoice();
void OnUpdatesTreeActivate( wxTreeEvent& event );
void DownloadFile( wxString url, wxString dst );
void OnChooseItem( wxListEvent& event );
DECLARE_EVENT_TABLE();
intf_thread_t *p_intf;
wxTreeCtrl *updates_tree;
wxChoice *mirrors_choice;
wxString release_type; /* could be "stable", "test", "nightly" ... */
struct update_file_t
{
wxString type;
wxString md5;
wxString size;
wxString url;
wxString description;
};
struct update_version_t
{
wxString type;
wxString major;
wxString minor;
wxString revision;
wxString extra;
std::list<update_file_t> m_files;
};
std::list<update_version_t> m_versions;
struct update_mirror_t
{
wxString name;
wxString location;
wxString type;
wxString base_url;
};
std::list<update_mirror_t> m_mirrors;
update_t *p_u;
};
};
......
......@@ -109,6 +109,8 @@
#include "vlc_image.h"
#include "vlc_osd.h"
#include "vlc_update.h"
#if defined( _MSC_VER ) && defined( UNDER_CE )
# include "modules_builtin_evc.h"
#elif defined( _MSC_VER )
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment