phpmole/0002755000175000017500000000000007634077403012406 5ustar alanalan00000000000000phpmole/CVS/0002755000175000017500000000000007641002066013030 5ustar alanalan00000000000000phpmole/CVS/Root0000644000175000017500000000010107372361212013666 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/CVS/Repository0000644000175000017500000000001007372361212015121 0ustar alanalan00000000000000phpmole phpmole/CVS/Entries0000644000175000017500000000125107634077533014376 0ustar alanalan00000000000000D/config//// D/dialogs//// D/glade//// D/languages//// D/legacy//// D/modules//// D/transports//// D/xpm//// D/tools//// D/help//// D/installer//// D/pear//// D/docs//// D/phpconverter//// D/DB//// /FILE_STRUCTURE.txt/1.1/Thu Feb 14 03:45:31 2002// /update_changelog.sh/1.1/Thu Feb 14 03:45:31 2002// D/tests//// /phpmole.exe/1.1/Sat Feb 23 02:00:26 2002// /README/1.3/Mon Mar 18 01:46:07 2002// D/autotext//// /phpmole/1.1/Sun Apr 28 03:38:15 2002// /dotPLAN/1.1/Thu May 23 01:25:15 2002// /phpmole-ide.php/1.37/Mon Oct 7 04:48:54 2002// D/Phpmole//// /ChangeLog/1.20/Sat Feb 1 06:36:34 2003// /Phpmole.php/1.1/Sat Feb 1 05:11:37 2003// /CREDITS/1.3/Thu Mar 13 12:52:19 2003// phpmole/CVS/.mappedfiles/0002755000175000017500000000000007641002066015377 5ustar alanalan00000000000000phpmole/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002066020677 2Repositoryustar alanalan00000000000000phpmole/tools/0002755000175000017500000000000007641002066013535 5ustar alanalan00000000000000phpmole/tools/build_manual.php0000755000175000017500000000251507433427064016716 0ustar alanalan00000000000000#!/usr/bin/php run(); // now the manual is in elemental form in $fetcher->manual_parser->html_parse $generator = new phpmanual_devhelp_generator(); $generator->htmltree = $fetcher->manual_parser->htmltree; $generator->start(); echo "OUTTREE?"; //echo serialize($generator->outtree); $outputer = new xml_generator (); $outputer->htmltree = $generator->outtree; $outputer->output = ' '; $outputer->start(); $outputer->output .= " "; $function_outputer =new xml_generator (); $function_outputer->htmltree = $generator->functiontree; $function_outputer->start(); $outputer->output .= " " . $function_outputer->output . " "; echo $outputer->output; $fh = fopen(APPDIR . "help/specs/php.devhelp","w"); fwrite($fh, $outputer->output); fclose($fh); exit; ?>phpmole/tools/phpmanual_help_fetch.class0000755000175000017500000001221607433427134020743 0ustar alanalan00000000000000cache_dir."help/php"; if (!file_exists($this->cache_dir."help")) mkdir($this->cache_dir."help",0755); if (!file_exists($this->cache_dir."help/php")) mkdir($this->cache_dir."help/php",0755); if (!file_exists($this->cache_dir."help/php/{$this->lang}")) mkdir($this->cache_dir."help/php/{$this->lang}",0755); $outdir = $this->cache_dir . "help/php"; $urlprefix = "http://cvs.php.net/co.php/phpdoc/"; $urls = array( "http://cvs.php.net/co.php/phpdoc/manual.xml.in?p=1" => "manual.xml", "http://cvs.php.net/co.php/phpdoc/global.ent?p=1" => "global.ent", "http://cvs.php.net/co.php/phpdoc/faqurls.ent?p=1" => "faqurls.ent", "http://cvs.php.net/co.php/phpdoc/{$this->lang}/language-defs.ent?p=1" => "{$this->lang}/language-defs.ent", "http://cvs.php.net/co.php/phpdoc/{$this->lang}/language-snippets.ent?p=1" => "{$this->lang}/language-snippets.ent" ); $this->snoopy = new Snoopy; foreach ($urls as $url=>$file) { if (!$this->get_file($url,$outdir."/".$file)) return; } // by now it should have downloaded all the files! $manual_parser = new parser_XML; $manual_parser->data = implode('',file($outdir."/manual.xml")); //$manual_parser->debug=1; $manual_parser->html_parse(); // look for entities.. // of type /* bookinfo => en/bookinfo.xml preface chapter.* => en/chapter/????.xml faq.* features.* functions.* language.* pear.* appendices.* */ $fetchtypes = array( "bookinfo" => "S", "preface" => "S", "chapters" => "M", "faq" => "M", "features" => "M", "functions" => "M", "language" => "M", "pear" => "M", "appendices" => "M" ); echo "STAGE 2 parser : GOT ". count($manual_parser->htmltree) . "elements\n"; for($i=0;$ihtmltree);$i++) { // if ($i>10) break; if (!$manual_parser->htmltree[$i]->children) continue; for ($j=0;$jhtmltree[$i]->children);$j++) { if (!is_array($manual_parser->htmltree[$i]->children[$j])) continue; if ($manual_parser->htmltree[$i]->children[$j][0] !="ENTITY") continue; $ent = $manual_parser->htmltree[$i]->children[$j][1]; if (strpos($ent,".")) { $entinfo = explode(".", $ent ); if (!$fetchtypes[$entinfo[0]]) continue; $thisdir = $outdir."/{$this->lang}/".$entinfo[0]; $sections[$ent] = $thisdir."/".$entinfo[1].".xml"; if (!file_exists($thisdir)) mkdir($thisdir,0755); $entname = str_replace("-","_", $entinfo[1]); $this->get_file($urlprefix.$this->lang."/".$entinfo[0]."/".$entname .".xml?p=1", $thisdir."/".$entinfo[1].".xml"); } else { if (!$fetchtypes[$ent]) continue; $sections[$ent] = $outdir."/{$this->lang}/".$ent.".xml"; $this->get_file($urlprefix.$this->lang."/".$ent.".xml?p=1", $outdir."/{$this->lang}/".$ent.".xml"); } } } // now I should be able to build the manual ?? :) // sections is based on part's within the manual part. // first load up all the entity definitions.. unset($manual_parser); $this->manual_parser = new parser_XML; // preload all the ents! $preload_ents = array( $outdir . "/global.ent", $outdir . "/faqurls.ent", "$outdir/{$this->lang}/language-defs.ent", "$outdir/{$this->lang}/language-snippets.ent" ); foreach($preload_ents as $file) { echo "PRELOAD $file\n"; $this->manual_parser->data = implode('',file($file)); $this->manual_parser->html_parse(); } $this->manual_parser->data = implode('',file($outdir."/manual.xml")); $this->manual_parser->basedir=$outdir; $this->manual_parser->langdir=$this->lang; // load up entities! foreach($sections as $ent=>$filename) { echo "LOADING $ent from $filename\n"; $this->manual_parser->entities[$ent] = implode('',file($filename)); } // should add the entitiy files now!!! echo "INITIATING SECOND PARSE on "; $this->manual_parser->debug=1; $this->manual_parser->html_parse(); //WOW that actually works!! // now generate some usefull information from it!!! // the manual index tree: // can be geerated by: /* book part (top level) chapter sect1 sect2 */ } function update_display($line) { global $dialogs; if (!trim($line)) return; echo "FETCHING : $line\n"; } function get_file($url,$local) { $this->update_display(basename($local)); if (file_exists($local)) return 1; //echo "$url => $local\n"; $this->snoopy->fetch($url); if (! $this->snoopy->results) return 0; $fh= fopen($local,"w"); fwrite($fh, $this->snoopy->results); fclose($fh); return 1; } } phpmole/tools/RCS/0002700000175000017500000000000007641002066014152 5ustar alanalan00000000000000phpmole/tools/RCS/RCS/0002700000175000017500000000000007377100650014605 5ustar alanalan00000000000000phpmole/tools/RCS/.mappedfiles/0002700000175000017500000000000007641002066016521 5ustar alanalan00000000000000phpmole/tools/RCS/.mappedfiles/PHPMAN~1.CLA0000777000175000017500000000000007641002066025750 2phpmanual_help_fetch.class,vustar alanalan00000000000000phpmole/tools/RCS/.mappedfiles/BUILD_~1.PHP0000777000175000017500000000000007641002066023763 2build_manual.php,vustar alanalan00000000000000phpmole/tools/RCS/.mappedfiles/PHPMAN~2.CLA0000777000175000017500000000000007641002066027345 2phpmanual_devhelp_generator.class,vustar alanalan00000000000000phpmole/tools/RCS/.mappedfiles/PHPGTK~1.CLA0000777000175000017500000000000007641002066026226 2phpgtkmanual_help_fetch.classustar alanalan00000000000000phpmole/tools/RCS/.mappedfiles/CREATE~1.PHP0000777000175000017500000000000007641002066023216 2createdef.php,vustar alanalan00000000000000phpmole/tools/RCS/.mappedfiles/BUILDG~1.PHP0000777000175000017500000000000007641002066024441 2buildgtk_manual.php,vustar alanalan00000000000000phpmole/tools/RCS/.mappedfiles/DOMXML~1.PHP0000777000175000017500000000000007641002066023536 2domxmltext.php,vustar alanalan00000000000000phpmole/tools/RCS/.mappedfiles/PHPGTK~2.CLA0000777000175000017500000000000007641002066026471 2phpgtkmanual_help_fetch.class,vustar alanalan00000000000000phpmole/tools/RCS/.mappedfiles/DEVHEL~1.PHP0000777000175000017500000000000007641002066024253 2devhelp_to_dbm.php,vustar alanalan00000000000000phpmole/tools/RCS/phpmanual_help_fetch.class,v0000755000175000017500000003403507433427135021640 0ustar alanalan00000000000000head 1.52; access; symbols; locks; strict; comment @# @; 1.52 date 2002.02.16.10.03.09; author alan; state Exp; branches; next 1.51; 1.51 date 2001.11.22.04.25.02; author alan; state Exp; branches; next 1.50; 1.50 date 2001.11.22.04.22.14; author alan; state Exp; branches; next 1.49; 1.49 date 2001.11.22.03.56.37; author alan; state Exp; branches; next 1.48; 1.48 date 2001.11.22.03.55.04; author alan; state Exp; branches; next 1.47; 1.47 date 2001.11.22.03.51.08; author alan; state Exp; branches; next 1.46; 1.46 date 2001.11.22.03.33.08; author alan; state Exp; branches; next 1.45; 1.45 date 2001.11.22.03.32.46; author alan; state Exp; branches; next 1.44; 1.44 date 2001.11.22.03.13.20; author alan; state Exp; branches; next 1.43; 1.43 date 2001.11.22.02.13.36; author alan; state Exp; branches; next 1.42; 1.42 date 2001.11.22.02.05.56; author alan; state Exp; branches; next 1.41; 1.41 date 2001.11.22.01.55.11; author alan; state Exp; branches; next 1.40; 1.40 date 2001.11.20.03.30.08; author alan; state Exp; branches; next 1.39; 1.39 date 2001.11.20.03.26.18; author alan; state Exp; branches; next 1.38; 1.38 date 2001.11.20.03.26.02; author alan; state Exp; branches; next 1.37; 1.37 date 2001.11.20.03.25.43; author alan; state Exp; branches; next 1.36; 1.36 date 2001.11.20.03.25.41; author alan; state Exp; branches; next 1.35; 1.35 date 2001.11.20.03.25.13; author alan; state Exp; branches; next 1.34; 1.34 date 2001.11.20.03.14.45; author alan; state Exp; branches; next 1.33; 1.33 date 2001.11.20.02.59.20; author alan; state Exp; branches; next 1.32; 1.32 date 2001.11.20.02.53.29; author alan; state Exp; branches; next 1.31; 1.31 date 2001.11.20.02.34.56; author alan; state Exp; branches; next 1.30; 1.30 date 2001.11.20.02.30.43; author alan; state Exp; branches; next 1.29; 1.29 date 2001.11.20.02.25.14; author alan; state Exp; branches; next 1.28; 1.28 date 2001.11.20.02.24.17; author alan; state Exp; branches; next 1.27; 1.27 date 2001.11.20.01.26.38; author alan; state Exp; branches; next 1.26; 1.26 date 2001.11.20.01.25.03; author alan; state Exp; branches; next 1.25; 1.25 date 2001.11.20.01.21.07; author alan; state Exp; branches; next 1.24; 1.24 date 2001.11.20.01.19.15; author alan; state Exp; branches; next 1.23; 1.23 date 2001.11.19.15.58.23; author alan; state Exp; branches; next 1.22; 1.22 date 2001.11.19.15.44.53; author alan; state Exp; branches; next 1.21; 1.21 date 2001.11.19.15.44.44; author alan; state Exp; branches; next 1.20; 1.20 date 2001.11.19.15.44.10; author alan; state Exp; branches; next 1.19; 1.19 date 2001.11.19.15.31.38; author alan; state Exp; branches; next 1.18; 1.18 date 2001.11.19.15.31.17; author alan; state Exp; branches; next 1.17; 1.17 date 2001.11.19.14.07.05; author alan; state Exp; branches; next 1.16; 1.16 date 2001.11.19.11.10.34; author alan; state Exp; branches; next 1.15; 1.15 date 2001.11.19.10.34.45; author alan; state Exp; branches; next 1.14; 1.14 date 2001.11.19.10.34.23; author alan; state Exp; branches; next 1.13; 1.13 date 2001.11.19.10.31.43; author alan; state Exp; branches; next 1.12; 1.12 date 2001.11.19.10.30.15; author alan; state Exp; branches; next 1.11; 1.11 date 2001.11.19.10.29.50; author alan; state Exp; branches; next 1.10; 1.10 date 2001.11.19.10.29.33; author alan; state Exp; branches; next 1.9; 1.9 date 2001.11.19.10.28.45; author alan; state Exp; branches; next 1.8; 1.8 date 2001.11.19.10.28.23; author alan; state Exp; branches; next 1.7; 1.7 date 2001.11.19.10.28.13; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.19.10.28.03; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.19.10.20.00; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.19.10.19.29; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.19.10.03.41; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.19.10.01.12; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.19.09.48.15; author alan; state Exp; branches; next ; desc @Updated @ 1.52 log @Updated @ text @cache_dir."help/php"; if (!file_exists($this->cache_dir."help")) mkdir($this->cache_dir."help",0755); if (!file_exists($this->cache_dir."help/php")) mkdir($this->cache_dir."help/php",0755); if (!file_exists($this->cache_dir."help/php/{$this->lang}")) mkdir($this->cache_dir."help/php/{$this->lang}",0755); $outdir = $this->cache_dir . "help/php"; $urlprefix = "http://cvs.php.net/co.php/phpdoc/"; $urls = array( "http://cvs.php.net/co.php/phpdoc/manual.xml.in?p=1" => "manual.xml", "http://cvs.php.net/co.php/phpdoc/global.ent?p=1" => "global.ent", "http://cvs.php.net/co.php/phpdoc/faqurls.ent?p=1" => "faqurls.ent", "http://cvs.php.net/co.php/phpdoc/{$this->lang}/language-defs.ent?p=1" => "{$this->lang}/language-defs.ent", "http://cvs.php.net/co.php/phpdoc/{$this->lang}/language-snippets.ent?p=1" => "{$this->lang}/language-snippets.ent" ); $this->snoopy = new Snoopy; foreach ($urls as $url=>$file) { if (!$this->get_file($url,$outdir."/".$file)) return; } // by now it should have downloaded all the files! $manual_parser = new parser_XML; $manual_parser->data = implode('',file($outdir."/manual.xml")); //$manual_parser->debug=1; $manual_parser->html_parse(); // look for entities.. // of type /* bookinfo => en/bookinfo.xml preface chapter.* => en/chapter/????.xml faq.* features.* functions.* language.* pear.* appendices.* */ $fetchtypes = array( "bookinfo" => "S", "preface" => "S", "chapters" => "M", "faq" => "M", "features" => "M", "functions" => "M", "language" => "M", "pear" => "M", "appendices" => "M" ); echo "STAGE 2 parser : GOT ". count($manual_parser->htmltree) . "elements\n"; for($i=0;$ihtmltree);$i++) { // if ($i>10) break; if (!$manual_parser->htmltree[$i]->children) continue; for ($j=0;$jhtmltree[$i]->children);$j++) { if (!is_array($manual_parser->htmltree[$i]->children[$j])) continue; if ($manual_parser->htmltree[$i]->children[$j][0] !="ENTITY") continue; $ent = $manual_parser->htmltree[$i]->children[$j][1]; if (strpos($ent,".")) { $entinfo = explode(".", $ent ); if (!$fetchtypes[$entinfo[0]]) continue; $thisdir = $outdir."/{$this->lang}/".$entinfo[0]; $sections[$ent] = $thisdir."/".$entinfo[1].".xml"; if (!file_exists($thisdir)) mkdir($thisdir,0755); $entname = str_replace("-","_", $entinfo[1]); $this->get_file($urlprefix.$this->lang."/".$entinfo[0]."/".$entname .".xml?p=1", $thisdir."/".$entinfo[1].".xml"); } else { if (!$fetchtypes[$ent]) continue; $sections[$ent] = $outdir."/{$this->lang}/".$ent.".xml"; $this->get_file($urlprefix.$this->lang."/".$ent.".xml?p=1", $outdir."/{$this->lang}/".$ent.".xml"); } } } // now I should be able to build the manual ?? :) // sections is based on part's within the manual part. // first load up all the entity definitions.. unset($manual_parser); $this->manual_parser = new parser_XML; // preload all the ents! $preload_ents = array( $outdir . "/global.ent", $outdir . "/faqurls.ent", "$outdir/{$this->lang}/language-defs.ent", "$outdir/{$this->lang}/language-snippets.ent" ); foreach($preload_ents as $file) { echo "PRELOAD $file\n"; $this->manual_parser->data = implode('',file($file)); $this->manual_parser->html_parse(); } $this->manual_parser->data = implode('',file($outdir."/manual.xml")); $this->manual_parser->basedir=$outdir; $this->manual_parser->langdir=$this->lang; // load up entities! foreach($sections as $ent=>$filename) { echo "LOADING $ent from $filename\n"; $this->manual_parser->entities[$ent] = implode('',file($filename)); } // should add the entitiy files now!!! echo "INITIATING SECOND PARSE on "; $this->manual_parser->debug=1; $this->manual_parser->html_parse(); //WOW that actually works!! // now generate some usefull information from it!!! // the manual index tree: // can be geerated by: /* book part (top level) chapter sect1 sect2 */ } function update_display($line) { global $dialogs; if (!trim($line)) return; echo "FETCHING : $line\n"; } function get_file($url,$local) { $this->update_display(basename($local)); if (file_exists($local)) return 1; //echo "$url => $local\n"; $this->snoopy->fetch($url); if (! $this->snoopy->results) return 0; $fh= fopen($local,"w"); fwrite($fh, $this->snoopy->results); fclose($fh); return 1; } } @ 1.51 log @Updated @ text @d1 1 a1 1 10) break; @ 1.49 log @Updated @ text @d76 1 a76 1 // if ($i>15) break; @ 1.48 log @Updated @ text @d76 1 a76 1 if ($i>15) break; @ 1.47 log @Updated @ text @d76 1 a76 1 if ($i>10) break; @ 1.46 log @Updated @ text @d76 1 a76 1 if ($i>15) break; @ 1.45 log @Updated @ text @d76 1 a76 1 if ($i>10) break; @ 1.44 log @Updated @ text @d76 1 a76 1 //if ($i>10) break; @ 1.43 log @Updated @ text @d76 1 a76 1 if ($i>10) break; @ 1.42 log @Updated @ text @d137 1 a137 1 echo serialize($this->manual_parser->entities); @ 1.41 log @Updated @ text @d137 1 a137 1 @ 1.40 log @Updated @ text @d76 1 a76 1 //if ($i>10) break; @ 1.39 log @Updated @ text @d76 1 a76 1 if ($i>10) break; @ 1.38 log @Updated @ text @d124 1 a124 1 $this->manual_parser->parse(); @ 1.37 log @Updated @ text @d116 4 a119 4 $outdir . "global.ent", $outdir . "faqurls.ent", "$outdir{$this->lang}/language-defs.ent", "$outdir{$this->lang}/language-snippets.ent" @ 1.36 log @Updated @ text @d122 1 a122 1 echo "PRELOAD $filen; @ 1.35 log @Updated @ text @d122 1 @ 1.34 log @Updated @ text @a71 1 $sections = array(); d113 17 a129 3 $this->manual_parser->data = implode('',file($outdir."/manual.xml")); $this->manual_parser->basedir=$outdir; $this->manual_parser->langdir=$this->lang; d135 3 @ 1.33 log @Updated @ text @d77 1 a77 1 // if ($i>10) break; @ 1.32 log @Updated @ text @d77 1 a77 1 if ($i>10) break; @ 1.31 log @Updated @ text @d77 1 a77 1 //if ($i>10) break; @ 1.30 log @Updated @ text @d77 1 a77 1 if ($i>10) break; @ 1.29 log @Updated @ text @d77 1 a77 1 if ($i>20) break; @ 1.28 log @Updated @ text @d90 1 a90 1 $entname = str_replace("-","_", $entinfo[1]; @ 1.27 log @Updated @ text @d90 2 a91 1 $this->get_file($urlprefix.$this->lang."/".$entinfo[0]."/".$entinfo[1].".xml?p=1", d156 1 @ 1.26 log @Updated @ text @d77 1 a77 1 if ($i>15) break; @ 1.25 log @Updated @ text @d77 1 a77 1 if ($i>20) break; @ 1.24 log @Updated @ text @d77 1 a77 1 if ($i>10) break; @ 1.23 log @Updated @ text @d77 1 a77 1 //if ($i>10) break; @ 1.22 log @Updated @ text @d77 1 a77 1 if ($i>10) break; @ 1.21 log @Updated @ text @d77 1 a77 1 if ($i>9) break; @ 1.20 log @Updated @ text @d77 1 a77 1 if ($i>8) break; @ 1.19 log @Updated @ text @d77 1 a77 1 if ($i>10) break; @ 1.18 log @Updated @ text @d77 1 a77 1 if ($i>5) break; @ 1.17 log @Updated @ text @d77 1 @ 1.16 log @Updated @ text @d122 1 a122 1 //$manual_parser->debug=1; @ 1.15 log @Updated @ text @d15 1 a15 1 echo "MAKE DIR? ".$this->cache_dir."help/php"; d42 1 a42 1 $manual_parser->debug=1; @ 1.14 log @Updated @ text @d42 1 @ 1.13 log @Updated @ text @d34 1 d72 3 @ 1.12 log @Updated @ text @d97 1 a97 1 while (gtk::events_pending()) gtk::main_iteration(); @ 1.11 log @Updated @ text @d4 1 a4 1 require_once(APPDIR . "transports/XML/phpide_parser_XML.class"); @ 1.10 log @Updated @ text @d4 1 a4 1 require_once(APPDIR . "transports/XML/parser_XML.class"); @ 1.9 log @Updated @ text @d3 2 a4 1 require(APPDIR . "experimental/Snoopy-0.94/Snoopy.class.inc"); @ 1.8 log @Updated @ text @d149 1 a149 1 while (gtk::events_pending()) gtk::main_iteration(); @ 1.7 log @Updated @ text @d108 1 a108 1 $this->manual_parser->langdir={$this->lang}; @ 1.6 log @Updated @ text @d88 1 a88 1 $this->get_file($urlprefix.{$this->lang}."/".$ent.".xml?p=1", @ 1.5 log @Updated @ text @d83 1 a83 1 $this->get_file($urlprefix.{$this->lang}."/".$entinfo[0]."/".$entinfo[1].".xml?p=1", @ 1.4 log @Updated @ text @d9 1 a9 1 function module_help_fetch () { @ 1.3 log @Updated @ text @d5 1 a5 1 class module_help_fetch { @ 1.2 log @Updated @ text @d6 3 a8 1 d13 4 a16 4 $lang="en"; echo "MAKE DIR? ".APPDIR."help/php"; if (!file_exists(APPDIR."help")) mkdir(APPDIR."help",0755); if (!file_exists(APPDIR."help/php")) mkdir(APPDIR."help/php",0755); d18 1 a18 1 if (!file_exists(APPDIR."help/php/$lang")) mkdir(APPDIR."help/php/$lang",0755); d22 2 a23 2 $lang="en"; $outdir = APPDIR . "help/php"; d29 2 a30 2 "http://cvs.php.net/co.php/phpdoc/$lang/language-defs.ent?p=1" => "$lang/language-defs.ent", "http://cvs.php.net/co.php/phpdoc/$lang/language-snippets.ent?p=1" => "$lang/language-snippets.ent" d80 1 a80 1 $thisdir = $outdir."/$lang/".$entinfo[0]; d83 1 a83 1 $this->get_file($urlprefix.$lang."/".$entinfo[0]."/".$entinfo[1].".xml?p=1", d87 3 a89 3 $sections[$ent] = $outdir."/$lang/".$ent.".xml"; $this->get_file($urlprefix.$lang."/".$ent.".xml?p=1", $outdir."/$lang/".$ent.".xml"); d108 1 a108 1 $this->manual_parser->langdir=$lang; @ 1.1 log @Updated @ text @d3 1 @ phpmole/tools/RCS/build_manual.php,v0000755000175000017500000001574407433427064017617 0ustar alanalan00000000000000head 1.37; access; symbols; locks; strict; comment @# @; 1.37 date 2002.02.16.10.02.28; author alan; state Exp; branches; next 1.36; 1.36 date 2001.11.22.04.24.39; author alan; state Exp; branches; next 1.35; 1.35 date 2001.11.22.04.24.35; author alan; state Exp; branches; next 1.34; 1.34 date 2001.11.22.04.23.01; author alan; state Exp; branches; next 1.33; 1.33 date 2001.11.22.04.09.40; author alan; state Exp; branches; next 1.32; 1.32 date 2001.11.22.03.18.08; author alan; state Exp; branches; next 1.31; 1.31 date 2001.11.22.03.11.27; author alan; state Exp; branches; next 1.30; 1.30 date 2001.11.22.02.54.36; author alan; state Exp; branches; next 1.29; 1.29 date 2001.11.22.02.54.32; author alan; state Exp; branches; next 1.28; 1.28 date 2001.11.22.02.54.05; author alan; state Exp; branches; next 1.27; 1.27 date 2001.11.22.02.47.34; author alan; state Exp; branches; next 1.26; 1.26 date 2001.11.22.02.47.26; author alan; state Exp; branches; next 1.25; 1.25 date 2001.11.22.02.47.07; author alan; state Exp; branches; next 1.24; 1.24 date 2001.11.22.02.46.35; author alan; state Exp; branches; next 1.23; 1.23 date 2001.11.22.02.29.19; author alan; state Exp; branches; next 1.22; 1.22 date 2001.11.22.02.29.13; author alan; state Exp; branches; next 1.21; 1.21 date 2001.11.22.01.59.21; author alan; state Exp; branches; next 1.20; 1.20 date 2001.11.22.01.57.45; author alan; state Exp; branches; next 1.19; 1.19 date 2001.11.22.01.57.23; author alan; state Exp; branches; next 1.18; 1.18 date 2001.11.22.01.56.57; author alan; state Exp; branches; next 1.17; 1.17 date 2001.11.20.02.34.44; author alan; state Exp; branches; next 1.16; 1.16 date 2001.11.20.01.20.52; author alan; state Exp; branches; next 1.15; 1.15 date 2001.11.20.01.20.50; author alan; state Exp; branches; next 1.14; 1.14 date 2001.11.19.15.54.37; author alan; state Exp; branches; next 1.13; 1.13 date 2001.11.19.15.51.56; author alan; state Exp; branches; next 1.12; 1.12 date 2001.11.19.15.51.03; author alan; state Exp; branches; next 1.11; 1.11 date 2001.11.19.12.41.32; author alan; state Exp; branches; next 1.10; 1.10 date 2001.11.19.12.22.07; author alan; state Exp; branches; next 1.9; 1.9 date 2001.11.19.11.12.10; author alan; state Exp; branches; next 1.8; 1.8 date 2001.11.19.11.09.38; author alan; state Exp; branches; next 1.7; 1.7 date 2001.11.19.11.09.22; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.19.10.54.42; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.19.10.27.32; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.19.10.22.51; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.19.10.22.49; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.19.10.21.39; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.19.10.20.45; author alan; state Exp; branches; next ; desc @Updated @ 1.37 log @Updated @ text @#!/usr/bin/php run(); // now the manual is in elemental form in $fetcher->manual_parser->html_parse $generator = new phpmanual_devhelp_generator(); $generator->htmltree = $fetcher->manual_parser->htmltree; $generator->start(); echo "OUTTREE?"; //echo serialize($generator->outtree); $outputer = new xml_generator (); $outputer->htmltree = $generator->outtree; $outputer->output = ' '; $outputer->start(); $outputer->output .= " "; $function_outputer =new xml_generator (); $function_outputer->htmltree = $generator->functiontree; $function_outputer->start(); $outputer->output .= " " . $function_outputer->output . " "; echo $outputer->output; $fh = fopen(APPDIR . "help/specs/php.devhelp","w"); fwrite($fh, $outputer->output); fclose($fh); exit; ?>@ 1.36 log @Updated @ text @d2 1 a2 1 start() @ 1.34 log @Updated @ text @d20 1 a20 1 @ 1.33 log @Updated @ text @d47 1 d49 2 a50 2 $function_outputer = $generator->functiontree; $function_outputer ->start(); d52 1 @ 1.32 log @Updated @ text @d20 1 a20 18 $generator->fileext = "php"; $generator->out = ' '; echo "STARTING GENERATOR?"; $generator->start(); $generator->out .= " "; d45 8 a52 1 d54 1 @ 1.31 log @Updated @ text @d71 1 a71 1 @ 1.30 log @Updated @ text @d31 1 a31 1 echo "STARTING GENERATOR?". serialize($generator->htmltree); @ 1.29 log @Updated @ text @d41 1 a41 3 $fh = fopen(APPDIR . "help/specs/php.devhelp","w"); fwrite($fh, $generator->out); fclose($fh); @ 1.28 log @Updated @ text @d70 3 a72 1 @ 1.27 log @Updated @ text @d48 14 d63 5 @ 1.26 log @Updated @ text @d45 1 a45 1 $outputer = new XML_generator (); @ 1.25 log @Updated @ text @d10 1 a10 1 include( APPDIR . "languages/XML/XML_generator.class"); @ 1.24 log @Updated @ text @d10 1 a10 1 include( APPDIR . "/languages/XML/XML_generator.class"); @ 1.23 log @Updated @ text @d10 1 d45 1 a45 1 $outputer = new html_generator_base (); @ 1.22 log @Updated @ text @d38 1 a38 1 echo serialize($generator->outtree); @ 1.21 log @Updated @ text @d44 10 @ 1.20 log @Updated @ text @d30 1 a30 1 echo "STARTING GENERATOR?"; @ 1.19 log @Updated @ text @d30 1 a30 1 @ 1.18 log @Updated @ text @d37 1 a37 1 @ 1.17 log @Updated @ text @d38 2 @ 1.16 log @Updated @ text @d33 1 a33 1 $generator->out .= "> @ 1.15 log @Updated @ text @d33 2 a34 1 $generator->out .= ">\n @ 1.14 log @Updated @ text @d33 1 a33 1 $generator->out .= " @ 1.13 log @Updated @ text @d19 1 @ 1.12 log @Updated @ text @d36 4 a39 1 echo $generator->out; @ 1.11 log @Updated @ text @d19 11 d31 5 @ 1.10 log @Updated @ text @d9 1 a14 1 include( dirname(__FILE__) . "/phpmanual_devhelp_generator.class"); @ 1.9 log @Updated @ text @d20 1 a20 1 @ 1.8 log @Updated @ text @d18 1 a18 1 $generator->htmltree = $fetcher->manual_parser->html_parse; @ 1.7 log @Updated @ text @d13 3 a15 1 @ 1.6 log @Updated @ text @d13 1 a13 3 include( dirname(__FILE__) . "/phpmanual_help_fetch.class"); @ 1.5 log @Updated @ text @d3 2 a4 1 d13 3 @ 1.4 log @Updated @ text @d4 1 a4 1 define ( APPDIR , dirname(__FILE__)."/../"); @ 1.3 log @Updated @ text @d16 3 @ 1.2 log @Updated @ text @d15 1 a15 1 $generator-> @ 1.1 log @Updated @ text @d9 1 a9 1 $fetcher = new phpmanual_help_fetch.class; d11 5 a15 1 // now the manual is in elemental form in $fetcher->@ phpmole/tools/RCS/phpmanual_devhelp_generator.class,v0000755000175000017500000011116507433427170023233 0ustar alanalan00000000000000head 1.132; access; symbols; locks; strict; comment @# @; 1.132 date 2002.02.16.10.03.36; author alan; state Exp; branches; next 1.131; 1.131 date 2001.11.22.06.11.55; author alan; state Exp; branches; next 1.130; 1.130 date 2001.11.22.06.11.11; author alan; state Exp; branches; next 1.129; 1.129 date 2001.11.22.05.37.31; author alan; state Exp; branches; next 1.128; 1.128 date 2001.11.22.05.13.01; author alan; state Exp; branches; next 1.127; 1.127 date 2001.11.22.05.12.55; author alan; state Exp; branches; next 1.126; 1.126 date 2001.11.22.05.12.09; author alan; state Exp; branches; next 1.125; 1.125 date 2001.11.22.05.11.09; author alan; state Exp; branches; next 1.124; 1.124 date 2001.11.22.05.10.03; author alan; state Exp; branches; next 1.123; 1.123 date 2001.11.22.05.07.57; author alan; state Exp; branches; next 1.122; 1.122 date 2001.11.22.05.07.56; author alan; state Exp; branches; next 1.121; 1.121 date 2001.11.22.04.23.59; author alan; state Exp; branches; next 1.120; 1.120 date 2001.11.22.04.19.15; author alan; state Exp; branches; next 1.119; 1.119 date 2001.11.22.04.15.40; author alan; state Exp; branches; next 1.118; 1.118 date 2001.11.22.04.07.38; author alan; state Exp; branches; next 1.117; 1.117 date 2001.11.22.04.04.56; author alan; state Exp; branches; next 1.116; 1.116 date 2001.11.22.03.54.52; author alan; state Exp; branches; next 1.115; 1.115 date 2001.11.22.03.54.22; author alan; state Exp; branches; next 1.114; 1.114 date 2001.11.22.03.53.55; author alan; state Exp; branches; next 1.113; 1.113 date 2001.11.22.03.53.16; author alan; state Exp; branches; next 1.112; 1.112 date 2001.11.22.03.52.13; author alan; state Exp; branches; next 1.111; 1.111 date 2001.11.22.03.51.51; author alan; state Exp; branches; next 1.110; 1.110 date 2001.11.22.03.48.19; author alan; state Exp; branches; next 1.109; 1.109 date 2001.11.22.03.47.42; author alan; state Exp; branches; next 1.108; 1.108 date 2001.11.22.03.46.05; author alan; state Exp; branches; next 1.107; 1.107 date 2001.11.22.03.45.45; author alan; state Exp; branches; next 1.106; 1.106 date 2001.11.22.03.32.21; author alan; state Exp; branches; next 1.105; 1.105 date 2001.11.22.03.31.48; author alan; state Exp; branches; next 1.104; 1.104 date 2001.11.22.03.30.20; author alan; state Exp; branches; next 1.103; 1.103 date 2001.11.22.03.27.15; author alan; state Exp; branches; next 1.102; 1.102 date 2001.11.22.03.26.25; author alan; state Exp; branches; next 1.101; 1.101 date 2001.11.22.03.04.38; author alan; state Exp; branches; next 1.100; 1.100 date 2001.11.22.02.54.59; author alan; state Exp; branches; next 1.99; 1.99 date 2001.11.22.02.51.47; author alan; state Exp; branches; next 1.98; 1.98 date 2001.11.22.02.35.51; author alan; state Exp; branches; next 1.97; 1.97 date 2001.11.22.02.35.48; author alan; state Exp; branches; next 1.96; 1.96 date 2001.11.22.02.35.14; author alan; state Exp; branches; next 1.95; 1.95 date 2001.11.22.02.35.11; author alan; state Exp; branches; next 1.94; 1.94 date 2001.11.22.02.35.02; author alan; state Exp; branches; next 1.93; 1.93 date 2001.11.22.02.15.00; author alan; state Exp; branches; next 1.92; 1.92 date 2001.11.22.02.13.15; author alan; state Exp; branches; next 1.91; 1.91 date 2001.11.22.01.56.13; author alan; state Exp; branches; next 1.90; 1.90 date 2001.11.22.01.54.54; author alan; state Exp; branches; next 1.89; 1.89 date 2001.11.22.01.54.32; author alan; state Exp; branches; next 1.88; 1.88 date 2001.11.22.01.53.50; author alan; state Exp; branches; next 1.87; 1.87 date 2001.11.22.01.53.47; author alan; state Exp; branches; next 1.86; 1.86 date 2001.11.22.01.53.42; author alan; state Exp; branches; next 1.85; 1.85 date 2001.11.22.01.53.22; author alan; state Exp; branches; next 1.84; 1.84 date 2001.11.22.01.53.14; author alan; state Exp; branches; next 1.83; 1.83 date 2001.11.22.01.52.11; author alan; state Exp; branches; next 1.82; 1.82 date 2001.11.22.01.50.54; author alan; state Exp; branches; next 1.81; 1.81 date 2001.11.20.03.29.51; author alan; state Exp; branches; next 1.80; 1.80 date 2001.11.20.03.18.58; author alan; state Exp; branches; next 1.79; 1.79 date 2001.11.20.03.17.22; author alan; state Exp; branches; next 1.78; 1.78 date 2001.11.20.03.17.21; author alan; state Exp; branches; next 1.77; 1.77 date 2001.11.20.03.16.12; author alan; state Exp; branches; next 1.76; 1.76 date 2001.11.20.03.15.02; author alan; state Exp; branches; next 1.75; 1.75 date 2001.11.20.02.58.07; author alan; state Exp; branches; next 1.74; 1.74 date 2001.11.20.02.57.38; author alan; state Exp; branches; next 1.73; 1.73 date 2001.11.20.02.56.55; author alan; state Exp; branches; next 1.72; 1.72 date 2001.11.20.02.54.55; author alan; state Exp; branches; next 1.71; 1.71 date 2001.11.20.02.54.05; author alan; state Exp; branches; next 1.70; 1.70 date 2001.11.20.02.51.56; author alan; state Exp; branches; next 1.69; 1.69 date 2001.11.20.02.45.56; author alan; state Exp; branches; next 1.68; 1.68 date 2001.11.20.02.33.58; author alan; state Exp; branches; next 1.67; 1.67 date 2001.11.20.02.33.46; author alan; state Exp; branches; next 1.66; 1.66 date 2001.11.20.02.31.59; author alan; state Exp; branches; next 1.65; 1.65 date 2001.11.19.15.55.06; author alan; state Exp; branches; next 1.64; 1.64 date 2001.11.19.15.48.36; author alan; state Exp; branches; next 1.63; 1.63 date 2001.11.19.15.47.53; author alan; state Exp; branches; next 1.62; 1.62 date 2001.11.19.15.47.25; author alan; state Exp; branches; next 1.61; 1.61 date 2001.11.19.15.46.59; author alan; state Exp; branches; next 1.60; 1.60 date 2001.11.19.15.46.00; author alan; state Exp; branches; next 1.59; 1.59 date 2001.11.19.15.45.42; author alan; state Exp; branches; next 1.58; 1.58 date 2001.11.19.15.44.27; author alan; state Exp; branches; next 1.57; 1.57 date 2001.11.19.15.43.53; author alan; state Exp; branches; next 1.56; 1.56 date 2001.11.19.15.43.37; author alan; state Exp; branches; next 1.55; 1.55 date 2001.11.19.15.42.31; author alan; state Exp; branches; next 1.54; 1.54 date 2001.11.19.15.40.59; author alan; state Exp; branches; next 1.53; 1.53 date 2001.11.19.15.40.21; author alan; state Exp; branches; next 1.52; 1.52 date 2001.11.19.15.39.04; author alan; state Exp; branches; next 1.51; 1.51 date 2001.11.19.15.38.55; author alan; state Exp; branches; next 1.50; 1.50 date 2001.11.19.15.38.23; author alan; state Exp; branches; next 1.49; 1.49 date 2001.11.19.15.30.13; author alan; state Exp; branches; next 1.48; 1.48 date 2001.11.19.15.30.06; author alan; state Exp; branches; next 1.47; 1.47 date 2001.11.19.15.29.54; author alan; state Exp; branches; next 1.46; 1.46 date 2001.11.19.15.26.59; author alan; state Exp; branches; next 1.45; 1.45 date 2001.11.19.15.21.13; author alan; state Exp; branches; next 1.44; 1.44 date 2001.11.19.15.19.53; author alan; state Exp; branches; next 1.43; 1.43 date 2001.11.19.15.18.47; author alan; state Exp; branches; next 1.42; 1.42 date 2001.11.19.15.14.19; author alan; state Exp; branches; next 1.41; 1.41 date 2001.11.19.15.00.20; author alan; state Exp; branches; next 1.40; 1.40 date 2001.11.19.14.53.52; author alan; state Exp; branches; next 1.39; 1.39 date 2001.11.19.14.53.44; author alan; state Exp; branches; next 1.38; 1.38 date 2001.11.19.14.52.12; author alan; state Exp; branches; next 1.37; 1.37 date 2001.11.19.14.49.39; author alan; state Exp; branches; next 1.36; 1.36 date 2001.11.19.14.43.03; author alan; state Exp; branches; next 1.35; 1.35 date 2001.11.19.13.32.48; author alan; state Exp; branches; next 1.34; 1.34 date 2001.11.19.13.31.36; author alan; state Exp; branches; next 1.33; 1.33 date 2001.11.19.13.31.22; author alan; state Exp; branches; next 1.32; 1.32 date 2001.11.19.13.26.58; author alan; state Exp; branches; next 1.31; 1.31 date 2001.11.19.13.26.35; author alan; state Exp; branches; next 1.30; 1.30 date 2001.11.19.13.26.03; author alan; state Exp; branches; next 1.29; 1.29 date 2001.11.19.13.20.10; author alan; state Exp; branches; next 1.28; 1.28 date 2001.11.19.13.19.25; author alan; state Exp; branches; next 1.27; 1.27 date 2001.11.19.13.15.01; author alan; state Exp; branches; next 1.26; 1.26 date 2001.11.19.13.14.29; author alan; state Exp; branches; next 1.25; 1.25 date 2001.11.19.13.13.48; author alan; state Exp; branches; next 1.24; 1.24 date 2001.11.19.13.12.53; author alan; state Exp; branches; next 1.23; 1.23 date 2001.11.19.13.03.41; author alan; state Exp; branches; next 1.22; 1.22 date 2001.11.19.12.59.21; author alan; state Exp; branches; next 1.21; 1.21 date 2001.11.19.12.51.28; author alan; state Exp; branches; next 1.20; 1.20 date 2001.11.19.12.49.35; author alan; state Exp; branches; next 1.19; 1.19 date 2001.11.19.12.41.19; author alan; state Exp; branches; next 1.18; 1.18 date 2001.11.19.12.38.49; author alan; state Exp; branches; next 1.17; 1.17 date 2001.11.19.12.36.49; author alan; state Exp; branches; next 1.16; 1.16 date 2001.11.19.12.36.04; author alan; state Exp; branches; next 1.15; 1.15 date 2001.11.19.12.21.42; author alan; state Exp; branches; next 1.14; 1.14 date 2001.11.19.12.20.45; author alan; state Exp; branches; next 1.13; 1.13 date 2001.11.19.12.19.39; author alan; state Exp; branches; next 1.12; 1.12 date 2001.11.19.12.17.47; author alan; state Exp; branches; next 1.11; 1.11 date 2001.11.19.12.14.52; author alan; state Exp; branches; next 1.10; 1.10 date 2001.11.19.12.06.43; author alan; state Exp; branches; next 1.9; 1.9 date 2001.11.19.12.00.55; author alan; state Exp; branches; next 1.8; 1.8 date 2001.11.19.11.58.59; author alan; state Exp; branches; next 1.7; 1.7 date 2001.11.19.11.26.58; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.19.11.20.17; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.19.11.15.43; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.19.10.26.47; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.19.10.23.48; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.19.10.22.28; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.19.10.19.05; author alan; state Exp; branches; next ; desc @Updated @ 1.132 log @Updated @ text @ Preface => &GettingStarted; ==> ==> Apache-specific Functions Apache => apache_lookup_uri => Using PHP from the command line ==> Configuration ==> The configuration file ==> // from php-gtk! GtkAccelLabel int get_accel_width XXXXX Misc Gtk Functions */ require_once(APPDIR."languages/HTML/html_generator_base.class"); class phpmanual_devhelp_generator extends html_generator_base { var $inbody=0; var $htmltree; // where the tree of data goes! var $outtree=array(); var $curelementid=0; // current elementid; var $maxelementid=0; // total elements; var $functiontree = array(); var $extension = ".php"; function devhelp_check_roots() { if (!@@$this->outtree[0]) { $this->outtree[0] = &new parser_XML_element; } } // disable everything! function override_all($i) { $this->done($i); $this->out_children($this->htmltree[$i]->children); } function override_refentry($i) { $this->start_block($i,"ref_entry","(refname|refentrytitle)"); } function override_classentry($i) { $this->start_block($i,"class_entry","classtitle"); } function override_method($i) { $this->start_block($i,"method","function"); } function override_constructor($i) { $this->start_block($i,"contructor","function"); } function override_classset($i) { $this->start_block($i,"classset","classsettitle"); } function override_part($i) { $this->start_block($i,"part","title"); } function override_chapter($i) { $this->start_block($i,"chapter","title"); } function override_preface($i) { $this->start_block($i,"preface","title"); } function override_reference($i) { $this->start_block($i,"reference","title"); } function override_sect1($i) { $this->start_block($i,"sect1","title"); } function override_appendix($i) { $this->start_block($i,"appendix","title"); } function start_block($i,$what,$name_element) { $this->active=""; $active_set=""; echo "STARTING $what \n"; if ($this->htmltree[$i]->done) return; if ($this->htmltree[$i]->attributes["id"] && !is_array($this->htmltree[$i]->attributes["id"])) { //$this->out .= "<{$what}sub>\n"; $link = trim(str_replace("\"", "", $this->htmltree[$i]->attributes["id"])); $link = trim(str_replace("\'", "", $link)); if ($this->active) $active_set="Y"; $nameid = $this->look_forward($i+1, $name_element); if ($nameid && is_string($this->htmltree[$nameid]->children[0][1]) && $this->htmltree[$nameid]->children[0][1] && $link) { $name = $this->htmltree[$nameid]->children[0][1]; if (! ($name{0} == "\"" || $name{0} == "'")) $name = "\"$name\""; } if ($name && $link) { $this->devhelp_check_roots(); $this->maxelementid++; $this->outtree[$this->maxelementid] = &new parser_XML_element; $useid = $this->maxelementid; $this->outtree[$this->maxelementid]->parent = $this->curelementid; $this->outtree[$this->curelementid]->children[]=$this->maxelementid; //echo "\n{$this->maxelementid} : $tag"; $this->outtree[$this->maxelementid]->title = "sub"; $this->outtree[$this->maxelementid]->attributes["link"] = "\"". $link . $this->extension ."\""; $this->outtree[$this->maxelementid]->attributes["name"] = $name; $this->curelementid =$this->maxelementid; if ($this->htmltree[$i]->title == "refentry") { $functionobj = $this->outtree[$this->maxelementid]; $functionobj->title="function"; $this->functiontree[] = $functionobj; } } } $this->done($i); $this->out_children($this->htmltree[$i]->children); if ($link && $name) { $this->curelementid = $this->outtree[$useid]->parent; } } function look_forward($start, $title) { $total = count($this->htmltree); for ($i=$start;$i<$total;$i++) { echo "lookforward: {$this->htmltree[$i]->title} == $title\n"; if (ereg("^".$title."$", $this->htmltree[$i]->title)) return $i; } } } ?>@ 1.131 log @Updated @ text @d1 1 a1 1 start_block($i,"ref_entry","refname|refentrytitle"); d177 1 a177 1 if ($this->htmltree[$i]->title == $title) @ 1.129 log @Updated @ text @d54 3 a56 1 d85 1 a85 1 $this->start_block($i,"ref_entry","refname"); @ 1.128 log @Updated @ text @d50 5 d94 3 a96 1 @ 1.127 log @Updated @ text @d86 1 a86 1 unction override_constructor($i) { @ 1.126 log @Updated @ text @d64 1 a64 1 var $extension = ".php" d86 1 a86 1 function override_constructor($i) { @ 1.125 log @Updated @ text @d86 3 @ 1.124 log @Updated @ text @d45 4 d82 3 @ 1.123 log @Updated @ text @d40 6 d76 5 @ 1.122 log @Updated @ text @d121 1 a121 1 $this->outtree[$this->maxelementid]->attributes["link"] = "\"". $link . $this->extension."\""; @ 1.121 log @Updated @ text @d54 1 d121 1 a121 1 $this->outtree[$this->maxelementid]->attributes["link"] = "\"". $link . ".php\""; @ 1.120 log @Updated @ text @d50 1 a50 1 var $outtree; @ 1.119 log @Updated @ text @d123 1 a123 1 if ($this->htmltree->title == "refentry") { @ 1.118 log @Updated @ text @d53 1 a53 1 var $function_objects = array(); @ 1.117 log @Updated @ text @d124 3 a126 1 $this->function_objects = $this->outtree[$this->maxelementid]; @ 1.116 log @Updated @ text @d53 2 d123 6 d130 1 @ 1.115 log @Updated @ text @d118 1 a118 1 $this->outtree[$this->maxelementid]->attributes["link"] = "\"". $this->active . ".php\""; @ 1.114 log @Updated @ text @d103 1 a103 1 $name = $this->htmltree[$i]->children[0][1]; @ 1.113 log @Updated @ text @a90 1 $name = ""; d102 1 a102 1 $this->htmltree[$nameid]->children[0][1]) { @ 1.112 log @Updated @ text @d91 1 d103 1 a103 1 $this->htmltree[$nameid]->children[0][1] && $line) { @ 1.111 log @Updated @ text @d137 1 a137 1 @ 1.110 log @Updated @ text @d133 2 a134 1 for ($i=$start;$i<$total;$i++) @ 1.109 log @Updated @ text @d119 1 a119 1 $this->outtree[$this->maxelementid]->attributes["name"] = $name @ 1.108 log @Updated @ text @d65 1 a65 1 $this->start_block($i,"ref_entry"); d68 1 a68 1 $this->start_block($i,"part"); d71 1 a71 1 $this->start_block($i,"chapter"); d74 1 a74 1 $this->start_block($i,"preface"); d77 1 a77 1 $this->start_block($i,"reference"); d80 1 a80 1 $this->start_block($i,"sect1"); d83 1 a83 1 $this->start_block($i,"appendix"); d86 2 a87 6 function override_title($i) { $this->end_block($i); } function override_refname($i) { $this->end_block($i); } @ 1.107 log @Updated @ text @d104 3 a106 2 if (is_string($this->htmltree[$nameid]->children[0][1]) && $this->htmltree[$nameid]->children[0][1] && $line) { @ 1.106 log @Updated @ text @d92 1 a92 1 function start_block($i,$what) { d100 2 a101 2 $this->active = trim(str_replace("\"", "", $this->htmltree[$i]->attributes["id"])); $this->active = trim(str_replace("\'", "", $this->active)); d103 9 a111 4 $this->devhelp_check_roots(); if ($this->curelement == 0 || $this->outtree[$this->curelement]->attributes["name"]) { d114 10 a124 8 $useid = $this->maxelementid; $this->outtree[$this->maxelementid]->parent = $this->curelementid; $this->outtree[$this->curelementid]->children[]=$this->maxelementid; //echo "\n{$this->maxelementid} : $tag"; $this->outtree[$this->maxelementid]->title = "sub"; $this->outtree[$this->maxelementid]->attributes["link"] = "\"". $this->active . ".php\""; $this->curelementid =$this->maxelementid; d128 1 a128 3 if (!$this->active && $active_set) { //$this->out .= "\n\n"; // only add this as a child if it was successfull! a129 1 a130 1 if ($this->active) $this->active=""; d134 5 a138 7 function end_block($i) { //echo "EB: {$this->htmltree[$i]->children[0][1]}\n"; if ($this->htmltree[$i]->done) return; if ($this->active) { if (!is_string($this->htmltree[$i]->children[0][1])) { //echo serialize($this->htmltree[$i]->children); } elseif ($this->htmltree[$i]->children[0][1] && $this->active) { d140 1 a140 14 // if ($this->lastopen == "esub") $this->out .= ">\n"; // if ($this->lastopen == "sub") $this->out .= ">\n"; //$this->out .= "htmltree[$i]->children[0][1]) . "\"" . // " link=\"{$this->active}.{$this->fileext}\">\n"; $this->lastopen = "sub"; $this->active = ""; $name = $this->htmltree[$i]->children[0][1]; if (! ($name{0} == "\"" || $name{0} == "'")) $name = "\"$name\""; $this->outtree[$this->curelementid]->attributes["name"] = $name; } else { //echo serialize($this->htmltree[$i]->children); } } a141 1 $this->done($i); @ 1.105 log @Updated @ text @d106 1 a106 1 if ($this->outtree[$this->curelement]->attributes["name"]) { d109 1 a109 1 } @ 1.104 log @Updated @ text @d106 4 a109 1 $this->maxelementid++; a110 1 $this->outtree[$this->maxelementid] = &new parser_XML_element; @ 1.103 log @Updated @ text @d110 2 a121 1 $this->outtree[$this->curelementid]->children[]=$this->maxelementid; @ 1.102 log @Updated @ text @d122 1 a122 1 @ 1.101 log @Updated @ text @d104 2 a108 1 $this->outtree[$this->curelementid]->children[]=$this->maxelementid; d119 2 d122 1 @ 1.100 log @Updated @ text @d138 4 a141 2 $this->outtree[$this->curelementid]->attributes["name"] = $this->htmltree[$i]->children[0][1]; @ 1.99 log @Updated @ text @d117 1 a117 1 $this->out .= "\n\n"; d134 2 a135 2 $this->out .= "htmltree[$i]->children[0][1]) . "\"" . " link=\"{$this->active}.{$this->fileext}\">\n"; @ 1.98 log @Updated @ text @d129 1 a129 1 echo serialize($this->htmltree[$i]->children); d141 1 a141 1 echo serialize($this->htmltree[$i]->children); @ 1.97 log @Updated @ text @d111 1 a111 1 $this->outtree[$this->maxelementid]->attributes["link"] = "\"". $this->active . ".php.\""; @ 1.96 log @Updated @ text @d111 1 a111 1 $this->outtree[$this->maxelementid]->attributes["link"] = "\"". $this->active . ".php."\""; @ 1.95 log @Updated @ text @d138 1 a138 2 $name = str_replace("\"","", $this->htmltree[$i]->children[0][1]); $name = str_replace("\'","", $name); @ 1.94 log @Updated @ text @d140 1 a140 1 $this->outtree[$this->curelementid]->attributes["name"] = $name; @ 1.93 log @Updated @ text @d111 1 a111 1 $this->outtree[$this->maxelementid]->attributes["link"] = $this->active . ".php"; @ 1.92 log @Updated @ text @d106 1 a106 1 $this->outtree[$this->maxelementid] = &new parser_HTML_element; @ 1.91 log @Updated @ text @d103 1 a103 1 $tihs->devhelp_check_roots(); @ 1.90 log @Updated @ text @d111 1 a111 1 $this->outtree[$this->maxelementid]->attributes["link"] = $this->active . ".php" @ 1.89 log @Updated @ text @d103 1 @ 1.88 log @Updated @ text @d53 6 a58 1 @ 1.87 log @Updated @ text @d96 1 a96 1 $this->active = str_replace("\'", "", $this->active); @ 1.86 log @Updated @ text @d96 1 a96 1 $this->active = trim(str_replace("\'", "", $this->active)); @ 1.85 log @Updated @ text @d96 1 a96 1 $this->active = trim(str_replace("\'", "", $this->htmltree[$i]->attributes["id"])); @ 1.84 log @Updated @ text @d134 1 a134 1 $this->outtree[$this->curelementid]->attributes["name"] = $this->active . ".php" @ 1.83 log @Updated @ text @d132 3 @ 1.82 log @Updated @ text @d105 1 @ 1.81 log @Updated @ text @d50 4 d93 1 a93 1 !is_array($this->htmltree[$i]->attributes["id"])) { d95 12 a106 3 $this->active = trim(str_replace("\"", "", $this->htmltree[$i]->attributes["id"])); if ($this->active) $active_set="Y"; } a109 10 /*if ($this->lastopen == "esub") { $this->out .= ">\nlastopen = "esub"; } elseif ($this->lastopen == "sub") { $this->out .= "/>\n"; $this->lastopen = ""; } else { $this->out .= "\n"; $this->lastopen = ""; } */ d111 2 a112 2 } @ 1.80 log @Updated @ text @d115 1 a115 1 echo "EB: {$this->htmltree[$i]->children[0][1]}\n"; @ 1.79 log @Updated @ text @d115 1 a115 1 echo "EB: {$this->htmltree[$i]->children[0][1]}\n"; d121 1 d128 3 a130 1 } @ 1.78 log @Updated @ text @d115 1 a115 1 echo "EB: {$this->htmltree[$i]->children[0][1]}\n" @ 1.77 log @Updated @ text @d86 1 a86 1 echo "STARTING $what\n"; d115 1 @ 1.76 log @Updated @ text @d118 1 a118 1 echo serialize($this->htmltree[$i]); @ 1.75 log @Updated @ text @d86 1 a86 1 @ 1.74 log @Updated @ text @d120 2 a121 2 if ($this->lastopen == "esub") $this->out .= ">\n"; if ($this->lastopen == "sub") $this->out .= ">\n"; @ 1.73 log @Updated @ text @d123 1 a123 1 " link=\"{$this->active}.{$this->fileext}\""; @ 1.72 log @Updated @ text @d93 1 a93 1 } d95 1 a95 12 $array = $this->htmltree[$i]->children; if (!$array) return; foreach($array as $data) if (is_int($data)) { $func = "override_". $this->htmltree[$data]->title; if (method_exists($this,$func)) { $this->$func($data); break; } } d107 1 a107 1 $this->out .= "\n"; d109 1 a109 1 $this->i = $this->htmltree[$i]->next; d120 2 a121 2 // if ($this->lastopen == "esub") $this->out .= ">\n"; // if ($this->lastopen == "sub") $this->out .= ">\n"; d123 2 a124 2 " link=\"{$this->active}.{$this->fileext}\">"; //$this->lastopen = "sub"; @ 1.71 log @Updated @ text @d97 2 a98 2 foreach($array as $data) { if (is_int($data)) d104 2 a105 1 } @ 1.70 log @Updated @ text @d101 1 a101 1 $this->$func($data) @ 1.69 log @Updated @ text @d95 11 a105 1 $this->out_children($this->htmltree[$i]->children); d119 1 a119 1 @ 1.68 log @Updated @ text @d93 1 a93 1 } @ 1.67 log @Updated @ text @d120 2 a121 2 if ($this->lastopen == "esub") $this->out .= ">\n"; if ($this->lastopen == "sub") $this->out .= ">\n"; d123 2 a124 2 " link=\"{$this->active}.{$this->fileext}\""; $this->lastopen = "sub"; @ 1.66 log @Updated @ text @d97 1 a97 1 if ($this->lastopen == "esub") { d106 2 a107 1 } @ 1.65 log @Updated @ text @d104 2 a105 2 $this->out .= "\nlastopen = "esub"; @ 1.64 log @Updated @ text @d122 1 a122 1 " link=\"" . $this->active . ".html\""; @ 1.63 log @Updated @ text @d103 3 @ 1.62 log @Updated @ text @d100 1 a100 1 } else { @ 1.61 log @Updated @ text @d101 1 a101 1 $this->out .= ">\n"; @ 1.60 log @Updated @ text @d101 1 @ 1.59 log @Updated @ text @d97 1 a97 1 if ($this->lastopen = "esub") { d100 3 a102 1 } @ 1.58 log @Updated @ text @d100 1 a100 3 } else { $this->lastopen = ""; } @ 1.57 log @Updated @ text @d100 1 a100 1 } else @ 1.56 log @Updated @ text @d102 1 a102 1 } */ @ 1.55 log @Updated @ text @d100 1 a100 2 }/* elseif ($this->lastopen == "sub") { $this->out .= "/>\n"; @ 1.54 log @Updated @ text @d100 1 a100 1 } else if ($this->lastopen == "sub") { d103 1 a103 1 } @ 1.53 log @Updated @ text @d117 1 a117 1 if ($this->lastopen == "sub") $this->out .= "/>\n"; @ 1.52 log @Updated @ text @d100 1 a100 1 } else if ($this->lastopen) { d103 1 a103 4 } else { $this->out .= "\nlastopen = "esub"; } @ 1.51 log @Updated @ text @d106 1 a106 1 @ 1.50 log @Updated @ text @d123 1 a123 1 $this->lastopen = "sub" @ 1.49 log @Updated @ text @d97 6 a102 3 if ($this->lastclose = "/") { $this->out .= ">\n\n"; $this->lastclose = ""; d104 3 a106 3 $this->out .= "/>\n"; $this->lastclose = "/"; } d119 2 d123 1 @ 1.48 log @Updated @ text @d117 1 a117 1 " link=\"" . $this->active . ".html\">\n"; @ 1.47 log @Updated @ text @d97 1 a97 1 if ($this->lastclose = "") { d99 1 a99 1 $this->lastclose = "/"; d102 1 a102 1 $this->lastclose = ""; @ 1.46 log @Updated @ text @d97 1 a97 1 if ($this->lastclose = "/") { @ 1.45 log @Updated @ text @d96 9 a104 2 if (!$this->active && $active_set) $this->out .= "\n"; @ 1.44 log @Updated @ text @d90 1 a90 1 $this->out .= "<{$what}sub>\n"; d97 1 a97 1 $this->out .= "\n"; @ 1.43 log @Updated @ text @d114 1 a114 1 $this->active = ""; @ 1.42 log @Updated @ text @d111 1 @ 1.41 log @Updated @ text @d90 1 a90 1 //$this->out .= "<{$what}sub}>\n"; d97 1 a97 1 $this->out .= "\n"; @ 1.40 log @Updated @ text @d90 1 a90 1 $this->out .= "<{$what}sub}>\n"; d96 2 a97 2 if ($active_set) $this->out .= "\n"; @ 1.39 log @Updated @ text @d86 1 a86 1 $this->out .= "<{$what}sub}>\n"; @ 1.38 log @Updated @ text @d90 1 @ 1.37 log @Updated @ text @d86 1 a86 1 $this->out .= "<{what}sub}>\n"; @ 1.36 log @Updated @ text @d86 1 d96 1 a96 1 $this->out .= "\n"; @ 1.35 log @Updated @ text @d85 1 d90 1 d94 1 a94 2 if (trim(str_replace("\"", "", $this->htmltree[$i]->attributes["id"])) && !is_array($this->htmltree[$i]->attributes["id"])) @ 1.34 log @Updated @ text @d85 1 d101 1 @ 1.33 log @Updated @ text @d53 2 a54 5 $this->out_children($this->htmltree[$i]->children); } @ 1.32 log @Updated @ text @d52 1 a52 1 $this->htmltree[$i]->done=1; @ 1.31 log @Updated @ text @d95 3 a97 2 !is_array($this->htmltree[$i]->attributes["id"])) $this->out .= "\n"; @ 1.30 log @Updated @ text @d87 1 a87 1 if (@@$this->active) unset($this->active); d110 1 a110 1 unset($this->active); @ 1.29 log @Updated @ text @d89 3 a91 2 !is_array($this->htmltree[$i]->attributes["id"])) $this->active = array( $what ,$this->htmltree[$i]->attributes["id"]); d94 1 a94 1 if ($this->htmltree[$i]->attributes["id"] && d96 2 a97 2 $this->out .= "\n"; if (@@$this->active) unset($this->active); d102 1 a102 1 if (@@$this->active) { d105 1 a105 1 } elseif ($this->htmltree[$i]->children[0][1] && $this->active[1]) { d107 1 a107 1 " link=\"" . str_replace("\"","",$this->active[1]) . ".html\">\n"; @ 1.28 log @Updated @ text @d104 1 a104 1 } elseif ($this->htmltree[$i]->children[0][1]) { @ 1.27 log @Updated @ text @d88 2 a89 1 if (!is_array($this->htmltree[$i]->attributes["id"])) d93 2 a94 1 if (!is_array($this->htmltree[$i]->attributes["id"])) @ 1.26 log @Updated @ text @d87 1 @ 1.25 log @Updated @ text @d101 1 a101 1 } else { d103 1 a103 1 " link=\"" . $this->active[1] . ".html\">\n"; @ 1.24 log @Updated @ text @d99 1 a99 1 if (!is_string($this->htmltree[$i]->children[0][1])) d101 1 a101 1 d104 1 a104 1 @ 1.23 log @Updated @ text @d64 3 a66 1 @ 1.22 log @Updated @ text @d91 1 a91 1 if (@@$this->active) unset($this->active) @ 1.21 log @Updated @ text @d85 1 a85 1 if (is_string($this->htmltree[$i]->attributes["id"])) d89 1 a89 1 if (is_string($this->htmltree[$i]->attributes["id"])) d91 1 d100 1 a100 1 $this->out .= "htmltree[$i]->children[0][1] . "\"" . d102 1 a102 1 unset($this->active); d104 1 @ 1.20 log @Updated @ text @d75 1 a75 1 $this->start_block($i,"sect1"); d77 1 a80 1 a83 1 a84 3 d89 2 a90 1 $this->out .= "\n"; @ 1.19 log @Updated @ text @d86 5 a90 3 if (!is_string($this->htmltree[$i]->attributes["id"])) echo serialize($this->htmltree[$i]); $this->active = array( $what ,$this->htmltree[$i]->attributes["id"]); d98 1 a98 1 if ($this->active) { @ 1.18 log @Updated @ text @d86 1 a86 1 if (!is_string($this->htmltree[$i]->attributes["id"]) @ 1.17 log @Updated @ text @d86 2 d97 3 @ 1.16 log @Updated @ text @d56 2 d59 1 a59 8 $this->active = array( "refentry" , $this->htmltree[$i]->attributes["id"]); $this->done($i); $this->out_children($this->htmltree[$i]->children); $this->out .= "\n"; } function override_refname($i) { $this->end_block($i); d80 5 @ 1.15 log @Updated @ text @d57 1 a57 1 $this->active_refentry = $this->htmltree[$i]->attributes["id"]; d64 1 a64 3 $this->out .= "htmltree[$i]->children[0][1] . "\" . link=\"" . $this->active_refentry . ".html\">\n"; $this->done($i); d67 3 a69 5 $this->active_part = $this->htmltree[$i]->attributes["id"]; $this->done($i); $this->out_children($this->htmltree[$i]->children); $this->out .= "\n"; } d71 2 a72 5 $this->active_preface = $this->htmltree[$i]->attributes["id"]; $this->done($i); $this->out_children($this->htmltree[$i]->children); $this->out .= "\n"; } d74 1 a74 4 $this->active_reference = $this->htmltree[$i]->attributes["id"]; $this->done($i); $this->out_children($this->htmltree[$i]->children); $this->out .= "\n"; d77 1 a77 4 $this->active_sect1 = $this->htmltree[$i]->attributes["id"]; $this->done($i); $this->out_children($this->htmltree[$i]->children); $this->out .= "\n"; a78 1 d80 7 a86 1 $this->active_appendix = $this->htmltree[$i]->attributes["id"]; d91 8 a98 26 function override_title($i) { if ($this->active_part) { $this->out .= "htmltree[$i]->children[0][1] . "\" . link=\"" . $this->active_part . ".html\">\n"; $this->active_part = ""; } if ($this->active_preface) { $this->out .= "htmltree[$i]->children[0][1] . "\" . link=\"" . $this->active_part . ".html\">\n"; $this->active_preface = ""; } if ($this->active_reference) { $this->out .= "htmltree[$i]->children[0][1] . "\" . link=\"" . $this->active_reference . ".html\">\n"; $this->active_reference = ""; } if ($this->active_sect1) { $this->out .= "htmltree[$i]->children[0][1] . "\" . link=\"" . $this->active_sect1 . ".html\">\n"; $this->active_sect1 = ""; } if ($this->active_appendix) { $this->out .= "htmltree[$i]->children[0][1] . "\" . link=\"" . $this->active_appendix . ".html\">\n"; $this->active_appendix = ""; } @ 1.14 log @Updated @ text @d91 8 a98 1 } d119 5 @ 1.13 log @Updated @ text @d86 6 a91 1 d107 5 @ 1.12 log @Updated @ text @d74 12 d93 10 a102 1 @ 1.11 log @Updated @ text @d10 1 a10 1 ==> a57 1 d68 24 @ 1.10 log @Updated @ text @d26 1 a26 2 => d30 1 a30 1 ==> d39 1 a39 2 d57 3 a59 2 echo "REFENTRY: " . $this->htmltree[$i]->attributes["id"] . "\n"; $this->htmltree[$i]->done=1; d61 1 d65 3 a67 2 echo "REFNAME: " . $this->htmltree[$i]->children[0][1] . "\n"; $this->htmltree[$i]->done=1; @ 1.9 log @Updated @ text @d8 3 d12 2 d28 14 @ 1.8 log @Updated @ text @d4 6 d19 1 a19 1 => @ 1.7 log @Updated @ text @d3 19 @ 1.6 log @Updated @ text @d21 1 a21 1 echo "REFNAME: " . $this->htmltree[$i]->children[0][0] . "\n"; @ 1.5 log @Updated @ text @d21 1 a21 1 echo "REFNAME: " . $this->htmltree[$i]->children[0] . "\n"; @ 1.4 log @Updated @ text @d21 1 a21 1 echo "REFNAME: " . $this->htmltree[$i]->attributes["id"] . "\n"; a22 1 $this->out_children($this->htmltree[$i]->children); @ 1.3 log @Updated @ text @d14 2 a15 6 function override_comment($i) { if (!$this->inbody) $this->output .= ""; $this->output .= ""; a16 8 } function override_body($i) { $this->header=$this->output; $this->output=""; $this->inbody=1; $this->out_tag_start($this->htmltree[$i]->title, $this->htmltree[$i]->attribute); a17 3 $this->out_tag_end($this->htmltree[$i]->title); $this->inbody=0; $this->htmltree[$i]->done=1; d19 3 a21 3 function override_br($i) { $this->out_tag_start($this->htmltree[$i]->title, $this->htmltree[$i]->attribute); $this->out_children($this->htmltree[$i]->children); a22 3 } function override_br($i) { $this->out_tag_start($this->htmltree[$i]->title, $this->htmltree[$i]->attribute); a23 1 $this->htmltree[$i]->done=1; d25 1 @ 1.2 log @Updated @ text @d8 8 a15 1 d22 2 a23 1 function override_body($i) { a33 5 function override_html($i) { $this->htmltree[$i]->done=1; $this->out_children($this->htmltree[$i]->children); } @ 1.1 log @Updated @ text @a0 1 #!/usr/bin/php d3 1 a3 1 define ( APPDIR , dirname(__FILE__)."/../"); d5 37 a41 2 // the manual fetcher include( dirname(__FILE__) . "/phpmanual_help_fetch.class"); d43 1 @ phpmole/tools/RCS/phpgtkmanual_help_fetch.class0000755000175000017500000001160107377101156022075 0ustar alanalan00000000000000cache_dir."help/php"; if (!file_exists($this->cache_dir."help")) mkdir($this->cache_dir."help",0755); if (!file_exists($this->cache_dir."help/phpgtk")) mkdir($this->cache_dir."help/phpgtk",0755); if (!file_exists($this->cache_dir."help/phpgtk/{$this->lang}")) mkdir($this->cache_dir."help/phpgtk/{$this->lang}",0755); $outdir = $this->cache_dir . "help/phpgtl"; $urlprefix = "http://cvs.php.net/co.php/php-gtk-doc/"; $urls = array( $urlprefix. "manual.xml.in?p=1" => "manual.xml", $urlprefix. "global.ent?p=1" => "global.ent", $urlprefix. "{$this->lang}/language-defs.ent?p=1" => "{$this->lang}/language-defs.ent", ); $this->snoopy = new Snoopy; foreach ($urls as $url=>$file) { if (!$this->get_file($url,$outdir."/".$file)) return; } // by now it should have downloaded all the files! $manual_parser = new parser_XML; $manual_parser->data = implode('',file($outdir."/manual.xml")); //$manual_parser->debug=1; $manual_parser->html_parse(); // look for entities.. // of type /* bookinfo => en/bookinfo.xml preface chapter.* => en/chapter/????.xml faq.* features.* functions.* language.* pear.* appendices.* */ $fetchtypes = array( "bookinfo" => "S", "preface" => "S", "userguide" => "S", "tutorials" => "S", "reference" => "M", "licence" => "M", "credits" => "M" ); echo "STAGE 2 parser : GOT ". count($manual_parser->htmltree) . "elements\n"; for($i=0;$ihtmltree);$i++) { // if ($i>10) break; if (!$manual_parser->htmltree[$i]->children) continue; for ($j=0;$jhtmltree[$i]->children);$j++) { if (!is_array($manual_parser->htmltree[$i]->children[$j])) continue; if ($manual_parser->htmltree[$i]->children[$j][0] !="ENTITY") continue; $ent = $manual_parser->htmltree[$i]->children[$j][1]; if (strpos($ent,".")) { $entinfo = explode(".", $ent ); if (!$fetchtypes[$entinfo[0]]) continue; $thisdir = $outdir."/{$this->lang}/".$entinfo[0]; $sections[$ent] = $thisdir."/".$entinfo[1].".xml"; if (!file_exists($thisdir)) mkdir($thisdir,0755); $entname = str_replace("-","_", $entinfo[1]); $this->get_file($urlprefix.$this->lang."/".$entinfo[0]."/".$entname .".xml?p=1", $thisdir."/".$entinfo[1].".xml"); } else { if (!$fetchtypes[$ent]) continue; $sections[$ent] = $outdir."/{$this->lang}/".$ent.".xml"; $this->get_file($urlprefix.$this->lang."/".$ent.".xml?p=1", $outdir."/{$this->lang}/".$ent.".xml"); } } } // now I should be able to build the manual ?? :) // sections is based on part's within the manual part. // first load up all the entity definitions.. unset($manual_parser); $this->manual_parser = new parser_XML; // preload all the ents! $preload_ents = array( $outdir . "/global.ent", $outdir . "/faqurls.ent", "$outdir/{$this->lang}/language-defs.ent", "$outdir/{$this->lang}/language-snippets.ent" ); foreach($preload_ents as $file) { echo "PRELOAD $file\n"; $this->manual_parser->data = implode('',file($file)); $this->manual_parser->html_parse(); } $this->manual_parser->data = implode('',file($outdir."/manual.xml")); $this->manual_parser->basedir=$outdir; $this->manual_parser->langdir=$this->lang; // load up entities! foreach($sections as $ent=>$filename) { echo "LOADING $ent from $filename\n"; $this->manual_parser->entities[$ent] = implode('',file($filename)); } // should add the entitiy files now!!! echo "INITIATING SECOND PARSE on "; $this->manual_parser->debug=1; $this->manual_parser->html_parse(); //WOW that actually works!! // now generate some usefull information from it!!! // the manual index tree: // can be geerated by: /* book part (top level) chapter sect1 sect2 */ } function update_display($line) { global $dialogs; if (!trim($line)) return; echo "FETCHING : $line\n"; } function get_file($url,$local) { $this->update_display(basename($local)); if (file_exists($local)) return 1; //echo "$url => $local\n"; $this->snoopy->fetch($url); if (! $this->snoopy->results) return 0; $fh= fopen($local,"w"); fwrite($fh, $this->snoopy->results); fclose($fh); return 1; } } phpmole/tools/RCS/createdef.php,v0000755000175000017500000000117507433427077017102 0ustar alanalan00000000000000head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2002.02.16.10.02.39; author alan; state Exp; branches; next ; desc @Updated @ 1.1 log @Updated @ text @";@ phpmole/tools/RCS/buildgtk_manual.php,v0000755000175000017500000000445407377104716020324 0ustar alanalan00000000000000head 1.5; access; symbols; locks; strict; comment @# @; 1.5 date 2001.11.22.05.14.54; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.22.05.06.33; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.22.04.44.47; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.22.04.44.34; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.22.04.42.58; author alan; state Exp; branches; next ; desc @Updated @ 1.5 log @Updated @ text @#!/usr/bin/php run(); // now the manual is in elemental form in $fetcher->manual_parser->html_parse $generator = new phpmanual_devhelp_generator(); $generator->htmltree = $fetcher->manual_parser->htmltree; $generator->start(); echo "OUTTREE?"; //echo serialize($generator->outtree); $outputer = new xml_generator (); $outputer->htmltree = $generator->outtree; $outputer->output = ' '; $outputer->start(); $outputer->output .= " "; $function_outputer =new xml_generator (); $function_outputer->htmltree = $generator->functiontree; $function_outputer->start(); $outputer->output .= " " . $function_outputer->output . " "; echo $outputer->output; $fh = fopen(APPDIR . "help/specs/php-gtk.devhelp","w"); fwrite($fh, $outputer->output); fclose($fh); exit; ?>@ 1.4 log @Updated @ text @d30 2 a31 2 @ 1.3 log @Updated @ text @d15 1 a15 3 exit; d59 1 a59 1 $fh = fopen(APPDIR . "help/specs/php.devhelp","w"); @ 1.2 log @Updated @ text @d12 1 a12 1 $fetcher = new phpmanual_help_fetch(); d18 1 a18 1 $generator = new phpgtkmanual_devhelp_generator(); @ 1.1 log @Updated @ text @d18 1 a18 1 $generator = new phpmanual_devhelp_generator(); @ phpmole/tools/RCS/domxmltext.php,v0000755000175000017500000000261007433427115017351 0ustar alanalan00000000000000head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2002.02.16.10.02.53; author alan; state Exp; branches; next ; desc @Updated @ 1.1 log @Updated @ text @@ phpmole/tools/RCS/phpgtkmanual_help_fetch.class,v0000755000175000017500000003101607377123450022342 0ustar alanalan00000000000000head 1.28; access; symbols; locks; strict; comment @# @; 1.28 date 2001.11.22.07.20.08; author alan; state Exp; branches; next 1.27; 1.27 date 2001.11.22.05.58.12; author alan; state Exp; branches; next 1.26; 1.26 date 2001.11.22.05.57.29; author alan; state Exp; branches; next 1.25; 1.25 date 2001.11.22.05.56.16; author alan; state Exp; branches; next 1.24; 1.24 date 2001.11.22.05.56.12; author alan; state Exp; branches; next 1.23; 1.23 date 2001.11.22.05.53.27; author alan; state Exp; branches; next 1.22; 1.22 date 2001.11.22.05.53.11; author alan; state Exp; branches; next 1.21; 1.21 date 2001.11.22.05.45.53; author alan; state Exp; branches; next 1.20; 1.20 date 2001.11.22.05.45.51; author alan; state Exp; branches; next 1.19; 1.19 date 2001.11.22.05.45.38; author alan; state Exp; branches; next 1.18; 1.18 date 2001.11.22.05.41.49; author alan; state Exp; branches; next 1.17; 1.17 date 2001.11.22.05.41.45; author alan; state Exp; branches; next 1.16; 1.16 date 2001.11.22.05.41.25; author alan; state Exp; branches; next 1.15; 1.15 date 2001.11.22.05.20.15; author alan; state Exp; branches; next 1.14; 1.14 date 2001.11.22.05.04.11; author alan; state Exp; branches; next 1.13; 1.13 date 2001.11.22.05.03.51; author alan; state Exp; branches; next 1.12; 1.12 date 2001.11.22.04.58.03; author alan; state Exp; branches; next 1.11; 1.11 date 2001.11.22.04.57.23; author alan; state Exp; branches; next 1.10; 1.10 date 2001.11.22.04.56.50; author alan; state Exp; branches; next 1.9; 1.9 date 2001.11.22.04.56.45; author alan; state Exp; branches; next 1.8; 1.8 date 2001.11.22.04.56.01; author alan; state Exp; branches; next 1.7; 1.7 date 2001.11.22.04.53.53; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.22.04.53.26; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.22.04.49.51; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.22.04.47.38; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.22.04.47.09; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.22.04.45.14; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.22.04.44.20; author alan; state Exp; branches; next ; desc @Updated @ 1.28 log @Updated @ text @cache_dir."help/php"; if (!file_exists($this->cache_dir."help")) mkdir($this->cache_dir."help",0755); if (!file_exists($this->cache_dir."help/phpgtk")) mkdir($this->cache_dir."help/phpgtk",0755); if (!file_exists($this->cache_dir."help/phpgtk/{$this->lang}")) mkdir($this->cache_dir."help/phpgtk/{$this->lang}",0755); if (!file_exists($this->cache_dir."help/phpgtk/{$this->lang}/userguide")) mkdir($this->cache_dir."help/phpgtk/{$this->lang}/userguide",0755); if (!file_exists($this->cache_dir."help/phpgtk/{$this->lang}/userguide/chapters")) mkdir($this->cache_dir."help/phpgtk/{$this->lang}/userguide/chapters",0755); $outdir = $this->cache_dir . "help/phpgtk"; $urlprefix = "http://cvs.php.net/co.php/php-gtk-doc/"; $urls = array( $urlprefix. "manual.xml.in?p=1" => "manual.xml", $urlprefix. "global.ent?p=1" => "global.ent", $urlprefix. "{$this->lang}/language-defs.ent?p=1" => "{$this->lang}/language-defs.ent", $urlprefix. "{$this->lang}/reference.xml?p=1" => "{$this->lang}/reference.xml", $urlprefix. "{$this->lang}/userguide/chapters/install.xml?p=1" => "{$this->lang}/userguide/chapters/install.xml", $urlprefix. "{$this->lang}/userguide/chapters/intro.xml?p=1" => "{$this->lang}/userguide/chapters/intro.xml", $urlprefix. "{$this->lang}/userguide/chapters/widgets.xml?p=1" => "{$this->lang}/userguide/chapters/widgets.xml", $urlprefix. "{$this->lang}/userguide/chapters/signals.xml?p=1" => "{$this->lang}/userguide/chapters/signals.xml" ); $this->snoopy = new Snoopy; foreach ($urls as $url=>$file) { if (!$this->get_file($url,$outdir."/".$file)) return; } // by now it should have downloaded all the files! $manual_parser = new parser_XML; $manual_parser->data = implode('',file($outdir."/manual.xml")); //$manual_parser->debug=1; $manual_parser->html_parse(); // load the referece file as well! $manual_parser->data = implode('',file($outdir."/{$this->lang}/reference.xml")); //$manual_parser->debug=1; $manual_parser->html_parse(); // look for entities.. // of type /* bookinfo => en/bookinfo.xml preface chapter.* => en/chapter/????.xml faq.* features.* functions.* language.* pear.* appendices.* */ // this is a real hack! $sections = array( "chapters.intro" => "$outdir/{$this->lang}/userguide/chapters/intro.xml", "chapters.widgets" => "$outdir/{$this->lang}/userguide/chapters/widgets.xml", "chapters.signals" => "$outdir/{$this->lang}/userguide/chapters/signals.xml", "chapters.install" => "$outdir/{$this->lang}/userguide/chapters/install.xml" ); $fetchtypes = array( "bookinfo" => "S", "preface" => "S", "userguide" => "M", "tutorials" => "userguide/tuts/", "chapters" => "userguide/chapters/", "gtk" => "reference/", "gdk" => "reference/", "scn" => "reference/", "glade" => "reference/", "sqp" => "reference/", "reference" => "S", "licence" => "userguide/appendix/", "credits" => "S" ); echo "STAGE 2 parser : GOT ". count($manual_parser->htmltree) . "elements\n"; for($i=0;$ihtmltree);$i++) { // if ($i>10) break; if (!$manual_parser->htmltree[$i]->children) continue; for ($j=0;$jhtmltree[$i]->children);$j++) { if (!is_array($manual_parser->htmltree[$i]->children[$j])) continue; if ($manual_parser->htmltree[$i]->children[$j][0] !="ENTITY") continue; $ent = $manual_parser->htmltree[$i]->children[$j][1]; echo "GOT ENT $ent"; if (strpos($ent,".")) { $entinfo = explode(".", $ent ); if (!$fetchtypes[$entinfo[0]]) continue; if (strpos($fetchtypes[$entinfo[0]],"/" ) ) $entinfo[0] = $fetchtypes[$entinfo[0]] . $entinfo[0]; $thisdir = $outdir."/{$this->lang}/".$entinfo[0]; $sections[$ent] = $thisdir."/".$entinfo[1].".xml"; echo "\n$thisdir\n"; if (!file_exists(dirname($thisdir))) mkdir(dirname($thisdir),0755); if (!file_exists($thisdir)) mkdir($thisdir,0755); //$entname = str_replace("-","_", $entinfo[1]); $entname = $entinfo[1]; $this->get_file($urlprefix.$this->lang."/".$entinfo[0]."/".$entname .".xml?p=1", $thisdir."/".$entinfo[1].".xml"); } else { if (!$fetchtypes[$ent]) continue; $sections[$ent] = $outdir."/{$this->lang}/".$ent.".xml"; $this->get_file($urlprefix.$this->lang."/".$ent.".xml?p=1", $outdir."/{$this->lang}/".$ent.".xml"); } } } // now I should be able to build the manual ?? :) // sections is based on part's within the manual part. // first load up all the entity definitions.. unset($manual_parser); $this->manual_parser = new parser_XML; // preload all the ents! $preload_ents = array( $outdir . "/global.ent", "$outdir/{$this->lang}/language-defs.ent", ); foreach($preload_ents as $file) { echo "PRELOAD $file\n"; $this->manual_parser->data = implode('',file($file)); $this->manual_parser->html_parse(); } $this->manual_parser->data = implode('',file($outdir."/manual.xml")); $this->manual_parser->basedir=$outdir; $this->manual_parser->langdir=$this->lang; // load up entities! foreach($sections as $ent=>$filename) { echo "LOADING $ent from $filename\n"; $this->manual_parser->entities[$ent] = implode('',file($filename)); } // should add the entitiy files now!!! echo "INITIATING SECOND PARSE on "; //$this->manual_parser->debug=1; $this->manual_parser->html_parse(); //WOW that actually works!! // now generate some usefull information from it!!! // the manual index tree: // can be geerated by: /* book part (top level) chapter sect1 sect2 */ } function update_display($line) { global $dialogs; if (!trim($line)) return; echo "FETCHING : $line\n"; } function get_file($url,$local) { $this->update_display(basename($local)); if (file_exists($local)) return 1; //echo "$url => $local\n"; $this->snoopy->fetch($url); if (! $this->snoopy->results) return 0; $fh= fopen($local,"w"); fwrite($fh, $this->snoopy->results); fclose($fh); return 1; } } @ 1.27 log @Updated @ text @d88 4 @ 1.26 log @Updated @ text @d20 1 a20 1 if (!file_exists($this->cache_dir."help/phpgtk/{$this->lang}/chapters")) mkdir($this->cache_dir."help/phpgtk/{$this->lang}/chapters",0755); d22 2 a23 1 @ 1.25 log @Updated @ text @d31 4 a34 4 $urlprefix. "{$this->lang}/chapters/install.xml?p=1" => "{$this->lang}/chapters/install.xml", $urlprefix. "{$this->lang}/chapters/intro.xml?p=1" => "{$this->lang}/chapters/intro.xml", $urlprefix. "{$this->lang}/chapters/widgets.xml?p=1" => "{$this->lang}/chapters/widgets.xml", $urlprefix. "{$this->lang}/chapters/signals.xml?p=1" => "{$this->lang}/chapters/signals.xml" d75 4 a78 4 "chapters.intro" => "$outdir/{$this->lang}/chapters/intro.xml", "chapters.widgets" => "$outdir/{$this->lang}/chapters/widgets.xml", "chapters.signals" => "$outdir/{$this->lang}/chapters/signals.xml", "chapters.install" => "$outdir/{$this->lang}/chapters/install.xml" @ 1.24 log @Updated @ text @d78 2 a79 2 "chapters.install" => "$outdir/{$this->lang}/chapters/install.xml", @ 1.23 log @Updated @ text @d74 5 a78 3 //$sections = array( // "global.chapters" => " @ 1.22 log @Updated @ text @d74 2 a75 2 $sections = array( "global.chapters" => " d87 1 a87 1 "credits" => "S", @ 1.21 log @Updated @ text @d72 6 d157 3 d169 1 a169 1 $this->manual_parser->debug=1; @ 1.20 log @Updated @ text @d34 1 a34 1 $urlprefix. "{$this->lang}/chapters/signals.xml?p=1" => "{$this->lang}/chapters/signals.xml", @ 1.19 log @Updated @ text @d34 1 @ 1.18 log @Updated @ text @d20 1 a20 1 d30 5 a34 1 $urlprefix. "{$this->lang}/reference.xml?p=1" => "{$this->lang}/reference.xml" d136 1 a136 2 $outdir . "/global.ent", a137 1 "$outdir/{$this->lang}/language-snippets.ent" @ 1.17 log @Updated @ text @d75 1 a75 1 "licence" => "userguide/licence/", @ 1.16 log @Updated @ text @d75 1 a75 1 "licence" => "S", @ 1.15 log @Updated @ text @d71 2 a72 1 "tutorials" => "M", @ 1.14 log @Updated @ text @d73 1 a73 1 "reference" => "M", @ 1.13 log @Updated @ text @d103 2 a104 1 // $entname = str_replace("-","_", $entinfo[1]); @ 1.12 log @Updated @ text @d103 1 a103 1 $entname = str_replace("-","_", $entinfo[1]); d131 1 a131 1 $outdir . "/faqurls.ent", @ 1.11 log @Updated @ text @d101 1 @ 1.10 log @Updated @ text @d100 1 @ 1.9 log @Updated @ text @d96 1 a96 1 if strpos($fetchtypes[$entinfo[0]],"/" ) @ 1.8 log @Updated @ text @d96 2 a97 2 if strpost @ 1.7 log @Updated @ text @d72 1 a72 1 a73 1 "reference.gtk" => "M", d94 1 a94 2 if (!$fetchtypes[$entinfo[0]]) { if (!$fetchtypes[$entinfo[0] ."." .$entinfo[1]]) { d96 2 a97 5 } else { $entinfo[0] = $entinfo[0]."/".$entinfo[1]; $entinfo[1] = $entinfo[2]; } } @ 1.6 log @Updated @ text @d96 1 a96 1 if (!$fetchtypes[$entinfo[0] ."." $entinfo[1]]) { @ 1.5 log @Updated @ text @d74 1 d95 8 a102 2 if (!$fetchtypes[$entinfo[0]]) continue; @ 1.4 log @Updated @ text @d70 2 a71 2 "userguide" => "S", "tutorials" => "S", d74 4 a77 2 "licence" => "M", "credits" => "M" d89 3 @ 1.3 log @Updated @ text @d30 1 a30 1 $urlprefix. "{$this->lang}/reference.xml?p=1" => "{$this->lang}/language-defs.ent", d46 1 a46 1 $manual_parser->data = implode('',file($outdir."/manual.xml")); @ 1.2 log @Updated @ text @d30 3 a32 1 ); d44 6 @ 1.1 log @Updated @ text @d24 1 a24 1 $outdir = $this->cache_dir . "help/phpgtl"; @ phpmole/tools/RCS/devhelp_to_dbm.php,v0000755000175000017500000003160307446044006020121 0ustar alanalan00000000000000head 1.51; access; symbols; locks; strict; comment @# @; 1.51 date 2002.03.20.08.27.50; author alan; state Exp; branches; next 1.50; 1.50 date 2002.03.20.08.27.48; author alan; state Exp; branches; next 1.49; 1.49 date 2002.03.20.08.23.44; author alan; state Exp; branches; next 1.48; 1.48 date 2002.03.20.07.39.52; author alan; state Exp; branches; next 1.47; 1.47 date 2002.03.20.07.39.45; author alan; state Exp; branches; next 1.46; 1.46 date 2002.03.20.07.39.19; author alan; state Exp; branches; next 1.45; 1.45 date 2002.03.20.07.37.58; author alan; state Exp; branches; next 1.44; 1.44 date 2002.03.20.07.36.21; author alan; state Exp; branches; next 1.43; 1.43 date 2002.03.20.06.06.37; author alan; state Exp; branches; next 1.42; 1.42 date 2002.03.20.05.37.15; author alan; state Exp; branches; next 1.41; 1.41 date 2002.03.20.05.36.22; author alan; state Exp; branches; next 1.40; 1.40 date 2002.03.20.05.32.10; author alan; state Exp; branches; next 1.39; 1.39 date 2002.03.20.05.31.26; author alan; state Exp; branches; next 1.38; 1.38 date 2002.03.20.05.31.23; author alan; state Exp; branches; next 1.37; 1.37 date 2002.03.20.05.30.43; author alan; state Exp; branches; next 1.36; 1.36 date 2002.03.20.05.29.44; author alan; state Exp; branches; next 1.35; 1.35 date 2002.03.20.05.26.03; author alan; state Exp; branches; next 1.34; 1.34 date 2002.03.20.05.20.13; author alan; state Exp; branches; next 1.33; 1.33 date 2002.03.20.05.19.58; author alan; state Exp; branches; next 1.32; 1.32 date 2002.03.20.05.18.40; author alan; state Exp; branches; next 1.31; 1.31 date 2002.03.20.05.18.32; author alan; state Exp; branches; next 1.30; 1.30 date 2002.03.20.05.18.21; author alan; state Exp; branches; next 1.29; 1.29 date 2002.03.20.05.17.05; author alan; state Exp; branches; next 1.28; 1.28 date 2002.03.20.05.16.42; author alan; state Exp; branches; next 1.27; 1.27 date 2002.03.20.05.16.21; author alan; state Exp; branches; next 1.26; 1.26 date 2002.03.20.05.15.48; author alan; state Exp; branches; next 1.25; 1.25 date 2002.03.20.05.15.41; author alan; state Exp; branches; next 1.24; 1.24 date 2002.03.20.05.15.16; author alan; state Exp; branches; next 1.23; 1.23 date 2002.03.20.05.14.48; author alan; state Exp; branches; next 1.22; 1.22 date 2002.03.20.05.12.54; author alan; state Exp; branches; next 1.21; 1.21 date 2002.03.20.05.12.27; author alan; state Exp; branches; next 1.20; 1.20 date 2002.03.20.05.12.01; author alan; state Exp; branches; next 1.19; 1.19 date 2002.03.20.05.10.56; author alan; state Exp; branches; next 1.18; 1.18 date 2002.03.20.05.10.48; author alan; state Exp; branches; next 1.17; 1.17 date 2002.03.20.05.08.03; author alan; state Exp; branches; next 1.16; 1.16 date 2002.03.20.05.06.43; author alan; state Exp; branches; next 1.15; 1.15 date 2002.03.20.05.05.13; author alan; state Exp; branches; next 1.14; 1.14 date 2002.03.20.05.03.26; author alan; state Exp; branches; next 1.13; 1.13 date 2002.03.20.05.00.53; author alan; state Exp; branches; next 1.12; 1.12 date 2002.03.20.05.00.20; author alan; state Exp; branches; next 1.11; 1.11 date 2002.03.20.04.58.04; author alan; state Exp; branches; next 1.10; 1.10 date 2002.03.20.04.57.58; author alan; state Exp; branches; next 1.9; 1.9 date 2002.03.20.04.57.37; author alan; state Exp; branches; next 1.8; 1.8 date 2002.03.20.04.56.48; author alan; state Exp; branches; next 1.7; 1.7 date 2002.03.20.04.56.25; author alan; state Exp; branches; next 1.6; 1.6 date 2002.03.20.04.55.42; author alan; state Exp; branches; next 1.5; 1.5 date 2002.03.20.04.54.31; author alan; state Exp; branches; next 1.4; 1.4 date 2002.03.20.04.54.20; author alan; state Exp; branches; next 1.3; 1.3 date 2002.03.20.04.51.04; author alan; state Exp; branches; next 1.2; 1.2 date 2002.03.20.04.49.23; author alan; state Exp; branches; next 1.1; 1.1 date 2002.03.20.04.46.07; author alan; state Exp; branches; next ; desc @Updated @ 1.51 log @Updated @ text @parser = &new parser_XML(); $this->parser->data = implode("",file($this->file)); $this->parser->skip_empty =1; $this->parser->expat_parse(); //$this->add_to_books(); $this->build_tree(); } function build_tree() { $tree_filename = "{$this->basedir}/{$this->book}_tree.dbm"; $pages_filename = "{$this->basedir}/{$this->book}_pages.dbm"; $funcs_filename = "{$this->basedir}/{$this->book}_funcs.dbm"; unlink($tree_filename); unlink($pages_filename); unlink($funcs_filename); $this->dbtree = dba_open($tree_filename ,"c",$this->dbm_handler); $this->dbpages = dba_open($pages_filename ,"c",$this->dbm_handler); $this->dbfuncs = dba_open($funcs_filename ,"c",$this->dbm_handler); $i = 0; $this->parent=0; $this->add_to_tree($i); dba_close($this->dbtree); dba_close($this->dbpages); } function add_to_tree($i) { $item = &$this->parser->htmltree[$i]; switch ($item->title) { case "SUB": if ($item->children) dba_replace($i, implode(",",$item->children),$this->dbtree); dba_replace($i, $item->attributes["NAME"] . "\t" . $item->attributes["LINK"] , $this->dbpages ); break; case "BOOK": dba_replace($i, implode(",",$item->children),$this->dbtree); if (!$item->attributes["DEFAULT_URL"]) $item->attributes["DEFAULT_URL"] = $item->attributes["BASE"]; dba_replace($i, $item->attributes["TITLE"] . "\t" . $item->attributes["DEFAULT_URL"] , $this->dbpages ); $this->book_id = $i; break; case "FUNCTION": dba_replace($item->attributes["NAME"] , $item->attributes["LINK"] , $this->dbfuncs ); break; case "CHAPTERS": dba_replace($this->book_id, implode(",",$item->children),$this->dbtree); break; } foreach($this->parser->htmltree[$i]->children as $k) $this->add_to_tree($k); } function read_books() { $this->basedir = dirname(__FILE__)."/../help"; $dir = "{$this->basedir}/specs"; $dh = opendir($dir); while (($this->book = readdir($dh)) !== FALSE) { if ($this->book{0} == ".") continue; $this->file = $dir . "/". $this->book; $this->parse_file(); } } } $t = &new devhelp_to_dbm(); $t->read_books(); ?>@ 1.50 log @Updated @ text @d57 1 a57 1 $item->attributes["DEFAULT_URL"] = $item->attributes["BASE"] @ 1.49 log @Updated @ text @d56 2 @ 1.48 log @Updated @ text @d85 1 a85 1 if ($$this->book{0} == ".") continue; @ 1.47 log @Updated @ text @a52 1 $this->parent = $i; @ 1.46 log @Updated @ text @d61 1 a61 1 d70 1 a70 1 dba_replace($this->parent, implode(",",$item->children),$this->dbtree); @ 1.45 log @Updated @ text @d48 2 a49 2 dba_replace($this->parent, implode(",",$item->children),$this->dbtree); dba_replace($this->parent, d56 2 a57 2 dba_replace($this->parent, implode(",",$item->children),$this->dbtree); dba_replace($this->parent, d61 1 a61 1 $this->parent = $i; d70 2 a71 5 dba_replace($item->attributes["NAME"] , $item->attributes["LINK"] , $this->dbfuncs ); break; @ 1.44 log @Updated @ text @d48 1 a48 1 dba_replace($this->parent, implode(",",$item->children),$this->dbtree); d69 4 d74 1 @ 1.43 log @Updated @ text @d73 2 a74 2 foreach($this->parser->htmltree[$i]->children as $i) $this->add_to_tree($i); @ 1.42 log @Updated @ text @d38 1 @ 1.41 log @Updated @ text @d27 7 a33 1 $funcs_filename = "{$this->basedir}/{$this->book}_funcs.dbm"; @ 1.40 log @Updated @ text @d40 2 a41 1 dba_replace($this->parent, implode(",",$item->children),$this->dbtree); d48 1 a48 1 case "BOOK": @ 1.39 log @Updated @ text @d57 1 a57 1 $this->dbpages @ 1.38 log @Updated @ text @a55 1 @ 1.37 log @Updated @ text @d57 1 a57 2 dba_replace($this->parent, $item->attributes["TITLE"] . "\t" . $item->attributes["DEFAULT_URL"] , @ 1.36 log @Updated @ text @d55 11 @ 1.35 log @Updated @ text @d27 1 d30 1 @ 1.34 log @Updated @ text @d70 1 a70 2 @ 1.33 log @Updated @ text @d46 4 a49 3 dba_replace($this->dbtree, $this->parent, implode(",",$item->children)); dba_replace($this->dbtree, $this->parent, $item->attributes["TITLE"] . "\t" . $item->attributes["DEFAULT_URL"] @ 1.32 log @Updated @ text @d38 4 a41 3 dba_replace($this->dbtree, $this->parent, implode(",",$item->children)); dba_replace($this->dbtree, $this->parent, $item->attributes["NAME"] . "\t" . $item->attributes["LINK"] @ 1.31 log @Updated @ text @d20 1 a20 1 $this->add_to_books(); @ 1.30 log @Updated @ text @d15 1 a15 1 function parse_file($f) { @ 1.29 log @Updated @ text @d16 1 a16 1 $this->parser = &new XML_parser(); @ 1.28 log @Updated @ text @d18 1 @ 1.27 log @Updated @ text @d5 1 a5 1 require_once(dirname(__FILE__)."/../languages/XML/XML_parser.class"); @ 1.26 log @Updated @ text @d37 1 a37 1 dba_replace($this->dbtree, $this->parent, implode(",",$item->children); d44 1 a44 1 dba_replace($this->dbtree, $this->parent, implode(",",$item->children); @ 1.25 log @Updated @ text @d72 3 a74 1 $t->read_books();@ 1.24 log @Updated @ text @d70 3 @ 1.23 log @Updated @ text @d5 1 a5 1 @ 1.22 log @Updated @ text @d69 1 a69 1 $parser = new XML_parser($ @ 1.21 log @Updated @ text @d30 2 @ 1.20 log @Updated @ text @d51 1 a51 1 @ 1.19 log @Updated @ text @d35 1 a35 1 dba_replace($this->dbtree, $this->parent, serialize($item->children); d41 2 a42 2 case "BOOK"; dba_replace($this->dbtree, $this->parent, serialize($item->children); d47 2 a48 2 @ 1.18 log @Updated @ text @d44 1 a44 1 $item->attributes["NAME"] . "\t" . $item->attributes["DEFAULT_URL"] @ 1.17 log @Updated @ text @d13 1 a13 1 d33 16 a48 4 dba_replace($this->dbtree, $i, serialize($item->children); dba_replace($this->dbtree, $i, $item->attributes["NAME"] . "\t" . $item->attributes["LINK"] ); @ 1.16 log @Updated @ text @d35 2 a36 2 "{$item} d38 2 a39 1 @ 1.15 log @Updated @ text @d32 5 a36 2 dba_replace($i, serialize($this->parser->htmltree[$i]->children); dba_replace($i, serialize($this->parser->htmltree[$i]->children); @ 1.14 log @Updated @ text @a20 1 $this->build_pages(); d24 4 a27 2 $filename = "{$this->basedir}/{$this->book}_tree.dbm"; $this->dbtree = dba_open($filename,"c",$this->dbm_handler); d33 2 a34 1 @ 1.13 log @Updated @ text @d26 3 a28 3 $tree = dba_open($filename,"c",$this->dbm_handler); d30 2 @ 1.12 log @Updated @ text @d12 2 d26 2 a27 2 $tree = dba_open($filename,"c","db2"); @ 1.11 log @Updated @ text @d24 1 @ 1.10 log @Updated @ text @d23 2 a24 1 $filename = "{$this->basedir}/{$this->book}_tree"; @ 1.9 log @Updated @ text @d23 2 a24 2 $filename = "{$this->basedir}/"; @ 1.8 log @Updated @ text @d23 1 a23 1 $filename = "{$this->basedir}/specs"; d35 3 a37 3 while (($f = readdir($dh)) !== FALSE) { if ($f{0} == ".") continue; $this->file = $dir . "/". $f; @ 1.7 log @Updated @ text @d23 1 a23 1 @ 1.6 log @Updated @ text @d23 1 a23 1 $ d28 1 a28 2 s d33 1 a33 1 $dir = $this->base/specs" @ 1.5 log @Updated @ text @d22 2 d25 1 d29 1 d33 2 a34 1 $dir = dirname(__FILE__)."/../help/specs" @ 1.4 log @Updated @ text @d19 1 a19 1 $this->bulid_pages(); d21 2 @ 1.3 log @Updated @ text @d14 7 a20 4 $p = &new XML_parser(); $p->data = implode("",file($this->file)); $p->expat_parse(); @ 1.2 log @Updated @ text @d12 10 a21 2 d28 2 a29 1 $this->parse_file($dir . "/". $f); @ 1.1 log @Updated @ text @d7 19 @ phpmole/tools/phpmanual_devhelp_generator.class0000755000175000017500000001256707433427170022350 0ustar alanalan00000000000000 Preface => &GettingStarted; ==> ==> Apache-specific Functions Apache => apache_lookup_uri => Using PHP from the command line ==> Configuration ==> The configuration file ==> // from php-gtk! GtkAccelLabel int get_accel_width XXXXX Misc Gtk Functions */ require_once(APPDIR."languages/HTML/html_generator_base.class"); class phpmanual_devhelp_generator extends html_generator_base { var $inbody=0; var $htmltree; // where the tree of data goes! var $outtree=array(); var $curelementid=0; // current elementid; var $maxelementid=0; // total elements; var $functiontree = array(); var $extension = ".php"; function devhelp_check_roots() { if (!@$this->outtree[0]) { $this->outtree[0] = &new parser_XML_element; } } // disable everything! function override_all($i) { $this->done($i); $this->out_children($this->htmltree[$i]->children); } function override_refentry($i) { $this->start_block($i,"ref_entry","(refname|refentrytitle)"); } function override_classentry($i) { $this->start_block($i,"class_entry","classtitle"); } function override_method($i) { $this->start_block($i,"method","function"); } function override_constructor($i) { $this->start_block($i,"contructor","function"); } function override_classset($i) { $this->start_block($i,"classset","classsettitle"); } function override_part($i) { $this->start_block($i,"part","title"); } function override_chapter($i) { $this->start_block($i,"chapter","title"); } function override_preface($i) { $this->start_block($i,"preface","title"); } function override_reference($i) { $this->start_block($i,"reference","title"); } function override_sect1($i) { $this->start_block($i,"sect1","title"); } function override_appendix($i) { $this->start_block($i,"appendix","title"); } function start_block($i,$what,$name_element) { $this->active=""; $active_set=""; echo "STARTING $what \n"; if ($this->htmltree[$i]->done) return; if ($this->htmltree[$i]->attributes["id"] && !is_array($this->htmltree[$i]->attributes["id"])) { //$this->out .= "<{$what}sub>\n"; $link = trim(str_replace("\"", "", $this->htmltree[$i]->attributes["id"])); $link = trim(str_replace("\'", "", $link)); if ($this->active) $active_set="Y"; $nameid = $this->look_forward($i+1, $name_element); if ($nameid && is_string($this->htmltree[$nameid]->children[0][1]) && $this->htmltree[$nameid]->children[0][1] && $link) { $name = $this->htmltree[$nameid]->children[0][1]; if (! ($name{0} == "\"" || $name{0} == "'")) $name = "\"$name\""; } if ($name && $link) { $this->devhelp_check_roots(); $this->maxelementid++; $this->outtree[$this->maxelementid] = &new parser_XML_element; $useid = $this->maxelementid; $this->outtree[$this->maxelementid]->parent = $this->curelementid; $this->outtree[$this->curelementid]->children[]=$this->maxelementid; //echo "\n{$this->maxelementid} : $tag"; $this->outtree[$this->maxelementid]->title = "sub"; $this->outtree[$this->maxelementid]->attributes["link"] = "\"". $link . $this->extension ."\""; $this->outtree[$this->maxelementid]->attributes["name"] = $name; $this->curelementid =$this->maxelementid; if ($this->htmltree[$i]->title == "refentry") { $functionobj = $this->outtree[$this->maxelementid]; $functionobj->title="function"; $this->functiontree[] = $functionobj; } } } $this->done($i); $this->out_children($this->htmltree[$i]->children); if ($link && $name) { $this->curelementid = $this->outtree[$useid]->parent; } } function look_forward($start, $title) { $total = count($this->htmltree); for ($i=$start;$i<$total;$i++) { echo "lookforward: {$this->htmltree[$i]->title} == $title\n"; if (ereg("^".$title."$", $this->htmltree[$i]->title)) return $i; } } } ?>phpmole/tools/CVS/0002755000175000017500000000000007641002066014170 5ustar alanalan00000000000000phpmole/tools/CVS/Root0000644000175000017500000000010107376366223015041 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/tools/CVS/Repository0000644000175000017500000000001607376366223016302 0ustar alanalan00000000000000phpmole/tools phpmole/tools/CVS/Entries0000644000175000017500000000147707616665103015544 0ustar alanalan00000000000000/buildgtk_manual.php/1.1/Thu Nov 22 05:14:54 2001// /phpgtkmanual_help_fetch.class/1.1/Thu Nov 22 07:20:08 2001// /loose.dtd/1.1/Sat Dec 15 08:21:27 2001// /package.xml/1.1/Sat Dec 15 08:21:27 2001// D/Phpmole_Installer//// /cvs2cl/1.1/Fri Jan 18 15:57:51 2002// /php_functions.php/1.2/Fri Feb 15 03:35:28 2002// /build_manual.php/1.3/Sat Feb 16 10:02:28 2002// /createdef.php/1.2/Sat Feb 16 10:02:39 2002// /domxmltext.php/1.2/Sat Feb 16 10:02:53 2002// /phpmanual_devhelp_generator.class/1.3/Sat Feb 16 10:03:36 2002// /phpmanual_help_fetch.class/1.3/Sat Feb 16 10:03:08 2002// /php_win.c/1.1/Sat Feb 23 02:00:26 2002// /web_get.php/1.2/Sat Mar 23 14:58:43 2002// /webtest.php/1.1/Sat Mar 23 14:22:14 2002// /devhelp_to_dbm.php/1.3/Tue Apr 30 02:52:18 2002// /midgard_reciever.php/1.2/Sat Feb 1 06:27:52 2003// D/phpcodedoc//// phpmole/tools/CVS/.mappedfiles/0002755000175000017500000000000007641002066016537 5ustar alanalan00000000000000phpmole/tools/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002066022037 2Repositoryustar alanalan00000000000000phpmole/tools/buildgtk_manual.php0000755000175000017500000000253307377104716017427 0ustar alanalan00000000000000#!/usr/bin/php run(); // now the manual is in elemental form in $fetcher->manual_parser->html_parse $generator = new phpmanual_devhelp_generator(); $generator->htmltree = $fetcher->manual_parser->htmltree; $generator->start(); echo "OUTTREE?"; //echo serialize($generator->outtree); $outputer = new xml_generator (); $outputer->htmltree = $generator->outtree; $outputer->output = ' '; $outputer->start(); $outputer->output .= " "; $function_outputer =new xml_generator (); $function_outputer->htmltree = $generator->functiontree; $function_outputer->start(); $outputer->output .= " " . $function_outputer->output . " "; echo $outputer->output; $fh = fopen(APPDIR . "help/specs/php-gtk.devhelp","w"); fwrite($fh, $outputer->output); fclose($fh); exit; ?>phpmole/tools/phpgtkmanual_help_fetch.class0000755000175000017500000001536007377123450021455 0ustar alanalan00000000000000cache_dir."help/php"; if (!file_exists($this->cache_dir."help")) mkdir($this->cache_dir."help",0755); if (!file_exists($this->cache_dir."help/phpgtk")) mkdir($this->cache_dir."help/phpgtk",0755); if (!file_exists($this->cache_dir."help/phpgtk/{$this->lang}")) mkdir($this->cache_dir."help/phpgtk/{$this->lang}",0755); if (!file_exists($this->cache_dir."help/phpgtk/{$this->lang}/userguide")) mkdir($this->cache_dir."help/phpgtk/{$this->lang}/userguide",0755); if (!file_exists($this->cache_dir."help/phpgtk/{$this->lang}/userguide/chapters")) mkdir($this->cache_dir."help/phpgtk/{$this->lang}/userguide/chapters",0755); $outdir = $this->cache_dir . "help/phpgtk"; $urlprefix = "http://cvs.php.net/co.php/php-gtk-doc/"; $urls = array( $urlprefix. "manual.xml.in?p=1" => "manual.xml", $urlprefix. "global.ent?p=1" => "global.ent", $urlprefix. "{$this->lang}/language-defs.ent?p=1" => "{$this->lang}/language-defs.ent", $urlprefix. "{$this->lang}/reference.xml?p=1" => "{$this->lang}/reference.xml", $urlprefix. "{$this->lang}/userguide/chapters/install.xml?p=1" => "{$this->lang}/userguide/chapters/install.xml", $urlprefix. "{$this->lang}/userguide/chapters/intro.xml?p=1" => "{$this->lang}/userguide/chapters/intro.xml", $urlprefix. "{$this->lang}/userguide/chapters/widgets.xml?p=1" => "{$this->lang}/userguide/chapters/widgets.xml", $urlprefix. "{$this->lang}/userguide/chapters/signals.xml?p=1" => "{$this->lang}/userguide/chapters/signals.xml" ); $this->snoopy = new Snoopy; foreach ($urls as $url=>$file) { if (!$this->get_file($url,$outdir."/".$file)) return; } // by now it should have downloaded all the files! $manual_parser = new parser_XML; $manual_parser->data = implode('',file($outdir."/manual.xml")); //$manual_parser->debug=1; $manual_parser->html_parse(); // load the referece file as well! $manual_parser->data = implode('',file($outdir."/{$this->lang}/reference.xml")); //$manual_parser->debug=1; $manual_parser->html_parse(); // look for entities.. // of type /* bookinfo => en/bookinfo.xml preface chapter.* => en/chapter/????.xml faq.* features.* functions.* language.* pear.* appendices.* */ // this is a real hack! $sections = array( "chapters.intro" => "$outdir/{$this->lang}/userguide/chapters/intro.xml", "chapters.widgets" => "$outdir/{$this->lang}/userguide/chapters/widgets.xml", "chapters.signals" => "$outdir/{$this->lang}/userguide/chapters/signals.xml", "chapters.install" => "$outdir/{$this->lang}/userguide/chapters/install.xml" ); $fetchtypes = array( "bookinfo" => "S", "preface" => "S", "userguide" => "M", "tutorials" => "userguide/tuts/", "chapters" => "userguide/chapters/", "gtk" => "reference/", "gdk" => "reference/", "scn" => "reference/", "glade" => "reference/", "sqp" => "reference/", "reference" => "S", "licence" => "userguide/appendix/", "credits" => "S" ); echo "STAGE 2 parser : GOT ". count($manual_parser->htmltree) . "elements\n"; for($i=0;$ihtmltree);$i++) { // if ($i>10) break; if (!$manual_parser->htmltree[$i]->children) continue; for ($j=0;$jhtmltree[$i]->children);$j++) { if (!is_array($manual_parser->htmltree[$i]->children[$j])) continue; if ($manual_parser->htmltree[$i]->children[$j][0] !="ENTITY") continue; $ent = $manual_parser->htmltree[$i]->children[$j][1]; echo "GOT ENT $ent"; if (strpos($ent,".")) { $entinfo = explode(".", $ent ); if (!$fetchtypes[$entinfo[0]]) continue; if (strpos($fetchtypes[$entinfo[0]],"/" ) ) $entinfo[0] = $fetchtypes[$entinfo[0]] . $entinfo[0]; $thisdir = $outdir."/{$this->lang}/".$entinfo[0]; $sections[$ent] = $thisdir."/".$entinfo[1].".xml"; echo "\n$thisdir\n"; if (!file_exists(dirname($thisdir))) mkdir(dirname($thisdir),0755); if (!file_exists($thisdir)) mkdir($thisdir,0755); //$entname = str_replace("-","_", $entinfo[1]); $entname = $entinfo[1]; $this->get_file($urlprefix.$this->lang."/".$entinfo[0]."/".$entname .".xml?p=1", $thisdir."/".$entinfo[1].".xml"); } else { if (!$fetchtypes[$ent]) continue; $sections[$ent] = $outdir."/{$this->lang}/".$ent.".xml"; $this->get_file($urlprefix.$this->lang."/".$ent.".xml?p=1", $outdir."/{$this->lang}/".$ent.".xml"); } } } // now I should be able to build the manual ?? :) // sections is based on part's within the manual part. // first load up all the entity definitions.. unset($manual_parser); $this->manual_parser = new parser_XML; // preload all the ents! $preload_ents = array( $outdir . "/global.ent", "$outdir/{$this->lang}/language-defs.ent", ); foreach($preload_ents as $file) { echo "PRELOAD $file\n"; $this->manual_parser->data = implode('',file($file)); $this->manual_parser->html_parse(); } $this->manual_parser->data = implode('',file($outdir."/manual.xml")); $this->manual_parser->basedir=$outdir; $this->manual_parser->langdir=$this->lang; // load up entities! foreach($sections as $ent=>$filename) { echo "LOADING $ent from $filename\n"; $this->manual_parser->entities[$ent] = implode('',file($filename)); } // should add the entitiy files now!!! echo "INITIATING SECOND PARSE on "; //$this->manual_parser->debug=1; $this->manual_parser->html_parse(); //WOW that actually works!! // now generate some usefull information from it!!! // the manual index tree: // can be geerated by: /* book part (top level) chapter sect1 sect2 */ } function update_display($line) { global $dialogs; if (!trim($line)) return; echo "FETCHING : $line\n"; } function get_file($url,$local) { $this->update_display(basename($local)); if (file_exists($local)) return 1; //echo "$url => $local\n"; $this->snoopy->fetch($url); if (! $this->snoopy->results) return 0; $fh= fopen($local,"w"); fwrite($fh, $this->snoopy->results); fclose($fh); return 1; } } phpmole/tools/.mappedfiles/0002755000175000017500000000000007641002066016104 5ustar alanalan00000000000000phpmole/tools/.mappedfiles/BUILD_~1.PHP0000777000175000017500000000000007641002066023072 2build_manual.phpustar alanalan00000000000000phpmole/tools/.mappedfiles/PHPMAN~1.CLA0000777000175000017500000000000007641002066025057 2phpmanual_help_fetch.classustar alanalan00000000000000phpmole/tools/.mappedfiles/PHPMAN~2.CLA0000777000175000017500000000000007641002066026454 2phpmanual_devhelp_generator.classustar alanalan00000000000000phpmole/tools/.mappedfiles/BUILDG~1.PHP0000777000175000017500000000000007641002066023550 2buildgtk_manual.phpustar alanalan00000000000000phpmole/tools/.mappedfiles/PHPGTK~1.CLA0000777000175000017500000000000007641002066025577 2phpgtkmanual_help_fetch.classustar alanalan00000000000000phpmole/tools/.mappedfiles/CREATE~1.PHP0000777000175000017500000000000007641002066022325 2createdef.phpustar alanalan00000000000000phpmole/tools/.mappedfiles/DOMXML~1.PHP0000777000175000017500000000000007641002066022645 2domxmltext.phpustar alanalan00000000000000phpmole/tools/.mappedfiles/MIDGAR~1.PHP0000777000175000017500000000000007641002066023676 2midgard_reciever.phpustar alanalan00000000000000phpmole/tools/.mappedfiles/PHP_FU~1.PHP0000777000175000017500000000000007641002066023340 2php_functions.phpustar alanalan00000000000000phpmole/tools/.mappedfiles/PHPMOL~10000777000175000017500000000000007641002066022644 2Phpmole_Installerustar alanalan00000000000000phpmole/tools/.mappedfiles/DEVHEL~1.PHP0000777000175000017500000000000007641002066023362 2devhelp_to_dbm.phpustar alanalan00000000000000phpmole/tools/.mappedfiles/PHPCOD~10000777000175000017500000000000007641002066021311 2phpcodedocustar alanalan00000000000000phpmole/tools/.mappedfiles/TEST~1.DIA0000777000175000017500000000000007641002066021310 2test.dia~ustar alanalan00000000000000phpmole/tools/.mappedfiles/_#DEVH~1.10000777000175000017500000000000007641002066023473 2.#devhelp_to_dbm.php.1.1ustar alanalan00000000000000phpmole/tools/createdef.php0000755000175000017500000000071507433427077016210 0ustar alanalan00000000000000";phpmole/tools/domxmltext.php0000755000175000017500000000233007433427115016457 0ustar alanalan00000000000000phpmole/tools/loose.dtd0000755000175000017500000013057207406604007015366 0ustar alanalan00000000000000 ... ... The URI used as a system identifier with the public identifier allows the user agent to download the DTD and entity sets as needed. The FPI for the Strict HTML 4.01 DTD is: "-//W3C//DTD HTML 4.01//EN" This version of the strict DTD is: http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd Authors should use the Strict DTD unless they need the presentation control for user agents that don't (adequately) support style sheets. If you are writing a document that includes frames, use the following FPI: "-//W3C//DTD HTML 4.01 Frameset//EN" This version of the frameset DTD is: http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd Use the following (relative) URIs to refer to the DTDs and entity definitions of this specification: "strict.dtd" "loose.dtd" "frameset.dtd" "HTMLlat1.ent" "HTMLsymbol.ent" "HTMLspecial.ent" --> %HTMLlat1; %HTMLsymbol; %HTMLspecial; ]]> ]]> ]]> ]]> ]]> ]]> phpmole/tools/midgard_reciever.php0000755000175000017500000006702507616664350017570 0ustar alanalan00000000000000 array("mgd_list_sitegroups"), "hosts" => array("mgd_list_hosts") , "host" => array("mgd_get_page") , "page" => array("mgd_list_pages","mgd_list_page_elements"), "style" => array("mgd_list_styles","mgd_list_elements"), "topic" => array("mgd_list_topics","mgd_list_topic_articles"), "snippetdir" => array("mgd_list_snippetdirs","mgd_list_snippets"), "person" => array("mgd_list_persons"), "grp" => array("mgd_list_groups","mgd_list_persons"), "group" => array("mgd_list_groups","mgd_list_members"), "sitegroup" => array("mgd_list_sitegroups") ); // generic tree // for demo purposes - show hosts! & pages! function rdf_tree_types($id) { $types = array( "group","hosts","page","style","topic","snippetdir"); $ret = ""; foreach ($types as $k) $ret .= "\r\n". " <__table__>sg__$k\r\n". " $id\r\n". " $k\r\n". "\r\n"; return $ret; } function output_object(&$obj,$is_single=0) { if (!$obj) { return "NO OBJECT"; } $ret = "\r\n<{$obj->__table__}>\r\n"; $list = get_object_vars($obj); while (list ($k,$v) = each($list)) { if ($k == "__res__") continue; if (ereg("[^0-9A-z_]",$v)) { $ret .="<$k><"."!"."["."CDATA"."[$v]"."]".">\r\n"; } else { $ret .= "<$k>".$obj->$k ."\r\n"; } // end if else } /// end loop if (method_exists($obj,"guid")) $ret .= "".$obj->guid()."\r\n"; if (isset($obj->sitegroup)) { if ($obj->sitegroup) { $sgobj = mgd_get_sitegroup($obj->sitegroup); $ret .= "".$sgobj->guid()."\r\n"; } else { /* not very standard */ $ret .= "0\r\n"; } } if ($is_single && method_exists($obj,"listparameters")) if ($p = $obj->listparameters()) while ($p->fetch()) if($pp=$obj->listparameters($p->domain)) while ($pp->fetch()) $ret .= "domain) ."\" ". "name=\"". urlencode($pp->name) ."\">". "<"."!"."["."CDATA"."[{$pp->value}]"."]".">". "\r\n"; // membership for person! if ($is_single && $obj->__table__ == "person") if ($mm = mgd_list_memberships($obj->id)) while ($mm->fetch()) $ret .= "{$mm->gid}\r\n"; if ($is_single && $obj->__table__ == "grp") if ($mm = mgd_list_members($obj->id)) while ($mm->fetch()) $ret .= "{$mm->uid}\r\n"; $ret .= "\r\n__table__}>\r\n"; return $ret; } function rdf_get_object($type,$id) { if ($type == "blobs") $type ="attachment"; $function = "mgd_get_" .$type ; if (!function_exists($function)) return; return $function($id); } function rdf_tree($id,$functions) { //echo "RDF_TREE: $id , ". serialize($functions); $ret =""; foreach($functions as $function) { if (!function_exists($function)) return; if ($function == "mgd_get_page") { $obj = mgd_get_host($id); $id = $obj->root; } //echo "calling function $function $id
"; if (!$id && $function != "mgd_list_members") { $list = $function(); } else { $list = $function($id); } // if ($child[0]=="*" && $id) $id = $parentlist->root; if ($function == "mgd_list_sitegroups") { $obj = new stdClass; $obj->id=0; $obj->__table__="sitegroup"; $obj->name = "System Admin"; $obj->sitegroup=0; $obj->realm="System Admin"; $ret .= $this->output_object($obj); } if ($list) if ($function == "mgd_get_page") { $ret .= $this->output_object($list); } else { while ($list->fetch()) { if ($function == "mgd_list_members") { $item = mgd_get_person($list->uid); $ret .= $this->output_object($item); } else { $ret .= $this->output_object($list); } } } } return $ret; } function rdf_attachments(&$object) { if (!$object) return; $ret = ""; if (!method_exists($object,"listattachments")) return; if ($a = $object->listattachments()) while ($a->fetch()) { $ret .= $this->output_object($a); } return $ret; } function rdf_filtered_tree($id,$functions,$all=0) { $function= $functions[0]; $ret =""; if (!function_exists($function)) return; // echo "calling function $function $id
"; switch ($function) { case "mgd_list_hosts": case "mgd_list_sitegroups": $list = $function(); break; case "mgd_list_groups": // get the sitegroup admin! if ($id && !$all) { $sg = mgd_get_sitegroup($id); $obj = mgd_get_group($sg->admingroup); $ret .= $this->output_object($obj); return $ret; } else if ( !$all) { //$all=0; $list = $function(); break; } default: $list = $function(0); break; } if (isset($list)) { while ($list->fetch()) { // nasty filtering hack : // if (($list->sitegroup != $id) && ($function == "mgd_list_groups")) continue; if (($list->sitegroup == $id) || ($all && !$list->sitegroup) && !$this->sitegroup) { $ret .= $this->output_object($list); if (isset($functions[1]) && $all && $function != "mgd_list_pages") { $ret .= $this->rdf_tree($list->id,array($functions[0])); } } else if ( (($function == "mgd_list_sitegroups") || ($function == "mgd_list_groups")) && ($list->id == $id)) { $ret .= $this->output_object($list); } else if ($this->sitegroup) { if ($function == "mgd_list_styles" && $all) $ret .= $this->output_object($list); } } if (isset($functions[1]) && ($functions[1] == "mgd_list_members") && !$id) { $this->rdf_tree($id,array("mgd_list_members")); } return $ret; } } function update_membership($id,$array) { /* needs to overlay current membership with new membership eg. new array - 1,2,3,4,5 old member = 1,3,6 */ $old_array = array(); if ($list = mgd_list_memberships($id)) while ($list->fetch()) { $old_array[] = $list->gid; $old_mappings[$list->gid] = $list->id; } /* - how to do this: add new membership - eg. stuff that is not in old */ if ($array) foreach($array as $k) if (!in_array($k,$old_array)) mgd_create_member($id,$k,""); // remove deleted membership - eg. stuff that is in old but not in new if (isset($old_array)) { foreach ($old_array as $k) { if (!in_array($k, $array)) { mgd_delete_member($old_mappings[$k]); } } } } function update_members($id,$array) { // group -> array of people //echo "UPDATING MEMBERS $id: ". serialize($array); $old_array = array(); if ($list = mgd_list_members($id)) while ($list->fetch()) { $old_array[] = $list->uid; $old_mappings[$list->uid] = $list->id; } if ($array) foreach($array as $k) if (!in_array($k,$old_array)) mgd_create_member($k,$id,""); // remove deleted membership - eg. stuff that is in old but not in new if ($old_array) foreach ($old_array as $k) if (!in_array($k, $array)) mgd_delete_member($old_mappings[$k]); } /* and now for the really complex one! - parameters! this is a little more difficult than members because of the multi dimensional nature build a list of current values $old_array == set to current value go through new array -- if it exists -- update it if it is different -- remove from old array -- if not exists -- create it. -- go through old array deleteing values.. */ function update_parameters(&$object, $array) { echo "UPDATE PARAMETERS: ". serialize($array); // build a list of current values $old_array == set to current value if ($list = $object->listparameters()) while($list->fetch()) if ($list2 = $object->listparameters($list->domain)) while($list2->fetch()) $old_array[$list->domain][$list2->name] = $list2->value; /* add and update */ if ($array) foreach($array as $row) { echo "\n".serialize($row); if (!$row) continue; // deal with dummies; if (!trim($row[0]) || !trim($row[1])) continue; // more dummies if (isset($old_array[$row[0]][$row[1]])) { if ($old_array[$row[0]][$row[1]] != $row[2]) $object->parameter($row[0],$row[1], $row[2]); // now clear it. unset($old_array[$row[0]][$row[1]]); // its the same, remove it. if (!count($old_array[$row[0]])) unset($old_array[$row[0]]); // remove whole thing! } else { if (!trim($row[2])) continue; // setting to blank on new entry! echo "ADDING " . $row[0]."_".$row[1]." ". $row[2]; $object->parameter($row[0],$row[1], $row[2]); } } // now delete items that are left if ($old_array) foreach($old_array as $domain=>$ar) foreach ($ar as $name=>$value) { echo "DELETING? $domain,$name\n"; $object->parameter($domain,$name,""); } } function check_calender($new) { if ($new["__table__"] != "article") return $new; if (!$new["calender_active"]) { echo "CALENDAR INACTIVE?"; $new["calstart"] = 0; $new["caldays"] = 0; if ($new["enddate"]) unset($new["enddate"]); if ($new["startdate"]) unset($new["startdate"]); return $new; } $a= explode(":",trim($new["startdate"])); $new["calstart"] = sprintf("%02d",$a[0]).".". sprintf("%02d",$a[1]).".". $a[2]; $s = mktime(0,0,0,$a[1],$a[0],$a[2]); echo $new["enddate"]; $a= explode(":",trim($new["enddate"])); $e = mktime(0,0,0,$a[1],$a[0],$a[2]); if ($e < $s) { $new["caldays"] = 0; if ($new["enddate"]) unset($new["enddate"]); if ($new["startdate"]) unset($new["startdate"]); return $new; } $new["caldays"] = (int) (($e-$s) / (60 * 60 * 24)); if ($new["enddate"]) unset($new["enddate"]); if ($new["startdate"]) unset($new["startdate"]); return $new; } /* tree: midgard : <- type=server SG0 <- sitegroup = 0 ! host (name - sg_hosts) <- sitegroup=X list of hosts; SG1 */ // not a raw request or md5 sum function output_header() { if (($this->request != 99)) { header ("Content-Type: text/plain"); $this->ret = "<"."?xml version=\"1.0\"?".">\n\n"; } } function output_footer() { $this->ret .= "\n\n"; } /* * The main routine - process request * */ function process_request() { global $HTTP_POST_VARS,$HTTP_POST_FILES; // for image upload if (!$this->request) $this->request=0; $ret =""; switch ($this->request) { // calltype! case 0: // get object! $obj = $this->rdf_get_object($this->table,$this->id); if (!$obj) break; $obj->sgguid="0"; //$obj->guid = $obj->guid(); $this->ret .= $this->output_object($obj,1); return; break; case 1: // display a list $ret = ""; if ($this->table == "sitegroup") { $this->ret .= $this->rdf_tree_types($this->id); } else if (substr($this->table,0,4) == "sg__") { $this->ret .= $this->rdf_filtered_tree($this->id,$this->children[substr($this->table,4)]); } else if (substr($this->table,0,5) == "sga__") { $this->ret .= $this->rdf_filtered_tree($this->id,$this->children[substr($this->table,5)],1); } else if ($this->children[$this->table]) { $this->ret .= $this->rdf_tree($this->id,$this->children[$this->table]); } $obj = $this->rdf_get_object($this->table,$this->id); $this->ret .= $this->rdf_attachments($obj); break; case 2: // save object! $obj = $this->rdf_get_object($this->table,$this->id); $list = get_object_vars($obj); $new = $HTTP_POST_VARS["new"]; echo serialize($new); echo "\n\n\n"; $new = $this->check_calender($new); echo serialize($new); echo "\n\n\n"; if ($new["__table__"] != "host") $this->re_auth($new["sitegroup"]); $article_score = $obj->score; $article_type = $obj->type; $locked = 0; if ($obj->locker) $locked = 1; if (isset($new["username"])) if ($new["__table__"] == "person") if (($obj->username != $new["username"]) || $new["password"]) mgd_update_password( $this->id, $new["username"], $new["password"]); if (isset($new["parameters"])) { $this->update_parameters($obj,$new["parameters"]); } //echo "UPDATING {$this->id}"; while (list ($k,$v) = each($list)) { if ($k == "sitegroup") continue; if ($k == "__table__") continue; if (isset($new[$k])) { if ($k == "parameters") continue; //echo "setting $k" . substr($new[$k],0,10)."\n"; $obj->$k = $new[$k]; } } $this->ret .= "\n".mgd_errstr()."\n"; //echo serialize($HTTP_POST_VARS); $obj->update(); if (isset($new["sitegroup"]) && $obj->sitegroup != $new["sitegroup"]) { $obj->setsitegroup($new["sitegroup"]); } //echo "\n APPROVED " . $new["approved"] . "\n"; /* object specific stuff */ if ($new["__table__"] == "article") { if (($new["approved"] == 1) || ($new["approved"] == 0)) mgd_approve_article($this->id,$new["approved"]); echo "CHECK LOCk OLD: $locked NEW " . $new["locker"] . "\n"; if ($new["locker"] != $locked) mgd_toggle_article_lock($this->id); echo mgd_errstr(); echo "TEST: ". $new["score"] . " $article_score \n"; if (isset($new["score"]) && ($article_score != $new["score"])) mgd_update_article_score($this->id,$new["score"]); if (isset($new["type"]) && ($article_type != $new["type"])) mgd_update_article_type($this->id,$new["type"]); } if ($new["__table__"] == "topic") { if (isset($new["score"]) && ($article_score != $new["score"])) mgd_update_topic_score($this->id,$new["score"]); } if (isset($new["membership"])) $this->update_membership($obj->id,$new["membership"]); //echo "CHECKING ." . serialize($new["members"]); if (isset($new["members"])) $this->update_members($obj->id,$new["members"]); $this->md5=""; touch("/tmp/midgard_modified"); $this->ret .= "\n".mgd_errstr()."\n"; return; case 3: // new object $new = $HTTP_POST_VARS["new"]; $new = $this->check_calender($new); if ($new["__table__"] != "host") $this->re_auth($new["sitegroup"]); $func = "mgd_get_" . $new["__table__"]; if (!function_exists($func)) { $this->ret .= "\nFUNCTION $func DOES NOT EXIST \n"; return; } $obj = $func(); $list = get_object_vars($obj); while (list ($k,$v) = each($list)) { // echo "checking $k ".$new[$k]; if ($new[$k]) { $obj->$k = $new[$k]; } } $this->id = $obj->create(); if ($new["username"]) mgd_update_password( $this->id, $new["username"], $new["password"]); $this->md5=""; //echo serialize($new); touch("/tmp/midgard_modified"); if ($this->id) { $this->ret .= "\n".mgd_errstr()."\n". "\n".$obj->__table__."
\n". "\n$this->id\n"; return; } else { $this->ret .= "\n".mgd_errstr()."\n"; return; } break; case 4: // delete object if (!$this->id) { $this->ret .="error : NO ID"; return; } if ($this->table == "blobs") $this->table = "attachment"; $func = "mgd_delete_" . $this->table; if (!function_exists($func)) { $this->ret .= "\nFUNCTION $func DOES NOT EXIST \n"; return; } $func($this->id); touch("/tmp/midgard_modified"); $this->ret .= "\n".mgd_errstr()."\n"; return; case 5: // test authentication! $this->ret .= "AUTHENTICATION FAILED"; return; case 6: // delete a tree! if (!$this->id) { $this->ret .="error : NO ID"; return; } $func = "mgd_delete_" . $this->table."_tree"; if (!function_exists($func)) { $this->ret .= "\nFUNCTION $func DOES NOT EXIST \n"; return; } $func($this->id); touch("/tmp/midgard_modified"); $this->ret .= "\n".mgd_errstr()."\n"; return; case 8: // upload a image or attachment //echo serialize($GLOBALS); $new = $HTTP_POST_VARS["new"]; $obj = $this->rdf_get_object($this->table,$this->id); $this->re_auth($obj->getsitegroup()); $basecode = implode("",file($HTTP_POST_FILES["test"]["tmp_name"])); $basecode = str_replace("\n","",$basecode ); $basecode = str_replace("\r","",$basecode ); $data = base64_decode($basecode); if (($att = $obj->getattachment($new["name"]))) { $this->id = $att->id; } else { $this->id=$obj->createattachment($new["name"],$new["name"],$new["mimetype"]); } $attobj = mgd_get_attachment($this->id); $attobj->setsitegroup($obj->sitegroup); $fh = mgd_open_attachment($this->id,"w"); fwrite($fh,$data); fclose($fh); $this->ret .= "\n".$this->id."\n". "\n".strlen($data)."\n". "\n".mgd_errstr()."\n"; break; case 9: // get a list of attachments; $obj = $this->rdf_get_object($this->table,$this->id); if ($list = $obj->listattachments()) while ($list->fetch()) $this->ret.= $this->output_object($list); return; case 99: // raw output!!! // this may not work!!! - may have to use the mgd_open_att... // md5 sum check here! $x=mgd_stat_attachment($this->id); $fh = mgd_open_attachment($this->id,"r"); //echo $x[7]; $string = fread($fh,$x[7]); fclose($fh); if ($this->md5 == "x") { echo $string ; exit; } if ($this->md5 == md5($string)) { echo $this->md5; exit; } mgd_serve_attachment($this->id); exit; } } function auth() { global $PHP_AUTH_USER,$PHP_AUTH_PW ; if (!isset($PHP_AUTH_USER)) { header("WWW-Authenticate: Basic realm=\"My Realm\""); header("HTTP/1.0 401 Unauthorized"); $this->table=""; $this->id=0; $this->request=1; $this->md5=""; return; } else { mgd_auth_midgard($PHP_AUTH_USER,$PHP_AUTH_PW ,0); $midgard = mgd_get_midgard(); if (!$midgard->user) { $this->request = 5; header("WWW-Authenticate: Basic realm=\"My Realm\""); header("HTTP/1.0 401 Unauthorized"); return; } $this->user = $PHP_AUTH_USER; $this->sitegroup = 0; if ($i=strpos($PHP_AUTH_USER,"+")) { $this->user = substr($PHP_AUTH_USER,0,$i); $this->sitegroup_name = substr($PHP_AUTH_USER,$i); $user = mgd_get_person($midgard->user); $sitegroup_obj = $user->getsitegroup(); $this->sitegroup = $sitegroup_obj->id; } } } function re_auth($sitegroup) { global $PHP_AUTH_PW; if ($this->sitegroup) return; $sg = mgd_get_sitegroup($sitegroup); if (!$sg) return; $auth_as = $this->user ."*" .$sg->name; mgd_auth_midgard($auth_as,$PHP_AUTH_PW ,0); } function start() { global $HTTP_GET_VARS,$HTTP_POST_VARS,$REQUEST_METHOD; $request= &$HTTP_GET_VARS; if (isset($request["table"])) $this->table = $request["table"]; if (isset($request["id"])) $this->id = $request["id"]; if (isset($request["depth"])) $this->request = $request["depth"]; if (isset($request["md5"])) $this->md5 = $request["md5"]; $request= &$HTTP_POST_VARS; if (isset($request["table"])) $this->table = $request["table"]; if (isset($request["id"])) $this->id = $request["id"]; if (isset($request["depth"])) $this->request = $request["depth"]; if (isset($request["md5"])) $this->md5 = $request["md5"]; $this->auth(); if (!$this->table) { $this->table = "server"; if ($this->sitegroup) { $this->table= "sitegroup"; $this->id = $this->sitegroup; } } $this->output_header(); $this->process_request(); $this->output_footer(); if ($this->md5 == "x") echo md5($this->ret); if ($this->md5 && md5($this->ret) == $this->md5) { echo $this->md5; exit; } echo $this->ret; flush(); } } $reciever = new phpmole_midgard_reciever(); $reciever->start(); ?>phpmole/tools/package.xml0000755000175000017500000002751207406604007015664 0ustar alanalan00000000000000 Phpmole Integrated Editor/ Application Development enviroment alan_k Alan Knowles alan_k@hklc.com 1.0 2001-11-20 This is the first major working release... /Phpmole php_gtk Gtk GtkScintilla curl GtkHTML pear/CVSLib/package.xml pear/Phpmole_Installer/package.xml --------------INSTALL COMPLETED--------------- You may want to softlink the phpmole-ide.php to /usr/bin/phpmole eg. ln -s /usr/lib/php/Phpmole/phpmole-ide.php /usr/bin/phpmole --------------FIRE IT UP!--------------------- / /tools /config /dialogs /experimental /glade /languages /languages/HTML /languages/XML /legacy /modules /modules/bookmark_browser /modules/class_browser /modules/help_browser /modules/help_viewer /modules/html /modules/notebook_editor /modules/scintilla /tools /transports /transports/mgd /xpm /help /help/specs /pear /pear/Phpmole_Installer /pear/CVSLib /package.xml /pear/Phpmole_Installer/package.xml /pear/CVSLib/package.xml /phpmole-ide.php /config/LanguageModes /config/Preferences /config/TODO /config/defines.inc /config/phpide_prefs.class /dialogs/gtkm_Dialog_Generic.class /dialogs/gtkm_Dialog_New_File.class /dialogs/gtkm_Dialog_Password.class /dialogs/phpide.class /dialogs/phpide_Dialog_Generic.class /package.xml /glade/bookmarks_dialog.glade /glade/calculator-font.xpm /glade/gtkmidgard.glade /glade/i-regular.xpm /glade/interface_1.glade /glade/interface_3.glade /glade/languages_dialog.glade /glade/libglade-xgettext /glade/phpide.glade /glade/ok_cancel_dialog.glade /glade/ok_dialog.glade /glade/options_dialog.glade /glade/password_entry_dialog.glade /glade/replace_dialog.glade /glade/replace_prompt_dialog.glade /glade/search_dialog.glade /glade/search_in_files_dialog.glade /glade/stock_add.xpm /glade/stock_attach.xpm /glade/stock_book_blue.xpm /glade/stock_book_green.xpm /glade/stock_book_open.xpm /glade/stock_book_red.xpm /glade/stock_book_yellow.xpm /glade/stock_bottom.xpm /glade/stock_button_apply.xpm /glade/stock_button_cancel.xpm /glade/stock_button_close.xpm /glade/stock_button_no.xpm /glade/stock_button_ok.xpm /glade/stock_button_yes.xpm /glade/stock_cdrom.xpm /glade/stock_clear.xpm /glade/stock_close.xpm /glade/stock_colorselector.xpm /glade/stock_convert.xpm /glade/stock_copy.xpm /glade/stock_cut.xpm /glade/stock_down_arrow.xpm /glade/stock_exec.xpm /glade/stock_exit.xpm /glade/stock_first.xpm /glade/stock_font.xpm /glade/stock_help.xpm /glade/stock_home.xpm /glade/stock_index.xpm /glade/stock_jump_to.xpm /glade/stock_last.xpm /glade/stock_left_arrow.xpm /glade/stock_line_in.xpm /glade/stock_mail.xpm /glade/stock_mail_compose.xpm /glade/stock_mail_forward.xpm /glade/stock_mail_receive.xpm /glade/stock_mail_reply.xpm /glade/stock_mail_send.xpm /glade/stock_menu_about.xpm /glade/stock_menu_blank.xpm /glade/stock_menu_scores.xpm /glade/stock_mic.xpm /glade/stock_midi.xpm /glade/stock_multiple_file.xpm /glade/stock_new.xpm /glade/stock_not.xpm /glade/stock_open.xpm /glade/stock_paste.xpm /glade/stock_preferences.xpm /glade/stock_print.xpm /glade/stock_properties.xpm /glade/stock_redo.xpm /glade/stock_refresh.xpm /glade/stock_remove.xpm /glade/stock_revert.xpm /glade/stock_right_arrow.xpm /glade/stock_save.xpm /glade/stock_save_as.xpm /glade/stock_scores.xpm /glade/stock_search.xpm /glade/stock_search_replace.xpm /glade/stock_spellcheck.xpm /glade/stock_stop.xpm /glade/stock_table_borders.xpm /glade/stock_table_fill.xpm /glade/stock_timer.xpm /glade/stock_timer_stopped.xpm /glade/stock_top.xpm /glade/stock_trash.xpm /glade/stock_trash_full.xpm /glade/stock_undelete.xpm /glade/stock_undo.xpm /glade/stock_up_arrow.xpm /glade/stock_volume.xpm /glade/text_entry_dialog.glade /glade/yes_no_dialog.glade /languages/HTML/parser_HTML.class /languages/HTML/parser_HTML_base.class /languages/HTML/parser_php.class /languages/HTML/parser_php_base.class /languages/HTML/php_functions /languages/HTML/phpide_parser_HTML.class /languages/HTML/html_generator_base.class /languages/XML/parser_XML.class /languages/XML/phpide_parser_XML.class /languages/XML/xml_generator.class /languages/LanguageModes /languages/phpide_language.inc /languages/phpide_languages.class /legacy/midgard_reciever.php /modules/bookmark_browser/bookmarks_dialog.glade /modules/bookmark_browser/module_bookmark_browser.class /modules/bookmark_browser/module_bookmark_browser_popup_menu.class /modules/bookmark_browser/module_bookmark_editor.class /modules/bookmark_browser/phpide_popup_menu.class /modules/phpide_modules.class /modules/class_browser/module_class_browser.class /modules/help_browser/module_help_browser.class /modules/help_viewer/module_help_viewer.class /modules/html/module_html.class /modules/html/htmltools.glade /modules/html/html.glade /modules/html/html_image_browser.class /modules/html/html_image_browser.glade /modules/html/stock_text_bold.xpm /modules/html/stock_text_bulleted_list.xpm /modules/html/stock_text_indent.xpm /modules/html/stock_text_italic.xpm /modules/html/stock_text_numbered_list.xpm /modules/html/stock_text_strikeout.xpm /modules/html/stock_text_underline.xpm /modules/html/stock_text_unindent.xpm /modules/html/stock_align_center.xpm /modules/html/stock_align_justify.xpm /modules/html/stock_align_left.xpm /modules/html/stock_align_right.xpm /modules/html/stock_open.xpm /modules/html/gtkhtml_generator.class /modules/notebook_editor/module_notebook_editor.class /modules/scintilla/module_scintilla.class /modules/scintilla/replace_dialog.glade /modules/scintilla/scintilla_config_dialog.class /modules/scintilla/scintilla_config_dialog.glade /modules/scintilla/scintilla_replace_dialog.class /modules/scintilla/scintilla_search_dialog.class /modules/scintilla/search_dialog.glade /transports/mgd/mgd_article_dialog.glade /transports/mgd/mgd_element_dialog.glade /transports/mgd/mgd_grp_dialog.glade /transports/mgd/mgd_host_dialog.glade /transports/mgd/mgd_page_dialog.glade /transports/mgd/mgd_page_element_dialog.glade /transports/mgd/mgd_person_dialog.glade /transports/mgd/mgd_snippet_dialog.glade /transports/mgd/mgd_snippetdir_dialog.glade /transports/mgd/mgd_style_dialog.glade /transports/mgd/mgd_topic_dialog.glade /transports/mgd/mgd_pageelement_dialog.glade /transports/phpide_midgard_objects.class /transports/phpide_midgard_xmlparse.class /transports/phpide_transport_file.class /transports/phpide_transport_scp.class /transports/phpide_transports.class /transports/phpide_midgard_details_dialog.class /transports/phpide_transport_mgd.class /xpm/file_generic.xpm /xpm/folder_closed.xpm /xpm/folder_open.xpm /xpm/mgd_company.xpm /xpm/mgd_company_closed.xpm /xpm/mgd_company_open.xpm /xpm/mgd_group.xpm /xpm/mgd_group_closed.xpm /xpm/mgd_group_open.xpm /xpm/mgd_page.xpm /xpm/mgd_page_closed.xpm /xpm/mgd_page_open.xpm /xpm/mgd_person.xpm /xpm/mgd_style.xpm /xpm/mgd_style_closed.xpm /xpm/mgd_style_open.xpm /xpm/mgd_world.xpm /xpm/mgd_world_closed.xpm /xpm/mgd_world_open.xpm /xpm/system_desktop.xpm /xpm/system_drive_cdrom.xpm /xpm/system_drive_fixed.xpm /xpm/system_drive_remote.xpm /xpm/system_drive_removeable.xpm /xpm/system_mycomputer.xpm /xpm/system_mydocuments.xpm /help/specs/bash.devhelp /help/specs/php.devhelp /help/specs/php-gtk.devhelp cvs.sourceforge.net cgi-bin/viewcvs.cgi phpmole-ide/phpmole phpmole/tools/php_functions.php0000755000175000017500000000111607433101000017110 0ustar alanalan00000000000000phpmole/tools/Phpmole_Installer/0002755000175000017500000000000007641002066017156 5ustar alanalan00000000000000phpmole/tools/Phpmole_Installer/CVS/0002755000175000017500000000000007641002066017611 5ustar alanalan00000000000000phpmole/tools/Phpmole_Installer/CVS/Root0000644000175000017500000000010107407250167020454 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/tools/Phpmole_Installer/CVS/Repository0000644000175000017500000000004007407250167021712 0ustar alanalan00000000000000phpmole/tools/Phpmole_Installer phpmole/tools/Phpmole_Installer/CVS/Entries0000644000175000017500000000022407433427443021152 0ustar alanalan00000000000000/package.xml/1.1/Sat Dec 15 08:21:27 2001// /installer.php/1.3/Sat Feb 16 10:03:58 2002// /phpmole_installer.class/1.2/Sat Feb 16 10:04:06 2002// D phpmole/tools/Phpmole_Installer/CVS/.mappedfiles/0002755000175000017500000000000007641002066022160 5ustar alanalan00000000000000phpmole/tools/Phpmole_Installer/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002066025460 2Repositoryustar alanalan00000000000000phpmole/tools/Phpmole_Installer/RCS/0002700000175000017500000000000007641002066017573 5ustar alanalan00000000000000phpmole/tools/Phpmole_Installer/RCS/.mappedfiles/0002700000175000017500000000000007641002066022142 5ustar alanalan00000000000000phpmole/tools/Phpmole_Installer/RCS/.mappedfiles/INSTAL~1.PHP0000777000175000017500000000000007641002066026741 2installer.php,vustar alanalan00000000000000phpmole/tools/Phpmole_Installer/RCS/.mappedfiles/PHPMOL~1.CLA0000777000175000017500000000000007641002066030760 2phpmole_installer.class,vustar alanalan00000000000000phpmole/tools/Phpmole_Installer/RCS/installer.php,v0000755000175000017500000000715407433427217022575 0ustar alanalan00000000000000head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2002.02.16.10.03.59; author alan; state Exp; branches; next ; desc @Updated @ 1.1 log @Updated @ text @ "Phpmole/languages/HTML/parser_HTML_base.class", "phpmole/languages/XML/parser_XML.class" => "Phpmole/languages/XML/parser_XML.class", "phpmole/pear/Phpmole_Installer/phpmole_installer.class" => "Phpmole_Installer/phpmole_installer.class", "phpmole/pear/Phpmole_Installer/installer.php" => "Phpmole_Installer/installer.php" ); foreach($required_files as $file => $destfile) if (!file_exists("$peardir/$destfile") || $upgrade) { echo "FETCHING $phpmole_cvs{$file}?rev=HEAD\n"; $data = implode("",file("$phpmole_cvs{$file}?rev=HEAD")); echo "WRITING $peardir/$destfile\n"; $fh = fopen("$peardir/$destfile","w"); fwrite($fh,$data); fclose($fh); } //include_once("phpmole_installer.class"); include_once("Phpmole_Installer/phpmole_installer.class"); if (!class_exists("phpmole_installer")) { echo "ERROR load installer - Phpmole_Installer/phpmole_installer.class \n"; exit; } /* END OF MESSY STUFF */ global $install_file; if ($install_file) echo "INSTALLING FROM $install_file\n"; $installer = new phpmole_installer(); $installer->peardir = $peardir; $installer->upgrade=$upgrade; $installer->install(@@$install_file); $phpmole_installer_loaded=1; ?>@ phpmole/tools/Phpmole_Installer/RCS/phpmole_installer.class,v0000755000175000017500000002313007433427226024627 0ustar alanalan00000000000000head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2002.02.16.10.04.06; author alan; state Exp; branches; next ; desc @Updated @ 1.1 log @Updated @ text @ Net_NNTP Communicate with an NNTP server kaltroft Martin Kaltroft martin@@nitro.dk 0.1 2001-04-19 This is the initial independent release of the NNTP package. / NNTP.php ** EXTENSIONS TO PAIR STANDARD! cvs.php.net pear/Net_NNTP cvs.sourceforge.net cgi-bin/viewcvs.cgi phpmole-ide/phpmole */ require_once("Phpmole/languages/XML/parser_XML.class"); class phpmole_installer { var $phpmole_cvs = "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/phpmole-ide/phpmole/"; var $peardir = "/usr/lib/php"; var $upgrade =0; // set to 1 to force a download var $installbase = ""; // installer vars var $cvsweb_revision =""; var $chora_revision =""; function install($xmlfile="") { if (!$xmlfile) $xmlfile = $this->phpmole_cvs . "package.xml?rev=HEAD"; echo "Installing from file $xmlfile\n"; $data = implode("",file($xmlfile)); $this->parser = &new parser_xml(); $this->parser->data = $data; $this->parser->html_parse(); // now get the information about where to install from! $this->get_chora_settings(); $this->get_cvsweb_settings(); $this->set_installbase(); $this->installdir = $this->peardir . $this->installbase; $this->check_dependancies(); $this->check_recommends(); // $this->host_prefix & host_suffix now should be set! // get the list of files $this->get_files(); $this->create_dirs(); $this->fetch_files(); $this->post_install(); } function post_install() { $id = $this->parser->find(0,"postinstall"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $data = $subelement->children[0][1]; if ($subelement->title == "package") { $installer = &new phpmole_installer(); $installer->peardir = $this->peardir; $installer->upgrade= $this->upgrade; $installer->install($this->installdir.$data); } if ($subelement->title == "packageurl") { $installer = &new phpmole_installer(); $installer->peardir = $this->peardir; $installer->install($data); } if ($subelement->title == "message") { echo $data; } } } } function get_chora_settings() { $id = $this->parser->find(0,"chora"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $setting = "chora_". $subelement->title; $this->$setting = $subelement->children[0][1]; //STRING,"VALUE" } } if (!$this->chora_revision) $this->chora_revision = "p=1"; if ($this->chora_host && $this->chora_dir) { $this->host_prefix = "http://{$this->chora_host}/co.php/{$this->chora_dir}/"; $this->host_suffix = "?".$this->chora_revision; } // should really handle destinct revisions per file .. later.... } function get_cvsweb_settings() { $id = $this->parser->find(0,"cvsweb"); //echo "ID IS $id"; if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $setting = "cvsweb_". $subelement->title; //echo "SETTING $setting {$subelement->children[0][1]}\n"; $this->$setting = $subelement->children[0][1]; //STRING,"VALUE" } } if (!$this->cvsweb_revision) $this->cvsweb_revision = "rev=HEAD"; if ($this->cvsweb_host && $this->cvsweb_root && $this->cvsweb_dir ) { $this->host_prefix = "http://{$this->cvsweb_host}/{$this->cvsweb_root}/{$this->cvsweb_dir}"; $this->host_suffix = "?".$this->cvsweb_revision; } // should really handle destinct revisions per file .. later.... } function set_installbase() { $id = $this->parser->find(0,"installbase"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $this->installbase = $subelement->children[0][1]; //STRING,"VALUE" } } } function check_dependancies() { $id = $this->parser->find(0,"depends"); if (!$id) return; $extensiondir = ini_get("extension_dir"); $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); if ($subelement->title == "module") { $module = $subelement->children[0][1]; $modname = str_replace("_","-",$module); if (!extension_loaded($modname) && !file_exists("$extensiondir/$module.so") && !file_exists("$extensiondir/$module.dll") && !file_exists("$extensiondir/php_$module.dll") ) { echo "CAN NOT FIND module $module\n Please make sure it is installed and you extension dir is set correctly\n"; exit; } else { if (file_exists("$extensiondir/$module.so")) dl("$module.so"); if (file_exists("$extensiondir/$module.dll")) dl("$module.dll"); if (file_exists("$extensiondir/php_$module.dll")) dl("php_$module.dll"); } } if ($subelement->title == "class") { $class = $subelement->children[0][1]; if (!class_exists($class)) { echo "CAN NOT FIND class definition for $class\nPlease make sure that it is available\n"; exit; } } } } } function check_recommends() { $id = $this->parser->find(0,"recommends"); if (!$id) return; $extensiondir = ini_get("extension_dir"); $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); if ($subelement->title == "module") { $module = $subelement->children[0][1]; $modname = str_replace("_","-",$module); if (!extension_loaded($modname) && !file_exists("$extensiondir/$module.so") && !file_exists("$extensiondir/$module.dll") && !file_exists("$extensiondir/php_$module.dll") ) { echo "WARNING CAN NOT FIND module $module\n This is a recommended module - please try and install it\n"; exit; } else { if (file_exists("$extensiondir/$module.so")) dl("$module.so"); if (file_exists("$extensiondir/$module.dll")) dl("$module.dll"); if (file_exists("$extensiondir/php_$module.dll")) dl("php_$module.dll"); } } if ($subelement->title == "class") { $class = $subelement->children[0][1]; if (!class_exists($class)) { echo "CAN NOT FIND class definition for $class\nThis is a recommended class please make sure it is installed\n"; } } } } } function get_files() { $id = $this->parser->find(0,"filelist"); if (!$id) return; $this->files = array(); $this->dirs = array(); $element = $this->parser->get_element($id); if ($element->children) foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); //echo serialize($subelement)."\n"; if ($subelement->title == "file") $this->files[] = $subelement->children[0][1]; //STRING,"VALUE" if ($subelement->title == "dir") $this->dirs[] = $subelement->children[0][1]; //STRING,"VALUE" } } } function fetch_files() { //echo serialize($this->files); if (!@@$this->files) return; $total = count($this->files); $i=0; foreach($this->files as $file) { $destname = $this->installdir . $file; $source = $this->host_prefix . $file . $this->host_suffix; if (!file_exists($destname) || $this->upgrade) { echo "Fetching File {$i} of {$total} : $file\n"; $data = implode("",file($source)); if (!$data) { echo "Empty file retrieving $file"; continue; } echo "Writing to $destname\n"; $fh = fopen($destname,"w"); fwrite($fh,$data); if (ereg("\.php$", $destname)) chmod ($destname, 0755); fclose($fh); } $i++; } } function create_dirs() { if (!@@$this->dirs) return; foreach($this->dirs as $dir) { $destname = $this->installdir . $dir; if (!file_exists($destname)) mkdir($destname,0755); } } } @ phpmole/tools/Phpmole_Installer/installer.php0000755000175000017500000000667107433427216021706 0ustar alanalan00000000000000 "Phpmole/languages/HTML/parser_HTML_base.class", "phpmole/languages/XML/parser_XML.class" => "Phpmole/languages/XML/parser_XML.class", "phpmole/pear/Phpmole_Installer/phpmole_installer.class" => "Phpmole_Installer/phpmole_installer.class", "phpmole/pear/Phpmole_Installer/installer.php" => "Phpmole_Installer/installer.php" ); foreach($required_files as $file => $destfile) if (!file_exists("$peardir/$destfile") || $upgrade) { echo "FETCHING $phpmole_cvs{$file}?rev=HEAD\n"; $data = implode("",file("$phpmole_cvs{$file}?rev=HEAD")); echo "WRITING $peardir/$destfile\n"; $fh = fopen("$peardir/$destfile","w"); fwrite($fh,$data); fclose($fh); } //include_once("phpmole_installer.class"); include_once("Phpmole_Installer/phpmole_installer.class"); if (!class_exists("phpmole_installer")) { echo "ERROR load installer - Phpmole_Installer/phpmole_installer.class \n"; exit; } /* END OF MESSY STUFF */ global $install_file; if ($install_file) echo "INSTALLING FROM $install_file\n"; $installer = new phpmole_installer(); $installer->peardir = $peardir; $installer->upgrade=$upgrade; $installer->install(@$install_file); $phpmole_installer_loaded=1; ?>phpmole/tools/Phpmole_Installer/package.xml0000755000175000017500000000224407406604007021300 0ustar alanalan00000000000000 Phpmole_Installer Generic Install Module alan_k Alan Knowles alan_k@hklc.com 1.0 2001-11-20 Installer module - nearly there ... /Phpmole_Installer --------------INSTALL COMPLETED--------------- / /package.xml /installer.php /phpmole_installer.class cvs.sourceforge.net cgi-bin/viewcvs.cgi phpmole-ide/phpmole/pear/Phpmole_Installer phpmole/tools/Phpmole_Installer/phpmole_installer.class0000755000175000017500000002264507433427226023750 0ustar alanalan00000000000000 Net_NNTP Communicate with an NNTP server kaltroft Martin Kaltroft martin@nitro.dk 0.1 2001-04-19 This is the initial independent release of the NNTP package. / NNTP.php ** EXTENSIONS TO PAIR STANDARD! cvs.php.net pear/Net_NNTP cvs.sourceforge.net cgi-bin/viewcvs.cgi phpmole-ide/phpmole */ require_once("Phpmole/languages/XML/parser_XML.class"); class phpmole_installer { var $phpmole_cvs = "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/phpmole-ide/phpmole/"; var $peardir = "/usr/lib/php"; var $upgrade =0; // set to 1 to force a download var $installbase = ""; // installer vars var $cvsweb_revision =""; var $chora_revision =""; function install($xmlfile="") { if (!$xmlfile) $xmlfile = $this->phpmole_cvs . "package.xml?rev=HEAD"; echo "Installing from file $xmlfile\n"; $data = implode("",file($xmlfile)); $this->parser = &new parser_xml(); $this->parser->data = $data; $this->parser->html_parse(); // now get the information about where to install from! $this->get_chora_settings(); $this->get_cvsweb_settings(); $this->set_installbase(); $this->installdir = $this->peardir . $this->installbase; $this->check_dependancies(); $this->check_recommends(); // $this->host_prefix & host_suffix now should be set! // get the list of files $this->get_files(); $this->create_dirs(); $this->fetch_files(); $this->post_install(); } function post_install() { $id = $this->parser->find(0,"postinstall"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $data = $subelement->children[0][1]; if ($subelement->title == "package") { $installer = &new phpmole_installer(); $installer->peardir = $this->peardir; $installer->upgrade= $this->upgrade; $installer->install($this->installdir.$data); } if ($subelement->title == "packageurl") { $installer = &new phpmole_installer(); $installer->peardir = $this->peardir; $installer->install($data); } if ($subelement->title == "message") { echo $data; } } } } function get_chora_settings() { $id = $this->parser->find(0,"chora"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $setting = "chora_". $subelement->title; $this->$setting = $subelement->children[0][1]; //STRING,"VALUE" } } if (!$this->chora_revision) $this->chora_revision = "p=1"; if ($this->chora_host && $this->chora_dir) { $this->host_prefix = "http://{$this->chora_host}/co.php/{$this->chora_dir}/"; $this->host_suffix = "?".$this->chora_revision; } // should really handle destinct revisions per file .. later.... } function get_cvsweb_settings() { $id = $this->parser->find(0,"cvsweb"); //echo "ID IS $id"; if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $setting = "cvsweb_". $subelement->title; //echo "SETTING $setting {$subelement->children[0][1]}\n"; $this->$setting = $subelement->children[0][1]; //STRING,"VALUE" } } if (!$this->cvsweb_revision) $this->cvsweb_revision = "rev=HEAD"; if ($this->cvsweb_host && $this->cvsweb_root && $this->cvsweb_dir ) { $this->host_prefix = "http://{$this->cvsweb_host}/{$this->cvsweb_root}/{$this->cvsweb_dir}"; $this->host_suffix = "?".$this->cvsweb_revision; } // should really handle destinct revisions per file .. later.... } function set_installbase() { $id = $this->parser->find(0,"installbase"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $this->installbase = $subelement->children[0][1]; //STRING,"VALUE" } } } function check_dependancies() { $id = $this->parser->find(0,"depends"); if (!$id) return; $extensiondir = ini_get("extension_dir"); $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); if ($subelement->title == "module") { $module = $subelement->children[0][1]; $modname = str_replace("_","-",$module); if (!extension_loaded($modname) && !file_exists("$extensiondir/$module.so") && !file_exists("$extensiondir/$module.dll") && !file_exists("$extensiondir/php_$module.dll") ) { echo "CAN NOT FIND module $module\n Please make sure it is installed and you extension dir is set correctly\n"; exit; } else { if (file_exists("$extensiondir/$module.so")) dl("$module.so"); if (file_exists("$extensiondir/$module.dll")) dl("$module.dll"); if (file_exists("$extensiondir/php_$module.dll")) dl("php_$module.dll"); } } if ($subelement->title == "class") { $class = $subelement->children[0][1]; if (!class_exists($class)) { echo "CAN NOT FIND class definition for $class\nPlease make sure that it is available\n"; exit; } } } } } function check_recommends() { $id = $this->parser->find(0,"recommends"); if (!$id) return; $extensiondir = ini_get("extension_dir"); $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); if ($subelement->title == "module") { $module = $subelement->children[0][1]; $modname = str_replace("_","-",$module); if (!extension_loaded($modname) && !file_exists("$extensiondir/$module.so") && !file_exists("$extensiondir/$module.dll") && !file_exists("$extensiondir/php_$module.dll") ) { echo "WARNING CAN NOT FIND module $module\n This is a recommended module - please try and install it\n"; exit; } else { if (file_exists("$extensiondir/$module.so")) dl("$module.so"); if (file_exists("$extensiondir/$module.dll")) dl("$module.dll"); if (file_exists("$extensiondir/php_$module.dll")) dl("php_$module.dll"); } } if ($subelement->title == "class") { $class = $subelement->children[0][1]; if (!class_exists($class)) { echo "CAN NOT FIND class definition for $class\nThis is a recommended class please make sure it is installed\n"; } } } } } function get_files() { $id = $this->parser->find(0,"filelist"); if (!$id) return; $this->files = array(); $this->dirs = array(); $element = $this->parser->get_element($id); if ($element->children) foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); //echo serialize($subelement)."\n"; if ($subelement->title == "file") $this->files[] = $subelement->children[0][1]; //STRING,"VALUE" if ($subelement->title == "dir") $this->dirs[] = $subelement->children[0][1]; //STRING,"VALUE" } } } function fetch_files() { //echo serialize($this->files); if (!@$this->files) return; $total = count($this->files); $i=0; foreach($this->files as $file) { $destname = $this->installdir . $file; $source = $this->host_prefix . $file . $this->host_suffix; if (!file_exists($destname) || $this->upgrade) { echo "Fetching File {$i} of {$total} : $file\n"; $data = implode("",file($source)); if (!$data) { echo "Empty file retrieving $file"; continue; } echo "Writing to $destname\n"; $fh = fopen($destname,"w"); fwrite($fh,$data); if (ereg("\.php$", $destname)) chmod ($destname, 0755); fclose($fh); } $i++; } } function create_dirs() { if (!@$this->dirs) return; foreach($this->dirs as $dir) { $destname = $this->installdir . $dir; if (!file_exists($destname)) mkdir($destname,0755); } } } phpmole/tools/Phpmole_Installer/.mappedfiles/0002755000175000017500000000000007641002066021525 5ustar alanalan00000000000000phpmole/tools/Phpmole_Installer/.mappedfiles/INSTAL~1.PHP0000777000175000017500000000000007641002066026050 2installer.phpustar alanalan00000000000000phpmole/tools/Phpmole_Installer/.mappedfiles/PHPMOL~1.CLA0000777000175000017500000000000007641002066030067 2phpmole_installer.classustar alanalan00000000000000phpmole/tools/cvs2cl0000755000175000017500000016235207422042777014700 0ustar alanalan00000000000000#!/bin/sh exec perl -w -x $0 ${1+"$@"} # -*- mode: perl; perl-indent-level: 2; -*- #!perl -w ############################################################## ### ### ### cvs2cl.pl: produce ChangeLog(s) from `cvs log` output. ### ### ### ############################################################## ## $Revision: 1.1 $ ## $Date: 2002/01/18 15:57:51 $ ## $Author: alan_k $ ## ## (C) 1999 Karl Fogel , under the GNU GPL. ## ## (Extensively hacked on by Melissa O'Neill .) ## ## cvs2cl.pl 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 version 2, or (at your option) ## any later version. ## ## cvs2cl.pl 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 may have received a copy of the GNU General Public License ## along with cvs2cl.pl; see the file COPYING. If not, write to the ## Free Software Foundation, Inc., 59 Temple Place - Suite 330, ## Boston, MA 02111-1307, USA. use strict; use Text::Wrap; use Time::Local; use File::Basename; # The Plan: # # Read in the logs for multiple files, spit out a nice ChangeLog that # mirrors the information entered during `cvs commit'. # # The problem presents some challenges. In an ideal world, we could # detect files with the same author, log message, and checkin time -- # each would be a changelog entry. # We'd sort them; and spit them out. Unfortunately, CVS is *not atomic* # so checkins can span a range of times. Also, the directory structure # could be hierarchical. # # Another question is whether we really want to have the ChangeLog # exactly reflect commits. An author could issue two related commits, # with different log entries, reflecting a single logical change to the # source. GNU style ChangeLogs group these under a single author/date. # We try to do the same. # # So, we parse the output of `cvs log', storing log messages in a # multilevel hash that stores the mapping: # directory => author => time => message => filelist # As we go, we notice "nearby" commit times and store them together # (i.e., under the same timestamp), so they appear in the same log # entry. # # When we've read all the logs, we twist this mapping into # a time => author => message => filelist mapping for each directory. # # If we're not using the `--distributed' flag, the directory is always # considered to be `./', even as descend into subdirectories. ############### Globals ################ # What we run to generate it: my $Log_Source_Command = "cvs log"; # In case we have to print it out: my $VERSION = '$Revision: 1.1 $'; $VERSION =~ s/\S+\s+(\S+)\s+\S+/$1/; ## Vars set by options: # Print debugging messages? my $Debug = 0; # Just show version and exit? my $Print_Version = 0; # Just print usage message and exit? my $Print_Usage = 0; # Single top-level ChangeLog, or one per subdirectory? my $Distributed = 0; # What file should we generate (defaults to "ChangeLog")? my $Log_File_Name = "ChangeLog"; # Grab most recent entry date from existing ChangeLog file, just add # to that ChangeLog. my $Cumulative = 0; # Expand usernames to email addresses based on a map file? my $User_Map_File = ""; # Output to a file or to stdout? my $Output_To_Stdout = 0; # Eliminate empty log messages? my $Prune_Empty_Msgs = 0; # Don't call Text::Wrap on the body of the message my $No_Wrap = 0; # Separates header from log message. Code assumes it is either " " or # "\n\n", so if there's ever an option to set it to something else, # make sure to go through all conditionals that use this var. my $After_Header = " "; # Format more for programs than for humans. my $XML_Output = 0; # Do some special tweaks for log data that was written in FSF # ChangeLog style. my $FSF_Style = 0; # Show times in UTC instead of local time my $UTC_Times = 0; # Show day of week in output? my $Show_Day_Of_Week = 0; # Show revision numbers in output? my $Show_Revisions = 0; # Show tags (symbolic names) in output? my $Show_Tags = 0; # Show branches by symbolic name in output? my $Show_Branches = 0; # Show only revisions on these branches or their ancestors. my @Follow_Branches; # Don't bother with files matching this regexp. my @Ignore_Files; # How exactly we match entries. We definitely want "o", # and user might add "i" by using --case-insensitive option. my $Case_Insensitive = 0; # Maybe only show log messages matching a certain regular expression. my $Regexp_Gate = ""; # Pass this global option string along to cvs, to the left of `log': my $Global_Opts = ""; # Pass this option string along to the cvs log subcommand: my $Command_Opts = ""; # Read log output from stdin instead of invoking cvs log? my $Input_From_Stdin = 0; # Don't show filenames in output. my $Hide_Filenames = 0; # Max checkin duration. CVS checkin is not atomic, so we may have checkin # times that span a range of time. We assume that checkins will last no # longer than $Max_Checkin_Duration seconds, and that similarly, no # checkins will happen from the same users with the same message less # than $Max_Checkin_Duration seconds apart. my $Max_Checkin_Duration = 180; # What to put at the front of [each] ChangeLog. my $ChangeLog_Header = ""; ## end vars set by options. # In 'cvs log' output, one long unbroken line of equal signs separates # files: my $file_separator = "=======================================" . "======================================"; # In 'cvs log' output, a shorter line of dashes separates log messages # within a file: my $logmsg_separator = "----------------------------"; ############### End globals ############ &parse_options (); &derive_change_log (); ### Everything below is subroutine definitions. ### # If accumulating, grab the boundary date from pre-existing ChangeLog. sub maybe_grab_accumulation_date () { if (! $Cumulative) { return ""; } # else open (LOG, "$Log_File_Name") or die ("trouble opening $Log_File_Name for reading ($!)"); my $boundary_date; while () { if (/^(\d\d\d\d-\d\d-\d\d\s+\d\d:\d\d)/) { $boundary_date = "$1"; last; } } close (LOG); return $boundary_date; } # Fills up a ChangeLog structure in the current directory. sub derive_change_log () { # See "The Plan" above for a full explanation. my %grand_poobah; my $file_full_path; my $time; my $revision; my $author; my $msg_txt; my $detected_file_separator; # Might be adding to an existing ChangeLog my $accumulation_date = &maybe_grab_accumulation_date (); if ($accumulation_date) { $Log_Source_Command .= " -d\'>${accumulation_date}\'"; } # We might be expanding usernames my %usermap; # In general, it's probably not very maintainable to use state # variables like this to tell the loop what it's doing at any given # moment, but this is only the first one, and if we never have more # than a few of these, it's okay. my $collecting_symbolic_names = 0; my %symbolic_names; # Where tag names get stored. my %branch_names; # We'll grab branch names while we're at it. my %branch_numbers; # Save some revisions for @Follow_Branches my @branch_roots; # For showing which files are branch ancestors. # Bleargh. Compensate for a deficiency of custom wrapping. if (($After_Header ne " ") and $FSF_Style) { $After_Header .= "\t"; } if (! $Input_From_Stdin) { open (LOG_SOURCE, "$Log_Source_Command |") or die "unable to run \"${Log_Source_Command}\""; } else { open (LOG_SOURCE, "-") or die "unable to open stdin for reading"; } %usermap = &maybe_read_user_map_file (); while () { # If on a new file and don't see filename, skip until we find it, and # when we find it, grab it. if ((! (defined $file_full_path)) and /^Working file: (.*)/) { $file_full_path = $1; if (@Ignore_Files) { my $base; ($base, undef, undef) = fileparse ($file_full_path); # Ouch, I wish trailing operators in regexps could be # evaluated on the fly! if ($Case_Insensitive) { if (grep ($file_full_path =~ m|$_|i, @Ignore_Files)) { undef $file_full_path; } } elsif (grep ($file_full_path =~ m|$_|, @Ignore_Files)) { undef $file_full_path; } } next; } # Just spin wheels if no file defined yet. next if (! $file_full_path); # Collect tag names in case we're asked to print them in the output. if (/^symbolic names:$/) { $collecting_symbolic_names = 1; next; # There's no more info on this line, so skip to next } if ($collecting_symbolic_names) { # All tag names are listed with whitespace in front in cvs log # output; so if see non-whitespace, then we're done collecting. if (/^\S/) { $collecting_symbolic_names = 0; } else # we're looking at a tag name, so parse & store it { # According to the Cederqvist manual, in node "Tags", tag # names must start with an uppercase or lowercase letter and # can contain uppercase and lowercase letters, digits, `-', # and `_'. However, it's not our place to enforce that, so # we'll allow anything CVS hands us to be a tag: /^\s+([^:]+): ([\d.]+)$/; my $tag_name = $1; my $tag_rev = $2; # A branch number either has an odd number of digit sections # (and hence an even number of dots), or has ".0." as the # second-to-last digit section. Test for these conditions. my $real_branch_rev = ""; if (($tag_rev =~ /^(\d+\.\d+\.)+\d+$/) # Even number of dots... and (! ($tag_rev =~ /^(1\.)+1$/))) # ...but not "1.[1.]1" { $real_branch_rev = $tag_rev; } elsif ($tag_rev =~ /(\d+\.(\d+\.)+)0.(\d+)/) # Has ".0." { $real_branch_rev = $1 . $3; } # If we got a branch, record its number. if ($real_branch_rev) { $branch_names{$real_branch_rev} = $tag_name; if (@Follow_Branches) { if (grep ($_ eq $tag_name, @Follow_Branches)) { $branch_numbers{$tag_name} = $real_branch_rev; } } } else { # Else it's just a regular (non-branch) tag. push (@{$symbolic_names{$tag_rev}}, $tag_name); } } } # End of code for collecting tag names. # If have file name, but not revision, and see revision, then grab # it. (We collect unconditionally, even though we may or may not # ever use it.) if ((! (defined $revision)) and (/^revision (\d+\.[\d.]+)/)) { $revision = $1; if (@Follow_Branches) { foreach my $branch (@Follow_Branches) { # Special case for following trunk revisions if (($branch =~ /^trunk$/i) and ($revision =~ /^[0-9]+\.[0-9]+$/)) { goto dengo; } my $branch_number = $branch_numbers{$branch}; if ($branch_number) { # Are we on one of the follow branches or an ancestor of # same? # # If this revision is a prefix of the branch number, or # possibly is less in the minormost number, OR if this # branch number is a prefix of the revision, then yes. # Otherwise, no. # # So below, we determine if any of those conditions are # met. # Trivial case: is this revision on the branch? # (Compare this way to avoid regexps that screw up Emacs # indentation, argh.) if ((substr ($revision, 0, ((length ($branch_number)) + 1))) eq ($branch_number . ".")) { goto dengo; } # Non-trivial case: check if rev is ancestral to branch elsif ((length ($branch_number)) > (length ($revision))) { $revision =~ /^((?:\d+\.)+)(\d+)$/; my $r_left = $1; # still has the trailing "." my $r_end = $2; $branch_number =~ /^((?:\d+\.)+)(\d+)\.\d+$/; my $b_left = $1; # still has trailing "." my $b_mid = $2; # has no trailing "." if (($r_left eq $b_left) && ($r_end <= $b_mid)) { goto dengo; } } } } } else # (! @Follow_Branches) { next; } # Else we are following branches, but this revision isn't on the # path. So skip it. undef $revision; dengo: next; } # If we don't have a revision right now, we couldn't possibly # be looking at anything useful. if (! (defined ($revision))) { $detected_file_separator = /^$file_separator$/o; if ($detected_file_separator) { # No revisions for this file; can happen, e.g. "cvs log -d DATE" goto CLEAR; } else { next; } } # If have file name but not date and author, and see date or # author, then grab them: unless (defined $time) { if (/^date: .*/) { ($time, $author) = &parse_date_and_author ($_); if (defined ($usermap{$author}) and $usermap{$author}) { $author = $usermap{$author}; } } else { $detected_file_separator = /^$file_separator$/o; if ($detected_file_separator) { # No revisions for this file; can happen, e.g. "cvs log -d DATE" goto CLEAR; } } # If the date/time/author hasn't been found yet, we couldn't # possibly care about anything we see. So skip: next; } # A "branches: ..." line here indicates that one or more branches # are rooted at this revision. If we're showing branches, then we # want to show that fact as well, so we collect all the branches # that this is the latest ancestor of and store them in # @branch_roots. Just for reference, the format of the line we're # seeing at this point is: # # branches: 1.5.2; 1.5.4; ...; # # Okay, here goes: if (/^branches:\s+(.*);$/) { if ($Show_Branches) { my $lst = $1; $lst =~ s/(1\.)+1;|(1\.)+1$//; # ignore the trivial branch 1.1.1 if ($lst) { @branch_roots = split (/;\s+/, $lst); } else { undef @branch_roots; } next; } else { # Ugh. This really bothers me. Suppose we see a log entry # like this: # # ---------------------------- # revision 1.1 # date: 1999/10/17 03:07:38; author: jrandom; state: Exp; # branches: 1.1.2; # Intended first line of log message begins here. # ---------------------------- # # The question is, how we can tell the difference between that # log message and a *two*-line log message whose first line is # # "branches: 1.1.2;" # # See the problem? The output of "cvs log" is inherently # ambiguous. # # For now, we punt: we liberally assume that people don't # write log messages like that, and just toss a "branches:" # line if we see it but are not showing branches. I hope no # one ever loses real log data because of this. next; } } # If have file name, time, and author, then we're just grabbing # log message texts: $detected_file_separator = /^$file_separator$/o; if ($detected_file_separator && ! (defined $revision)) { # No revisions for this file; can happen, e.g. "cvs log -d DATE" goto CLEAR; } unless ($detected_file_separator || /^$logmsg_separator$/o) { $msg_txt .= $_; # Normally, just accumulate the message... next; } # ... until a msg separator is encountered: # Ensure the message contains something: if ((! $msg_txt) || ($msg_txt =~ /^\s*\.\s*$|^\s*$/) || ($msg_txt =~ /\*\*\* empty log message \*\*\*/)) { if ($Prune_Empty_Msgs) { goto CLEAR; } # else $msg_txt = "[no log message]\n"; } ### Store it all in the Grand Poobah: { my $dir_key; # key into %grand_poobah my %qunk; # complicated little jobbie, see below # Each revision of a file has a little data structure (a `qunk') # associated with it. That data structure holds not only the # file's name, but any additional information about the file # that might be needed in the output, such as the revision # number, tags, branches, etc. The reason to have these things # arranged in a data structure, instead of just appending them # textually to the file's name, is that we may want to do a # little rearranging later as we write the output. For example, # all the files on a given tag/branch will go together, followed # by the tag in parentheses (so trunk or otherwise non-tagged # files would go at the end of the file list for a given log # message). This rearrangement is a lot easier to do if we # don't have to reparse the text. # # A qunk looks like this: # # { # filename => "hello.c", # revision => "1.4.3.2", # time => a timegm() return value (moment of commit) # tags => [ "tag1", "tag2", ... ], # branch => "branchname" # There should be only one, right? # branchroots => [ "branchtag1", "branchtag2", ... ] # } if ($Distributed) { # Just the basename, don't include the path. ($qunk{'filename'}, $dir_key, undef) = fileparse ($file_full_path); } else { $dir_key = "./"; $qunk{'filename'} = $file_full_path; } # This may someday be used in a more sophisticated calculation # of what other files are involved in this commit. For now, we # don't use it, because the common-commit-detection algorithm is # hypothesized to be "good enough" as it stands. $qunk{'time'} = $time; # We might be including revision numbers and/or tags and/or # branch names in the output. Most of the code from here to # loop-end deals with organizing these in qunk. $qunk{'revision'} = $revision; # Grab the branch, even though we may or may not need it: $qunk{'revision'} =~ /((?:\d+\.)+)\d+/; my $branch_prefix = $1; $branch_prefix =~ s/\.$//; # strip off final dot if ($branch_names{$branch_prefix}) { $qunk{'branch'} = $branch_names{$branch_prefix}; } # If there's anything in the @branch_roots array, then this # revision is the root of at least one branch. We'll display # them as branch names instead of revision numbers, the # substitution for which is done directly in the array: if (@branch_roots) { my @roots = map { $branch_names{$_} } @branch_roots; $qunk{'branchroots'} = \@roots; } # Save tags too. if (defined ($symbolic_names{$revision})) { $qunk{'tags'} = $symbolic_names{$revision}; delete $symbolic_names{$revision}; } # Add this file to the list # (We use many spoonfuls of autovivication magic. Hashes and arrays # will spring into existence if they aren't there already.) &debug ("(pushing log msg for ${dir_key}$qunk{'filename'})\n"); # Store with the files in this commit. Later we'll loop through # again, making sure that revisions with the same log message # and nearby commit times are grouped together as one commit. push (@{$grand_poobah{$dir_key}{$author}{$time}{$msg_txt}}, \%qunk); } CLEAR: # Make way for the next message undef $msg_txt; undef $time; undef $revision; undef $author; undef @branch_roots; # Maybe even make way for the next file: if ($detected_file_separator) { undef $file_full_path; undef %branch_names; undef %branch_numbers; undef %symbolic_names; } } close (LOG_SOURCE); ### Process each ChangeLog while (my ($dir,$authorhash) = each %grand_poobah) { &debug ("DOING DIR: $dir\n"); # Here we twist our hash around, from being # author => time => message => filelist # in %$authorhash to # time => author => message => filelist # in %changelog. # # This is also where we merge entries. The algorithm proceeds # through the timeline of the changelog with a sliding window of # $Max_Checkin_Duration seconds; within that window, entries that # have the same log message are merged. # # (To save space, we zap %$authorhash after we've copied # everything out of it.) my %changelog; while (my ($author,$timehash) = each %$authorhash) { my $lasttime; my %stamptime; foreach my $time (sort {$main::a <=> $main::b} (keys %$timehash)) { my $msghash = $timehash->{$time}; while (my ($msg,$qunklist) = each %$msghash) { my $stamptime = $stamptime{$msg}; if ((defined $stamptime) and (($time - $stamptime) < $Max_Checkin_Duration) and (defined $changelog{$stamptime}{$author}{$msg})) { push(@{$changelog{$stamptime}{$author}{$msg}}, @$qunklist); } else { $changelog{$time}{$author}{$msg} = $qunklist; $stamptime{$msg} = $time; } } } } undef (%$authorhash); ### Now we can write out the ChangeLog! my ($logfile_here, $logfile_bak, $tmpfile); if (! $Output_To_Stdout) { $logfile_here = $dir . $Log_File_Name; $logfile_here =~ s/^\.\/\//\//; # fix any leading ".//" problem $tmpfile = "${logfile_here}.cvs2cl$$.tmp"; $logfile_bak = "${logfile_here}.bak"; open (LOG_OUT, ">$tmpfile") or die "Unable to open \"$tmpfile\""; } else { open (LOG_OUT, ">-") or die "Unable to open stdout for writing"; } print LOG_OUT $ChangeLog_Header; if ($XML_Output) { print LOG_OUT "\n\n" . "\n\n"; } my $lastwday = ""; foreach my $time (sort {$main::b <=> $main::a} (keys %changelog)) { my $authorhash = $changelog{$time}; while (my ($author,$mesghash) = each %$authorhash) { # If XML, escape in outer loop to avoid compound quoting: if ($XML_Output) { $author = &xml_escape ($author); } while (my ($msg,$qunklist) = each %$mesghash) { my $files = &pretty_file_list ($qunklist); my $header_line; # date and author my $body; # see below my $wholething; # $header_line + $body # Set up the date/author line. # kff todo: do some more XML munging here, on the header # part of the entry: my ($ignore,$min,$hour,$mday,$mon,$year,$wday) = $UTC_Times ? gmtime($time) : localtime($time); # XML output includes everything else, we might as well make # it always include Day Of Week too, for consistency. if ($Show_Day_Of_Week or $XML_Output) { $wday = ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")[$wday]; $wday = ($XML_Output) ? "${wday}\n" : " $wday"; } else { $wday = ""; } $header_line = ""; if ($XML_Output) { $header_line = sprintf ("%4u-%02u-%02u\n" . "${wday}" . "\n" . "%s\n", $year+1900, $mon+1, $mday, $hour, $min, $author); } elsif ($wday ne $lastwday) { $header_line = sprintf ("\n%4u-%02u-%02u${wday} %s\n\n", $year+1900, $mon+1, $mday, $author); } $lastwday = $wday; # Reshape the body according to user preferences. if ($XML_Output) { $msg = &preprocess_msg_text ($msg); $body = $files . $msg; } elsif ($No_Wrap) { $msg = &preprocess_msg_text ($msg); $files = wrap ("\t", " ", "$files"); $msg =~ s/\n(.*)/\n\t$1/g; unless ($After_Header eq " ") { $msg =~ s/^(.*)/\t$1/g; } $body = $files . $After_Header . $msg; } else # do wrapping, either FSF-style or regular { if ($FSF_Style) { $files = wrap ("\t", " ", "$files"); my $files_last_line_len = 0; if ($After_Header eq " ") { $files_last_line_len = &last_line_len ($files); $files_last_line_len += 1; # for $After_Header } $msg = &wrap_log_entry ($msg, "\t", 69 - $files_last_line_len, 69); $body = $files . $After_Header . $msg; } else # not FSF-style { $msg = "* " . &preprocess_msg_text ($msg); $body = $files . $After_Header . $msg; $body = wrap ("\t", " ", "$body"); } } $wholething = $header_line . $body; if ($XML_Output) { $wholething = "\n${wholething}\n"; } # One last check: make sure it passes the regexp test, if the # user asked for that. We have to do it here, so that the # test can match against information in the header as well # as in the text of the log message. # How annoying to duplicate so much code just because I # can't figure out a way to evaluate scalars on the trailing # operator portion of a regular expression. Grrr. if ($Case_Insensitive) { unless ($Regexp_Gate && ($wholething !~ /$Regexp_Gate/oi)) { print LOG_OUT "${wholething}"; } } else { unless ($Regexp_Gate && ($wholething !~ /$Regexp_Gate/o)) { print LOG_OUT "${wholething}"; } } } } } if ($XML_Output) { print LOG_OUT "\n"; } close (LOG_OUT); if (! $Output_To_Stdout) { # If accumulating, append old data to new before renaming. But # don't append the most recent entry, since it's already in the # new log due to CVS's idiosyncratic interpretation of "log -d". if ($Cumulative && -f $logfile_here) { open (NEW_LOG, ">>$tmpfile") or die "trouble appending to $tmpfile ($!)"; open (OLD_LOG, "<$logfile_here") or die "trouble reading from $logfile_here ($!)"; my $started_first_entry = 0; my $passed_first_entry = 0; while () { if (! $passed_first_entry) { if ((! $started_first_entry) && /^(\d\d\d\d-\d\d-\d\d\s+\d\d:\d\d)/) { $started_first_entry = 1; } elsif (/^(\d\d\d\d-\d\d-\d\d\s+\d\d:\d\d)/) { $passed_first_entry = 1; print NEW_LOG $_; } } else { print NEW_LOG $_; } } close (NEW_LOG); close (OLD_LOG); } if (-f $logfile_here) { rename ($logfile_here, $logfile_bak); } rename ($tmpfile, $logfile_here); } } } sub parse_date_and_author () { # Parses the date/time and author out of a line like: # # date: 1999/02/19 23:29:05; author: apharris; state: Exp; my $line = shift; my ($year, $mon, $mday, $hours, $min, $secs, $author) = $line =~ m#(\d+)/(\d+)/(\d+)\s+(\d+):(\d+):(\d+);\s+author:\s+([^;]+);# or die "Couldn't parse date ``$line''"; die "Bad date or Y2K issues" unless ($year > 1969 and $year < 2258); # Kinda arbitrary, but useful as a sanity check my $time = timegm($secs,$min,$hours,$mday,$mon-1,$year-1900); return ($time, $author); } # Here we take a bunch of qunks and convert them into printed # summary that will include all the information the user asked for. sub pretty_file_list () { if ($Hide_Filenames and (! $XML_Output)) { return ""; } my $qunksref = shift; my @qunkrefs = @$qunksref; my @filenames; my $beauty = ""; # The accumulating header string for this entry. my %non_unanimous_tags; # Tags found in a proper subset of qunks my %unanimous_tags; # Tags found in all qunks my %all_branches; # Branches found in any qunk my $common_dir = undef; # Dir prefix common to all files ("" if none) my $fbegun = 0; # Did we begin printing filenames yet? # First, loop over the qunks gathering all the tag/branch names. # We'll put them all in non_unanimous_tags, and take out the # unanimous ones later. foreach my $qunkref (@qunkrefs) { # Keep track of whether all the files in this commit were in the # same directory, and memorize it if so. We can make the output a # little more compact by mentioning the directory only once. if ((scalar (@qunkrefs)) > 1) { if (! (defined ($common_dir))) { my ($base, $dir); ($base, $dir, undef) = fileparse ($$qunkref{'filename'}); if ((! (defined ($dir))) # this first case is sheer paranoia or ($dir eq "") or ($dir eq "./") or ($dir eq ".\\")) { $common_dir = ""; } else { $common_dir = $dir; } } elsif ($common_dir ne "") { # Already have a common dir prefix, so how much of it can we preserve? $common_dir = &common_path_prefix ($$qunkref{'filename'}, $common_dir); } } else # only one file in this entry anyway, so common dir not an issue { $common_dir = ""; } if (defined ($$qunkref{'branch'})) { $all_branches{$$qunkref{'branch'}} = 1; } if (defined ($$qunkref{'tags'})) { foreach my $tag (@{$$qunkref{'tags'}}) { $non_unanimous_tags{$tag} = 1; } } } # Any tag held by all qunks will be printed specially... but only if # there are multiple qunks in the first place! if ((scalar (@qunkrefs)) > 1) { foreach my $tag (keys (%non_unanimous_tags)) { my $everyone_has_this_tag = 1; foreach my $qunkref (@qunkrefs) { if ((! (defined ($$qunkref{'tags'}))) or (! (grep ($_ eq $tag, @{$$qunkref{'tags'}})))) { $everyone_has_this_tag = 0; } } if ($everyone_has_this_tag) { $unanimous_tags{$tag} = 1; delete $non_unanimous_tags{$tag}; } } } if ($XML_Output) { # If outputting XML, then our task is pretty simple, because we # don't have to detect common dir, common tags, branch prefixing, # etc. We just output exactly what we have, and don't worry about # redundancy or readability. foreach my $qunkref (@qunkrefs) { my $filename = $$qunkref{'filename'}; my $revision = $$qunkref{'revision'}; my $tags = $$qunkref{'tags'}; my $branch = $$qunkref{'branch'}; my $branchroots = $$qunkref{'branchroots'}; $filename = &xml_escape ($filename); # probably paranoia $revision = &xml_escape ($revision); # definitely paranoia $beauty .= "\n"; $beauty .= "${filename}\n"; $beauty .= "${revision}\n"; if ($branch) { $branch = &xml_escape ($branch); # more paranoia $beauty .= "${branch}\n"; } foreach my $tag (@$tags) { $tag = &xml_escape ($tag); # by now you're used to the paranoia $beauty .= "${tag}\n"; } foreach my $root (@$branchroots) { $root = &xml_escape ($root); # which is good, because it will continue $beauty .= "${root}\n"; } $beauty .= "\n"; } # Theoretically, we could go home now. But as long as we're here, # let's print out the common_dir and utags, as a convenience to # the receiver (after all, earlier code calculated that stuff # anyway, so we might as well take advantage of it). if ((scalar (keys (%unanimous_tags))) > 1) { foreach my $utag ((keys (%unanimous_tags))) { $utag = &xml_escape ($utag); # the usual paranoia $beauty .= "${utag}\n"; } } if ($common_dir) { $common_dir = &xml_escape ($common_dir); $beauty .= "${common_dir}\n"; } # That's enough for XML, time to go home: return $beauty; } # Else not XML output, so complexly compactify for chordate # consumption. At this point we have enough global information # about all the qunks to organize them non-redundantly for output. if ($common_dir) { # Note that $common_dir still has its trailing slash $beauty .= "$common_dir: "; } if ($Show_Branches) { # For trailing revision numbers. my @brevisions; foreach my $branch (keys (%all_branches)) { foreach my $qunkref (@qunkrefs) { if ((defined ($$qunkref{'branch'})) and ($$qunkref{'branch'} eq $branch)) { if ($fbegun) { # kff todo: comma-delimited in XML too? Sure. $beauty .= ", "; } else { $fbegun = 1; } my $fname = substr ($$qunkref{'filename'}, length ($common_dir)); $beauty .= $fname; $$qunkref{'printed'} = 1; # Just setting a mark bit, basically if ($Show_Tags && (defined @{$$qunkref{'tags'}})) { my @tags = grep ($non_unanimous_tags{$_}, @{$$qunkref{'tags'}}); if (@tags) { $beauty .= " (tags: "; $beauty .= join (', ', @tags); $beauty .= ")"; } } if ($Show_Revisions) { # Collect the revision numbers' last components, but don't # print them -- they'll get printed with the branch name # later. $$qunkref{'revision'} =~ /.+\.([\d]+)$/; push (@brevisions, $1); # todo: we're still collecting branch roots, but we're not # showing them anywhere. If we do show them, it would be # nifty to just call them revision "0" on a the branch. # Yeah, that's the ticket. } } } $beauty .= " ($branch"; if (@brevisions) { if ((scalar (@brevisions)) > 1) { $beauty .= ".["; $beauty .= (join (',', @brevisions)); $beauty .= "]"; } else { $beauty .= ".$brevisions[0]"; } } $beauty .= ")"; } } # Okay; any qunks that were done according to branch are taken care # of, and marked as printed. Now print everyone else. foreach my $qunkref (@qunkrefs) { next if (defined ($$qunkref{'printed'})); # skip if already printed if ($fbegun) { $beauty .= ", "; } else { $fbegun = 1; } $beauty .= substr ($$qunkref{'filename'}, length ($common_dir)); # todo: Shlomo's change was this: # $beauty .= substr ($$qunkref{'filename'}, # (($common_dir eq "./") ? "" : length ($common_dir))); $$qunkref{'printed'} = 1; # Set a mark bit. if ($Show_Revisions || $Show_Tags) { my $started_addendum = 0; if ($Show_Revisions) { $started_addendum = 1; $beauty .= " ("; $beauty .= "$$qunkref{'revision'}"; } if ($Show_Tags && (defined $$qunkref{'tags'})) { my @tags = grep ($non_unanimous_tags{$_}, @{$$qunkref{'tags'}}); if ((scalar (@tags)) > 0) { if ($started_addendum) { $beauty .= ", "; } else { $beauty .= " (tags: "; } $beauty .= join (', ', @tags); $started_addendum = 1; } } if ($started_addendum) { $beauty .= ")"; } } } # Unanimous tags always come last. if ($Show_Tags && %unanimous_tags) { $beauty .= " (utags: "; $beauty .= join (', ', keys (%unanimous_tags)); $beauty .= ")"; } # todo: still have to take care of branch_roots? $beauty = "* $beauty:"; return $beauty; } sub common_path_prefix () { my $path1 = shift; my $path2 = shift; my ($dir1, $dir2); (undef, $dir1, undef) = fileparse ($path1); (undef, $dir2, undef) = fileparse ($path2); # Transmogrify Windows filenames to look like Unix. # (It is far more likely that someone is running cvs2cl.pl under # Windows than that they would genuinely have backslashes in their # filenames.) $dir1 =~ tr#\\#/#; $dir2 =~ tr#\\#/#; my $accum1 = ""; my $accum2 = ""; my $last_common_prefix = ""; while ($accum1 eq $accum2) { $last_common_prefix = $accum1; last if ($accum1 eq $dir1); my ($tmp1) = split (/\//, (substr ($dir1, length ($accum1)))); my ($tmp2) = split (/\//, (substr ($dir2, length ($accum2)))); $accum1 .= "$tmp1/" if ((defined ($tmp1)) and $tmp1); $accum2 .= "$tmp2/" if ((defined ($tmp2)) and $tmp2); } return $last_common_prefix; } sub preprocess_msg_text () { my $text = shift; # Strip out carriage returns (as they probably result from DOSsy editors). $text =~ s/\r\n/\n/g; # If it *looks* like two newlines, make it *be* two newlines: $text =~ s/\n\s*\n/\n\n/g; if ($XML_Output) { $text = &xml_escape ($text); $text = "${text}\n"; } elsif (! $No_Wrap) { # Strip off lone newlines, but only for lines that don't begin with # whitespace or a mail-quoting character, since we want to preserve # that kind of formatting. Also don't strip newlines that follow a # period; we handle those specially next. And don't strip # newlines that precede an open paren. 1 while ($text =~ s/(^|\n)([^>\s].*[^.\n])\n([^>\n])/$1$2 $3/g); # If a newline follows a period, make sure that when we bring up the # bottom sentence, it begins with two spaces. 1 while ($text =~ s/(^|\n)([^>\s].*)\n([^>\n])/$1$2 $3/g); } return $text; } sub last_line_len () { my $files_list = shift; my @lines = split (/\n/, $files_list); my $last_line = pop (@lines); return length ($last_line); } # A custom wrap function, sensitive to some common constructs used in # log entries. sub wrap_log_entry () { my $text = shift; # The text to wrap. my $left_pad_str = shift; # String to pad with on the left. # These do NOT take left_pad_str into account: my $length_remaining = shift; # Amount left on current line. my $max_line_length = shift; # Amount left for a blank line. my $wrapped_text = ""; # The accumulating wrapped entry. my $user_indent = ""; # Inherited user_indent from prev line. my $first_time = 1; # First iteration of the loop? my $suppress_line_start_match = 0; # Set to disable line start checks. my @lines = split (/\n/, $text); while (@lines) # Don't use `foreach' here, it won't work. { my $this_line = shift (@lines); chomp $this_line; if ($this_line =~ /^(\s+)/) { $user_indent = $1; } else { $user_indent = ""; } # If it matches any of the line-start regexps, print a newline now... if ($suppress_line_start_match) { $suppress_line_start_match = 0; } elsif (($this_line =~ /^(\s*)\*\s+[a-zA-Z0-9]/) || ($this_line =~ /^(\s*)\* [a-zA-Z0-9_\.\/\+-]+/) || ($this_line =~ /^(\s*)\([a-zA-Z0-9_\.\/\+-]+(\)|,\s*)/) || ($this_line =~ /^(\s+)(\S+)/) || ($this_line =~ /^(\s*)- +/) || ($this_line =~ /^()\s*$/) || ($this_line =~ /^(\s*)\*\) +/) || ($this_line =~ /^(\s*)[a-zA-Z0-9](\)|\.|\:) +/)) { # Make a line break immediately, unless header separator is set # and this line is the first line in the entry, in which case # we're getting the blank line for free already and shouldn't # add an extra one. unless (($After_Header ne " ") and ($first_time)) { if ($this_line =~ /^()\s*$/) { $suppress_line_start_match = 1; $wrapped_text .= "\n${left_pad_str}"; } $wrapped_text .= "\n${left_pad_str}"; } $length_remaining = $max_line_length - (length ($user_indent)); } # Now that any user_indent has been preserved, strip off leading # whitespace, so up-folding has no ugly side-effects. $this_line =~ s/^\s*//; # Accumulate the line, and adjust parameters for next line. my $this_len = length ($this_line); if ($this_len == 0) { # Blank lines should cancel any user_indent level. $user_indent = ""; $length_remaining = $max_line_length; } elsif ($this_len >= $length_remaining) # Line too long, try breaking it. { # Walk backwards from the end. At first acceptable spot, break # a new line. my $idx = $length_remaining - 1; if ($idx < 0) { $idx = 0 }; while ($idx > 0) { if (substr ($this_line, $idx, 1) =~ /\s/) { my $line_now = substr ($this_line, 0, $idx); my $next_line = substr ($this_line, $idx); $this_line = $line_now; # Clean whitespace off the end. chomp $this_line; # The current line is ready to be printed. $this_line .= "\n${left_pad_str}"; # Make sure the next line is allowed full room. $length_remaining = $max_line_length - (length ($user_indent)); # Strip next_line, but then preserve any user_indent. $next_line =~ s/^\s*//; # Sneak a peek at the user_indent of the upcoming line, so # $next_line (which will now precede it) can inherit that # indent level. Otherwise, use whatever user_indent level # we currently have, which might be none. my $next_next_line = shift (@lines); if ((defined ($next_next_line)) && ($next_next_line =~ /^(\s+)/)) { $next_line = $1 . $next_line if (defined ($1)); # $length_remaining = $max_line_length - (length ($1)); $next_next_line =~ s/^\s*//; } else { $next_line = $user_indent . $next_line; } if (defined ($next_next_line)) { unshift (@lines, $next_next_line); } unshift (@lines, $next_line); # Our new next line might, coincidentally, begin with one of # the line-start regexps, so we temporarily turn off # sensitivity to that until we're past the line. $suppress_line_start_match = 1; last; } else { $idx--; } } if ($idx == 0) { # We bottomed out because the line is longer than the # available space. But that could be because the space is # small, or because the line is longer than even the maximum # possible space. Handle both cases below. if ($length_remaining == ($max_line_length - (length ($user_indent)))) { # The line is simply too long -- there is no hope of ever # breaking it nicely, so just insert it verbatim, with # appropriate padding. $this_line = "\n${left_pad_str}${this_line}"; } else { # Can't break it here, but may be able to on the next round... unshift (@lines, $this_line); $length_remaining = $max_line_length - (length ($user_indent)); $this_line = "\n${left_pad_str}"; } } } else # $this_len < $length_remaining, so tack on what we can. { # Leave a note for the next iteration. $length_remaining = $length_remaining - $this_len; if ($this_line =~ /\.$/) { $this_line .= " "; $length_remaining -= 2; } else # not a sentence end { $this_line .= " "; $length_remaining -= 1; } } # Unconditionally indicate that loop has run at least once. $first_time = 0; $wrapped_text .= "${user_indent}${this_line}"; } # One last bit of padding. $wrapped_text .= "\n"; return $wrapped_text; } sub xml_escape () { my $txt = shift; $txt =~ s/&/&/g; $txt =~ s//>/g; return $txt; } sub maybe_read_user_map_file () { my %expansions; if ($User_Map_File) { open (MAPFILE, "<$User_Map_File") or die ("Unable to open $User_Map_File ($!)"); while () { next if /^\s*#/; # Skip comment lines. next if not /:/; # Skip lines without colons. # It is now safe to split on ':'. my ($username, $expansion) = split ':'; chomp $expansion; $expansion =~ s/^'(.*)'$/$1/; $expansion =~ s/^"(.*)"$/$1/; # If it looks like the expansion has a real name already, then # we toss the username we got from CVS log. Otherwise, keep # it to use in combination with the email address. if ($expansion =~ /^\s*<{0,1}\S+@.*/) { # Also, add angle brackets if none present if (! ($expansion =~ /<\S+@\S+>/)) { $expansions{$username} = "$username <$expansion>"; } else { $expansions{$username} = "$username $expansion"; } } else { $expansions{$username} = $expansion; } } close (MAPFILE); } return %expansions; } sub parse_options () { # Check this internally before setting the global variable. my $output_file; # If this gets set, we encountered unknown options and will exit at # the end of this subroutine. my $exit_with_admonishment = 0; while (my $arg = shift (@ARGV)) { if ($arg =~ /^-h$|^-help$|^--help$|^--usage$|^-?$/) { $Print_Usage = 1; } elsif ($arg =~ /^--debug$/) { # unadvertised option, heh $Debug = 1; } elsif ($arg =~ /^--version$/) { $Print_Version = 1; } elsif ($arg =~ /^-g$|^--global-opts$/) { my $narg = shift (@ARGV) || die "$arg needs argument.\n"; # Don't assume CVS is called "cvs" on the user's system: $Log_Source_Command =~ s/(^\S*)/$1 $narg/; } elsif ($arg =~ /^-l$|^--log-opts$/) { my $narg = shift (@ARGV) || die "$arg needs argument.\n"; $Log_Source_Command .= " $narg"; } elsif ($arg =~ /^-f$|^--file$/) { my $narg = shift (@ARGV) || die "$arg needs argument.\n"; $output_file = $narg; } elsif ($arg =~ /^--accum$/) { $Cumulative = 1; } elsif ($arg =~ /^--fsf$/) { $FSF_Style = 1; } elsif ($arg =~ /^-U$|^--usermap$/) { my $narg = shift (@ARGV) || die "$arg needs argument.\n"; $User_Map_File = $narg; } elsif ($arg =~ /^-W$|^--window$/) { my $narg = shift (@ARGV) || die "$arg needs argument.\n"; $Max_Checkin_Duration = $narg; } elsif ($arg =~ /^-I$|^--ignore$/) { my $narg = shift (@ARGV) || die "$arg needs argument.\n"; push (@Ignore_Files, $narg); } elsif ($arg =~ /^-C$|^--case-insensitive$/) { $Case_Insensitive = 1; } elsif ($arg =~ /^-R$|^--regexp$/) { my $narg = shift (@ARGV) || die "$arg needs argument.\n"; $Regexp_Gate = $narg; } elsif ($arg =~ /^--stdout$/) { $Output_To_Stdout = 1; } elsif ($arg =~ /^--version$/) { $Print_Version = 1; } elsif ($arg =~ /^-d$|^--distributed$/) { $Distributed = 1; } elsif ($arg =~ /^-P$|^--prune$/) { $Prune_Empty_Msgs = 1; } elsif ($arg =~ /^-S$|^--separate-header$/) { $After_Header = "\n\n"; } elsif ($arg =~ /^--no-wrap$/) { $No_Wrap = 1; } elsif ($arg =~ /^--gmt$|^--utc$/) { $UTC_Times = 1; } elsif ($arg =~ /^-w$|^--day-of-week$/) { $Show_Day_Of_Week = 1; } elsif ($arg =~ /^-r$|^--revisions$/) { $Show_Revisions = 1; } elsif ($arg =~ /^-t$|^--tags$/) { $Show_Tags = 1; } elsif ($arg =~ /^-b$|^--branches$/) { $Show_Branches = 1; } elsif ($arg =~ /^-F$|^--follow$/) { my $narg = shift (@ARGV) || die "$arg needs argument.\n"; push (@Follow_Branches, $narg); } elsif ($arg =~ /^--stdin$/) { $Input_From_Stdin = 1; } elsif ($arg =~ /^--header$/) { my $narg = shift (@ARGV) || die "$arg needs argument.\n"; $ChangeLog_Header = &slurp_file ($narg); if (! defined ($ChangeLog_Header)) { $ChangeLog_Header = ""; } } elsif ($arg =~ /^--xml$/) { $XML_Output = 1; } elsif ($arg =~ /^--hide-filenames$/) { $Hide_Filenames = 1; $After_Header = ""; } else { # Just add a filename as argument to the log command $Log_Source_Command .= " $arg"; } } ## Check for contradictions... if ($Output_To_Stdout && $Distributed) { print STDERR "cannot pass both --stdout and --distributed\n"; $exit_with_admonishment = 1; } if ($Output_To_Stdout && $output_file) { print STDERR "cannot pass both --stdout and --file\n"; $exit_with_admonishment = 1; } if ($XML_Output && $Cumulative) { print STDERR "cannot pass both --xml and --accum\n"; $exit_with_admonishment = 1; } # Or if any other error message has already been printed out, we # just leave now: if ($exit_with_admonishment) { &usage (); exit (1); } elsif ($Print_Usage) { &usage (); exit (0); } elsif ($Print_Version) { &version (); exit (0); } ## Else no problems, so proceed. if ($output_file) { $Log_File_Name = $output_file; } } sub slurp_file () { my $filename = shift || die ("no filename passed to slurp_file()"); my $retstr; open (SLURPEE, "<${filename}") or die ("unable to open $filename ($!)"); my $saved_sep = $/; undef $/; $retstr = ; $/ = $saved_sep; close (SLURPEE); return $retstr; } sub debug () { if ($Debug) { my $msg = shift; print STDERR $msg; } } sub version () { print "cvs2cl.pl version ${VERSION}; distributed under the GNU GPL.\n"; } sub usage () { &version (); print <<'END_OF_INFO'; Generate GNU-style ChangeLogs in CVS working copies. Notes about the output format(s): The default output of cvs2cl.pl is designed to be compact, formally unambiguous, but still easy for humans to read. It is largely self-explanatory, I hope; the one abbreviation that might not be obvious is "utags". That stands for "universal tags" -- a universal tag is one held by all the files in a given change entry. If you need output that's easy for a program to parse, use the --xml option. Note that with XML output, just about all available information is included with each change entry, whether you asked for it or not, on the theory that your parser can ignore anything it's not looking for. Notes about the options and arguments (the actual options are listed last in this usage message): * The -I and -F options may appear multiple times. * To follow trunk revisions, use "-F trunk" ("-F TRUNK" also works). This is okay because no would ever, ever be crazy enough to name a branch "trunk", right? Right. * For the -U option, the UFILE should be formatted like CVSROOT/users. That is, each line of UFILE looks like this jrandom:jrandom@red-bean.com or maybe even like this jrandom:'Jesse Q. Random ' Don't forget to quote the portion after the colon if necessary. * Many people want to filter by date. To do so, invoke cvs2cl.pl like this: cvs2cl.pl -l "-d'DATESPEC'" where DATESPEC is any date specification valid for "cvs log -d". (Note that CVS 1.10.7 and below requires there be no space between -d and its argument). Options/Arguments: -h, -help, --help, or -? Show this usage and exit --version Show version and exit -r, --revisions Show revision numbers in output -b, --branches Show branch names in revisions when possible -t, --tags Show tags (symbolic names) in output --stdin Read from stdin, don't run cvs log --stdout Output to stdout not to ChangeLog -d, --distributed Put ChangeLogs in subdirs -f FILE, --file FILE Write to FILE instead of "ChangeLog" --fsf Use this if log data is in FSF ChangeLog style -W SECS, --window SECS Window of time within which log entries unify -U UFILE, --usermap UFILE Expand usernames to email addresses from UFILE -R REGEXP, --regexp REGEXP Include only entries that match REGEXP -I REGEXP, --ignore REGEXP Ignore files whose names match REGEXP -C, --case-insensitive Any regexp matching is done case-insensitively -F BRANCH, --follow BRANCH Show only revisions on or ancestral to BRANCH -S, --separate-header Blank line between each header and log message --no-wrap Don't auto-wrap log message (recommend -S also) --gmt, --utc Show times in GMT/UTC instead of local time --accum Add to an existing ChangeLog (incompat w/ --xml) -w, --day-of-week Show day of week --header FILE Get ChangeLog header from FILE ("-" means stdin) --xml Output XML instead of ChangeLog format --hide-filenames Don't show filenames (ignored for XML output) -P, --prune Don't show empty log messages -g OPTS, --global-opts OPTS Invoke like this "cvs OPTS log ..." -l OPTS, --log-opts OPTS Invoke like this "cvs ... log OPTS" FILE1 [FILE2 ...] Show only log information for the named FILE(s) See http://www.red-bean.com/cvs2cl for maintenance and bug info. END_OF_INFO } __END__ =head1 NAME cvs2cl.pl - produces GNU-style ChangeLogs in CVS working copies, by running "cvs log" and parsing the output. Shared log entries are unified in an intuitive way. =head1 DESCRIPTION This script generates GNU-style ChangeLog files from CVS log information. Basic usage: just run it inside a working copy and a ChangeLog will appear. It requires repository access (i.e., 'cvs log' must work). Run "cvs2cl.pl --help" to see more advanced options. See http://www.red-bean.com/cvs2cl for updates, and for instructions on getting anonymous CVS access to this script. Maintainer: Karl Fogel Please report bugs to . =head1 README This script generates GNU-style ChangeLog files from CVS log information. Basic usage: just run it inside a working copy and a ChangeLog will appear. It requires repository access (i.e., 'cvs log' must work). Run "cvs2cl.pl --help" to see more advanced options. See http://www.red-bean.com/cvs2cl for updates, and for instructions on getting anonymous CVS access to this script. Maintainer: Karl Fogel Please report bugs to . =head1 PREREQUISITES This script requires C, C, and C. It also seems to require C or higher. =pod OSNAMES any =pod SCRIPT CATEGORIES Version_Control/CVS =cut -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- Note about a bug-slash-opportunity: ----------------------------------- There's a bug in Text::Wrap, which affects cvs2cl. This script reveals it: #!/usr/bin/perl -w use Text::Wrap; my $test_text = "This script demonstrates a bug in Text::Wrap. The very long line following this paragraph will be relocated relative to the surrounding text: ==================================================================== See? When the bug happens, we'll get the line of equal signs below this paragraph, even though it should be above."; # Print out the test text with no wrapping: print "$test_text"; print "\n"; print "\n"; # Now print it out wrapped, and see the bug: print wrap ("\t", " ", "$test_text"); print "\n"; print "\n"; If the line of equal signs were one shorter, then the bug doesn't happen. Interesting. Anyway, rather than fix this in Text::Wrap, we might as well write a new wrap() which has the following much-needed features: * initial indentation, like current Text::Wrap() * subsequent line indentation, like current Text::Wrap() * user chooses among: force-break long words, leave them alone, or die()? * preserve existing indentation: chopped chunks from an indented line are indented by same (like this line, not counting the asterisk!) * optional list of things to preserve on line starts, default ">" Note that the last two are essentially the same concept, so unify in implementation and give a good interface to controlling them. And how about: Optionally, when encounter a line pre-indented by same as previous line, then strip the newline and refill, but indent by the same. Yeah... phpmole/tools/php_win.c0000755000175000017500000000241007435573672015364 0ustar alanalan00000000000000#include #include #include #include int WINAPI WinMain( HINSTANCE hInstance, // handle to current instance HINSTANCE hPrevInstance, // handle to previous instance LPSTR lpCmdLine, // pointer to command line int nCmdShow // show state of window ) { char *args[4], *prog = NULL; char pathbuffer[_MAX_PATH]; char searchfile[] = "php.exe"; char envvar[] = "PATH"; char *path = getenv("PATH"); char newpath[2048]; char newfile[2048]; char default_php_file[] = " phpmole-ide.php "; sprintf(newfile,"%s %s", default_php_file,lpCmdLine); sprintf(newpath, "PATH=c:\\php4;d:\\php4;%s ", path); putenv(newpath); /* if (strlen(lpCmdLine) == 0) MessageBox(NULL, "Usage: php_win \n", "Error", MB_OK); */ if (!(prog = getenv("PHP_BIN"))) { _searchenv( searchfile, envvar, pathbuffer ); if (strlen(pathbuffer)) prog = pathbuffer; } args[0] = prog; args[1] = "-q"; args[2] = newfile; args[3] = NULL; if (prog) return _spawnvp(_P_DETACH, prog, args); else { MessageBox(NULL, "PHP.EXE was not found.", "Error", MB_OK); return -1; } }phpmole/tools/devhelp_to_dbm.php0000755000175000017500000000624407463403342017234 0ustar alanalan00000000000000#!/usr/bin/php parser = &new parser_XML(); $this->parser->data = implode("",file($this->file)); $this->parser->skip_empty =1; $this->parser->expat_parse(); //$this->add_to_books(); $this->build_tree(); } function build_tree() { $tree_filename = "{$this->basedir}/{$this->book}_tree.dbm"; $pages_filename = "{$this->basedir}/{$this->book}_pages.dbm"; $funcs_filename = "{$this->basedir}/{$this->book}_funcs.dbm"; @unlink($tree_filename); @unlink($pages_filename); @unlink($funcs_filename); echo "SAVING TO $tree_filename\n$pages_filename\n$funcs_filename\n"; $this->dbtree = dba_open($tree_filename ,"c",$this->dbm_handler); $this->dbpages = dba_open($pages_filename ,"c",$this->dbm_handler); $this->dbfuncs = dba_open($funcs_filename ,"c",$this->dbm_handler); $i = 0; $this->parent=0; $this->add_to_tree($i); dba_close($this->dbtree); dba_close($this->dbpages); } function add_to_tree($i) { $item = &$this->parser->htmltree[$i]; switch ($item->title) { case "SUB": if ($item->children) dba_replace($i, implode(",",$item->children),$this->dbtree); dba_replace($i, $item->attributes["NAME"] . "\t" . $item->attributes["LINK"] , $this->dbpages ); break; case "BOOK": dba_replace($i, implode(",",$item->children),$this->dbtree); if (!$item->attributes["DEFAULT_URL"]) $item->attributes["DEFAULT_URL"] = $item->attributes["BASE"]; dba_replace($i, $item->attributes["TITLE"] . "\t" . $item->attributes["DEFAULT_URL"] , $this->dbpages ); $this->book_id = $i; break; case "FUNCTION": dba_replace($item->attributes["NAME"] , $item->attributes["LINK"] , $this->dbfuncs ); break; case "CHAPTERS": dba_replace($this->book_id, implode(",",$item->children),$this->dbtree); break; } foreach($this->parser->htmltree[$i]->children as $k) $this->add_to_tree($k); } function read_books() { $this->basedir = dirname(__FILE__)."/../help"; $dir = "{$this->basedir}/specs"; $dh = opendir($dir); while (($this->book = readdir($dh)) !== FALSE) { if ($this->book{0} == ".") continue; $this->file = $dir . "/". $this->book; $this->parse_file(); } } } $t = &new devhelp_to_dbm(); $t->read_books(); ?> phpmole/tools/web_get.php0000755000175000017500000002060307447114043015667 0ustar alanalan00000000000000filename) return; if (!@file_exists($this->filename)) return; $mimetype = $this->mime_guess($this->filename); $this->postarray["new[mimetype]"] = $mimetype; $urla = eregi_replace("http[s]*:\/\/", "", $this->URL); $a = strpos( $urla,"/"); $host = substr($urla,0,$a); $location = substr($urla,$a+1); $boundary = "phpmole".md5(time()); $fh = fopen($this->filename,"r"); $data = fread($fh,filesize($this->filename)); fclose($fh); $body ="--$boundary\r\n"; foreach ($this->postarray as $k => $v) { $body .= "Content-Disposition: form-data; name=\"".urldecode($k) . "\"\r\n\r\n". $v . "\r\n". "--$boundary\r\n"; } $body .= "Content-Disposition: form-data; name=\"test\"; filename=\"".basename($this->filename)."\"\r\n" . "Content-Type: $mimetype\r\n" . "Content-Transfer-Encoding: base64\r\n\r\n" . chunk_split(base64_encode($data)) . "\r\n". "--$boundary--\r\n\r\n"; $headers = "POST /$location HTTP/1.1\r\n" . "Authorization: Basic " . base64_encode($this->username.":".$this->password) . "\r\n". "User-Agent: phpmole\r\n". "Host: $host:80\r\n". "Pragma: no-cache\r\n". "Expect: 100-continue\r\n". "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r\n". "Content-Length: ". strlen($body)."\r\n". "Content-Type: multipart/form-data; boundary=$boundary\r\n\r\n"; return $headers. $body; } function get() { //debug_echo("curl: $URL, $postarray, $filename"); //echo "curl : $URL\n"; $ch = curl_init(); $poststring = ""; if ($this->postarray && is_array($this->postarray)) foreach ($this->postarray as $k => $v) { if (!is_array($v)) { $poststring .= "&" .urlencode($k)."=". urlencode($v); continue; } // its an array - post values as $k[0] if (count($v)) { for ($i=0;$i< count($v);$i++) { if (!is_array($v[$i])) { $poststring .= "&" .urlencode($k)."%5B".$i."%5D=". urlencode($v[$i]); continue; } if (count($v[$i])) for ($j=0;$jfilename); $poststring = substr($poststring,1); if ($headers = $this->curl_upload_headers()) { curl_setopt($ch,CURLOPT_CUSTOMREQUEST, $headers); //debug_echo ($headers ); } else { curl_setopt ($ch, CURLOPT_POSTFIELDS, $poststring); curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"); if ($this->username) curl_setopt ($ch, CURLOPT_USERPWD,$this->username.":".$this->password); } curl_setopt ($ch, CURLOPT_URL, $this->URL); curl_setopt ($ch, CURLOPT_SSLVERSION, 3); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 1); curl_setopt ($ch, CURLOPT_WRITEFUNCTION, array(&$this,"curl_read")); curl_setopt ($ch, CURLOPT_HEADERFUNCTION, array(&$this,"curl_header_read")); $this->debug("EXEC"); $this->result_string = ""; $result = curl_exec ($ch); $r = curl_error($ch); if ($r) $this->result_string = $r; $this->curlinfo = curl_getinfo($ch); curl_close($ch); $this->debug(serialize($this->curlinfo)); return; } function curl_read($ch,$string) { $len = strlen($string); if (class_exists("gtk")) while (gtk::events_pending()) gtk::main_iteration(); $this->result_string .= $string; $this->emit($string); //echo "GOT $string"; return $len; } function curl_header_read($ch,$string) { $len = strlen($string); if (class_exists("gtk")) while (gtk::events_pending()) gtk::main_iteration(); //$this->result_string .= $string; //$this->emit($string); echo "HEADER: GOT $string\n"; return $len;//$len; } var $_counter = 0; // sequence counter var $_id; // id recieved from request function emit(&$string) { if (!$this->return_chunks) return; $this->_counter++; dba_replace("{$this->_id}:{$this->_counter}",$string,$this->dba_handle); } function start() { $homedir = getenv("HOME"); if (substr(PHP_OS, 0, 3) == 'WIN') $homedir = "C:\Program Files"; $this->dba_handle = dba_open($homedir . "/.phpmole-IDE/phpmole_IPC_in.dbm", "w","db2"); $data = dba_fetch($this->_id,$this->dba_handle); if (!$data) { echo "FAIL TO GET {$this->_id}\n"; exit; } $request = unserialize($data); $object_vars = get_object_vars($request); foreach($object_vars as $k=>$v) { echo "SETTING $k to $v\n"; $this->$k = $v; } $this->dba_handle = dba_open($homedir . "/.phpmole-IDE/phpmole_IPC_out.dbm", "c","db2"); $this->get(); if (!$this->return_chunks) dba_replace("{$this->_id}:0",$this->result_string,$this->dba_handle); dba_close($this->dba_handle); /* delete the key !*/ exit; $this->dba_handle = dba_open($homedir . "/.phpmole-IDE/phpmole_IPC_in.dbm", "w","db2"); dba_delete($this->_id,$this->dba_handle); dba_close($this->dba_handle); } /* * static start, open the dba file, * get the request_object (deserialize) */ function static_start($request_id) { $fetch = &new phpmole_webfetch(); $fetch->_id = $request_id; $fetch->start(); } function static_start_url($URL) { $fetch = &new phpmole_webfetch(); $fetch->URL = $URL; $fetch->get(); return $fetch->result_string; } function debug($s) { echo "$s\n"; } } $a = trim($argv[count($argv)-1]); if ($a{0} != "h") { phpmole_webfetch::static_start(); exit; } echo phpmole_webfetch::static_start_url($a); echo "\n"; ?> phpmole/tools/webtest.php0000755000175000017500000000113107447107626015734 0ustar alanalan00000000000000dba_handle = dba_open($homedir . "/.phpmole-IDE/phpmole_IPC_in.dbm", "c","db2"); // $id = simple_microtime().":".posix_getpid(); $request = new StdClass; $request->URL="http://www.akbkhome.com"; $request->return_chunks=1; dba_replace($id,serialize($request),$this->dba_handle); dba_close($this->dba_handle); ?>phpmole/tools/phpcodedoc/0002755000175000017500000000000007641002067015646 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/CVS/0002755000175000017500000000000007641002067016301 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/CVS/Root0000644000175000017500000000010107616664671017156 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/tools/phpcodedoc/CVS/Repository0000644000175000017500000000003107616664671020414 0ustar alanalan00000000000000phpmole/tools/phpcodedoc phpmole/tools/phpcodedoc/CVS/Entries0000644000175000017500000000005607616665125017650 0ustar alanalan00000000000000D/Template//// D/compiled//// D/templates//// phpmole/tools/phpcodedoc/CVS/.mappedfiles/0002755000175000017500000000000007641002067020650 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002067024150 2Repositoryustar alanalan00000000000000phpmole/tools/phpcodedoc/Template/0002755000175000017500000000000007616664744017443 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/Template/CVS/0002755000175000017500000000000007641002067020054 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/Template/CVS/Root0000644000175000017500000000010107616664672020732 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/tools/phpcodedoc/Template/CVS/Repository0000644000175000017500000000004207616664672022172 0ustar alanalan00000000000000phpmole/tools/phpcodedoc/Template phpmole/tools/phpcodedoc/Template/CVS/Entries0000644000175000017500000000000207616665125021412 0ustar alanalan00000000000000D phpmole/tools/phpcodedoc/Template/CVS/.mappedfiles/0002755000175000017500000000000007641002067022423 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/Template/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002067025723 2Repositoryustar alanalan00000000000000phpmole/tools/phpcodedoc/.mappedfiles/0002755000175000017500000000000007641002067020215 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/.mappedfiles/TEMPLA~10000777000175000017500000000000007641002067023315 2templatesustar alanalan00000000000000phpmole/tools/phpcodedoc/compiled/0002755000175000017500000000000007616665047017461 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/compiled/CVS/0002755000175000017500000000000007641002067020075 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/compiled/CVS/Root0000644000175000017500000000010107616664672020753 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/tools/phpcodedoc/compiled/CVS/Repository0000644000175000017500000000004207616664672022213 0ustar alanalan00000000000000phpmole/tools/phpcodedoc/compiled phpmole/tools/phpcodedoc/compiled/CVS/Entries0000644000175000017500000000000207616665127021435 0ustar alanalan00000000000000D phpmole/tools/phpcodedoc/compiled/CVS/.mappedfiles/0002755000175000017500000000000007641002067022444 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/compiled/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002067025744 2Repositoryustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/0002755000175000017500000000000007641002067017644 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/CVS/0002755000175000017500000000000007641002067020277 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/CVS/Root0000644000175000017500000000010107616664672021155 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/tools/phpcodedoc/templates/CVS/Repository0000644000175000017500000000004307616664672022416 0ustar alanalan00000000000000phpmole/tools/phpcodedoc/templates phpmole/tools/phpcodedoc/templates/CVS/Entries0000644000175000017500000000107307616664673021655 0ustar alanalan00000000000000/class_details.template.html/1.1/Wed May 8 02:55:11 2002// /class_details2.template.html/1.4/Wed May 8 23:33:27 2002// /class_details3.template.html/1.7/Wed Jun 26 01:28:24 2002// /class_file_index.template.html/1.1/Wed May 8 02:55:11 2002// /class_file_index2.template.html/1.11/Wed Jun 26 01:28:24 2002// /class_index.template.html/1.1/Wed May 8 02:55:11 2002// /defines.template.html/1.2/Tue Jun 11 02:11:57 2002// /navtree.html/1.3/Tue Jun 11 02:11:57 2002// /uml_dia.xml.php/1.1/Thu May 9 01:20:30 2002// /www.akbkhome.com.html/1.1/Wed May 8 02:55:11 2002// D phpmole/tools/phpcodedoc/templates/CVS/.mappedfiles/0002755000175000017500000000000007641002067022646 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002067026146 2Repositoryustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/0002755000175000017500000000000007641002067022213 5ustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/CLASS_~1.HTM0000777000175000017500000000000007641002067031355 2class_details.template.htmlustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/CLASS_~2.HTM0000777000175000017500000000000007641002067031440 2class_details2.template.htmlustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/CLASS_~3.HTM0000777000175000017500000000000007641002067031442 2class_details3.template.htmlustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/CLASS_~4.HTM0000777000175000017500000000000007641002067032041 2class_file_index.template.htmlustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/CLASS_~5.HTM0000777000175000017500000000000007641002067032124 2class_file_index2.template.htmlustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/CLASS_~6.HTM0000777000175000017500000000000007641002067031044 2class_index.template.htmlustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/DEFINE~1.HTM0000777000175000017500000000000007641002067030106 2defines.template.htmlustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/NAVTRE~1.HTM0000777000175000017500000000000007641002067026370 2navtree.htmlustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/UML_DI~1.PHP0000777000175000017500000000000007641002067026771 2uml_dia.xml.phpustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/.mappedfiles/WWWAKB~1.HTM0000777000175000017500000000000007641002067030110 2www.akbkhome.com.htmlustar alanalan00000000000000phpmole/tools/phpcodedoc/templates/class_details.template.html0000644000175000017500000001142707466111617025170 0ustar alanalan00000000000000 PHP Class : {this.active_class.name} Back to Index
{this.active_class.name}
Parent: { this.active_class.Parent:r }
Version: {this.active_class.version}

Index:

{foreach:this.active_class.Operations,method} {method.name}
{end:}
{foreach:this.active_class.Attributes,var} {var.name}
{end:}



{this.active_class.description.short}

{this.active_class.description.long:n}

by {this.active_class.description.author}

methods {foreach:this.active_class.Operations,method}
{method.name}  {foreach:method.Param,arg} {arg.name} {end:}
{foreach:method.description.param,arg} {arg} {end:}
{if:method.description.short}{method.description.short}

{end:} {if:method.description.long}{method.description.long:n}
{end:} {this.output_code(method.Tokens):s}  {end:}


Variables {foreach:this.active_class.Attributes,var}
{var.name}  {var.description.short}

{var.description.long:n}
 {end:}








phpmole/tools/phpcodedoc/templates/class_details2.template.html0000644000175000017500000002343607466332707025262 0ustar alanalan00000000000000Alan & Betty K's home pages
AKBKHOME Consulting Services Available : Linux, Embedded Linux, C, PHP and PHP-GTK, just Contact me at alan@akbkhome.com 
PHP Code Doc | LDAP Schema | AKBK Home >>> Projects | Phpmole IDE | Phpmole Bugs | Diary | Photos  
search for in

Class : {this.active_class.name} {if:this.active_class.Parent}  extends  {this.active_class.Parent}{end:}

Note: This code is either under GPL or the PHP licence - please refer to the original files which include the licence details: - putting that on these pages is on the TODO list! {this.active_class.version}

{this.active_class.description.short:n}

{this.active_class.description.long:n}

by {this.active_class.description.author}

Index:

Methods:

{foreach:this.active_class.Operations,method} {method.name}
{end:}

Variables:

{foreach:this.active_class.Attributes,var} {var.name}
{end:}
 

methods {foreach:this.active_class.Operations,method}
{method.name}  ( {foreach:method.Param,i,arg} {if:i},{end:} {arg.name} {end:}) {foreach:method.description.param,arg} {arg}
{end:}
{if:method.description.short} {method.description.short}

{end:} {if:method.description.long}{method.description.long:n}
{end:} {this.output_code(method.Tokens):s}  {end:}



Variables {foreach:this.active_class.Attributes,var}
{var.name}  {var.description.short}
{var.description.long:n}
 {end:}









Contact me at alan@akbkhome.com - especially if you have some work for me :)





phpmole/tools/phpcodedoc/templates/class_details3.template.html0000644000175000017500000004406307506214270025247 0ustar alanalan00000000000000 Alan & Betty K's home pages
AKBKHOME Consulting Services Available : Linux, Embedded Linux, C, PHP and PHP-GTK, just Contact me at alan@akbkhome.com  
PHP Code Doc | LDAP Schema | AKBK Home >>> Projects | Phpmole IDE | Phpmole Bugs | Diary | Photos  
search for in
{this.active_class.name}
From: {this.active_class.rfilename}
@{this.active_class.package.name}
# View the copyright
{if:this.active_class.Parent}Extends
{this.active_class.output_extends():h}{end:}
{this.active_class.description.short:n}
{this.active_class.description.long:hn}
by {foreach:this.active_class.description.author,i,author}{if:i}, {end:}{author}{end:}

Index:

Methods:

{foreach:this.active_class.Operations,method}{if:method.isPublic}{method.name}{if:method.description.short}
{method.description.short}{end:}
{end:} {end:}

Inherited Methods:

{foreach:this.active_class.iOperations,method}{if:method.isPublic}{method.class}::{method.name}{if:method.description.short}
{method.description.short}{end:}
{end:}{end:}

Variables:

{foreach:this.active_class.Attributes,var}{if:var.isPublic} {var.name}{if:var.description.short}
{var.description.short}{end:}
{end:} {end:}

Inherited Variables:

{foreach:this.active_class.iAttributes,var}{if:var.isPublic} {var.class}::{var.name}{if:var.description.short}
{var.description.short}{end:}

{end:}{end:}
{foreach:this.active_class.Operations,method}{if:method.isPublic}{else:}{method.name}{if:method.description.short}
{method.description.short}{end:}
{end:} {end:}
{foreach:this.active_class.iOperations,method}{if:method.isPublic}{else:}{method.class}::{method.name}{if:method.description.short}
{method.description.short}{end:}
{end:}{end:}
{foreach:this.active_class.Attributes,var}{if:var.isPublic}{else:} {var.name}{if:var.description.short}
{var.description.short}{end:}
{end:} {end:}
{foreach:this.active_class.iAttributes,var}{if:var.isPublic}{else:} {var.class}::{var.name}{if:var.description.short}
{var.description.short}{end:}

{end:}{end:}
 

Variables {foreach:this.active_class.Attributes,var}{if:var.isPublic}

{var.name}

{var.description.short}{if:var.description.long}
{var.description.long:hn}{end:}
{var.output_code():h}
{else:}
{var.name} {var.description.short}{if:var.description.long}
{var.description.long:hn}{end:}
{var.output_code():h}
{end:}{end:}


methods {foreach:this.active_class.Operations,method}{if:method.isPublic}

{method.description.return.type} {method.name}  ( {foreach:method.Param,i,arg} {if:i},{end:} {arg.name} {end:})

{if:method.description.return.desc}
returns: {method.description.return.desc}{end:}
{foreach:method.description.param,arg}{arg.type} {arg.var} {arg.desc}
{end:}
{if:method.description.short} {method.description.short}
{end:} {if:method.description.long}{method.description.long:hn}
{end:}
{method.output_code():h} {else:} 
{method.description.return.type}{method.name}  ( {foreach:method.Param,i,arg} {if:i},{end:} {arg.name} {end:}){if:method.description.return.desc}
returns: {method.description.return.desc}{end:}  
{foreach:method.description.param,arg}{arg.type} {arg.var} {arg.desc}
{end:}  
{if:method.description.short} {method.description.short}
{end:} {if:method.description.long}{method.description.long:hn}
{end:}
{method.output_code():h} {end:} {end:}


Copyright (if not available please refer to original file or distribution)

{this.active_class.copyright}
Contact me at alan@akbkhome.com - especially if you have some work for me :)






phpmole/tools/phpcodedoc/templates/class_file_index.template.html0000644000175000017500000000564507466111617025656 0ustar alanalan00000000000000 PHP Classes

Ordered by directory and class name


This page lists the classes and, and the methods they contain. Click on a class or method name for a detailed description.
classes

{foreach:this.classes_by_directory,directory,classes}
{directory}
{foreach:classes,classname,class}
{class.name}
{class.Parent}
{foreach:class.Operations,op}{op.name} {end:}
{foreach:class.Attributes,at}{at.name} {end:}{end:}{end:}


phpmole/tools/phpcodedoc/templates/class_file_index2.template.html0000644000175000017500000002435007506214270025724 0ustar alanalan00000000000000 Alan & Betty K's home pages
AKBKHOME Consulting Services Available : Linux, Embedded Linux, C, PHP and PHP-GTK, just Contact me at alan@akbkhome.com 
PHP Code Doc | LDAP Schema | AKBK Home >>> Projects | Phpmole IDE | Phpmole Bugs | Diary | Photos  
search for in

Ordered by Directory and Class Name

Index of classes in {this.Project}

classes 

{foreach:this.classes_by_directory,directory,classes}
{directory} {foreach:classes,classname,class} {if:class.highlight_dir}
{class.name}
{class.Parent}
{if:class.Operations}{foreach:class.Operations,op}{if:op.isPublic}{op.name}   {end:}{end:}
{end:} {foreach:class.Attributes,at}{if:at.isPublic}{at.name}   {end:}{end:} {else:}
{class.name}
{class.Parent}
{if:class.Operations}{foreach:class.Operations,op}{if:op.isPublic}{op.name}   {end:}{end:}
{end:} {foreach:class.Attributes,at}{if:at.isPublic}{at.name}   {end:}{end:} {end:}{end:}{end:}













Contact me at alan@akbkhome.com - especially if you have some work for me :)





phpmole/tools/phpcodedoc/templates/class_index.template.html0000644000175000017500000000616107466111617024651 0ustar alanalan00000000000000 PHP Classes

Ordered by class name


This page lists the classes and, and the methods they contain. Click on a class or method name for a detailed description.
classes

{foreach:this.classes_by_name,class}{if:class.highlight_by_name}
{class.name}
{class.Parent}
{foreach:class.Operations,op}{op.name} {end:}
{foreach:class.Attributes,at}{at.name} {end:}{else:}
{class.name}
{class.Parent}
{foreach:class.Operations,op}{op.name} {end:}
{foreach:class.Attributes,at}{at.name}  {end:}{end:}{end:}


phpmole/tools/phpcodedoc/templates/defines.template.html0000644000175000017500000002754407501256155023777 0ustar alanalan00000000000000 Alan & Betty K's home pages
AKBKHOME Consulting Services Available : Linux, Embedded Linux, C, PHP and PHP-GTK, just Contact me at alan@akbkhome.com  
PHP Code Doc | LDAP Schema | AKBK Home >>> Projects | Phpmole IDE | Phpmole Bugs | Diary | Photos  
search for in
{this.output_active_directory.name}

@{this.active_package.name}



Index:

Defines:

{foreach:this.defines,define} {define.name}{if:define.description.short}
{define.description.short}{end:}
{end:}
 

User Defined Constants {foreach:this.defines,define}

{define.name}

From: {define.rfilename}
{define.description.short}{if:define.description.long}
{define.description.long:hn}{end:}
{define.output_code():h}
{end:}

Copyright (if not available please refer to original file or distribution)

{this.active_class.copyright}
Contact me at alan@akbkhome.com - especially if you have some work for me :)







phpmole/tools/phpcodedoc/templates/navtree.html0000644000175000017500000000133407501256155022201 0ustar alanalan00000000000000 {foreach:this.packages,packagename,Package}
{Package.name}

{foreach:Package.directories,directory}  {this.output_prune(directory.name)}
{foreach:directory.classes,classname,class}    [+]  {class.name}
{end:}
{if:directory.defines}    *  Constants
{end:} {if:directory.functions}    *  Functions

{end:} {end:}
{end:}
phpmole/tools/phpcodedoc/templates/uml_dia.xml.php0000755000175000017500000002760607466347336022622 0ustar alanalan00000000000000'; ?> #A4# #name ?># Parent) {?> #Parent ?># ## Attributes) {?> Attributes as $at) { ?> #name ?># #type ?># #value ?># Operations) {?> Operations as $op) { ?> #name ?># type) { ?> #type ?># ## Param) { ?> Param as $par) { ?> #name ?># #type ?># #value ?># #name ?># ## ## #Name ?># ## ## ## phpmole/tools/phpcodedoc/templates/www.akbkhome.com.html0000644000175000017500000001735707466111617023735 0ustar alanalan00000000000000 Alan & Betty K's home pages
AKBKHOME Consulting Services Available : Linux, Embedded Linux, C, PHP and PHP-GTK, just Contact me at alan@akbkhome.com 
PHP Code Doc | LDAP Schema | AKBK Home >>> Projects | Phpmole IDE | Phpmole Bugs | Diary | Photos  
search for in

Orderd by Directory and Class Name

Index of classes in {this.Project}

classes 

{foreach:this.classes_by_directory,directory,classes}
{directory} {foreach:classes,classname,class}
{class.name}
{class.Parent}
{foreach:class.Operations,op}{op.name} {end:}
{foreach:class.Attributes,at}{at.name} {end:}{end:}{end:}













Contact me at alan@akbkhome.com - especially if you have some work for me :)




phpmole/tools/test.dia~0000644000175000017500000044431707457512441015414 0ustar alanalan00000000000000 #A4# #phpmanual_help_fetch# ## #$cache_dir# #Public# ## #$lang# #Public# ## #run# #Public# #update_display# #Public# #$line# ## ## #get_file# #Public# #$url# ## ## #$local# ## ## #phpgtkmanual_help_fetch# ## #$cache_dir# #Public# ## #$lang# #Public# ## #run# #Public# #update_display# #Public# #$line# ## ## #get_file# #Public# #$url# ## ## #$local# ## ## #phpmanual_devhelp_generator# #html_generator_base# #$inbody# #Public# ## #$htmltree# #Public# ## #$outtree# #Public# ## #$curelementid# #Public# ## #$maxelementid# #Public# ## #$functiontree# #Public# ## #$extension# #Public# ## #devhelp_check_roots# #Public# #override_all# #Public# #$i# ## ## #override_refentry# #Public# #$i# ## ## #override_classentry# #Public# #$i# ## ## #override_method# #Public# #$i# ## ## #override_constructor# #Public# #$i# ## ## #override_classset# #Public# #$i# ## ## #override_part# #Public# #$i# ## ## #override_chapter# #Public# #$i# ## ## #override_preface# #Public# #$i# ## ## #override_reference# #Public# #$i# ## ## #override_sect1# #Public# #$i# ## ## #override_appendix# #Public# #$i# ## ## #start_block# #Public# #$i# ## ## #$what# ## ## #$name_element# ## ## #look_forward# #Public# #$start# ## ## #$title# ## ## #phpgtkmanual_help_fetch# ## #$cache_dir# #Public# ## #$lang# #Public# ## #run# #Public# #update_display# #Public# #$line# ## ## #get_file# #Public# #$url# ## ## #$local# ## ## #pearify# ## #$data# #Public# ## #$len# #Public# ## #$l# #Public# ## #$status# #Public# ## #$output# #Public# ## #$comment# #Public# ## #start# #Public# #$filename# ## ## #parse# #Public# #parse_line# #Public# #process_class# #Public# #process_method# #Public# #process_var# #Public# #get_user_details# #Public# #add_php_header# #Public# #add_php_gpl_header# #Public# #process_comment# #Public# #$comment# ## ## #process_element# #Public# #$e# ## ## #process_entity# #Public# #$e# ## ## #process_attlist# #Public# #$e# ## ## #p_trim# #Public# #$l# ## ## #process# #Public# #$tag# ## ## #dummy_class# ## #rdf_tree_types# #Public# #$id# ## ## #output_object# #Public# #$obj# ## ## #rdf_get_object# #Public# #$type# ## ## #$id# ## ## #rdf_tree# #Public# #$id# ## ## #$functions# ## ## #rdf_filtered_tree# #Public# #$id# ## ## #$functions# ## ## #$all# ## ## #installer_get_pear# #Public# #installer_add_include_path# #Public# #$path# ## ## #phpmole_installer# ## #$phpmole_cvs# #Public# ## #$peardir# #Public# ## #$upgrade# #Public# ## #$installbase# #Public# ## #$cvsweb_revision# #Public# ## #$chora_revision# #Public# ## #install# #Public# #$xmlfile# ## ## #post_install# #Public# #get_chora_settings# #Public# #get_cvsweb_settings# #Public# #set_installbase# #Public# #check_dependancies# #Public# #check_recommends# #Public# #get_files# #Public# #fetch_files# #Public# #create_dirs# #Public# #devhelp_to_dbm# ## #$dbm_handler# #Public# ## #$parent# #Public# ## #parse_file# #Public# #build_tree# #Public# #add_to_tree# #Public# #$i# ## ## #read_books# #Public# #phpmole_webfetch# ## #$URL# #Public# ## #$postarray# #Public# ## #$filename# #Public# ## #$username# #Public# ## #$password# #Public# ## #$return_chunks# #Public# ## #$result_string# #Public# ## #$_counter# #Private# ## #$_id# #Private# ## #curl_upload_headers# #Public# #get# #Public# #curl_read# #Public# #$ch# ## ## #$string# ## ## #curl_header_read# #Public# #$ch# ## ## #$string# ## ## #emit# #Public# #$string# ## ## #start# #Public# #static_start# #Public# #$request_id# ## ## #static_start_url# #Public# #$URL# ## ## #debug# #Public# #$s# ## ## #simple_microtime# #Public# #phpmole_autotext# ## #$data# #Public# ## #$len# #Public# ## #$input# #Public# ## #$l# #Public# ## #$status# #Public# ## #$output# #Public# ## #$comment# #Public# ## #phpdoc_input# #Public# #parse# #Public# #parse_line# #Public# #process_class# #Public# #process_method# #Public# #process_var# #Public# #get_user_details# #Public# #add_php_header# #Public# #add_php_gpl_headers# #Public# #test# #uml_generator# #uml_generator# ## #$level# #Public# ## #$last_comment_block# #Public# ## #$pos# #Public# ## #$tokens# #Public# ## #$total# #Public# ## #$active_class# #Public# ## #$active_file# #Public# ## #$classes# #Public# ## #$x# #Public# ## #$y# #Public# ## #$start_file# #Public# ## #start# #Public# #$filename# ## ## #create_positions# #Public# #parse# #Public# #got_class# #Public# #got_method# #Public# #get_args# #Public# #got_var# #Public# phpmole/tools/.#devhelp_to_dbm.php.1.10000755000175000017500000000622707457450243017661 0ustar alanalan00000000000000#!/usr/bin/php parser = &new parser_XML(); $this->parser->data = implode("",file($this->file)); $this->parser->skip_empty =1; $this->parser->expat_parse(); //$this->add_to_books(); $this->build_tree(); } function build_tree() { $tree_filename = "{$this->basedir}/{$this->book}_tree.dbm"; $pages_filename = "{$this->basedir}/{$this->book}_pages.dbm"; $funcs_filename = "{$this->basedir}/{$this->book}_funcs.dbm"; @unlink($tree_filename); @unlink($pages_filename); @unlink($funcs_filename); echo "SAVING TO $tree_filename\n$pages_filename\n$funcs_filename\n"; $this->dbtree = dba_open($tree_filename ,"c",$this->dbm_handler); $this->dbpages = dba_open($pages_filename ,"c",$this->dbm_handler); $this->dbfuncs = dba_open($funcs_filename ,"c",$this->dbm_handler); $i = 0; $this->parent=0; $this->add_to_tree($i); dba_close($this->dbtree); dba_close($this->dbpages); } function add_to_tree($i) { $item = &$this->parser->htmltree[$i]; switch ($item->title) { case "SUB": if ($item->children) dba_replace($i, implode(",",$item->children),$this->dbtree); dba_replace($i, $item->attributes["NAME"] . "\t" . $item->attributes["LINK"] , $this->dbpages ); break; case "BOOK": dba_replace($i, implode(",",$item->children),$this->dbtree); if (!$item->attributes["DEFAULT_URL"]) $item->attributes["DEFAULT_URL"] = $item->attributes["BASE"]; dba_replace($i, $item->attributes["TITLE"] . "\t" . $item->attributes["DEFAULT_URL"] , $this->dbpages ); $this->book_id = $i; break; case "FUNCTION": dba_replace($item->attributes["NAME"] , $item->attributes["LINK"] , $this->dbfuncs ); break; case "CHAPTERS": dba_replace($this->book_id, implode(",",$item->children),$this->dbtree); break; } foreach($this->parser->htmltree[$i]->children as $k) $this->add_to_tree($k); } function read_books() { $this->basedir = dirname(__FILE__)."/../help"; $dir = "{$this->basedir}/specs"; $dh = opendir($dir); while (($this->book = readdir($dh)) !== FALSE) { if ($this->book{0} == ".") continue; $this->file = $dir . "/". $this->book; $this->parse_file(); } } } $t = &new devhelp_to_dbm(); $t->read_books(); ?> phpmole/DB/0002755000175000017500000000000007433100717012663 5ustar alanalan00000000000000phpmole/DB/rpc.php0000755000175000017500000003316107433100717014165 0ustar alanalan00000000000000DB_common(); $this->phptype = 'rpc'; $this->dbsyntax = 'rpc'; $this->features = array( 'prepare' => false, 'pconnect' => false, 'transactions' => false, 'limit' => 'alter' ); $this->errorcode_map = array( 1004 => DB_ERROR_CANNOT_CREATE, 1005 => DB_ERROR_CANNOT_CREATE, 1006 => DB_ERROR_CANNOT_CREATE, 1007 => DB_ERROR_ALREADY_EXISTS, 1008 => DB_ERROR_CANNOT_DROP, 1046 => DB_ERROR_NODBSELECTED, 1050 => DB_ERROR_ALREADY_EXISTS, 1051 => DB_ERROR_NOSUCHTABLE, 1054 => DB_ERROR_NOSUCHFIELD, 1062 => DB_ERROR_ALREADY_EXISTS, 1064 => DB_ERROR_SYNTAX, 1100 => DB_ERROR_NOT_LOCKED, 1136 => DB_ERROR_VALUE_COUNT_ON_ROW, 1146 => DB_ERROR_NOSUCHTABLE, ); } // }}} // {{{ connect() /** * Connect to a database and log in as the specified user. * * @param $dsn the data source name (see DB::parseDSN for syntax) * @param $persistent (optional) whether the connection should * be persistent * @access public * @return int DB_OK on success, a DB error on failure */ function connect($dsninfo, $persistent = false) { $this->dsn = $dsninfo; $dbhost = $dsninfo['hostspec'] ? $dsninfo['hostspec'] : 'localhost'; $user = $dsninfo['username']; $pw = $dsninfo['password']; return DB_OK; } // }}} // {{{ disconnect() /** * Log out and disconnect from the database. * * @access public * * @return bool TRUE on success, FALSE if not connected. */ function disconnect() { $this->connection = null; return TRUE; } // }}} // {{{ simpleQuery() /** * Send a query to MySQL and return the results as a MySQL resource * identifier. * * @param the SQL query * * @access public * * @return mixed returns a valid MySQL result for successful SELECT * queries, DB_OK for other successful queries. A DB error is * returned on failure. */ function simpleQuery($query) { $this->connectionid++; $this->result[$this->connectionid] = $this->send_query($query); $ret = new DB_rpc_result(); $ret->id = $this->connectionid; $result->rownum[$this->connectionid] = 0; return $ret; // if (!$this->result) { // return $this->mysqlRaiseError(); // } // return "r1"; } function parse_dsn () { echo serialize($this->dsn); $ret["user"] = $this->dsn["username"]; $ret["password"] = $this->dsn["password"]; $ret["url"]= $this->dsn["hostspec"]; $ret["database"] = $this->dsn["database"]; $p = strpos($this->dsn["hostspec"],"?"); $ret["url"] = substr($this->dsn["hostspec"],0,$p); $ret["remotedsn"] = substr($this->dsn["hostspec"],$p+1); return $ret; } function send_query($query) { echo("RPC CURL: $query"); // dsn format // mysql://user:password@host/database // rpc format // rpc://user:password@http://host:port/url?mysql://user:password@host/database // rpc://user:password@host/url?mysql://user:password@host/database $connect = $this->parse_dsn(); $URL = $connect["url"] ; $request_obj = new request(); $request_obj->database = $connect["database"]; $request_obj->sql = $query; $postarray["request"] = serialize($request_obj); echo "$URL?request=".urlencode($postarray["request"]) . "\n"; $ch = curl_init(); $poststring = ""; if ($postarray) foreach ($postarray as $k => $v) $poststring .= "&" .urlencode($k)."=". urlencode($v); $poststring = substr($poststring,1); curl_setopt ($ch, CURLOPT_POSTFIELDS, $poststring); curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"); echo "CONNECT WITH " . $connect["user"].":".$connect["password"] . "\n"; curl_setopt ($ch, CURLOPT_USERPWD, $connect["user"].":".$connect["password"]); curl_setopt ($ch, CURLOPT_URL, $URL); curl_setopt ($ch,CURLOPT_SSLVERSION, 3); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_setopt ($ch,CURLOPT_SSL_VERIFYHOST, 1); curl_setopt ($ch, CURLOPT_WRITEFUNCTION, array(&$this,"curl_read")); echo ("EXEC"); $this->curl_result = ""; $result = curl_exec ($ch); //echo curl_error($ch); $this->curlinfo = curl_getinfo($ch); curl_close($ch); echo $this->curl_result; $this->result_obj = unserialize($this->curl_result); return $this->result_obj->data; } function curl_read($ch,$string) { $len = strlen($string); if (class_exists("Gtk")) while (gtk::events_pending()) gtk::main_iteration(); $this->curl_result .= $string; return $len; } // }}} // {{{ nextResult() /** * Move the internal mysql result pointer to the next available result * * @param a valid fbsql result resource * * @access public * * @return true if a result is available otherwise return false */ function nextResult($result) { return false; } // }}} // {{{ fetchRow() /** * Fetch and return a row of data (it uses fetchInto for that) * @param $result MySQL result identifier * @param $fetchmode format of fetched row array * @param $rownum the absolute row number to fetch * * @return array a row of data, or false on error */ function fetchRow($result, $fetchmode = DB_FETCHMODE_DEFAULT, $rownum=null) { if ($fetchmode == DB_FETCHMODE_DEFAULT) { $fetchmode = $this->fetchmode; } $res = $this->fetchInto ($result, $arr, $fetchmode, $rownum); if ($res !== DB_OK) { return $res; } return $arr; } // }}} // {{{ fetchInto() /** * Fetch a row and insert the data into an existing array. * * @param $result MySQL result identifier * @param $arr (reference) array where data from the row is stored * @param $fetchmode how the array data should be indexed * @param $rownum the row number to fetch * @access public * * @return int DB_OK on success, a DB error on failure */ function fetchInto($result, &$arr, $fetchmode, $rownum=null) { $id = $result->id; echo "\nFETCHINTO:$rownum\n". serialize($result) . "\n conneciton $id, currow".$this->rownum[$id]."\n"; if ($rownum !== null) { $arr = $this->result[$id][$row]; return DB_OK; } $arr=NULL; if (!@$this->result[$id][$this->rownum[$id]*1]) return NULL; //echo "ROWNUM :" . $this->rownum; if ($fetchmode != DB_FETCHMODE_ASSOC) { $arr = array_values ($this->result[$id][$this->rownum[$id]*1] ); } else { $arr = $this->result[$id][$this->rownum[$id]*1]; } $this->rownum[$id]++; return DB_OK; } // }}} // {{{ freeResult() /** * Free the internal resources associated with $result. * * @param $result MySQL result identifier or DB statement identifier * * @access public * * @return bool TRUE on success, FALSE if $result is invalid */ function freeResult($result) { unset($this->result); $this->rownum=0; return true; } // }}} // {{{ numCols() /** * Get the number of columns in a result set. * * @param $result MySQL result identifier * * @access public * * @return int the number of columns per row in $result */ function numCols($result) { $cols = count($this->result[0]); if (!$cols) { return $this->mysqlRaiseError(); } return $cols; } // }}} // {{{ numRows() /** * Get the number of rows in a result set. * * @param $result MySQL result identifier * * @access public * * @return int the number of rows in $result */ function numRows($result) { $rows = count($this->result); if ($rows === null) { return $this->mysqlRaiseError(); } return $rows; } // }}} // {{{ autoCommit() /** * Enable/disable automatic commits */ function autoCommit($onoff = false) { // XXX if $this->transaction_opcount > 0, we should probably // issue a warning here. return $this->mysqlRaiseError(); } // }}} // {{{ commit() /** * Commit the current transaction. */ function commit() { return $this->mysqlRaiseError(); } // }}} // {{{ rollback() /** * Roll back (undo) the current transaction. */ function rollback() { return $this->mysqlRaiseError(); } // }}} // {{{ affectedRows() /** * Gets the number of rows affected by the data manipulation * query. For other queries, this function returns 0. * * @return number of rows affected by the last query */ function affectedRows() { return $this->mysqlRaiseError(); } // }}} // {{{ errorNative() /** * Get the native error code of the last error (if any) that * occured on the current connection. * * @access public * * @return int native MySQL error code */ function errorNative() { return $this->mysqlRaiseError(); } // }}} // {{{ nextId() /** * Get the next value in a sequence. We emulate sequences * for MySQL. Will create the sequence if it does not exist. * * @access public * * @param $seq_name the name of the sequence * * @param $ondemand whether to create the sequence table on demand * (default is true) * * @return a sequence integer, or a DB error */ function nextId($seq_name, $ondemand = true) { return $this->mysqlRaiseError(); } // }}} // {{{ createSequence() function createSequence($seq_name) { return $this->mysqlRaiseError(); } // }}} // {{{ dropSequence() function dropSequence($seq_name) { return $this->mysqlRaiseError(); } // }}} // {{{ quote() /** * Quote the given string so it can be safely used within string delimiters * in a query. * @param $string mixed Data to be quoted * @return mixed "NULL" string, quoted string or original data */ function quote($str = null) { return $this->mysqlRaiseError(); } // }}} // {{{ modifyQuery() function modifyQuery($query, $subject = null) { return $this->mysqlRaiseError(); } // }}} // {{{ modifyLimitQuery() function modifyLimitQuery($query, $from, $count) { return $this->mysqlRaiseError(); } // }}} // {{{ mysqlRaiseError() function mysqlRaiseError($errno = null) { return $this->mysqlRaiseError(); } // }}} // {{{ tableInfo() function tableInfo($result, $mode = null) { return $this->mysqlRaiseError(); } // }}} // {{{ getTablesQuery() /** * Returns the query needed to get some backend info * @param string $type What kind of info you want to retrieve * @return string The SQL query string */ function getSpecialQuery($type) { return $this->mysqlRaiseError(); } // }}} // TODO/wishlist: // longReadlen // binmode } ?> phpmole/DB/RCS/0002700000175000017500000000000007641002067013300 5ustar alanalan00000000000000phpmole/DB/RCS/.mappedfiles/0002700000175000017500000000000007641002067015647 5ustar alanalan00000000000000phpmole/DB/RCS/.mappedfiles/RPC~1.PHP0000777000175000017500000000000007641002067020667 2rpc.php,vustar alanalan00000000000000phpmole/DB/RCS/rpc.php,v0000755000175000017500000006707307417521301015065 0ustar alanalan00000000000000head 1.64; access; symbols; locks; strict; comment @# @; 1.64 date 2002.01.11.08.30.57; author alan; state Exp; branches; next 1.63; 1.63 date 2002.01.11.08.30.54; author alan; state Exp; branches; next 1.62; 1.62 date 2002.01.11.08.29.49; author alan; state Exp; branches; next 1.61; 1.61 date 2002.01.11.08.29.13; author alan; state Exp; branches; next 1.60; 1.60 date 2002.01.11.08.28.58; author alan; state Exp; branches; next 1.59; 1.59 date 2002.01.11.08.26.30; author alan; state Exp; branches; next 1.58; 1.58 date 2002.01.11.08.26.10; author alan; state Exp; branches; next 1.57; 1.57 date 2002.01.11.08.26.04; author alan; state Exp; branches; next 1.56; 1.56 date 2002.01.11.08.25.43; author alan; state Exp; branches; next 1.55; 1.55 date 2002.01.11.08.25.38; author alan; state Exp; branches; next 1.54; 1.54 date 2002.01.11.08.25.29; author alan; state Exp; branches; next 1.53; 1.53 date 2002.01.11.08.23.40; author alan; state Exp; branches; next 1.52; 1.52 date 2002.01.11.08.22.58; author alan; state Exp; branches; next 1.51; 1.51 date 2002.01.11.08.21.19; author alan; state Exp; branches; next 1.50; 1.50 date 2002.01.11.08.21.01; author alan; state Exp; branches; next 1.49; 1.49 date 2002.01.11.08.20.13; author alan; state Exp; branches; next 1.48; 1.48 date 2002.01.11.08.19.46; author alan; state Exp; branches; next 1.47; 1.47 date 2002.01.11.08.18.15; author alan; state Exp; branches; next 1.46; 1.46 date 2002.01.11.08.16.51; author alan; state Exp; branches; next 1.45; 1.45 date 2002.01.11.08.15.00; author alan; state Exp; branches; next 1.44; 1.44 date 2002.01.11.08.13.06; author alan; state Exp; branches; next 1.43; 1.43 date 2002.01.11.08.08.51; author alan; state Exp; branches; next 1.42; 1.42 date 2002.01.11.08.04.26; author alan; state Exp; branches; next 1.41; 1.41 date 2002.01.11.08.03.45; author alan; state Exp; branches; next 1.40; 1.40 date 2002.01.11.08.03.44; author alan; state Exp; branches; next 1.39; 1.39 date 2002.01.11.07.49.35; author alan; state Exp; branches; next 1.38; 1.38 date 2002.01.11.07.49.30; author alan; state Exp; branches; next 1.37; 1.37 date 2002.01.11.07.47.04; author alan; state Exp; branches; next 1.36; 1.36 date 2002.01.11.07.41.04; author alan; state Exp; branches; next 1.35; 1.35 date 2002.01.11.07.39.01; author alan; state Exp; branches; next 1.34; 1.34 date 2002.01.11.07.38.42; author alan; state Exp; branches; next 1.33; 1.33 date 2002.01.11.07.38.40; author alan; state Exp; branches; next 1.32; 1.32 date 2002.01.11.07.33.55; author alan; state Exp; branches; next 1.31; 1.31 date 2002.01.11.07.32.48; author alan; state Exp; branches; next 1.30; 1.30 date 2002.01.11.07.32.07; author alan; state Exp; branches; next 1.29; 1.29 date 2002.01.11.07.32.03; author alan; state Exp; branches; next 1.28; 1.28 date 2002.01.11.07.31.31; author alan; state Exp; branches; next 1.27; 1.27 date 2002.01.11.07.31.29; author alan; state Exp; branches; next 1.26; 1.26 date 2002.01.11.07.31.10; author alan; state Exp; branches; next 1.25; 1.25 date 2002.01.11.07.28.30; author alan; state Exp; branches; next 1.24; 1.24 date 2002.01.11.07.24.05; author alan; state Exp; branches; next 1.23; 1.23 date 2002.01.11.07.22.59; author alan; state Exp; branches; next 1.22; 1.22 date 2002.01.11.07.22.41; author alan; state Exp; branches; next 1.21; 1.21 date 2002.01.11.07.21.00; author alan; state Exp; branches; next 1.20; 1.20 date 2002.01.11.07.20.07; author alan; state Exp; branches; next 1.19; 1.19 date 2002.01.11.07.19.39; author alan; state Exp; branches; next 1.18; 1.18 date 2002.01.11.07.18.54; author alan; state Exp; branches; next 1.17; 1.17 date 2002.01.11.07.18.39; author alan; state Exp; branches; next 1.16; 1.16 date 2002.01.11.07.18.20; author alan; state Exp; branches; next 1.15; 1.15 date 2002.01.11.07.12.25; author alan; state Exp; branches; next 1.14; 1.14 date 2002.01.11.07.11.59; author alan; state Exp; branches; next 1.13; 1.13 date 2002.01.11.07.11.11; author alan; state Exp; branches; next 1.12; 1.12 date 2002.01.11.07.11.07; author alan; state Exp; branches; next 1.11; 1.11 date 2002.01.11.07.10.48; author alan; state Exp; branches; next 1.10; 1.10 date 2002.01.11.07.10.05; author alan; state Exp; branches; next 1.9; 1.9 date 2002.01.11.07.09.34; author alan; state Exp; branches; next 1.8; 1.8 date 2002.01.11.06.48.47; author alan; state Exp; branches; next 1.7; 1.7 date 2002.01.11.06.47.11; author alan; state Exp; branches; next 1.6; 1.6 date 2002.01.11.06.37.32; author alan; state Exp; branches; next 1.5; 1.5 date 2002.01.11.06.35.12; author alan; state Exp; branches; next 1.4; 1.4 date 2002.01.11.06.27.54; author alan; state Exp; branches; next 1.3; 1.3 date 2002.01.11.06.24.53; author alan; state Exp; branches; next 1.2; 1.2 date 2002.01.11.06.24.46; author alan; state Exp; branches; next 1.1; 1.1 date 2002.01.11.06.24.13; author alan; state Exp; branches; next ; desc @Updated @ 1.64 log @Updated @ text @ | // | | // +----------------------------------------------------------------------+ // // $Id: mysql.php,v 1.83 2001/12/31 18:49:54 cox Exp $ // // Database independent query interface definition for PHP's MySQL // extension. // // // XXX legend: // // XXX ERRORMSG: The error message from the mysql function should // be registered here. // require_once "DB/common.php"; class request { var $dsn; var $sql; } class response { var $response; // "OK"; var $data = array(); // payload } class DB_rpc_result { var $id; } class DB_rpc extends DB_common { // {{{ properties var $connection; var $phptype, $dbsyntax; var $prepare_tokens = array(); var $prepare_types = array(); var $num_rows = array(); var $transaction_opcount = 0; var $autocommit = true; var $fetchmode = DB_FETCHMODE_ORDERED; /* Default fetch mode */ var $_db = false; var $rownum=array(); var $connectionid; // }}} // {{{ constructor /** * DB_mysql constructor. * * @@access public */ function DB_rpc() { $this->DB_common(); $this->phptype = 'rpc'; $this->dbsyntax = 'rpc'; $this->features = array( 'prepare' => false, 'pconnect' => false, 'transactions' => false, 'limit' => 'alter' ); $this->errorcode_map = array( 1004 => DB_ERROR_CANNOT_CREATE, 1005 => DB_ERROR_CANNOT_CREATE, 1006 => DB_ERROR_CANNOT_CREATE, 1007 => DB_ERROR_ALREADY_EXISTS, 1008 => DB_ERROR_CANNOT_DROP, 1046 => DB_ERROR_NODBSELECTED, 1050 => DB_ERROR_ALREADY_EXISTS, 1051 => DB_ERROR_NOSUCHTABLE, 1054 => DB_ERROR_NOSUCHFIELD, 1062 => DB_ERROR_ALREADY_EXISTS, 1064 => DB_ERROR_SYNTAX, 1100 => DB_ERROR_NOT_LOCKED, 1136 => DB_ERROR_VALUE_COUNT_ON_ROW, 1146 => DB_ERROR_NOSUCHTABLE, ); } // }}} // {{{ connect() /** * Connect to a database and log in as the specified user. * * @@param $dsn the data source name (see DB::parseDSN for syntax) * @@param $persistent (optional) whether the connection should * be persistent * @@access public * @@return int DB_OK on success, a DB error on failure */ function connect($dsninfo, $persistent = false) { $this->dsn = $dsninfo; $dbhost = $dsninfo['hostspec'] ? $dsninfo['hostspec'] : 'localhost'; $user = $dsninfo['username']; $pw = $dsninfo['password']; return DB_OK; } // }}} // {{{ disconnect() /** * Log out and disconnect from the database. * * @@access public * * @@return bool TRUE on success, FALSE if not connected. */ function disconnect() { $this->connection = null; return TRUE; } // }}} // {{{ simpleQuery() /** * Send a query to MySQL and return the results as a MySQL resource * identifier. * * @@param the SQL query * * @@access public * * @@return mixed returns a valid MySQL result for successful SELECT * queries, DB_OK for other successful queries. A DB error is * returned on failure. */ function simpleQuery($query) { $this->connectionid++; $this->result[$this->connectionid] = $this->send_query($query); $ret = new DB_rpc_result(); $ret->id = $this->connectionid; $result->rownum[$this->connectionid] = 0; return $ret; // if (!$this->result) { // return $this->mysqlRaiseError(); // } // return "r1"; } function parse_dsn () { echo serialize($this->dsn); $ret["user"] = $this->dsn["username"]; $ret["password"] = $this->dsn["password"]; $ret["url"]= $this->dsn["hostspec"]; $ret["database"] = $this->dsn["database"]; $p = strpos($this->dsn["hostspec"],"?"); $ret["url"] = substr($this->dsn["hostspec"],0,$p); $ret["remotedsn"] = substr($this->dsn["hostspec"],$p+1); return $ret; } function send_query($query) { echo("RPC CURL: $query"); // dsn format // mysql://user:password@@host/database // rpc format // rpc://user:password@@http://host:port/url?mysql://user:password@@host/database // rpc://user:password@@host/url?mysql://user:password@@host/database $connect = $this->parse_dsn(); $URL = $connect["url"] ; $request_obj = new request(); $request_obj->database = $connect["database"]; $request_obj->sql = $query; $postarray["request"] = serialize($request_obj); echo "$URL?request=".urlencode($postarray["request"]) . "\n"; $ch = curl_init(); $poststring = ""; if ($postarray) foreach ($postarray as $k => $v) $poststring .= "&" .urlencode($k)."=". urlencode($v); $poststring = substr($poststring,1); curl_setopt ($ch, CURLOPT_POSTFIELDS, $poststring); curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"); echo "CONNECT WITH " . $connect["user"].":".$connect["password"] . "\n"; curl_setopt ($ch, CURLOPT_USERPWD, $connect["user"].":".$connect["password"]); curl_setopt ($ch, CURLOPT_URL, $URL); curl_setopt ($ch,CURLOPT_SSLVERSION, 3); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_setopt ($ch,CURLOPT_SSL_VERIFYHOST, 1); curl_setopt ($ch, CURLOPT_WRITEFUNCTION, array(&$this,"curl_read")); echo ("EXEC"); $this->curl_result = ""; $result = curl_exec ($ch); //echo curl_error($ch); $this->curlinfo = curl_getinfo($ch); curl_close($ch); echo $this->curl_result; $this->result_obj = unserialize($this->curl_result); return $this->result_obj->data; } function curl_read($ch,$string) { $len = strlen($string); if (class_exists("Gtk")) while (gtk::events_pending()) gtk::main_iteration(); $this->curl_result .= $string; return $len; } // }}} // {{{ nextResult() /** * Move the internal mysql result pointer to the next available result * * @@param a valid fbsql result resource * * @@access public * * @@return true if a result is available otherwise return false */ function nextResult($result) { return false; } // }}} // {{{ fetchRow() /** * Fetch and return a row of data (it uses fetchInto for that) * @@param $result MySQL result identifier * @@param $fetchmode format of fetched row array * @@param $rownum the absolute row number to fetch * * @@return array a row of data, or false on error */ function fetchRow($result, $fetchmode = DB_FETCHMODE_DEFAULT, $rownum=null) { if ($fetchmode == DB_FETCHMODE_DEFAULT) { $fetchmode = $this->fetchmode; } $res = $this->fetchInto ($result, $arr, $fetchmode, $rownum); if ($res !== DB_OK) { return $res; } return $arr; } // }}} // {{{ fetchInto() /** * Fetch a row and insert the data into an existing array. * * @@param $result MySQL result identifier * @@param $arr (reference) array where data from the row is stored * @@param $fetchmode how the array data should be indexed * @@param $rownum the row number to fetch * @@access public * * @@return int DB_OK on success, a DB error on failure */ function fetchInto($result, &$arr, $fetchmode, $rownum=null) { $id = $result->id; echo "\nFETCHINTO:$rownum\n". serialize($result) . "\n conneciton $id, currow".$this->rownum[$id]."\n"; if ($rownum !== null) { $arr = $this->result[$id][$row]; return DB_OK; } $arr=NULL; if (!@@$this->result[$id][$this->rownum[$id]*1]) return NULL; //echo "ROWNUM :" . $this->rownum; if ($fetchmode != DB_FETCHMODE_ASSOC) { $arr = array_values ($this->result[$id][$this->rownum[$id]*1] ); } else { $arr = $this->result[$id][$this->rownum[$id]*1]; } $this->rownum[$id]++; return DB_OK; } // }}} // {{{ freeResult() /** * Free the internal resources associated with $result. * * @@param $result MySQL result identifier or DB statement identifier * * @@access public * * @@return bool TRUE on success, FALSE if $result is invalid */ function freeResult($result) { unset($this->result); $this->rownum=0; return true; } // }}} // {{{ numCols() /** * Get the number of columns in a result set. * * @@param $result MySQL result identifier * * @@access public * * @@return int the number of columns per row in $result */ function numCols($result) { $cols = count($this->result[0]); if (!$cols) { return $this->mysqlRaiseError(); } return $cols; } // }}} // {{{ numRows() /** * Get the number of rows in a result set. * * @@param $result MySQL result identifier * * @@access public * * @@return int the number of rows in $result */ function numRows($result) { $rows = count($this->result); if ($rows === null) { return $this->mysqlRaiseError(); } return $rows; } // }}} // {{{ autoCommit() /** * Enable/disable automatic commits */ function autoCommit($onoff = false) { // XXX if $this->transaction_opcount > 0, we should probably // issue a warning here. return $this->mysqlRaiseError(); } // }}} // {{{ commit() /** * Commit the current transaction. */ function commit() { return $this->mysqlRaiseError(); } // }}} // {{{ rollback() /** * Roll back (undo) the current transaction. */ function rollback() { return $this->mysqlRaiseError(); } // }}} // {{{ affectedRows() /** * Gets the number of rows affected by the data manipulation * query. For other queries, this function returns 0. * * @@return number of rows affected by the last query */ function affectedRows() { return $this->mysqlRaiseError(); } // }}} // {{{ errorNative() /** * Get the native error code of the last error (if any) that * occured on the current connection. * * @@access public * * @@return int native MySQL error code */ function errorNative() { return $this->mysqlRaiseError(); } // }}} // {{{ nextId() /** * Get the next value in a sequence. We emulate sequences * for MySQL. Will create the sequence if it does not exist. * * @@access public * * @@param $seq_name the name of the sequence * * @@param $ondemand whether to create the sequence table on demand * (default is true) * * @@return a sequence integer, or a DB error */ function nextId($seq_name, $ondemand = true) { return $this->mysqlRaiseError(); } // }}} // {{{ createSequence() function createSequence($seq_name) { return $this->mysqlRaiseError(); } // }}} // {{{ dropSequence() function dropSequence($seq_name) { return $this->mysqlRaiseError(); } // }}} // {{{ quote() /** * Quote the given string so it can be safely used within string delimiters * in a query. * @@param $string mixed Data to be quoted * @@return mixed "NULL" string, quoted string or original data */ function quote($str = null) { return $this->mysqlRaiseError(); } // }}} // {{{ modifyQuery() function modifyQuery($query, $subject = null) { return $this->mysqlRaiseError(); } // }}} // {{{ modifyLimitQuery() function modifyLimitQuery($query, $from, $count) { return $this->mysqlRaiseError(); } // }}} // {{{ mysqlRaiseError() function mysqlRaiseError($errno = null) { return $this->mysqlRaiseError(); } // }}} // {{{ tableInfo() function tableInfo($result, $mode = null) { return $this->mysqlRaiseError(); } // }}} // {{{ getTablesQuery() /** * Returns the query needed to get some backend info * @@param string $type What kind of info you want to retrieve * @@return string The SQL query string */ function getSpecialQuery($type) { return $this->mysqlRaiseError(); } // }}} // TODO/wishlist: // longReadlen // binmode } ?> @ 1.63 log @Updated @ text @d179 1 a179 1 d183 1 a183 1 $ret["database"] = $this->dsn["database"] @ 1.62 log @Updated @ text @d183 1 @ 1.61 log @Updated @ text @d175 1 a175 1 @ 1.60 log @Updated @ text @d201 1 a201 1 $request_obj->database = $database; @ 1.59 log @Updated @ text @d201 1 @ 1.58 log @Updated @ text @d329 1 a329 1 $arr = $this->result[$id][$this->rownum[$id]]; @ 1.57 log @Updated @ text @d327 1 a327 1 $arr = array_values ($this->result[$id][$this->rownum[$id]] ); @ 1.56 log @Updated @ text @d324 1 a324 1 if (!@@$this->result[$id][$this->rownum[$id]]) return NULL; @ 1.55 log @Updated @ text @d317 1 a317 1 conneciton $id, currow".$this->rownum[$id].\m"; @ 1.54 log @Updated @ text @d317 1 a317 1 conneciton $id, currow".$this->rownum[$id]; @ 1.53 log @Updated @ text @d314 1 a314 1 echo "\nFETCHINTO:$rownum\n". serialize($result); d316 2 a317 1 d323 1 @ 1.52 log @Updated @ text @d315 1 a315 1 $id = $result->id @ 1.51 log @Updated @ text @d315 2 d318 1 a318 1 $arr = $this->result[$result->id][$row]; d322 1 a322 1 if (!@@$this->result[$result->id][$this->rownum]) return NULL; d325 1 a325 1 $arr = array_values ($this->result[$result->id][$this->rownum[$result]] ); d327 1 a327 1 $arr = $this->result[$result->id][$this->rownum]; d329 1 a329 1 $this->rownum[$result->id]++; @ 1.50 log @Updated @ text @d314 1 a314 1 //echo "\nFETCHINTO:$rownum\n". serialize($this->result); @ 1.49 log @Updated @ text @d314 1 a314 1 echo "\nFETCHINTO:$rownum\n". serialize($this->result); d316 1 a316 1 $arr = $this->result[$result][$row]; d320 1 a320 1 if (!@@$this->result[$result][$this->rownum]) return NULL; d323 1 a323 1 $arr = array_values ($this->result[$result][$this->rownum[$result]] ); d325 1 a325 2 $arr = $this->result[$result][$this->rownum]; d327 1 a327 1 $this->rownum[$result]++; @ 1.48 log @Updated @ text @d162 1 a162 1 $result = $this->send_query($query); @ 1.47 log @Updated @ text @a44 1 var $row; d163 5 a167 2 $result->rowid = 0; return $this->connectionid; @ 1.46 log @Updated @ text @d41 1 a41 1 var $row; // for fetchrow() d44 4 d164 2 a165 2 $result->row = 0; return $result; @ 1.45 log @Updated @ text @d41 1 d159 3 a161 3 $this->result[$this->connectionid] = $this->send_query($query); $this->rownum[$this->connectionid]=0; return $this->connectionid; @ 1.44 log @Updated @ text @a156 1 $this->result = $this->send_query($query); d158 1 d309 1 a309 1 $arr = $this->result[$row]; d313 1 a313 1 if (!@@$this->result[$this->rownum]) return NULL; d316 1 a316 1 $arr = array_values ($this->result[$this->rownum] ); d319 1 a319 1 $arr = $this->result[$this->rownum]; d321 1 a321 1 $this->rownum++; @ 1.43 log @Updated @ text @d58 2 a59 1 var $rownum=0; d158 3 a160 1 return "r1"; @ 1.42 log @Updated @ text @a156 3 if (!$this->result) { return $this->mysqlRaiseError(); } d158 4 @ 1.41 log @Updated @ text @d303 1 a303 1 //echo "\nFETCHINTO:$rownum\n". serialize($this->result); @ 1.40 log @Updated @ text @d308 1 a308 1 $arr=NULL' @ 1.39 log @Updated @ text @d308 1 @ 1.38 log @Updated @ text @d192 1 a192 1 echo "$URL?".urlencode($postarray["request"]) . "\n"; @ 1.37 log @Updated @ text @d185 1 a185 1 echo $URL; d192 1 a192 1 @ 1.36 log @Updated @ text @d308 1 @ 1.35 log @Updated @ text @d309 1 a309 1 if ($fetchmode == DB_FETCHMODE_DEFAULT) { @ 1.34 log @Updated @ text @d311 1 a311 1 } d313 2 a314 1 $arr = $this->result[$this->rownum]; @ 1.33 log @Updated @ text @d310 1 a310 1 $arr = array_values ($this->result[$this->rownum];); @ 1.32 log @Updated @ text @d309 4 @ 1.31 log @Updated @ text @d303 1 a303 1 echo "\nFETCHINTO:$rownum\n". serialize($this->result); d308 1 a308 1 echo "ROWNUM :" . $this->rownum; @ 1.30 log @Updated @ text @d308 1 @ 1.29 log @Updated @ text @d303 1 a303 1 echo "\nFETCHINTO:$rownum". serialize($this->result); @ 1.28 log @Updated @ text @d303 1 a303 1 echo "\nFETCHINTO:". serialize($this->result); @ 1.27 log @Updated @ text @d303 1 a303 1 echo "FETCHINTO:". serialize($this->result); @ 1.26 log @Updated @ text @d303 1 a303 1 echo serialize($this->result); @ 1.25 log @Updated @ text @d303 1 @ 1.24 log @Updated @ text @d160 1 a160 1 return DB_OK; @ 1.23 log @Updated @ text @d226 1 a226 1 return $this->result_obj->result; @ 1.22 log @Updated @ text @d166 1 a166 1 $ret["password"] = $this->dsn["username"]; @ 1.21 log @Updated @ text @d204 1 @ 1.20 log @Updated @ text @d185 1 a185 1 @ 1.19 log @Updated @ text @d223 1 @ 1.18 log @Updated @ text @d177 1 a177 1 debug_echo("RPC CURL: $query"); d216 1 a216 1 debug_echo ("EXEC"); @ 1.17 log @Updated @ text @d169 1 a169 1 $p = strpos($this->dsn["hostspec"];,"?"); @ 1.16 log @Updated @ text @d184 1 a184 1 $URL = $connect["url"] @ 1.15 log @Updated @ text @d164 4 a167 8 echo serialize($this->dsn); $s = substr($this->dsn ,6); // strip rpc:// $p = strpos($s,":"); $ret["user"] = substr($s,0,$p); $s = substr($s,$p+1); $p = strpos($s,"@@"); $ret["password"] = substr($s,0,$p); $s = substr($s,$p+1); d169 3 a171 12 $p = strpos($s,":"); $ret["method"] = substr($s,0,$p); $s = substr($s,$p+3); $p = strpos($s,":"); $ret["host"] = substr($s,0,$p); $s = substr($s,$p+1); $p = strpos($s,"/"); $ret["port"] = substr($s,0,$p); $s = substr($s,$p+1); $p = strpos($s,"?"); $ret["path"] = substr($s,0,$p); $ret["remotedsn"] = substr($s,$p+1); d184 1 a184 3 $URL = $connect["method"] . "://". $connect["host"].":".$connect["port"]."/". $connect["path"]; @ 1.14 log @Updated @ text @d164 1 @ 1.13 log @Updated @ text @d165 1 a165 1 $p = strpos($ds,":"); @ 1.12 log @Updated @ text @d218 1 a218 1 curl_setopt ($ch, CURLOPT_USERPWD, @ 1.11 log @Updated @ text @d218 1 a218 2 debug_echo( "Setting password to ". $prefs_extra[$this->build_servername()]["password"]); curl_setopt ($ch, CURLOPT_USERPWD, @ 1.10 log @Updated @ text @d254 1 a254 4 } @ 1.9 log @Updated @ text @d462 1 a462 1 eturn $this->mysqlRaiseError(); d483 1 a483 1 eturn $this->mysqlRaiseError(); @ 1.8 log @Updated @ text @d197 1 a197 1 $connect["host"].":".$connect["port"]."/" @ 1.7 log @Updated @ text @d36 1 d39 4 a42 1 d186 1 d239 1 a239 2 return $this-> return $this->curl_result; @ 1.6 log @Updated @ text @d35 6 d159 8 a166 4 function parse_dsn ($dsn) { $s = substr($dsn,6); // strip rpc:// $p = strpos($dsn,":"); $ret["user"] = substr($dsn d168 13 a180 1 d188 1 a188 1 // rpc://user:password@@host/url?mysql://user:password@@host/database d190 5 a194 1 $dsn d197 5 d208 1 a208 3 if ($filename) $poststring .= "&".urlencode("new[file]"). "=@@". urlencode($filename); d210 6 a215 10 if ($headers = $this->curl_upload_headers($URL,$postarray,$filename)) { curl_setopt($ch,CURLOPT_CUSTOMREQUEST, $headers); debug_echo ($headers ); } else { curl_setopt ($ch, CURLOPT_POSTFIELDS, $poststring); curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"); debug_echo( "Setting password to ". $prefs_extra[$this->build_servername()]["password"]); curl_setopt ($ch, CURLOPT_USERPWD, $this->username.":".$prefs_extra[$this->build_servername()]["password"]); a217 4 //curl_setopt ($ch, CURLOPT_READFUNCTION, array(&$this,"curl_read")); } d233 2 a234 3 debug_echo (serialize($this->curlinfo)); if (ereg("depth=[01]+",$URL)) $curlcache[$URL]=$this->curl_result; @ 1.5 log @Updated @ text @d153 5 d159 1 a159 3 @ 1.4 log @Updated @ text @d161 4 @ 1.3 log @Updated @ text @d159 3 d163 57 @ 1.2 log @Updated @ text @d159 1 a159 1 @ 1.1 log @Updated @ text @d153 19 @ phpmole/DB/CVS/0002755000175000017500000000000007641002067013316 5ustar alanalan00000000000000phpmole/DB/CVS/Root0000644000175000017500000000010107421311507014150 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/DB/CVS/Repository0000644000175000017500000000001307421311507015406 0ustar alanalan00000000000000phpmole/DB phpmole/DB/CVS/Entries0000644000175000017500000000005207433100717014645 0ustar alanalan00000000000000/rpc.php/1.2/Fri Feb 15 03:34:39 2002// D phpmole/DB/CVS/.mappedfiles/0002755000175000017500000000000007641002067015665 5ustar alanalan00000000000000phpmole/DB/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002067021165 2Repositoryustar alanalan00000000000000phpmole/installer/0002755000175000017500000000000007400415664014377 5ustar alanalan00000000000000phpmole/installer/RCS/0002700000175000017500000000000007641002067015010 5ustar alanalan00000000000000phpmole/installer/RCS/.mappedfiles/0002700000175000017500000000000007641002067017357 5ustar alanalan00000000000000phpmole/installer/RCS/.mappedfiles/INSTAL~1.PHP0000777000175000017500000000000007641002067024156 2installer.php,vustar alanalan00000000000000phpmole/installer/RCS/.mappedfiles/PHPMOL~1.CLA0000777000175000017500000000000007641002067026175 2phpmole_installer.class,vustar alanalan00000000000000phpmole/installer/RCS/.mappedfiles/CVSLIB~1.XML0000777000175000017500000000000007641002067025046 2cvslib-package.xml,vustar alanalan00000000000000phpmole/installer/RCS/installer.php,v0000755000175000017500000003602507400336443020002 0ustar alanalan00000000000000head 1.71; access; symbols; locks; strict; comment @# @; 1.71 date 2001.11.26.03.55.11; author alan; state Exp; branches; next 1.70; 1.70 date 2001.11.23.07.02.41; author alan; state Exp; branches; next 1.69; 1.69 date 2001.11.23.06.58.50; author alan; state Exp; branches; next 1.68; 1.68 date 2001.11.23.06.57.59; author alan; state Exp; branches; next 1.67; 1.67 date 2001.11.23.06.57.10; author alan; state Exp; branches; next 1.66; 1.66 date 2001.11.23.06.53.49; author alan; state Exp; branches; next 1.65; 1.65 date 2001.11.23.06.52.22; author alan; state Exp; branches; next 1.64; 1.64 date 2001.11.23.06.50.36; author alan; state Exp; branches; next 1.63; 1.63 date 2001.11.23.06.48.33; author alan; state Exp; branches; next 1.62; 1.62 date 2001.11.23.06.47.28; author alan; state Exp; branches; next 1.61; 1.61 date 2001.11.23.06.43.43; author alan; state Exp; branches; next 1.60; 1.60 date 2001.11.23.06.35.14; author alan; state Exp; branches; next 1.59; 1.59 date 2001.11.23.06.34.40; author alan; state Exp; branches; next 1.58; 1.58 date 2001.11.23.06.34.03; author alan; state Exp; branches; next 1.57; 1.57 date 2001.11.23.06.31.26; author alan; state Exp; branches; next 1.56; 1.56 date 2001.11.23.06.27.26; author alan; state Exp; branches; next 1.55; 1.55 date 2001.11.23.06.26.32; author alan; state Exp; branches; next 1.54; 1.54 date 2001.11.23.06.26.21; author alan; state Exp; branches; next 1.53; 1.53 date 2001.11.23.06.23.34; author alan; state Exp; branches; next 1.52; 1.52 date 2001.11.23.06.23.00; author alan; state Exp; branches; next 1.51; 1.51 date 2001.11.23.06.21.56; author alan; state Exp; branches; next 1.50; 1.50 date 2001.11.23.05.12.28; author alan; state Exp; branches; next 1.49; 1.49 date 2001.11.23.04.25.49; author alan; state Exp; branches; next 1.48; 1.48 date 2001.11.23.03.55.32; author alan; state Exp; branches; next 1.47; 1.47 date 2001.11.23.03.54.10; author alan; state Exp; branches; next 1.46; 1.46 date 2001.11.23.03.51.42; author alan; state Exp; branches; next 1.45; 1.45 date 2001.11.23.03.51.25; author alan; state Exp; branches; next 1.44; 1.44 date 2001.11.23.03.51.24; author alan; state Exp; branches; next 1.43; 1.43 date 2001.11.23.03.43.34; author alan; state Exp; branches; next 1.42; 1.42 date 2001.11.23.03.43.31; author alan; state Exp; branches; next 1.41; 1.41 date 2001.11.23.03.42.54; author alan; state Exp; branches; next 1.40; 1.40 date 2001.11.23.02.35.50; author alan; state Exp; branches; next 1.39; 1.39 date 2001.11.23.01.58.55; author alan; state Exp; branches; next 1.38; 1.38 date 2001.11.22.13.10.43; author alan; state Exp; branches; next 1.37; 1.37 date 2001.11.22.12.15.20; author alan; state Exp; branches; next 1.36; 1.36 date 2001.11.22.12.15.11; author alan; state Exp; branches; next 1.35; 1.35 date 2001.11.22.12.14.39; author alan; state Exp; branches; next 1.34; 1.34 date 2001.11.22.12.14.10; author alan; state Exp; branches; next 1.33; 1.33 date 2001.11.22.11.55.36; author alan; state Exp; branches; next 1.32; 1.32 date 2001.11.22.11.02.25; author alan; state Exp; branches; next 1.31; 1.31 date 2001.11.22.10.58.47; author alan; state Exp; branches; next 1.30; 1.30 date 2001.11.22.10.34.10; author alan; state Exp; branches; next 1.29; 1.29 date 2001.11.22.10.34.07; author alan; state Exp; branches; next 1.28; 1.28 date 2001.11.22.10.17.00; author alan; state Exp; branches; next 1.27; 1.27 date 2001.11.22.10.16.01; author alan; state Exp; branches; next 1.26; 1.26 date 2001.11.22.10.15.45; author alan; state Exp; branches; next 1.25; 1.25 date 2001.11.22.10.13.05; author alan; state Exp; branches; next 1.24; 1.24 date 2001.11.22.10.11.58; author alan; state Exp; branches; next 1.23; 1.23 date 2001.11.22.10.11.43; author alan; state Exp; branches; next 1.22; 1.22 date 2001.11.22.10.11.40; author alan; state Exp; branches; next 1.21; 1.21 date 2001.11.22.10.09.07; author alan; state Exp; branches; next 1.20; 1.20 date 2001.11.22.10.08.34; author alan; state Exp; branches; next 1.19; 1.19 date 2001.11.22.10.07.58; author alan; state Exp; branches; next 1.18; 1.18 date 2001.11.22.10.05.28; author alan; state Exp; branches; next 1.17; 1.17 date 2001.11.22.10.05.19; author alan; state Exp; branches; next 1.16; 1.16 date 2001.11.22.10.05.15; author alan; state Exp; branches; next 1.15; 1.15 date 2001.11.22.10.04.29; author alan; state Exp; branches; next 1.14; 1.14 date 2001.11.22.10.04.24; author alan; state Exp; branches; next 1.13; 1.13 date 2001.11.22.10.04.19; author alan; state Exp; branches; next 1.12; 1.12 date 2001.11.22.10.03.56; author alan; state Exp; branches; next 1.11; 1.11 date 2001.11.22.10.02.40; author alan; state Exp; branches; next 1.10; 1.10 date 2001.11.22.10.02.07; author alan; state Exp; branches; next 1.9; 1.9 date 2001.11.22.10.01.47; author alan; state Exp; branches; next 1.8; 1.8 date 2001.11.22.09.57.40; author alan; state Exp; branches; next 1.7; 1.7 date 2001.11.22.09.56.59; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.22.09.56.52; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.22.09.56.26; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.22.09.02.20; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.22.09.01.32; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.22.09.00.45; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.22.08.19.16; author alan; state Exp; branches; next ; desc @Updated @ 1.71 log @Updated @ text @peardir = $peardir; $installer->install(@@$install_file); $phpmole_installer_loaded=1; ?>@ 1.70 log @Updated @ text @d41 1 a41 1 installer_add_include_dir($peardir); @ 1.69 log @Updated @ text @a8 1 echo $path; a9 1 echo serialize($paths); @ 1.68 log @Updated @ text @d8 1 a8 1 $path = ini_get("include_dir"); d17 1 a17 1 function installer_add_include_dir($path) { d19 1 a19 1 $inc_path = ini_get("include_dir"); d32 1 a32 1 installer_add_include_dir($PEARDIR); @ 1.67 log @Updated @ text @d9 1 @ 1.66 log @Updated @ text @d10 1 @ 1.65 log @Updated @ text @d27 1 a27 1 echo "MYUID is " . getmyuid(); d35 1 a35 1 if (!getmyuid()) { @ 1.64 log @Updated @ text @d22 1 a22 1 d27 1 @ 1.63 log @Updated @ text @d47 2 a48 1 Please add the pear path to your php.ini @ 1.62 log @Updated @ text @d32 1 a32 1 $peardir = get_pear(); d35 1 a35 1 $peardir = get_pear(); d37 1 a37 1 $peardir = get_pear(); @ 1.61 log @Updated @ text @d38 1 a38 1 if (!is_writeable("$peardir/PEAR.php") { @ 1.60 log @Updated @ text @d37 5 a41 2 $peardir = "$HOME/PEAR"; installer_add_include_dir($peardir); @ 1.59 log @Updated @ text @d43 1 a43 1 echo "Unable to locate PEAR.php in $path @ 1.58 log @Updated @ text @d19 1 a19 1 $inc_path .= $PEARDIR; @ 1.57 log @Updated @ text @d32 1 a32 1 $peardir = get_pear() @ 1.56 log @Updated @ text @a1 1 d3 1 a3 1 USES FILES FROM phpmole CVS to install it'self. d7 1 a7 1 function get_pear() { d15 2 a16 1 if (@@$PEARDIR) { d21 2 a22 1 } d24 7 d38 1 a38 1 if (!@@$PEARDIR) $PEARDIR = $peardir; d41 1 @ 1.55 log @Updated @ text @d29 1 a29 1 $peardir = "$HOME/pear"; @ 1.54 log @Updated @ text @d85 1 a85 1 echo "INSTALLING FROM $install_file\n"; @ 1.53 log @Updated @ text @d85 1 a85 1 echo "INSTALLING FROM $install_file"; @ 1.52 log @Updated @ text @d71 1 d75 1 a75 1 echo "ERROR accessing PEAR director $peardir - is it in your include path?\n"; @ 1.51 log @Updated @ text @d33 1 a33 1 if (!$peardir) { d44 1 a44 5 $destprefix = "/Phpmole"; if (!file_exists($peardir)) { echo "could not find PEAR directory in $peardir - please configure installer!"; exit; } d55 2 a56 1 @ 1.50 log @Updated @ text @a5 3 /* this bit downloads latest versions to try and install phpmole a13 2 echo "Unable to locate PEAR.php in $path\nPlease add the pear path to your php.ini"; exit; d15 8 d33 5 a37 7 // enviroment variable? if (@@$PEARDIR) { $peardir = $PEARDIR; $inc_path = ini_get("include_dir"); if ($inc_path) $inc_path .= ":"; $inc_path .= $PEARDIR; ini_set("include_path", $inc_path); d39 1 @ 1.49 log @Updated @ text @d11 9 d21 1 a21 1 $peardir = "C:/php/pear"; d23 2 a24 2 if (ereg("/root$", $HOME)) { $peardir = "/usr/lib/php"; @ 1.48 log @Updated @ text @d18 1 d22 1 a22 1 if ($PEARDIR) { @ 1.47 log @Updated @ text @d10 1 a10 1 phpinfo(); @ 1.46 log @Updated @ text @d10 1 @ 1.45 log @Updated @ text @d73 1 a73 1 @ 1.44 log @Updated @ text @d74 1 a74 1 echo "INSTALLING FROM $install_file; @ 1.43 log @Updated @ text @d74 1 a74 1 @ 1.42 log @Updated @ text @d79 1 @ 1.41 log @Updated @ text @d78 1 a78 1 @ 1.40 log @Updated @ text @d77 1 a77 1 $installer->install(@@$xmlfile); @ 1.39 log @Updated @ text @d5 1 a5 1 */ d77 1 a77 1 $installer->install($xmlfile); @ 1.38 log @Updated @ text @d77 1 a77 1 $installer->install(); @ 1.37 log @Updated @ text @d61 2 a62 2 include_once("phpmole_installer.class"); //include_once("Phpmole/installer/phpmole_installer.class"); @ 1.36 log @Updated @ text @a20 1 @ 1.35 log @Updated @ text @d21 1 a21 1 echo "SETTING PEARDIR"; d29 1 a29 1 @ 1.34 log @Updated @ text @d13 1 a13 1 if ($HOME == "/root") { @ 1.33 log @Updated @ text @d13 1 a13 1 if ($USERNAME == "root") { @ 1.32 log @Updated @ text @d62 2 a63 2 //include_once("phpmole_installer.class"); include_once("Phpmole/installer/phpmole_installer.class"); @ 1.31 log @Updated @ text @d62 2 a63 2 include_once("phpmole_installer.class"); //include_once("Phpmole/installer/phpmole_installer.class"); d79 1 @ 1.30 log @Updated @ text @d4 2 a5 4 takes an xml description file, uses that to decide how/where to install things. (also needs an generator..) d7 2 a8 6 process: the installer takes a line from the command line - the location of the xml file. then pumps it into the installer class. d68 7 @ 1.29 log @Updated @ text @d63 1 a63 1 echo "WRIING $peardir{$destprefix}/$file\n"; @ 1.28 log @Updated @ text @d60 2 a61 1 if (!file_exists("$peardir/$file")) { d63 1 @ 1.27 log @Updated @ text @d74 1 @ 1.26 log @Updated @ text @d74 1 a74 1 @ 1.25 log @Updated @ text @d68 1 a68 1 if (!class_exists("phpide_installer")) { @ 1.24 log @Updated @ text @d66 2 a67 2 include_once("Phpmole/installer/phpmole_installer.class"); @ 1.23 log @Updated @ text @d32 1 a32 1 ini_set(":include_path", $inc_path); @ 1.22 log @Updated @ text @d32 1 a32 1 ini_set(":include_path", $incpath); @ 1.21 log @Updated @ text @d29 4 a32 1 ini_set("php_include_path", $PEARDIR); @ 1.20 log @Updated @ text @d64 1 a64 1 @@include_once("Phpmole/installer/phpmole_installer.class"); @ 1.19 log @Updated @ text @d27 1 @ 1.18 log @Updated @ text @d28 2 a29 1 @ 1.17 log @Updated @ text @d26 1 a26 1 if ($PEARDIR) d28 1 a28 1 @ 1.16 log @Updated @ text @d26 1 a26 1 if ($PEARDIR) { @ 1.15 log @Updated @ text @d25 3 a27 2 @ 1.14 log @Updated @ text @d61 1 a61 1 @@include_once($peardir . "Phpmole/installer/phpmole_installer.class"); @ 1.13 log @Updated @ text @d61 1 a61 1 @@include_once("Phpmole/installer/phpmole_installer.class"); @ 1.12 log @Updated @ text @d63 1 a63 1 echo "ERROR accessing PEAR director $pear - is it in your include path?\n"; @ 1.11 log @Updated @ text @d50 1 a50 1 "languages/HTML/parser_XML.class", @ 1.10 log @Updated @ text @d55 1 a55 1 $data = implode("",file("$phpmole_cvs/$file?rev=HEAD")); @ 1.9 log @Updated @ text @d56 1 a56 1 $fh = fopen("$peardir/$destprefix/$file","w"); @ 1.8 log @Updated @ text @d32 1 d47 5 a51 3 $required_files = array("Phpmole/languages/HTML/parser_HTML_base.class", "Phpmole/languages/HTML/parser_XML.class", "Phpmole/installer/phpmole_installer.class" d56 1 a56 1 $fh = fopen("$peardir/$file","w"); @ 1.7 log @Updated @ text @d46 3 a48 3 $required_files = array("languages/HTML/parser_HTML_base.class", "languages/HTML/parser_XML.class", "installer/phpmole_installer.class" @ 1.6 log @Updated @ text @d39 1 a39 1 "Phpmole/languages/XML" @ 1.5 log @Updated @ text @d30 1 a30 1 $phpmole_cvs = "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/phpmole-ide/phpmole/" @ 1.4 log @Updated @ text @d16 13 a29 1 $peardir = "/usr/lib/php" @ 1.3 log @Updated @ text @a16 1 d51 3 @ 1.2 log @Updated @ text @d47 2 a48 2 @@include_once("languages/XML/parser_XML.class"); if (!class_exists("parser_XML")) { d51 1 a51 1 } @ 1.1 log @Updated @ text @d17 35 @ phpmole/installer/RCS/phpmole_installer.class,v0000755000175000017500000006625307400352622022047 0ustar alanalan00000000000000head 1.92; access; symbols; locks; strict; comment @# @; 1.92 date 2001.11.26.05.38.57; author alan; state Exp; branches; next 1.91; 1.91 date 2001.11.26.05.36.29; author alan; state Exp; branches; next 1.90; 1.90 date 2001.11.26.05.35.41; author alan; state Exp; branches; next 1.89; 1.89 date 2001.11.26.05.30.18; author alan; state Exp; branches; next 1.88; 1.88 date 2001.11.26.04.19.18; author alan; state Exp; branches; next 1.87; 1.87 date 2001.11.26.04.19.09; author alan; state Exp; branches; next 1.86; 1.86 date 2001.11.26.04.18.17; author alan; state Exp; branches; next 1.85; 1.85 date 2001.11.26.04.16.02; author alan; state Exp; branches; next 1.84; 1.84 date 2001.11.26.04.14.59; author alan; state Exp; branches; next 1.83; 1.83 date 2001.11.26.04.11.46; author alan; state Exp; branches; next 1.82; 1.82 date 2001.11.26.04.10.04; author alan; state Exp; branches; next 1.81; 1.81 date 2001.11.26.04.05.48; author alan; state Exp; branches; next 1.80; 1.80 date 2001.11.26.04.05.03; author alan; state Exp; branches; next 1.79; 1.79 date 2001.11.23.07.03.25; author alan; state Exp; branches; next 1.78; 1.78 date 2001.11.23.07.01.10; author alan; state Exp; branches; next 1.77; 1.77 date 2001.11.23.03.50.56; author alan; state Exp; branches; next 1.76; 1.76 date 2001.11.23.03.47.36; author alan; state Exp; branches; next 1.75; 1.75 date 2001.11.22.12.25.35; author alan; state Exp; branches; next 1.74; 1.74 date 2001.11.22.12.18.05; author alan; state Exp; branches; next 1.73; 1.73 date 2001.11.22.12.17.57; author alan; state Exp; branches; next 1.72; 1.72 date 2001.11.22.12.04.51; author alan; state Exp; branches; next 1.71; 1.71 date 2001.11.22.12.04.47; author alan; state Exp; branches; next 1.70; 1.70 date 2001.11.22.12.03.32; author alan; state Exp; branches; next 1.69; 1.69 date 2001.11.22.12.03.25; author alan; state Exp; branches; next 1.68; 1.68 date 2001.11.22.12.00.24; author alan; state Exp; branches; next 1.67; 1.67 date 2001.11.22.12.00.21; author alan; state Exp; branches; next 1.66; 1.66 date 2001.11.22.11.57.18; author alan; state Exp; branches; next 1.65; 1.65 date 2001.11.22.11.56.59; author alan; state Exp; branches; next 1.64; 1.64 date 2001.11.22.11.56.49; author alan; state Exp; branches; next 1.63; 1.63 date 2001.11.22.11.56.24; author alan; state Exp; branches; next 1.62; 1.62 date 2001.11.22.11.56.14; author alan; state Exp; branches; next 1.61; 1.61 date 2001.11.22.11.55.59; author alan; state Exp; branches; next 1.60; 1.60 date 2001.11.22.11.52.47; author alan; state Exp; branches; next 1.59; 1.59 date 2001.11.22.11.47.43; author alan; state Exp; branches; next 1.58; 1.58 date 2001.11.22.11.45.42; author alan; state Exp; branches; next 1.57; 1.57 date 2001.11.22.11.38.48; author alan; state Exp; branches; next 1.56; 1.56 date 2001.11.22.11.37.51; author alan; state Exp; branches; next 1.55; 1.55 date 2001.11.22.11.37.23; author alan; state Exp; branches; next 1.54; 1.54 date 2001.11.22.11.37.05; author alan; state Exp; branches; next 1.53; 1.53 date 2001.11.22.11.36.56; author alan; state Exp; branches; next 1.52; 1.52 date 2001.11.22.11.36.24; author alan; state Exp; branches; next 1.51; 1.51 date 2001.11.22.11.35.44; author alan; state Exp; branches; next 1.50; 1.50 date 2001.11.22.11.32.49; author alan; state Exp; branches; next 1.49; 1.49 date 2001.11.22.11.23.22; author alan; state Exp; branches; next 1.48; 1.48 date 2001.11.22.11.21.56; author alan; state Exp; branches; next 1.47; 1.47 date 2001.11.22.10.46.23; author alan; state Exp; branches; next 1.46; 1.46 date 2001.11.22.10.41.12; author alan; state Exp; branches; next 1.45; 1.45 date 2001.11.22.10.39.53; author alan; state Exp; branches; next 1.44; 1.44 date 2001.11.22.10.39.10; author alan; state Exp; branches; next 1.43; 1.43 date 2001.11.22.10.39.03; author alan; state Exp; branches; next 1.42; 1.42 date 2001.11.22.10.38.21; author alan; state Exp; branches; next 1.41; 1.41 date 2001.11.22.10.38.17; author alan; state Exp; branches; next 1.40; 1.40 date 2001.11.22.10.37.46; author alan; state Exp; branches; next 1.39; 1.39 date 2001.11.22.10.37.03; author alan; state Exp; branches; next 1.38; 1.38 date 2001.11.22.10.36.52; author alan; state Exp; branches; next 1.37; 1.37 date 2001.11.22.10.36.03; author alan; state Exp; branches; next 1.36; 1.36 date 2001.11.22.10.35.45; author alan; state Exp; branches; next 1.35; 1.35 date 2001.11.22.10.34.59; author alan; state Exp; branches; next 1.34; 1.34 date 2001.11.22.10.32.41; author alan; state Exp; branches; next 1.33; 1.33 date 2001.11.22.10.32.13; author alan; state Exp; branches; next 1.32; 1.32 date 2001.11.22.10.31.25; author alan; state Exp; branches; next 1.31; 1.31 date 2001.11.22.10.22.13; author alan; state Exp; branches; next 1.30; 1.30 date 2001.11.22.10.21.23; author alan; state Exp; branches; next 1.29; 1.29 date 2001.11.22.10.20.52; author alan; state Exp; branches; next 1.28; 1.28 date 2001.11.22.10.20.29; author alan; state Exp; branches; next 1.27; 1.27 date 2001.11.22.10.20.08; author alan; state Exp; branches; next 1.26; 1.26 date 2001.11.22.10.19.30; author alan; state Exp; branches; next 1.25; 1.25 date 2001.11.22.10.17.29; author alan; state Exp; branches; next 1.24; 1.24 date 2001.11.22.10.16.40; author alan; state Exp; branches; next 1.23; 1.23 date 2001.11.22.10.16.37; author alan; state Exp; branches; next 1.22; 1.22 date 2001.11.22.10.15.15; author alan; state Exp; branches; next 1.21; 1.21 date 2001.11.22.10.14.27; author alan; state Exp; branches; next 1.20; 1.20 date 2001.11.22.10.13.47; author alan; state Exp; branches; next 1.19; 1.19 date 2001.11.22.10.13.25; author alan; state Exp; branches; next 1.18; 1.18 date 2001.11.22.10.12.30; author alan; state Exp; branches; next 1.17; 1.17 date 2001.11.22.09.37.54; author alan; state Exp; branches; next 1.16; 1.16 date 2001.11.22.09.33.30; author alan; state Exp; branches; next 1.15; 1.15 date 2001.11.22.09.31.37; author alan; state Exp; branches; next 1.14; 1.14 date 2001.11.22.09.31.27; author alan; state Exp; branches; next 1.13; 1.13 date 2001.11.22.09.25.58; author alan; state Exp; branches; next 1.12; 1.12 date 2001.11.22.09.24.21; author alan; state Exp; branches; next 1.11; 1.11 date 2001.11.22.09.20.55; author alan; state Exp; branches; next 1.10; 1.10 date 2001.11.22.09.20.20; author alan; state Exp; branches; next 1.9; 1.9 date 2001.11.22.09.20.00; author alan; state Exp; branches; next 1.8; 1.8 date 2001.11.22.09.15.37; author alan; state Exp; branches; next 1.7; 1.7 date 2001.11.22.09.10.59; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.22.09.09.09; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.22.09.09.07; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.22.09.04.39; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.22.08.59.43; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.22.08.55.01; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.22.08.53.35; author alan; state Exp; branches; next ; desc @Updated @ 1.92 log @Updated @ text @ Net_NNTP Communicate with an NNTP server kaltroft Martin Kaltroft martin@@nitro.dk 0.1 2001-04-19 This is the initial independent release of the NNTP package. / NNTP.php ** EXTENSIONS TO PAIR STANDARD! cvs.php.net pear/Net_NNTP cvs.sourceforge.net cgi-bin/viewcvs.cgi phpmole-ide/phpmole */ require_once("Phpmole/languages/XML/parser_XML.class"); class phpmole_installer { var $phpmole_cvs = "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/phpmole-ide/phpmole/"; var $peardir = "/usr/lib/php"; var $upgrade =0; // set to 1 to force a download var $installbase = ""; // installer vars var $cvsweb_revision =""; var $chora_revision =""; function install($xmlfile="") { if (!$xmlfile) $xmlfile = $this->phpmole_cvs . "package.xml?rev=HEAD"; echo "Installing from file $xmlfile\n"; $data = implode("",file($xmlfile)); $this->parser = &new parser_xml(); $this->parser->data = $data; $this->parser->html_parse(); // now get the information about where to install from! $this->get_chora_settings(); $this->get_cvsweb_settings(); $this->set_installbase(); $this->installdir = $this->peardir . $this->installbase; $this->check_dependancies(); $this->check_recommends(); // $this->host_prefix & host_suffix now should be set! // get the list of files $this->get_files(); $this->create_dirs(); $this->fetch_files(); $this->post_install(); } function post_install() { $id = $this->parser->find(0,"postinstall"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $data = $subelement->children[0][1]; if ($subelement->title == "package") { $installer = new phpmole_installer(); $installer->upgrade=$this->upgrade; $installer->peardir = $this->peardir; $installer->install($this->installdir.$data); } if ($subelement->title == "packageurl") { $installer = &new phpmole_installer(); $installer->peardir = $this->peardir; $installer->install($data); } if ($subelement->title == "message") { echo $data; } } } } function get_chora_settings() { $id = $this->parser->find(0,"chora"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $setting = "chora_". $subelement->title; $this->$setting = $subelement->children[0][1]; //STRING,"VALUE" } } if (!$this->chora_revision) $this->chora_revision = "p=1"; if ($this->chora_host && $this->chora_dir) { $this->host_prefix = "http://{$this->chora_host}/co.php/{$this->chora_dir}/"; $this->host_suffix = "?".$this->chora_revision; } // should really handle destinct revisions per file .. later.... } function get_cvsweb_settings() { $id = $this->parser->find(0,"cvsweb"); //echo "ID IS $id"; if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $setting = "cvsweb_". $subelement->title; //echo "SETTING $setting {$subelement->children[0][1]}\n"; $this->$setting = $subelement->children[0][1]; //STRING,"VALUE" } } if (!$this->cvsweb_revision) $this->cvsweb_revision = "rev=HEAD"; if ($this->cvsweb_host && $this->cvsweb_root && $this->cvsweb_dir ) { $this->host_prefix = "http://{$this->cvsweb_host}/{$this->cvsweb_root}/{$this->cvsweb_dir}"; $this->host_suffix = "?".$this->cvsweb_revision; } // should really handle destinct revisions per file .. later.... } function set_installbase() { $id = $this->parser->find(0,"installbase"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $this->installbase = $subelement->children[0][1]; //STRING,"VALUE" } } } function check_dependancies() { $id = $this->parser->find(0,"depends"); if (!$id) return; $extensiondir = ini_get("extension_dir"); $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); if ($subelement->title == "module") { $module = $subelement->children[0][1]; $modname = str_replace("_","-",$module); if (!extension_loaded($modname) && !file_exists("$extensiondir/$module.so") && !file_exists("$extensiondir/$module.dll") && !file_exists("$extensiondir/php_$module.dll") ) { echo "CAN NOT FIND module $module\n Please make sure it is installed and you extension dir is set correctly\n"; exit; } else { if (file_exists("$extensiondir/$module.so")) dl("$module.so"); if (file_exists("$extensiondir/$module.dll")) dl("$module.dll"); if (file_exists("$extensiondir/php_$module.dll")) dl("php_$module.dll"); } } if ($subelement->title == "class") { $class = $subelement->children[0][1]; if (!class_exists($class)) { echo "CAN NOT FIND class definition for $class\nPlease make sure that it is available\n"; exit; } } } } } function check_recommends() { $id = $this->parser->find(0,"recommends"); if (!$id) return; $extensiondir = ini_get("extension_dir"); $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); if ($subelement->title == "module") { $module = $subelement->children[0][1]; $modname = str_replace("_","-",$module); if (!extension_loaded($modname) && !file_exists("$extensiondir/$module.so") && !file_exists("$extensiondir/$module.dll") && !file_exists("$extensiondir/php_$module.dll") ) { echo "WARNING CAN NOT FIND module $module\n This is a recommended module - please try and install it\n"; exit; } else { if (file_exists("$extensiondir/$module.so")) dl("$module.so"); if (file_exists("$extensiondir/$module.dll")) dl("$module.dll"); if (file_exists("$extensiondir/php_$module.dll")) dl("php_$module.dll"); } } if ($subelement->title == "class") { $class = $subelement->children[0][1]; if (!class_exists($class)) { echo "CAN NOT FIND class definition for $class\nThis is a recommended class please make sure it is installed\n"; } } } } } function get_files() { $id = $this->parser->find(0,"filelist"); if (!$id) return; $this->files = array(); $this->dirs = array(); $element = $this->parser->get_element($id); if ($element->children) foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); //echo serialize($subelement)."\n"; if ($subelement->title == "file") $this->files[] = $subelement->children[0][1]; //STRING,"VALUE" if ($subelement->title == "dir") $this->dirs[] = $subelement->children[0][1]; //STRING,"VALUE" } } } function fetch_files() { //echo serialize($this->files); if (!@@$this->files) return; $total = count($this->files); $i=0; foreach($this->files as $file) { $destname = $this->installdir . $file; $source = $this->host_prefix . $file . $this->host_suffix; echo "Checking File $destname\n"; if (!file_exists($destname) || $this->upgrade) { echo "Fetching File {$i} of {$total} : $file\n"; $data = implode("",file($source)); if (!$data) { echo "Empty file retrieving $file"; continue; } echo "Writing to $destname\n"; $fh = fopen($destname,"w"); fwrite($fh,$data); if (ereg("\.php$", $destname)) chmod ($destname, 0755); fclose($fh); } $i++; } } function create_dirs() { if (!@@$this->dirs) return; foreach($this->dirs as $dir) { $destname = $this->installdir . $dir; if (!file_exists($destname)) mkdir($destname,0755); } } } @ 1.91 log @Updated @ text @d273 1 @ 1.90 log @Updated @ text @d98 2 a99 1 $installer = &new phpmole_installer(); @ 1.89 log @Updated @ text @d59 1 a59 1 global $_SERVER; a60 5 if ($_SERVER["argv"]) { $line = " " . implode(' ', $_SERVER["argv"]) . " "; if (ereg(" upgrade ", $line)) $this->upgrade=1; } @ 1.88 log @Updated @ text @d59 1 a59 1 d61 6 a66 1 @ 1.87 log @Updated @ text @d247 1 a247 4 if (!$id) { echo serialize($this->parser) . "\nNO FILELIST FOUND"; return; } @ 1.86 log @Updated @ text @d247 1 a247 1 if ($id) { @ 1.85 log @Updated @ text @d65 1 a65 1 $this->parser = new parser_xml(); @ 1.84 log @Updated @ text @d247 4 a250 1 if ($id) {echo "\nNO FILELIST FOUND"; return;} @ 1.83 log @Updated @ text @d247 1 a247 1 if ($id) return; @ 1.82 log @Updated @ text @d266 1 @ 1.81 log @Updated @ text @d289 1 @ 1.80 log @Updated @ text @d78 1 a78 2 $file_id = $this->parser->find(0,"filelist"); $this->get_files($file_id); d245 3 a247 1 function get_files($id) { @ 1.79 log @Updated @ text @d249 3 a251 2 $element = $this->parser->get_element($id); foreach ($element->children as $child) { @ 1.78 log @Updated @ text @d62 1 a62 1 echo "GOT $xmlfile"; d139 1 a139 1 echo "ID IS $id"; d146 1 a146 1 echo "SETTING $setting {$subelement->children[0][1]}\n"; @ 1.77 log @Updated @ text @d272 4 @ 1.76 log @Updated @ text @d62 2 a64 2 $data = implode("",file($xmlfile)); echo serialize($data); @ 1.75 log @Updated @ text @d64 1 @ 1.74 log @Updated @ text @d274 2 @ 1.73 log @Updated @ text @d276 1 @ 1.72 log @Updated @ text @d263 2 d269 1 a269 1 echo "FETCHING $source\n"; d271 1 a271 1 echo "WRITING to $destname\n"; @ 1.71 log @Updated @ text @d136 1 a136 1 echo "GETTInG CVS WEB?"; @ 1.70 log @Updated @ text @d139 1 a139 1 if ($id) return; d153 1 a153 1 } @ 1.69 log @Updated @ text @d138 1 @ 1.68 log @Updated @ text @d136 1 @ 1.67 log @Updated @ text @d234 1 a234 1 if (!object_exists($class)) { @ 1.66 log @Updated @ text @d196 1 a196 1 if (!object_exists($class)) { @ 1.65 log @Updated @ text @d168 1 a168 1 function get_dependancies() { @ 1.64 log @Updated @ text @d51 1 a51 1 var $installbase = "'; @ 1.63 log @Updated @ text @d51 1 a51 1 @ 1.62 log @Updated @ text @d220 1 a220 1 !file_exists("$extensiondir/php_$module.dll") && @ 1.61 log @Updated @ text @d182 1 a182 1 !file_exists("$extensiondir/php_$module.dll") && @ 1.60 log @Updated @ text @d98 1 a98 1 $installer = new &phpmole_installer(); d103 1 a103 1 $installer = new &phpmole_installer(); @ 1.59 log @Updated @ text @d107 3 @ 1.58 log @Updated @ text @d96 1 d100 7 a106 2 $installer->install( $this->$setting = $subelement->children[0][1]; //STRING,"VALUE" @ 1.57 log @Updated @ text @d43 1 a43 3 // some rather dangerous includes :) // everything should get downloaded to /usr/lib/php/Phpmole/ (PEARDIR + Phpmole) //FIXME : is there a better way to find peardir? d58 1 a58 1 function install($xmlfile="",$installdir="") { d61 2 a62 2 if (!$installdir) $installdir = "/Phpmole"; $this->installdir = $this->peardir . $installdir; d72 1 d92 11 a102 1 @ 1.56 log @Updated @ text @d82 1 d85 12 @ 1.55 log @Updated @ text @d82 1 a82 1 } d176 1 a176 1 $id = $this->parser->find(0,"recommend"); @ 1.54 log @Updated @ text @d175 1 a175 1 function get_recommends() { @ 1.53 log @Updated @ text @a209 2 @ 1.52 log @Updated @ text @d74 2 a75 2 $this->get_dependancies(); d176 1 a176 1 $id = $this->parser->find(0,"depends"); @ 1.51 log @Updated @ text @d166 1 a166 1 echo "CAN NOT FIND class definition for $class\nPlease make sure that it is available"; d204 2 a205 1 echo "CAN NOT FIND class definition for $class\nPlease make sure that it is available"; @ 1.50 log @Updated @ text @d159 1 d162 37 d202 5 a206 5 if (!objec } $this->installbase = $subelement->children[0][1]; //STRING,"VALUE" a208 1 } a211 1 @ 1.49 log @Updated @ text @d140 1 d146 19 a164 1 d166 2 @ 1.48 log @Updated @ text @a71 1 a72 3 d74 1 d136 19 @ 1.47 log @Updated @ text @d71 7 a77 6 $chora_id = $this->parser->find(0,"chora"); if ($chora_id) $this->get_chora_settings($chora_id); $cvsweb_id = $this->parser->find(0,"cvsweb"); if ($cvsweb_id) $this->get_cvsweb_settings($cvsweb_id); d88 3 a90 1 function get_chora_settings($id) { d107 3 a109 1 function get_cvsweb_settings($id) { d125 13 @ 1.46 log @Updated @ text @d129 1 a129 1 echo serialize($subelement)."\n"; d139 1 a139 1 echo serialize($this->files); @ 1.45 log @Updated @ text @d82 1 @ 1.44 log @Updated @ text @d140 2 a141 2 $destname = $this->installdir . "/" .$file; $source = $this->host_prefix . "/". $file . $this->host_suffix; @ 1.43 log @Updated @ text @d115 1 a115 1 $this->host_prefix = "http://{$this->cvsweb_host}/{$this->cvsweb_root}/{$this->cvsweb_dir}/"; @ 1.42 log @Updated @ text @d64 1 a64 1 $this->installdir = $installdir; @ 1.41 log @Updated @ text @d116 1 a116 1 $this->host_suffix = "?".$this->ccvsweb_revision; @ 1.40 log @Updated @ text @d116 1 a116 1 $this->host_suffix = "?".$this->chora_revision; @ 1.39 log @Updated @ text @d129 1 a129 1 if ($subelement->title = "file") d131 1 a131 1 if ($subelement->title = "dir") @ 1.38 log @Updated @ text @d138 1 a138 1 echo serialize($files); @ 1.37 log @Updated @ text @d138 1 @ 1.36 log @Updated @ text @d128 1 a128 1 echo serialize($subelement); @ 1.35 log @Updated @ text @d128 1 @ 1.34 log @Updated @ text @d139 1 a139 1 $source = $this->host_prefix . "/". $file . $host_suffix; @ 1.33 log @Updated @ text @d109 1 a109 1 echo "SETTING $setting"; @ 1.32 log @Updated @ text @d109 1 @ 1.31 log @Updated @ text @d54 6 @ 1.30 log @Updated @ text @d62 1 a62 1 $this->parser->parse_html(); @ 1.29 log @Updated @ text @d62 1 a62 1 $this->parser->parse(); @ 1.28 log @Updated @ text @d60 1 a60 1 $this->parser = new xml_parser(); @ 1.27 log @Updated @ text @d47 1 a47 1 require_once("Phpmole/languages/XML/parser_xml.class"); @ 1.26 log @Updated @ text @d47 2 @ 1.25 log @Updated @ text @d54 1 a54 1 if (!$xmlfile) $xmlfile = $this->phpmole_cvs . "phpmole.xml?rev=HEAD"; @ 1.24 log @Updated @ text @d54 1 a54 1 if (!$xmlfile) $xmlfile = $phpmole_cvs . "phpmole.xml?rev=HEAD"; @ 1.23 log @Updated @ text @a132 1 @ 1.22 log @Updated @ text @d132 2 d135 1 @ 1.21 log @Updated @ text @d129 1 a129 1 $destname = $this->installdir . "/" $file; @ 1.20 log @Updated @ text @d121 1 a121 1 if ($subelement->title = "file") d126 1 @ 1.19 log @Updated @ text @d106 1 a106 1 $this->host_prefix = "http://{$this->cvsweb_host}/{$this->cvsweb_root{/{$this->cvsweb_dir}/"; @ 1.18 log @Updated @ text @d55 1 a55 1 if (!$installdir) $installdir = "/Phpmole" @ 1.17 log @Updated @ text @d48 1 a48 1 var $phpmole_cvs = "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/phpmole-ide/phpmole/" @ 1.16 log @Updated @ text @d50 2 d127 6 a132 5 foreach($this->files as $file) $destname = $this->installdir . "/"; if (!file_exists("$peardir/$file")) { $data = implode("",file("$phpmole_cvs/$file?rev=HEAD")); $fh = fopen("$peardir/$file","w"); d136 8 a144 3 d146 1 @ 1.15 log @Updated @ text @d54 1 d112 1 d117 4 a120 1 $this->files[] = $subelement->children[0][1]; //STRING,"VALUE" d125 2 a126 1 foreach($required_files as $file) @ 1.14 log @Updated @ text @d126 1 a126 1 } @ 1.13 log @Updated @ text @d49 3 a51 2 function install($xmlfile="") { d53 1 d120 8 a127 3 foreach($file in $files) { @ 1.12 log @Updated @ text @d107 14 a120 1 @ 1.11 log @Updated @ text @d84 1 a84 1 $this->host_prefix = "http://". $this->chora_host . "/co.php/". $this->chora_dir . "/"; d95 1 a95 1 $setting = "chora_". $subelement->title; d99 3 a101 3 if (!$this->chora_revision) $this->chora_revision = "p=1"; if ($this->chora_host && $this->chora_dir) { $this->host_prefix = "http://". $this->chora_host . "/co.php/". $this->chora_dir . "/"; @ 1.10 log @Updated @ text @d90 17 @ 1.9 log @Updated @ text @d87 2 @ 1.8 log @Updated @ text @d82 5 a86 5 if (!$this->chora_revision) $this->chora_revision = " if ($this->chora_host && $this->chora_dir) $this->host_prefix = "http://". $this->chora_host . "/". $this->chora_dir @ 1.7 log @Updated @ text @d71 15 a85 1 @ 1.6 log @Updated @ text @d58 1 a58 1 $chora_id = $parser->find(0,"chora"); d61 1 a61 1 $cvsweb_id = $parser->find(0,"cvsweb"); d67 4 a70 1 @ 1.5 log @Updated @ text @d66 2 a67 1 // get the list of file @ 1.4 log @Updated @ text @d46 1 a46 1 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/phpmole-ide/phpmole/languages/XML/parser_XML.class?rev=HEAD d53 3 a55 3 $parser = new xml_parser(); $parser->data = $data; $parser->parse(); d58 10 @ 1.3 log @Updated @ text @d46 3 d50 8 a57 25 $peardir = "/usr/lib/php" $phpmole_cvs = "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/phpmole-ide/phpmole/" if (!file_exists($peardir)) { echo "could not find PEAR directory in $peardir - please configure installer!"; exit; } $installdirs = array("Phpmole", "Phpmole/languages", "Phpmole/languages/HTML", "Phpmole/languages/XML" ); foreach($installdirs as $dir) if (!file_exists("$peardir/$dir")) mkdir ("$peardir/$dir",0755); $required_files = array("languages/HTML/parser_HTML_base.class", "languages/HTML/parser_XML.class") foreach($required_files as $file) if (!file_exists("$peardir/$file")) { $data = implode("",file("$phpmole_cvs/$file?rev=HEAD")); $fh = fopen("$peardir/$file","w"); fwrite($fh,$data); fclose($fh); } a58 12 @@include_once("languages/XML/parser_XML.class"); if (!class_exists("parser_XML")) { echo "ERROR accessing PEAR director $pear - is it in your include path?\n"; exit; } class phpmole_installer { function install($xmlfile) { $this->pre_install(); $data = implode("",file($xmlfile)); $parser = new xml_ @ 1.2 log @Updated @ text @d73 5 a77 4 require_once("languages/XML/parser_XML.class"); a79 2 @ 1.1 log @Updated @ text @d64 1 a64 2 "languages/HTML/parser_XML_base.class", "languages/HTML/parser_XML_base.class") d73 4 @ phpmole/installer/RCS/cvslib-package.xml,v0000755000175000017500000000344407377352655020710 0ustar alanalan00000000000000head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2001.11.23.04.50.53; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.23.04.50.51; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.23.03.42.41; author alan; state Exp; branches; next ; desc @Updated @ 1.3 log @Updated @ text @ CVSLib CVSlib from chora alan_k Alan Knowles alan_k@@hklc.com 1.0 2001-11-20 This is just a downloader package for the cvslib /CVSLib ci co rcs --------------INSTALL COMPLETED--------------- / /CVSLib /CVSLib.php /CVSLib/Annotate.php /CVSLib/Checkout.php /CVSLib/Diff.php /CVSLib/Error.php /CVSLib/File.php /CVSLib/Log.php /CVSLib/Rev.php /CVSLib/Directory.php cvs.horde.org chora/lib @ 1.2 log @Updated @ text @a59 1 @ 1.1 log @Updated @ text @d60 1 @ phpmole/installer/CVS/0002755000175000017500000000000007641002067015026 5ustar alanalan00000000000000phpmole/installer/CVS/Root0000644000175000017500000000010107377145242015673 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/installer/CVS/Repository0000644000175000017500000000002207377145242017131 0ustar alanalan00000000000000phpmole/installer phpmole/installer/CVS/Entries0000644000175000017500000000000207400343577016357 0ustar alanalan00000000000000D phpmole/installer/CVS/.mappedfiles/0002755000175000017500000000000007641002067017375 5ustar alanalan00000000000000phpmole/installer/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002067022675 2Repositoryustar alanalan00000000000000phpmole/phpmole-ide.php0000755000175000017500000000435410135417623015321 0ustar alanalan00000000000000#!/usr/bin/php4 -q run(); ?> phpmole/config/0002755000175000017500000000000007641002067013643 5ustar alanalan00000000000000phpmole/config/CVS/0002755000175000017500000000000007641002067014276 5ustar alanalan00000000000000phpmole/config/CVS/Root0000644000175000017500000000010107372361212015133 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/config/CVS/Repository0000644000175000017500000000001707372361212016375 0ustar alanalan00000000000000phpmole/config phpmole/config/CVS/Entries0000644000175000017500000000027607621216612015636 0ustar alanalan00000000000000/defines.inc/1.4/Fri Feb 15 03:34:47 2002// /Preferences/1.4/Wed May 22 07:17:43 2002// /phpmole_prefs.class/1.8/Mon Jun 3 11:14:46 2002// /Preferences.WIN/1.2/Sat Feb 8 13:40:50 2003// D phpmole/config/CVS/.mappedfiles/0002755000175000017500000000000007641002067016645 5ustar alanalan00000000000000phpmole/config/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002067022145 2Repositoryustar alanalan00000000000000phpmole/config/RCS/0002700000175000017500000000000007641002067014260 5ustar alanalan00000000000000phpmole/config/RCS/.mappedfiles/0002700000175000017500000000000007641002067016627 5ustar alanalan00000000000000phpmole/config/RCS/.mappedfiles/PHPIDE~1.CLA0000777000175000017500000000000007641002067024346 2phpide_prefs.class,vustar alanalan00000000000000phpmole/config/RCS/.mappedfiles/DEFINE~1.INC0000777000175000017500000000000007641002067022752 2defines.inc,vustar alanalan00000000000000phpmole/config/RCS/.mappedfiles/PREFER~10000777000175000017500000000000007641002067022447 2Preferences,vustar alanalan00000000000000phpmole/config/RCS/.mappedfiles/PHPMOL~1.CLA0000777000175000017500000000000007641002067024567 2phpmole_prefs.class,vustar alanalan00000000000000phpmole/config/RCS/.mappedfiles/CONFIG~1.CLA0000777000175000017500000000000007641002067024456 2config_dialog.class,vustar alanalan00000000000000phpmole/config/RCS/phpide_prefs.class,v0000755000175000017500000000732107412777260020251 0ustar alanalan00000000000000head 1.6; access; symbols; locks; strict; comment @# @; 1.6 date 2001.12.28.05.10.08; author alan; state Exp; branches; next 1.5; 1.5 date 2001.12.11.06.10.26; author alan; state Exp; branches; next 1.4; 1.4 date 2001.12.11.06.10.09; author alan; state Exp; branches; next 1.3; 1.3 date 2001.12.11.06.07.48; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.09.07.49.33; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.08.05.20.26; author alan; state Exp; branches; next ; desc @Updated @ 1.6 log @Updated @ text @data = file($filename); //echo serialize($this->data); $this->parse(); } function parse() { for ($i=0;$i< count($this->data);$i++) { $line = trim($this->data[$i]); if (!$line) continue; if (substr($line,0,1) == "[") { $major = substr($line,1,-1); //print "GOT MAJOR $major\n"; continue; } $eq = strpos( $line,"="); $left = trim(substr($line,0,$eq)); $right = substr($line,$eq+1); $this->prefs[$major."/".$left] = trim($right); //echo "Setting pref $major/$left = $right\n"; } } function write($file) { // map [major/minor] = xxx // to // [major] // minor = xxxx // first convert list into array[major][minor] //echo "WRITING TO $file"; foreach($this->prefs as $k => $v) { $p = strpos($k,"/"); if (!$p) continue; $major = substr($k,0,$p); $minor = substr($k,$p+1); $sorted[$major][$minor] = $v; //echo "STORING $major / $minor = $v\n"; } $fh = fopen($file,"w"); foreach($sorted as $k => $v) { fwrite($fh,"\n[$k]\n"); foreach($v as $minor => $value) fwrite($fh,"$minor = $value\n"); } fclose($fh); } function load_user_prefs() { global $HOME; $homedir = $HOME; if (substr(PHP_OS, 0, 3) == 'WIN') $homedir = "C:\Program Files"; if (file_exists($homedir."/.".APPNAME."/Preferences")) $this->load($homedir."/.".APPNAME."/Preferences"); } function save_user_prefs() { global $HOME; $homedir = $HOME; if (substr(PHP_OS, 0, 3) == 'WIN') $homedir = "C:\Program Files"; //echo "MKDIR ". $HOME."/.".APPNAME; if (!is_dir($homedir."/.".APPNAME)) mkdir($homedir."/.".APPNAME,0700); $this->write($homedir."/.".APPNAME."/Preferences"); } function get($a) { return @@$this->prefs[$a]; } function set($a,$b) { debug_echo("PREFS SET $a = $b"); $this->prefs[$a] = $b; } } ?>@ 1.5 log @Updated @ text @d92 1 @ 1.4 log @Updated @ text @d66 4 a69 4 global $HOME; $homedir = $HOME; if (substr(PHP_OS, 0, 3) == 'WIN') $homedir = "C:\Program Files"; d71 2 a72 2 if (file_exists($homedir."/.".APPNAME."/Preferences")) $this->load($homedir."/.".APPNAME."/Preferences"); @ 1.3 log @Updated @ text @d67 6 a72 2 if (file_exists($HOME."/.".APPNAME."/Preferences")) $this->load($HOME."/.".APPNAME."/Preferences"); @ 1.2 log @Updated @ text @d74 4 d79 3 a81 3 if (!is_dir($HOME."/.".APPNAME)) mkdir($HOME."/.".APPNAME,0700); $this->write($HOME."/.".APPNAME."/Preferences"); @ 1.1 log @Updated @ text @d89 1 @ phpmole/config/RCS/defines.inc,v0000755000175000017500000005627607406256773016703 0ustar alanalan00000000000000head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2001.12.14.02.03.39; author alan; state Exp; branches; next 1.1; 1.1 date 2001.12.14.01.28.01; author alan; state Exp; branches; next ; desc @Updated @ 1.2 log @Updated @ text @ // // 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 version 2 of the License, or // (at your option) any later version. // // 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 Library 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-1307, USA. @@define( "SCINTILLA_INVALID_POSITION" , -1 ); // GtkScintillaEolMode @@define( "SCINTILLA_EOL_CRLF" , 0 ); @@define( "SCINTILLA_EOL_CR" , 1 ); @@define( "SCINTILLA_EOL_LF" , 2 ); // GtkScintillaMarginType @@define( "SCINTILLA_MARGIN_SYMBOL" , 0 ); @@define( "SCINTILLA_MARGIN_NUMBER" , 1 ); // GtkScintillaEdgeMode @@define( "SCINTILLA_EDGE_NONE" , 0 ); @@define( "SCINTILLA_EDGE_LINE" , 1 ); @@define( "SCINTILLA_EDGE_BACKGROUND" , 2 ); // Find flags @@define( "SCINTILLA_FIND_DOWN" , 1 ); @@define( "SCINTILLA_FIND_WHOLE_WORDS" , 2 ); @@define( "SCINTILLA_FIND_MATCH_CASE" , 4 ); @@define( "SCINTILLA_FIND_WORD_START" , 0x00100000 ); @@define( "SCINTILLA_FIND_REGEXP" , 0x00200000 ); // GtkScintillaLexer @@define( "SCINTILLA_LEXER_CONTAINER" , 0 ); @@define( "SCINTILLA_LEXER_NULL" , 1 ); @@define( "SCINTILLA_LEXER_PYTHON" , 2 ); @@define( "SCINTILLA_LEXER_CPP" , 3 ); @@define( "SCINTILLA_LEXER_HTML" , 4 ); @@define( "SCINTILLA_LEXER_XML" , 5 ); @@define( "SCINTILLA_LEXER_PERL" , 6 ); @@define( "SCINTILLA_LEXER_SQL" , 7 ); @@define( "SCINTILLA_LEXER_VB" , 8 ); @@define( "SCINTILLA_LEXER_PROPERTIES" , 9 ); @@define( "SCINTILLA_LEXER_ERRORLIST" , 10 ); @@define( "SCINTILLA_LEXER_MAKEFILE" , 11 ); @@define( "SCINTILLA_LEXER_BATCH" , 12 ); @@define( "SCINTILLA_LEXER_XCODE" , 13 ); @@define( "SCINTILLA_LEXER_LATEX" , 14 ); @@define( "SCINTILLA_LEXER_LUA" , 15 ); @@define( "SCINTILLA_LEXER_DIFF" , 16 ); @@define( "SCINTILLA_LEXER_CONF" , 17 ); @@define( "SCINTILLA_LEXER_PASCAL" , 18 ); @@define( "SCINTILLA_LEXER_AVE" , 19 ); @@define( "SCINTILLA_LEXER_ADA" , 20 ); // GtkScintillaStyle @@define( "SCINTILLA_STYLE_DEFAULT" , 32 ); @@define( "SCINTILLA_STYLE_LINE_NUMBER" , 33 ); @@define( "SCINTILLA_STYLE_BRACE_LIGHT" , 34 ); @@define( "SCINTILLA_STYLE_BRACE_BAD" , 35 ); @@define( "SCINTILLA_STYLE_CONTROL_CHAR" , 36 ); @@define( "SCINTILLA_STYLE_INDENT_GUIDE" , 37 ); @@define( "SCINTILLA_STYLE_MAX" , 127 ); // LEXER_PYTHON lexical states @@define( "SCINTILLA_PYTHON_WHITE_SPACE" , 0 ); @@define( "SCINTILLA_PYTHON_COMMENT_LINE" , 1 ); @@define( "SCINTILLA_PYTHON_NUMBER" , 2 ); @@define( "SCINTILLA_PYTHON_STRING_DOUBLE" , 3 ); @@define( "SCINTILLA_PYTHON_STRING_SINGLE" , 4 ); @@define( "SCINTILLA_PYTHON_KEYWORD" , 5 ); @@define( "SCINTILLA_PYTHON_TRIPLE_SINGLE" , 6 ); @@define( "SCINTILLA_PYTHON_TRIPLE_DOUBLE" , 7 ); @@define( "SCINTILLA_PYTHON_CLASS_STATEMENT" , 8 ); @@define( "SCINTILLA_PYTHON_DEF_STATEMENT" , 9 ); @@define( "SCINTILLA_PYTHON_OPERATOR" , 10 ); @@define( "SCINTILLA_PYTHON_IDENTIFIER" , 11 ); @@define( "SCINTILLA_PYTHON_COMMENT_BLOCK" , 12 ); @@define( "SCINTILLA_PYTHON_STRING_EOL" , 13 ); // LEXER_CPP Lexical states @@define( "SCINTILLA_CPP_WHITE_SPACE" , 0 ); @@define( "SCINTILLA_CPP_COMMENT_BLOCK" , 1 ); @@define( "SCINTILLA_CPP_COMMENT_LINE" , 2 ); @@define( "SCINTILLA_CPP_COMMENT_DOC" , 3 ); @@define( "SCINTILLA_CPP_NUMBER" , 4 ); @@define( "SCINTILLA_CPP_KEYWORD" , 5 ); @@define( "SCINTILLA_CPP_STRING" , 6 ); @@define( "SCINTILLA_CPP_CHARACTER" , 7 ); @@define( "SCINTILLA_CPP_UUID" , 8 ); @@define( "SCINTILLA_CPP_PREPROCESSOR" , 9 ); @@define( "SCINTILLA_CPP_OPERATOR" , 10 ); @@define( "SCINTILLA_CPP_IDENTIFIER" , 11 ); @@define( "SCINTILLA_CPP_STRING_EOL" , 12 ); @@define( "SCINTILLA_CPP_STRING_VERBATIM" , 13 ); @@define( "SCINTILLA_CPP_REGEX" , 14 ); @@define( "SCINTILLA_CPP_COMMENT_LINE_DOC" , 15 ); @@define( "SCINTILLA_CPP_WORD2" , 16 ); @@define( "SCINTILLA_CPP_COMMENT_DOC_KEYWORD" , 17 ); @@define( "SCINTILLA_CPP_COMMENT_DOC_KEYWORD_ERROR" , 18 ); // LEXER_HTML Lexical states @@define( "SCINTILLA_HTML_TEXT" , 0 ); @@define( "SCINTILLA_HTML_TAG" , 1 ); @@define( "SCINTILLA_HTML_TAG_UNKNOWN" , 2 ); @@define( "SCINTILLA_HTML_ATTRIBUTE" , 3 ); @@define( "SCINTILLA_HTML_ATTRIBUTE_UNKNOWN" , 4 ); @@define( "SCINTILLA_HTML_NUMBER" , 5 ); @@define( "SCINTILLA_HTML_DOUBLE_STRING" , 6 ); @@define( "SCINTILLA_HTML_SINGLE_STRING" , 7 ); @@define( "SCINTILLA_HTML_OTHER" , 8 ); @@define( "SCINTILLA_HTML_COMMENT" , 9 ); @@define( "SCINTILLA_HTML_ENTITY" , 10 ); @@define( "SCINTILLA_HTML_XML_TAG_END" , 11 ); @@define( "SCINTILLA_HTML_XML_ID_START" , 12 ); @@define( "SCINTILLA_HTML_XML_ID_END" , 13 ); @@define( "SCINTILLA_HTML_SCRIPT" , 14 ); @@define( "SCINTILLA_HTML_ASP_1" , 15 ); @@define( "SCINTILLA_HTML_ASP_2" , 16 ); @@define( "SCINTILLA_HTML_CDATA" , 17 ); @@define( "SCINTILLA_HTML_PHP" , 18 ); @@define( "SCINTILLA_HTML_UNQUOTED" , 19 ); // LEXER HTML :: Embedded Javascript @@define( "SCINTILLA_HTML_JS_START" , 40 ); @@define( "SCINTILLA_HTML_JS_DEFAULT" , 41 ); @@define( "SCINTILLA_HTML_JS_COMMENT_BLOCK" , 42 ); @@define( "SCINTILLA_HTML_JS_COMMENT_LINE" , 43 ); @@define( "SCINTILLA_HTML_JS_COMMENT_DOC" , 44 ); @@define( "SCINTILLA_HTML_JS_NUMBER" , 45 ); @@define( "SCINTILLA_HTML_JS_WORD" , 46 ); @@define( "SCINTILLA_HTML_JS_KEYWORD" , 47 ); @@define( "SCINTILLA_HTML_JS_STRING_DOUBLE" , 48 ); @@define( "SCINTILLA_HTML_JS_STRING_SINGLE" , 49 ); @@define( "SCINTILLA_HTML_JS_SYMBOL" , 50 ); @@define( "SCINTILLA_HTML_JS_EOL" , 51 ); @@define( "SCINTILLA_HTML_JS_REGEX" , 52 ); // LEXER_HTML :: ASP Javascript @@define( "SCINTILLA_HTML_ASPJS_START" , 55 ); @@define( "SCINTILLA_HTML_ASPJS_DEFAULT" , 56 ); @@define( "SCINTILLA_HTML_ASPJS_COMMENT_BLOCK" , 57 ); @@define( "SCINTILLA_HTML_ASPJS_COMMENT_LINE" , 58 ); @@define( "SCINTILLA_HTML_ASPJS_COMMENT_DOC" , 59 ); @@define( "SCINTILLA_HTML_ASPJS_NUMBER" , 60 ); @@define( "SCINTILLA_HTML_ASPJS_WORD" , 61 ); @@define( "SCINTILLA_HTML_ASPJS_KEYWORD" , 62 ); @@define( "SCINTILLA_HTML_ASPJS_STRING_DOUBLE" , 63 ); @@define( "SCINTILLA_HTML_ASPJS_STRING_SINGLE" , 64 ); @@define( "SCINTILLA_HTML_ASPJS_SYMBOL" , 65 ); @@define( "SCINTILLA_HTML_ASPJS_EOL" , 66 ); @@define( "SCINTILLA_HTML_ASPJS_REGEX" , 67 ); // LEXER_HTML :: Embedded VBS @@define( "SCINTILLA_HTML_VBS_START" , 70 ); @@define( "SCINTILLA_HTML_VBS_DEFAULT" , 71 ); @@define( "SCINTILLA_HTML_VBS_COMMENT" , 72 ); @@define( "SCINTILLA_HTML_VBS_NUMBER" , 73 ); @@define( "SCINTILLA_HTML_VBS_KEYWORD" , 74 ); @@define( "SCINTILLA_HTML_VBS_STRING" , 75 ); @@define( "SCINTILLA_HTML_VBS_IDENTIFIER" , 76 ); @@define( "SCINTILLA_HTML_VBS_EOL" , 77 ); // LEXER_HTML :: ASP VBS @@define( "SCINTILLA_HTML_ASPVBS_START" , 80 ); @@define( "SCINTILLA_HTML_ASPVBS_DEFAULT" , 81 ); @@define( "SCINTILLA_HTML_ASPVBS_COMMENT" , 82 ); @@define( "SCINTILLA_HTML_ASPVBS_NUMBER" , 83 ); @@define( "SCINTILLA_HTML_ASPVBS_KEYWORD" , 84 ); @@define( "SCINTILLA_HTML_ASPVBS_STRING" , 85 ); @@define( "SCINTILLA_HTML_ASPVBS_IDENTIFIER" , 86 ); @@define( "SCINTILLA_HTML_ASPVBS_EOL" , 87 ); // LEXER_HTML :: Embedded Python @@define( "SCINTILLA_HTML_PY_START" , 90 ); @@define( "SCINTILLA_HTML_PY_DEFAULT" , 91 ); @@define( "SCINTILLA_HTML_PY_COMMENT_LINE" , 92 ); @@define( "SCINTILLA_HTML_PY_NUMBER" , 93 ); @@define( "SCINTILLA_HTML_PY_STRING_DOUBLE" , 94 ); @@define( "SCINTILLA_HTML_PY_STRING_SINGLE" , 95 ); @@define( "SCINTILLA_HTML_PY_KEYWORD" , 96 ); @@define( "SCINTILLA_HTML_PY_TRIPLE_SINGLE" , 97 ); @@define( "SCINTILLA_HTML_PY_TRIPLE_DOUBLE" , 98 ); @@define( "SCINTILLA_HTML_PY_CLASS_STATEMENT" , 99 ); @@define( "SCINTILLA_HTML_PY_DEF_STATEMENT" , 100 ); @@define( "SCINTILLA_HTML_PY_OPERATOR" , 101 ); @@define( "SCINTILLA_HTML_PY_IDENTIFIER" , 102 ); // LEXER_HTML :: ASP Python @@define( "SCINTILLA_HTML_ASPPY_START" , 105 ); @@define( "SCINTILLA_HTML_ASPPY_DEFAULT" , 106 ); @@define( "SCINTILLA_HTML_ASPPY_COMMENT_LINE" , 107 ); @@define( "SCINTILLA_HTML_ASPPY_NUMBER" , 108 ); @@define( "SCINTILLA_HTML_ASPPY_STRING_DOUBLE" , 109 ); @@define( "SCINTILLA_HTML_ASPPY_STRING_SINGLE" , 110 ); @@define( "SCINTILLA_HTML_ASPPY_KEYWORD" , 111 ); @@define( "SCINTILLA_HTML_ASPPY_TRIPLE_SINGLE" , 112 ); @@define( "SCINTILLA_HTML_ASPPY_TRIPLE_DOUBLE" , 113 ); @@define( "SCINTILLA_HTML_ASPPY_CLASS_STATEMENT" , 114 ); @@define( "SCINTILLA_HTML_ASPPY_DEF_STATEMENT" , 115 ); @@define( "SCINTILLA_HTML_ASPPY_OPERATOR" , 116 ); @@define( "SCINTILLA_HTML_ASPPY_IDENTIFIER" , 117 ); // LEXER_HTML :: PHP @@define( "SCINTILLA_HTML_PHP_DEFAULT" , 118 ); @@define( "SCINTILLA_HTML_PHP_STRING_DOUBLE" , 119 ); @@define( "SCINTILLA_HTML_PHP_STRING_SINGLE" , 120 ); @@define( "SCINTILLA_HTML_PHP_KEYWORD" , 121 ); @@define( "SCINTILLA_HTML_PHP_NUMBER" , 122 ); @@define( "SCINTILLA_HTML_PHP_VARIABLE" , 123 ); @@define( "SCINTILLA_HTML_PHP_COMMENT_BLOCK" , 124 ); @@define( "SCINTILLA_HTML_PHP_COMMENT_LINE" , 125 ); @@define( "SCINTILLA_HTML_PHP_EOL" , 126 ); @@define( "SCINTILLA_HTML_PHP_OPERATOR" , 127 ); // LEXER_XML Lexical states @@define( "SCINTILLA_XML_DEFAULT" , 0 ); @@define( "SCINTILLA_XML_TAG" , 1 ); @@define( "SCINTILLA_XML_TAG_UNKNOWN" , 2 ); @@define( "SCINTILLA_XML_ATTRIBUTE" , 3 ); @@define( "SCINTILLA_XML_ATTRIBUTE_UNKNOWN" , 4 ); @@define( "SCINTILLA_XML_NUMBER" , 5 ); @@define( "SCINTILLA_XML_DOUBLE_STRING" , 6 ); @@define( "SCINTILLA_XML_SINGLE_STRING" , 7 ); @@define( "SCINTILLA_XML_OTHER" , 8 ); @@define( "SCINTILLA_XML_COMMENT" , 9 ); @@define( "SCINTILLA_XML_ENTITY" , 10 ); @@define( "SCINTILLA_XML_TAG_END" , 11 ); @@define( "SCINTILLA_XML_ID_START" , 12 ); @@define( "SCINTILLA_XML_ID_END" , 13 ); @@define( "SCINTILLA_XML_CDATA" , 17 ); @@define( "SCINTILLA_XML_QUESTION" , 18 ); @@define( "SCINTILLA_XML_UNQUOTED" , 19 ); // LEXER_PERL Lexical states @@define( "SCINTILLA_PERL_WHITE_SPACE" , 0 ); @@define( "SCINTILLA_PERL_ERROR" , 1 ); @@define( "SCINTILLA_PERL_COMMENT_LINE" , 2 ); @@define( "SCINTILLA_PERL_POD" , 3 ); @@define( "SCINTILLA_PERL_NUMBER" , 4 ); @@define( "SCINTILLA_PERL_KEYWORD" , 5 ); @@define( "SCINTILLA_PERL_STRING" , 6 ); @@define( "SCINTILLA_PERL_CHARACTER" , 7 ); @@define( "SCINTILLA_PERL_PUNCTUATION" , 8 ); @@define( "SCINTILLA_PERL_PREPROCESSOR" , 9 ); @@define( "SCINTILLA_PERL_OPERATOR" , 10 ); @@define( "SCINTILLA_PERL_IDENTIFIER" , 11 ); @@define( "SCINTILLA_PERL_SCALAR" , 12 ); @@define( "SCINTILLA_PERL_ARRAY" , 13 ); @@define( "SCINTILLA_PERL_HASH" , 14 ); @@define( "SCINTILLA_PERL_SYMBOL_TABLE" , 15 ); @@define( "SCINTILLA_PERL_REGEX" , 17 ); @@define( "SCINTILLA_PERL_REGSUBST" , 18 ); @@define( "SCINTILLA_PERL_LONG_QUOTE" , 19 ); @@define( "SCINTILLA_PERL_BACKTICKS" , 20 ); @@define( "SCINTILLA_PERL_DATA_SECTION" , 21 ); @@define( "SCINTILLA_PERL_HERE_DELIM" , 22 ); @@define( "SCINTILLA_PERL_HERE_Q" , 23 ); @@define( "SCINTILLA_PERL_HERE_QQ" , 24 ); @@define( "SCINTILLA_PERL_HERE_QX" , 25 ); @@define( "SCINTILLA_PERL_STRING_Q" , 26 ); @@define( "SCINTILLA_PERL_STRING_QQ" , 27 ); @@define( "SCINTILLA_PERL_STRING_QX" , 28 ); @@define( "SCINTILLA_PERL_STRING_QR" , 29 ); @@define( "SCINTILLA_PERL_STRING_QW" , 30 ); // LEXER_SQL Lexical states @@define( "SCINTILLA_SQL_WHITE_SPACE" , 0 ); @@define( "SCINTILLA_SQL_COMMENT_BLOCK" , 1 ); @@define( "SCINTILLA_SQL_COMMENT_LINE" , 2 ); @@define( "SCINTILLA_SQL_COMMENT_DOC" , 3 ); @@define( "SCINTILLA_SQL_NUMBER" , 4 ); @@define( "SCINTILLA_SQL_KEYWORD" , 5 ); @@define( "SCINTILLA_SQL_DOUBLE_STRING" , 6 ); @@define( "SCINTILLA_SQL_SINGLE_STRING" , 7 ); @@define( "SCINTILLA_SQL_SYMBOLS" , 8 ); @@define( "SCINTILLA_SQL_PREPROCESSOR" , 9 ); @@define( "SCINTILLA_SQL_OPERATOR" , 10 ); @@define( "SCINTILLA_SQL_IDENTIFIER" , 11 ); @@define( "SCINTILLA_SQL_STRING_EOL" , 12 ); // LEXER_VB Lexical states @@define( "SCINTILLA_VB_WHITE_SPACE" , 0 ); @@define( "SCINTILLA_VB_COMMENT_BLOCK" , 1 ); @@define( "SCINTILLA_VB_COMMENT_LINE" , 2 ); @@define( "SCINTILLA_VB_COMMENT_DOC" , 3 ); @@define( "SCINTILLA_VB_NUMBER" , 4 ); @@define( "SCINTILLA_VB_WORD" , 5 ); @@define( "SCINTILLA_VB_STRING" , 6 ); @@define( "SCINTILLA_VB_CHARACTER" , 7 ); @@define( "SCINTILLA_VB_UUID" , 8 ); @@define( "SCINTILLA_VB_PREPROCESSOR" , 9 ); @@define( "SCINTILLA_VB_OPERATOR" , 10 ); @@define( "SCINTILLA_VB_IDENTIFIER" , 11 ); @@define( "SCINTILLA_VB_STRING_EOL" , 12 ); // LEXER_PROPERTIES Lexical states @@define( "SCINTILLA_PROPERTIES_DEFAULT" , 0 ); @@define( "SCINTILLA_PROPERTIES_COMMENT" , 1 ); @@define( "SCINTILLA_PROPERTIES_SECTION" , 2 ); @@define( "SCINTILLA_PROPERTIES_OPERATOR" , 3 ); @@define( "SCINTILLA_PROPERTIES_DEFAULT_VAL" , 4 ); // LEXER_ERRORLIST Lexical states @@define( "SCINTILLA_ERROR_DEFAULT" , 0 ); @@define( "SCINTILLA_ERROR_PYTHON" , 1 ); @@define( "SCINTILLA_ERROR_GCC" , 2 ); @@define( "SCINTILLA_ERROR_MS" , 3 ); @@define( "SCINTILLA_ERROR_CMD" , 4 ); @@define( "SCINTILLA_ERROR_BORLAND" , 5 ); @@define( "SCINTILLA_ERROR_PERL" , 6 ); @@define( "SCINTILLA_ERROR_DIFF_CHANGED" , 10 ); @@define( "SCINTILLA_ERROR_DIFF_ADDITION" , 11 ); @@define( "SCINTILLA_ERROR_DIFF_DELETION" , 12 ); @@define( "SCINTILLA_ERROR_DIFF_MESSAGE" , 13 ); // LEXER_MAKEFILE Lexical states @@define( "SCINTILLA_MAKEFILE_WHITE_SPACE" , 0 ); @@define( "SCINTILLA_MAKEFILE_COMMENT" , 1 ); @@define( "SCINTILLA_MAKEFILE_PREPROCESSOR" , 2 ); @@define( "SCINTILLA_MAKEFILE_IDENTIFIER" , 3 ); @@define( "SCINTILLA_MAKEFILE_OPERATOR" , 4 ); @@define( "SCINTILLA_MAKEFILE_IDEOL" , 9 ); // LEXER_BATCH Lexical states @@define( "SCINTILLA_BATCH_DEFAULT" , 0 ); @@define( "SCINTILLA_BATCH_COMMENT" , 1 ); @@define( "SCINTILLA_BATCH_WORD" , 2 ); @@define( "SCINTILLA_BATCH_LABEL" , 3 ); @@define( "SCINTILLA_BATCH_HIDE" , 4 ); @@define( "SCINTILLA_BATCH_COMMAND" , 5 ); @@define( "SCINTILLA_BATCH_IDENTIFIER" , 6 ); @@define( "SCINTILLA_BATCH_OPERATOR" , 7 ); // LEXER_LATEX Lexical states @@define( "SCINTILLA_LATEX_WHITE_SPACE" , 0 ); @@define( "SCINTILLA_LATEX_COMMAND" , 1 ); @@define( "SCINTILLA_LATEX_TAG" , 2 ); @@define( "SCINTILLA_LATEX_MATH" , 3 ); @@define( "SCINTILLA_LATEX_COMMENT" , 4 ); // LEXER_LUA Lexical states @@define( "SCINTILLA_LUA_WHITE_SPACE" , 0 ); @@define( "SCINTILLA_LUA_COMMENT_BLOCK" , 1 ); @@define( "SCINTILLA_LUA_COMMENT_LINE" , 2 ); @@define( "SCINTILLA_LUA_COMMENT_DOC" , 3 ); @@define( "SCINTILLA_LUA_NUMBER" , 4 ); @@define( "SCINTILLA_LUA_KEYWORD" , 5 ); @@define( "SCINTILLA_LUA_STRING" , 6 ); @@define( "SCINTILLA_LUA_CHARACTER" , 7 ); @@define( "SCINTILLA_LUA_LITERAL_STRING" , 8 ); @@define( "SCINTILLA_LUA_PREPROCESSOR" , 9 ); @@define( "SCINTILLA_LUA_OPERATOR" , 10 ); @@define( "SCINTILLA_LUA_IDENTIFIER" , 11 ); @@define( "SCINTILLA_LUA_STRING_EOL" , 12 ); // LEXER_DIFF Lexical states @@define( "SCINTILLA_DIFF_DEFAULT" , 0 ); @@define( "SCINTILLA_DIFF_COMMENT" , 1 ); @@define( "SCINTILLA_DIFF_COMMAND" , 2 ); @@define( "SCINTILLA_DIFF_FILES" , 3 ); @@define( "SCINTILLA_DIFF_POSITION" , 4 ); @@define( "SCINTILLA_DIFF_DEL_LINE" , 5 ); @@define( "SCINTILLA_DIFF_ADD_LINE" , 6 ); // LEXER_CONF Lexical states @@define( "SCINTILLA_CONF_DEFAULT" , 0 ); @@define( "SCINTILLA_CONF_COMMENT" , 1 ); @@define( "SCINTILLA_CONF_NUMBER" , 2 ); @@define( "SCINTILLA_CONF_IDENTIFIER" , 3 ); @@define( "SCINTILLA_CONF_EXTENSION" , 4 ); @@define( "SCINTILLA_CONF_PARAMETER" , 5 ); @@define( "SCINTILLA_CONF_STRING" , 6 ); @@define( "SCINTILLA_CONF_OPERATOR" , 7 ); @@define( "SCINTILLA_CONF_IP" , 8 ); @@define( "SCINTILLA_CONF_DIRECTIVE" , 9 ); // LEXER_PASCAL Lexical states @@define( "SCINTILLA_PASCAL_WHITE_SPACE" , 0 ); @@define( "SCINTILLA_PASCAL_COMMENT_BLOCK" , 1 ); @@define( "SCINTILLA_PASCAL_COMMENT_LINE" , 2 ); @@define( "SCINTILLA_PASCAL_COMMENT_DOC" , 3 ); @@define( "SCINTILLA_PASCAL_NUMBER" , 4 ); @@define( "SCINTILLA_PASCAL_KEYWORD" , 5 ); @@define( "SCINTILLA_PASCAL_DOUBLE_STRING" , 6 ); @@define( "SCINTILLA_PASCAL_SINGLE_STRING" , 7 ); @@define( "SCINTILLA_PASCAL_SYMBOLS" , 8 ); @@define( "SCINTILLA_PASCAL_PREPROCESSOR" , 9 ); // LEXER_AVE Lexical states @@define( "SCINTILLA_AVE_DEFAULT" , 0 ); @@define( "SCINTILLA_AVE_COMMENT" , 1 ); @@define( "SCINTILLA_AVE_NUMBER" , 2 ); @@define( "SCINTILLA_AVE_WORD" , 3 ); @@define( "SCINTILLA_AVE_KEYWORD" , 4 ); @@define( "SCINTILLA_AVE_STATEMENT" , 5 ); @@define( "SCINTILLA_AVE_STRING" , 6 ); @@define( "SCINTILLA_AVE_ENUM" , 7 ); @@define( "SCINTILLA_AVE_STRINGEOL" , 8 ); @@define( "SCINTILLA_AVE_IDENTIFIER" , 9 ); @@define( "SCINTILLA_AVE_OPERATOR" , 10 ); // LEXER_ADA Lexical states @@define( "SCINTILLA_ADA_DEFAULT" , 0 ); @@define( "SCINTILLA_ADA_COMMENT" , 1 ); @@define( "SCINTILLA_ADA_NUMBER" , 2 ); @@define( "SCINTILLA_ADA_WORD" , 3 ); @@define( "SCINTILLA_ADA_STRING" , 4 ); @@define( "SCINTILLA_ADA_CHARACTER" , 5 ); @@define( "SCINTILLA_ADA_OPERATOR" , 6 ); @@define( "SCINTILLA_ADA_IDENTIFIER" , 7 ); @@define( "SCINTILLA_ADA_STRINGEOL" , 8 ); ?>@ 1.1 log @Updated @ text @d107 6 @ phpmole/config/RCS/Preferences,v0000755000175000017500000000240607450503671016730 0ustar alanalan00000000000000head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2002.03.28.03.02.17; author alan; state Exp; branches; next ; desc @Updated @ 1.1 log @Updated @ text @ [line numbers] back=11053224 auto=0 font = -*-lucidatypewriter-medium-r-normal-*-10-*-*-*-*-*-* digits=4 show=1 fore=0 [directory names] count=3 name_0=[Home] directory_0=~ name_1=[Include] directory_1=/usr/include name_2=[Kernel] directory_2=/usr/src/linux [geometry] save_win_size=1 width=620 height=460 [default style] selection=11250603 bookmark=15908608 back=15987699 fore=0 font = -*-lucidatypewriter-medium-r-normal-*-14-*-*-*-*-*-* [caret] fore=0 width=2 period=250 [history] save_session=0 mru_sort=1 mru_size=30 [keyboard] keybindings=0 [braces style] fore_bad=191 fore_ok=12517376 [bookmarks] total = 4 mark_0 = file:/usr/src/ title_0 = source code mark_1 = scp:me@@localhost:/home/me title_1 = SCP test (Change me!) title_2 = netscape test mark_2 = mgd:admin@@my.midgard.server.com:80:/nadmin/phpmole/:/ mark_3 = file:/ title_3 = Root [module hide] bookmark_browser = 0 class_browser = 0 help_browser = 0 db_editor = 0 midgard = 0 scintilla = 0 text_editor = 0 html = 0 xml_tree_editor = 0 directory_viewer = 0 help_viewer = 0 phpdict = 0 simple_debugger = 0 [html] enable_preparser = 1 @ phpmole/config/RCS/phpmole_prefs.class,v0000755000175000017500000001632307437117066020445 0ustar alanalan00000000000000head 1.21; access; symbols; locks; strict; comment @# @; 1.21 date 2002.02.27.08.52.06; author alan; state Exp; branches; next 1.20; 1.20 date 2002.02.27.08.51.58; author alan; state Exp; branches; next 1.19; 1.19 date 2002.02.27.08.51.56; author alan; state Exp; branches; next 1.18; 1.18 date 2002.02.27.08.51.43; author alan; state Exp; branches; next 1.17; 1.17 date 2002.02.27.08.51.37; author alan; state Exp; branches; next 1.16; 1.16 date 2002.02.27.08.51.35; author alan; state Exp; branches; next 1.15; 1.15 date 2002.02.27.08.51.00; author alan; state Exp; branches; next 1.14; 1.14 date 2002.02.27.08.47.55; author alan; state Exp; branches; next 1.13; 1.13 date 2002.02.25.04.55.37; author alan; state Exp; branches; next 1.12; 1.12 date 2002.02.25.04.20.37; author alan; state Exp; branches; next 1.11; 1.11 date 2002.02.25.04.20.28; author alan; state Exp; branches; next 1.10; 1.10 date 2002.02.25.04.20.27; author alan; state Exp; branches; next 1.9; 1.9 date 2002.02.25.04.20.17; author alan; state Exp; branches; next 1.8; 1.8 date 2002.02.25.04.20.10; author alan; state Exp; branches; next 1.7; 1.7 date 2002.02.25.04.20.00; author alan; state Exp; branches; next 1.6; 1.6 date 2002.02.25.04.19.39; author alan; state Exp; branches; next 1.5; 1.5 date 2002.02.25.04.19.12; author alan; state Exp; branches; next 1.4; 1.4 date 2002.02.25.04.18.59; author alan; state Exp; branches; next 1.3; 1.3 date 2002.02.25.04.18.24; author alan; state Exp; branches; next 1.2; 1.2 date 2002.02.25.04.18.16; author alan; state Exp; branches; next 1.1; 1.1 date 2002.01.31.08.52.18; author alan; state Exp; branches; next ; desc @Updated @ 1.21 log @Updated @ text @prefs->get() * or $application->prefs->set() * */ class phpmole_prefs { // class that loads prefs! // stores data in a global array prefs! var $prefs; function load ($filename="") { global $HTTP_ENV_VARS; if (!$filename) { $filename = dirname(__FILE__)."/Preferences"; } //echo $filename; $this->data = file($filename); //echo serialize($this->data); $this->parse(); } function parse() { for ($i=0;$i< count($this->data);$i++) { $line = trim($this->data[$i]); if (!$line) continue; if (substr($line,0,1) == "[") { $major = substr($line,1,-1); //print "GOT MAJOR $major\n"; continue; } $eq = strpos( $line,"="); $left = trim(substr($line,0,$eq)); $right = substr($line,$eq+1); $this->prefs[$major."/".$left] = trim($right); //echo "Setting pref $major/$left = $right\n"; } } function write($file) { // map [major/minor] = xxx // to // [major] // minor = xxxx // first convert list into array[major][minor] //echo "WRITING TO $file"; foreach($this->prefs as $k => $v) { $p = strpos($k,"/"); if (!$p) continue; $major = substr($k,0,$p); $minor = substr($k,$p+1); $sorted[$major][$minor] = $v; //echo "STORING $major / $minor = $v\n"; } $fh = fopen($file,"w"); foreach($sorted as $k => $v) { fwrite($fh,"\n[$k]\n"); foreach($v as $minor => $value) fwrite($fh,"$minor = $value\n"); } fclose($fh); } function load_user_prefs() { $homedir = getenv("HOME"); if (substr(PHP_OS, 0, 3) == 'WIN') $homedir = "C:\Program Files"; if (file_exists($homedir."/.".APPNAME."/Preferences")) $this->load($homedir."/.".APPNAME."/Preferences"); } function save_user_prefs() { $homedir = getenv("HOME"); if (substr(PHP_OS, 0, 3) == 'WIN') $homedir = "C:\Program Files"; //echo "MKDIR ". $homedir."/.".APPNAME; if (!is_dir($homedir."/.".APPNAME)) mkdir($homedir."/.".APPNAME,0700); $this->write($homedir."/.".APPNAME."/Preferences"); } function get($a) { return @@$this->prefs[$a]; } function set($a,$b) { //echo("PREFS SET $a = $b"); $this->prefs[$a] = $b; } function shunt_array($value, $prefix, $max) { // used for recent files // adds value to 0 // moves 1->2 for ($i=$max;$i>0;$i--) $this->set($prefix . "_" . sprintf("%1d",$i), $this->get ($prefix . "_" . sprintf("%1d",$i-1)); $this->set($prefix . "_0",$value); } function un_set($a) { if (isset($this->prefs[$a])) unset($this->prefs[$a]); } } ?>@ 1.20 log @Updated @ text @d116 1 a116 1 echo("PREFS SET $a = $b"); @ 1.19 log @Updated @ text @a127 2 @ 1.18 log @Updated @ text @d127 1 @ 1.17 log @Updated @ text @d124 1 a124 1 for ($i=$max;$i>0;$i--) { @ 1.16 log @Updated @ text @d127 1 a127 1 $ @ 1.15 log @Updated @ text @d124 1 a124 1 for ($i=$max;$i>0;$i++) { d126 2 a127 2 $this->get ($prefix . "_" . sprintf("%1d",$i-1) @ 1.14 log @Updated @ text @d120 1 a120 1 function shunt_array($id , $value, $prefix, $max) { d122 5 @ 1.13 log @Updated @ text @d44 1 d119 9 @ 1.12 log @Updated @ text @d115 1 a115 1 debug_echo("PREFS SET $a = $b"); @ 1.11 log @Updated @ text @d118 1 a118 1 function unset($a) { @ 1.10 log @Updated @ text @d119 1 a119 1 if (isset($this->prefs[$a])) @ 1.9 log @Updated @ text @d119 1 a119 1 @@if (isset($this->prefs[$a])) @ 1.8 log @Updated @ text @d118 1 a118 1 function un_set($a) { @ 1.7 log @Updated @ text @d119 1 a119 1 if (isset($this->prefs[$a])) @ 1.6 log @Updated @ text @d119 1 a119 1 if (isset(@@$this->prefs[$a])) @ 1.5 log @Updated @ text @d118 1 a118 1 function unset($a) { @ 1.4 log @Updated @ text @a113 1 @ 1.3 log @Updated @ text @d120 1 a120 1 if (@@isset($this->prefs[$a])) @ 1.2 log @Updated @ text @d114 1 a114 4 function unset($a) { if (@@isset($this->prefs[$a])) unset($this->prefs[$a]); } d119 4 a122 1 @ 1.1 log @Updated @ text @d1 26 a26 1 config_dialog_generic($glade,$config_array); $conf->btn_ok->connect("pressed",array(&$this,"update_config")); to display it: $conf->prefs = $current_config_array; $conf->show(); function update_config() { $new_config_array = $conf->get_results(); $conf->hide(); } */ class config_dialog extends phpide_dialog_generic { var $prefs; // where stuff is stored and retrieved from function config_dialog() { $this->phpide_Dialog_Generic(dirname(__FILE__)."/config_dialog.glade"); } function show() { $this->load_prefs(); $this->ok_pressed_callback = array(&$this,"save_prefs"); $this->__show(); } function load_prefs() { global $application; foreach($application->prefs->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->widget->get_widget($kname); if (!$widget) $widget = $this->widget->get_widget($kname2); if (!$widget) continue; switch (get_class($widget)) { case "GtkCheckButton": $vv=0; if ($v) $vv = 1; $widget->set_active($vv); break; case "GtkSpinButton": $widget->set_value($v); break; case "GtkButton": $this->set_fontname( $kname,$v); break; case "GtkDrawingArea": $this->set_buttoncolor($kname,$v); break; case "GtkRadioButton": $widget->set_active(0); break; case "GtkText": $len = $widget->get_length(); $widget->delete_text(0,$len); $widget->insert_text($v,0); break; } } } function save_prefs() { global $application; foreach($application->prefs->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->widget->get_widget($kname); if (!$widget) $widget = $this->widget->get_widget($kname2); if (!$widget) continue; switch (get_class($widget)) { case "GtkCheckButton": $application->prefs->prefs[$k] = $widget->get_active(); break; case "GtkSpinButton": $application->prefs->prefs[$k] = $widget->get_value_as_int(); break; case "GtkRadioButton": // now this is a bit more complex!!! $application->prefs[$k] = 0; // default it for ($i=0;$i<9;$i++) { $w = $this->widget->get_widget($kname . "_".sprintf("%01d",$i)); if (!$w) break; if ($w->get_active()) $this->prefs[$k] = $i; } break; } } $application->prefs->save_user_prefs(); } } ?>@ 1.14 log @Updated @ text @d33 1 a33 1 class config_dialog_generic extends phpide_dialog_generic { a34 1 d36 4 @ 1.13 log @Updated @ text @a79 2 @ 1.12 log @Updated @ text @d47 1 a47 1 foreach($this->prefs as $k => $v) { @ 1.11 log @Updated @ text @d46 34 a79 1 @ 1.10 log @Updated @ text @d43 9 a51 1 @ 1.9 log @Updated @ text @d46 1 a46 1 function save_prefs() { @ 1.8 log @Updated @ text @d60 2 a61 2 $this->prefs->prefs[$k] = $widget->get_active(); break; d63 2 a64 2 $this->prefs->prefs[$k] = $widget->get_value_as_int(); break; d66 9 a74 9 // now this is a bit more complex!!! $this->prefs[$k] = 0; // default it for ($i=0;$i<9;$i++) { $w = $this->widget->get_widget($kname . "_".sprintf("%01d",$i)); if (!$w) break; if ($w->get_active()) $this->prefs[$k] = $i; } break; d77 2 a78 4 } @ 1.7 log @Updated @ text @d39 2 a40 2 global $application; $this->prefs = $application->prefs; d46 3 a48 3 function get_results() { foreach($this->prefs->prefs as $k => $v) { @ 1.6 log @Updated @ text @d3 1 a3 1 require_once(dirname(__FILE__)."/phpide_Dialog_Generic.class"); d60 1 a60 1 $this->prefs[$k] = $widget->get_active(); d63 1 a63 1 $this->prefs[$k] = $widget->get_value_as_int(); @ 1.5 log @Updated @ text @d49 2 a50 2 $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); d52 3 a54 3 $widget = $this->widget->get_widget($kname); if (!$widget) $widget = $this->widget->get_widget($kname2); d56 1 a56 1 if (!$widget) continue; d58 18 a75 18 switch (get_class($widget)) { case "GtkCheckButton": $this->prefs[$k] = $widget->get_active(); break; case "GtkSpinButton": $this->prefs[$k] = $widget->get_value_as_int(); break; case "GtkRadioButton": // now this is a bit more complex!!! $this->prefs[$k] = 0; // default it for ($i=0;$i<9;$i++) { $w = $this->widget->get_widget($kname . "_".sprintf("%01d",$i)); if (!$w) break; if ($w->get_active()) $this->prefs[$k] = $i; } break; } @ 1.4 log @Updated @ text @d48 1 a48 1 foreach($this->prefs as $k => $v) { @ 1.3 log @Updated @ text @a39 1 a40 2 d42 1 a42 5 // $this->text_entry->set_text(""); // $this->text_entry->grab_focus(); } @ 1.2 log @Updated @ text @d34 1 a34 1 var $prefs; // where stuff is stored and retrieved from d36 4 a39 40 function init($conf_array) { //$this->phpide_dialog_generic($glade); $prefs = $conf_array; foreach($prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $widget = $this->widget->get_widget($kname); if (!$widget) continue; switch (get_class($widget)) { case "GtkButton": $widget->connect_object_after('clicked', array(&$this,"select_font"), array($kname,$k)); break; case "GtkDrawingArea": $btn = $widget->parent; $btn->connect_object_after('button_press_event', array(&$this,"select_color"), array($kname, $k)); break; } } // actions //sub dialogs // my ok and cancel // defined in parent! //$this->btn_ok->connect_object_after('clicked',array(&$this,ok_pressed)); d41 1 a41 3 } function show($prefs="") { a42 38 if ($prefs) $this->prefs = $prefs; if (!$this->prefs) return; foreach($this->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->widget->get_widget($kname); if (!$widget) $widget = $this->widget->get_widget($kname2); if (!$widget) continue; switch (get_class($widget)) { case "GtkCheckButton": $vv=0; if ($v) $vv = 1; $widget->set_active($vv); break; case "GtkSpinButton": $widget->set_value($v); break; case "GtkButton": $this->set_fontname( $kname,$v); break; case "GtkDrawingArea": $this->set_buttoncolor($kname,$v); break; case "GtkRadioButton": $widget->set_active(0); break; case "GtkText": $len = $widget->get_length(); $widget->delete_text(0,$len); $widget->insert_text($v,0); break; } } d51 1 a51 100 function set_buttoncolor($widgetname, $setting) { $setting = substr("000000".dechex($setting),-6); $s = substr($setting,4,2) . substr($setting,2,2) . substr($setting,0,2); $setting = "#". $s; $w = $this->widget->get_widget($widgetname); $current_style=$w->get_style(); $new_style = $current_style->copy(); $new_style->bg[GTK_STATE_NORMAL]=new GdkColor($setting); $w->set_style($new_style); } function set_fontname($widgetname,$setting) { $b = $this->widget->get_widget($widgetname); $w = $b->child; $fontar = explode("-",$setting); $size = $fontar[7]; if ($size == "*") $size = $fontar[8]/10; $w->set_text($fontar[2] ."(".$size.")"); } function select_font($a) { $fontar = explode("-",$this->prefs[$a[1]]); //echo serialize($fontar); if ($fontar[8] == "*") { $fontar[8] = $fontar[7]*10; $fontar[7] = "*"; } $fontname = implode("-",$fontar); //echo "SET" .$fontname; $this->dialog_font_select->set_font_name($fontname); $this->dialog_font_select->show(); $this->active_font_sel = $a[1]; $this->active_font_sel_widget = $a[0]; Gtk::grab_remove($this->window); Gtk::grab_add($this->dialog_font_select); } function fontsel_ok() { $this->prefs[$this->active_font_sel] = $this->dialog_font_select->get_font_name(); //echo "GOT " .$this->prefs[$this->active_font_sel]; $this->set_fontname($this->active_font_sel_widget,$this->prefs[$this->active_font_sel]); $this->dialog_font_select->hide(); Gtk::grab_remove($this->dialog_font_select); Gtk::grab_add($this->window); } function fontsel_cancel() { $this->dialog_font_select->hide(); Gtk::grab_remove($this->dialog_font_select); Gtk::grab_add($this->window); } function select_color($e,$a){ //echo "looking up prefs ". serialize($a)."\n"; $setting = substr("000000".dechex($this->prefs[$a[1]]),-6); $b = hexdec( substr($setting,0,2)) /256; $g = hexdec( substr($setting,2,2))/256; $r = hexdec( substr($setting,4,2))/256; $this->not_active_window = TRUE; $this->dialog_color_select_widget->set_color($r,$g,$b); $this->dialog_color_select->show(); $wi = $this->dialog_color_select->window; $wi->raise(); $this->active_color_sel = $a[1]; $this->active_color_sel_widget = $a[0]; Gtk::grab_remove($this->window); Gtk::grab_add($this->dialog_color_select); } function colorsel_ok() { $a = $this->dialog_color_select_widget->get_color(); //echo "GOT " . serialize($a); $b = substr("00".dechex($a[2]*255),-2) . substr("00".dechex($a[1]*255),-2) . substr("00".dechex($a[0]*255),-2); //echo "XX " . $this->active_color_sel . " storing ($b) = ". hexdec($b) . "\n"; $this->prefs[$this->active_color_sel] = hexdec($b); $this->set_buttoncolor($this->active_color_sel_widget,$this->prefs[$this->active_color_sel]); $this->dialog_color_select->hide(); Gtk::grab_remove($this->dialog_color_select); Gtk::grab_add($this->window); $this->not_active_window = FALSE; } function colorsel_cancel() { $this->dialog_color_select->hide(); Gtk::grab_remove($this->dialog_color_select); Gtk::grab_add($this->window); $this->not_active_window = FALSE; } @ 1.1 log @Updated @ text @d72 2 a73 2 echo "CONNECTING cancel"; $this->btn_cancel->connect_object_after('clicked',array(&$this,"hide")); @ phpmole/config/phpmole_prefs.class0000755000175000017500000001206207476647646017567 0ustar alanalan00000000000000prefs->get() * or $application->prefs->set() * */ class phpmole_prefs { // class that loads prefs! // stores data in a global array prefs! var $prefs; function load ($filename="") { // load the Preferences file global $HTTP_ENV_VARS; $p =""; if (!$filename) { if (substr(PHP_OS, 0, 3) == 'WIN') $p = ".WIN"; $filename = dirname(__FILE__)."/Preferences{$p}"; } //echo $filename; $this->data = file($filename); //echo serialize($this->data); $this->parse(); } function parse() { for ($i=0;$i< count($this->data);$i++) { $line = trim($this->data[$i]); if (!$line) continue; if (substr($line,0,1) == "[") { $major = substr($line,1,-1); //print "GOT MAJOR $major\n"; continue; } $eq = strpos( $line,"="); $left = trim(substr($line,0,$eq)); $right = substr($line,$eq+1); $this->prefs[$major."/".$left] = trim($right); //echo "Setting pref $major/$left = $right\n"; } } function write($file) { // map [major/minor] = xxx // to // [major] // minor = xxxx // first convert list into array[major][minor] //echo "WRITING TO $file"; foreach($this->prefs as $k => $v) { $p = strpos($k,"/"); if (!$p) continue; $major = substr($k,0,$p); $minor = substr($k,$p+1); $sorted[$major][$minor] = $v; //echo "STORING $major / $minor = $v\n"; } $fh = fopen($file,"w"); foreach($sorted as $k => $v) { fwrite($fh,"\n[$k]\n"); foreach($v as $minor => $value) fwrite($fh,"$minor = $value\n"); } fclose($fh); } function load_user_prefs() { $homedir = getenv("HOME"); if (substr(PHP_OS, 0, 3) == 'WIN') $homedir = "C:\Program Files"; if (file_exists($homedir."/.".APPNAME."/Preferences")) $this->load($homedir."/.".APPNAME."/Preferences"); } function save_user_prefs() { $homedir = getenv("HOME"); if (substr(PHP_OS, 0, 3) == 'WIN') $homedir = "C:\Program Files"; //echo "MKDIR ". $homedir."/.".APPNAME; if (!is_dir($homedir."/.".APPNAME)) mkdir($homedir."/.".APPNAME,0700); $this->write($homedir."/.".APPNAME."/Preferences"); } function get($a) { return @$this->prefs[$a]; } function set($a,$b) { //echo("PREFS SET $a = $b"); $this->prefs[$a] = $b; } function shunt_array($value, $prefix, $max) { // used for recent files // adds value to 0 // moves 1->2 for ($i=$max;$i>0;$i--) $this->set($prefix . "_" . sprintf("%1d",$i), $this->get ($prefix . "_" . sprintf("%1d",$i-1))); $this->set($prefix ."_0",$value); } function get_array($a) { $i=0; $ret = array(); while (@isset($this->prefs["{$a}_".sprintf("%1d",$i)])) { $ret[$i] = $this->prefs["{$a}_".sprintf("%1d",$i)]; $i++; } return $ret; } function set_array($a,$b) { $this->clear_array($a); foreach($b as $k=>$v) $this->set($a . "_" . sprintf("%1d",$k), $v); } function clear_array($a) { if ($keys = array_keys($this->prefs)) foreach($keys as $k) if ($a == substr($k,0,strlen($a))) unset($this->prefs[$k]); } function prune_array($a,$n) { $ar = $this->get_array($a); // get the last n elements of the array if (count($ar) < $n) return array(); // n =10 count = 12 -> old = 0-2 $old = array_splice($ar,0, count($ar)-$n); // new = 2->12 $new = array_splice($ar,count($ar)-$n); $this->set_array($a,$new); //echo "NEW:".serialize($new); //echo "OLD:".serialize($old); return $old; } function un_set($a) { if (isset($this->prefs[$a])) unset($this->prefs[$a]); } } ?> phpmole/config/Preferences0000755000175000017500000000216307472643027016043 0ustar alanalan00000000000000 [line numbers] back=11053224 auto=0 font = -*-lucidatypewriter-medium-r-normal-*-10-*-*-*-*-*-* digits=4 show=1 fore=0 [directory names] count=3 name_0=[Home] directory_0=~ name_1=[Include] directory_1=/usr/include name_2=[Kernel] directory_2=/usr/src/linux [geometry] save_win_size=1 width=620 height=460 [default style] selection=11250603 bookmark=15908608 back=15987699 fore=0 font = -*-lucidatypewriter-medium-r-normal-*-14-*-*-*-*-*-* [caret] fore=0 width=2 period=250 [history] save_session=0 mru_sort=1 mru_size=30 [keyboard] keybindings=0 [braces style] fore_bad=191 fore_ok=12517376 [bookmarks] total = 4 mark_0 = file:/usr/src/ title_0 = source code mark_1 = scp:me@localhost:/home/me title_1 = SCP test (Change me!) title_2 = netscape test mark_2 = mgd:admin@my.midgard.server.com:80:/nadmin/phpmole/:/ mark_3 = file:/ title_3 = Root [module hide] bookmark_browser = 0 class_browser = 0 help_browser = 0 db_editor = 0 midgard = 0 scintilla = 0 text_editor = 0 html = 0 xml_tree_editor = 0 directory_viewer = 0 help_viewer = 0 phpdict = 0 simple_debugger = 0 [html] enable_preparser = 0 [mgd] sort_alphabetically = 1phpmole/config/defines.inc0000755000175000017500000005534307433100727015767 0ustar alanalan00000000000000 * */ @define( "SCINTILLA_INVALID_POSITION" , -1 ); // GtkScintillaEolMode @define( "SCINTILLA_EOL_CRLF" , 0 ); @define( "SCINTILLA_EOL_CR" , 1 ); @define( "SCINTILLA_EOL_LF" , 2 ); // GtkScintillaMarginType @define( "SCINTILLA_MARGIN_SYMBOL" , 0 ); @define( "SCINTILLA_MARGIN_NUMBER" , 1 ); // GtkScintillaEdgeMode @define( "SCINTILLA_EDGE_NONE" , 0 ); @define( "SCINTILLA_EDGE_LINE" , 1 ); @define( "SCINTILLA_EDGE_BACKGROUND" , 2 ); // Find flags @define( "SCINTILLA_FIND_DOWN" , 1 ); @define( "SCINTILLA_FIND_WHOLE_WORDS" , 2 ); @define( "SCINTILLA_FIND_MATCH_CASE" , 4 ); @define( "SCINTILLA_FIND_WORD_START" , 0x00100000 ); @define( "SCINTILLA_FIND_REGEXP" , 0x00200000 ); // GtkScintillaLexer @define( "SCINTILLA_LEXER_CONTAINER" , 0 ); @define( "SCINTILLA_LEXER_NULL" , 1 ); @define( "SCINTILLA_LEXER_PYTHON" , 2 ); @define( "SCINTILLA_LEXER_CPP" , 3 ); @define( "SCINTILLA_LEXER_HTML" , 4 ); @define( "SCINTILLA_LEXER_XML" , 5 ); @define( "SCINTILLA_LEXER_PERL" , 6 ); @define( "SCINTILLA_LEXER_SQL" , 7 ); @define( "SCINTILLA_LEXER_VB" , 8 ); @define( "SCINTILLA_LEXER_PROPERTIES" , 9 ); @define( "SCINTILLA_LEXER_ERRORLIST" , 10 ); @define( "SCINTILLA_LEXER_MAKEFILE" , 11 ); @define( "SCINTILLA_LEXER_BATCH" , 12 ); @define( "SCINTILLA_LEXER_XCODE" , 13 ); @define( "SCINTILLA_LEXER_LATEX" , 14 ); @define( "SCINTILLA_LEXER_LUA" , 15 ); @define( "SCINTILLA_LEXER_DIFF" , 16 ); @define( "SCINTILLA_LEXER_CONF" , 17 ); @define( "SCINTILLA_LEXER_PASCAL" , 18 ); @define( "SCINTILLA_LEXER_AVE" , 19 ); @define( "SCINTILLA_LEXER_ADA" , 20 ); // GtkScintillaStyle @define( "SCINTILLA_STYLE_DEFAULT" , 32 ); @define( "SCINTILLA_STYLE_LINE_NUMBER" , 33 ); @define( "SCINTILLA_STYLE_BRACE_LIGHT" , 34 ); @define( "SCINTILLA_STYLE_BRACE_BAD" , 35 ); @define( "SCINTILLA_STYLE_CONTROL_CHAR" , 36 ); @define( "SCINTILLA_STYLE_INDENT_GUIDE" , 37 ); @define( "SCINTILLA_STYLE_MAX" , 127 ); // LEXER_PYTHON lexical states @define( "SCINTILLA_PYTHON_WHITE_SPACE" , 0 ); @define( "SCINTILLA_PYTHON_COMMENT_LINE" , 1 ); @define( "SCINTILLA_PYTHON_NUMBER" , 2 ); @define( "SCINTILLA_PYTHON_STRING_DOUBLE" , 3 ); @define( "SCINTILLA_PYTHON_STRING_SINGLE" , 4 ); @define( "SCINTILLA_PYTHON_KEYWORD" , 5 ); @define( "SCINTILLA_PYTHON_TRIPLE_SINGLE" , 6 ); @define( "SCINTILLA_PYTHON_TRIPLE_DOUBLE" , 7 ); @define( "SCINTILLA_PYTHON_CLASS_STATEMENT" , 8 ); @define( "SCINTILLA_PYTHON_DEF_STATEMENT" , 9 ); @define( "SCINTILLA_PYTHON_OPERATOR" , 10 ); @define( "SCINTILLA_PYTHON_IDENTIFIER" , 11 ); @define( "SCINTILLA_PYTHON_COMMENT_BLOCK" , 12 ); @define( "SCINTILLA_PYTHON_STRING_EOL" , 13 ); // LEXER_CPP Lexical states @define( "SCINTILLA_CPP_WHITE_SPACE" , 0 ); @define( "SCINTILLA_CPP_COMMENT_BLOCK" , 1 ); @define( "SCINTILLA_CPP_COMMENT_LINE" , 2 ); @define( "SCINTILLA_CPP_COMMENT_DOC" , 3 ); @define( "SCINTILLA_CPP_NUMBER" , 4 ); @define( "SCINTILLA_CPP_KEYWORD" , 5 ); @define( "SCINTILLA_CPP_STRING" , 6 ); @define( "SCINTILLA_CPP_CHARACTER" , 7 ); @define( "SCINTILLA_CPP_UUID" , 8 ); @define( "SCINTILLA_CPP_PREPROCESSOR" , 9 ); @define( "SCINTILLA_CPP_OPERATOR" , 10 ); @define( "SCINTILLA_CPP_IDENTIFIER" , 11 ); @define( "SCINTILLA_CPP_STRING_EOL" , 12 ); @define( "SCINTILLA_CPP_STRING_VERBATIM" , 13 ); @define( "SCINTILLA_CPP_REGEX" , 14 ); @define( "SCINTILLA_CPP_COMMENT_LINE_DOC" , 15 ); @define( "SCINTILLA_CPP_WORD2" , 16 ); @define( "SCINTILLA_CPP_COMMENT_DOC_KEYWORD" , 17 ); @define( "SCINTILLA_CPP_COMMENT_DOC_KEYWORD_ERROR" , 18 ); // LEXER_HTML Lexical states @define( "SCINTILLA_HTML_TEXT" , 0 ); @define( "SCINTILLA_HTML_TAG" , 1 ); @define( "SCINTILLA_HTML_TAG_UNKNOWN" , 2 ); @define( "SCINTILLA_HTML_ATTRIBUTE" , 3 ); @define( "SCINTILLA_HTML_ATTRIBUTE_UNKNOWN" , 4 ); @define( "SCINTILLA_HTML_NUMBER" , 5 ); @define( "SCINTILLA_HTML_DOUBLE_STRING" , 6 ); @define( "SCINTILLA_HTML_SINGLE_STRING" , 7 ); @define( "SCINTILLA_HTML_OTHER" , 8 ); @define( "SCINTILLA_HTML_COMMENT" , 9 ); @define( "SCINTILLA_HTML_ENTITY" , 10 ); @define( "SCINTILLA_HTML_XML_TAG_END" , 11 ); @define( "SCINTILLA_HTML_XML_ID_START" , 12 ); @define( "SCINTILLA_HTML_XML_ID_END" , 13 ); @define( "SCINTILLA_HTML_SCRIPT" , 14 ); @define( "SCINTILLA_HTML_ASP_1" , 15 ); @define( "SCINTILLA_HTML_ASP_2" , 16 ); @define( "SCINTILLA_HTML_CDATA" , 17 ); @define( "SCINTILLA_HTML_PHP" , 18 ); @define( "SCINTILLA_HTML_UNQUOTED" , 19 ); // LEXER HTML :: Embedded Javascript @define( "SCINTILLA_HTML_JS_START" , 40 ); @define( "SCINTILLA_HTML_JS_DEFAULT" , 41 ); @define( "SCINTILLA_HTML_JS_COMMENT_BLOCK" , 42 ); @define( "SCINTILLA_HTML_JS_COMMENT_LINE" , 43 ); @define( "SCINTILLA_HTML_JS_COMMENT_DOC" , 44 ); @define( "SCINTILLA_HTML_JS_NUMBER" , 45 ); @define( "SCINTILLA_HTML_JS_WORD" , 46 ); @define( "SCINTILLA_HTML_JS_KEYWORD" , 47 ); @define( "SCINTILLA_HTML_JS_STRING_DOUBLE" , 48 ); @define( "SCINTILLA_HTML_JS_STRING_SINGLE" , 49 ); @define( "SCINTILLA_HTML_JS_SYMBOL" , 50 ); @define( "SCINTILLA_HTML_JS_EOL" , 51 ); @define( "SCINTILLA_HTML_JS_REGEX" , 52 ); // LEXER_HTML :: ASP Javascript @define( "SCINTILLA_HTML_ASPJS_START" , 55 ); @define( "SCINTILLA_HTML_ASPJS_DEFAULT" , 56 ); @define( "SCINTILLA_HTML_ASPJS_COMMENT_BLOCK" , 57 ); @define( "SCINTILLA_HTML_ASPJS_COMMENT_LINE" , 58 ); @define( "SCINTILLA_HTML_ASPJS_COMMENT_DOC" , 59 ); @define( "SCINTILLA_HTML_ASPJS_NUMBER" , 60 ); @define( "SCINTILLA_HTML_ASPJS_WORD" , 61 ); @define( "SCINTILLA_HTML_ASPJS_KEYWORD" , 62 ); @define( "SCINTILLA_HTML_ASPJS_STRING_DOUBLE" , 63 ); @define( "SCINTILLA_HTML_ASPJS_STRING_SINGLE" , 64 ); @define( "SCINTILLA_HTML_ASPJS_SYMBOL" , 65 ); @define( "SCINTILLA_HTML_ASPJS_EOL" , 66 ); @define( "SCINTILLA_HTML_ASPJS_REGEX" , 67 ); // LEXER_HTML :: Embedded VBS @define( "SCINTILLA_HTML_VBS_START" , 70 ); @define( "SCINTILLA_HTML_VBS_DEFAULT" , 71 ); @define( "SCINTILLA_HTML_VBS_COMMENT" , 72 ); @define( "SCINTILLA_HTML_VBS_NUMBER" , 73 ); @define( "SCINTILLA_HTML_VBS_KEYWORD" , 74 ); @define( "SCINTILLA_HTML_VBS_STRING" , 75 ); @define( "SCINTILLA_HTML_VBS_IDENTIFIER" , 76 ); @define( "SCINTILLA_HTML_VBS_EOL" , 77 ); // LEXER_HTML :: ASP VBS @define( "SCINTILLA_HTML_ASPVBS_START" , 80 ); @define( "SCINTILLA_HTML_ASPVBS_DEFAULT" , 81 ); @define( "SCINTILLA_HTML_ASPVBS_COMMENT" , 82 ); @define( "SCINTILLA_HTML_ASPVBS_NUMBER" , 83 ); @define( "SCINTILLA_HTML_ASPVBS_KEYWORD" , 84 ); @define( "SCINTILLA_HTML_ASPVBS_STRING" , 85 ); @define( "SCINTILLA_HTML_ASPVBS_IDENTIFIER" , 86 ); @define( "SCINTILLA_HTML_ASPVBS_EOL" , 87 ); // LEXER_HTML :: Embedded Python @define( "SCINTILLA_HTML_PY_START" , 90 ); @define( "SCINTILLA_HTML_PY_DEFAULT" , 91 ); @define( "SCINTILLA_HTML_PY_COMMENT_LINE" , 92 ); @define( "SCINTILLA_HTML_PY_NUMBER" , 93 ); @define( "SCINTILLA_HTML_PY_STRING_DOUBLE" , 94 ); @define( "SCINTILLA_HTML_PY_STRING_SINGLE" , 95 ); @define( "SCINTILLA_HTML_PY_KEYWORD" , 96 ); @define( "SCINTILLA_HTML_PY_TRIPLE_SINGLE" , 97 ); @define( "SCINTILLA_HTML_PY_TRIPLE_DOUBLE" , 98 ); @define( "SCINTILLA_HTML_PY_CLASS_STATEMENT" , 99 ); @define( "SCINTILLA_HTML_PY_DEF_STATEMENT" , 100 ); @define( "SCINTILLA_HTML_PY_OPERATOR" , 101 ); @define( "SCINTILLA_HTML_PY_IDENTIFIER" , 102 ); // LEXER_HTML :: ASP Python @define( "SCINTILLA_HTML_ASPPY_START" , 105 ); @define( "SCINTILLA_HTML_ASPPY_DEFAULT" , 106 ); @define( "SCINTILLA_HTML_ASPPY_COMMENT_LINE" , 107 ); @define( "SCINTILLA_HTML_ASPPY_NUMBER" , 108 ); @define( "SCINTILLA_HTML_ASPPY_STRING_DOUBLE" , 109 ); @define( "SCINTILLA_HTML_ASPPY_STRING_SINGLE" , 110 ); @define( "SCINTILLA_HTML_ASPPY_KEYWORD" , 111 ); @define( "SCINTILLA_HTML_ASPPY_TRIPLE_SINGLE" , 112 ); @define( "SCINTILLA_HTML_ASPPY_TRIPLE_DOUBLE" , 113 ); @define( "SCINTILLA_HTML_ASPPY_CLASS_STATEMENT" , 114 ); @define( "SCINTILLA_HTML_ASPPY_DEF_STATEMENT" , 115 ); @define( "SCINTILLA_HTML_ASPPY_OPERATOR" , 116 ); @define( "SCINTILLA_HTML_ASPPY_IDENTIFIER" , 117 ); // LEXER_HTML :: PHP @define( "SCINTILLA_HTML_PHP_DEFAULT" , 118 ); @define( "SCINTILLA_HTML_PHP_STRING_DOUBLE" , 119 ); @define( "SCINTILLA_HTML_PHP_STRING_SINGLE" , 120 ); @define( "SCINTILLA_HTML_PHP_KEYWORD" , 121 ); @define( "SCINTILLA_HTML_PHP_NUMBER" , 122 ); @define( "SCINTILLA_HTML_PHP_VARIABLE" , 123 ); @define( "SCINTILLA_HTML_PHP_COMMENT_BLOCK" , 124 ); @define( "SCINTILLA_HTML_PHP_COMMENT_LINE" , 125 ); @define( "SCINTILLA_HTML_PHP_EOL" , 126 ); @define( "SCINTILLA_HTML_PHP_OPERATOR" , 127 ); // LEXER_XML Lexical states @define( "SCINTILLA_XML_DEFAULT" , 0 ); @define( "SCINTILLA_XML_TAG" , 1 ); @define( "SCINTILLA_XML_TAG_UNKNOWN" , 2 ); @define( "SCINTILLA_XML_ATTRIBUTE" , 3 ); @define( "SCINTILLA_XML_ATTRIBUTE_UNKNOWN" , 4 ); @define( "SCINTILLA_XML_NUMBER" , 5 ); @define( "SCINTILLA_XML_DOUBLE_STRING" , 6 ); @define( "SCINTILLA_XML_SINGLE_STRING" , 7 ); @define( "SCINTILLA_XML_OTHER" , 8 ); @define( "SCINTILLA_XML_COMMENT" , 9 ); @define( "SCINTILLA_XML_ENTITY" , 10 ); @define( "SCINTILLA_XML_TAG_END" , 11 ); @define( "SCINTILLA_XML_ID_START" , 12 ); @define( "SCINTILLA_XML_ID_END" , 13 ); @define( "SCINTILLA_XML_CDATA" , 17 ); @define( "SCINTILLA_XML_QUESTION" , 18 ); @define( "SCINTILLA_XML_UNQUOTED" , 19 ); // LEXER_PERL Lexical states @define( "SCINTILLA_PERL_WHITE_SPACE" , 0 ); @define( "SCINTILLA_PERL_ERROR" , 1 ); @define( "SCINTILLA_PERL_COMMENT_LINE" , 2 ); @define( "SCINTILLA_PERL_POD" , 3 ); @define( "SCINTILLA_PERL_NUMBER" , 4 ); @define( "SCINTILLA_PERL_KEYWORD" , 5 ); @define( "SCINTILLA_PERL_STRING" , 6 ); @define( "SCINTILLA_PERL_CHARACTER" , 7 ); @define( "SCINTILLA_PERL_PUNCTUATION" , 8 ); @define( "SCINTILLA_PERL_PREPROCESSOR" , 9 ); @define( "SCINTILLA_PERL_OPERATOR" , 10 ); @define( "SCINTILLA_PERL_IDENTIFIER" , 11 ); @define( "SCINTILLA_PERL_SCALAR" , 12 ); @define( "SCINTILLA_PERL_ARRAY" , 13 ); @define( "SCINTILLA_PERL_HASH" , 14 ); @define( "SCINTILLA_PERL_SYMBOL_TABLE" , 15 ); @define( "SCINTILLA_PERL_REGEX" , 17 ); @define( "SCINTILLA_PERL_REGSUBST" , 18 ); @define( "SCINTILLA_PERL_LONG_QUOTE" , 19 ); @define( "SCINTILLA_PERL_BACKTICKS" , 20 ); @define( "SCINTILLA_PERL_DATA_SECTION" , 21 ); @define( "SCINTILLA_PERL_HERE_DELIM" , 22 ); @define( "SCINTILLA_PERL_HERE_Q" , 23 ); @define( "SCINTILLA_PERL_HERE_QQ" , 24 ); @define( "SCINTILLA_PERL_HERE_QX" , 25 ); @define( "SCINTILLA_PERL_STRING_Q" , 26 ); @define( "SCINTILLA_PERL_STRING_QQ" , 27 ); @define( "SCINTILLA_PERL_STRING_QX" , 28 ); @define( "SCINTILLA_PERL_STRING_QR" , 29 ); @define( "SCINTILLA_PERL_STRING_QW" , 30 ); // LEXER_SQL Lexical states @define( "SCINTILLA_SQL_WHITE_SPACE" , 0 ); @define( "SCINTILLA_SQL_COMMENT_BLOCK" , 1 ); @define( "SCINTILLA_SQL_COMMENT_LINE" , 2 ); @define( "SCINTILLA_SQL_COMMENT_DOC" , 3 ); @define( "SCINTILLA_SQL_NUMBER" , 4 ); @define( "SCINTILLA_SQL_KEYWORD" , 5 ); @define( "SCINTILLA_SQL_DOUBLE_STRING" , 6 ); @define( "SCINTILLA_SQL_SINGLE_STRING" , 7 ); @define( "SCINTILLA_SQL_SYMBOLS" , 8 ); @define( "SCINTILLA_SQL_PREPROCESSOR" , 9 ); @define( "SCINTILLA_SQL_OPERATOR" , 10 ); @define( "SCINTILLA_SQL_IDENTIFIER" , 11 ); @define( "SCINTILLA_SQL_STRING_EOL" , 12 ); // LEXER_VB Lexical states @define( "SCINTILLA_VB_WHITE_SPACE" , 0 ); @define( "SCINTILLA_VB_COMMENT_BLOCK" , 1 ); @define( "SCINTILLA_VB_COMMENT_LINE" , 2 ); @define( "SCINTILLA_VB_COMMENT_DOC" , 3 ); @define( "SCINTILLA_VB_NUMBER" , 4 ); @define( "SCINTILLA_VB_WORD" , 5 ); @define( "SCINTILLA_VB_STRING" , 6 ); @define( "SCINTILLA_VB_CHARACTER" , 7 ); @define( "SCINTILLA_VB_UUID" , 8 ); @define( "SCINTILLA_VB_PREPROCESSOR" , 9 ); @define( "SCINTILLA_VB_OPERATOR" , 10 ); @define( "SCINTILLA_VB_IDENTIFIER" , 11 ); @define( "SCINTILLA_VB_STRING_EOL" , 12 ); // LEXER_PROPERTIES Lexical states @define( "SCINTILLA_PROPERTIES_DEFAULT" , 0 ); @define( "SCINTILLA_PROPERTIES_COMMENT" , 1 ); @define( "SCINTILLA_PROPERTIES_SECTION" , 2 ); @define( "SCINTILLA_PROPERTIES_OPERATOR" , 3 ); @define( "SCINTILLA_PROPERTIES_DEFAULT_VAL" , 4 ); // LEXER_ERRORLIST Lexical states @define( "SCINTILLA_ERROR_DEFAULT" , 0 ); @define( "SCINTILLA_ERROR_PYTHON" , 1 ); @define( "SCINTILLA_ERROR_GCC" , 2 ); @define( "SCINTILLA_ERROR_MS" , 3 ); @define( "SCINTILLA_ERROR_CMD" , 4 ); @define( "SCINTILLA_ERROR_BORLAND" , 5 ); @define( "SCINTILLA_ERROR_PERL" , 6 ); @define( "SCINTILLA_ERROR_DIFF_CHANGED" , 10 ); @define( "SCINTILLA_ERROR_DIFF_ADDITION" , 11 ); @define( "SCINTILLA_ERROR_DIFF_DELETION" , 12 ); @define( "SCINTILLA_ERROR_DIFF_MESSAGE" , 13 ); // LEXER_MAKEFILE Lexical states @define( "SCINTILLA_MAKEFILE_WHITE_SPACE" , 0 ); @define( "SCINTILLA_MAKEFILE_COMMENT" , 1 ); @define( "SCINTILLA_MAKEFILE_PREPROCESSOR" , 2 ); @define( "SCINTILLA_MAKEFILE_IDENTIFIER" , 3 ); @define( "SCINTILLA_MAKEFILE_OPERATOR" , 4 ); @define( "SCINTILLA_MAKEFILE_IDEOL" , 9 ); // LEXER_BATCH Lexical states @define( "SCINTILLA_BATCH_DEFAULT" , 0 ); @define( "SCINTILLA_BATCH_COMMENT" , 1 ); @define( "SCINTILLA_BATCH_WORD" , 2 ); @define( "SCINTILLA_BATCH_LABEL" , 3 ); @define( "SCINTILLA_BATCH_HIDE" , 4 ); @define( "SCINTILLA_BATCH_COMMAND" , 5 ); @define( "SCINTILLA_BATCH_IDENTIFIER" , 6 ); @define( "SCINTILLA_BATCH_OPERATOR" , 7 ); // LEXER_LATEX Lexical states @define( "SCINTILLA_LATEX_WHITE_SPACE" , 0 ); @define( "SCINTILLA_LATEX_COMMAND" , 1 ); @define( "SCINTILLA_LATEX_TAG" , 2 ); @define( "SCINTILLA_LATEX_MATH" , 3 ); @define( "SCINTILLA_LATEX_COMMENT" , 4 ); // LEXER_LUA Lexical states @define( "SCINTILLA_LUA_WHITE_SPACE" , 0 ); @define( "SCINTILLA_LUA_COMMENT_BLOCK" , 1 ); @define( "SCINTILLA_LUA_COMMENT_LINE" , 2 ); @define( "SCINTILLA_LUA_COMMENT_DOC" , 3 ); @define( "SCINTILLA_LUA_NUMBER" , 4 ); @define( "SCINTILLA_LUA_KEYWORD" , 5 ); @define( "SCINTILLA_LUA_STRING" , 6 ); @define( "SCINTILLA_LUA_CHARACTER" , 7 ); @define( "SCINTILLA_LUA_LITERAL_STRING" , 8 ); @define( "SCINTILLA_LUA_PREPROCESSOR" , 9 ); @define( "SCINTILLA_LUA_OPERATOR" , 10 ); @define( "SCINTILLA_LUA_IDENTIFIER" , 11 ); @define( "SCINTILLA_LUA_STRING_EOL" , 12 ); // LEXER_DIFF Lexical states @define( "SCINTILLA_DIFF_DEFAULT" , 0 ); @define( "SCINTILLA_DIFF_COMMENT" , 1 ); @define( "SCINTILLA_DIFF_COMMAND" , 2 ); @define( "SCINTILLA_DIFF_FILES" , 3 ); @define( "SCINTILLA_DIFF_POSITION" , 4 ); @define( "SCINTILLA_DIFF_DEL_LINE" , 5 ); @define( "SCINTILLA_DIFF_ADD_LINE" , 6 ); // LEXER_CONF Lexical states @define( "SCINTILLA_CONF_DEFAULT" , 0 ); @define( "SCINTILLA_CONF_COMMENT" , 1 ); @define( "SCINTILLA_CONF_NUMBER" , 2 ); @define( "SCINTILLA_CONF_IDENTIFIER" , 3 ); @define( "SCINTILLA_CONF_EXTENSION" , 4 ); @define( "SCINTILLA_CONF_PARAMETER" , 5 ); @define( "SCINTILLA_CONF_STRING" , 6 ); @define( "SCINTILLA_CONF_OPERATOR" , 7 ); @define( "SCINTILLA_CONF_IP" , 8 ); @define( "SCINTILLA_CONF_DIRECTIVE" , 9 ); // LEXER_PASCAL Lexical states @define( "SCINTILLA_PASCAL_WHITE_SPACE" , 0 ); @define( "SCINTILLA_PASCAL_COMMENT_BLOCK" , 1 ); @define( "SCINTILLA_PASCAL_COMMENT_LINE" , 2 ); @define( "SCINTILLA_PASCAL_COMMENT_DOC" , 3 ); @define( "SCINTILLA_PASCAL_NUMBER" , 4 ); @define( "SCINTILLA_PASCAL_KEYWORD" , 5 ); @define( "SCINTILLA_PASCAL_DOUBLE_STRING" , 6 ); @define( "SCINTILLA_PASCAL_SINGLE_STRING" , 7 ); @define( "SCINTILLA_PASCAL_SYMBOLS" , 8 ); @define( "SCINTILLA_PASCAL_PREPROCESSOR" , 9 ); // LEXER_AVE Lexical states @define( "SCINTILLA_AVE_DEFAULT" , 0 ); @define( "SCINTILLA_AVE_COMMENT" , 1 ); @define( "SCINTILLA_AVE_NUMBER" , 2 ); @define( "SCINTILLA_AVE_WORD" , 3 ); @define( "SCINTILLA_AVE_KEYWORD" , 4 ); @define( "SCINTILLA_AVE_STATEMENT" , 5 ); @define( "SCINTILLA_AVE_STRING" , 6 ); @define( "SCINTILLA_AVE_ENUM" , 7 ); @define( "SCINTILLA_AVE_STRINGEOL" , 8 ); @define( "SCINTILLA_AVE_IDENTIFIER" , 9 ); @define( "SCINTILLA_AVE_OPERATOR" , 10 ); // LEXER_ADA Lexical states @define( "SCINTILLA_ADA_DEFAULT" , 0 ); @define( "SCINTILLA_ADA_COMMENT" , 1 ); @define( "SCINTILLA_ADA_NUMBER" , 2 ); @define( "SCINTILLA_ADA_WORD" , 3 ); @define( "SCINTILLA_ADA_STRING" , 4 ); @define( "SCINTILLA_ADA_CHARACTER" , 5 ); @define( "SCINTILLA_ADA_OPERATOR" , 6 ); @define( "SCINTILLA_ADA_IDENTIFIER" , 7 ); @define( "SCINTILLA_ADA_STRINGEOL" , 8 ); ?>phpmole/config/_not_used_config_dialog.class0000755000175000017500000000745407427641742021543 0ustar alanalan00000000000000config_dialog_generic($glade,$config_array); $conf->btn_ok->connect("pressed",array(&$this,"update_config")); to display it: $conf->prefs = $current_config_array; $conf->show(); function update_config() { $new_config_array = $conf->get_results(); $conf->hide(); } */ class config_dialog extends phpide_dialog_generic { var $prefs; // where stuff is stored and retrieved from function config_dialog() { $this->phpide_Dialog_Generic(dirname(__FILE__)."/config_dialog.glade"); } function show() { $this->load_prefs(); $this->ok_pressed_callback = array(&$this,"save_prefs"); $this->__show(); } function load_prefs() { global $application; foreach($application->prefs->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->widget->get_widget($kname); if (!$widget) $widget = $this->widget->get_widget($kname2); if (!$widget) continue; switch (get_class($widget)) { case "GtkCheckButton": $vv=0; if ($v) $vv = 1; $widget->set_active($vv); break; case "GtkSpinButton": $widget->set_value($v); break; case "GtkButton": $this->set_fontname( $kname,$v); break; case "GtkDrawingArea": $this->set_buttoncolor($kname,$v); break; case "GtkRadioButton": $widget->set_active(0); break; case "GtkText": $len = $widget->get_length(); $widget->delete_text(0,$len); $widget->insert_text($v,0); break; } } } function save_prefs() { global $application; foreach($application->prefs->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->widget->get_widget($kname); if (!$widget) $widget = $this->widget->get_widget($kname2); if (!$widget) continue; switch (get_class($widget)) { case "GtkCheckButton": $application->prefs->prefs[$k] = $widget->get_active(); break; case "GtkSpinButton": $application->prefs->prefs[$k] = $widget->get_value_as_int(); break; case "GtkRadioButton": // now this is a bit more complex!!! $application->prefs[$k] = 0; // default it for ($i=0;$i<9;$i++) { $w = $this->widget->get_widget($kname . "_".sprintf("%01d",$i)); if (!$w) break; if ($w->get_active()) $this->prefs[$k] = $i; } break; } } $application->prefs->save_user_prefs(); } } ?>phpmole/config/.mappedfiles/0002755000175000017500000000000007641002067016212 5ustar alanalan00000000000000phpmole/config/.mappedfiles/PHPMOL~1.CLA0000777000175000017500000000000007641002067023676 2phpmole_prefs.classustar alanalan00000000000000phpmole/config/.mappedfiles/PREFER~10000777000175000017500000000000007641002067021556 2Preferencesustar alanalan00000000000000phpmole/config/.mappedfiles/_NOT_U~1.CLA0000777000175000017500000000000007641002067025742 2_not_used_config_dialog.classustar alanalan00000000000000phpmole/config/.mappedfiles/PREFER~1.WIN0000777000175000017500000000000007641002067022646 2Preferences.WINustar alanalan00000000000000phpmole/config/Preferences.WIN0000755000175000017500000000176707621204342016475 0ustar alanalan00000000000000 [line numbers] back=11053224 auto=0 font = Arial digits=4 show=1 fore=0 [directory names] count=3 name_0=[Home] directory_0=~ name_1=[Include] directory_1=/usr/include name_2=[Kernel] directory_2=/usr/src/linux [geometry] save_win_size=1 width=620 height=460 [default style] selection=11250603 bookmark=15908608 back=15987699 fore=0 font = Arial [caret] fore=0 width=2 period=250 [history] save_session=0 mru_sort=1 mru_size=30 [keyboard] keybindings=0 [braces style] fore_bad=191 fore_ok=12517376 [bookmarks] total = 4 mark_0 = file:/usr/src/ title_0 = source code mark_1 = scp:me@localhost:/home/me title_1 = SCP test (Change me!) title_2 = netscape test mark_2 = mgd:admin@my.midgard.server.com:80:/nadmin/phpmole/:/ mark_3 = file:/ title_3 = Root [module hide] bookmark_browser = 0 class_browser = 0 help_browser = 1 db_editor = 0 midgard = 0 scintilla = 1 text_editor = 0 html = 1 xml_tree_editor = 1 directory_viewer = 1 help_viewer = 1 phpdict = 0 simple_debugger = 1 [html] enable_preparser = 0 phpmole/dialogs/0002755000175000017500000000000007621204103014011 5ustar alanalan00000000000000phpmole/dialogs/CVS/0002755000175000017500000000000007641002070014445 5ustar alanalan00000000000000phpmole/dialogs/CVS/Root0000644000175000017500000000010107372361212015310 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/dialogs/CVS/Repository0000644000175000017500000000002007372361212016544 0ustar alanalan00000000000000phpmole/dialogs phpmole/dialogs/CVS/Entries0000644000175000017500000000173607621216614016017 0ustar alanalan00000000000000/ok_cancel_dialog.glade/1.1/Fri Jan 4 16:54:10 2002// /ok_dialog.glade/1.1/Fri Jan 4 16:54:10 2002// /password_entry_dialog.glade/1.2/Sun Jan 6 13:08:39 2002// /progress_dialog.glade/1.1/Mon Jan 7 02:49:48 2002// /text_entry_dialog.glade/1.1/Fri Jan 4 16:54:10 2002// /transfer_dialog.glade/1.1/Fri Jan 4 16:54:10 2002// /yes_no_dialog.glade/1.1/Fri Jan 4 16:54:10 2002// /phpmole_new_file_dialog.class/1.4/Fri Feb 15 03:34:57 2002// /phpmole_password_dialog.class/1.2/Fri Feb 15 03:34:57 2002// /config_dialog.glade/1.2/Mon Feb 18 06:30:49 2002// /master_config.glade/1.2/Fri Feb 22 09:41:05 2002// /about_dialog.glade/1.1/Thu Feb 21 13:40:59 2002// /phpmole_about_dialog.class/1.1/Thu Feb 21 13:40:59 2002// /phpmole.xpm/1.1/Fri Mar 15 05:49:54 2002// /phpide_Dialog_Generic.class/1.17/Fri May 10 08:27:32 2002// /config_dialog_generic.class/1.7/Sat Feb 8 14:15:17 2003// /phpide.class/1.35/Sat Feb 8 14:09:31 2003// /phpmole_config_dialog.class/1.8/Sat Feb 8 14:24:07 2003// D phpmole/dialogs/CVS/.mappedfiles/0002755000175000017500000000000007641002070017014 5ustar alanalan00000000000000phpmole/dialogs/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002070022314 2Repositoryustar alanalan00000000000000phpmole/dialogs/RCS/0002700000175000017500000000000007641002070014427 5ustar alanalan00000000000000phpmole/dialogs/RCS/.mappedfiles/0002700000175000017500000000000007641002070016776 5ustar alanalan00000000000000phpmole/dialogs/RCS/.mappedfiles/PHPIDE~1.CLA0000777000175000017500000000000007641002070026231 2phpide_Dialog_Generic.class,vustar alanalan00000000000000phpmole/dialogs/RCS/.mappedfiles/PHPIDE~2.CLA0000777000175000017500000000000007641002070023317 2phpide.class,vustar alanalan00000000000000phpmole/dialogs/RCS/.mappedfiles/GTKM_D~1.CLA0000777000175000017500000000000007641002070025756 2gtkm_Dialog_Generic.class,vustar alanalan00000000000000phpmole/dialogs/RCS/.mappedfiles/GTKM_D~2.CLA0000777000175000017500000000000007641002070026073 2gtkm_Dialog_New_File.class,vustar alanalan00000000000000phpmole/dialogs/RCS/.mappedfiles/PHPMOL~1.CLA0000777000175000017500000000000007641002070026403 2phpmole_config_dialog.class,vustar alanalan00000000000000phpmole/dialogs/RCS/.mappedfiles/CONFIG~1.GLA0000777000175000017500000000000007641002070024600 2config_dialog.glade,vustar alanalan00000000000000phpmole/dialogs/RCS/.mappedfiles/PHPMOL~2.CLA0000777000175000017500000000000007641002070026251 2phpmole_about_dialog.class,vustar alanalan00000000000000phpmole/dialogs/RCS/.mappedfiles/CONFIG~1.CLA0000777000175000017500000000000007641002070026321 2config_dialog_generic.class,vustar alanalan00000000000000phpmole/dialogs/RCS/phpide_Dialog_Generic.class,v0000755000175000017500000001775507436364437022162 0ustar alanalan00000000000000head 1.16; access; symbols; locks; strict; comment @# @; 1.16 date 2002.02.25.07.34.55; author alan; state Exp; branches; next 1.15; 1.15 date 2002.02.19.05.28.12; author alan; state Exp; branches; next 1.14; 1.14 date 2002.02.05.02.36.33; author alan; state Exp; branches; next 1.13; 1.13 date 2002.01.16.11.11.58; author alan; state Exp; branches; next 1.12; 1.12 date 2002.01.16.11.04.21; author alan; state Exp; branches; next 1.11; 1.11 date 2002.01.04.11.28.38; author alan; state Exp; branches; next 1.10; 1.10 date 2002.01.04.11.27.35; author alan; state Exp; branches; next 1.9; 1.9 date 2002.01.04.11.22.56; author alan; state Exp; branches; next 1.8; 1.8 date 2002.01.04.10.03.59; author alan; state Exp; branches; next 1.7; 1.7 date 2002.01.04.10.02.49; author alan; state Exp; branches; next 1.6; 1.6 date 2002.01.04.07.34.05; author alan; state Exp; branches; next 1.5; 1.5 date 2002.01.02.08.42.56; author alan; state Exp; branches; next 1.4; 1.4 date 2001.12.11.07.17.47; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.09.07.49.19; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.08.05.17.46; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.08.05.15.14; author alan; state Exp; branches; next ; desc @Updated @ 1.16 log @Updated @ text @widget = &new $class($glade_file); $this->window = $this->widget->get_widget("window"); $this->btn_ok = $this->widget->get_widget("OK"); $this->btn_cancel = $this->widget->get_widget("cancel"); $this->info = $this->widget->get_widget("info"); $this->window->set_modal(TRUE); $this->window->connect("delete-event", array(&$this,"ignore_close")); $this->btn_ok->connect("clicked", array(&$this,"ok_pressed")); if ($this->btn_cancel) $this->btn_cancel->connect("clicked", array(&$this,"cancel_pressed")); } function ignore_close() { $this->cancel_pressed(); return true; } function show($message="") { debug_echo("GENERIC dialog show"); $this->__show($message); } function __show($message="") { global $application; if ($this->info && method_exists($this->info,"set_text")) $this->info->set_text($message); if ($application->window) $this->window->set_transient_for($application->window); $this->window->show(); } function hide() { $this->__hide(); } function __hide() { $this->window->hide(); } function set_callbacks($ok=NULL,$cancel=NULL) { $this->ok_pressed_callback = $ok; $this->cancel_pressed_callback = $cancel; } function ok_pressed() { if (!$this->disable_ok_hide) $this->hide(); $cb = $this->ok_pressed_callback; $this->set_callbacks(); if ($cb) call_user_func($cb); } function cancel_pressed() { $this->hide(); $cb = $this->cancel_pressed_callback; $this->set_callbacks(); if ($cb) call_user_func($cb); } } ?> @ 1.15 log @Updated @ text @d99 3 a101 4 if ($this->ok_pressed_callback) call_user_func($this->ok_pressed_callback); $this->set_callbacks(); d105 1 a105 2 if ($this->cancel_pressed_callback) call_user_func($this->cancel_pressed_callback); d107 2 @ 1.14 log @Updated @ text @d1 26 a26 1 widget = &new GladeXML($glade_file); d77 1 a77 1 if ($this->info) @ 1.13 log @Updated @ text @d15 2 a16 1 function phpide_Dialog_Generic($glade_file) { d44 1 @ 1.12 log @Updated @ text @d68 1 a68 1 if ($this->disable_ok_hide) @ 1.11 log @Updated @ text @d5 76 a80 64 var $window; var $btn_ok; var $cancel; var $btn_info; function phpide_Dialog_Generic($glade_file) { if (!file_exists($glade_file)) { echo "Could not find $glade_file"; exit; } debug_echo ("loading $glade_file\n"); $this->widget = &new GladeXML($glade_file); $this->window = $this->widget->get_widget("window"); //$this->window->connect("destroy", array(&$this,"ignore_close")); $this->window->connect("delete-event", array(&$this,"ignore_close")); $this->btn_ok = $this->widget->get_widget("OK"); $this->btn_cancel = $this->widget->get_widget("cancel"); $this->info = $this->widget->get_widget("info"); //$this->top_window_freeze_signal = $this->window->connect_object_after('event',array(&$this,'raise')); //$this-ok->connect_object_after('clicked', array(&$this,close)); //$this->cancel->connect_object_after('clicked', array(&$this,ok)); } function ignore_close() { $this->hide(); return true; } function show($message="") { $this->__show($message); } function __show($message="") { global $application; if ($this->info) $this->info->set_text($message); if ($application->window) $this->window->set_transient_for($application->window); $this->window->show(); //Gtk::grab_add($this->window); } function raise($w) { if (@@$this->not_active_window) return; if ($w->type != 4) return; $wi = $this->window->window; $wi->raise(); } function hide() { $this->__hide(); } function __hide() { //echo "REMOVEING GRAB\n"; // Gtk::grab_remove($this->window); $this->window->hide(); } d84 1 a84 1 ?>@ 1.10 log @Updated @ text @d30 1 @ 1.9 log @Updated @ text @d19 1 a19 1 $this->window->connect("destroy", array(&$this,"ignore_close")); d30 1 a30 1 return false; @ 1.8 log @Updated @ text @d19 2 d29 4 @ 1.7 log @Updated @ text @d32 1 a32 1 global $window; d36 2 a37 2 if ($this->parent_window) $this->window->set_transient_for($this->parent_window); @ 1.6 log @Updated @ text @d22 1 a22 1 $this->top_window_freeze_signal = $this->window->connect_object_after('event',array(&$this,'raise')); d35 3 a37 1 d39 3 a41 1 Gtk::grab_add($this->window); d57 1 a57 1 Gtk::grab_remove($this->window); @ 1.5 log @Updated @ text @d40 1 a40 1 if ($this->not_active_window) return; @ 1.4 log @Updated @ text @d56 3 @ 1.3 log @Updated @ text @d15 1 @ 1.2 log @Updated @ text @d57 1 a57 1 ?> @ 1.1 log @Updated @ text @d10 1 a10 1 function phpide_Dialog_Generic($glade_file) { @ phpmole/dialogs/RCS/phpide.class,v0000755000175000017500000021772407444306362017235 0ustar alanalan00000000000000head 1.283; access; symbols; locks; strict; comment @# @; 1.283 date 2002.03.15.05.56.02; author alan; state Exp; branches; next 1.282; 1.282 date 2002.03.15.05.55.54; author alan; state Exp; branches; next 1.281; 1.281 date 2002.03.15.05.55.28; author alan; state Exp; branches; next 1.280; 1.280 date 2002.03.15.05.55.26; author alan; state Exp; branches; next 1.279; 1.279 date 2002.03.15.05.54.12; author alan; state Exp; branches; next 1.278; 1.278 date 2002.03.15.05.53.35; author alan; state Exp; branches; next 1.277; 1.277 date 2002.03.15.05.52.57; author alan; state Exp; branches; next 1.276; 1.276 date 2002.03.15.05.52.16; author alan; state Exp; branches; next 1.275; 1.275 date 2002.03.15.05.51.44; author alan; state Exp; branches; next 1.274; 1.274 date 2002.03.15.05.51.09; author alan; state Exp; branches; next 1.273; 1.273 date 2002.03.15.05.50.34; author alan; state Exp; branches; next 1.272; 1.272 date 2002.03.15.05.50.31; author alan; state Exp; branches; next 1.271; 1.271 date 2002.03.15.05.50.09; author alan; state Exp; branches; next 1.270; 1.270 date 2002.03.15.05.49.12; author alan; state Exp; branches; next 1.269; 1.269 date 2002.03.15.05.49.07; author alan; state Exp; branches; next 1.268; 1.268 date 2002.03.15.05.48.33; author alan; state Exp; branches; next 1.267; 1.267 date 2002.03.15.05.46.53; author alan; state Exp; branches; next 1.266; 1.266 date 2002.03.15.05.46.27; author alan; state Exp; branches; next 1.265; 1.265 date 2002.02.25.07.02.04; author alan; state Exp; branches; next 1.264; 1.264 date 2002.02.25.07.01.36; author alan; state Exp; branches; next 1.263; 1.263 date 2002.02.25.06.59.48; author alan; state Exp; branches; next 1.262; 1.262 date 2002.02.25.06.52.13; author alan; state Exp; branches; next 1.261; 1.261 date 2002.02.25.06.48.19; author alan; state Exp; branches; next 1.260; 1.260 date 2002.02.25.06.48.10; author alan; state Exp; branches; next 1.259; 1.259 date 2002.02.25.06.43.56; author alan; state Exp; branches; next 1.258; 1.258 date 2002.02.25.06.43.47; author alan; state Exp; branches; next 1.257; 1.257 date 2002.02.25.06.40.21; author alan; state Exp; branches; next 1.256; 1.256 date 2002.02.25.06.39.55; author alan; state Exp; branches; next 1.255; 1.255 date 2002.02.25.06.39.13; author alan; state Exp; branches; next 1.254; 1.254 date 2002.02.25.06.38.29; author alan; state Exp; branches; next 1.253; 1.253 date 2002.02.25.06.30.02; author alan; state Exp; branches; next 1.252; 1.252 date 2002.02.25.06.27.38; author alan; state Exp; branches; next 1.251; 1.251 date 2002.02.25.06.26.11; author alan; state Exp; branches; next 1.250; 1.250 date 2002.02.25.06.25.32; author alan; state Exp; branches; next 1.249; 1.249 date 2002.02.25.06.25.15; author alan; state Exp; branches; next 1.248; 1.248 date 2002.02.25.06.24.56; author alan; state Exp; branches; next 1.247; 1.247 date 2002.02.25.06.24.31; author alan; state Exp; branches; next 1.246; 1.246 date 2002.02.25.06.24.23; author alan; state Exp; branches; next 1.245; 1.245 date 2002.02.25.06.23.35; author alan; state Exp; branches; next 1.244; 1.244 date 2002.02.25.06.22.27; author alan; state Exp; branches; next 1.243; 1.243 date 2002.02.25.06.22.03; author alan; state Exp; branches; next 1.242; 1.242 date 2002.02.25.06.21.46; author alan; state Exp; branches; next 1.241; 1.241 date 2002.02.25.06.21.18; author alan; state Exp; branches; next 1.240; 1.240 date 2002.02.25.06.20.59; author alan; state Exp; branches; next 1.239; 1.239 date 2002.02.25.06.19.48; author alan; state Exp; branches; next 1.238; 1.238 date 2002.02.25.06.19.29; author alan; state Exp; branches; next 1.237; 1.237 date 2002.02.25.06.19.13; author alan; state Exp; branches; next 1.236; 1.236 date 2002.02.25.06.19.01; author alan; state Exp; branches; next 1.235; 1.235 date 2002.02.25.06.17.05; author alan; state Exp; branches; next 1.234; 1.234 date 2002.02.25.06.14.26; author alan; state Exp; branches; next 1.233; 1.233 date 2002.02.25.06.13.55; author alan; state Exp; branches; next 1.232; 1.232 date 2002.02.25.06.06.49; author alan; state Exp; branches; next 1.231; 1.231 date 2002.02.25.06.06.16; author alan; state Exp; branches; next 1.230; 1.230 date 2002.02.25.06.06.15; author alan; state Exp; branches; next 1.229; 1.229 date 2002.02.25.06.06.01; author alan; state Exp; branches; next 1.228; 1.228 date 2002.02.25.06.03.50; author alan; state Exp; branches; next 1.227; 1.227 date 2002.02.25.05.46.08; author alan; state Exp; branches; next 1.226; 1.226 date 2002.02.25.05.45.25; author alan; state Exp; branches; next 1.225; 1.225 date 2002.02.25.05.45.24; author alan; state Exp; branches; next 1.224; 1.224 date 2002.02.25.05.43.53; author alan; state Exp; branches; next 1.223; 1.223 date 2002.02.25.05.42.45; author alan; state Exp; branches; next 1.222; 1.222 date 2002.02.25.05.42.00; author alan; state Exp; branches; next 1.221; 1.221 date 2002.02.25.05.38.30; author alan; state Exp; branches; next 1.220; 1.220 date 2002.02.25.05.38.28; author alan; state Exp; branches; next 1.219; 1.219 date 2002.02.25.05.38.05; author alan; state Exp; branches; next 1.218; 1.218 date 2002.02.25.05.37.59; author alan; state Exp; branches; next 1.217; 1.217 date 2002.02.25.05.37.16; author alan; state Exp; branches; next 1.216; 1.216 date 2002.02.21.11.34.01; author alan; state Exp; branches; next 1.215; 1.215 date 2002.02.21.11.25.56; author alan; state Exp; branches; next 1.214; 1.214 date 2002.02.21.11.25.51; author alan; state Exp; branches; next 1.213; 1.213 date 2002.02.21.11.25.47; author alan; state Exp; branches; next 1.212; 1.212 date 2002.02.21.11.23.31; author alan; state Exp; branches; next 1.211; 1.211 date 2002.02.21.11.21.24; author alan; state Exp; branches; next 1.210; 1.210 date 2002.02.21.11.21.03; author alan; state Exp; branches; next 1.209; 1.209 date 2002.02.21.11.20.26; author alan; state Exp; branches; next 1.208; 1.208 date 2002.02.21.10.21.53; author alan; state Exp; branches; next 1.207; 1.207 date 2002.02.21.10.21.41; author alan; state Exp; branches; next 1.206; 1.206 date 2002.02.21.10.08.19; author alan; state Exp; branches; next 1.205; 1.205 date 2002.02.21.10.07.53; author alan; state Exp; branches; next 1.204; 1.204 date 2002.02.21.10.07.20; author alan; state Exp; branches; next 1.203; 1.203 date 2002.02.21.10.07.05; author alan; state Exp; branches; next 1.202; 1.202 date 2002.02.21.10.07.03; author alan; state Exp; branches; next 1.201; 1.201 date 2002.02.21.10.06.10; author alan; state Exp; branches; next 1.200; 1.200 date 2002.02.21.10.06.04; author alan; state Exp; branches; next 1.199; 1.199 date 2002.02.21.10.05.47; author alan; state Exp; branches; next 1.198; 1.198 date 2002.02.21.09.55.30; author alan; state Exp; branches; next 1.197; 1.197 date 2002.02.21.09.55.17; author alan; state Exp; branches; next 1.196; 1.196 date 2002.02.21.09.49.40; author alan; state Exp; branches; next 1.195; 1.195 date 2002.02.21.09.49.36; author alan; state Exp; branches; next 1.194; 1.194 date 2002.02.21.09.49.02; author alan; state Exp; branches; next 1.193; 1.193 date 2002.02.21.09.48.56; author alan; state Exp; branches; next 1.192; 1.192 date 2002.02.21.09.47.15; author alan; state Exp; branches; next 1.191; 1.191 date 2002.02.21.09.46.56; author alan; state Exp; branches; next 1.190; 1.190 date 2002.02.21.09.27.21; author alan; state Exp; branches; next 1.189; 1.189 date 2002.02.21.09.27.07; author alan; state Exp; branches; next 1.188; 1.188 date 2002.02.21.09.26.47; author alan; state Exp; branches; next 1.187; 1.187 date 2002.02.21.09.26.24; author alan; state Exp; branches; next 1.186; 1.186 date 2002.02.21.09.26.20; author alan; state Exp; branches; next 1.185; 1.185 date 2002.02.21.09.26.14; author alan; state Exp; branches; next 1.184; 1.184 date 2002.02.21.09.25.40; author alan; state Exp; branches; next 1.183; 1.183 date 2002.02.21.09.25.34; author alan; state Exp; branches; next 1.182; 1.182 date 2002.02.21.09.25.29; author alan; state Exp; branches; next 1.181; 1.181 date 2002.02.21.09.23.19; author alan; state Exp; branches; next 1.180; 1.180 date 2002.02.21.09.16.04; author alan; state Exp; branches; next 1.179; 1.179 date 2002.02.21.09.12.18; author alan; state Exp; branches; next 1.178; 1.178 date 2002.02.21.09.11.11; author alan; state Exp; branches; next 1.177; 1.177 date 2002.02.21.09.10.44; author alan; state Exp; branches; next 1.176; 1.176 date 2002.02.21.09.08.41; author alan; state Exp; branches; next 1.175; 1.175 date 2002.02.21.09.07.40; author alan; state Exp; branches; next 1.174; 1.174 date 2002.02.21.09.06.34; author alan; state Exp; branches; next 1.173; 1.173 date 2002.02.21.09.05.35; author alan; state Exp; branches; next 1.172; 1.172 date 2002.02.21.09.05.24; author alan; state Exp; branches; next 1.171; 1.171 date 2002.02.21.09.04.26; author alan; state Exp; branches; next 1.170; 1.170 date 2002.02.21.09.04.12; author alan; state Exp; branches; next 1.169; 1.169 date 2002.02.21.09.03.27; author alan; state Exp; branches; next 1.168; 1.168 date 2002.02.21.09.02.26; author alan; state Exp; branches; next 1.167; 1.167 date 2002.02.21.08.59.26; author alan; state Exp; branches; next 1.166; 1.166 date 2002.02.21.08.57.28; author alan; state Exp; branches; next 1.165; 1.165 date 2002.02.21.08.57.06; author alan; state Exp; branches; next 1.164; 1.164 date 2002.02.21.08.53.50; author alan; state Exp; branches; next 1.163; 1.163 date 2002.02.21.08.53.20; author alan; state Exp; branches; next 1.162; 1.162 date 2002.02.21.08.52.32; author alan; state Exp; branches; next 1.161; 1.161 date 2002.02.21.08.49.45; author alan; state Exp; branches; next 1.160; 1.160 date 2002.02.21.08.49.06; author alan; state Exp; branches; next 1.159; 1.159 date 2002.02.21.08.47.44; author alan; state Exp; branches; next 1.158; 1.158 date 2002.02.21.08.46.37; author alan; state Exp; branches; next 1.157; 1.157 date 2002.02.21.08.46.31; author alan; state Exp; branches; next 1.156; 1.156 date 2002.02.21.08.45.36; author alan; state Exp; branches; next 1.155; 1.155 date 2002.02.21.08.45.35; author alan; state Exp; branches; next 1.154; 1.154 date 2002.02.21.08.44.52; author alan; state Exp; branches; next 1.153; 1.153 date 2002.02.21.08.44.25; author alan; state Exp; branches; next 1.152; 1.152 date 2002.02.21.08.43.32; author alan; state Exp; branches; next 1.151; 1.151 date 2002.02.21.08.43.10; author alan; state Exp; branches; next 1.150; 1.150 date 2002.02.21.08.39.48; author alan; state Exp; branches; next 1.149; 1.149 date 2002.02.21.08.39.00; author alan; state Exp; branches; next 1.148; 1.148 date 2002.02.21.08.37.37; author alan; state Exp; branches; next 1.147; 1.147 date 2002.02.21.08.36.27; author alan; state Exp; branches; next 1.146; 1.146 date 2002.02.21.08.34.54; author alan; state Exp; branches; next 1.145; 1.145 date 2002.02.21.08.34.51; author alan; state Exp; branches; next 1.144; 1.144 date 2002.02.21.08.33.31; author alan; state Exp; branches; next 1.143; 1.143 date 2002.02.21.08.33.07; author alan; state Exp; branches; next 1.142; 1.142 date 2002.02.21.08.32.38; author alan; state Exp; branches; next 1.141; 1.141 date 2002.02.21.08.32.32; author alan; state Exp; branches; next 1.140; 1.140 date 2002.02.21.08.32.01; author alan; state Exp; branches; next 1.139; 1.139 date 2002.02.21.08.31.30; author alan; state Exp; branches; next 1.138; 1.138 date 2002.02.21.08.31.10; author alan; state Exp; branches; next 1.137; 1.137 date 2002.02.21.08.30.20; author alan; state Exp; branches; next 1.136; 1.136 date 2002.02.21.08.30.18; author alan; state Exp; branches; next 1.135; 1.135 date 2002.02.21.08.29.51; author alan; state Exp; branches; next 1.134; 1.134 date 2002.02.21.08.29.39; author alan; state Exp; branches; next 1.133; 1.133 date 2002.02.21.08.28.29; author alan; state Exp; branches; next 1.132; 1.132 date 2002.02.21.08.28.10; author alan; state Exp; branches; next 1.131; 1.131 date 2002.02.21.08.27.54; author alan; state Exp; branches; next 1.130; 1.130 date 2002.02.21.08.27.41; author alan; state Exp; branches; next 1.129; 1.129 date 2002.02.21.08.27.37; author alan; state Exp; branches; next 1.128; 1.128 date 2002.02.21.08.26.32; author alan; state Exp; branches; next 1.127; 1.127 date 2002.02.21.08.25.18; author alan; state Exp; branches; next 1.126; 1.126 date 2002.02.21.08.24.18; author alan; state Exp; branches; next 1.125; 1.125 date 2002.02.21.07.09.57; author alan; state Exp; branches; next 1.124; 1.124 date 2002.02.21.07.09.39; author alan; state Exp; branches; next 1.123; 1.123 date 2002.02.21.07.08.51; author alan; state Exp; branches; next 1.122; 1.122 date 2002.02.21.07.08.12; author alan; state Exp; branches; next 1.121; 1.121 date 2002.02.21.07.07.42; author alan; state Exp; branches; next 1.120; 1.120 date 2002.02.21.07.05.15; author alan; state Exp; branches; next 1.119; 1.119 date 2002.02.21.07.05.14; author alan; state Exp; branches; next 1.118; 1.118 date 2002.02.06.04.46.32; author alan; state Exp; branches; next 1.117; 1.117 date 2002.02.05.10.56.36; author alan; state Exp; branches; next 1.116; 1.116 date 2002.02.05.10.56.33; author alan; state Exp; branches; next 1.115; 1.115 date 2002.02.05.10.50.05; author alan; state Exp; branches; next 1.114; 1.114 date 2002.02.05.10.50.03; author alan; state Exp; branches; next 1.113; 1.113 date 2002.02.05.10.49.45; author alan; state Exp; branches; next 1.112; 1.112 date 2002.02.05.10.49.35; author alan; state Exp; branches; next 1.111; 1.111 date 2002.02.05.10.42.30; author alan; state Exp; branches; next 1.110; 1.110 date 2002.02.05.10.42.20; author alan; state Exp; branches; next 1.109; 1.109 date 2002.02.05.10.41.16; author alan; state Exp; branches; next 1.108; 1.108 date 2002.02.05.10.36.09; author alan; state Exp; branches; next 1.107; 1.107 date 2002.02.05.10.35.36; author alan; state Exp; branches; next 1.106; 1.106 date 2002.02.05.10.35.26; author alan; state Exp; branches; next 1.105; 1.105 date 2002.02.05.10.35.22; author alan; state Exp; branches; next 1.104; 1.104 date 2002.02.05.10.31.01; author alan; state Exp; branches; next 1.103; 1.103 date 2002.02.05.10.31.00; author alan; state Exp; branches; next 1.102; 1.102 date 2002.02.05.10.27.33; author alan; state Exp; branches; next 1.101; 1.101 date 2002.02.05.10.27.31; author alan; state Exp; branches; next 1.100; 1.100 date 2002.02.05.10.25.29; author alan; state Exp; branches; next 1.99; 1.99 date 2002.02.05.10.24.26; author alan; state Exp; branches; next 1.98; 1.98 date 2002.02.05.10.22.19; author alan; state Exp; branches; next 1.97; 1.97 date 2002.02.05.05.32.54; author alan; state Exp; branches; next 1.96; 1.96 date 2002.02.05.05.31.44; author alan; state Exp; branches; next 1.95; 1.95 date 2002.02.05.05.31.42; author alan; state Exp; branches; next 1.94; 1.94 date 2002.02.05.05.31.22; author alan; state Exp; branches; next 1.93; 1.93 date 2002.02.05.05.30.45; author alan; state Exp; branches; next 1.92; 1.92 date 2002.02.05.05.30.33; author alan; state Exp; branches; next 1.91; 1.91 date 2002.02.05.05.29.16; author alan; state Exp; branches; next 1.90; 1.90 date 2002.02.05.05.28.59; author alan; state Exp; branches; next 1.89; 1.89 date 2002.02.05.05.27.37; author alan; state Exp; branches; next 1.88; 1.88 date 2002.02.05.05.27.05; author alan; state Exp; branches; next 1.87; 1.87 date 2002.02.05.05.23.32; author alan; state Exp; branches; next 1.86; 1.86 date 2002.02.05.05.22.54; author alan; state Exp; branches; next 1.85; 1.85 date 2002.02.05.05.22.50; author alan; state Exp; branches; next 1.84; 1.84 date 2002.02.05.05.22.27; author alan; state Exp; branches; next 1.83; 1.83 date 2002.02.05.05.22.13; author alan; state Exp; branches; next 1.82; 1.82 date 2002.02.05.05.08.03; author alan; state Exp; branches; next 1.81; 1.81 date 2002.02.05.05.05.25; author alan; state Exp; branches; next 1.80; 1.80 date 2002.02.05.05.05.08; author alan; state Exp; branches; next 1.79; 1.79 date 2002.02.05.05.05.07; author alan; state Exp; branches; next 1.78; 1.78 date 2002.02.05.05.03.35; author alan; state Exp; branches; next 1.77; 1.77 date 2002.02.05.05.02.42; author alan; state Exp; branches; next 1.76; 1.76 date 2002.02.05.05.02.23; author alan; state Exp; branches; next 1.75; 1.75 date 2002.02.05.05.01.32; author alan; state Exp; branches; next 1.74; 1.74 date 2002.02.05.05.00.31; author alan; state Exp; branches; next 1.73; 1.73 date 2002.02.05.04.59.37; author alan; state Exp; branches; next 1.72; 1.72 date 2002.02.05.04.59.18; author alan; state Exp; branches; next 1.71; 1.71 date 2002.02.05.04.58.58; author alan; state Exp; branches; next 1.70; 1.70 date 2002.02.05.04.58.21; author alan; state Exp; branches; next 1.69; 1.69 date 2002.02.05.04.58.06; author alan; state Exp; branches; next 1.68; 1.68 date 2002.02.05.04.57.46; author alan; state Exp; branches; next 1.67; 1.67 date 2002.02.05.04.56.23; author alan; state Exp; branches; next 1.66; 1.66 date 2002.02.05.04.56.00; author alan; state Exp; branches; next 1.65; 1.65 date 2002.02.05.04.55.32; author alan; state Exp; branches; next 1.64; 1.64 date 2002.02.05.04.54.41; author alan; state Exp; branches; next 1.63; 1.63 date 2002.02.05.04.53.25; author alan; state Exp; branches; next 1.62; 1.62 date 2002.02.05.04.53.15; author alan; state Exp; branches; next 1.61; 1.61 date 2002.02.05.04.52.49; author alan; state Exp; branches; next 1.60; 1.60 date 2002.02.05.04.51.07; author alan; state Exp; branches; next 1.59; 1.59 date 2002.02.05.04.50.10; author alan; state Exp; branches; next 1.58; 1.58 date 2002.02.05.04.50.00; author alan; state Exp; branches; next 1.57; 1.57 date 2002.02.05.04.49.50; author alan; state Exp; branches; next 1.56; 1.56 date 2002.02.05.04.47.11; author alan; state Exp; branches; next 1.55; 1.55 date 2002.02.05.04.46.35; author alan; state Exp; branches; next 1.54; 1.54 date 2002.02.05.04.46.10; author alan; state Exp; branches; next 1.53; 1.53 date 2002.02.05.04.45.35; author alan; state Exp; branches; next 1.52; 1.52 date 2002.02.05.04.44.01; author alan; state Exp; branches; next 1.51; 1.51 date 2002.02.05.04.43.48; author alan; state Exp; branches; next 1.50; 1.50 date 2002.02.05.04.43.02; author alan; state Exp; branches; next 1.49; 1.49 date 2002.02.05.04.42.41; author alan; state Exp; branches; next 1.48; 1.48 date 2002.02.05.04.41.05; author alan; state Exp; branches; next 1.47; 1.47 date 2002.02.05.04.40.46; author alan; state Exp; branches; next 1.46; 1.46 date 2002.02.05.04.40.40; author alan; state Exp; branches; next 1.45; 1.45 date 2002.02.05.04.39.32; author alan; state Exp; branches; next 1.44; 1.44 date 2002.02.05.04.39.04; author alan; state Exp; branches; next 1.43; 1.43 date 2002.02.05.04.33.20; author alan; state Exp; branches; next 1.42; 1.42 date 2002.02.05.04.32.23; author alan; state Exp; branches; next 1.41; 1.41 date 2002.02.05.02.58.52; author alan; state Exp; branches; next 1.40; 1.40 date 2002.02.05.02.57.44; author alan; state Exp; branches; next 1.39; 1.39 date 2002.02.05.02.57.18; author alan; state Exp; branches; next 1.38; 1.38 date 2002.02.05.02.56.22; author alan; state Exp; branches; next 1.37; 1.37 date 2002.02.05.02.39.02; author alan; state Exp; branches; next 1.36; 1.36 date 2002.02.05.02.39.00; author alan; state Exp; branches; next 1.35; 1.35 date 2002.02.05.02.33.35; author alan; state Exp; branches; next 1.34; 1.34 date 2002.02.05.02.31.39; author alan; state Exp; branches; next 1.33; 1.33 date 2002.02.05.02.14.23; author alan; state Exp; branches; next 1.32; 1.32 date 2002.02.05.02.14.18; author alan; state Exp; branches; next 1.31; 1.31 date 2002.02.05.02.14.11; author alan; state Exp; branches; next 1.30; 1.30 date 2002.02.05.02.08.31; author alan; state Exp; branches; next 1.29; 1.29 date 2002.02.05.02.08.30; author alan; state Exp; branches; next 1.28; 1.28 date 2002.02.05.02.08.28; author alan; state Exp; branches; next 1.27; 1.27 date 2002.02.05.02.08.10; author alan; state Exp; branches; next 1.26; 1.26 date 2002.02.05.02.08.01; author alan; state Exp; branches; next 1.25; 1.25 date 2002.02.05.02.07.40; author alan; state Exp; branches; next 1.24; 1.24 date 2002.02.05.02.06.59; author alan; state Exp; branches; next 1.23; 1.23 date 2002.02.05.02.06.45; author alan; state Exp; branches; next 1.22; 1.22 date 2002.02.05.02.05.56; author alan; state Exp; branches; next 1.21; 1.21 date 2002.02.05.02.03.50; author alan; state Exp; branches; next 1.20; 1.20 date 2002.02.05.02.02.36; author alan; state Exp; branches; next 1.19; 1.19 date 2002.02.05.02.02.20; author alan; state Exp; branches; next 1.18; 1.18 date 2002.02.05.02.02.02; author alan; state Exp; branches; next 1.17; 1.17 date 2002.02.05.02.00.52; author alan; state Exp; branches; next 1.16; 1.16 date 2002.02.05.01.59.56; author alan; state Exp; branches; next 1.15; 1.15 date 2002.02.05.01.59.36; author alan; state Exp; branches; next 1.14; 1.14 date 2002.02.05.01.57.41; author alan; state Exp; branches; next 1.13; 1.13 date 2002.02.05.01.57.20; author alan; state Exp; branches; next 1.12; 1.12 date 2002.02.05.01.50.02; author alan; state Exp; branches; next 1.11; 1.11 date 2002.02.05.01.45.21; author alan; state Exp; branches; next 1.10; 1.10 date 2002.02.05.01.44.55; author alan; state Exp; branches; next 1.9; 1.9 date 2002.02.05.01.43.12; author alan; state Exp; branches; next 1.8; 1.8 date 2002.01.02.08.49.54; author alan; state Exp; branches; next 1.7; 1.7 date 2002.01.02.08.49.49; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.21.08.32.32; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.13.03.59.32; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.13.03.59.10; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.09.07.47.27; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.09.07.38.00; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.08.06.25.27; author alan; state Exp; branches; next ; desc @Updated @ 1.283 log @Updated @ text @prefs = &new phpmole_prefs; $this->prefs->load(APPDIR . "config/Preferences"); $this->prefs->load_user_prefs(); $this->glade = &new GladeXML(APPDIR .'glade/phpide.glade'); $this->langs = &new phpide_languages(); $this->transports = &new phpide_transports(); $this->module_manager = &new phpide_modules(); /* standard dialogs */ $this->dialogs["ok"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/ok_dialog.glade"); $this->dialogs["ok_cancel"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/ok_cancel_dialog.glade"); $this->dialogs["yes_no"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/yes_no_dialog.glade"); $this->dialogs["password"] = &new phpmole_password_dialog(); $this->dialogs["new_file"] = &new phpmole_new_file_dialog(); $this->dialogs["config"] = &new phpmole_config_dialog(); $this->dialogs["about"] = &new phpmole_about_dialog(); // GLOBAL VARS $gx,$window,$nb,$bookmark_tree $this->window = $this->glade->get_widget("winMain"); //$this->window->connect('destroy', array(&$this,'quit')); $this->window->connect('delete-event', array(&$this,'quit')); $this->window->connect('configure_event', array(&$this,'callback_configure_event')); // glade bug hack $tb = $this->glade->get_widget("maintoolbar"); $tb->set_button_relief(GTK_RELIEF_NONE); // Window Resizing $w=600;$h=450; $x=0;$y=0; if ($this->prefs->get("geometry/save_win_size")) { $w = $this->prefs->get("geometry/width"); $h = $this->prefs->get("geometry/height"); $x = $this->prefs->get("geometry/position_x"); $y = $this->prefs->get("geometry/position_y"); } $this->window->set_default_size($w,$h); if ($x & $y) $this->window->set_uposition($x,$y); $this->window->show(); // $this->window->connect("configure_event", array(&$this,"window_resized")); // hide show the buttons etc. $this->document_items_sensitive = 1; $this->disable_document_items(); // Which layout if (!$this->prefs->get("geometry/layout")) $this->prefs->set("geometry/layout","1"); $this->window->set_title( APPNAME ); $this->layout_holder = $this->glade->get_widget("layout_holder"); // Load the interface if (file_exists(APPDIR ."glade/interface_". $this->prefs->get("geometry/layout"). ".glade")) { $this->interface_glade = &new GladeXML(APPDIR ."glade/interface_". $this->prefs->get("geometry/layout"). ".glade"); } else { $this->interface_glade = &new GladeXML(APPDIR ."glade/interface_1.glade"); } $interface_window = $this->interface_glade->get_widget("window"); $this->interface = $this->interface_glade->get_widget("interface"); $interface_window->remove($this->interface); $this->layout_holder->add($this->interface); //$this->drag_window = &new GtkWindow(GTK_WINDOW_POPUP); $this->edit_pane = $this->interface_glade->get_widget("edit_pane"); $this->edit_pane_parent = $this->interface_glade->get_widget("edit_pane_parent"); $this->editor_frame_event = $this->interface_glade->get_widget("editor_frame_event"); $this->module_frame = $this->interface_glade->get_widget("module_frame"); $this->module_frame_event = $this->interface_glade->get_widget("module_frame_event"); $this->module_frame_event->connect("button_press_event", array($this,"free_module_frame")); $this->module_frame_visable = 1; if ($this->prefs->get("geometry/hide_module_frame")) { $this->hide_module_frame(); } else { $this->show_module_frame(); } if ($this->prefs->get("geometry/hide_tree_frame")) { $this->hide_tree_frame(); } else { $this->show_tree_frame(); } $this->module_manager->load(); $this->bind_actions(); //gtk::timeout_add(15000, 'dummy_timer'); Gtk::main(); } function bind_actions() { $menu_handlers = array( "on_winMain_draw", "on_new_bookmark_activate", // new Project "on_new_activate", "on_open_file_activate", "on_open_previous1_activate", "on_save_activate", "on_save_as_activate", "on_reload_activate", "on_close_activate", "on_close_all_activate", "on_undo", "on_redo", "on_cut", "on_copy", "on_paste", "on_select_all", "on_find_activate", "on_find_again_activate", "on_replace_activate", "on_configuration_activate", "on_scintilla_config", "on_language_settings_activate", "on_show_white_space_activate", "on_show_line_breaks_activate", "on_complete_word_activate", "on_help_php_gtk_activate", "on_help_php_activate", "on_help_gtk_activate", "on_phpmole_home_page_activate", "on_report_or_view_bugs_activate", "on_Run_clicked" ); foreach($menu_handlers as $menu_handler) $this->glade->signal_connect_object( $menu_handler , array(&$this->module_manager,"menu_emit"),$menu_handler); /* locally handled */ foreach( array( "configuration", "view_module_frame", "view_tree_frame", "about", "goto_line_key_press", "find_box_key_press", "open_file", "open_newfile", "save_all", ) as $menu_handler) $this->glade->signal_connect( "on_".$menu_handler."_activate", array(&$this,$menu_handler."_activate")); $this->glade->signal_connect_object( "on_exit_activate", array(&$this,"quit")); } function configuration_activate() { $this->dialogs["config"]->show(); } function load_document($bookmarkid, $URL) { // ask the document manager to load the file //echo "\nCALLING LOAD $bookmarkid, $URL\n"; $this->transports->load_document($bookmarkid, $URL); $this->langs->load_document($bookmarkid, $URL); $this->window->set_title( APPNAME . " - " . $URL); //$this->langs->parse($bookmarkid, $URL); // then loop through the modules //echo "CHECKING FOR DATA?\n"; if (@@$this->transports->documents[$URL]) $this->enable_document_items(); $this->module_manager->load_document($bookmarkid, $URL); } function save_document() { // ask the document manager to load the file // then loop through the modules //echo "ATTEMPTING TO SAVE"; $URLar = $this->module_manager->broadcast_get("get_active_document"); if (!$URLar) return; list($bookmarkid, $URL) = $URLar; $this->module_manager->broadcast("save_document",array($bookmarkid, $URL)); $this->transports->save_document($bookmarkid, $URL); $this->langs->parse($bookmarkid, $URL); $this->module_manager->broadcast("post_save_document",array($bookmarkid, $URL)); } function save_all_activate() { $ar = $this->module_manager->broadcast_get("get_all_documents"); for ($i=0;$i< count($ar); $i++) { list($bookmarkid,$URL) = $ar[$i]; echo "SAVING $bookmarkid,$URL\n"; $this->module_manager->broadcast("save_document",array($bookmarkid, $URL)); $this->transports->save_document($bookmarkid, $URL); $this->langs->parse($bookmarkid, $URL); $this->module_manager->broadcast("post_save_document",array($bookmarkid, $URL)); } } function dummy_timer () { // echo "AutoSave!??\n"; $dat = getrusage(); foreach ($dat as $k => $v) //echo "$k => $v \n"; //echo "\n\n"; return true; } /* function menu_emit ($obj,$var) { // forwarder for generated menu items. $this->module_manager->menu_emit($var); switch ($var) { case "on_exit_activate": gtk::main_quit(); exit; break; case "on_Run_clicked": $fh = popen("phpmole&","w"); pclose($fh); return; } } */ /* Breaking and freeing of the module area - Note : this is not really how this should be done. the modular design is supposed to mean that you should not show/hide elements, but rather flip to another interface design- - this involves removing all the interface elements from the interface and reloading them into the new interface. */ function free_module_frame($widget,$event) { return; // not ready yet! $this->break_apart_edit_page(); $this->edit_pane_parent->add($this->editor_frame_event); $this->editor_frame_event->show(); $this->module_window = &new GtkWindow(GTK_WINDOW_DIALOG); $this->module_window->add($this->module_frame); $this->module_window->show(); $this->module_frame->show(); //$this->module_frame_event->add($this->module_frame); } function break_apart_edit_pane() { $this->editor_frame_event->hide(); $this->edit_pane->hide(); $this->edit_pane->remove($this->editor_frame_event); $this->edit_pane_parent->remove($this->edit_pane); $this->module_frame->hide(); $this->module_frame_event->hide(); $this->module_frame_event->remove($this->module_frame); } function rebuild_edit_pane() { $this->module_frame_event->add($this->module_frame); $this->module_frame_event->show(); $this->module_frame->show(); $this->edit_pane_parent->add($this->edit_pane); $this->edit_pane->add($this->editor_frame_event); $this->edit_pane->show(); $this->editor_frame_event->show(); } function hide_module_frame() { $this->toggle_active("btn_view_module_frame", FALSE); $this->toggle_active("menu_view_module_frame", FALSE); $this->prefs->set("geometry/hide_module_frame", 1); if (!$this->module_frame_visable) return; $this->module_frame_visable = 0; $this->break_apart_edit_pane(); $this->edit_pane_parent->add($this->editor_frame_event); $this->editor_frame_event->show(); //$this->module_frame->hide(); //$this->edit_pane->set_position( $this->window->allocation->height ); } function show_module_frame() { $this->toggle_active("btn_view_module_frame", TRUE); $this->toggle_active("menu_view_module_frame", TRUE); $this->prefs->set("geometry/hide_module_frame", 0); if ($this->module_frame_visable) return; $this->module_frame_visable = 1; $this->editor_frame_event->hide(); $this->edit_pane_parent->remove($this->editor_frame_event); $this->rebuild_edit_pane(); //echo "SHOW SETTING TO TRUE"; //$this->module_frame->show(); //$this->edit_pane->set_position( $this->window->allocation->height / 2 ); } function view_module_frame_activate($widget) { if (@@$this->in_module_showhide) return; $this->in_module_showhide=1; $pref = (int) $this->prefs->get("geometry/hide_module_frame"); if (!$pref) { $this->hide_module_frame(); } else { $this->show_module_frame(); } $this->in_module_showhide=0; } function hide_tree_frame() { $this->toggle_active("btn_view_tree_frame",TRUE); $this->toggle_active("menu_view_tree_frame", TRUE); $w = $this->interface_glade->get_widget("interface"); $w->set_position( 200 ); } function show_tree_frame() { $this->toggle_active("btn_view_tree_frame", FALSE); $this->toggle_active("menu_view_tree_frame", FALSE); $w = $this->interface_glade->get_widget("interface"); $w->set_position( 0 ); } function toggle_active($widgetname, $value) { $w = $this->glade->get_widget($widgetname); if (!$w) return; //echo "SET: $widgetname $value"; $w->set_active($value); } function get_active($widgetname) { $w = $this->glade->get_widget($widgetname); if (!$w) return; //echo "SET: $widgetname $value"; return $w->active; } function view_tree_frame_activate($widget) { if (@@$this->in_tree_showhide) return; $this->in_tree_showhide =1; $pref = (int) $this->prefs->get("geometry/hide_tree_frame"); $this->prefs->set("geometry/hide_tree_frame", !$pref); if (!$pref) { $this->hide_tree_frame(); } else { $this->show_tree_frame(); } $this->in_tree_showhide =0; } var $document_items = array( "save_as", "save_all", "close_all", "menu_close", "menu_undo", "menu_redo", "menu_cut", "menu_copy", "menu_paste", "menu_select_all", "menu_find", "menu_find_again", "menu_replace", "menu_find_again", "insert_gpl_headers_php", "comment_code", "uncomment_code", "autocomplete", "show_white_space", "show_line_breaks", "show_folding", "change_language", "btnSave", "btnSaveAll", "btnClose", "btnReload", "btnUndo", "btnRedo", "btnRun", "btnRedo", "find_box", "btnSearch", "goto_line" //"btnRun", ); function disable_document_items() { if (!$this->document_items_sensitive) return; $this->document_items_sensitive = 0; $this->document_set_sensitive(FALSE); } function enable_document_items() { if ($this->document_items_sensitive) return; $this->document_items_sensitive = 1; $this->document_set_sensitive(TRUE); } function document_set_sensitive($value) { foreach($this->document_items as $widgetname) { $w = $this->glade->get_widget($widgetname); $w->set_sensitive($value); } } function about_activate() { $this->dialogs["about"]->show(); } function goto_line_key_press_activate($widget,$event) { if($event->keyval==GDK_KEY_Return) $this->module_manager->broadcast("goto_line",$widget->get_text()); } function find_box_key_press_activate($widget,$event) { if($event->keyval==GDK_KEY_Return) $this->module_manager->broadcast("search_ok_pressed",$widget->get_text()); } function open_newfile_activate($widget) { $this->open_file_activate(NULL, "Create A New File"); } function open_file_activate($widget,$title = "Open File") { $dialog = &new GtkFileSelection($title); if ($path = getenv("HOME")) $dialog->set_filename($path."/"); $ok = $dialog->ok_button; $ok->connect("pressed", array(&$this, "open_file_ok_pressed"), $dialog); $cancel = $dialog->cancel_button; $cancel->connect_object("pressed", array(&$dialog, "destroy")); $dialog->show(); } function open_file_ok_pressed($widget,&$window) { $f = $window->get_filename(); $window->destroy(); if (!$f || (substr($f, -1) == "/")) { $this->dialogs["ok"]->show("Invalid file specified: $f"); return; } $url = "file:$f"; $bm = $this->module_manager->broadcast("get_bookmark_from_url", $url); $this->load_document($bm, $url); } function quit() { if ( $this->prefs->get( "geometry/save_win_size" ) ) { $this->prefs->set( "geometry/width", $this->window->allocation->width ); $this->prefs->set( "geometry/height", $this->window->allocation->height ); $this->prefs->set( "geometry/position_x",$this->window->window->x); $this->prefs->set( "geometry/position_y", $this->window->window->y ); } $this->prefs->save_user_prefs(); gtk::main_quit(); exit; } function callback_configure_event($window) { $w = $window->window; list($pixmap,$mask) = Gdk::pixmap_create_from_xpm($w, NULL, dirname(__FILE__).'/phpmole.xpm'); $w->set_icon($w, $pixmap,$mask); } } ?> @ 1.282 log @Updated @ text @d583 1 a583 1 function callback_realize($window) { @ 1.281 log @Updated @ text @d90 1 a90 1 $this->window->connect('configure_event', array(&$this,'callback_realize')); @ 1.280 log @Updated @ text @d586 1 a586 1 Gdk::pixmap_create_from_xpm($, @ 1.279 log @Updated @ text @d584 1 d586 1 a586 1 Gdk::pixmap_create_from_xpm($window->window, a587 1 $w = $window->window; @ 1.278 log @Updated @ text @d585 1 a585 1 Gdk::pixmap_create_from_xpm($this->window->window, d587 1 a587 1 $w = $this->window->window; @ 1.277 log @Updated @ text @d587 2 a588 2 gdkwindow::set_icon($this->window->window, $pixmap,$mask); @ 1.276 log @Updated @ text @d90 1 a90 1 $this->window->connect('realize', array(&$this,'callback_realize')); @ 1.275 log @Updated @ text @d588 1 a588 1 gdkwindow::set_icon($this->window, $pixmap,$mask); @ 1.274 log @Updated @ text @d588 1 a588 1 gdkwindow::set_icon($window, $pixmap,$mask); @ 1.273 log @Updated @ text @d587 2 a588 2 $this->window->set_icon($window, $pixmap,$mask); @ 1.272 log @Updated @ text @d585 1 a585 1 Gdk::pixmap_create_from_xpm($window->window, @ 1.271 log @Updated @ text @d588 1 a588 1 $window->set_icon($window, $pixmap,$mask); @ 1.270 log @Updated @ text @d584 1 a584 1 list($pixmap,$mask' = @ 1.269 log @Updated @ text @d588 1 a588 1 $window->set_icon($window, $gdkpixmap, $gdkbitmap); @ 1.268 log @Updated @ text @d588 1 a588 1 @ 1.267 log @Updated @ text @d584 4 a587 2 @ 1.266 log @Updated @ text @d583 5 @ 1.265 log @Updated @ text @d90 1 @ 1.264 log @Updated @ text @d239 1 a239 1 "close_all" @ 1.263 log @Updated @ text @d294 1 a294 1 @ 1.262 log @Updated @ text @d239 1 @ 1.261 log @Updated @ text @d279 3 d286 1 @ 1.260 log @Updated @ text @d279 1 a279 1 function save_all_documents() { @ 1.259 log @Updated @ text @d189 1 a189 1 "on_save_all_activate", d237 2 a238 1 "open_newfile" @ 1.258 log @Updated @ text @d287 1 a287 1 @ 1.257 log @Updated @ text @d278 14 @ 1.256 log @Updated @ text @d236 1 a236 1 "open_file" @ 1.255 log @Updated @ text @d519 3 @ 1.254 log @Updated @ text @d519 2 a520 2 function open_file_activate() { $dialog = &new GtkFileSelection("Open File"); @ 1.253 log @Updated @ text @d237 1 @ 1.252 log @Updated @ text @d540 3 a542 1 } @ 1.251 log @Updated @ text @d537 3 a539 2 $bm = $this->module_manager->broadcast("get_bookmark @ 1.250 log @Updated @ text @d537 1 a537 1 @ 1.249 log @Updated @ text @d536 2 a537 1 } @ 1.248 log @Updated @ text @d533 1 a533 1 if (!$f || (substr($f,0,-1) == "/")) { @ 1.247 log @Updated @ text @d533 1 a533 1 if (!$f || substr($f,0,-1) == "/")) @ 1.246 log @Updated @ text @d535 2 a536 1 @ 1.245 log @Updated @ text @a531 3 echo $f; if (!$f || substr($f,0,-1) == "/")) { $this->dialogs[" d533 4 @ 1.244 log @Updated @ text @d533 2 @ 1.243 log @Updated @ text @d521 1 a521 1 $dialog->set_filename($path); @ 1.242 log @Updated @ text @d525 1 a525 1 $cancel->connect("pressed", array(&$dialog, "destroy")); @ 1.241 log @Updated @ text @d525 1 a525 1 $cancel->connect("pressed", array(&$widget, "destroy")); @ 1.240 log @Updated @ text @d532 1 a532 1 call @ 1.239 log @Updated @ text @d523 1 a523 1 $ok->connect("pressed", array(&$this, "open_file_ok_pressed"), $widget); d532 1 a532 1 echo $f; @ 1.238 log @Updated @ text @d530 1 a530 1 function open_file_ok_pressed($widget,$window) { @ 1.237 log @Updated @ text @d523 1 a523 1 $ok->connect("pressed", array(&$this, "open_file_ok_pressed"), &$widget); @ 1.236 log @Updated @ text @d532 1 a532 1 echo $f @ 1.235 log @Updated @ text @d530 5 a534 1 @ 1.234 log @Updated @ text @d522 4 d527 1 @ 1.233 log @Updated @ text @d520 2 @ 1.232 log @Updated @ text @d519 1 a519 1 $dialog = &new GtkFileSelection(); @ 1.231 log @Updated @ text @d518 3 a520 2 function open_file() { @ 1.230 log @Updated @ text @d519 1 a519 1 @ 1.229 log @Updated @ text @d518 1 d520 2 @ 1.228 log @Updated @ text @d235 2 a236 1 "find_box_key_press" @ 1.227 log @Updated @ text @d529 1 a529 1 } @ 1.226 log @Updated @ text @a515 2 @ 1.225 log @Updated @ text @d515 1 a515 1 $this->module_manager->broadcast("search_ok_pressed(",$widget->get_text()); @ 1.224 log @Updated @ text @d515 1 a515 1 $this->module_manager->broadcast("search",$widget->get_text()); @ 1.223 log @Updated @ text @d511 1 a511 1 echo "GOT RETURN"; d515 2 a516 1 echo "GOT RETURN"; @ 1.222 log @Updated @ text @d510 1 a510 1 if($event->keyval==GDK_KEY_RETURN) d514 1 a514 1 if($event->keyval==GDK_KEY_RETURN) @ 1.221 log @Updated @ text @d510 2 a511 1 d514 3 @ 1.220 log @Updated @ text @d510 1 @ 1.219 log @Updated @ text @d511 1 a511 1 function goto_line_key_press_activate($widget,$event) { @ 1.218 log @Updated @ text @d511 2 a512 1 @ 1.217 log @Updated @ text @d235 1 a235 1 d507 6 a512 1 } @ 1.216 log @Updated @ text @d233 3 a235 1 "about" a242 1 d268 1 a268 1 $URLar = $this->module_manager->get_active_document(); d359 2 d375 1 a375 1 $this->prefs->set("geometry/hide_module_frame", 0); d393 1 a393 1 d479 1 d531 1 a531 1 ?>@ 1.215 log @Updated @ text @d428 1 a428 1 return $w->get_active($value); @ 1.214 log @Updated @ text @d208 1 a208 3 "on_complete_word_activate", @ 1.213 log @Updated @ text @d210 1 a210 2 "on_show_white_space_activate", "on_show_line_breaks_activate", @ 1.212 log @Updated @ text @d210 2 a211 2 "show_white_space", "show_line_breaks", @ 1.211 log @Updated @ text @d427 1 a427 1 function get_active($widgetname, $value) { @ 1.210 log @Updated @ text @d430 2 a431 2 echo "SET: $widgetname $value"; $w->set_active($value); @ 1.209 log @Updated @ text @d424 6 @ 1.208 log @Updated @ text @d210 2 a211 1 @ 1.207 log @Updated @ text @a205 1 "on_change_language_activate", @ 1.206 log @Updated @ text @d206 3 a208 3 "on_change_language1_activate", "on_show_white_space1_activate", "on_show_line_breaks1_activate", @ 1.205 log @Updated @ text @d213 3 a215 3 "on_phpmole_help_php_gtk_activate", "on_phpmole_help_php_activate", "on_phpmole_help_gtk_activate", @ 1.204 log @Updated @ text @d213 3 a215 1 "on_phpmole_home_page_activate", d218 2 @ 1.203 log @Updated @ text @d210 1 a210 2 "on_item1_activate", "on_about_activate", @ 1.202 log @Updated @ text @d212 2 @ 1.201 log @Updated @ text @d211 1 a211 1 "on_about2_activate", @ 1.200 log @Updated @ text @d388 1 a388 1 $this->prefs->set("geometry/hide_module_frame", !$pref); @ 1.199 log @Updated @ text @a387 4 //if ($btn === $pref) return; @ 1.198 log @Updated @ text @d370 1 @ 1.197 log @Updated @ text @d169 1 a169 1 $this->bind_action(); @ 1.196 log @Updated @ text @d169 1 a169 1 @ 1.195 log @Updated @ text @d498 1 @ 1.194 log @Updated @ text @d496 2 @ 1.193 log @Updated @ text @d225 1 a225 1 @ 1.192 log @Updated @ text @d230 2 a231 1 "view_tree_frame" a235 1 @ 1.191 log @Updated @ text @d77 1 a77 1 @ 1.190 log @Updated @ text @d35 1 a35 1 @ 1.189 log @Updated @ text @d190 1 @ 1.188 log @Updated @ text @a184 1 @ 1.187 log @Updated @ text @d180 3 d185 1 a185 1 "on_new_bookmark_activate", d187 1 d191 1 @ 1.186 log @Updated @ text @d186 1 a186 1 "on_save_all1_activate", @ 1.185 log @Updated @ text @d185 1 a185 1 "on_save_as2_activate", @ 1.184 log @Updated @ text @d181 1 a181 1 "on_open_activate", @ 1.183 log @Updated @ text @d180 1 a180 1 "on_new1_activate", @ 1.182 log @Updated @ text @d179 1 a179 1 // "on_winMain_draw", @ 1.181 log @Updated @ text @d170 8 a177 1 d179 1 a179 1 "on_winMain_draw", d217 2 a218 1 $menu_handler , array(&$this->module_manager,"menu_emit"),$menu_handler); a234 3 //gtk::timeout_add(15000, 'dummy_timer'); Gtk::main(); a235 10 function bind_actions() { } @ 1.180 log @Updated @ text @d231 9 @ 1.179 log @Updated @ text @d246 3 a248 1 if ($this->transports->documents[$URL]->data) echo "GOT DATA\n"; @ 1.178 log @Updated @ text @d452 1 @ 1.177 log @Updated @ text @d435 1 @ 1.176 log @Updated @ text @d468 1 a468 5 foreach($this->document_items as $widgetname) { $w = $this->glade->get_widget($widgetname); if (!$w) echo "error NO $widgetname\n"; $w->set_sensitive(FALSE); } d474 4 d480 1 a480 1 $w->set_sensitive(TRUE); a481 2 @ 1.175 log @Updated @ text @d470 1 a470 1 if (!$s) echo "error NO $widgetname\n"; @ 1.174 log @Updated @ text @d470 1 @ 1.173 log @Updated @ text @d456 7 a462 2 @ 1.172 log @Updated @ text @a431 2 @ 1.171 log @Updated @ text @d453 7 a459 1 "change_language" @ 1.170 log @Updated @ text @d116 1 a116 1 @ 1.169 log @Updated @ text @d117 3 @ 1.168 log @Updated @ text @d454 2 d463 6 @ 1.167 log @Updated @ text @d436 1 a439 1 d441 10 a450 2 d454 4 a457 2 @ 1.166 log @Updated @ text @d431 8 d440 1 @ 1.165 log @Updated @ text @d428 8 d437 1 a437 1 @ 1.164 log @Updated @ text @d428 4 d433 4 a436 1 @ 1.163 log @Updated @ text @d393 1 a393 1 $w->set_position( 300 ); @ 1.162 log @Updated @ text @d396 1 a396 3 } @ 1.161 log @Updated @ text @d389 1 a389 1 $this->toggle_active("btn_view_tree_frame",TRUE); d391 7 d402 3 a404 1 $this->toggle_active("menu_view_tree_frame", FALSE); @ 1.160 log @Updated @ text @d148 1 a148 4 $this->btn_view_module_frame = $this->glade->get_widget("btn_view_module_frame"); $this->menu_view_module_frame = $this->glade->get_widget("menu_view_module_frame"); @ 1.159 log @Updated @ text @d343 2 a344 2 $this->toggle_active("btn_view_module_frame", TRUE); $this->toggle_active("menu_view_module_frame", TRUE); d357 2 a358 2 $this->toggle_active("btn_view_module_frame", FALSE); $this->toggle_active("menu_view_module_frame", FALSE); @ 1.158 log @Updated @ text @d392 2 a393 1 @ 1.157 log @Updated @ text @d351 1 a351 3 $this->btn_view_module_frame->set_active( TRUE ); $this->menu_view_module_frame->set_active( FALSE ); @ 1.156 log @Updated @ text @d156 2 a157 1 $this->module_frame_visable = 1; d346 1 d361 2 a362 1 @ 1.155 log @Updated @ text @d158 1 @ 1.154 log @Updated @ text @d151 2 d155 3 a157 4 $this->btn_view_module_frame->set_active( FALSE ); $this->menu_view_module_frame->set_active( FALSE ); } @ 1.153 log @Updated @ text @d340 3 a342 1 d362 1 a362 2 $this->btn_view_module_frame->set_active( FALSE ); $this->menu_view_module_frame->set_active( TRUE ); @ 1.152 log @Updated @ text @d353 3 a355 1 d388 1 a388 2 $this->toggle_active("btn_view_tree_frame", TRUE); $this->toggle_active("menu_view_tree_frame", TRUE); @ 1.151 log @Updated @ text @d353 1 @ 1.150 log @Updated @ text @d356 1 a356 1 echo "SHOW SETTING TO TRUE"; @ 1.149 log @Updated @ text @d385 1 a385 1 $this->toggle_active("btn_view_tree_frame", FALSE); d390 1 a390 1 $this->toggle_active("btn_view_tree_frame", TRUE); @ 1.148 log @Updated @ text @d406 2 d413 1 @ 1.147 log @Updated @ text @d159 3 a161 3 $this->btn_view_module_frame->set_active( FALSE ); $this->menu_view_module_frame->set_active( FALSE ); } @ 1.146 log @Updated @ text @d402 1 a402 1 function view_tree_frame($widget) { @ 1.145 log @Updated @ text @d397 1 a397 1 echo "SET: $widgetname $value); @ 1.144 log @Updated @ text @d397 1 @ 1.143 log @Updated @ text @d213 1 a213 1 "view_module_frame" @ 1.142 log @Updated @ text @d390 2 a391 2 $this->toggle_active("btn_tree_frame", TRUE); $this->toggle_active("menu_tree_frame", FALSE); @ 1.141 log @Updated @ text @a397 1 @ 1.140 log @Updated @ text @a384 1 a386 1 @ 1.139 log @Updated @ text @d386 2 a387 2 $this->toggle_active("btn_tree_frame", FALSE); $this->toggle_active("menu_tree_frame", TRUE); @ 1.138 log @Updated @ text @d398 1 @ 1.137 log @Updated @ text @d397 2 a398 1 @ 1.136 log @Updated @ text @d399 1 a399 1 @ 1.135 log @Updated @ text @a393 2 d396 2 @ 1.134 log @Updated @ text @d392 2 @ 1.133 log @Updated @ text @d385 3 a387 1 @ 1.132 log @Updated @ text @d384 1 a384 1 function d387 6 @ 1.131 log @Updated @ text @d384 1 a384 1 @ 1.130 log @Updated @ text @d383 9 @ 1.129 log @Updated @ text @a392 3 @ 1.128 log @Updated @ text @d384 11 a394 2 @ 1.127 log @Updated @ text @d382 6 @ 1.126 log @Updated @ text @d214 1 @ 1.125 log @Updated @ text @d157 5 a161 1 @ 1.124 log @Updated @ text @d91 1 a92 1 echo "error: " . serialize($tb); @ 1.123 log @Updated @ text @d91 1 a91 1 $tb = $this->glade->get_widget("main_toolbar"); @ 1.122 log @Updated @ text @d92 1 @ 1.121 log @Updated @ text @d92 1 a92 1 $tb->set_button_relief( @ 1.120 log @Updated @ text @d91 2 a92 1 $this->window = $this->glade->get_widget("main_toolbar"); @ 1.119 log @Updated @ text @d93 1 @ 1.118 log @Updated @ text @d1 30 a30 1 glade->signal_connect_object( "on_configuration_activate" , array(&$this,"configuration_activate")); d280 10 d292 2 a293 4 $this->editor_frame_event->hide(); $this->edit_pane->hide(); $this->edit_pane->remove($this->editor_frame_event); $this->edit_pane_parent->remove($this->edit_pane); d297 7 a303 1 d306 2 d309 4 d316 5 a320 3 $this->module_window = &new GtkWindow(GTK_WINDOW_DIALOG); $this->module_window->add($this->module_frame); $this->module_window->show(); d322 51 a372 1 //$this->module_frame_event->add($this->module_frame); d374 3 d400 1 a400 1 ?> @ 1.117 log @Updated @ text @d265 3 a267 2 $this->prefs->save_user_prefs(); } @ 1.116 log @Updated @ text @a132 1 @ 1.115 log @Updated @ text @d133 1 a133 1 "on_exit_activate", @ 1.114 log @Updated @ text @d76 1 a76 1 if ($x & $y) { @ 1.113 log @Updated @ text @d76 2 a77 1 @ 1.112 log @Updated @ text @a72 3 @ 1.111 log @Updated @ text @d65 3 a67 1 $x=600;$y=450; d69 7 a75 2 $x = $this->prefs->get("geometry/width"); $y = $this->prefs->get("geometry/height"); d78 5 a82 1 $this->window->set_default_size($x,$y); @ 1.110 log @Updated @ text @d252 1 a252 1 $this->prefs->set( "geometry/width", $this->window->allocation->width; ); @ 1.109 log @Updated @ text @d251 1 @ 1.108 log @Updated @ text @d59 4 a62 1 @ 1.107 log @Updated @ text @d155 4 @ 1.106 log @Updated @ text @d70 1 a70 1 $this->window->connect("configure_event", array(&$this,"window_resized")); @ 1.105 log @Updated @ text @d216 1 a216 6 function window_resized($widget,$event) { $this->window_width = $widget->allocation->width; $this->window_height = $widget->allocation->height; echo $widget->window->x,$widget->window->y; } @ 1.104 log @Updated @ text @d249 5 a253 6 $this->prefs->set( "geometry/width", $this->window_width ); $this->prefs->set( "geometry/height", $this->window_height ); $this->window->get_position( $position_x, $position_y ); $this->prefs->set( "geometry/position_x", $position_x ); $this->prefs->set( "geometry/position_y", $position_y ); d257 1 @ 1.103 log @Updated @ text @d220 1 a220 1 echo $widget->window->x,$widget->window->y @ 1.102 log @Updated @ text @d220 1 a220 1 echo serialize($widget->window); @ 1.101 log @Updated @ text @d219 1 a219 3 $this->window_width = $widget->allocation->width; $this->window_height = $widget->allocation->height; @ 1.100 log @Updated @ text @d219 4 a222 1 echo serialize($widget->allocation); @ 1.99 log @Updated @ text @d219 1 a219 1 d250 8 a257 4 } $this->window->get_position( $position_x, $position_y ); $this->prefs->set( "geometry/position_x", $position_x ); $this->prefs->set( "geometry/position_y", $position_y ); d260 1 a260 2 */ $this->prefs->save_user_prefs(); a261 2 gtk::main_quit(); } d263 1 a263 4 } @ 1.98 log @Updated @ text @d218 1 a218 1 $this->window_height = $widget->allocation->width; d245 18 a262 1 @ 1.97 log @Updated @ text @d217 3 a219 4 if (!$this->prefs->get("geometry/save_win_size")) return; $this->prefs->set("geometry/width",$widget->allocation->width); $this->prefs->set("geometry/height",$widget->allocation->height); $this->prefs->save_user_prefs(); d223 1 a223 1 @ 1.96 log @Updated @ text @d227 1 a227 1 @ 1.95 log @Updated @ text @d225 1 a225 1 $this->editor_frame_event->hide(); @ 1.94 log @Updated @ text @d225 1 a225 1 d227 1 @ 1.93 log @Updated @ text @d225 1 a225 1 $p = $this->edit_pane_parent; d227 2 a228 2 $p->remove($this->edit_pane); $p->add($this->editor_frame_event); @ 1.92 log @Updated @ text @d97 2 @ 1.91 log @Updated @ text @d223 1 a223 1 $p = $this->edit_pane->parent; a227 1 $this->module_frame->hide(); d229 3 @ 1.90 log @Updated @ text @d227 1 a227 1 @ 1.89 log @Updated @ text @d222 7 a228 1 @ 1.88 log @Updated @ text @d96 3 @ 1.87 log @Updated @ text @d219 3 a221 1 echo "DRAG START"; @ 1.86 log @Updated @ text @d221 1 @ 1.85 log @Updated @ text @d99 1 a99 1 */ @ 1.84 log @Updated @ text @a95 2 /* $this->drag_window = &new GtkPieMenu(); echo serialize($this->drag_window); d98 1 a98 1 $this->module_frame_event->connect("button_press_event", array($this,"drag_module_frame")); @ 1.83 log @Updated @ text @d230 1 a230 1 */ @ 1.82 log @Updated @ text @d220 1 a220 1 /* function drag_module_frame($widget,$event) { d224 3 a226 3 echo serialize($this->drag_window); $this->drag_window->append($this->module_frame); $this->drag_window->show(); d228 1 a228 5 echo serialize($event); echo serialize($widget->window); $this->drag_window->popup( $event->button,$event->time); //$this->module_frame_event->add($this->module_frame); @ 1.81 log @Updated @ text @d96 1 a96 1 $this->drag_window = &new GtkPieMenu(); d101 1 a101 1 d220 1 a220 1 function drag_module_frame($widget,$event) { d234 1 a234 1 @ 1.80 log @Updated @ text @d230 1 a230 1 $this->drag_window->popup( NULL,NULL,NULL,$event->button,$event->time); @ 1.79 log @Updated @ text @d96 1 a96 1 $this->drag_window = &new GtkPIEMenu(); @ 1.78 log @Updated @ text @d96 1 a96 1 $this->drag_window = &new GtkMenu(); @ 1.77 log @Updated @ text @d230 1 a230 1 $this->drag_window->popup( 200,200); @ 1.76 log @Updated @ text @d96 1 a96 1 $this->drag_window = &new GtkMenu(GTK_WINDOW_POPUP); d225 1 a225 1 $this->drag_window->add($this->module_frame); @ 1.75 log @Updated @ text @d95 2 a96 1 $this->drag_window = &new GtkWindow(GTK_WINDOW_POPUP); @ 1.74 log @Updated @ text @d229 1 a229 1 $this->drag_window->popup( $event->x_root, $event->y_root); @ 1.73 log @Updated @ text @d228 1 @ 1.72 log @Updated @ text @d228 1 a228 1 $this->drag_window->popup( $event->x, $event->y); @ 1.71 log @Updated @ text @d227 1 @ 1.70 log @Updated @ text @d227 1 a227 1 $this->drag_window->popup( $event->button, $event->time); @ 1.69 log @Updated @ text @d96 1 a96 1 @ 1.68 log @Updated @ text @d95 2 a96 1 d100 1 a100 2 $this->drag_window = &new GtkWindow(GTK_WINDOW_POPUP); @ 1.67 log @Updated @ text @d223 1 a223 2 @ 1.66 log @Updated @ text @d223 2 @ 1.65 log @Updated @ text @d223 1 a223 1 $this->drag_window->append($this->module_frame); @ 1.64 log @Updated @ text @d223 2 a224 2 $this->drag_menu->append($this->module_frame); $this->drag_menu->show(); d226 1 a226 1 $this->drag_menu->popup( NULL, NULL, NULL, $event->button, $event->time); @ 1.63 log @Updated @ text @a70 1 $this->drag_menu = &new GtkMenu(); d99 2 a100 1 @ 1.62 log @Updated @ text @d223 1 a223 1 $this->drag_menu->add($this->module_frame); @ 1.61 log @Updated @ text @d226 1 a226 1 $this->drag_menu->popup((NULL, NULL, NULL, $event->button, $event->time); @ 1.60 log @Updated @ text @d223 1 a223 1 $this->drag_menu->append($this->module_frame); d226 1 a226 1 $this->drag_menu->popup($event->button, 1000); @ 1.59 log @Updated @ text @d223 1 a223 1 $this->drag_menu->add($this->module_frame); @ 1.58 log @Updated @ text @d226 1 a226 1 $this->drag_menu->popup($event->button, $event->time); @ 1.57 log @Updated @ text @d224 2 a225 2 $this->drag_menu->show(); $this->module_frame->show(); @ 1.56 log @Updated @ text @d221 1 d225 1 @ 1.55 log @Updated @ text @d223 1 a223 1 d225 1 a225 1 $this->drag_menu->show(); @ 1.54 log @Updated @ text @d225 1 @ 1.53 log @Updated @ text @d222 3 a224 1 $this->module_frame->popup($event->button, $event->time); @ 1.52 log @Updated @ text @d71 1 a71 1 @ 1.51 log @Updated @ text @d223 1 a223 1 $this->module_frame_event->add($this->module_frame); @ 1.50 log @Updated @ text @d221 1 d223 1 @ 1.49 log @Updated @ text @d221 1 a221 1 $this->module_frame->popup($e->button, $e->time); @ 1.48 log @Updated @ text @d98 2 a99 1 $this->module_frame->connect("button_press_event", array($this,"drag_module_frame")); @ 1.47 log @Updated @ text @d219 1 a219 1 @ 1.46 log @Updated @ text @a222 1 function menu_callback($b) { a223 1 } @ 1.45 log @Updated @ text @d218 1 a218 2 function drag_module_frame() { d220 4 @ 1.44 log @Updated @ text @d217 7 @ 1.43 log @Updated @ text @d94 3 d98 1 a98 1 @ 1.42 log @Updated @ text @d94 1 a94 1 @ 1.41 log @Updated @ text @d74 3 d93 4 @ 1.40 log @Updated @ text @a145 1 @ 1.39 log @Updated @ text @d144 4 a147 1 @ 1.38 log @Updated @ text @d136 3 @ 1.37 log @Updated @ text @d116 1 d141 1 a141 1 @ 1.36 log @Updated @ text @d63 1 a63 1 if ($this->prefs->getet("geometry/save_win_size")) { @ 1.35 log @Updated @ text @d63 1 a63 1 if ($this->prefs->set("geometry/save_win_size")) { @ 1.34 log @Updated @ text @d5 1 @ 1.33 log @Updated @ text @d46 1 @ 1.32 log @Updated @ text @d197 1 a197 1 $this->prefs-save_user_prefs()l @ 1.31 log @Updated @ text @d197 1 a197 1 save_user_prefs() @ 1.30 log @Updated @ text @d197 1 @ 1.29 log @Updated @ text @d194 1 a194 1 if (!$this->prefs->getet("geometry/save_win_size")) return; @ 1.28 log @Updated @ text @d194 1 a194 1 if (!$this->prefs->fet("geometry/save_win_size")) return; @ 1.27 log @Updated @ text @d194 1 a194 1 if (!$this->prefs->set("geometry/save_win_size")) return; @ 1.26 log @Updated @ text @d58 2 d69 2 @ 1.25 log @Updated @ text @d66 1 a66 1 d73 1 a73 2 //$this->window->connect("expose_event", array(&$this,"window_resized")); $this->window->connect("configure_event", array(&$this,"window_resized")); @ 1.24 log @Updated @ text @d191 1 a191 1 if (!$this->prefs->set("geometry/save_win_size") return; @ 1.23 log @Updated @ text @d59 1 a59 1 if ($this->prefs->set("geometry/save_win_size") { @ 1.22 log @Updated @ text @d58 5 d64 1 a64 3 $this->window->set_default_size(600,450); @ 1.21 log @Updated @ text @d187 5 a191 4 function window_resized($widget,$event) { echo $widget->allocation->width.",". $widget->allocation->height ."\n"; } @ 1.20 log @Updated @ text @d63 3 @ 1.19 log @Updated @ text @d68 1 a68 1 $this->window->connect("expose_event", array(&$this,"configure_event")); @ 1.18 log @Updated @ text @d67 2 a68 2 $this->window->connect("expose_event", array(&$this,"window_resized")); @ 1.17 log @Updated @ text @d185 1 a185 1 echo $event->area->width .",". $event->area->height ."\n"; @ 1.16 log @Updated @ text @d67 1 a67 1 $this->window->connect("configure_event", array(&$this,"window_resized")); @ 1.15 log @Updated @ text @d185 1 a185 1 echo $event->area->width .",". $event->area->height ."\n" @ 1.14 log @Updated @ text @d184 2 a185 2 function window_resized() { @ 1.13 log @Updated @ text @d184 1 d186 2 @ 1.12 log @Updated @ text @d67 1 a67 1 @ 1.11 log @Updated @ text @d69 1 a69 1 // test to see if this works! @ 1.10 log @Updated @ text @d57 4 d62 1 @ 1.9 log @Updated @ text @d24 31 a54 9 // load prefs - store in an array (easier to deal with?) $this->prefs = &new phpmole_prefs; $this->prefs->load(APPDIR . "config/Preferences"); $this->prefs->load_user_prefs(); $this->glade = &new GladeXML(APPDIR .'glade/phpide.glade'); $this->langs = &new phpide_languages(); d56 21 a76 13 $this->transports = &new phpide_transports(); $this->module_manager = &new phpide_modules(); /* standard dialogs */ $this->dialogs["ok"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/ok_dialog.glade"); $this->dialogs["ok_cancel"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/ok_cancel_dialog.glade"); $this->dialogs["yes_no"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/yes_no_dialog.glade"); $this->dialogs["password"] = &new phpmole_password_dialog(); $this->dialogs["new_file"] = &new phpmole_new_file_dialog(); d79 1 a79 31 // GLOBAL VARS $gx,$window,$nb,$bookmark_tree $this->window = $this->glade->get_widget("winMain"); $this->window->set_default_size(600,450); if (!$this->prefs->get("geometry/layout")) $this->prefs->set("geometry/layout","1"); $this->window->set_title( APPNAME ); $this->layout_holder = $this->glade->get_widget("layout_holder"); // test to see if this works! if (file_exists(APPDIR ."glade/interface_". $this->prefs->get("geometry/layout"). ".glade")) { $this->interface_glade = &new GladeXML(APPDIR ."glade/interface_". $this->prefs->get("geometry/layout"). ".glade"); } else { $this->interface_glade = &new GladeXML(APPDIR ."glade/interface_1.glade"); } $interface_window = $this->interface_glade->get_widget("window"); $this->interface = $this->interface_glade->get_widget("interface"); $interface_window->remove($this->interface); $this->layout_holder->add($this->interface); $this->module_manager->load(); $menu_handlers = array( d113 1 a113 1 ); d116 3 a118 2 foreach($menu_handlers as $menu_handler) $this->glade->signal_connect_object( $menu_handler , array(&$this->module_manager,"menu_emit"),$menu_handler); d120 1 a120 1 // gtk::timeout_add(15000, 'dummy_timer'); d122 1 a122 1 } d140 12 a151 12 function save_document() { // ask the document manager to load the file // then loop through the modules //echo "ATTEMPTING TO SAVE"; $URLar = $this->module_manager->get_active_document(); if (!$URLar) return; list($bookmarkid, $URL) = $URLar; $this->module_manager->broadcast("save_document",array($bookmarkid, $URL)); $this->transports->save_document($bookmarkid, $URL); $this->langs->parse($bookmarkid, $URL); $this->module_manager->broadcast("post_save_document",array($bookmarkid, $URL)); } d153 10 a162 10 function dummy_timer () { // echo "AutoSave!??\n"; $dat = getrusage(); foreach ($dat as $k => $v) //echo "$k => $v \n"; //echo "\n\n"; return true; } /* function menu_emit ($obj,$var) { @ 1.8 log @Updated @ text @d2 3 d6 9 a14 1 class phpide { d39 13 d126 13 a138 13 function load_document($bookmarkid, $URL) { // ask the document manager to load the file //echo "\nCALLING LOAD $bookmarkid, $URL\n"; $this->transports->load_document($bookmarkid, $URL); $this->langs->load_document($bookmarkid, $URL); $this->window->set_title( APPNAME . " - " . $URL); //$this->langs->parse($bookmarkid, $URL); // then loop through the modules //echo "CHECKING FOR DATA?\n"; if ($this->transports->documents[$URL]->data) echo "GOT DATA\n"; $this->module_manager->load_document($bookmarkid, $URL); } @ 1.7 log @Updated @ text @d96 1 a96 1 @@Gtk::main(); @ 1.6 log @Updated @ text @d14 1 a14 1 $this->prefs = &new gtkm_prefs; a54 13 //$hbox1 = $gx->get_widget("hbox1"); //$swin = $gx->get_widget("scrolledwindow1"); //$live_tree = &new gtkm_Live_Tree; //$bookmark_tree = &new gtkm_Bookmark_Tree; //$swin->add($bookmark_tree->widget); //$nb = &new gtkm_notebook(); //$hbox1->add($nb->widget); d77 1 a77 1 "on_language_settings1_activate", d98 1 a98 1 // start looking at callbacks/gtkm_menu to see what happens next! d158 1 a158 1 ?>@ 1.5 log @Updated @ text @d97 3 a99 2 @ 1.4 log @Updated @ text @d36 1 a36 1 @ 1.3 log @Updated @ text @d119 1 d131 4 a134 2 list($bookmarkid, $URL) = $this->module_manager->get_active_document(); $this->module_manager->save_document($bookmarkid, $URL); d137 1 a137 1 $this->module_manager->post_save_document($bookmarkid, $URL); @ 1.2 log @Updated @ text @d167 1 a167 1 ?> @ 1.1 log @Updated @ text @d116 1 a116 1 echo "\nCALLING LOAD $bookmarkid, $URL\n"; d121 1 a121 1 echo "CHECKING FOR DATA?\n"; d129 1 a129 1 echo "ATTEMPTING TO SAVE"; d141 2 a142 2 echo "$k => $v \n"; echo "\n\n"; @ phpmole/dialogs/RCS/gtkm_Dialog_Generic.class,v0000755000175000017500000000331007372705011021613 0ustar alanalan00000000000000head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2001.11.09.07.47.21; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.09.07.35.04; author alan; state Exp; branches; next ; desc @Updated @ 1.2 log @Updated @ text @widget = &new GladeXML(APPDIR.'glade/'.$type.'_dialog.glade'); $this->window = $this->widget->get_widget("window"); $this->btn_ok = $this->widget->get_widget("OK"); $this->btn_cancel = $this->widget->get_widget("cancel"); $this->info = $this->widget->get_widget("info"); $this->top_window_freeze_signal = $this->window->connect_object_after('event',array(&$this,raise)); //$this-ok->connect_object_after('clicked', array(&$this,close)); //$this->cancel->connect_object_after('clicked', array(&$this,ok)); } function show($message="") { $this->__show($message); } function __show($message="") { global $window; if ($this->info) $this->info->set_text($message); $this->window->show(); Gtk::grab_add($this->window); } function raise($w) { if ($this->not_active_window) return; if ($w->type != 4) return; //echo "RAISE"; $wi = $this->window->window; $wi->raise(); } function hide() { $this->__hide(); } function __hide() { //echo "REMOVEING GRAB\n"; Gtk::grab_remove($this->window); $this->window->hide(); } } ?>@ 1.1 log @Updated @ text @d55 1 a55 1 ?> @ phpmole/dialogs/RCS/gtkm_Dialog_New_File.class,v0000755000175000017500000000454507372703553021753 0ustar alanalan00000000000000head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2001.11.09.07.36.11; author alan; state Exp; branches; next ; desc @Updated @ 1.1 log @Updated @ text @gtkm_Dialog_Generic("text_entry"); $this->bookmark_type_combo = $this->widget->get_widget("bookmark_type_combo"); $this->bookmark_type = $this->widget->get_widget("bookmark_type"); $this->text_entry = $this->widget->get_widget("text_entry"); $this->btn_ok->connect_object_after('clicked',array(&$this,ok_pressed)); $this->btn_cancel->connect_object_after('clicked',array(&$this,hide)); } function show($bookmarkid,$URL,$type) { //echo "\nNODES: ". serialize($application->module_manager->module_objects["bookmark_browser"]->nodes); $this->bookmarkid=$bookmarkid; $this->type =$type; $this->URL = $URL; $pos = strpos($this->URL,":"); $this->URI = substr($this->URL,0,$pos); if ($this->type == "dir") { $this->__show("create a new directory in\n$URL"); } else { $this->__show("create a new file in\n$URL"); } $this->text_entry->set_text(""); $this->text_entry->grab_focus(); } function ok_pressed() { global $dialogs,$application; $filename = $this->text_entry->get_text(); //echo "\nNODES: ". serialize($application->module_manager->module_objects["bookmark_browser"]->nodes); // check if it is valid! //echo "ok pressed {$this->bookmarkid},{$this->URL},{$this->type} , $filename"; $errormessage = $application->transports->create_new($this->bookmarkid,$this->URL,$this->type , $filename); if ($errormessage) { //echo "ERRORMESSAGE $errormessage"; if (!$dialogs["ok"]) $dialogs["ok"] = &new gtkm_Dialog_Generic("ok"); if ($dialogs["ok"]->btn_ok_signal) $dialogs["ok"]->btn_ok->disconnect($dialogs["ok"]->btn_ok_signal); $dialogs["ok"]->btn_ok_signal = $dialogs["ok"]->btn_ok->connect_object_after('clicked',array(&$dialogs["ok"],hide)); $dialogs["ok"]->show($errormessage); } $this->hide(); } } ?>@ phpmole/dialogs/RCS/phpmole_config_dialog.class,v0000755000175000017500000005656207435375403022277 0ustar alanalan00000000000000head 1.67; access; symbols; locks; strict; comment @# @; 1.67 date 2002.02.22.07.59.29; author alan; state Exp; branches; next 1.66; 1.66 date 2002.02.22.03.55.23; author alan; state Exp; branches; next 1.65; 1.65 date 2002.02.22.03.54.43; author alan; state Exp; branches; next 1.64; 1.64 date 2002.02.22.03.54.41; author alan; state Exp; branches; next 1.63; 1.63 date 2002.02.22.03.54.39; author alan; state Exp; branches; next 1.62; 1.62 date 2002.02.22.03.54.33; author alan; state Exp; branches; next 1.61; 1.61 date 2002.02.05.04.17.06; author alan; state Exp; branches; next 1.60; 1.60 date 2002.02.05.04.11.52; author alan; state Exp; branches; next 1.59; 1.59 date 2002.02.05.04.11.31; author alan; state Exp; branches; next 1.58; 1.58 date 2002.02.05.04.10.20; author alan; state Exp; branches; next 1.57; 1.57 date 2002.02.05.04.09.58; author alan; state Exp; branches; next 1.56; 1.56 date 2002.02.05.04.06.28; author alan; state Exp; branches; next 1.55; 1.55 date 2002.02.05.04.05.42; author alan; state Exp; branches; next 1.54; 1.54 date 2002.02.05.04.05.03; author alan; state Exp; branches; next 1.53; 1.53 date 2002.02.05.03.56.57; author alan; state Exp; branches; next 1.52; 1.52 date 2002.02.05.03.55.49; author alan; state Exp; branches; next 1.51; 1.51 date 2002.02.05.03.55.07; author alan; state Exp; branches; next 1.50; 1.50 date 2002.02.05.03.54.27; author alan; state Exp; branches; next 1.49; 1.49 date 2002.02.05.03.51.43; author alan; state Exp; branches; next 1.48; 1.48 date 2002.02.05.03.51.12; author alan; state Exp; branches; next 1.47; 1.47 date 2002.02.05.03.43.56; author alan; state Exp; branches; next 1.46; 1.46 date 2002.02.05.03.43.55; author alan; state Exp; branches; next 1.45; 1.45 date 2002.02.05.03.43.54; author alan; state Exp; branches; next 1.44; 1.44 date 2002.02.05.03.43.51; author alan; state Exp; branches; next 1.43; 1.43 date 2002.02.05.03.43.48; author alan; state Exp; branches; next 1.42; 1.42 date 2002.02.05.03.41.36; author alan; state Exp; branches; next 1.41; 1.41 date 2002.02.05.03.39.14; author alan; state Exp; branches; next 1.40; 1.40 date 2002.02.05.03.39.10; author alan; state Exp; branches; next 1.39; 1.39 date 2002.02.05.03.38.53; author alan; state Exp; branches; next 1.38; 1.38 date 2002.02.05.03.38.47; author alan; state Exp; branches; next 1.37; 1.37 date 2002.02.05.03.33.17; author alan; state Exp; branches; next 1.36; 1.36 date 2002.02.05.03.32.51; author alan; state Exp; branches; next 1.35; 1.35 date 2002.02.05.03.32.45; author alan; state Exp; branches; next 1.34; 1.34 date 2002.02.05.03.32.34; author alan; state Exp; branches; next 1.33; 1.33 date 2002.02.05.03.32.08; author alan; state Exp; branches; next 1.32; 1.32 date 2002.02.05.03.31.41; author alan; state Exp; branches; next 1.31; 1.31 date 2002.02.05.03.31.36; author alan; state Exp; branches; next 1.30; 1.30 date 2002.02.05.03.31.11; author alan; state Exp; branches; next 1.29; 1.29 date 2002.02.05.03.30.49; author alan; state Exp; branches; next 1.28; 1.28 date 2002.02.05.03.30.36; author alan; state Exp; branches; next 1.27; 1.27 date 2002.02.05.03.29.53; author alan; state Exp; branches; next 1.26; 1.26 date 2002.02.05.03.29.25; author alan; state Exp; branches; next 1.25; 1.25 date 2002.02.05.03.24.55; author alan; state Exp; branches; next 1.24; 1.24 date 2002.02.05.03.24.24; author alan; state Exp; branches; next 1.23; 1.23 date 2002.02.05.03.24.03; author alan; state Exp; branches; next 1.22; 1.22 date 2002.02.05.03.23.53; author alan; state Exp; branches; next 1.21; 1.21 date 2002.02.05.03.23.41; author alan; state Exp; branches; next 1.20; 1.20 date 2002.02.05.03.23.39; author alan; state Exp; branches; next 1.19; 1.19 date 2002.02.05.03.23.07; author alan; state Exp; branches; next 1.18; 1.18 date 2002.02.05.03.21.18; author alan; state Exp; branches; next 1.17; 1.17 date 2002.02.05.03.20.53; author alan; state Exp; branches; next 1.16; 1.16 date 2002.02.05.03.20.43; author alan; state Exp; branches; next 1.15; 1.15 date 2002.02.05.03.20.27; author alan; state Exp; branches; next 1.14; 1.14 date 2002.02.05.03.20.07; author alan; state Exp; branches; next 1.13; 1.13 date 2002.02.05.03.18.02; author alan; state Exp; branches; next 1.12; 1.12 date 2002.02.05.03.17.54; author alan; state Exp; branches; next 1.11; 1.11 date 2002.02.05.03.17.29; author alan; state Exp; branches; next 1.10; 1.10 date 2002.02.05.03.15.54; author alan; state Exp; branches; next 1.9; 1.9 date 2002.02.05.03.15.04; author alan; state Exp; branches; next 1.8; 1.8 date 2002.02.05.03.14.55; author alan; state Exp; branches; next 1.7; 1.7 date 2002.02.05.03.10.56; author alan; state Exp; branches; next 1.6; 1.6 date 2002.02.05.03.10.30; author alan; state Exp; branches; next 1.5; 1.5 date 2002.02.05.03.05.53; author alan; state Exp; branches; next 1.4; 1.4 date 2002.02.05.02.38.16; author alan; state Exp; branches; next 1.3; 1.3 date 2002.02.05.02.35.21; author alan; state Exp; branches; next 1.2; 1.2 date 2002.02.05.02.32.33; author alan; state Exp; branches; next 1.1; 1.1 date 2002.02.05.02.32.18; author alan; state Exp; branches; next ; desc @Updated @ 1.67 log @Updated @ text @config_dialog_generic($glade,$config_array); $conf->btn_ok->connect("pressed",array(&$this,"update_config")); to display it: $conf->prefs = $current_config_array; $conf->show(); function update_config() { $new_config_array = $conf->get_results(); $conf->hide(); } */ class phpmole_config_dialog extends phpide_Dialog_Generic { var $prefs; // where stuff is stored and retrieved from var $dialogs = array(); function phpmole_config_dialog() { $this->phpide_Dialog_Generic(dirname(__FILE__)."/master_config.glade"); // load other dialogs and add them. $this->holder = $this->widget->get_widget("config_holder"); $this->notebook = &new GtkNotebook(); $this->notebook->set_tab_pos(GTK_POS_LEFT); $this->notebook->show(); $this->holder->add($this->notebook); $this->add_config_dialog(dirname(__FILE__)."/config_dialog.glade","PHPMole"); if (file_exists(APPDIR . "modules/config_dialog.glade")) $this->add_config_dialog(APPDIR . "modules/config_dialog.glade","Modules"); $dh = opendir(APPDIR . "modules"); while (($file = readdir($dh)) != NULL) { //echo "CHECKING $file"; if ($file[0] == ".") continue; if (!is_dir(APPDIR . "modules/$file")) continue; if (!file_exists(APPDIR . "modules/$file/config_dialog.glade")) continue; $this->add_config_dialog(APPDIR . "modules/$file/config_dialog.glade",$file); } $this->connect_dialogs(); // load font and color stuff $this->dialog_font_select=$this->widget->get_widget("fontselectiondialog1"); $this->dialog_color_select=$this->widget->get_widget("colorselectiondialog1"); $this->dialog_color_select_widget=$this->dialog_color_select->colorsel; $this->btn_fontsel_ok=$this->widget->get_widget("fontsel_ok"); $this->btn_fontsel_cancel=$this->widget->get_widget("fontsel_cancel"); $this->btn_fontsel_ok->connect_object_after('clicked',array(&$this,"fontsel_ok")); $this->btn_fontsel_cancel->connect_object_after('clicked',array(&$this,"fontsel_cancel")); $this->btn_colorsel_ok=$this->widget->get_widget("colorsel_ok"); $this->btn_colorsel_cancel=$this->widget->get_widget("colorsel_cancel"); $this->btn_colorsel_ok->connect_object_after('clicked',array(&$this,"colorsel_ok")); $this->btn_colorsel_cancel->connect_object_after('clicked',array(&$this,"colorsel_cancel")); } function connect_dialogs() { global $application; foreach($application->prefs->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $widget = $this->find_widget($kname); if (!$widget) continue; switch (get_class($widget)) { case "GtkButton": $widget->connect_object_after('clicked', array(&$this,"select_font"), array($kname,$k)); break; case "GtkDrawingArea": $btn = $widget->parent; $btn->connect_object_after('button_press_event', array(&$this,"select_color"), array($kname, $k)); break; } } } function add_config_dialog($filename,$title) { $n = count($this->dialogs); $this->dialogs[$n] = &new GladeXML($filename); $widget = $this->dialogs[$n]->get_widget("config"); $p = $widget->parent; $p->remove($widget); $label = &new GtkLabel( $title); $label->show(); $widget->show(); $this->notebook->append_page($widget,$label); } function show() { $this->load_prefs(); $this->ok_pressed_callback = array(&$this,"save_prefs"); $this->__show(); } function &find_widget($name) { for ($i=0;$i< count($this->dialogs);$i++) if ($widget = $this->dialogs[$i]->get_widget($name)) return $widget; } function load_prefs() { global $application; foreach($application->prefs->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->find_widget($kname); if (!$widget) $widget = $this->find_widget($kname2); if (!$widget) continue; switch (get_class($widget)) { case "GtkCheckButton": $vv=0; if ($v) $vv = 1; $widget->set_active($vv); break; case "GtkSpinButton": $widget->set_value($v); break; case "GtkButton": $this->set_fontname( $kname,$v); break; case "GtkDrawingArea": $this->set_buttoncolor($kname,$v); break; case "GtkRadioButton": $widget->set_active(0); break; case "GtkText": $len = $widget->get_length(); $widget->delete_text(0,$len); $widget->insert_text($v,0); break; } } $this->prefs = $application->prefs->prefs; } function save_prefs() { global $application; $application->prefs->prefs = $this->prefs; foreach($application->prefs->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->find_widget($kname); if (!$widget) $widget = $this->find_widget($kname2); if (!$widget) continue; switch (get_class($widget)) { case "GtkCheckButton": $application->prefs->prefs[$k] = $widget->get_active(); break; case "GtkSpinButton": $application->prefs->prefs[$k] = $widget->get_value_as_int(); break; case "GtkRadioButton": // now this is a bit more complex!!! $application->prefs->prefs[$k] = 0; // default it for ($i=0;$i<9;$i++) { $w = $this->find_widget($kname . "_".sprintf("%01d",$i)); if (!$w) break; if ($w->get_active()) $application->prefs->prefs[$k] = $i; } break; } } $application->prefs->save_user_prefs(); $application->module_manager->broadcast("configuration_changed"); } function set_buttoncolor($widgetname, $setting) { $setting = substr("000000".dechex($setting),-6); $s = substr($setting,4,2) . substr($setting,2,2) . substr($setting,0,2); $setting = "#". $s; $w = $this->find_widget($widgetname); $current_style=$w->get_style(); $new_style = $current_style->copy(); $new_style->bg[GTK_STATE_NORMAL]=new GdkColor($setting); $w->set_style($new_style); } function set_fontname($widgetname,$setting) { $b = $this->find_widget($widgetname); $w = $b->child; $fontar = explode("-",$setting); $size = $fontar[7]; $current_style=$w->get_style(); $new_style = $current_style->copy(); $new_style->font = gdk::font_load($setting); $w->set_style($new_style); if ($size == "*") $size = $fontar[8]/10; $w->set_text($fontar[2] ."(".$size.")"); } function select_font($a) { $fontar = explode("-",$this->prefs[$a[1]]); //echo serialize($fontar); if ($fontar[8] == "*") { $fontar[8] = $fontar[7]*10; $fontar[7] = "*"; } $fontname = implode("-",$fontar); //echo "SET" .$fontname; $this->dialog_font_select->set_font_name($fontname); $this->dialog_font_select->show(); $this->active_font_sel = $a[1]; $this->active_font_sel_widget = $a[0]; Gtk::grab_remove($this->window); Gtk::grab_add($this->dialog_font_select); } function fontsel_ok() { $this->prefs[$this->active_font_sel] = $this->dialog_font_select->get_font_name(); //echo "GOT " .$this->prefs[$this->active_font_sel]; $this->set_fontname($this->active_font_sel_widget,$this->prefs[$this->active_font_sel]); $this->dialog_font_select->hide(); Gtk::grab_remove($this->dialog_font_select); Gtk::grab_add($this->window); } function fontsel_cancel() { $this->dialog_font_select->hide(); Gtk::grab_remove($this->dialog_font_select); Gtk::grab_add($this->window); } function select_color($e,$a){ //echo "looking up prefs ". serialize($a)."\n"; $setting = substr("000000".dechex($this->prefs[$a[1]]),-6); $b = hexdec( substr($setting,0,2)) /256; $g = hexdec( substr($setting,2,2))/256; $r = hexdec( substr($setting,4,2))/256; $this->not_active_window = TRUE; $this->dialog_color_select_widget->set_color($r,$g,$b); $this->dialog_color_select->show(); $wi = $this->dialog_color_select->window; $wi->raise(); $this->active_color_sel = $a[1]; $this->active_color_sel_widget = $a[0]; Gtk::grab_remove($this->window); Gtk::grab_add($this->dialog_color_select); } function colorsel_ok() { $a = $this->dialog_color_select_widget->get_color(); //echo "GOT " . serialize($a); $b = substr("00".dechex($a[2]*255),-2) . substr("00".dechex($a[1]*255),-2) . substr("00".dechex($a[0]*255),-2); //echo "XX " . $this->active_color_sel . " storing ($b) = ". hexdec($b) . "\n"; $this->prefs[$this->active_color_sel] = hexdec($b); $this->set_buttoncolor($this->active_color_sel_widget,$this->prefs[$this->active_color_sel]); $this->dialog_color_select->hide(); Gtk::grab_remove($this->dialog_color_select); Gtk::grab_add($this->window); $this->not_active_window = FALSE; } function colorsel_cancel() { $this->dialog_color_select->hide(); Gtk::grab_remove($this->dialog_color_select); Gtk::grab_add($this->window); $this->not_active_window = FALSE; } } ?>@ 1.66 log @Updated @ text @d276 5 @ 1.65 log @Updated @ text @d241 2 a242 1 //$application->module_manager->broadcast(" @ 1.64 log @Updated @ text @d241 1 a241 1 //$pplication->module_manager->broadcast(" @ 1.63 log @Updated @ text @d241 1 a241 1 //application->module_manager->broadcast(" @ 1.62 log @Updated @ text @d241 1 a241 1 $application->module_manager->broadcast(" @ 1.61 log @Updated @ text @d1 24 a24 1 prefs[$k] = 0; // default it @ 1.58 log @Updated @ text @d206 1 a206 1 $this->prefs[$k] = $i; @ 1.57 log @Updated @ text @d181 1 @ 1.56 log @Updated @ text @d172 2 a173 1 } d236 2 d267 3 @ 1.55 log @Updated @ text @d61 16 @ 1.54 log @Updated @ text @d60 3 @ 1.53 log @Updated @ text @d59 26 @ 1.52 log @Updated @ text @d39 5 @ 1.51 log @Updated @ text @d186 1 a186 1 $b = $this->find_widget->get_widget($widgetname); @ 1.50 log @Updated @ text @d179 1 a179 1 $w = $this->widget->get_widget($widgetname); d186 1 a186 1 $b = $this->widget->get_widget($widgetname); @ 1.49 log @Updated @ text @d161 33 d195 78 @ 1.48 log @Updated @ text @d51 1 a51 1 if (!file_exists(APPDIR . "modules/$file/config.dialog")) continue; @ 1.47 log @Updated @ text @d48 1 @ 1.46 log @Updated @ text @d53 1 a53 1 } @ 1.45 log @Updated @ text @d53 1 a53 1 } @ 1.44 log @Updated @ text @d53 1 a53 5 } @ 1.43 log @Updated @ text @d52 1 a52 1 @ 1.42 log @Updated @ text @d47 5 a51 1 @ 1.41 log @Updated @ text @d46 1 @ 1.40 log @Updated @ text @d46 5 @ 1.39 log @Updated @ text @a61 4 @ 1.38 log @Updated @ text @d57 1 a57 1 $label = &new GtkLabel("TEST".$title); @ 1.37 log @Updated @ text @d45 1 a45 1 $this->add_config_dialog(dirname(__FILE__)."/config_dialog.glade"); d49 1 a49 1 function add_config_dialog($filename) { a52 3 $window = $this->dialogs[$n]->get_widget("window"); $title = $window->title; echo serialize($window); @ 1.36 log @Updated @ text @d55 1 a55 1 echo serialize($title); @ 1.35 log @Updated @ text @d55 1 a55 1 @ 1.34 log @Updated @ text @d54 2 a55 1 $title = $window->get_title(); @ 1.33 log @Updated @ text @d54 1 a54 1 $title = $window->title; @ 1.32 log @Updated @ text @d61 1 a61 1 $widget->show(); @ 1.31 log @Updated @ text @d62 1 a62 1 echo "ADDING TAB $title, " . serialize($widget); d64 1 a64 1 $this->notebook->append_page($label,$label); @ 1.30 log @Updated @ text @d44 1 @ 1.29 log @Updated @ text @d63 1 @ 1.28 log @Updated @ text @d60 1 d66 1 a66 1 $widget->show(); @ 1.27 log @Updated @ text @d59 1 d62 3 @ 1.26 log @Updated @ text @d58 1 a58 1 $label = &new GtkLabel($title); @ 1.25 log @Updated @ text @d59 1 @ 1.24 log @Updated @ text @d42 1 a42 1 d45 1 a45 1 $this->notebook->set_tab_pos(GTK_POS_LEFT); @ 1.23 log @Updated @ text @d60 1 @ 1.22 log @Updated @ text @d45 1 a45 1 $this->notebook->append_>set_tab_pos(GTK_POS_LEFT); @ 1.21 log @Updated @ text @d58 1 a58 1 $label = &new GtkLable($title); @ 1.20 log @Updated @ text @d45 1 a45 1 $this->notebook->append_>set_tab_pos(GTK_POS_LEFT); @ 1.19 log @Updated @ text @d42 1 a42 1 $this->notebook->append_>set_tab_pos(GTK_POS_LEFT); d45 1 @ 1.18 log @Updated @ text @d40 1 a40 1 $this->holder = $this->glade->get_widget("config_holder"); d140 1 a140 1 $w = $this->widget->get_widget($kname . "_".sprintf("%01d",$i)); @ 1.17 log @Updated @ text @d38 1 a38 1 $this->phpide_Dialog_Generic(dirname(__FILE__)."/master_config_dialog.glade"); @ 1.16 log @Updated @ text @d72 1 a72 1 return &$widget; @ 1.15 log @Updated @ text @d71 1 a71 1 if ($widget = $this->dialogs[$i]->get_widget($name); @ 1.14 log @Updated @ text @d41 1 a41 1 $this->notebook = &new GtkNotebook() @ 1.13 log @Updated @ text @d35 1 a35 1 var $dialogs = array();; @ 1.12 log @Updated @ text @a44 4 @ 1.11 log @Updated @ text @d87 1 a87 1 $widget = $this->widget->get_widget($kname); d89 1 a89 1 $widget = $this->widget->get_widget($kname2); d127 1 a127 1 $widget = $this->widget->get_widget($kname); d129 1 a129 1 $widget = $this->widget->get_widget($kname2); @ 1.10 log @Updated @ text @d73 8 @ 1.9 log @Updated @ text @d61 2 a62 4 $this->notebook->append_ @ 1.8 log @Updated @ text @d43 1 @ 1.7 log @Updated @ text @d41 3 a43 2 $this->notebook = &new GtkNotebook( $this->add_config_dialog( d54 2 a55 1 $widget = $this->dialogs[$n]->get_widget("window"); @ 1.6 log @Updated @ text @d53 5 a57 3 $w = $this->dialogs[$n]->get_widget("config"); $p = $w->parent; $p->remove($w); @ 1.5 log @Updated @ text @d35 1 a35 1 d40 3 d47 4 d52 8 d61 1 @ 1.4 log @Updated @ text @d38 7 a44 1 $this->phpide_Dialog_Generic(dirname(__FILE__)."/config_dialog.glade"); @ 1.3 log @Updated @ text @d37 1 a37 1 function config_dialog() { @ 1.2 log @Updated @ text @d33 1 a33 1 class phpmole_config_dialog extends phpide_dialog_generic { @ 1.1 log @Updated @ text @d3 1 a3 1 require_once(dirname(__FILE__)."/../dialogs/phpide_Dialog_Generic.class"); d33 1 a33 1 class config_dialog extends phpide_dialog_generic { @ phpmole/dialogs/RCS/config_dialog.glade,v0000644000175000017500000001570007427650353020505 0ustar alanalan00000000000000head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2002.02.05.03.26.35; author alan; state Exp; branches; next 1.2; 1.2 date 2002.02.05.03.18.53; author alan; state Exp; branches; next 1.1; 1.1 date 2002.02.05.02.32.58; author alan; state Exp; branches; next ; desc @Updated @ 1.3 log @Updated @ text @ phpMole options_dialog src pixmaps C False False False False False GtkWindow window False clicked clicked Sun, 22 Apr 2001 10:23:46 GMT destroy destroy Sun, 22 Apr 2001 10:24:01 GMT PHPMole GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False False False False options_dialog Moleskine GtkVBox dialog-vbox1 False 8 GtkHButtonBox dialog-action_area1 GTK_BUTTONBOX_END 8 85 27 7 0 0 False True GTK_PACK_END GtkButton cancel True True GTK_RELIEF_NORMAL GtkButton OK True True GTK_RELIEF_NORMAL GtkVBox config 4 False 4 0 True True GtkCheckButton geometry_save_win_size True False True 0 False False GtkCheckButton history_save_session Save open files names at exit and re-open them at next startup. True False True 0 False False GtkHBox hbox11 False 4 0 False False GtkLabel label20 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkSpinButton history_mru_size True 1 0 False GTK_UPDATE_ALWAYS False False 5 5 50 1 10 10 0 False False GtkLabel label21 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkCheckButton history_mru_sort True False True 0 False False GtkHBox hbox25 False 0 0 False False GtkLabel label50 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkSpinButton general_autosave_timeout True 1 0 False GTK_UPDATE_ALWAYS False False 1 0 100 1 10 10 0 True True GtkLabel label51 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False @ 1.2 log @Updated @ text @d32 1 a32 1 Options d85 1 a85 1 vbox1 @ 1.1 log @Updated @ text @d11 1 a11 2 True False @ phpmole/dialogs/RCS/phpmole_about_dialog.class,v0000755000175000017500000001126707435146716022140 0ustar alanalan00000000000000head 1.14; access; symbols; locks; strict; comment @# @; 1.14 date 2002.02.21.10.37.02; author alan; state Exp; branches; next 1.13; 1.13 date 2002.02.21.09.53.01; author alan; state Exp; branches; next 1.12; 1.12 date 2002.02.21.09.52.21; author alan; state Exp; branches; next 1.11; 1.11 date 2002.02.21.09.46.39; author alan; state Exp; branches; next 1.10; 1.10 date 2002.02.21.09.46.34; author alan; state Exp; branches; next 1.9; 1.9 date 2002.02.21.09.46.27; author alan; state Exp; branches; next 1.8; 1.8 date 2002.02.21.09.42.23; author alan; state Exp; branches; next 1.7; 1.7 date 2002.02.21.09.42.17; author alan; state Exp; branches; next 1.6; 1.6 date 2002.02.21.09.41.55; author alan; state Exp; branches; next 1.5; 1.5 date 2002.02.21.09.41.36; author alan; state Exp; branches; next 1.4; 1.4 date 2002.02.21.09.39.57; author alan; state Exp; branches; next 1.3; 1.3 date 2002.02.21.09.39.37; author alan; state Exp; branches; next 1.2; 1.2 date 2002.02.21.09.37.31; author alan; state Exp; branches; next 1.1; 1.1 date 2002.02.21.09.37.05; author alan; state Exp; branches; next ; desc @Updated @ 1.14 log @Updated @ text @phpide_Dialog_Generic(dirname(__FILE__) ."/about_dialog.glade"); foreach(array( "about", "credits", "changelog") as $btn) { $w = $this->widget->get_widget($btn); $w->connect("pressed", array(&$this,"callback_".$btn)); } } function show() { $this->callback_about(); $this->__show(); } function callback_about() { $this->show_file(APPDIR . "docs/about.txt"); } function callback_credits() { $this->show_file(APPDIR . "CREDITS"); } function callback_changelog() { $this->show_file(APPDIR . "ChangeLog"); } function show_file($filename) { $w = $this->widget->get_widget("display_text"); $w->delete_text(0,-1); $data = implode("",file($filename)); $w->insert_text($data,0); } } ?>@ 1.13 log @Updated @ text @d44 1 a44 1 } @ 1.12 log @Updated @ text @d30 1 a30 1 $this->show_file(APPDIR . "Changelog"); @ 1.11 log @Updated @ text @d17 2 a18 1 } d29 1 a29 1 function callback_credits() { @ 1.10 log @Updated @ text @d36 1 a36 4 } @ 1.9 log @Updated @ text @d26 1 a26 1 $this->show_file(APPDIR . "docs/CREDITS"); d29 1 a29 1 $this->show_file(APPDIR . "docs/Changelog"); @ 1.8 log @Updated @ text @d33 3 a35 2 $w-> @ 1.7 log @Updated @ text @d33 1 a33 1 @ 1.6 log @Updated @ text @d14 1 a14 1 $sw = $this->widget->get_widget($btn); d32 1 d34 3 @ 1.5 log @Updated @ text @d6 1 a6 1 function phpmole_about_dialog() { d31 2 a32 1 @ 1.4 log @Updated @ text @d17 13 a29 26 } function show($bookmarkid,$URL,$type) { $this->bookmarkid=$bookmarkid; $this->type =$type; $this->URL = $URL; $pos = strpos($this->URL,":"); $this->URI = substr($this->URL,0,$pos); if ($this->type == "dir") { $this->__show("create a new directory in\n$URL"); } else { $this->__show("create a new file in\n$URL"); } $this->text_entry->set_text(""); $this->text_entry->grab_focus(); } function ok_pressed() { global $application; $filename = $this->text_entry->get_text(); $errormessage = $application->transports->create_new( $this->bookmarkid,$this->URL,$this->type , $filename); if ($errormessage) { $application->dialogs["ok"]->show($errormessage); } $this->hide(); d32 4 a35 7 function key_pressed($widget,$event) { if ($event->keyval == 65293) if ($this->ok_pressed_callback) call_user_func($this->ok_pressed_callback); } @ 1.3 log @Updated @ text @d14 2 a15 10 $sw = $this-> $w->connect("pressed", array(&$this,"callback_".$btn $this->btn= $this->widget->get_widget("bookmark_type_combo"); $this->bookmark_type = $this->widget->get_widget("bookmark_type"); $this->text_entry = $this->widget->get_widget("text_entry"); $this->text_entry->connect("key_press_event", array(&$this,"key_pressed")); $this->ok_pressed_callback = array(&$this, "ok_pressed"); d17 1 a17 1 } @ 1.2 log @Updated @ text @d6 60 a65 1 @ 1.1 log @Updated @ text @d3 4 a6 1 class @ phpmole/dialogs/RCS/config_dialog_generic.class,v0000755000175000017500000004505407435374713022244 0ustar alanalan00000000000000head 1.40; access; symbols; locks; strict; comment @# @; 1.40 date 2002.02.22.07.56.54; author alan; state Exp; branches; next 1.39; 1.39 date 2002.02.22.07.20.21; author alan; state Exp; branches; next 1.38; 1.38 date 2002.02.22.07.20.12; author alan; state Exp; branches; next 1.37; 1.37 date 2002.02.22.07.19.38; author alan; state Exp; branches; next 1.36; 1.36 date 2002.02.22.07.19.34; author alan; state Exp; branches; next 1.35; 1.35 date 2002.02.22.07.19.00; author alan; state Exp; branches; next 1.34; 1.34 date 2002.02.22.07.18.59; author alan; state Exp; branches; next 1.33; 1.33 date 2002.02.22.07.13.40; author alan; state Exp; branches; next 1.32; 1.32 date 2002.02.22.07.05.57; author alan; state Exp; branches; next 1.31; 1.31 date 2002.02.22.07.05.43; author alan; state Exp; branches; next 1.30; 1.30 date 2002.02.22.07.00.53; author alan; state Exp; branches; next 1.29; 1.29 date 2002.02.22.07.00.27; author alan; state Exp; branches; next 1.28; 1.28 date 2002.02.22.06.56.23; author alan; state Exp; branches; next 1.27; 1.27 date 2002.02.22.06.56.05; author alan; state Exp; branches; next 1.26; 1.26 date 2002.02.22.06.55.23; author alan; state Exp; branches; next 1.25; 1.25 date 2002.02.22.06.48.26; author alan; state Exp; branches; next 1.24; 1.24 date 2002.02.22.06.48.08; author alan; state Exp; branches; next 1.23; 1.23 date 2002.02.22.06.47.59; author alan; state Exp; branches; next 1.22; 1.22 date 2002.02.22.06.47.41; author alan; state Exp; branches; next 1.21; 1.21 date 2002.02.22.06.30.59; author alan; state Exp; branches; next 1.20; 1.20 date 2002.02.22.06.30.12; author alan; state Exp; branches; next 1.19; 1.19 date 2002.02.22.06.30.10; author alan; state Exp; branches; next 1.18; 1.18 date 2002.02.22.06.29.51; author alan; state Exp; branches; next 1.17; 1.17 date 2002.02.22.06.29.00; author alan; state Exp; branches; next 1.16; 1.16 date 2002.02.22.06.00.15; author alan; state Exp; branches; next 1.15; 1.15 date 2002.02.22.05.29.34; author alan; state Exp; branches; next 1.14; 1.14 date 2002.02.22.05.22.56; author alan; state Exp; branches; next 1.13; 1.13 date 2002.02.22.05.19.39; author alan; state Exp; branches; next 1.12; 1.12 date 2002.02.22.05.19.22; author alan; state Exp; branches; next 1.11; 1.11 date 2002.02.22.05.19.14; author alan; state Exp; branches; next 1.10; 1.10 date 2002.02.22.05.18.41; author alan; state Exp; branches; next 1.9; 1.9 date 2002.02.22.05.17.30; author alan; state Exp; branches; next 1.8; 1.8 date 2002.02.22.05.17.07; author alan; state Exp; branches; next 1.7; 1.7 date 2002.02.22.05.16.17; author alan; state Exp; branches; next 1.6; 1.6 date 2002.02.22.05.08.15; author alan; state Exp; branches; next 1.5; 1.5 date 2002.02.22.05.01.44; author alan; state Exp; branches; next 1.4; 1.4 date 2002.02.22.05.01.29; author alan; state Exp; branches; next 1.3; 1.3 date 2002.02.22.04.50.55; author alan; state Exp; branches; next 1.2; 1.2 date 2002.02.22.04.50.53; author alan; state Exp; branches; next 1.1; 1.1 date 2002.02.22.04.49.50; author alan; state Exp; branches; next ; desc @Updated @ 1.40 log @Updated @ text @config_dialog_generic($glade,$config_array); $conf->btn_ok->connect("pressed",array(&$this,"update_config")); to display it: $conf->prefs = $current_config_array; $conf->show(); function update_config() { $new_config_array = $conf->get_results(); $conf->hide(); } */ class config_dialog_generic extends phpide_dialog_generic { var $prefs; // where stuff is stored and retrieved from function init($conf_array) { //$this->phpide_dialog_generic($glade); $prefs = $conf_array; foreach($prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $widget = $this->widget->get_widget($kname); if (!$widget) continue; switch (get_class($widget)) { case "GtkButton": $widget->connect_object_after('clicked', array(&$this,"select_font"), array($kname,$k)); break; case "GtkDrawingArea": $btn = $widget->parent; $btn->connect_object_after('button_press_event', array(&$this,"select_color"), $kname, $k); break; } } // actions //sub dialogs $this->dialog_font_select=$this->widget->get_widget("fontselectiondialog1"); $this->dialog_color_select=$this->widget->get_widget("colorselectiondialog1"); $this->dialog_color_select_widget=$this->dialog_color_select->colorsel; $this->btn_fontsel_ok=$this->widget->get_widget("fontsel_ok"); $this->btn_fontsel_cancel=$this->widget->get_widget("fontsel_cancel"); $this->btn_fontsel_ok->connect_object_after('clicked',array(&$this,"fontsel_ok")); $this->btn_fontsel_cancel->connect_object_after('clicked',array(&$this,"fontsel_cancel")); $this->btn_colorsel_ok=$this->widget->get_widget("colorsel_ok"); $this->btn_colorsel_cancel=$this->widget->get_widget("colorsel_cancel"); $this->btn_colorsel_ok->connect_object_after('clicked',array(&$this,"colorsel_ok")); $this->btn_colorsel_cancel->connect_object_after('clicked',array(&$this,"colorsel_cancel")); // my ok and cancel // defined in parent! //$this->btn_ok->connect_object_after('clicked',array(&$this,ok_pressed)); //echo "CONNECTING cancel"; $this->btn_cancel->connect_object_after('clicked',array(&$this,"hide")); } function show($prefs="") { if ($prefs) $this->prefs = $prefs; if (!$this->prefs) return; foreach($this->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->widget->get_widget($kname); if (!$widget) $widget = $this->widget->get_widget($kname2); if (!$widget) { //echo "NO WIDGET FOR $k"; continue; } switch (get_class($widget)) { case "GtkCheckButton": $vv=0; if ($v) $vv = 1; $widget->set_active($vv); break; case "GtkSpinButton": $widget->set_value($v); break; case "GtkButton": $this->set_fontname( $kname,$v); break; case "GtkDrawingArea": $this->set_buttoncolor($kname,$v); break; case "GtkRadioButton": $widget->set_active(0); break; case "GtkText": //$len = $widget->get_length(); $widget->delete_text(0,-1); $t = explode(" ", $v); asort($t); $tt = implode("\n", $t); $widget->insert_text($tt,0); break; } } $this->__show(); // $this->text_entry->set_text(""); // $this->text_entry->grab_focus(); } function set_buttoncolor($widgetname, $setting) { //echo $setting; $setting = substr("000000".dechex($setting),-6); $s = substr($setting,4,2) . substr($setting,2,2) . substr($setting,0,2); $setting = "#". $s; //echo "\nSETTING COLOR? $widgetname $setting"; $w = $this->widget->get_widget($widgetname); //echo serialize($w); $p = $w->parent; $p->set_sensitive(TRUE); $current_style=$w->get_style(); $new_style = $current_style->copy(); $new_style->bg[GTK_STATE_NORMAL]=new GdkColor($setting); $new_style->bg[GTK_STATE_NORMAL]=new GdkColor($setting); $w->set_style($new_style); $w->hide(); $w->show(); } function set_fontname($widgetname,$setting) { $b = $this->widget->get_widget($widgetname); $w = $b->child; $fontar = explode("-",$setting); $size = $fontar[7]; if ($size == "*") $size = $fontar[8]/10; $current_style=$w->get_style(); $new_style = $current_style->copy(); $new_style->font = gdk::font_load($setting); $w->set_style($new_style); $w->set_text("{$fontar[2]} ($size) {$fontar[3]}"); $b->set_sensitive(TRUE); } function select_font($a) { $fontar = explode("-",$this->prefs[$a[1]]); //echo serialize($fontar); if ($fontar[8] == "*") { $fontar[8] = $fontar[7]*10; $fontar[7] = "*"; } $fontname = implode("-",$fontar); //echo "SET" .$fontname; $this->dialog_font_select->set_font_name($fontname); $this->dialog_font_select->show(); $this->active_font_sel = $a[1]; $this->active_font_sel_widget = $a[0]; Gtk::grab_remove($this->window); Gtk::grab_add($this->dialog_font_select); } function fontsel_ok() { $this->prefs[$this->active_font_sel] = $this->dialog_font_select->get_font_name(); //echo "GOT " .$this->prefs[$this->active_font_sel]; $this->set_fontname($this->active_font_sel_widget,$this->prefs[$this->active_font_sel]); $this->dialog_font_select->hide(); Gtk::grab_remove($this->dialog_font_select); Gtk::grab_add($this->window); if (method_exists($this,"extend_font_change")) $this->extend_font_change($this->active_font_sel); } function fontsel_cancel() { $this->dialog_font_select->hide(); Gtk::grab_remove($this->dialog_font_select); Gtk::grab_add($this->window); } function select_color($e,$widgetname,$config_variable){ //echo "looking up prefs ". serialize($a)."\n"; $setting = substr("000000".dechex($this->prefs[$config_variable]),-6); $b = hexdec( substr($setting,0,2)) /256; $g = hexdec( substr($setting,2,2))/256; $r = hexdec( substr($setting,4,2))/256; $this->not_active_window = TRUE; $this->dialog_color_select_widget->set_color($r,$g,$b); $this->dialog_color_select->show(); $wi = $this->dialog_color_select->window; $wi->raise(); $this->active_color_sel = $config_variable; $this->active_color_sel_widget = $widgetname; Gtk::grab_remove($this->window); Gtk::grab_add($this->dialog_color_select); } function colorsel_ok() { $a = $this->dialog_color_select_widget->get_color(); echo "GOT " . serialize($a); $b = substr("00".dechex($a[2]*255),-2) . substr("00".dechex($a[1]*255),-2) . substr("00".dechex($a[0]*255),-2); //echo "XX " . $this->active_color_sel . " storing ($b) = ". hexdec($b) . "\n"; $this->prefs[$this->active_color_sel] = hexdec($b); $this->set_buttoncolor( $this->active_color_sel_widget, $this->prefs[$this->active_color_sel]); $this->dialog_color_select->hide(); Gtk::grab_remove($this->dialog_color_select); Gtk::grab_add($this->window); $this->not_active_window = FALSE; if (method_exists($this,"extend_color_change")) $this->extend_color_change($this->active_color_sel); } function colorsel_cancel() { $this->dialog_color_select->hide(); Gtk::grab_remove($this->dialog_color_select); Gtk::grab_add($this->window); $this->not_active_window = FALSE; } function get_results() { foreach($this->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->widget->get_widget($kname); if (!$widget) $widget = $this->widget->get_widget($kname2); switch (get_class($widget)) { case "GtkCheckButton": if (!$widget) continue; $this->prefs[$k] = $widget->get_active(); break; case "GtkSpinButton": if (!$widget) continue; $this->prefs[$k] = $widget->get_value_as_int(); break; case "GtkRadioButton": // now this is a bit more complex!!! $this->prefs[$k] = 0; // default it for ($i=0;$i<9;$i++) { echo "LOOKING FOR ".$kname . "_".sprintf("%01d",$i); $w = $this->widget->get_widget($kname . "_".sprintf("%01d",$i)); if (!$w) break; if (!$w->get_active()) continue; echo "SETTING!"; $this->prefs[$k] = $i; break; } break; case "GtkText": $s = $widget->get_chars(0,-1); $st = trim(str_replace("\n", " ", $s)); $this->prefs[$k] = $st; break; } } } } ?>@ 1.39 log @Updated @ text @d200 6 @ 1.38 log @Updated @ text @d279 1 a279 1 if (method_exists($this,extend_color_change)) @ 1.37 log @Updated @ text @d230 1 a230 1 if (method_exists($this,extend_font_change)) @ 1.36 log @Updated @ text @d171 1 a171 1 echo $setting; @ 1.35 log @Updated @ text @d177 1 a177 1 echo "\nSETTING COLOR? $widgetname $setting"; @ 1.34 log @Updated @ text @d180 1 a180 1 $p = $w->parent; @ 1.33 log @Updated @ text @d179 3 a181 1 //echo serialize($w); d189 1 a189 2 $p = $w->parent; $p->set_sensitive(TRUE); @ 1.32 log @Updated @ text @d200 1 a200 1 $w->set_sensitive(TRUE); @ 1.31 log @Updated @ text @d187 2 a188 1 $w->set_sensitive(TRUE); @ 1.30 log @Updated @ text @d187 1 a187 1 @ 1.29 log @Updated @ text @d191 1 @ 1.28 log @Updated @ text @d198 1 @ 1.27 log @Updated @ text @d276 1 a276 1 $this->extend_font_change($this->active_color_sel); @ 1.26 log @Updated @ text @d275 3 @ 1.25 log @Updated @ text @d226 3 @ 1.24 log @Updated @ text @d197 1 a197 1 $w->set_text("{$fontar[2]} ($size ) {$fontar[3]}"); @ 1.23 log @Updated @ text @d197 1 a197 1 $w->set_text({$fontar[2]} ($size ) {$fontar[3]}"); @ 1.22 log @Updated @ text @d197 1 a197 1 $w->set_text($fontar[2] ."(".$size.") $fontar[3]"); @ 1.21 log @Updated @ text @d197 1 a197 1 $w->set_text($fontar[2] ."(".$size.")"); @ 1.20 log @Updated @ text @d171 1 a171 1 @ 1.19 log @Updated @ text @d171 1 a171 1 echo $setting; @ 1.18 log @Updated @ text @d177 1 a177 1 echo "\nSETTING COLOR? $widgetname"; @ 1.17 log @Updated @ text @d177 1 a177 1 //echo "\nSETTING COLOR? $widgetname"; @ 1.16 log @Updated @ text @d171 1 @ 1.15 log @Updated @ text @d109 1 a109 1 echo "CONNECTING cancel"; d131 1 a131 1 echo "NO WIDGET FOR $k"; d176 1 a176 1 echo "\nSETTING COLOR? $widgetname"; d178 1 a178 1 echo serialize($w); @ 1.14 log @Updated @ text @d283 1 d286 3 a288 1 d318 1 @ 1.13 log @Updated @ text @d315 1 a315 1 $s = $widget->get_text(); @ 1.12 log @Updated @ text @d316 1 a316 1 $st = trim(str_replace("\n", " ", $s); @ 1.11 log @Updated @ text @d313 1 d320 1 a320 1 break; @ 1.10 log @Updated @ text @d315 3 @ 1.9 log @Updated @ text @d313 3 @ 1.8 log @Updated @ text @d156 2 a157 2 $a = asort($t); $tt = implode("\n", $a); @ 1.7 log @Updated @ text @d155 4 a158 1 $widget->insert_text($v,0); @ 1.6 log @Updated @ text @d153 2 a154 2 $len = $widget->get_length(); $widget->delete_text(0,$len); @ 1.5 log @Updated @ text @d130 4 a133 1 if (!$widget) continue; @ 1.4 log @Updated @ text @d303 1 @ 1.3 log @Updated @ text @d299 1 @ 1.2 log @Updated @ text @d311 1 a311 1 } @ 1.1 log @Updated @ text @d284 1 a284 1 //if (!$widget) continue; d286 1 a286 1 switch (get_class($widget)) { d288 3 a290 2 $this->prefs[$k] = $widget->get_active(); break; d292 3 a294 2 $this->prefs[$k] = $widget->get_value_as_int(); break; d297 10 a306 10 $this->prefs[$k] = 0; // default it for ($i=0;$i<9;$i++) { $w = $this->widget->get_widget($kname . "_".sprintf("%01d",$i)); if (!$w) break; if ($w->get_active()) $this->prefs[$k] = $i; } break; } @ phpmole/dialogs/phpmole.xpm0000755000175000017500000000564507444305602016227 0ustar alanalan00000000000000/* XPM */ static char * mgd_world_xpm[] = { "16 15 149 2", " c None", ". c #000000", "+ c #FFFFFF", "@ c #CDCDD0", "# c #C5C9D0", "$ c #DFE3EA", "% c #DEE2E9", "& c #DDE1E8", "* c #F0F4FB", "= c #EFF3FA", "- c #ECF0F7", "; c #EBEFF6", "> c #E1E5EC", ", c #E0E4EB", "' c #1D63D5", ") c #1D64D5", "! c #1D64D4", "~ c #1E65D4", "{ c #C0C5CD", "] c #1E66D3", "^ c #1E67D3", "/ c #1F68D2", "( c #1F69D2", "_ c #1F6AD1", ": c #206BD1", "< c #206CD0", "[ c #D0D5DC", "} c #216ECF", "| c #2170CE", "1 c #2271CD", "2 c #2272CC", "3 c #2273CC", "4 c #2373CC", "5 c #4579B1", "6 c #5D8ABC", "7 c #2375CB", "8 c #2376CB", "9 c #2477CA", "0 c #4378B0", "a c #4677A8", "b c #44709B", "c c #5181B1", "d c #5580AC", "e c #5E84AA", "f c #879DB4", "g c #8E9CAA", "h c #A8B2BC", "i c #2478C9", "j c #257BC7", "k c #2D6FAD", "l c #2D6FAB", "m c #4B79A5", "n c #6286A7", "o c #7391AC", "p c #758EA5", "q c #758DA4", "r c #A8B3BD", "s c #267DC6", "t c #2D6FA9", "u c #B3C5D4", "v c #57A5BD", "w c #52AEC5", "x c #50A9BA", "y c #4D8A90", "z c #5EBABA", "A c #5DB6B1", "B c #5EB4AF", "C c #A7B3B0", "D c #68BEA6", "E c #6EBEA4", "F c #72BF9F", "G c #76BF9C", "H c #76BF9B", "I c #79C095", "J c #7DC296", "K c #7DC194", "L c #80C193", "M c #8FCE94", "N c #AFB4AF", "O c #8AC388", "P c #8CC289", "Q c #8DC384", "R c #92C481", "S c #91C381", "T c #9BC578", "U c #9EC771", "V c #9EC474", "W c #A0C573", "X c #A7CB74", "Y c #A2C672", "Z c #B0D272", "` c #AAC86A", " . c #66714E", ".. c #B1C861", "+. c #B1C964", "@. c #B0C85A", "#. c #B4CA60", "$. c #A5B369", "%. c #BACB59", "&. c #B8CA5D", "*. c #BBCA5A", "=. c #C1CE4A", "-. c #C2CD52", ";. c #C7CD4D", ">. c #CBCE48", ",. c #CACE4A", "'. c #D9D739", "). c #D3D33B", "!. c #BFBFAC", "~. c #D4D03D", "{. c #D6D346", "]. c #E7DF2E", "^. c #D8D038", "/. c #FFE70C", "(. c #F8E322", "_. c #E7D32C", ":. c #A7A69D", "<. c #E7E6DD", "[. c #ECD427", "}. c #E8D22B", "|. c #FFDA04", "1. c #FFDA06", "2. c #FFD908", "3. c #FFD909", "4. c #FFD90A", "5. c #F9D716", "6. c #F8D61B", "7. c #F3D61A", "8. c #9E955D", "9. c #FFD809", "0. c #FFD80D", "a. c #FFD90D", "b. c #FFD80F", "c. c #FFD810", "d. c #E2BE0F", "e. c #FFD712", "f. c #FFD813", "g. c #FFD614", "h. c #FFD714", "i. c #FFD615", "j. c #FFD616", "k. c #FAD616", "l. c #FFD617", "m. c #FFD618", "n. c #FFD619", "o. c #F9D619", "p. c #B5A037", "q. c #918146", "r. c #BEB180", " ", " ", " <.i j j 6 * ", " ; {.w < ^ Q A ' a ", " N Z @.S ` U =.] ' ; ", " f ~ | P b.l.o.c.] ' c ", " 5 ' 4 } a.m.g.3.) ) | ", " l ! ' ( 7.0.6.;.' ] y ", " j ' ' ' R _.>.j ] H p. ", " p ' ' ' _ F ~.#.O }.8. ", " = q ) ' ' ' : : < '.> ", " , ' ! ' ' ' ' } . ", " - h 9 k j m $ ", " ", " "}; phpmole/dialogs/ok_cancel_dialog.glade0000644000175000017500000000573607415357062020273 0ustar alanalan00000000000000 ok_cancel_dialog ok_cancel_dialog src pixmaps C False False False False False False GtkDialog window False Ok / Cancel GTK_WINDOW_DIALOG GTK_WIN_POS_CENTER True True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_SPREAD 8 85 27 7 0 0 True True GtkButton OK True True GTK_RELIEF_NORMAL GtkButton cancel True True GTK_RELIEF_NORMAL GtkVBox vbox 44 False 8 0 True True GtkLabel info GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 True False GtkHSeparator hseparator1 0 False True phpmole/dialogs/ok_dialog.glade0000644000175000017500000000537607415357062016766 0ustar alanalan00000000000000 ok_dialog ok_dialog src pixmaps C False False False False False False GtkDialog window False OK? GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE True True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_SPREAD 8 85 27 7 0 0 True True GtkButton OK True True GTK_RELIEF_NORMAL GtkVBox vbox1 32 False 8 0 True True GtkLabel info GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 True False GtkHSeparator hseparator1 0 False True phpmole/dialogs/config_dialog_generic.class0000755000175000017500000003000607621210365021327 0ustar alanalan00000000000000config_dialog_generic($glade,$config_array); $conf->btn_ok->connect("pressed",array(&$this,"update_config")); to display it: $conf->prefs = $current_config_array; $conf->show(); function update_config() { $new_config_array = $conf->get_results(); $conf->hide(); } */ class config_dialog_generic extends phpide_dialog_generic { var $prefs; // where stuff is stored and retrieved from function init($conf_array) { //$this->phpide_dialog_generic($glade); $prefs = $conf_array; foreach($prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $widget = $this->widget->get_widget($kname); if (!$widget) continue; switch (get_class($widget)) { case "GtkButton": $widget->connect_object_after('clicked', array(&$this,"select_font"), array($kname,$k)); break; case "GtkDrawingArea": $btn = $widget->parent; $btn->connect_object_after('button_press_event', array(&$this,"select_color"), $kname, $k); break; } } // actions //sub dialogs $this->dialog_font_select=$this->widget->get_widget("fontselectiondialog1"); $this->dialog_color_select=$this->widget->get_widget("colorselectiondialog1"); $this->dialog_color_select_widget=$this->dialog_color_select->colorsel; $this->btn_fontsel_ok=$this->widget->get_widget("fontsel_ok"); $this->btn_fontsel_cancel=$this->widget->get_widget("fontsel_cancel"); $this->btn_fontsel_ok->connect_object_after('clicked',array(&$this,"fontsel_ok")); $this->btn_fontsel_cancel->connect_object_after('clicked',array(&$this,"fontsel_cancel")); $this->btn_colorsel_ok=$this->widget->get_widget("colorsel_ok"); $this->btn_colorsel_cancel=$this->widget->get_widget("colorsel_cancel"); $this->btn_colorsel_ok->connect_object_after('clicked',array(&$this,"colorsel_ok")); $this->btn_colorsel_cancel->connect_object_after('clicked',array(&$this,"colorsel_cancel")); // my ok and cancel // defined in parent! //$this->btn_ok->connect_object_after('clicked',array(&$this,ok_pressed)); //echo "CONNECTING cancel"; $this->btn_cancel->connect_object_after('clicked',array(&$this,"hide")); } function show($prefs="") { if ($prefs) $this->prefs = $prefs; if (!$this->prefs) return; foreach($this->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->widget->get_widget($kname); if (!$widget) $widget = $this->widget->get_widget($kname2); if (!$widget) { //echo "NO WIDGET FOR $k"; continue; } switch (get_class($widget)) { case "GtkCheckButton": $vv=0; if ($v) $vv = 1; $widget->set_active($vv); break; case "GtkSpinButton": $widget->set_value($v); break; case "GtkButton": $this->set_fontname( $kname,$v); break; case "GtkDrawingArea": $this->set_buttoncolor($kname,$v); break; case "GtkRadioButton": $widget->set_active(0); break; case "GtkText": //$len = $widget->get_length(); $widget->delete_text(0,-1); $t = explode(" ", $v); asort($t); $tt = implode("\n", $t); $widget->insert_text($tt,0); break; } } $this->__show(); // $this->text_entry->set_text(""); // $this->text_entry->grab_focus(); } function winFont($font) { if (substr(PHP_OS, 0, 3) == 'WIN') { return 'Arial'; } return $font; } function set_buttoncolor($widgetname, $setting) { //echo $setting; $setting = substr("000000".dechex($setting),-6); $s = substr($setting,4,2) . substr($setting,2,2) . substr($setting,0,2); $setting = "#". $s; //echo "\nSETTING COLOR? $widgetname $setting"; $w = $this->widget->get_widget($widgetname); //echo serialize($w); $p = $w->parent; $p->set_sensitive(TRUE); $current_style=$w->get_style(); $new_style = $current_style->copy(); $new_style->bg[GTK_STATE_NORMAL]=new GdkColor($setting); $new_style->bg[GTK_STATE_NORMAL]=new GdkColor($setting); $w->set_style($new_style); $w->hide(); $w->show(); } function set_fontname($widgetname,$setting) { $b = $this->widget->get_widget($widgetname); $w = $b->child; $fontar = explode("-",$setting); $size = $fontar[7]; if ($size == "*") $size = $fontar[8]/10; if (substr(PHP_OS, 0, 3) != 'WIN') { $current_style=$w->get_style(); $new_style = $current_style->copy(); $new_style->font = gdk::font_load($setting); $w->set_style($new_style); } $w->set_text("{$fontar[2]} ($size) {$fontar[3]}"); $b->set_sensitive(TRUE); } function select_font($a) { $fontar = explode("-",$this->prefs[$a[1]]); //echo serialize($fontar); if ($fontar[8] == "*") { $fontar[8] = $fontar[7]*10; $fontar[7] = "*"; } $fontname = implode("-",$fontar); //echo "SET" .$fontname; $this->dialog_font_select->set_font_name($fontname); $this->dialog_font_select->show(); $this->active_font_sel = $a[1]; $this->active_font_sel_widget = $a[0]; Gtk::grab_remove($this->window); Gtk::grab_add($this->dialog_font_select); } function fontsel_ok() { $this->prefs[$this->active_font_sel] = $this->dialog_font_select->get_font_name(); //echo "GOT " .$this->prefs[$this->active_font_sel]; $this->set_fontname($this->active_font_sel_widget,$this->prefs[$this->active_font_sel]); $this->dialog_font_select->hide(); Gtk::grab_remove($this->dialog_font_select); Gtk::grab_add($this->window); if (method_exists($this,"extend_font_change")) $this->extend_font_change($this->active_font_sel); } function fontsel_cancel() { $this->dialog_font_select->hide(); Gtk::grab_remove($this->dialog_font_select); Gtk::grab_add($this->window); } function select_color($e,$widgetname,$config_variable){ //echo "looking up prefs ". serialize($a)."\n"; $setting = substr("000000".dechex($this->prefs[$config_variable]),-6); $b = hexdec( substr($setting,0,2)) /256; $g = hexdec( substr($setting,2,2))/256; $r = hexdec( substr($setting,4,2))/256; $this->not_active_window = TRUE; $this->dialog_color_select_widget->set_color($r,$g,$b); $this->dialog_color_select->show(); $wi = $this->dialog_color_select->window; $wi->raise(); $this->active_color_sel = $config_variable; $this->active_color_sel_widget = $widgetname; Gtk::grab_remove($this->window); Gtk::grab_add($this->dialog_color_select); } function colorsel_ok() { $a = $this->dialog_color_select_widget->get_color(); echo "GOT " . serialize($a); $b = substr("00".dechex($a[2]*255),-2) . substr("00".dechex($a[1]*255),-2) . substr("00".dechex($a[0]*255),-2); //echo "XX " . $this->active_color_sel . " storing ($b) = ". hexdec($b) . "\n"; $this->prefs[$this->active_color_sel] = hexdec($b); $this->set_buttoncolor( $this->active_color_sel_widget, $this->prefs[$this->active_color_sel]); $this->dialog_color_select->hide(); Gtk::grab_remove($this->dialog_color_select); Gtk::grab_add($this->window); $this->not_active_window = FALSE; if (method_exists($this,"extend_color_change")) $this->extend_color_change($this->active_color_sel); } function colorsel_cancel() { $this->dialog_color_select->hide(); Gtk::grab_remove($this->dialog_color_select); Gtk::grab_add($this->window); $this->not_active_window = FALSE; } function get_results() { foreach($this->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->widget->get_widget($kname); if (!$widget) $widget = $this->widget->get_widget($kname2); switch (get_class($widget)) { case "GtkCheckButton": if (!$widget) continue; $this->prefs[$k] = $widget->get_active(); break; case "GtkSpinButton": if (!$widget) continue; $this->prefs[$k] = $widget->get_value_as_int(); break; case "GtkRadioButton": // now this is a bit more complex!!! $this->prefs[$k] = 0; // default it for ($i=0;$i<9;$i++) { echo "LOOKING FOR ".$kname . "_".sprintf("%01d",$i); $w = $this->widget->get_widget($kname . "_".sprintf("%01d",$i)); if (!$w) break; if (!$w->get_active()) continue; echo "SETTING!"; $this->prefs[$k] = $i; break; } break; case "GtkText": $s = $widget->get_chars(0,-1); $st = trim(str_replace("\n", " ", $s)); $this->prefs[$k] = $st; break; } } } } ?>phpmole/dialogs/password_entry_dialog.glade0000644000175000017500000000607307416046127021431 0ustar alanalan00000000000000 password_entry_dialog password_entry_dialog src pixmaps C True GtkDialog window False Enter Password GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE True True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_SPREAD 8 85 27 7 0 0 True True GtkButton OK True True GTK_RELIEF_NORMAL GtkButton cancel True True GTK_RELIEF_NORMAL GtkVBox vbox1 18 False 8 0 True True GtkLabel info GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 True False GtkHSeparator hseparator1 0 False True GtkEntry text_entry True True False 0 0 False False phpmole/dialogs/phpmole_new_file_dialog.class0000755000175000017500000000505507433100741021705 0ustar alanalan00000000000000phpide_Dialog_Generic(dirname(__FILE__) ."/text_entry_dialog.glade"); $this->bookmark_type_combo = $this->widget->get_widget("bookmark_type_combo"); $this->bookmark_type = $this->widget->get_widget("bookmark_type"); $this->text_entry = $this->widget->get_widget("text_entry"); $this->text_entry->connect("key_press_event", array(&$this,"key_pressed")); $this->ok_pressed_callback = array(&$this, "ok_pressed"); } function show($bookmarkid,$URL,$type) { $this->bookmarkid=$bookmarkid; $this->type =$type; $this->URL = $URL; $pos = strpos($this->URL,":"); $this->URI = substr($this->URL,0,$pos); if ($this->type == "dir") { $this->__show("create a new directory in\n$URL"); } else { $this->__show("create a new file in\n$URL"); } $this->text_entry->set_text(""); $this->text_entry->grab_focus(); } function ok_pressed() { global $application; $filename = $this->text_entry->get_text(); $errormessage = $application->transports->create_new( $this->bookmarkid,$this->URL,$this->type , $filename); if ($errormessage) { $application->dialogs["ok"]->show($errormessage); } $this->hide(); } function key_pressed($widget,$event) { if ($event->keyval == 65293) if ($this->ok_pressed_callback) call_user_func($this->ok_pressed_callback); } } ?>phpmole/dialogs/phpmole_password_dialog.class0000755000175000017500000000320507433100741021752 0ustar alanalan00000000000000phpide_Dialog_Generic(dirname(__FILE__)."/password_entry_dialog.glade"); $this->text_entry = $this->widget->get_widget("text_entry"); $this->text_entry->connect("key_press_event", array(&$this,"key_pressed")); } function show($string) { $this->text_entry->set_text(""); $this->text_entry->grab_focus(); $this->__show($string); } function key_pressed($widget,$event) { if ($event->keyval == 65293) if ($this->ok_pressed_callback) call_user_func($this->ok_pressed_callback); } } ?> phpmole/dialogs/progress_dialog.glade0000644000175000017500000000670407416206314020207 0ustar alanalan00000000000000 progress_dialog progress_dialog src pixmaps C True False False False False False GtkDialog window False Progress GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE True True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_SPREAD 8 85 27 7 0 0 True True GtkButton OK True True GTK_RELIEF_NORMAL GtkButton cancel True True GTK_RELIEF_NORMAL GtkVBox vbox1 18 False 8 0 True True GtkLabel info GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 True False GtkHSeparator hseparator1 0 False True GtkProgressBar progress 0 0 100 GTK_PROGRESS_CONTINUOUS GTK_PROGRESS_LEFT_TO_RIGHT False False %P %% 0.5 0.5 0 False False phpmole/dialogs/text_entry_dialog.glade0000755000175000017500000000552007415357062020554 0ustar alanalan00000000000000 text_entry_dialog text_entry_dialog src pixmaps C False False False False False False GtkWindow window 13 False Confirm GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False True True True GtkVBox vbox1 False 8 GtkHButtonBox GnomeDialog:action_area hbuttonbox1 GTK_BUTTONBOX_END 8 85 27 7 0 0 False True GTK_PACK_END GtkButton OK True True GTK_RELIEF_NORMAL GtkButton cancel True True GTK_RELIEF_NORMAL GtkLabel info GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 True False GtkHSeparator hseparator1 0 False True GtkEntry text_entry True True True 0 0 False False phpmole/dialogs/phpide.class0000755000175000017500000006510107621207633016330 0ustar alanalan00000000000000check_php_modules(); $this->prefs = &new phpmole_prefs; $this->prefs->load(APPDIR . "config/Preferences"); $this->prefs->load_user_prefs(); $class = "GladeXML"; if (substr(PHP_OS, 0, 3) == 'WIN') $class = "phpglade"; $this->glade = &new $class(APPDIR .'glade/phpide.glade'); $this->langs = &new phpide_languages(); $this->transports = &new phpide_transports(); $this->module_manager = &new phpide_modules(); /* standard dialogs */ $this->dialogs["ok"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/ok_dialog.glade"); $this->dialogs["ok_cancel"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/ok_cancel_dialog.glade"); $this->dialogs["yes_no"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/yes_no_dialog.glade"); $this->dialogs["password"] = &new phpmole_password_dialog(); $this->dialogs["new_file"] = &new phpmole_new_file_dialog(); $this->dialogs["config"] = &new phpmole_config_dialog(); $this->dialogs["about"] = &new phpmole_about_dialog(); // GLOBAL VARS $gx,$window,$nb,$bookmark_tree $this->window = $this->glade->get_widget("winMain"); //$this->window->connect('destroy', array(&$this,'quit')); $this->window->connect('delete-event', array(&$this,'quit')); $this->window->connect('configure_event', array(&$this,'callback_configure_event')); // glade bug hack $tb = $this->glade->get_widget("maintoolbar"); $tb->set_button_relief(GTK_RELIEF_NONE); // Window Resizing $w=600;$h=450; $x=0;$y=0; if ($this->prefs->get("geometry/save_win_size")) { $w = $this->prefs->get("geometry/width"); $h = $this->prefs->get("geometry/height"); $x = $this->prefs->get("geometry/position_x"); $y = $this->prefs->get("geometry/position_y"); } $this->window->set_default_size($w,$h); if ($x & $y) $this->window->set_uposition($x,$y); if (!$this->_error_message) $this->window->show(); // $this->window->connect("configure_event", array(&$this,"window_resized")); // hide show the buttons etc. $this->document_items_sensitive = 1; $this->bind_auto_text_items(); $this->disable_document_items(); $this->rebuild_recent(); // Which layout if (!$this->prefs->get("geometry/layout")) $this->prefs->set("geometry/layout","1"); $this->window->set_title( APPNAME ); $this->layout_holder = $this->glade->get_widget("layout_holder"); // Load the interface if (file_exists(APPDIR ."glade/interface_". $this->prefs->get("geometry/layout"). ".glade")) { $this->interface_glade = &new GladeXML(APPDIR ."glade/interface_". $this->prefs->get("geometry/layout"). ".glade"); } else { $this->interface_glade = &new GladeXML(APPDIR ."glade/interface_1.glade"); } $interface_window = $this->interface_glade->get_widget("window"); $this->interface = $this->interface_glade->get_widget("interface"); $interface_window->remove($this->interface); $this->layout_holder->add($this->interface); //$this->drag_window = &new GtkWindow(GTK_WINDOW_POPUP); $this->edit_pane = $this->interface_glade->get_widget("edit_pane"); $this->edit_pane_parent = $this->interface_glade->get_widget("edit_pane_parent"); $this->editor_frame_event = $this->interface_glade->get_widget("editor_frame_event"); $this->module_frame = $this->interface_glade->get_widget("module_frame"); $this->module_frame_event = $this->interface_glade->get_widget("module_frame_event"); $this->module_frame_event->connect("button_press_event", array(&$this,"free_module_frame")); $this->module_frame_visable = 1; if ($this->prefs->get("geometry/hide_module_frame")) { $this->hide_module_frame(); } else { $this->show_module_frame(); } if ($this->prefs->get("geometry/hide_tree_frame")) { $this->hide_tree_frame(); } else { $this->show_tree_frame(); } $this->module_manager->load(); $this->bind_actions(); //gtk::timeout_add(15000, 'dummy_timer'); Gtk::main(); } function bind_actions() { $menu_handlers = array( "on_winMain_draw", "on_new_bookmark_activate", // new Project "on_new_activate", "on_open_file_activate", "on_open_previous1_activate", "on_save_activate", "on_save_as_activate", "on_reload_activate", "on_close_activate", "on_close_all_activate", "on_undo", "on_redo", "on_cut", "on_copy", "on_paste", "on_select_all", "on_find_activate", "on_find_again_activate", "on_replace_activate", "on_configuration_activate", "on_scintilla_config", "on_language_settings_activate", "on_show_white_space_activate", "on_show_line_breaks_activate", "on_complete_word_activate", "on_help_php_gtk_activate", "on_help_php_activate", "on_help_gtk_activate", "on_phpmole_home_page_activate", "on_report_or_view_bugs_activate", "on_Run_clicked" ); $obj = array(&$this->module_manager,"menu_emit"); foreach($menu_handlers as $menu_handler) $this->glade->signal_connect_object( $menu_handler , $obj ,$menu_handler); /* locally handled */ foreach( array( "configuration", "view_module_frame", "view_tree_frame", "about", "goto_line_key_press", "find_box_key_press", "open_file", "open_newfile", "save_all" ) as $menu_handler) { $obj = array(&$this,$menu_handler."_activate"); $this->glade->signal_connect( "on_".$menu_handler."_activate",$obj ); } $obj = array(&$this,"quit"); $this->glade->signal_connect_object( "on_exit_activate", $obj); } /* AUTO TEXT */ function bind_auto_text_items() { if (!file_exists(APPDIR . "autotext")) return; $dh = opendir(APPDIR . "autotext"); while (($file = readdir($dh)) !== FALSE) { if ($file{0} == ".") continue; if (is_dir(APPDIR . "autotext/{$file}")) continue; $this->bind_auto_text($file); } } function bind_auto_text($filename) { $lines = file(APPDIR."autotext/$filename"); $label = trim($lines[0]); $base = $this->glade->get_widget("auto_text_menu"); $this->extra_document_items[$filename] = &new GtkMenuItem($label); $this->extra_document_items[$filename]->show(); $this->extra_document_items[$filename]->connect_object('activate', array(&$this,"add_auto_text"),$filename); $base->append($this->extra_document_items[$filename]); } function add_auto_text($filename) { // whats the active document? $lines = file(APPDIR."autotext/$filename"); $lines[0] = ''; $this->module_manager->send_to_editor('insert_text', implode('',$lines)); } function configuration_activate() { $this->dialogs["config"]->show(); } function load_document($bookmarkid, $URL,$force=NULL) { // ask the document manager to load the file //echo "\nCALLING LOAD $bookmarkid, $URL\n"; $this->add_to_recent($URL); $this->transports->load_document($bookmarkid, $URL,$force); $this->langs->load_document($bookmarkid, $URL); $this->window->set_title( APPNAME . " - " . $URL); //$this->langs->parse($bookmarkid, $URL); // then loop through the modules //echo "CHECKING FOR DATA?\n"; if (@$this->transports->documents[$URL]) $this->enable_document_items(); $this->module_manager->load_document($bookmarkid, $URL,$force); } function add_to_recent($URL) { $ar = $this->prefs->get_array("history/recent"); if (in_array($URL,$ar)) return; $ar[] = $URL; $this->prefs->set_array("history/recent",$ar); $remove_list = $this->prefs->prune_array( "history/recent", $this->prefs->get("history/mru_size")); foreach($remove_list as $rURL) if (@$this->recent_items[$rURL] && ($rURL != $URL)) { $this->recent_items[$rURL]->destroy(); unset($this->recent_items[$rURL]); } $this->prefs->save_user_prefs(); $this->add_recent_item($URL); } function add_recent_item($URL) { if (@$this->recent_items[$URL]) return; $base = $this->glade->get_widget("open_recent_menu"); $this->recent_items[$URL] = &new GtkMenuItem($URL); $this->recent_items[$URL]->show(); $this->recent_items[$URL]->connect_object('activate', array(&$this,"load_document"),-1,$URL); $base->append($this->recent_items[$URL]); } function rebuild_recent() { $ar = $this->prefs->get_array("history/recent"); foreach($ar as $k=>$URL) $this->add_recent_item($URL); } function save_document() { // ask the document manager to load the file // then loop through the modules //echo "ATTEMPTING TO SAVE"; $URLar = $this->module_manager->broadcast_get("get_active_document"); if (!$URLar) return; list($bookmarkid, $URL) = $URLar; $this->module_manager->broadcast("save_document",array($bookmarkid, $URL)); $this->transports->save_document($bookmarkid, $URL); $this->langs->parse($bookmarkid, $URL); $this->module_manager->broadcast("post_save_document",array($bookmarkid, $URL)); } function reload_document() { $URLar = $this->module_manager->get_active_document(); if (!$URLar) return; echo "RELOAD DOC " . serialize($URLar); list($bookmarkid, $URL) = $URLar; $this->load_document($bookmarkid, $URL,1); } function save_all_activate() { $ar = $this->module_manager->broadcast_get("get_all_documents"); for ($i=0;$i< count($ar); $i++) { list($bookmarkid,$URL) = $ar[$i]; echo "SAVING $bookmarkid,$URL\n"; $this->module_manager->broadcast("save_document",array($bookmarkid, $URL)); $this->transports->save_document($bookmarkid, $URL); $this->langs->parse($bookmarkid, $URL); $this->module_manager->broadcast("post_save_document",array($bookmarkid, $URL)); } } function dummy_timer () { // echo "AutoSave!??\n"; $dat = getrusage(); foreach ($dat as $k => $v) //echo "$k => $v \n"; //echo "\n\n"; return true; } /* Breaking and freeing of the module area - Note : this is not really how this should be done. the modular design is supposed to mean that you should not show/hide elements, but rather flip to another interface design- - this involves removing all the interface elements from the interface and reloading them into the new interface. */ function free_module_frame($widget,$event) { return; // not ready yet! $this->break_apart_edit_page(); $this->edit_pane_parent->add($this->editor_frame_event); $this->editor_frame_event->show(); $this->module_window = &new GtkWindow(GTK_WINDOW_DIALOG); $this->module_window->add($this->module_frame); $this->module_window->show(); $this->module_frame->show(); //$this->module_frame_event->add($this->module_frame); } function break_apart_edit_pane() { $this->editor_frame_event->hide(); $this->edit_pane->hide(); $this->edit_pane->remove($this->editor_frame_event); $this->edit_pane_parent->remove($this->edit_pane); $this->module_frame->hide(); $this->module_frame_event->hide(); $this->module_frame_event->remove($this->module_frame); } function rebuild_edit_pane() { $this->module_frame_event->add($this->module_frame); $this->module_frame_event->show(); $this->module_frame->show(); $this->edit_pane_parent->add($this->edit_pane); $this->edit_pane->add($this->editor_frame_event); $this->edit_pane->show(); $this->editor_frame_event->show(); } function hide_module_frame() { $this->toggle_active("btn_view_module_frame", FALSE); $this->toggle_active("menu_view_module_frame", FALSE); $this->prefs->set("geometry/hide_module_frame", 1); if (!$this->module_frame_visable) return; $this->module_frame_visable = 0; $this->break_apart_edit_pane(); $this->edit_pane_parent->add($this->editor_frame_event); $this->editor_frame_event->show(); //$this->module_frame->hide(); //$this->edit_pane->set_position( $this->window->allocation->height ); } function show_module_frame() { $this->toggle_active("btn_view_module_frame", TRUE); $this->toggle_active("menu_view_module_frame", TRUE); $this->prefs->set("geometry/hide_module_frame", 0); if ($this->module_frame_visable) return; $this->module_frame_visable = 1; $this->editor_frame_event->hide(); $this->edit_pane_parent->remove($this->editor_frame_event); $this->rebuild_edit_pane(); //echo "SHOW SETTING TO TRUE"; //$this->module_frame->show(); //$this->edit_pane->set_position( $this->window->allocation->height / 2 ); } function view_module_frame_activate($widget) { if (@$this->in_module_showhide) return; $this->in_module_showhide=1; $pref = (int) $this->prefs->get("geometry/hide_module_frame"); if (!$pref) { $this->hide_module_frame(); } else { $this->show_module_frame(); } $this->in_module_showhide=0; } function hide_tree_frame() { $this->toggle_active("btn_view_tree_frame",TRUE); $this->toggle_active("menu_view_tree_frame", TRUE); $w = $this->interface_glade->get_widget("interface"); $w->set_position( 200 ); } function show_tree_frame() { $this->toggle_active("btn_view_tree_frame", FALSE); $this->toggle_active("menu_view_tree_frame", FALSE); $w = $this->interface_glade->get_widget("interface"); $w->set_position( 0 ); } function toggle_active($widgetname, $value) { $w = $this->glade->get_widget($widgetname); if (!$w) return; //echo "SET: $widgetname $value"; $w->set_active($value); } function get_active($widgetname) { $w = $this->glade->get_widget($widgetname); if (!$w) return; //echo "SET: $widgetname $value"; return $w->active; } function view_tree_frame_activate($widget) { if (@$this->in_tree_showhide) return; $this->in_tree_showhide =1; $pref = (int) $this->prefs->get("geometry/hide_tree_frame"); $this->prefs->set("geometry/hide_tree_frame", !$pref); if (!$pref) { $this->hide_tree_frame(); } else { $this->show_tree_frame(); } $this->in_tree_showhide =0; } var $document_items = array( "save_as", "save_all", "close_all", "menu_close", "menu_undo", "menu_redo", "menu_cut", "menu_copy", "menu_paste", "menu_select_all", "menu_find", "menu_find_again", "menu_replace", "menu_find_again", "comment_code", "uncomment_code", "autocomplete", "show_white_space", "show_line_breaks", "show_folding", "change_language", "btnSave", "btnSaveAll", "btnClose", "btnReload", "btnUndo", "btnRedo", "btnRun", "btnRedo", "find_box", "btnSearch", "goto_line" //"btnRun", ); function disable_document_items() { if (!$this->document_items_sensitive) return; $this->document_items_sensitive = 0; $this->document_set_sensitive(FALSE); } function enable_document_items() { if ($this->document_items_sensitive) return; $this->document_items_sensitive = 1; $this->document_set_sensitive(TRUE); } var $extra_document_items = array(); // associative array of extra widgets that are frozen when no document is open function document_set_sensitive($value) { foreach($this->document_items as $widgetname) { $w = $this->glade->get_widget($widgetname); $w->set_sensitive($value); } foreach($this->extra_document_items as $widgetname=>$w) $w->set_sensitive($value); } function about_activate() { $this->dialogs["about"]->show(); } /* *--------------------------------------------------- * CALLBACKS *--------------------------------------------------- */ function goto_line_key_press_activate($widget,$event) { if($event->keyval==GDK_KEY_Return) $this->module_manager->broadcast("goto_line",$widget->get_text()); } function find_box_key_press_activate($widget,$event) { if($event->keyval==GDK_KEY_Return) $this->module_manager->broadcast("search_ok_pressed",$widget->get_text()); } function open_newfile_activate($widget) { $this->open_file_activate(NULL, "Create A New File"); } function open_file_activate($widget,$title = "Open File") { $dialog = &new GtkFileSelection($title); if ($path = getenv("HOME")) $dialog->set_filename($path."/"); $ok = $dialog->ok_button; $ok->connect("pressed", array(&$this, "open_file_ok_pressed"), $dialog); $cancel = $dialog->cancel_button; $cancel->connect_object("pressed", array(&$dialog, "destroy")); $dialog->show(); } function open_file_ok_pressed($widget,&$window) { $f = $window->get_filename(); $window->destroy(); if (!$f || (substr($f, -1) == "/")) { $this->dialogs["ok"]->show("Invalid file specified: $f"); return; } $url = "file:$f"; $bm = $this->module_manager->broadcast("get_bookmark_from_url", $url); $this->load_document($bm, $url); } function quit() { if ( $this->prefs->get( "geometry/save_win_size" ) ) { $this->prefs->set( "geometry/width", $this->window->allocation->width ); $this->prefs->set( "geometry/height", $this->window->allocation->height ); $this->prefs->set( "geometry/position_x",$this->window->window->x); $this->prefs->set( "geometry/position_y", $this->window->window->y ); } $this->prefs->save_user_prefs(); gtk::main_quit(); echo "QUIT"; exit; } function callback_configure_event($window) { $w = $window->window; list($pixmap,$mask) = Gdk::pixmap_create_from_xpm($w, NULL, dirname(__FILE__).'/phpmole.xpm'); $w->set_icon($w, $pixmap,$mask); } /* *--------------------------------------------------- * Check modules have loaded *--------------------------------------------------- */ function check_php_modules() { $modules = array( "dba" => array("dba_open", "the DBA extension is recommend for the help system, as it is faster than parsing the xml files"), "xml" => array("xml_parser_create", "XML extension is used in the help browser to read dev help xml files if you do not have the dba module"), "imagick" => array("imagick_create", "The Image Magick extension is used to resize images for thumbnails etc. more information is available is available on the pear website (PECL) http://pear.php.net/manual/en/pecl.imagick.php"), "pcntl" => array("pcntl_fork", "The pcntl extension is used by the 'run button' to start fork processes in the background"), "sockets" => array("socket_connect", "The socket extension is used to connect to the debuggers"), "curl" => array("curl_close", "The curl extension is used by the help viewer and the midgard backend"), "imap" => array("imap_open", "The imap extension is used by the experimental imap transport (for reading emails), dont worry about it, unless you plan hacking phpmoles imap transport"), "mysql" => array("mysql_connect", "The mysql extension is used by the experimental database transport (although it should support any database as it uses PEAR:DB)"), ); $gtk_modules = array( "gladexml" =>"Glade is required, you may have installed php-gtk incorrectly", "gtkscintilla" =>"Scintilla extension is required, compile php-gtk with --enable-scintilla", "gtkhtml" => "The help viewer and WYSIWYG html editor will not work as you do not have the gtkhtml widget, compile php-gtk with --enable-gtkhtml", "gdkpixbuf" =>"The pixbuf module is used by the image browser and the midgard image details tab." ); $this->_error_message = ""; foreach($modules as $module=>$ar) { /* hammer and nail method of finding modules !*/ if (!function_exists($ar[0])) @dl("{$module}.so"); if (!function_exists($ar[0])) @dl("php_{$module}.dll"); if (!function_exists($ar[0])) @dl("{$module}.dll"); if (!function_exists($ar[0])) @dl("php_{$module}.so"); if (!function_exists($ar[0])) $this->_error_message .= "\nFailed to find PHP extension $module\n{$ar[1]}\n"; } foreach($gtk_modules as $module=>$desc) if (!class_exists($module)) $this->_error_message .= "\nFailed to find PHP-GTK extension $module\n$desc\n"; if (!$this->_error_message) return; $this->_warning = &new GtkWindow(); $this->_warning->set_usize(400,400); $ok = &new GtkButton("OK"); $text = &new GtkText(); $vbox = &new Gtkvbox(); $this->_warning->add( $vbox ); $vbox->pack_start( $text, TRUE, TRUE, 4); $vbox->pack_start( $ok, FALSE, FALSE , 0); $text->insert_text("Warning PHP Extensions Missing\n\n".$this->_error_message,0); $this->_warning->show_all(); $ok->connect_object('clicked',array(&$this,'hide_warning')); } function hide_warning() { $this->_warning->hide(); $this->window->show(); } } ?> phpmole/dialogs/phpide_Dialog_Generic.class0000755000175000017500000000670207466702164021253 0ustar alanalan00000000000000widget = &new $class($glade_file); $this->window = $this->widget->get_widget("window"); $this->btn_ok = $this->widget->get_widget("OK"); $this->btn_cancel = $this->widget->get_widget("cancel"); $this->info = $this->widget->get_widget("info"); $this->window->set_modal(TRUE); $this->window->connect("delete-event", array(&$this,"ignore_close")); $this->btn_ok->connect("clicked", array(&$this,"ok_pressed")); if ($this->btn_cancel) $this->btn_cancel->connect("clicked", array(&$this,"cancel_pressed")); } function ignore_close() { $this->cancel_pressed(); return true; } function show($message="") { debug_echo("GENERIC dialog show"); $this->__show($message); } function __show($message="") { global $application; if ($this->info && method_exists($this->info,"set_text")) $this->info->set_text($message); if ($application->window) $this->window->set_transient_for($application->window); $this->window->show(); } function hide() { $this->__hide(); } function __hide() { $this->window->hide(); } function set_callbacks($ok=NULL,$cancel=NULL) { $this->ok_pressed_callback = $ok; $this->cancel_pressed_callback = $cancel; } function ok_pressed() { if (!$this->disable_ok_hide) $this->hide(); $cb = $this->ok_pressed_callback; $this->set_callbacks(); if ($cb) call_user_func($cb); } function cancel_pressed() { $this->hide(); $cb = $this->cancel_pressed_callback; $this->set_callbacks(); if ($cb) call_user_func($cb); } } ?> phpmole/dialogs/transfer_dialog.glade0000644000175000017500000000610307415357062020166 0ustar alanalan00000000000000 Transfer_dialog transfer_dialog src pixmaps C False False False False False False GtkDialog window dialog1 GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_DEFAULT_STYLE 30 85 27 7 0 0 True True GtkButton button1 True True GTK_RELIEF_NORMAL GtkVBox vbox1 23 False 26 0 False False GtkLabel label1 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkProgressBar progressbar1 0 0 100 GTK_PROGRESS_CONTINUOUS GTK_PROGRESS_LEFT_TO_RIGHT False False %P %% 0.5 0.5 0 False False phpmole/dialogs/yes_no_dialog.glade0000644000175000017500000000572507415357062017647 0ustar alanalan00000000000000 ok_cancel_dialog ok_cancel_dialog src pixmaps C False False False False False False GtkDialog window False Yes/No GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE True True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_SPREAD 8 85 27 7 0 0 True True GtkButton OK True True GTK_RELIEF_NORMAL GtkButton cancel True True GTK_RELIEF_NORMAL GtkVBox vbox 13 False 8 0 True True GtkLabel info GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 True False GtkHSeparator hseparator1 0 False True phpmole/dialogs/phpmole_config_dialog.class0000755000175000017500000003212107621211407021355 0ustar alanalan00000000000000config_dialog_generic($glade,$config_array); $conf->btn_ok->connect("pressed",array(&$this,"update_config")); to display it: $conf->prefs = $current_config_array; $conf->show(); function update_config() { $new_config_array = $conf->get_results(); $conf->hide(); } */ //if (substr(PHP_OS, 0, 3) == 'WIN') // require_once(APPDIR ."modules/midgard/phpglade.class"); class phpmole_config_dialog extends phpide_Dialog_Generic { var $prefs; // where stuff is stored and retrieved from var $dialogs = array(); function phpmole_config_dialog() { $this->phpide_Dialog_Generic(dirname(__FILE__)."/master_config.glade"); // load other dialogs and add them. $this->holder = $this->widget->get_widget("config_holder"); $this->notebook = &new GtkNotebook(); $this->notebook->set_tab_pos(GTK_POS_LEFT); $this->notebook->show(); $this->holder->add($this->notebook); $this->add_config_dialog(dirname(__FILE__)."/config_dialog.glade","PHPMole"); if (file_exists(APPDIR . "modules/config_dialog.glade")) $this->add_config_dialog(APPDIR . "modules/config_dialog.glade","Modules"); $dh = opendir(APPDIR . "modules"); while (($file = readdir($dh)) != NULL) { //echo "CHECKING $file"; if ($file[0] == ".") continue; if (!is_dir(APPDIR . "modules/$file")) continue; if (!file_exists(APPDIR . "modules/$file/config_dialog.glade")) continue; $this->add_config_dialog(APPDIR . "modules/$file/config_dialog.glade",$file); } $dh = opendir(APPDIR . "transports"); while (($file = readdir($dh)) != NULL) { //echo "CHECKING $file"; if ($file[0] == ".") continue; if (!is_dir(APPDIR . "transports/$file")) continue; if (!file_exists(APPDIR . "transports/$file/config_dialog.glade")) continue; $this->add_config_dialog(APPDIR . "transports/$file/config_dialog.glade",$file); } $this->connect_dialogs(); // load font and color stuff $this->dialog_font_select=$this->widget->get_widget("fontselectiondialog1"); $this->dialog_color_select=$this->widget->get_widget("colorselectiondialog1"); $this->dialog_color_select_widget=$this->dialog_color_select->colorsel; $this->btn_fontsel_ok=$this->widget->get_widget("fontsel_ok"); $this->btn_fontsel_cancel=$this->widget->get_widget("fontsel_cancel"); $this->btn_fontsel_ok->connect_object_after('clicked',array(&$this,"fontsel_ok")); $this->btn_fontsel_cancel->connect_object_after('clicked',array(&$this,"fontsel_cancel")); $this->btn_colorsel_ok=$this->widget->get_widget("colorsel_ok"); $this->btn_colorsel_cancel=$this->widget->get_widget("colorsel_cancel"); $this->btn_colorsel_ok->connect_object_after('clicked',array(&$this,"colorsel_ok")); $this->btn_colorsel_cancel->connect_object_after('clicked',array(&$this,"colorsel_cancel")); } function connect_dialogs() { global $application; foreach($application->prefs->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $widget = $this->find_widget($kname); if (!$widget) continue; switch (get_class($widget)) { case "GtkButton": $widget->connect_object_after('clicked', array(&$this,"select_font"), array($kname,$k)); break; case "GtkDrawingArea": $btn = $widget->parent; $btn->connect_object_after('button_press_event', array(&$this,"select_color"), array($kname, $k)); break; } } } function add_config_dialog($filename,$title) { $n = count($this->dialogs); $class = "GladeXML"; if (substr(PHP_OS, 0, 3) == 'WIN') $class = "phpglade"; $this->dialogs[$n] = &new $class($filename); $widget = $this->dialogs[$n]->get_widget("config"); $p = $widget->parent; $p->remove($widget); $label = &new GtkLabel( $title); $label->show(); $widget->show(); $this->notebook->append_page($widget,$label); } function show() { $this->load_prefs(); $this->ok_pressed_callback = array(&$this,"save_prefs"); $this->__show(); } function &find_widget($name) { for ($i=0;$i< count($this->dialogs);$i++) if ($widget = $this->dialogs[$i]->get_widget($name)) return $widget; } function load_prefs() { global $application; foreach($application->prefs->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->find_widget($kname); if (!$widget) $widget = $this->find_widget($kname2); if (!$widget) continue; switch (get_class($widget)) { case "GtkCheckButton": $vv=0; if ($v) $vv = 1; $widget->set_active($vv); break; case "GtkSpinButton": $widget->set_value($v); break; case "GtkButton": $this->set_fontname( $kname,$v); break; case "GtkDrawingArea": $this->set_buttoncolor($kname,$v); break; case "GtkRadioButton": $widget->set_active(0); break; case "GtkText": $len = $widget->get_length(); $widget->delete_text(0,$len); $widget->insert_text($v,0); break; } } $this->prefs = $application->prefs->prefs; } function save_prefs() { global $application; $application->prefs->prefs = $this->prefs; foreach($application->prefs->prefs as $k => $v) { $kname = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k))); $kname2 = ereg_replace("[^a-z0-9]+", "_", trim(strtolower($k." ".sprintf("%01d",$v)))); $widget = $this->find_widget($kname); if (!$widget) $widget = $this->find_widget($kname2); if (!$widget) continue; switch (get_class($widget)) { case "GtkCheckButton": $application->prefs->prefs[$k] = $widget->get_active(); break; case "GtkSpinButton": $application->prefs->prefs[$k] = $widget->get_value_as_int(); break; case "GtkRadioButton": // now this is a bit more complex!!! $application->prefs->prefs[$k] = 0; // default it for ($i=0;$i<9;$i++) { $w = $this->find_widget($kname . "_".sprintf("%01d",$i)); if (!$w) break; if ($w->get_active()) $application->prefs->prefs[$k] = $i; } break; } } $application->prefs->save_user_prefs(); $application->module_manager->broadcast("configuration_changed"); } function set_buttoncolor($widgetname, $setting) { $setting = substr("000000".dechex($setting),-6); $s = substr($setting,4,2) . substr($setting,2,2) . substr($setting,0,2); $setting = "#". $s; $w = $this->find_widget($widgetname); $current_style=$w->get_style(); $new_style = $current_style->copy(); $new_style->bg[GTK_STATE_NORMAL]=new GdkColor($setting); $w->set_style($new_style); } function set_fontname($widgetname,$setting) { $b = $this->find_widget($widgetname); $w = $b->child; $fontar = explode("-",$setting); $size = $fontar[7]; if (substr(PHP_OS, 0, 3) != 'WIN') { $current_style=$w->get_style(); $new_style = $current_style->copy(); $new_style->font = gdk::font_load($setting); $w->set_style($new_style); } if ($size == "*") $size = $fontar[8]/10; $w->set_text($fontar[2] ."(".$size.")"); } function select_font($a) { $fontar = explode("-",$this->prefs[$a[1]]); //echo serialize($fontar); if ($fontar[8] == "*") { $fontar[8] = $fontar[7]*10; $fontar[7] = "*"; } $fontname = implode("-",$fontar); //echo "SET" .$fontname; $this->dialog_font_select->set_font_name($fontname); $this->dialog_font_select->show(); $this->active_font_sel = $a[1]; $this->active_font_sel_widget = $a[0]; Gtk::grab_remove($this->window); Gtk::grab_add($this->dialog_font_select); } function fontsel_ok() { $this->prefs[$this->active_font_sel] = $this->dialog_font_select->get_font_name(); //echo "GOT " .$this->prefs[$this->active_font_sel]; $this->set_fontname($this->active_font_sel_widget,$this->prefs[$this->active_font_sel]); $this->dialog_font_select->hide(); Gtk::grab_remove($this->dialog_font_select); Gtk::grab_add($this->window); } function fontsel_cancel() { $this->dialog_font_select->hide(); Gtk::grab_remove($this->dialog_font_select); Gtk::grab_add($this->window); } function select_color($e,$a){ //echo "looking up prefs ". serialize($a)."\n"; $setting = substr("000000".dechex($this->prefs[$a[1]]),-6); $b = hexdec( substr($setting,0,2)) /256; $g = hexdec( substr($setting,2,2))/256; $r = hexdec( substr($setting,4,2))/256; $this->not_active_window = TRUE; $this->dialog_color_select_widget->set_color($r,$g,$b); $this->dialog_color_select->show(); $wi = $this->dialog_color_select->window; $wi->raise(); $this->active_color_sel = $a[1]; $this->active_color_sel_widget = $a[0]; Gtk::grab_remove($this->window); Gtk::grab_add($this->dialog_color_select); } function colorsel_ok() { echo "OK Pressed"; $a = $this->dialog_color_select_widget->get_color(); //echo "GOT " . serialize($a); $b = substr("00".dechex($a[2]*255),-2) . substr("00".dechex($a[1]*255),-2) . substr("00".dechex($a[0]*255),-2); //echo "XX " . $this->active_color_sel . " storing ($b) = ". hexdec($b) . "\n"; $this->prefs[$this->active_color_sel] = hexdec($b); $this->set_buttoncolor($this->active_color_sel_widget,$this->prefs[$this->active_color_sel]); $this->dialog_color_select->hide(); Gtk::grab_remove($this->dialog_color_select); Gtk::grab_add($this->window); $this->not_active_window = FALSE; } function colorsel_cancel() { $this->dialog_color_select->hide(); Gtk::grab_remove($this->dialog_color_select); Gtk::grab_add($this->window); $this->not_active_window = FALSE; } } ?> phpmole/dialogs/config_dialog.glade0000644000175000017500000001463007434117631017610 0ustar alanalan00000000000000 phpMole options_dialog src pixmaps C False False False False False GtkWindow window False clicked clicked Sun, 22 Apr 2001 10:23:46 GMT destroy destroy Sun, 22 Apr 2001 10:24:01 GMT PHPMole GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False False False False options_dialog Moleskine GtkVBox dialog-vbox1 False 8 GtkHButtonBox dialog-action_area1 GTK_BUTTONBOX_END 8 85 27 7 0 0 False True GTK_PACK_END GtkButton cancel True True GTK_RELIEF_NORMAL GtkButton OK True True GTK_RELIEF_NORMAL GtkVBox config 4 False 4 0 True True GtkCheckButton geometry_save_win_size True False True 0 False False GtkCheckButton history_save_session Save open files names at exit and re-open them at next startup. True False True 0 False False GtkHBox hbox11 False 4 0 False False GtkLabel label20 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkSpinButton history_mru_size True 1 0 False GTK_UPDATE_ALWAYS False False 5 5 50 1 10 10 0 False False GtkLabel label21 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkCheckButton history_mru_sort True False True 0 False False GtkHBox hbox25 False 0 0 False False GtkLabel label50 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkSpinButton general_autosave_timeout True 1 0 False GTK_UPDATE_ALWAYS False False 1 0 100 1 10 10 0 True True GtkLabel label51 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False phpmole/dialogs/master_config.glade0000644000175000017500000001154707435411061017643 0ustar alanalan00000000000000 master_config master_config src pixmaps C False False False False False False GtkDialog window False Configuration GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_DEFAULT_STYLE 30 85 27 7 0 0 True True GtkButton cancel True True GTK_RELIEF_NORMAL GtkButton OK True True GTK_RELIEF_NORMAL GtkVBox config_holder False 0 0 True True Placeholder GtkColorSelectionDialog colorselectiondialog1 10 False Select Color GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True False GTK_UPDATE_CONTINUOUS GtkButton ColorSel:ok_button colorsel_ok True True GTK_RELIEF_NORMAL GtkButton ColorSel:cancel_button colorsel_cancel True True GTK_RELIEF_NORMAL GtkButton ColorSel:help_button help_button1 True True GTK_RELIEF_NORMAL GtkFontSelectionDialog fontselectiondialog1 4 False Select Font GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True True GtkButton FontSel:ok_button fontsel_ok True True GTK_RELIEF_NORMAL GtkButton FontSel:apply_button apply_button1 True True GTK_RELIEF_NORMAL GtkButton FontSel:cancel_button fontsel_cancel True True GTK_RELIEF_NORMAL phpmole/dialogs/master_config.glade.bak0000644000175000017500000001155007427655261020406 0ustar alanalan00000000000000 master_config master_config src pixmaps C False False False False False False GtkDialog window False Configuration GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_DEFAULT_STYLE 30 85 27 7 0 0 True True GtkButton cancel True True GTK_RELIEF_NORMAL GtkButton OK True True GTK_RELIEF_NORMAL GtkVBox config_holder False 0 0 True True Placeholder GtkColorSelectionDialog colorselectiondialog1 10 False Select Color GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True False GTK_UPDATE_CONTINUOUS GtkButton ColorSel:ok_button colorsel_ok True True GTK_RELIEF_NORMAL GtkButton ColorSel:cancel_button colorsel_cancel True True GTK_RELIEF_NORMAL GtkButton ColorSel:help_button help_button1 True True GTK_RELIEF_NORMAL GtkFontSelectionDialog fontselectiondialog1 4 False Select Font GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True True GtkButton FontSel:ok_button fontsel_ok True True GTK_RELIEF_NORMAL GtkButton FontSel:apply_button apply_button1 True True GTK_RELIEF_NORMAL GtkButton FontSel:cancel_button fontsel_cancel True True GTK_RELIEF_NORMAL phpmole/dialogs/config_dialog.glade.bak0000755000175000017500000001463107427650353020355 0ustar alanalan00000000000000 phpMole options_dialog src pixmaps C False False False False False GtkWindow window False clicked clicked Sun, 22 Apr 2001 10:23:46 GMT destroy destroy Sun, 22 Apr 2001 10:24:01 GMT PHPMole GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False False False False options_dialog Moleskine GtkVBox dialog-vbox1 False 8 GtkHButtonBox dialog-action_area1 GTK_BUTTONBOX_END 8 85 27 7 0 0 False True GTK_PACK_END GtkButton cancel True True GTK_RELIEF_NORMAL GtkButton OK True True GTK_RELIEF_NORMAL GtkVBox config 4 False 4 0 True True GtkCheckButton geometry_save_win_size True False True 0 False False GtkCheckButton history_save_session Save open files names at exit and re-open them at next startup. True False True 0 False False GtkHBox hbox11 False 4 0 False False GtkLabel label20 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkSpinButton history_mru_size True 1 0 False GTK_UPDATE_ALWAYS False False 5 5 50 1 10 10 0 False False GtkLabel label21 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkCheckButton history_mru_sort True False True 0 False False GtkHBox hbox25 False 0 0 False False GtkLabel label50 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkSpinButton general_autosave_timeout True 1 0 False GTK_UPDATE_ALWAYS False False 1 0 100 1 10 10 0 True True GtkLabel label51 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False phpmole/dialogs/phpmole_about_dialog.class0000755000175000017500000000342407435174353021241 0ustar alanalan00000000000000phpide_Dialog_Generic(dirname(__FILE__)."/about_dialog.glade"); foreach(array( "credits" => APPDIR . "CREDITS", "about" => APPDIR . "docs/about.txt", "changelog" => APPDIR . "ChangeLog" ) as $wn => $file) { $w = $this->widget->get_widget($wn); $w->connect("pressed",array(&$this,"load_file"), $file); } } function show() { $this->load_file(NULL, APPDIR . "docs/about.txt"); $this->__show(); } function load_file($widget,$file) { $d = implode("",file($file)); $w = $this->widget->get_widget("display_text"); $w->delete_text(0,-1); $w->insert_text($d,0); } } ?> phpmole/dialogs/about_dialog.glade0000644000175000017500000001031507435174353017456 0ustar alanalan00000000000000 about_dialog about_dialog src pixmaps C False False False False False False GtkDialog window False About PHPMole GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_DEFAULT_STYLE 30 85 27 7 0 0 True True GtkButton OK True True GTK_RELIEF_NORMAL GtkVBox vbox1 8 False 9 0 True True GtkLabel label1 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkHButtonBox hbuttonbox2 GTK_BUTTONBOX_DEFAULT_STYLE 30 85 27 7 0 0 True True GtkButton credits True True GTK_RELIEF_NORMAL GtkButton changelog True True GTK_RELIEF_NORMAL GtkButton about True True GTK_RELIEF_NORMAL GtkScrolledWindow scrolledwindow1 GTK_POLICY_NEVER GTK_POLICY_ALWAYS GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS 0 False False GtkText display_text 500 250 True False phpmole/dialogs/about_dialog.glade.bak0000644000175000017500000001031707435141735020212 0ustar alanalan00000000000000 About_dialog.glade about_dialog.glade src pixmaps C False False False False False False GtkDialog window False About Phpmole GTK_WINDOW_DIALOG GTK_WIN_POS_NONE False True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_DEFAULT_STYLE 30 85 27 7 0 0 True True GtkButton OK True True GTK_RELIEF_NORMAL GtkVBox vbox1 16 False 14 0 True True GtkLabel label1 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkHButtonBox hbuttonbox2 GTK_BUTTONBOX_DEFAULT_STYLE 30 85 27 7 0 0 False False GtkButton about True True GTK_RELIEF_NORMAL GtkButton changelog True True GTK_RELIEF_NORMAL GtkButton credits True True GTK_RELIEF_NORMAL GtkScrolledWindow scrolledwindow1 GTK_POLICY_NEVER GTK_POLICY_ALWAYS GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS 0 True True GtkText display_text 400 300 True False phpmole/dialogs/about_dialog.glade_old0000644000175000017500000001032007435143546020310 0ustar alanalan00000000000000 About_dialog.glade about_dialog.glade src pixmaps C False False False False False False GtkDialog window False About Phpmole GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False True True False GtkVBox Dialog:vbox dialog-vbox1 False 0 GtkHBox Dialog:action_area dialog-action_area1 10 True 5 0 False True GTK_PACK_END GtkHButtonBox hbuttonbox1 GTK_BUTTONBOX_DEFAULT_STYLE 30 85 27 7 0 0 True True GtkButton OK True True GTK_RELIEF_NORMAL GtkVBox vbox1 16 False 14 0 True True GtkLabel label1 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkHButtonBox hbuttonbox2 GTK_BUTTONBOX_DEFAULT_STYLE 30 85 27 7 0 0 False False GtkButton about True True GTK_RELIEF_NORMAL GtkButton changelog True True GTK_RELIEF_NORMAL GtkButton credits True True GTK_RELIEF_NORMAL GtkScrolledWindow scrolledwindow1 GTK_POLICY_NEVER GTK_POLICY_ALWAYS GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS 0 True True GtkText display_text 400 300 True False phpmole/dialogs/.#phpide.class.1.250000755000175000017500000005442007457224546017050 0ustar alanalan00000000000000prefs = &new phpmole_prefs; $this->prefs->load(APPDIR . "config/Preferences"); $this->prefs->load_user_prefs(); $this->glade = &new GladeXML(APPDIR .'glade/phpide.glade'); $this->langs = &new phpide_languages(); $this->transports = &new phpide_transports(); $this->module_manager = &new phpide_modules(); /* standard dialogs */ $this->dialogs["ok"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/ok_dialog.glade"); $this->dialogs["ok_cancel"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/ok_cancel_dialog.glade"); $this->dialogs["yes_no"] = &new phpide_Dialog_Generic(dirname(__FILE__) ."/yes_no_dialog.glade"); $this->dialogs["password"] = &new phpmole_password_dialog(); $this->dialogs["new_file"] = &new phpmole_new_file_dialog(); $this->dialogs["config"] = &new phpmole_config_dialog(); $this->dialogs["about"] = &new phpmole_about_dialog(); // GLOBAL VARS $gx,$window,$nb,$bookmark_tree $this->window = $this->glade->get_widget("winMain"); //$this->window->connect('destroy', array(&$this,'quit')); $this->window->connect('delete-event', array(&$this,'quit')); $this->window->connect('configure_event', array(&$this,'callback_configure_event')); // glade bug hack $tb = $this->glade->get_widget("maintoolbar"); $tb->set_button_relief(GTK_RELIEF_NONE); // Window Resizing $w=600;$h=450; $x=0;$y=0; if ($this->prefs->get("geometry/save_win_size")) { $w = $this->prefs->get("geometry/width"); $h = $this->prefs->get("geometry/height"); $x = $this->prefs->get("geometry/position_x"); $y = $this->prefs->get("geometry/position_y"); } $this->window->set_default_size($w,$h); if ($x & $y) $this->window->set_uposition($x,$y); $this->window->show(); // $this->window->connect("configure_event", array(&$this,"window_resized")); // hide show the buttons etc. $this->document_items_sensitive = 1; $this->bind_auto_text_items(); $this->disable_document_items(); $this->rebuild_recent(); // Which layout if (!$this->prefs->get("geometry/layout")) $this->prefs->set("geometry/layout","1"); $this->window->set_title( APPNAME ); $this->layout_holder = $this->glade->get_widget("layout_holder"); // Load the interface if (file_exists(APPDIR ."glade/interface_". $this->prefs->get("geometry/layout"). ".glade")) { $this->interface_glade = &new GladeXML(APPDIR ."glade/interface_". $this->prefs->get("geometry/layout"). ".glade"); } else { $this->interface_glade = &new GladeXML(APPDIR ."glade/interface_1.glade"); } $interface_window = $this->interface_glade->get_widget("window"); $this->interface = $this->interface_glade->get_widget("interface"); $interface_window->remove($this->interface); $this->layout_holder->add($this->interface); //$this->drag_window = &new GtkWindow(GTK_WINDOW_POPUP); $this->edit_pane = $this->interface_glade->get_widget("edit_pane"); $this->edit_pane_parent = $this->interface_glade->get_widget("edit_pane_parent"); $this->editor_frame_event = $this->interface_glade->get_widget("editor_frame_event"); $this->module_frame = $this->interface_glade->get_widget("module_frame"); $this->module_frame_event = $this->interface_glade->get_widget("module_frame_event"); $this->module_frame_event->connect("button_press_event", array($this,"free_module_frame")); $this->module_frame_visable = 1; if ($this->prefs->get("geometry/hide_module_frame")) { $this->hide_module_frame(); } else { $this->show_module_frame(); } if ($this->prefs->get("geometry/hide_tree_frame")) { $this->hide_tree_frame(); } else { $this->show_tree_frame(); } $this->module_manager->load(); $this->bind_actions(); //gtk::timeout_add(15000, 'dummy_timer'); Gtk::main(); } function bind_actions() { $menu_handlers = array( "on_winMain_draw", "on_new_bookmark_activate", // new Project "on_new_activate", "on_open_file_activate", "on_open_previous1_activate", "on_save_activate", "on_save_as_activate", "on_reload_activate", "on_close_activate", "on_close_all_activate", "on_undo", "on_redo", "on_cut", "on_copy", "on_paste", "on_select_all", "on_find_activate", "on_find_again_activate", "on_replace_activate", "on_configuration_activate", "on_scintilla_config", "on_language_settings_activate", "on_show_white_space_activate", "on_show_line_breaks_activate", "on_complete_word_activate", "on_help_php_gtk_activate", "on_help_php_activate", "on_help_gtk_activate", "on_phpmole_home_page_activate", "on_report_or_view_bugs_activate", "on_Run_clicked" ); foreach($menu_handlers as $menu_handler) $this->glade->signal_connect_object( $menu_handler , array(&$this->module_manager,"menu_emit"),$menu_handler); /* locally handled */ foreach( array( "configuration", "view_module_frame", "view_tree_frame", "about", "goto_line_key_press", "find_box_key_press", "open_file", "open_newfile", "save_all", ) as $menu_handler) $this->glade->signal_connect( "on_".$menu_handler."_activate", array(&$this,$menu_handler."_activate")); $this->glade->signal_connect_object( "on_exit_activate", array(&$this,"quit")); } /* AUTO TEXT */ function bind_auto_text_items() { if (!file_exists(APPDIR . "autotext")) return; $dh = opendir(APPDIR . "autotext"); while (($file = readdir($dh)) !== FALSE) { if ($file{0} == ".") continue; $this->bind_auto_text($file); } } function bind_auto_text($filename) { $base = $this->glade->get_widget("auto_text_menu"); $this->extra_document_items[$filename] = &new GtkMenuItem($filename); $this->extra_document_items[$filename]->show(); $this->extra_document_items[$filename]->connect_object('activate', array(&$this,"add_auto_text"),$filename); $base->append($this->extra_document_items[$filename]); } function add_auto_text($filename) { // whats the active document? $this->module_manager->send_to_editor('insert_text', implode('',file(APPDIR."autotext/$filename"))); } function configuration_activate() { $this->dialogs["config"]->show(); } function load_document($bookmarkid, $URL) { // ask the document manager to load the file //echo "\nCALLING LOAD $bookmarkid, $URL\n"; $this->add_to_recent($URL); $this->transports->load_document($bookmarkid, $URL); $this->langs->load_document($bookmarkid, $URL); $this->window->set_title( APPNAME . " - " . $URL); //$this->langs->parse($bookmarkid, $URL); // then loop through the modules //echo "CHECKING FOR DATA?\n"; if (@$this->transports->documents[$URL]) $this->enable_document_items(); $this->module_manager->load_document($bookmarkid, $URL); } function add_to_recent($URL) { $ar = $this->prefs->get_array("history/recent"); if (in_array($URL,$ar)) return; $ar[] = $URL; $this->prefs->set_array("history/recent",$ar); $remove_list = $this->prefs->prune_array( "history/recent", $this->prefs->get("history/mru_size")); foreach($remove_list as $rURL) if (@$this->recent_items[$rURL] && ($rURL != $URL)) { $this->recent_items[$rURL]->destroy(); unset($this->recent_items[$rURL]); } $this->prefs->save_user_prefs(); $this->add_recent_item($URL); } function add_recent_item($URL) { if (@$this->recent_items[$URL]) continue; $base = $this->glade->get_widget("open_recent_menu"); $this->recent_items[$URL] = &new GtkMenuItem($URL); $this->recent_items[$URL]->show(); $this->recent_items[$URL]->connect_object('activate', array(&$this,"load_document"),-1,$URL); $base->append($this->recent_items[$URL]); } function rebuild_recent() { $ar = $this->prefs->get_array("history/recent"); foreach($ar as $k=>$URL) $this->add_recent_item($URL); } function save_document() { // ask the document manager to load the file // then loop through the modules //echo "ATTEMPTING TO SAVE"; $URLar = $this->module_manager->broadcast_get("get_active_document"); if (!$URLar) return; list($bookmarkid, $URL) = $URLar; $this->module_manager->broadcast("save_document",array($bookmarkid, $URL)); $this->transports->save_document($bookmarkid, $URL); $this->langs->parse($bookmarkid, $URL); $this->module_manager->broadcast("post_save_document",array($bookmarkid, $URL)); } function save_all_activate() { $ar = $this->module_manager->broadcast_get("get_all_documents"); for ($i=0;$i< count($ar); $i++) { list($bookmarkid,$URL) = $ar[$i]; echo "SAVING $bookmarkid,$URL\n"; $this->module_manager->broadcast("save_document",array($bookmarkid, $URL)); $this->transports->save_document($bookmarkid, $URL); $this->langs->parse($bookmarkid, $URL); $this->module_manager->broadcast("post_save_document",array($bookmarkid, $URL)); } } function dummy_timer () { // echo "AutoSave!??\n"; $dat = getrusage(); foreach ($dat as $k => $v) //echo "$k => $v \n"; //echo "\n\n"; return true; } /* function menu_emit ($obj,$var) { // forwarder for generated menu items. $this->module_manager->menu_emit($var); switch ($var) { case "on_exit_activate": gtk::main_quit(); exit; break; case "on_Run_clicked": $fh = popen("phpmole&","w"); pclose($fh); return; } } */ /* Breaking and freeing of the module area - Note : this is not really how this should be done. the modular design is supposed to mean that you should not show/hide elements, but rather flip to another interface design- - this involves removing all the interface elements from the interface and reloading them into the new interface. */ function free_module_frame($widget,$event) { return; // not ready yet! $this->break_apart_edit_page(); $this->edit_pane_parent->add($this->editor_frame_event); $this->editor_frame_event->show(); $this->module_window = &new GtkWindow(GTK_WINDOW_DIALOG); $this->module_window->add($this->module_frame); $this->module_window->show(); $this->module_frame->show(); //$this->module_frame_event->add($this->module_frame); } function break_apart_edit_pane() { $this->editor_frame_event->hide(); $this->edit_pane->hide(); $this->edit_pane->remove($this->editor_frame_event); $this->edit_pane_parent->remove($this->edit_pane); $this->module_frame->hide(); $this->module_frame_event->hide(); $this->module_frame_event->remove($this->module_frame); } function rebuild_edit_pane() { $this->module_frame_event->add($this->module_frame); $this->module_frame_event->show(); $this->module_frame->show(); $this->edit_pane_parent->add($this->edit_pane); $this->edit_pane->add($this->editor_frame_event); $this->edit_pane->show(); $this->editor_frame_event->show(); } function hide_module_frame() { $this->toggle_active("btn_view_module_frame", FALSE); $this->toggle_active("menu_view_module_frame", FALSE); $this->prefs->set("geometry/hide_module_frame", 1); if (!$this->module_frame_visable) return; $this->module_frame_visable = 0; $this->break_apart_edit_pane(); $this->edit_pane_parent->add($this->editor_frame_event); $this->editor_frame_event->show(); //$this->module_frame->hide(); //$this->edit_pane->set_position( $this->window->allocation->height ); } function show_module_frame() { $this->toggle_active("btn_view_module_frame", TRUE); $this->toggle_active("menu_view_module_frame", TRUE); $this->prefs->set("geometry/hide_module_frame", 0); if ($this->module_frame_visable) return; $this->module_frame_visable = 1; $this->editor_frame_event->hide(); $this->edit_pane_parent->remove($this->editor_frame_event); $this->rebuild_edit_pane(); //echo "SHOW SETTING TO TRUE"; //$this->module_frame->show(); //$this->edit_pane->set_position( $this->window->allocation->height / 2 ); } function view_module_frame_activate($widget) { if (@$this->in_module_showhide) return; $this->in_module_showhide=1; $pref = (int) $this->prefs->get("geometry/hide_module_frame"); if (!$pref) { $this->hide_module_frame(); } else { $this->show_module_frame(); } $this->in_module_showhide=0; } function hide_tree_frame() { $this->toggle_active("btn_view_tree_frame",TRUE); $this->toggle_active("menu_view_tree_frame", TRUE); $w = $this->interface_glade->get_widget("interface"); $w->set_position( 200 ); } function show_tree_frame() { $this->toggle_active("btn_view_tree_frame", FALSE); $this->toggle_active("menu_view_tree_frame", FALSE); $w = $this->interface_glade->get_widget("interface"); $w->set_position( 0 ); } function toggle_active($widgetname, $value) { $w = $this->glade->get_widget($widgetname); if (!$w) return; //echo "SET: $widgetname $value"; $w->set_active($value); } function get_active($widgetname) { $w = $this->glade->get_widget($widgetname); if (!$w) return; //echo "SET: $widgetname $value"; return $w->active; } function view_tree_frame_activate($widget) { if (@$this->in_tree_showhide) return; $this->in_tree_showhide =1; $pref = (int) $this->prefs->get("geometry/hide_tree_frame"); $this->prefs->set("geometry/hide_tree_frame", !$pref); if (!$pref) { $this->hide_tree_frame(); } else { $this->show_tree_frame(); } $this->in_tree_showhide =0; } var $document_items = array( "save_as", "save_all", "close_all", "menu_close", "menu_undo", "menu_redo", "menu_cut", "menu_copy", "menu_paste", "menu_select_all", "menu_find", "menu_find_again", "menu_replace", "menu_find_again", "comment_code", "uncomment_code", "autocomplete", "show_white_space", "show_line_breaks", "show_folding", "change_language", "btnSave", "btnSaveAll", "btnClose", "btnReload", "btnUndo", "btnRedo", "btnRun", "btnRedo", "find_box", "btnSearch", "goto_line" //"btnRun", ); function disable_document_items() { if (!$this->document_items_sensitive) return; $this->document_items_sensitive = 0; $this->document_set_sensitive(FALSE); } function enable_document_items() { if ($this->document_items_sensitive) return; $this->document_items_sensitive = 1; $this->document_set_sensitive(TRUE); } var $extra_document_items = array(); // associative array of extra widgets that are frozen when no document is open function document_set_sensitive($value) { foreach($this->document_items as $widgetname) { $w = $this->glade->get_widget($widgetname); $w->set_sensitive($value); } foreach($this->extra_document_items as $widgetname=>$w) $w->set_sensitive($value); } function about_activate() { $this->dialogs["about"]->show(); } function goto_line_key_press_activate($widget,$event) { if($event->keyval==GDK_KEY_Return) $this->module_manager->broadcast("goto_line",$widget->get_text()); } function find_box_key_press_activate($widget,$event) { if($event->keyval==GDK_KEY_Return) $this->module_manager->broadcast("search_ok_pressed",$widget->get_text()); } function open_newfile_activate($widget) { $this->open_file_activate(NULL, "Create A New File"); } function open_file_activate($widget,$title = "Open File") { $dialog = &new GtkFileSelection($title); if ($path = getenv("HOME")) $dialog->set_filename($path."/"); $ok = $dialog->ok_button; $ok->connect("pressed", array(&$this, "open_file_ok_pressed"), $dialog); $cancel = $dialog->cancel_button; $cancel->connect_object("pressed", array(&$dialog, "destroy")); $dialog->show(); } function open_file_ok_pressed($widget,&$window) { $f = $window->get_filename(); $window->destroy(); if (!$f || (substr($f, -1) == "/")) { $this->dialogs["ok"]->show("Invalid file specified: $f"); return; } $url = "file:$f"; $bm = $this->module_manager->broadcast("get_bookmark_from_url", $url); $this->load_document($bm, $url); } function quit() { if ( $this->prefs->get( "geometry/save_win_size" ) ) { $this->prefs->set( "geometry/width", $this->window->allocation->width ); $this->prefs->set( "geometry/height", $this->window->allocation->height ); $this->prefs->set( "geometry/position_x",$this->window->window->x); $this->prefs->set( "geometry/position_y", $this->window->window->y ); } $this->prefs->save_user_prefs(); gtk::main_quit(); exit; } function callback_configure_event($window) { $w = $window->window; list($pixmap,$mask) = Gdk::pixmap_create_from_xpm($w, NULL, dirname(__FILE__).'/phpmole.xpm'); $w->set_icon($w, $pixmap,$mask); } } ?> phpmole/dialogs/.mappedfiles/0002755000175000017500000000000007641002070016361 5ustar alanalan00000000000000phpmole/dialogs/.mappedfiles/OK_DIA~1.GLA0000777000175000017500000000000007621204103023073 2ok_dialog.gladeustar alanalan00000000000000phpmole/dialogs/.mappedfiles/OK_CAN~1.GLA0000777000175000017500000000000007621204103024404 2ok_cancel_dialog.gladeustar alanalan00000000000000phpmole/dialogs/.mappedfiles/YES_NO~1.GLA0000777000175000017500000000000007621204103024024 2yes_no_dialog.gladeustar alanalan00000000000000phpmole/dialogs/.mappedfiles/PASSWO~1.GLA0000777000175000017500000000000007621204103025573 2password_entry_dialog.gladeustar alanalan00000000000000phpmole/dialogs/.mappedfiles/TEXT_E~1.GLA0000777000175000017500000000000007621204103024731 2text_entry_dialog.gladeustar alanalan00000000000000phpmole/dialogs/.mappedfiles/MASTER~1.GLA0000777000175000017500000000000007621204103023770 2master_config.gladeustar alanalan00000000000000phpmole/dialogs/.mappedfiles/ABOUT_~1.GLA0000777000175000017500000000000007621204105023621 2about_dialog.gladeustar alanalan00000000000000phpmole/dialogs/.mappedfiles/CONFIG~1.CLA0000777000175000017500000000000007641002070025430 2config_dialog_generic.classustar alanalan00000000000000phpmole/dialogs/.mappedfiles/PHPMOL~1.CLA0000777000175000017500000000000007641002070026035 2phpmole_new_file_dialog.classustar alanalan00000000000000phpmole/dialogs/.mappedfiles/PHPMOL~2.CLA0000777000175000017500000000000007641002070026110 2phpmole_password_dialog.classustar alanalan00000000000000phpmole/dialogs/.mappedfiles/PROGRE~1.GLA0000777000175000017500000000000007641002070024337 2progress_dialog.gladeustar alanalan00000000000000phpmole/dialogs/.mappedfiles/PHPIDE~1.CLA0000777000175000017500000000000007641002070022425 2phpide.classustar alanalan00000000000000phpmole/dialogs/.mappedfiles/PHPIDE~2.CLA0000777000175000017500000000000007641002070025341 2phpide_Dialog_Generic.classustar alanalan00000000000000phpmole/dialogs/.mappedfiles/TRANSF~1.GLA0000777000175000017500000000000007641002070024316 2transfer_dialog.gladeustar alanalan00000000000000phpmole/dialogs/.mappedfiles/PHPMOL~3.CLA0000777000175000017500000000000007641002070025514 2phpmole_config_dialog.classustar alanalan00000000000000phpmole/dialogs/.mappedfiles/CONFIG~1.GLA0000777000175000017500000000000007641002070023707 2config_dialog.gladeustar alanalan00000000000000phpmole/dialogs/.mappedfiles/MASTER~1.BAK0000777000175000017500000000000007641002070024517 2master_config.glade.bakustar alanalan00000000000000phpmole/dialogs/.mappedfiles/CONFIG~1.BAK0000777000175000017500000000000007641002070024435 2config_dialog.glade.bakustar alanalan00000000000000phpmole/dialogs/.mappedfiles/PHPMOL~4.CLA0000777000175000017500000000000007641002070025362 2phpmole_about_dialog.classustar alanalan00000000000000phpmole/dialogs/.mappedfiles/ABOUT_~1.BAK0000777000175000017500000000000007641002070024346 2about_dialog.glade.bakustar alanalan00000000000000phpmole/dialogs/.mappedfiles/ABOUT_~2.GLA0000777000175000017500000000000007641002070024457 2about_dialog.glade_oldustar alanalan00000000000000phpmole/dialogs/.mappedfiles/_#PHPI~1.250000777000175000017500000000000007641002070022752 2.#phpide.class.1.25ustar alanalan00000000000000phpmole/ChangeLog.bak0000644000175000017500000030356007616665257014733 0ustar alanalan00000000000000 * tools/phpcodedoc/: ClassParser.class, CommentParser.class, DataTypes.class, DefineParser.class, MethodParser.class, PHP_CodeDoc.class, VarParser.class, doc_codedoc.php, doc_pear.php, doc_pearcvs.php, doc_phpmole.php, dotPLAN, tokenizer_serialize.php, Template/Filter_bodyonly.class, Template/Filter_php.class, Template/Filter_rtf_simpletags.class, Template/Filter_simpletags.class, Template/Filter_tags.class, Template/Options.class, Template/TemplateEngine.class, compiled/NOTEMPTY: * removing phpcodedoc - its available via docs.akbkhome.com * tools/midgard_reciever.php: * updates by martin langhoff finally applied * Phpmole/: Languages.php, Config/Preferences, Config/Preferences.WIN, Config/Prefs.php, Config/defines.inc, Dialogs/About.php, Dialogs/Config.php, Dialogs/Generic.php, Dialogs/GenericConfig.php, Dialogs/NewFile.php, Dialogs/Password.php, Dialogs/Phpmole.php, Dialogs/about_dialog.glade, Dialogs/config_dialog.glade, Dialogs/master_config.glade, Dialogs/ok_cancel_dialog.glade, Dialogs/ok_dialog.glade, Dialogs/password_entry_dialog.glade, Dialogs/phpmole.xpm, Dialogs/progress_dialog.glade, Dialogs/text_entry_dialog.glade, Dialogs/transfer_dialog.glade, Dialogs/yes_no_dialog.glade, Languages/Comments.php, Languages/Config.php, Languages/LanguageModes, Languages/LanguageModes.html, Languages/language.inc, Languages/languages_dialog.glade, Languages/Parsers/HTML.php, Languages/Parsers/XML.php, Languages/Parsers/HTML/Base.php, Languages/Parsers/HTML/GeneratorBase.php, Languages/Parsers/HTML/PHP.php, Languages/Parsers/HTML/PHPBase.php, Languages/Parsers/HTML/Parser.php, Languages/Parsers/HTML/php_functions, Languages/Parsers/XML/Export.php, Languages/Parsers/XML/Generator.php, Languages/Parsers/XML/Parser.php: * changing everything to pear naming standards - dont expect this to work! * phpconverter/: XML_Tree_Node.class, parser_HTML.class, parser_HTML_base.class, parser_php_base.class, php_to_tree.class, phpconverter.php: * get rid of this - should use the phplex/jayphp now.. * tests/: README, phpmole.html, test.html, pgtkhtml/concept_diagram.dia, pgtkhtml/html_br.class, pgtkhtml/html_cursor.class, pgtkhtml/html_flow.class, pgtkhtml/html_object.class, pgtkhtml/html_object_hidden.class, pgtkhtml/html_painter.class, pgtkhtml/html_parser.class, pgtkhtml/html_table.class, pgtkhtml/html_td.class, pgtkhtml/html_text.class, pgtkhtml/html_textblock.class, pgtkhtml/html_tr.class, pgtkhtml/pgtkhtml.class, pgtkhtml/test.php: * removing html view tests - use pear_frontend_gtk - it has the finished version * phpmole-ide.php, dialogs/phpmole_config_dialog.class, languages/HTML/parser_HTML_base.class, languages/XML/xml_generator.class: * fix to php4.3 bug * transports/mgd/dialogs/mgd_topic_dialog.glade: * fixed topic dialog * tools/phpcodedoc/: ClassParser.class, PHP_CodeDoc.class, doc_codedoc.php, doc_pear.php, doc_pearcvs.php, doc_phpmole.php, templates/class_details3.template.html, templates/class_file_index2.template.html: * updating codedoc * tools/phpcodedoc/: CommentParser.class, DataTypes.class, MethodParser.class, PHP_CodeDoc.class, doc_codedoc.php, doc_pear.php, doc_pearcvs.php, doc_phpmole.php, Template/Filter_simpletags.class, templates/class_file_index2.template.html, templates/defines.template.html, templates/navtree.html: * more phpcode doc updates - including more links on source code - like lxr * tools/phpcodedoc/: CommentParser.class, DefineParser.class, PHP_CodeDoc.class, doc_codedoc.php, doc_pear.php, doc_pearcvs.php, doc_phpmole.php, dotPLAN, Template/Filter_simpletags.class, templates/class_details3.template.html, templates/class_file_index2.template.html, templates/navtree.html, templates/defines.template.html: * CodeDoc now supports defines * tools/phpcodedoc/: ClassParser.class, CommentParser.class, DataTypes.class, DefineParser.class, PHP_CodeDoc.class, dotPLAN, Template/TemplateEngine.class, templates/class_details3.template.html, templates/class_file_index2.template.html: * changed storage structure for packages and directories to classes * tools/phpcodedoc/: DataTypes.class, PHP_CodeDoc.class, doc_pear.php, doc_pearcvs.php, dotPLAN, templates/class_file_index2.template.html: * phpcodedoc - more updates to notes, new data classes * dialogs/phpmole_config_dialog.class, config/Preferences, transports/mgd/config_dialog.glade, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_transport_mgd.class: * updated to support transport preferences * tools/phpcodedoc/: DefineParser.class, doc_codedoc.php, templates/navtree.html: * added scripts for phpcodedoc self documentaiton * tools/phpcodedoc/: ClassParser.class, CommentParser.class, DataTypes.class, MethodParser.class, PHP_CodeDoc.class, VarParser.class, doc_pearcvs.php, dotPLAN, Template/Filter_bodyonly.class, Template/Filter_php.class, Template/Filter_rtf_simpletags.class, Template/Filter_simpletags.class, Template/Filter_tags.class, templates/class_details3.template.html, templates/class_file_index2.template.html: * phpcode doc updated - working on define stuff * dotPLAN: * adding dot plan * tools/phpcodedoc/: CommentParser.class, DataTypes.class, doc_pear.php, doc_phpmole.php, templates/class_details3.template.html: * added links to phpcodedoc * transports/scp/phpide_transport_scp.class: * updated to ssh2 * ChangeLog: * final changelog update for release 1.3 * config/phpmole_prefs.class: * modifying prefs to do different defaults for win32 * config/Preferences.WIN: * phpmole_prefs.class * transports/db/phpide_transport_db.class: * oops got logic wrong on the windows db stuff * dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, dialogs/phpmole_config_dialog.class, languages/language_config.class, modules/midgard/phpglade.class, transports/db/phpide_transport_db.class: * windows release fixes * ChangeLog, help/bash.devhelp_funcs.dbm, help/bash.devhelp_pages.dbm, help/bash.devhelp_tree.dbm, help/gdk-1.2.devhelp_funcs.dbm, help/gdk-1.2.devhelp_pages.dbm, help/gdk-1.2.devhelp_tree.dbm, help/gtk-1.2.devhelp_funcs.dbm, help/gtk-1.2.devhelp_pages.dbm, help/gtk-1.2.devhelp_tree.dbm, help/php-gtk.devhelp_funcs.dbm, help/php-gtk.devhelp_pages.dbm, help/php-gtk.devhelp_tree.dbm, help/php.devhelp_funcs.dbm, help/php.devhelp_pages.dbm, help/php.devhelp_tree.dbm, transports/phpide_transports.class, transports/mgd/dialogs/mgd_article.glade: * Changelog updated for 1.3 release * tools/phpcodedoc/: DataTypes.class, MethodParser.class, PHP_CodeDoc.class, VarParser.class, doc_pear.php, doc_phpmole.php, dotPLAN, Template/Filter_simpletags.class, Template/Options.class, Template/TemplateEngine.class, templates/class_details3.template.html, templates/class_file_index2.template.html: * added var display and sorted out inheritance * tools/phpcodedoc/templates/class_details3.template.html: * adding yet another template for php code doc * tools/phpcodedoc/: DataTypes.class, MethodParser.class, PHP_CodeDoc.class, doc_pear.php, dotPLAN: * php code doc : new features now mostly working * tools/phpcodedoc/: MethodParser.class, PHP_CodeDoc.class, tokenizer_serialize.php: * phpcodedoc updated and working * tools/phpcodedoc/dotPLAN: * added dotPLan to phpcodedoc * tools/phpcodedoc/: ClassParser.class, CommentParser.class, DataTypes.class, MethodParser.class, PHP_CodeDoc.class, VarParser.class, doc_pear.php, doc_phpmole.php: * breaking phpcodedoc parser into smaller pieces * tools/phpcodedoc/: PHP_CodeDoc.class, doc_phpmole.php, php_generator.class: * renaming class and fixing a few things * tools/phpcodedoc/templates/uml_dia.xml.php: * relocated old uml file * tools/: class_details.template.html, class_file_index.template.html, class_index.template.html, doc_phpmole.php, php_generator.class, uml_dia.xml.php, uml_generator.class: * relocated phpcode doc to subdirectory * tools/phpcodedoc/: doc_pear.php, doc_pearcvs.php, doc_phpmole.php, templates/class_details2.template.html, templates/class_file_index2.template.html: * slight mods to templates for phpcodedoc * tools/phpcodedoc/templates/: class_details2.template.html, class_file_index2.template.html: * nicer templates * tools/phpcodedoc/: doc_pear.php, doc_pearcvs.php, doc_phpmole.php, templates/class_details2.template.html, templates/class_file_index2.template.html: * more updates to templates * tools/phpcodedoc/: doc_pear.php, doc_pearcvs.php, doc_phpmole.php, php_generator.class, Template/Filter_bodyonly.class, Template/Filter_php.class, Template/Filter_rtf_simpletags.class, Template/Filter_simpletags.class, Template/Filter_tags.class, Template/Options.class, Template/TemplateEngine.class, compiled/NOTEMPTY, templates/class_details.template.html, templates/class_details2.template.html, templates/class_file_index.template.html, templates/class_file_index2.template.html, templates/class_index.template.html, templates/www.akbkhome.com.html: * Moved phpcodedoc to its own directory * tools/: class_details.template.html, doc_phpmole.php, php_generator.class, class_details.template.html: * updated phpdoc code * tools/: class_details.template.html, doc_phpmole.php, php_generator.class: * more updates to phpdoc generator - working towards code highlighting * tools/: class_details.template.html, class_file_index.template.html, doc_phpmole.php, php_generator.class: * basic documentation up and working * tools/uml_generator.class: * revert uml_generator so it displays segfault bug * tools/: class_details.template.html, class_file_index.template.html, class_index.template.html, doc_phpmole.php, php_generator.class, uml_generator.class: * documenation project - phase 1 * tools/: devhelp_to_dbm.php, uml_dia.xml.php, uml_generator.class: * uml generator added - archived the proof of concept of the uml diagram concluded that the diagrams where too big to be valuable - looking at other ideas for this still. * CREDITS, ChangeLog, dialogs/phpide.class, glade/phpide.glade, languages/HTML/parser_php.class, languages/HTML/phpide_parser_HTML.class, modules/phpide_modules.class, modules/help_browser/module_help_browser.class, modules/help_viewer/module_help_viewer.class, modules/midgard/module_midgard.class, tools/devhelp_to_dbm.php, transports/phpide_transports.class, transports/file/phpide_transport_file.class: * Revert to saved now works * transports/db/phpide_transport_db.class: * navigation of database a bit nicer * transports/db/phpide_transport_db.class: * db module now navigates data correctly * modules/: phpide_modules.class, db_editor/db_editor.glade, db_editor/module_db_editor.class: * database module now does scrolling etc. * phpmole: * added silly shell script to start up phpmole * phpmole-ide.php: * fixed apd off bug * dialogs/phpide.class: * added imap and mysql to extensions list * transports/imap/phpide_transport_imap.class: * removed imap dl * dialogs/phpide.class: * sockets spelt wrong * transports/imap/: bookmarks.glade, phpide_transport_imap.class: * got bored and added the imap transport * dialogs/phpide.class, glade/interface_1.glade, glade/interface_3.glade, modules/bookmark_browser/module_bookmark_browser.class, modules/phpdict/module_phpdict.class: * Various cleanups. Need to do hiding of tree frame properly. Still lots of warnings and notices issued during regular work.. * dialogs/phpide.class: * Use pcntl_fork() to check for existence of pcntl extension. For the future, we might want to use extension_loaded(). * modules/scintilla/: module_scintilla.class, scintilla_editor.class: * beginnings of comment text and fixes to autotext * modules/scintilla/scintilla_editor.class: * beginnings of new popup menu * glade/phpide.glade: * fixed missing menu item for autotext * dialogs/phpide.class: * fixed finding directories in autotext folder * autotext/: php_phpdoc_class, php_phpdoc_method, php_phpdoc_var: * adding phpdoc to autotext * modules/: phpide_modules.class, notebook_editor/module_notebook_editor.class, scintilla/module_scintilla.class, scintilla/scintilla_editor.class: * changes required for autotext * dialogs/phpide.class: * autotext code in main application * autotext/: php_gpl_headers, php_pear_headers: * Adding autotext directory and samples * phpmole-ide.php, dialogs/phpide.class: * new warning system * languages/phpide_languages.class, transports/phpide_transports.class, modules/phpide_modules.class: * changed to require_once * languages/HTML/parser_php_base.class: * change to require_once * tools/uml_generator.class: * playing with uml_generator * modules/midgard/module_midgard.class: * fixed parameters - annoying additional ; caused it * transports/mgd/dialogs/mgd_article.glade: * changed article layout to add type, and see if it can work with smaller screens * modules/midgard/module_midgard.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_transport_mgd.class, transports/mgd/dialogs/mgd_blobs.glade, transports/mgd/dialogs/mgd_blobs_dialog.glade: * added support for mpeg movies, image preivews on midgard attachments and fixed the title editing on attachments * config/phpmole_prefs.class, dialogs/phpide.class, glade/phpide.glade, modules/bookmark_browser/module_bookmark_browser.class, modules/scintilla/scintilla_editor.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_transport_mgd.class: * added recent file list and loading (at last) * modules/html/config_dialog.glade, modules/html/html_editor.class, config/Preferences: * added configure option to html editor - to stop preparser * modules/midgard/phpglade.class: * signal handling, accelerators and statusbar now working on phpglade * modules/midgard/phpglade.class: * major update to libglade layer - it will load the core interface now, musing on the idea of adding glade interface designer to phpmole * tools/web_get.php: * changed to match fix for curl * tools/: web_get.php, webtest.php: * adding worker bee programs that will deal with web getting in future * modules/help_browser/module_help_browser.class: * added dba loader * phpmole-ide.php, docs/language_kwords_and_devhelp.txt, modules/bookmark_browser/module_bookmark_browser.class: * small fix to bookmark browser - warnings, more notes on devhelp stuff, changed memory max in phpmole * modules/xml_tree_editor/module_xml_tree_editor.class: * changed xml browser to use new xml format * modules/help_browser/module_help_browser.class: * changed help browser to use dbm files * languages/XML/: parser_XML.class, phpide_parser_XML.class: * changed xml parser to use php xml module by default * help/: bash.devhelp_funcs.dbm, bash.devhelp_pages.dbm, bash.devhelp_tree.dbm, gdk-1.2.devhelp_funcs.dbm, gdk-1.2.devhelp_pages.dbm, gdk-1.2.devhelp_tree.dbm, gtk-1.2.devhelp_funcs.dbm, gtk-1.2.devhelp_pages.dbm, gtk-1.2.devhelp_tree.dbm, php-gtk.devhelp_funcs.dbm, php-gtk.devhelp_pages.dbm, php-gtk.devhelp_tree.dbm, php.devhelp_funcs.dbm, php.devhelp_pages.dbm, php.devhelp_tree.dbm: * adding first generation generated dbm files * tools/devhelp_to_dbm.php: * adding devhelp to dbm convertor * docs/language_kwords_and_devhelp.txt: * adding notes on devhelp changes * README: * made README more informative * transports/: db/phpide_transport_db.class, scp/phpide_transport_scp.class: * removed DB check - it crashed anyway opening dbs if pear db did not exist added get_title method to scp so titles show up in trees * dialogs/: phpide.class, phpmole.xpm: * silly phpmole icon added * ChangeLog, phpmole-ide.php, modules/bookmark_browser/module_bookmark_browser.class, modules/phppresents/phppresents.glade, modules/phppresents/slides/full_slideshow.html: * fixed bug with new bookmark code * modules/bookmark_browser/module_bookmark_browser.class: * changed the behaviour of the bookmark navigator to do popups automatically * glade/phpide.glade, modules/phppresents/module_phppresents.class, modules/phppresents/present.php, modules/scintilla/module_scintilla.class, modules/scintilla/scintilla_editor.class, transports/scp/phpide_transport_scp.class: * fixed scintilla folding / class navigation loosing changes - small scp new file fix * modules/midgard/module_midgard.class: * fixed a few open close midgard bugs * languages/HTML/parser_php_base.class, modules/phpide_modules.class, tests/pgtkhtml/pgtkhtml.class: * added hash support, bit of code tidyup * modules/phppresents/present.php: * added present.php - standalone presenter * modules/phppresents/: module_phppresents.class, slides/full_slideshow.html: * keyboard short cuts working in phppresents - more updates to presentation * modules/directory_viewer/module_directory_viewer.class: * added warnings if no gd or imagick library * phpmole-ide.php, modules/html/module_html.class, modules/phppresents/slides/full_slideshow.html, tests/pgtkhtml/html_flow.class, tests/pgtkhtml/html_object.class, tests/pgtkhtml/html_parser.class, tests/pgtkhtml/html_table.class, tests/pgtkhtml/html_td.class, tests/pgtkhtml/html_text.class, tests/pgtkhtml/html_textblock.class, tests/pgtkhtml/html_tr.class, tests/pgtkhtml/pgtkhtml.class, tests/pgtkhtml/test.php: * presentation update, fixed a few minor bugs * modules/phppresents/slides/full_slideshow.html: * added a bit more documentation * modules/phpide_modules.class, ChangeLog, modules/phpide_modules.class: * removed debugging code from module manager * modules/: phpide_modules.class, apd_debugger/apd_debugger.glade, apd_debugger/apd_debugger_listener.class, apd_debugger/module_apd_debugger.class, apd_debugger/stock_index.xpm, apd_debugger/stock_last.xpm, apd_debugger/stock_right_arrow.xpm, apd_debugger/stock_trash.xpm, simple_debugger/simple_debugger_server.class, simple_debugger/socket_server.class: * apd debugger support added - refer to mailing list for patch that makes it interactive * tests/pgtkhtml/: concept_diagram.dia, html_flow.class, html_object.class, html_object_hidden.class, html_parser.class, html_table.class, html_text.class, html_textblock.class, html_tr.class, pgtkhtml.class, test.php: * pgtkhtml - some more fixes * tests/pgtkhtml/: html_flow.class, html_textblock.class: * pgtkhtml - fixed last line missing * tests/pgtkhtml/: html_flow.class, html_parser.class, html_text.class, html_textblock.class, pgtkhtml.class: * pgtkhtml - simple rendering working again * modules/html/html.glade, modules/html/html_editor.class, modules/html/module_html.class, modules/notebook_editor/module_notebook_editor.class, modules/phppresents/module_phppresents.class, modules/phppresents/phppresents.glade, modules/phppresents/stock_down_arrow.xpm, modules/phppresents/stock_home.xpm, modules/phppresents/stock_left_arrow.xpm, modules/phppresents/stock_refresh.xpm, modules/phppresents/stock_right_arrow.xpm, modules/phppresents/stock_stop.xpm, modules/phppresents/stock_up_arrow.xpm, modules/phppresents/slides/full_slideshow.html, modules/phppresents/slides/php-gtk.gif, modules/phppresents/slides/template.html, transports/file/phpide_transport_file.class: * added the phppresents module, added shift para left and right to html editor * tests/pgtkhtml/: html_flow.class, html_object.class, html_parser.class, html_text.class, html_textblock.class, pgtkhtml.class, html_object_hidden.class: * pgtkhtml - this should break everything * tests/pgtkhtml/: html_br.class, html_table.class, html_td.class, html_tr.class: * adding extra classes * languages/HTML/html_generator_base.class, modules/class_browser/module_class_browser.class, modules/html/gtkhtml_generator.class, tests/pgtkhtml/html_cursor.class, tests/pgtkhtml/html_flow.class, tests/pgtkhtml/html_object.class, tests/pgtkhtml/html_parser.class, tests/pgtkhtml/html_text.class, tests/pgtkhtml/html_textblock.class, tests/pgtkhtml/pgtkhtml.class: * html editor working again - attempting to do tables in pgtkhtml * glade/phpide.glade, languages/phpide_languages.class, modules/phpide_modules.class, modules/scintilla/scintilla_editor.class, tests/pgtkhtml/html_cursor.class, tests/pgtkhtml/html_object.class: * minor fixes to autocompletion * tests/pgtkhtml/: html_cursor.class, html_object.class, html_text.class: * highlighting still flaky - probably move back to original code * config/phpmole_prefs.class, languages/HTML/parser_HTML.class, tests/pgtkhtml/concept_diagram.dia, tests/pgtkhtml/html_cursor.class, tests/pgtkhtml/html_flow.class, tests/pgtkhtml/html_object.class, tests/pgtkhtml/html_parser.class, tests/pgtkhtml/html_text.class, tests/pgtkhtml/html_textblock.class: * this breaks the html editor - working on pgtkhtml * tests/pgtkhtml/: html_flow.class, html_object.class, html_painter.class, html_parser.class, html_text.class, html_textblock.class, pgtkhtml.class, test.php: * pgtkhgtml - wrapping working * docs/TODO, tests/pgtkhtml/concept_diagram.dia, tests/pgtkhtml/html_flow.class, tests/pgtkhtml/html_object.class, tests/pgtkhtml/html_text.class, tests/pgtkhtml/html_textblock.class: * more stuff in pgtkhtml and real TODO list * tests/pgtkhtml/html_parser.class: * pgtkhtml - added parser: * tests/pgtkhtml/: html_text.class, pgtkhtml.class: * pgtkhtml = rendering color background and forground * tests/pgtkhtml/: html_cursor.class, html_painter.class, html_text.class, pgtkhtml.class, test.php: * pgtkhtml - loads and highlights html file roughtly * tests/pgtkhtml/: html_cursor.class, html_painter.class, html_text.class, pgtkhtml.class, test.php: * pgtkhtml - simple highlighting and character adding working to some degree * dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, glade/phpide.glade, languages/phpide_languages.class, modules/phpide_modules.class, modules/cache_manager/module_cache_manager.class, modules/help_browser/module_help_browser.class, modules/help_viewer/module_help_viewer.class, modules/midgard/module_midgard.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, transports/phpide_transports.class: * close all, save all working, modified get_active document to use notebook information * ChangeLog, config/phpmole_prefs.class, dialogs/phpide.class, glade/phpide.glade, modules/simple_debugger/execute_options.class, modules/simple_debugger/module_simple_debugger.class: * simple debugger is now usable to run and test applications and urls * dialogs/phpide.class, languages/phpide_languages.class, modules/phpide_modules.class, modules/simple_debugger/execute_options.class, modules/simple_debugger/execute_options.glade, modules/simple_debugger/module_simple_debugger.class, modules/simple_debugger/simple_debugger.glade: * more updates on the debugger * modules/simple_debugger/execute_options.class, modules/simple_debugger/execute_options.glade, modules/simple_debugger/module_simple_debugger.class, tests/pgtkhtml/html_cursor.class, tests/pgtkhtml/html_painter.class, tests/pgtkhtml/html_text.class, tests/pgtkhtml/pgtkhtml.class: * working with debugger and pgtkhtml * phpmole.exe, tools/php_win.c: * added bootstrapper for phpmole - modified version of php_win.c * legacy/midgard_reciever.php: * added score support for topics and articles * dialogs/config_dialog_generic.class, dialogs/master_config.glade, dialogs/phpmole_config_dialog.class, languages/LanguageModes, languages/LanguageModes.html, languages/language_config.class, languages/languages_dialog.glade, languages/phpide_languages.class, modules/phpide_modules.class, modules/scintilla/module_scintilla.class, modules/scintilla/scintilla_editor.class: * All the scintilla configuration should work now - you can change colours styles etc. * dialogs/config_dialog_generic.class, modules/scintilla/config_dialog.glade: * fixed color changing by show-hide trick * glade/phpide.glade, modules/notebook_editor/module_notebook_editor.class: * fixed sensitive on save when all documents are closed * dialogs/phpide.class: * fixed show hide bug that I just introduced * dialogs/: about_dialog.glade, phpide.class, phpmole_about_dialog.class: * oops forgot to add about dialog and class * ChangeLog, tests/pgtkhtml/html_cursor.class, tests/pgtkhtml/html_painter.class, tests/pgtkhtml/html_text.class: * changelog update, added pgtkhtml testing stuff * CREDITS, dialogs/phpide.class, docs/about.txt, glade/class.xpm, glade/interface_1.glade, glade/phpide.glade, glade/stock_help2.xpm, glade/stock_menu_hide_show.xpm, glade/stock_menu_hide_show2.xpm, glade/stock_save_all.xpm, glade/stock_stop2.xpm, languages/LanguageModes, languages/phpide_languages.class, modules/phpide_modules.class, modules/bookmark_browser/bookmarks_dialog.glade, modules/bookmark_browser/module_bookmark_browser.class, modules/help_viewer/module_help_viewer.class, modules/scintilla/module_scintilla.class, modules/scintilla/scintilla_editor.class, modules/simple_debugger/module_simple_debugger.class: * major interface updates - more of those annoying missing features working * legacy/midgard_reciever.php: * fix to reciever to show styles correctly * ChangeLog, legacy/midgard_reciever.php, modules/midgard/module_midgard.class, tests/pgtkhtml/pgtkhtml.class, tests/pgtkhtml/test.php, transports/mgd/mgd_http_layer.class: * fixes to midgard transport - pulldown fixes and calendar * tests/: README, phpmole.html, test.html, pgtkhtml/pgtkhtml.class, pgtkhtml/test.php: * adding tests and a little drawing experiment * modules/: bookmark_browser/module_bookmark_browser.class, directory_viewer/module_directory_viewer.class, midgard/phpglade.class: * copy paste image transfer working * dialogs/phpide_Dialog_Generic.class, transports/mgd/phpide_midgard_details_dialog.class, transports/mgd/phpide_midgard_objects.class: * removed edit membership and made new midgard dialogs use the emulation layer * glade/phpide.glade, transports/mgd/phpide_midgard_objects.class: * added _ to view and fixed new host * modules/help_viewer/module_help_viewer.class, modules/midgard/module_midgard.class, modules/midgard/phpglade.class, modules/midgard/test.glade, transports/mgd/dialogs/mgd_group.glade: * glade emulation layer seems to be working - now testing * modules/midgard/: phpglade.class, test.glade: * phpglade - the glade emulator added * ChangeLog, README, languages/phpide_languages.class, modules/midgard/module_midgard.class, modules/notebook_editor/module_notebook_editor.class, modules/simple_debugger/module_simple_debugger.class, modules/simple_debugger/socket_server.class, modules/text_editor/module_text_editor.class, modules/text_editor/text_editor.class, transports/file/phpide_transport_file.class: * Split the text editor into 2 - multi document manager and editor - should mean windows is now working * modules/directory_viewer/module_directory_viewer.class: * directory viewer now checks for gtkpixmap on selecting line - win32 crash * modules/phpide_modules.class: * removed a little debugging echos * config/Preferences, dialogs/config_dialog.glade, dialogs/phpmole_config_dialog.class, modules/config_dialog.glade, modules/phpide_modules.class: * added ability to disable modules - should make win32 debugging easier * transports/mgd/: phpide_midgard_objects.class, dialogs/mgd_group.glade, dialogs/mgd_group_dialog.glade: * last fixes to get all the dialogs stuff working * ChangeLog, modules/midgard/module_midgard.class: * fixed small bug with midgard glade loader * modules/midgard/module_midgard.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/dialogs/README, transports/mgd/dialogs/mgd_article.glade, transports/mgd/dialogs/mgd_article_dialog.glade, transports/mgd/dialogs/mgd_blobs.glade, transports/mgd/dialogs/mgd_element.glade, transports/mgd/dialogs/mgd_element_dialog.glade, transports/mgd/dialogs/mgd_group.glade, transports/mgd/dialogs/mgd_host.glade, transports/mgd/dialogs/mgd_host_dialog.glade, transports/mgd/dialogs/mgd_members_dialog.glade, transports/mgd/dialogs/mgd_omphp_things.glade, transports/mgd/dialogs/mgd_page.glade, transports/mgd/dialogs/mgd_page_dialog.glade, transports/mgd/dialogs/mgd_page_element.glade, transports/mgd/dialogs/mgd_page_element_dialog.glade, transports/mgd/dialogs/mgd_pageelement.glade, transports/mgd/dialogs/mgd_parameters_dialog.glade, transports/mgd/dialogs/mgd_person.glade, transports/mgd/dialogs/mgd_person_dialog.glade, transports/mgd/dialogs/mgd_sitegroup.glade, transports/mgd/dialogs/mgd_sitegroup_dialog.glade, transports/mgd/dialogs/mgd_snippet.glade, transports/mgd/dialogs/mgd_snippet_dialog.glade, transports/mgd/dialogs/mgd_snippetdir.glade, transports/mgd/dialogs/mgd_snippetdir_dialog.glade, transports/mgd/dialogs/mgd_style.glade, transports/mgd/dialogs/mgd_style_dialog.glade, transports/mgd/dialogs/mgd_topic.glade, transports/mgd/dialogs/mgd_topic_dialog.glade: * midgard new dialogs and editing interfaces broken into two files * transports/mgd/dialogs/: mgd_blobs_dialog.glade, mgd_element_dialog.glade, mgd_group_dialog.glade, mgd_host_dialog.glade, mgd_page_dialog.glade, mgd_page_element_dialog.glade, mgd_person_dialog.glade, mgd_sitegroup_dialog.glade, mgd_snippet_dialog.glade, mgd_snippetdir_dialog.glade, mgd_style_dialog.glade, mgd_topic_dialog.glade: * added parameters to all dialogs * legacy/createdef.php, legacy/midgard_reciever.php, modules/scintilla/scintilla_replace_dialog.class, modules/scintilla/scintilla_search_dialog.class, modules/simple_debugger/execute_options.class, modules/simple_debugger/test.php, tools/build_manual.php, tools/createdef.php, tools/domxmltext.php, tools/phpmanual_devhelp_generator.class, tools/phpmanual_help_fetch.class, tools/Phpmole_Installer/installer.php, tools/Phpmole_Installer/phpmole_installer.class: * Should be the last of the short tags removed * pear/Phpmole_Installer/: installer.php, package.xml, phpmole_installer.class: * removing pear directory - everything should now be in tools * legacy/midgard_reciever.php, modules/midgard/module_midgard.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_midgard_xmlparse.class, transports/mgd/dialogs/mgd_article_dialog.glade, transports/mgd/dialogs/mgd_blobs_dialog.glade, transports/mgd/dialogs/mgd_element_dialog.glade, transports/mgd/dialogs/mgd_group_dialog.glade, transports/mgd/dialogs/mgd_person_dialog.glade: * Parameter, locking and approval on articles added - need to add parameter dialog to more objects.. * FILE_STRUCTURE.txt, README, commit.php, update_changelog.sh: * added getenv patch by Karsten Dambekalns which removes the need for dollarHOME variables being globalized everywhere, a few more php long tags added, and a few older/ duplicate files removed, a few more standard files added README and FILE_STRUCTURE * tools/php_functions.php, tools/Phpmole_Installer/installer.php, config/phpmole_prefs.class, languages/phpide_languages.class, languages/HTML/parser_HTML_base.class, legacy/php_functions.php, modules/cache_manager/module_cache_manager.class, modules/help_browser/module_help_browser.class, modules/help_viewer/module_help_viewer.class, modules/simple_debugger/module_simple_debugger.class, pear/Phpmole_Installer/installer.php, transports/scp/phpide_transport_scp.class: * added getenv patch by Karsten Dambekalns which removes the need for dollarHOME variables being globalized everywhere, a few more php long tags added, and a few older/ duplicate files removed * phpmole-ide.php, DB/rpc.php, config/defines.inc, config/phpmole_prefs.class, dialogs/config_dialog_generic.class, dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, dialogs/phpmole_config_dialog.class, dialogs/phpmole_new_file_dialog.class, dialogs/phpmole_password_dialog.class, glade/phpide.glade, languages/language_config.class, languages/phpide_language.inc, languages/phpide_languages.class, languages/HTML/html_generator_base.class, languages/HTML/parser_HTML.class, languages/HTML/parser_HTML_base.class, languages/HTML/parser_php.class, languages/HTML/parser_php_base.class, languages/HTML/phpide_parser_HTML.class, languages/XML/parser_XML.class, languages/XML/phpide_parser_XML.class, languages/XML/xml_generator.class, modules/phpide_modules.class, modules/bookmark_browser/bookmark_management.class, modules/bookmark_browser/module_bookmark_browser.class, modules/bookmark_browser/module_bookmark_browser_popup_menu.class, modules/bookmark_browser/module_bookmark_editor.class, modules/bookmark_browser/phpide_popup_menu.class, modules/cache_manager/module_cache_manager.class, modules/class_browser/module_class_browser.class, modules/db_editor/module_db_editor.class, modules/directory_viewer/module_directory_viewer.class, modules/directory_viewer/phpmole_image_gd.class, modules/directory_viewer/phpmole_image_imagick.class, modules/help_browser/module_help_browser.class, modules/help_viewer/module_help_viewer.class, modules/html/gtkhtml_generator.class, modules/html/html_editor.class, modules/html/html_image_browser.class, modules/html/module_html.class, modules/midgard/module_midgard.class, modules/midgard_wizard/module_midgard_wizard.class, modules/notebook_editor/module_notebook_editor.class, modules/phpdict/module_phpdict.class, modules/scintilla/module_scintilla.class, modules/scintilla/scintilla_editor.class, modules/simple_debugger/module_simple_debugger.class, modules/simple_debugger/simple_debugger_client.class, modules/simple_debugger/simple_debugger_server.class, modules/simple_debugger/socket_server.class, modules/text_editor/module_text_editor.class, modules/xml_tree_editor/module_xml_tree_editor.class, transports/phpide_transports.class, transports/db/phpide_transport_db.class, transports/file/phpide_transport_file.class, transports/mgd/extra_objects.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_midgard_details_dialog.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_midgard_xmlparse.class, transports/mgd/phpide_transport_mgd.class, transports/scp/phpide_transport_scp.class: * GNU headers at last, the disappearing modules window, and php starting tags added to most files. * glade/phpide.glade, modules/bookmark_browser/module_bookmark_browser.class, transports/mgd/phpide_midgard_details_dialog.class: * Fixed menu - add bookmark and tooltip on save icon * phpmole-ide.php, dialogs/phpide_Dialog_Generic.class, languages/phpide_languages.class, modules/midgard/module_midgard.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/dialogs/mgd_omphp_things_dialog.glade: * midgard fixes for hosts page, style page and fix to parse to make it regenerate on save * languages/HTML/parser_HTML.class, modules/class_browser/module_class_browser.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/scintilla_editor.class, modules/xml_tree_editor/module_xml_tree_editor.class: * fixed that annoying bug of switching documents overwriting with an old version, and a few more warnings removed * modules/html/html_editor.class, transports/mgd/dialogs/mgd_host_dialog.glade: * fixed html bugs on gtkhtml, added auth button to hosts dialog * ChangeLog, languages/HTML/html_generator_base.class, languages/HTML/parser_HTML.class, modules/html/gtkhtml_generator.class, modules/html/html_editor.class: * Fixed bug relating to html parsing for html to scintilla flipping * dialogs/phpide.class, transports/scp/phpide_transport_scp.class: * Fixes by Marius Andreiana - transports/scp/phpide_transport_scp.class: removed php warnings by using "username" and "remotehost" as array indexes and check existance of [8] before using it * dialogs/phpide.class: * removed quit callback from module manager and moved it to app * dialogs/phpide.class, modules/phpide_modules.class: * it now remembers window postition :) * phpmole-ide.php, dialogs/phpide.class, legacy/midgard_reciever.php, modules/midgard/module_midgard.class, modules/scintilla/module_scintilla.class, modules/scintilla/scintilla_editor.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_transport_mgd.class: * Group and Member updating now working in midgard module * phpmole-ide.php, dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, glade/interface_1.glade, glade/phpide.glade, dialogs/config_dialog.glade, dialogs/master_config.glade, dialogs/phpmole_config_dialog.class, modules/scintilla/config_dialog.glade: * window size save works, started work on breaking editor apart * modules/midgard/module_midgard.class, transports/mgd/dialogs/mgd_group_dialog.glade, transports/mgd/dialogs/mgd_person_dialog.glade, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_transport_mgd.class: * more fixes to midgard transport to support updating of groups * phpmole-ide.php, modules/bookmark_browser/module_bookmark_editor.class, modules/midgard/module_midgard.class, transports/mgd/phpide_midgard_objects.class: * Fixed admingroup option in sitegroup editing * transports/mgd/phpide_midgard_objects.class: * fixed sitegroup zero action - should not open a dialog * transports/mgd/bookmarks.glade: * oops bookmarks.glade should be in transports directory * modules/: phpide_modules.class, scintilla/module_scintilla.class, scintilla/scintilla_editor.class: * fixed folding bugs with midgard data * modules/scintilla/scintilla_editor.class: * fixed folding in scintilla to show phpdoc type comments correctly * ChangeLog, config/phpmole_prefs.class, languages/HTML/parser_php.class, languages/HTML/parser_php_base.class, modules/scintilla/scintilla_editor.class: * updates to scintilla and php parser trying to get comments to display correctly for folding * transports/mgd/dialogs/mgd_omphp_things_dialog.glade: * adding omphp_things dialog * phpmole-ide.php, docs/Midgard Rpc layer.txt, modules/phpide_modules.class, modules/html/module_html.class, modules/midgard/module_midgard.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, transports/mgd/extra_objects.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_midgard_xmlparse.class, transports/mgd/phpide_transport_mgd.class: * updates to midgard and rpc transpor layer * ChangeLog, languages/HTML/parser_HTML.class, languages/HTML/phpide_parser_HTML.class, modules/cache_manager/module_cache_manager.class, modules/class_browser/module_class_browser.class, modules/html/module_html.class, modules/midgard/module_midgard.class, modules/notebook_editor/module_notebook_editor.class, modules/phpdict/pkg.dict.php, modules/scintilla/module_scintilla.class, modules/xml_tree_editor/module_xml_tree_editor.class, transports/phpide_transports.class, transports/mgd/bookmarks.glade, transports/mgd/mgd_article_dialog.glade, transports/mgd/mgd_blobs_dialog.glade, transports/mgd/mgd_element_dialog.glade, transports/mgd/mgd_group_dialog.glade, transports/mgd/mgd_host_dialog.glade, transports/mgd/mgd_members_dialog.glade, transports/mgd/mgd_page_dialog.glade, transports/mgd/mgd_page_element_dialog.glade, transports/mgd/mgd_pageelement_dialog.glade, transports/mgd/mgd_parameters_dialog.glade, transports/mgd/mgd_person_dialog.glade, transports/mgd/mgd_sitegroup_dialog.glade, transports/mgd/mgd_snippet_dialog.glade, transports/mgd/mgd_snippetdir_dialog.glade, transports/mgd/mgd_style_dialog.glade, transports/mgd/mgd_topic_dialog.glade: * major updates to midgard functionality * transports/mgd/: extra_objects.class, mgd_http_layer.class, phpide_midgard_details_dialog.class, phpide_midgard_objects.class, phpide_midgard_xmlparse.class, phpide_transport_mgd.class, dialogs/bookmarks.glade, dialogs/mgd_article_dialog.glade, dialogs/mgd_blobs_dialog.glade, dialogs/mgd_element_dialog.glade, dialogs/mgd_group_dialog.glade, dialogs/mgd_host_dialog.glade, dialogs/mgd_members_dialog.glade, dialogs/mgd_page_dialog.glade, dialogs/mgd_page_element_dialog.glade, dialogs/mgd_pageelement_dialog.glade, dialogs/mgd_parameters_dialog.glade, dialogs/mgd_person_dialog.glade, dialogs/mgd_sitegroup_dialog.glade, dialogs/mgd_snippet_dialog.glade, dialogs/mgd_snippetdir_dialog.glade, dialogs/mgd_style_dialog.glade, dialogs/mgd_topic_dialog.glade: * moved midgard dialogs into their own directory * xpm/: mgd_blob.xpm, mgd_grp.xpm, mgd_topic.xpm, mgd_topic_closed.xpm, mgd_topic_open.xpm: * added more icons * modules/midgard/module_midgard.class, transports/mgd/extra_objects.class, transports/mgd/mgd_article_dialog.glade, transports/mgd/mgd_blobs_dialog.glade, transports/mgd/mgd_element_dialog.glade, transports/mgd/mgd_group_dialog.glade, transports/mgd/mgd_host_dialog.glade, transports/mgd/mgd_http_layer.class, transports/mgd/mgd_members_dialog.glade, transports/mgd/mgd_page_dialog.glade, transports/mgd/mgd_page_element_dialog.glade, transports/mgd/mgd_pageelement_dialog.glade, transports/mgd/mgd_person_dialog.glade, transports/mgd/mgd_sitegroup_dialog.glade, transports/mgd/mgd_snippet_dialog.glade, transports/mgd/mgd_snippetdir_dialog.glade, transports/mgd/mgd_style_dialog.glade, transports/mgd/mgd_topic_dialog.glade, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_transport_mgd.class: * started addtion of midgard detail editing as an editor module This is to facilitate creation of a generic web interface api * legacy/midgard_reciever.php, modules/bookmark_browser/module_bookmark_browser.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_midgard_details_dialog.class, transports/mgd/phpide_midgard_xmlparse.class, transports/mgd/phpide_transport_mgd.class: * major updates to midgard transport layer making it alot more effecient, improving caching tested using as non admin user, creation of new elements is reflected in tree and automatically opens * languages/HTML/html_generator_base.class, languages/HTML/parser_HTML.class, languages/HTML/parser_php_base.class, modules/html/html_editor.class, modules/html/module_html.class: * fixed html generator to fix html editor * dialogs/phpide.class, glade/interface_1.glade, languages/HTML/html_generator_base.class, languages/XML/phpide_parser_XML.class, languages/XML/xml_export.class, languages/XML/xml_generator.class, modules/phpide_modules.class, modules/bookmark_browser/bookmark_management.class, modules/bookmark_browser/module_bookmark_browser.class, modules/class_browser/module_class_browser.class, modules/directory_viewer/directory.glade, modules/directory_viewer/module_directory_viewer.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/scintilla_editor.class, modules/simple_debugger/module_simple_debugger.class, modules/simple_debugger/simple_debugger.glade, modules/simple_debugger/simple_debugger_client.class, modules/xml_tree_editor/module_xml_tree_editor.class, modules/xml_tree_editor/xml_tree_editor.glade, transports/file/phpide_transport_file.class: * more code tidying up, sort out scroll bar odities, html and generator fixes - this may break other things, added method to bookmark browser to work out the bookmark id from a url fixed alot of the debugger, added xml_tree_editor module - read only at present * languages/phpide_languages.class, transports/mgd/phpide_transport_mgd.class: * added notes to midgard transport regarding copying * modules/: bookmark_browser/module_bookmark_browser.class, cache_manager/module_cache_manager.class, directory_viewer/module_directory_viewer.class, help_viewer/module_help_viewer.class, html/gtkhtml_generator.class, html/html_editor.class, html/module_html.class, phpdict/module_phpdict.class, phpdict/phpdict.glade, phpdict/pkg.dict.php, scintilla/scintilla_editor.class, simple_debugger/module_simple_debugger.class, simple_debugger/simple_debugger.glade: * added phpdict, and other little minor fixes that the debugger found * modules/simple_debugger/: module_simple_debugger.class, simple_debugger_client.class, socket_server.class: * small fixes found by debugger * modules/simple_debugger/socket_test.php: * removed test file * modules/simple_debugger/: module_simple_debugger.class, simple_debugger_client.class, simple_debugger_server.class, socket_server.class, socket_test.php: * socket version of debugger now working * modules/simple_debugger/: socket_server.class, socket_test.php: * added socket server classes for debugger * modules/simple_debugger/socket_server.class: * Base Class for developing the Application runner, The Server will be phpmole The clients will be the spawned job runners. * modules/directory_viewer/module_directory_viewer.class, modules/simple_debugger/execute_options.glade, modules/simple_debugger/module_simple_debugger.class, transports/mgd/phpide_transport_mgd.class: * changed layout of proposed build dialog, gif support for dir view, added pid to filename for debugger, fixed a small warning in mgd transport * modules/simple_debugger/module_simple_debugger.class: * fixed build button if you dont have pcntl * ChangeLog: * Changelog updated * languages/phpide_languages.class, languages/HTML/parser_HTML.class, modules/phpide_modules.class, modules/class_browser/module_class_browser.class, modules/directory_viewer/module_directory_viewer.class, modules/scintilla/module_scintilla.class, modules/scintilla/scintilla_editor.class, transports/mgd/phpide_midgard_xmlparse.class, transports/mgd/phpide_transport_mgd.class: * warning fixes, picked up by debugger * modules/simple_debugger/: execute_options.class, execute_options.glade, module_simple_debugger.class, simple_debugger.glade: * Debugger now executes phpmole, and jumps to lines * modules/simple_debugger/module_simple_debugger.class: * updated * modules/simple_debugger/module_simple_debugger.class: * debugger fork fixed - see php-dev mailing list, code for socket IPC in, but not working * glade/interface_1.glade, modules/phpide_modules.class, modules/cache_manager/module_cache_manager.class: * made the spare module tab automatically add unassigned modules to the tab at the bottom * modules/simple_debugger/: module_simple_debugger.class, simple_debugger.glade, test.php: * added beginnings of simple debugger module - requires pcntl * legacy/midgard_reciever.php, modules/directory_viewer/module_directory_viewer.class: * reciever deals with delete, directory show file icons * commit.php: * fixed typo on commit script * ChangeLog: * Auto update of ChangeLog * dialogs/phpide_Dialog_Generic.class, modules/directory_viewer/directory.glade, modules/directory_viewer/module_directory_viewer.class, modules/scintilla/module_scintilla.class, transports/file/phpide_transport_file.class, transports/mgd/phpide_transport_mgd.class: * directory browser pretty much completed, delete, drag and drop for files and midgard appear to be working * ChangeLog: * Auto update of ChangeLog * modules/directory_viewer/module_directory_viewer.class, transports/file/phpide_transport_file.class: * fixed image resize stopping when view changed and started adding in the ability to delete files again * ChangeLog: * Auto update of ChangeLog * modules/bookmark_browser/module_bookmark_browser.class, modules/directory_viewer/module_directory_viewer.class, transports/file/phpide_transport_file.class, transports/mgd/mgd_http_layer.class, transports/mgd/mgd_topic_dialog.glade, transports/mgd/phpide_midgard_details_dialog.class, transports/mgd/phpide_transport_mgd.class: * more fixes related to changing the midgard trasport URL format. file upload appears to be working most of the time * ChangeLog: * Auto update of ChangeLog * commit.php, modules/bookmark_browser/module_bookmark_browser.class, transports/file/phpide_transport_file.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_transport_mgd.class: * drag drop from midgard to file system works, added a do you want to prompt on the action. * commit.php, commit.php, ChangeLog: * adding changelog * tools/cvs2cl: * adding modified cvs2cl to repository - good perl is awful - anyway it changes the output format to a much cleaner look.. * legacy/omphp_http_post.class: * removed old file * dialogs/phpmole_new_file_dialog.class, modules/bookmark_browser/module_bookmark_browser.class, transports/phpide_transports.class, transports/file/phpide_transport_file.class: * fixed new file - had not been updated to use new generic dialog stuff * modules/phpide_modules.class, modules/html/html_editor.class, modules/html/module_html.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_transport_mgd.class: * serious update to editor - it now works with midgard multi paned objects * modules/: html/html_editor.class, scintilla/scintilla_editor.class: * added modulized editors * languages/phpide_languages.class, modules/class_browser/module_class_browser.class, modules/scintilla/module_scintilla.class, transports/db/phpide_transport_db.class, transports/file/phpide_transport_file.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_transport_mgd.class, transports/scp/phpide_transport_scp.class: * scintilla can now be multi-paned for midgard, and html is almost there * modules/directory_viewer/module_directory_viewer.class: * stopped crash when no image library was available = eg. imagick or gd * modules/db_editor/module_db_editor.class, transports/db/phpide_transport_db.class: * callbacks added to scrollbars on clist for db viewer * phpmole-ide.php, transports/db/phpide_transport_db.class: * oops slight fixes to db transport * transports/mgd/mgd_blobs_dialog.glade: * added blob dialog * DB/rpc.php: * DB rpc class added * phpmole-ide.php, dialogs/phpide_Dialog_Generic.class, modules/bookmark_browser/bookmark_management.class, modules/bookmark_browser/module_bookmark_browser.class, modules/bookmark_browser/module_bookmark_editor.class, modules/scintilla/module_scintilla.class, transports/phpide_transports.class, transports/db/bookmarks.glade, transports/db/phpide_transport_db.class, transports/file/phpide_transport_file.class, transports/mgd/phpide_transport_mgd.class, transports/scp/phpide_transport_scp.class: * adding and editing bookmarks fixed, db bookmark editing added * modules/scintilla/module_scintilla.class: * scintilla loads text from data when it has changed * phpmole-ide.php, modules/db_editor/module_db_editor.class, transports/db/phpide_transport_db.class: * database changes * modules/html/: comment.png, module_html.class: * more efforts at trying to fix gtkhtml editor * languages/HTML/parser_HTML.class, languages/HTML/parser_php_base.class, modules/phpide_modules.class, modules/class_browser/module_class_browser.class, modules/notebook_editor/module_notebook_editor.class, transports/phpide_transports.class: * fixed loader * modules/html/: gtkhtml_generator.class, module_html.class: * added php preservation in html editor * phpmole-ide.php: * oops bad fix to module checking * phpmole-ide.php: * removed warnings for missing modules * phpmole-ide.php, dialogs/phpide_Dialog_Generic.class, dialogs/phpmole_new_file_dialog.class, languages/phpide_languages.class, languages/HTML/parser_php.class, modules/phpide_modules.class, modules/class_browser/module_class_browser.class, modules/db_editor/module_db_editor.class, modules/directory_viewer/module_directory_viewer.class, modules/directory_viewer/phpmole_image_gd.class, modules/directory_viewer/phpmole_image_imagick.class, modules/html/module_html.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, modules/text_editor/module_text_editor.class, transports/file/phpide_transport_file.class, transports/mgd/phpide_transport_mgd.class, transports/scp/phpide_transport_scp.class: * more warnings removed, better windoze support * phpconverter/XML_Tree_Node.class, phpconverter/parser_php_base.class, phpconverter/php_to_tree.class, transports/scp/phpide_transport_scp.class: * more updates * phpconverter/: XML_Tree_Node.class, php_to_tree.class: * more works, more doesnt * dialogs/progress_dialog.glade: * adding progress dialog * phpconverter/: XML_Tree_Node.class, parser_HTML.class, parser_HTML_base.class, parser_php_base.class, php_to_tree.class, phpconverter.php: * Adding phpconverter * dialogs/password_entry_dialog.glade, languages/HTML/parser_php_base.class, modules/bookmark_browser/module_bookmark_browser.class, modules/directory_viewer/module_directory_viewer.class: * minor updates * glade/bookmarks_dialog.glade, glade/languages_dialog.glade, glade/ok_cancel_dialog.glade, glade/ok_dialog.glade, glade/password_entry_dialog.glade, glade/replace_dialog.glade, glade/replace_prompt_dialog.glade, glade/search_dialog.glade, glade/search_in_files_dialog.glade, glade/yes_no_dialog.glade, modules/directory_viewer/module_directory_viewer.class, modules/scintilla/replace_prompt_dialog.glade, modules/scintilla/search_in_files_dialog.glade: * more clean up of glade directory * phpmole-ide.php, dialogs/config_dialog_generic.class, dialogs/gtkm_Dialog_Generic.class, dialogs/gtkm_Dialog_New_File.class, dialogs/gtkm_Dialog_Password.class, dialogs/ok_cancel_dialog.glade, dialogs/ok_dialog.glade, dialogs/password_entry_dialog.glade, dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, dialogs/phpmole_new_file_dialog.class, dialogs/phpmole_password_dialog.class, dialogs/text_entry_dialog.glade, dialogs/transfer_dialog.glade, dialogs/yes_no_dialog.glade, transports/file/phpide_transport_file.class, transports/mgd/phpide_midgard_details_dialog.class, transports/mgd/phpide_transport_mgd.class, transports/scp/phpide_transport_scp.class: * removed references to old gtkm dialogs, and started adding error prompts * modules/html/module_html.class: * fudged drag and drop on images * dialogs/phpide_Dialog_Generic.class, modules/bookmark_browser/module_bookmark_browser.class, transports/mgd/mgd_http_layer.class, transports/mgd/mgd_parameters_dialog.glade, transports/mgd/phpide_midgard_details_dialog.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_midgard_xmlparse.class, transports/mgd/phpide_transport_mgd.class: * beginnings of parameter editing * modules/bookmark_browser/module_bookmark_browser.class, modules/directory_viewer/phpmole_image_imagick.class, modules/html/module_html.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_transport_mgd.class: * added get_link to mgd and fixed a few warnings - image scalling now works nicely * modules/: phpide_modules.class, directory_viewer/phpmole_image_imagick.class, help_viewer/help_viewer.glade, help_viewer/module_help_viewer.class: * major fixes to help browser * docs/standard prompts.txt: * Notes of dialog boxes * phpmole-ide.php, dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, languages/phpide_language.inc, languages/phpide_languages.class, modules/phpide_modules.class, modules/bookmark_browser/module_bookmark_browser.class, modules/cache_manager/module_cache_manager.class, modules/db_editor/db_editor.glade, modules/db_editor/module_db_editor.class, modules/db_editor/stock_left_arrow.xpm, modules/db_editor/stock_new.xpm, modules/db_editor/stock_right_arrow.xpm, modules/db_editor/stock_save.xpm, modules/db_editor/stock_trash.xpm, modules/directory_viewer/module_directory_viewer.class, modules/html/module_html.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, transports/db/phpide_transport_db.class, transports/file/phpide_transport_file.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_midgard_xmlparse.class, transports/mgd/phpide_transport_mgd.class, transports/scp/phpide_transport_scp.class: * DB module added, allows browsing of database - eventually should be able to edit * config/: phpide_prefs.class, phpmole_prefs.class: * fixing some naming inconsitancies * modules/directory_viewer/: directory.glade, module_directory_viewer.class, phpmole_image_imagick.class: * Image previewing now working * phpmole-ide.php, modules/bookmark_browser/module_bookmark_browser.class, modules/directory_viewer/directory.glade, modules/directory_viewer/module_directory_viewer.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_transport_mgd.class: * scaling, caching and image browsing now working - have added preview box, but that isnt.. * modules/cache_manager/module_cache_manager.class, modules/directory_viewer/module_directory_viewer.class, modules/directory_viewer/phpmole_image_imagick.class, transports/mgd/mgd_http_layer.class, transports/mgd/mgd_page_element_dialog.glade, transports/mgd/phpide_transport_mgd.class: * added caching for midgard and image scaling * legacy/midgard_reciever.php, modules/cache_manager/module_cache_manager.class, transports/mgd/mgd_http_layer.class, transports/mgd/phpide_transport_mgd.class: * more caching added to midgard layer - using md5 sums * config/phpide_prefs.class, modules/bookmark_browser/bookmark_management.class, modules/bookmark_browser/module_bookmark_browser.class, modules/bookmark_browser/module_bookmark_editor.class, transports/phpide_transports.class, transports/file/bookmarks.glade, transports/file/phpide_transport_file.class, transports/mgd/bookmarks.glade, transports/mgd/phpide_transport_mgd.class, transports/scp/bookmarks.glade, transports/scp/phpide_transport_scp.class: * fixed most of bookmark editor and made it more modular * modules/html/module_html.class: * Updates with cache and stuff * modules/cache_manager/module_cache_manager.class: * modified cache internal structure * modules/directory_viewer/module_directory_viewer.class, modules/directory_viewer/phpmole_image_imagick.class, transports/phpide_transports.class, transports/mgd/phpide_transport_mgd.class: * rotating and scaling working for midgard, caching still needs work * modules/html/module_html.class, transports/file/phpide_transport_file.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_transport_mgd.class: * drag and drop images working for html editor - file only * modules/cache_manager/module_cache_manager.class, modules/directory_viewer/module_directory_viewer.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_transport_mgd.class: * midgard directory image browsing working - but it breaks upload :) * docs/Directory browsing spec.txt, modules/bookmark_browser/module_bookmark_browser.class, modules/directory_viewer/module_directory_viewer.class, transports/file/phpide_transport_file.class: * Directory browsing improved, refresh on image update done * modules/bookmark_browser/module_bookmark_browser.class, modules/directory_viewer/module_directory_viewer.class, transports/file/phpide_transport_file.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_transport_mgd.class, transports/scp/phpide_transport_scp.class, xpm/system_mydocuments.xpm, xpm/system_mydocuments_closed.xpm, xpm/system_mydocuments_open.xpm: * changed bookmark browser to use array rather than long list of function vars * phpmole-ide.php, modules/directory_viewer/module_directory_viewer.class, modules/directory_viewer/phpmole_image.class, modules/directory_viewer/phpmole_image_gd.class, modules/directory_viewer/phpmole_image_imagick.class, transports/file/phpide_transport_file.class: * image resizing and scaling working - refresh not however * phpmole-ide.php, modules/phpide_modules.class, modules/cache_manager/module_cache_manager.class, modules/directory_viewer/module_directory_viewer.class, modules/directory_viewer/phpmole_image.class, modules/scintilla/module_scintilla.class, modules/text_editor/module_text_editor.class, transports/file/phpide_transport_file.class: * caching stuff working * docs/Cache Spec.txt, docs/TODO, tools/createdef.php, tools/midgard_reciever.php, tools/php_functions.php: * Added more files - documentation etc. * Design, package.xml, docs/Design_notes, modules/phpide_modules.class, modules/cache_manager/module_cache_manager.class, modules/directory_viewer/module_directory_viewer.class, modules/directory_viewer/phpmole_image.class, modules/scintilla/module_scintilla.class, tools/domxmltext.php, tools/loose.dtd, tools/package.xml, tools/Phpmole_Installer/installer.php, tools/Phpmole_Installer/package.xml, tools/Phpmole_Installer/phpmole_installer.class: * tidied up structure a bit, start of cache manager and image class * phpmole-ide.php, config/defines.inc, languages/LanguageModes, languages/phpide_language.inc, languages/phpide_languages.class, modules/bookmark_browser/module_bookmark_browser.class, modules/html/module_html.class, modules/scintilla/module_scintilla.class: * minor fixes * transports/mgd/mgd_members_dialog.glade: * added glade file for members * phpmole-ide.php: * added gd loader support * modules/directory_viewer/: directory.glade, module_directory_viewer.class, stock_new.xpm, stock_redo.xpm, stock_trash.xpm, stock_undo.xpm: * started adding image scalling icons to directory browser * transports/mgd/phpide_transport_mgd.class: * fix to midgard * transports/mgd/phpide_transport_mgd.class, phpmole-ide.php, config/phpide_prefs.class, dialogs/phpide_Dialog_Generic.class, languages/phpide_languages.class, modules/phpide_modules.class, modules/bookmark_browser/module_bookmark_browser.class, modules/html/html_image_browser.class, modules/html/module_html.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, modules/text_editor/module_text_editor.class, transports/phpide_transports.class, transports/db/phpide_transport_db.class: * fixes to make windows work * transports/mgd/: phpide_midgard_details_dialog.class, phpide_transport_mgd.class: * fixed midgard dialogs * phpmole-ide.php, languages/phpide_languages.class, modules/bookmark_browser/module_bookmark_browser.class, modules/scintilla/module_scintilla.class, transports/file/bookmarks.glade, transports/mgd/bookmarks.glade, transports/mgd/mgd_group_dialog.glade, transports/mgd/phpide_midgard_details_dialog.class, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_transport_mgd.class, transports/scp/bookmarks.glade: * fixed drag drop, autocompletion and started breaking apart bookmark editor glade file * transports/mgd/mgd_sitegroup_dialog.glade: * added sitegroup edit support * languages/phpide_languages.class, legacy/TODO, legacy/midgard_reciever.php, modules/bookmark_browser/module_bookmark_browser.class, transports/mgd/mgd_group_dialog.glade, transports/mgd/phpide_midgard_objects.class, transports/mgd/phpide_transport_mgd.class, transports/scp/phpide_transport_scp.class: * Major updates to midgard, reciever updated * phpmole-ide.php, modules/bookmark_browser/module_bookmark_browser.class, modules/directory_viewer/module_directory_viewer.class, transports/phpide_transports.class, transports/mgd/phpide_transport_mgd.class: * Drag and drop almost there - just connect the stuff inside of the midgard transport * modules/directory_viewer/module_directory_viewer.class: * image browsing now partly working - if you hack gdk * legacy/midgard_reciever.php, modules/directory_viewer/module_directory_viewer.class, transports/phpide_transports.class, transports/db/phpide_transport_db.class, transports/file/phpide_transport_file.class, transports/mgd/mgd_group_dialog.glade, transports/mgd/mgd_grp_dialog.glade, transports/mgd/mgd_person_dialog.glade, transports/mgd/phpide_midgard_details_dialog.class, transports/mgd/phpide_midgard_objects.class: * added db transport and bit more of directory browser * transports/mgd/phpide_midgard_details_dialog.class: * fixed midgard after move * transports/phpide_transports.class: * moved files now appear to be working * transports/: phpide_midgard_details_dialog.class, phpide_midgard_objects.class, phpide_midgard_xmlparse.class, phpide_transport_file.class, phpide_transport_mgd.class, phpide_transport_scp.class: * removed transports from main dir * transports/: file/phpide_transport_file.class, mgd/phpide_midgard_details_dialog.class, mgd/phpide_midgard_objects.class, mgd/phpide_midgard_xmlparse.class, mgd/phpide_transport_mgd.class, scp/phpide_transport_scp.class: * moved transports into directories * glade/phpide.glade, languages/language_config.class, languages/phpide_languages.class, modules/scintilla/module_scintilla.class: * added support for language settings * phpmole-ide.php, dialogs/config_dialog_generic.class, dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, glade/phpide.glade, languages/LanguageModes, languages/language_config.class, languages/languages_dialog.glade, languages/phpide_languages.class, modules/phpide_modules.class, modules/scintilla/module_scintilla.class: * redid all of language configuration - now almost works with the configuration dialog - just need to commit changes and remove the language stuff * dialogs/config_dialog_generic.class, languages/language_config.class, languages/languages_dialog.glade, modules/scintilla/module_scintilla.class, modules/scintilla/scintilla_config_dialog.class, modules/scintilla/scintilla_config_dialog.glade: * begun merging of configuration dialogs to share a common class = scintilla and the languages config * languages/HTML/: html_generator_base.class, parser_HTML.class, parser_php.class: * Fixed Function bug - fixed a few more editor bugs * dialogs/phpide.class, modules/directory_viewer/directory.glade, modules/help_viewer/help_viewer.glade, modules/help_viewer/module_help_viewer.class, modules/help_viewer/stock_left_arrow.xpm, modules/help_viewer/stock_refresh.xpm, modules/help_viewer/stock_right_arrow.xpm, modules/help_viewer/stock_stop.xpm: * help browser now includes forward,back,reload, throbber and url entrybox * languages/HTML/parser_HTML.class, modules/html/gtkhtml_generator.class: * fixed
issue with html editor * modules/: bookmark_browser/module_bookmark_browser.class, directory_viewer/module_directory_viewer.class: * Drag and drop now sends selected data * modules/bookmark_browser/module_bookmark_browser.class, modules/directory_viewer/module_directory_viewer.class, modules/midgard_wizard/midgard_wizard.glade, transports/phpide_transport_mgd.class: * Drag and drop almost working * modules/bookmark_browser/module_bookmark_browser.class, modules/midgard_wizard/midgard_wizard.glade, modules/midgard_wizard/module_midgard_wizard.class, transports/phpide_transport_mgd.class: * beginnings of drag and drop from directory to tree working * glade/interface_1.glade, modules/class_browser/module_class_browser.class, modules/directory_viewer/module_directory_viewer.class, modules/help_viewer/module_help_viewer.class, modules/notebook_editor/module_notebook_editor.class: * moved directory browser out of editing pane - less annoying now * pear/CVSLib/: CVSLib.chora.package.xml, CVSLib.php, package.xml, CVSLib/Checkin.php, CVSLib/Checkout.php: * Removed CVSLib - decided easier to rewrite than use these libraries * pear/CVSLib/CVSLib/Checkout.php: * modifying api for checkout * pear/CVSLib/CVSLib/Checkout.php: * debugging checkout * pear/CVSLib/CVSLib.chora.package.xml: * added ability to update chora * pear/CVSLib/CVSLib/Checkout.php: * using flags so that multiple options can be used. * pear/CVSLib/: CVSLib.chora.package.xml, CVSLib.php, package.xml: * Full Checkin support should be working * pear/Phpmole_Installer/: installer.php, phpmole_installer.class: * more compatiblity on argv checking * pear/Phpmole_Installer/phpmole_installer.class: * debugging upgrade support * pear/Phpmole_Installer/installer.php: * upgrade support fixed * pear/Phpmole_Installer/installer.php: * upgrade support added * pear/Phpmole_Installer/installer.php: * upgrade support added * pear/Phpmole_Installer/installer.php: * beginnings of upgrade support * pear/Phpmole_Installer/installer.php: * more fixes * pear/Phpmole_Installer/: installer.php, installer.php, installer.php: * more fixes * pear/Phpmole_Installer/installer.php: * oops typo * pear/Phpmole_Installer/package.xml: * added installer package file * package.xml, pear/CVSLib/CVSLib.chora.package.xml, pear/CVSLib/package.xml, pear/Phpmole_Installer/installer.php: * make installer more pear compatible * package.xml, installer/cvslib-package.xml, installer/installer.php, installer/phpmole_installer.class, pear/CVSLib/package.xml, pear/Phpmole_Installer/installer.php, pear/Phpmole_Installer/phpmole_installer.class: * Changes made to packaging - and sub packages * installer/: phpmole_installer.class, phpmole_installer.class: * fixes to installer * installer/: phpmole_installer.class, phpmole_installer.class: * fixes to installer * installer/phpmole_installer.class: * added file check * installer/phpmole_installer.class: * Fix check dir * installer/phpmole_installer.class: * Cleaned up get_files = more standard * pear/CVSLib/: CVSLib.chora.package.xml, package.xml: * adding package files from CVSLib * installer/installer.php: * small bug with installer fixed * modules/help_browser/module_help_browser.class, pear/CVSLib/CVSLib/Checkin.php, pear/CVSLib/CVSLib/Checkout.php: * Added pear directory and CVSLib * legacy/midgard_reciever.php, modules/phpide_modules.class, modules/bookmark_browser/module_bookmark_browser.class, modules/directory_viewer/directory.glade, modules/directory_viewer/module_directory_viewer.class, modules/html/module_html.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, transports/phpide_transport_file.class, transports/phpide_transport_mgd.class, transports/phpide_transport_scp.class: * directory browser - partially working\n drag and drop files started * config/LanguageModes, config/TODO, legacy/TODO, legacy/gtkm_Bookmark_Popup_Menu.class, legacy/gtkm_Bookmark_Tree.class, legacy/gtkm_Class_Tree.class, legacy/gtkm_Editor.class, legacy/gtkm_Language.inc, legacy/gtkm_Languages.class, legacy/gtkm_Live_Tree.class, legacy/gtkm_Notebook.class, legacy/gtkm_Popup_Menu.class, legacy/gtkm_document_cvs.class, legacy/gtkm_document_file.class, legacy/gtkm_document_mgd.class, legacy/gtkm_document_mgd_objects.class, legacy/gtkm_document_scp.class, legacy/gtkm_functions.class, legacy/gtkm_get.class, legacy/gtkm_menu.php, legacy/gtkm_prefs.class, legacy/gtkm_tree.class, legacy/gtkm_xmlparse.class: * House cleaning - removed some of the legacy stuff * modules/directory_viewer/module_directory_viewer.class, transports/phpide_transports.class: * Fixed crash bug due to missing method call * modules/directory_viewer/: directory.glade, module_directory_viewer.class: * adding beginnings of support for directory browsing - and hence drag and drop upload for midgard * glade/gtkmidgard.glade, xpm/gIDEon.xpm: * trimmed a few files prior to release * languages/HTML/parser_HTML.class: * removed the debug code * languages/HTML/: html_generator_base.class, parser_HTML.class, parser_HTML_base.class: * Fixed link bug = probably broke something else.. * installer/: installer.php, phpmole_installer.class: * removed debugging echos * installer/phpmole_installer.class: * added check for empty files in installer * installer/installer.php: * use include_path not dir * installer/: installer.php, installer.php: * trying to fix root install * installer/installer.php: * revert back to /root check as getmyuid does not survive su without su- * installer/installer.php: * more information on failure * installer/: installer.php, installer.php: * typo * installer/installer.php: * User PEAR DIRECTORY SUPPORT * installer/: installer.php, installer.php, installer.php: * typo * installer/: cvslib-package.xml, installer.php: * Better Pear location tricks * installer/installer.php: * Fixed adding home dir to include path * installer/installer.php: * installer fixes * installer/: cvslib-package.xml, installer.php: * installer checking * installer/: installer.php, phpmole_installer.class: * trying to globalize install_file * installer/: cvslib-package.xml, installer.php: * installer updates, cvs lib dependancy added * installer/: installer.php, phpmole_installer.class: * I think the installer is working now? * package.xml, installer/phpmole_installer.class: * scintilla typo * package.xml: * typos in package * package.xml, phpmole-ide.php: * dependencies added to package * installer/: installer.php, phpmole_installer.class: * adding dependency stuff * installer/: installer.php, phpmole_installer.class: * installer almost working * languages/XML/parser_XML.class: * fixed more warnings * package.xml: * fixed dir mistake * languages/: HTML/parser_HTML_base.class, XML/parser_XML.class: * fixed a few warnings * package.xml: * typo in package fixed * package.xml, installer/installer.php, installer/phpmole_installer.class: * added beginnings of installer * help/specs/php-gtk.devhelp, help/specs/php.devhelp, languages/HTML/html_generator_base.class, languages/HTML/parser_HTML_base.class, languages/XML/parser_XML.class, languages/XML/xml_export.class, languages/XML/xml_generator.class, modules/help_browser/module_help_browser.class, tools/build_manual.php, tools/buildgtk_manual.php, tools/phpgtkmanual_help_fetch.class, tools/phpmanual_devhelp_generator.class, tools/phpmanual_help_fetch.class: * devhelp working, includes php-gtk manual * dialogs/phpide.class, glade/phpide.glade, languages/phpide_languages.class, languages/HTML/html_generator_base.class, languages/HTML/parser_HTML.class, languages/HTML/parser_HTML_base.class, modules/help_viewer/module_help_viewer.class, modules/html/gtkhtml_generator.class, modules/html/module_html.class: * help browser is now a working web browser - with post/get stuff.. \n added help links to menus * languages/phpide_languages.class, transports/phpide_transport_mgd.class: * Default language support for transports added * help/specs/bash.devhelp, help/specs/php.devhelp, languages/HTML/html_generator_base.class, languages/HTML/parser_HTML.class, languages/HTML/parser_HTML_base.class, languages/HTML/phpide_parser_HTML.class, languages/XML/parser_XML.class, modules/help_browser/module_help_browser.class, modules/help_viewer/module_help_viewer.class, modules/html/gtkhtml_generator.class, modules/html/module_html.class, tools/build_manual.php, tools/phpmanual_devhelp_generator.class, tools/phpmanual_help_fetch.class, transports/phpide_midgard_objects.class: * help module now uses devhelp format * legacy/midgard_reciever.php, modules/html/html.glade, modules/html/module_html.class: * Link modification working * modules/html/module_html.class: * Font size now fully working * modules/html/: html.glade, module_html.class: * Broke set_font_style - need to check the api on this * modules/html/module_html.class, transports/phpide_midgard_objects.class: * More of html editor working * languages/HTML/parser_HTML.class, languages/HTML/phpide_parser_HTML.class, transports/phpide_transport_mgd.class: * Upload working * legacy/midgard_reciever.php, transports/phpide_transport_mgd.class: * Image upload mostly working * modules/bookmark_browser/module_bookmark_browser.class, transports/phpide_midgard_objects.class, transports/phpide_transport_mgd.class, transports/phpide_transports.class: * Upload partly working - crashes curl at present.. * phpmole-ide.php, dialogs/phpide.class, glade/stock_align_center.xpm, glade/stock_align_justify.xpm, glade/stock_align_left.xpm, glade/stock_align_right.xpm, glade/stock_text_bold.xpm, glade/stock_text_bulleted_list.xpm, glade/stock_text_indent.xpm, glade/stock_text_italic.xpm, glade/stock_text_numbered_list.xpm, glade/stock_text_strikeout.xpm, glade/stock_text_underline.xpm, glade/stock_text_unindent.xpm, modules/html/html.glade, modules/html/module_html.class, modules/html/stock_align_center.xpm, modules/html/stock_align_justify.xpm, modules/html/stock_align_left.xpm, modules/html/stock_align_right.xpm, modules/html/stock_open.xpm, modules/html/stock_text_bold.xpm, modules/html/stock_text_bulleted_list.xpm, modules/html/stock_text_indent.xpm, modules/html/stock_text_italic.xpm, modules/html/stock_text_numbered_list.xpm, modules/html/stock_text_strikeout.xpm, modules/html/stock_text_underline.xpm, modules/html/stock_text_unindent.xpm: * HTML editor icons moved\nEditor Insert Image Working * modules/html/html.glade, modules/html/module_html.class, modules/scintilla/module_scintilla.class, transports/phpide_transport_mgd.class: * Updated HTML toolbar - show hide option * languages/HTML/phpide_parser_HTML.class, languages/XML/phpide_parser_XML.class, modules/html/html_image_browser.class, modules/html/html_image_browser.glade, modules/html/htmltools.glade, modules/html/module_html.class, modules/scintilla/module_scintilla.class, transports/phpide_transport_mgd.class, transports/phpide_transports.class: * Images now appear in editor for midgard pages * transports/: phpide_midgard_objects.class, phpide_transport_mgd.class: * more midgard additions, html editor working * modules/phpide_modules.class, modules/html/html.glade, modules/html/module_html.class, modules/scintilla/module_scintilla.class, transports/phpide_transports.class: * Added menubar to html editor, text transfer is currently broken * modules/bookmark_browser/module_bookmark_browser.class, transports/phpide_midgard_details_dialog.class, transports/phpide_midgard_objects.class, transports/phpide_transport_mgd.class: * All seems smooth - added a few more midgard functions * transports/mgd/mgd_pageelement_dialog.glade: * page element glade dialog added = this is one of those annoying midgard things.. * dialogs/phpide.class, languages/phpide_languages.class, modules/phpide_modules.class, modules/class_browser/module_class_browser.class, modules/help_browser/module_help_browser.class, modules/html/module_html.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, transports/phpide_transport_file.class, transports/phpide_transport_mgd.class, transports/phpide_transport_scp.class: * simplified module calling to use broadcast functions, fixed bugs with closing, reopening * modules/html/html.glade, transports/phpide_transport_mgd.class: * more html updates, html interface glade added * languages/phpide_languages.class, languages/HTML/parser_HTML.class, legacy/midgard_reciever.php, modules/bookmark_browser/module_bookmark_browser.class, modules/html/module_html.class, transports/phpide_midgard_details_dialog.class, transports/phpide_midgard_objects.class, transports/phpide_transport_mgd.class: * HTML Editor passing data back to scintilla\nadd etc. done for topics and articles, basics of top level editing done. * modules/: phpide_modules.class, html/module_html.class, notebook_editor/module_notebook_editor.class, scintilla/module_scintilla.class: * HTML save almost working * glade/phpide.glade, modules/phpide_modules.class, modules/html/module_html.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class: * GtkHTML Editor now displays - no save working thought * phpmole-ide.php, config/phpide_prefs.class, dialogs/gtkm_Bookmark_Edit.class, dialogs/gtkm_Dialog_Generic.class, dialogs/gtkm_Dialog_Midgard_Details.class, dialogs/gtkm_Dialog_New_File.class, dialogs/gtkm_Dialog_Preferences.class, dialogs/gtkm_Dialog_Replace.class, dialogs/gtkm_Dialog_Search.class, dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, languages/phpide_languages.class, languages/HTML/parser_HTML.class, languages/HTML/parser_HTML_base.class, languages/HTML/parser_php.class, languages/HTML/parser_php_base.class, languages/XML/parser_XML.class, modules/phpide_modules.class, modules/bookmark_browser/module_bookmark_browser.class, modules/bookmark_browser/module_bookmark_editor.class, modules/bookmark_browser/phpide_popup_menu.class, modules/help_browser/module_help_browser.class, modules/help_viewer/module_help_viewer.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, modules/scintilla/scintilla_config_dialog.class, modules/scintilla/scintilla_replace_dialog.class, modules/scintilla/scintilla_search_dialog.class, transports/phpide_midgard_details_dialog.class, transports/phpide_midgard_xmlparse.class, transports/phpide_transport_file.class, transports/phpide_transport_mgd.class, transports/phpide_transport_scp.class, transports/phpide_transports.class: * Removed all echo statements and tidied up code * modules/bookmark_browser/module_bookmark_browser.class, transports/phpide_midgard_objects.class, transports/phpide_transport_mgd.class, transports/phpide_transports.class: * Midgard Delete tree working, added more midgard features to menu\nUsing file_generic for snippets * modules/phpide_modules.class, modules/bookmark_browser/module_bookmark_browser.class, modules/class_browser/module_class_browser.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, transports/phpide_midgard_details_dialog.class, transports/phpide_midgard_objects.class, transports/phpide_transport_mgd.class, transports/phpide_transports.class, transports/mgd/mgd_page_dialog.glade: * Creating and Deleting midgard objects works - for snippet+snippetdir * modules/phpide_modules.class: * Module manager checks for class existance * modules/html/module_html.class: * Disable html editor * modules/html/module_html.class: * disable html editor - it isnt ready yet * transports/mgd/: mgd_article_dialog.glade, mgd_element_dialog.glade, mgd_grp_dialog.glade, mgd_host_dialog.glade, mgd_page_dialog.glade, mgd_page_element_dialog.glade, mgd_person_dialog.glade, mgd_snippet_dialog.glade, mgd_snippetdir_dialog.glade, mgd_style_dialog.glade, mgd_topic_dialog.glade: * adding midgard dialogs * modules/: notebook_editor/module_notebook_editor.class, scintilla/module_scintilla.class: * Fixed segfault on closing documents - was setting active_doc in scitilla on close incorrectly * modules/notebook_editor/module_notebook_scintilla.class: * removed old scintilla class from notebook * legacy/midgard_reciever.php, transports/phpide_midgard_details_dialog.class, transports/phpide_midgard_objects.class, transports/phpide_transport_mgd.class: * added ability to edit midgard details - with a few bugs.. * phpmole-ide.php, glade/mgd_article_dialog.glade, glade/mgd_element_dialog.glade, glade/mgd_grp_dialog.glade, glade/mgd_host_dialog.glade, glade/mgd_page_dialog.glade, glade/mgd_page_element_dialog.glade, glade/mgd_person_dialog.glade, glade/mgd_snippet_dialog.glade, glade/mgd_snippetdir_dialog.glade, glade/mgd_style_dialog.glade, glade/mgd_topic_dialog.glade, modules/bookmark_browser/module_bookmark_browser.class, transports/phpide_midgard_details_dialog.class, transports/phpide_midgard_objects.class, transports/phpide_transport_mgd.class, transports/phpide_transports.class: * updating midgard editor classes and dialogs * phpmole-ide.php, modules/class_browser/module_class_browser.class, transports/phpide_transport_mgd.class: * Fixed Close file bug - by storing based level items in class tree in a messy array * phpmole-ide.php, config/defines.inc, config/phpide_prefs.class, dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, languages/phpide_languages.class, languages/HTML/parser_HTML.class, languages/HTML/parser_HTML_base.class, languages/HTML/parser_php.class, languages/HTML/parser_php_base.class, languages/HTML/phpide_parser_HTML.class, modules/phpide_modules.class, modules/bookmark_browser/module_bookmark_browser.class, modules/bookmark_browser/module_bookmark_editor.class, modules/class_browser/module_class_browser.class, modules/help_browser/module_help_browser.class, modules/notebook_editor/module_notebook_editor.class, modules/scintilla/module_scintilla.class, modules/scintilla/scintilla_config_dialog.class, modules/scintilla/scintilla_replace_dialog.class, modules/scintilla/scintilla_search_dialog.class, transports/phpide_transport_file.class, transports/phpide_transport_scp.class, transports/phpide_transports.class: * Got rid of alot of warning (from startup and load documents) Fixed New file/directory for scp transport Disabled tree deletion on class browser (as this was causing segfaults) * transports/: phpide_midgard_objects.class, phpide_midgard_xmlparse.class, phpide_transport_mgd.class: * fixing midgard transport dependancies * phpmole-ide.php, config/phpide_prefs.class: * fixing prefs move issue * phpide.php, phpmole-ide.php, phpmole.php, config/gtkm_Language.inc, config/gtkm_Languages.class, config/gtkm_functions.class, config/gtkm_prefs.class, glade/languages_dialog.glade.h, glade/options_dialog.glade.h, glade/replace_dialog.glade.h, glade/replace_prompt_dialog.glade.h, glade/search_dialog.glade.h, glade/search_in_files_dialog.glade.h, legacy/gtkm_Bookmark_Popup_Menu.class, legacy/gtkm_Bookmark_Tree.class, legacy/gtkm_Class_Tree.class, legacy/gtkm_Editor.class, legacy/gtkm_Language.inc, legacy/gtkm_Languages.class, legacy/gtkm_Live_Tree.class, legacy/gtkm_Notebook.class, legacy/gtkm_Popup_Menu.class, legacy/gtkm_document_cvs.class, legacy/gtkm_document_file.class, legacy/gtkm_document_mgd.class, legacy/gtkm_document_mgd_objects.class, legacy/gtkm_document_scp.class, legacy/gtkm_functions.class, legacy/gtkm_menu.php, legacy/gtkm_prefs.class, legacy/gtkm_xmlparse.class, transports/gtkm_document_cvs.class, transports/gtkm_document_file.class, transports/gtkm_document_mgd.class, transports/gtkm_document_mgd_objects.class, transports/gtkm_document_scp.class, transports/gtkm_xmlparse.class: * More prunning * modules/html/module_html.class: * Add beginnings of html editor * Design, phpide.php, phpmole.php, config/LanguageModes, config/Preferences, config/TODO, config/defines.inc, config/gtkm_Language.inc, config/gtkm_Languages.class, config/gtkm_functions.class, config/gtkm_prefs.class, dialogs/gtkm_Bookmark_Edit.class, dialogs/gtkm_Dialog_Generic.class, dialogs/gtkm_Dialog_Midgard_Details.class, dialogs/gtkm_Dialog_New_File.class, dialogs/gtkm_Dialog_Password.class, dialogs/gtkm_Dialog_Preferences.class, dialogs/gtkm_Dialog_Replace.class, dialogs/gtkm_Dialog_Search.class, dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, glade/pixmaps, glade/bookmarks_dialog.glade, glade/languages_dialog.glade, glade/calculator-font.xpm, glade/gtkmidgard.glade, glade/i-regular.xpm, glade/languages_dialog.glade.h, glade/libglade-xgettext, glade/ok_cancel_dialog.glade, glade/ok_dialog.glade, glade/options_dialog.glade, glade/options_dialog.glade.h, glade/replace_dialog.glade, glade/replace_dialog.glade.h, glade/replace_prompt_dialog.glade, glade/replace_prompt_dialog.glade.h, glade/search_dialog.glade, glade/search_dialog.glade.h, glade/text_entry_dialog.glade, glade/search_in_files_dialog.glade, glade/search_in_files_dialog.glade.h, glade/stock_add.xpm, glade/stock_align_center.xpm, glade/stock_align_justify.xpm, glade/stock_align_left.xpm, glade/stock_align_right.xpm, glade/stock_attach.xpm, glade/stock_book_blue.xpm, glade/stock_book_green.xpm, glade/stock_book_open.xpm, glade/stock_book_red.xpm, glade/stock_book_yellow.xpm, glade/stock_bottom.xpm, glade/stock_button_apply.xpm, glade/stock_button_cancel.xpm, glade/stock_button_close.xpm, glade/stock_button_no.xpm, glade/stock_button_ok.xpm, glade/stock_button_yes.xpm, glade/stock_cdrom.xpm, glade/stock_clear.xpm, glade/stock_close.xpm, glade/stock_colorselector.xpm, glade/stock_convert.xpm, glade/stock_copy.xpm, glade/stock_cut.xpm, glade/stock_down_arrow.xpm, glade/stock_exec.xpm, glade/stock_exit.xpm, glade/stock_first.xpm, glade/stock_font.xpm, glade/stock_help.xpm, glade/stock_home.xpm, glade/stock_index.xpm, glade/stock_jump_to.xpm, glade/stock_last.xpm, glade/stock_left_arrow.xpm, glade/stock_line_in.xpm, glade/stock_mail.xpm, glade/stock_mail_compose.xpm, glade/stock_mail_forward.xpm, glade/stock_mail_receive.xpm, glade/stock_mail_reply.xpm, glade/stock_mail_send.xpm, glade/stock_menu_about.xpm, glade/stock_menu_blank.xpm, glade/stock_menu_scores.xpm, glade/stock_mic.xpm, glade/stock_midi.xpm, glade/stock_multiple_file.xpm, glade/stock_new.xpm, glade/stock_not.xpm, glade/stock_open.xpm, glade/stock_paste.xpm, glade/stock_preferences.xpm, glade/stock_print.xpm, glade/stock_properties.xpm, glade/stock_redo.xpm, glade/stock_refresh.xpm, glade/stock_remove.xpm, glade/stock_revert.xpm, glade/password_entry_dialog.glade, glade/stock_right_arrow.xpm, glade/stock_save.xpm, glade/stock_save_as.xpm, glade/stock_scores.xpm, glade/stock_search.xpm, glade/stock_search_replace.xpm, glade/stock_spellcheck.xpm, glade/stock_stop.xpm, glade/stock_table_borders.xpm, glade/stock_table_fill.xpm, glade/stock_text_bold.xpm, glade/stock_text_bulleted_list.xpm, glade/stock_text_indent.xpm, glade/stock_text_italic.xpm, glade/stock_text_numbered_list.xpm, glade/stock_text_strikeout.xpm, glade/stock_text_underline.xpm, glade/stock_text_unindent.xpm, glade/stock_timer.xpm, glade/stock_timer_stopped.xpm, glade/stock_top.xpm, glade/stock_trash.xpm, glade/stock_trash_full.xpm, glade/stock_undelete.xpm, glade/stock_undo.xpm, glade/stock_up_arrow.xpm, glade/stock_volume.xpm, glade/yes_no_dialog.glade, glade/mgd_element_dialog.glade, glade/mgd_host_dialog.glade, glade/mgd_page_dialog.glade, glade/mgd_person_dialog.glade, glade/mgd_snippet_dialog.glade, glade/mgd_snippetdir_dialog.glade, glade/mgd_style_dialog.glade, glade/mgd_article_dialog.glade, glade/mgd_grp_dialog.glade, glade/mgd_topic_dialog.glade, glade/interface_1.glade, glade/interface_3.glade, glade/mgd_page_element_dialog.glade, glade/phpide.glade, legacy/createdef.php, legacy/gtkm_get.class, legacy/gtkm_tree.class, legacy/gtkm_xmlparse.class, legacy/gtkmidgard_with3boxes.glade, legacy/oldtreecode.php, legacy/omphp_http_post.class, legacy/php_functions.php, legacy/project1.glade, legacy/midgard_reciever.php, legacy/phpfunctions, transports/gtkm_document_mgd.class, transports/gtkm_document_cvs.class, transports/gtkm_document_file.class, transports/gtkm_document_mgd_objects.class, transports/gtkm_document_scp.class, transports/gtkm_xmlparse.class, transports/phpide_transport_file.class, transports/phpide_transports.class, transports/phpide_transport_mgd.class, transports/phpide_transport_scp.class, xpm/file_generic.xpm, xpm/folder_closed.xpm, xpm/folder_open.xpm, xpm/system_desktop.xpm, xpm/gIDEon.xpm, xpm/mgd_world.xpm, xpm/system_drive_cdrom.xpm, xpm/system_drive_fixed.xpm, xpm/system_drive_remote.xpm, xpm/system_drive_removeable.xpm, xpm/system_mycomputer.xpm, xpm/system_mydocuments.xpm, xpm/mgd_company.xpm, xpm/mgd_company_closed.xpm, xpm/mgd_company_open.xpm, xpm/mgd_group.xpm, xpm/mgd_group_closed.xpm, xpm/mgd_group_open.xpm, xpm/mgd_page.xpm, xpm/mgd_page_closed.xpm, xpm/mgd_page_open.xpm, xpm/mgd_person.xpm, xpm/mgd_style.xpm, xpm/mgd_style_closed.xpm, xpm/mgd_style_open.xpm, xpm/mgd_world_closed.xpm, xpm/mgd_world_open.xpm, modules/phpide_modules.class, modules/notebook_editor/module_notebook_editor.class, modules/bookmark_browser/bookmarks_dialog.glade, modules/bookmark_browser/module_bookmark_browser.class, modules/bookmark_browser/module_bookmark_browser_popup_menu.class, modules/bookmark_browser/phpide_popup_menu.class, modules/notebook_editor/module_notebook_scintilla.class, modules/bookmark_browser/module_bookmark_editor.class, modules/scintilla/module_scintilla.class, modules/class_browser/module_class_browser.class, modules/help_viewer/module_help_viewer.class, modules/scintilla/replace_dialog.glade, modules/scintilla/scintilla_config_dialog.class, modules/scintilla/scintilla_config_dialog.glade, modules/scintilla/scintilla_replace_dialog.class, modules/scintilla/scintilla_search_dialog.class, modules/scintilla/search_dialog.glade, languages/LanguageModes, languages/phpide_language.inc, modules/help_browser/module_help_browser.class, languages/phpide_languages.class, languages/HTML/parser_php.class, languages/HTML/php_functions, languages/HTML/phpide_parser_HTML.class, languages/HTML/parser_HTML.class, languages/HTML/parser_HTML_base.class, languages/HTML/parser_php_base.class, languages/XML/parser_XML.class, languages/XML/phpide_parser_XML.class: * Initial revision * Design, phpide.php, phpmole.php, config/LanguageModes, config/Preferences, config/TODO, config/defines.inc, config/gtkm_Language.inc, config/gtkm_Languages.class, config/gtkm_functions.class, config/gtkm_prefs.class, dialogs/gtkm_Bookmark_Edit.class, dialogs/gtkm_Dialog_Generic.class, dialogs/gtkm_Dialog_Midgard_Details.class, dialogs/gtkm_Dialog_New_File.class, dialogs/gtkm_Dialog_Password.class, dialogs/gtkm_Dialog_Preferences.class, dialogs/gtkm_Dialog_Replace.class, dialogs/gtkm_Dialog_Search.class, dialogs/phpide.class, dialogs/phpide_Dialog_Generic.class, glade/pixmaps, glade/bookmarks_dialog.glade, glade/languages_dialog.glade, glade/calculator-font.xpm, glade/gtkmidgard.glade, glade/i-regular.xpm, glade/languages_dialog.glade.h, glade/libglade-xgettext, glade/ok_cancel_dialog.glade, glade/ok_dialog.glade, glade/options_dialog.glade, glade/options_dialog.glade.h, glade/replace_dialog.glade, glade/replace_dialog.glade.h, glade/replace_prompt_dialog.glade, glade/replace_prompt_dialog.glade.h, glade/search_dialog.glade, glade/search_dialog.glade.h, glade/text_entry_dialog.glade, glade/search_in_files_dialog.glade, glade/search_in_files_dialog.glade.h, glade/stock_add.xpm, glade/stock_align_center.xpm, glade/stock_align_justify.xpm, glade/stock_align_left.xpm, glade/stock_align_right.xpm, glade/stock_attach.xpm, glade/stock_book_blue.xpm, glade/stock_book_green.xpm, glade/stock_book_open.xpm, glade/stock_book_red.xpm, glade/stock_book_yellow.xpm, glade/stock_bottom.xpm, glade/stock_button_apply.xpm, glade/stock_button_cancel.xpm, glade/stock_button_close.xpm, glade/stock_button_no.xpm, glade/stock_button_ok.xpm, glade/stock_button_yes.xpm, glade/stock_cdrom.xpm, glade/stock_clear.xpm, glade/stock_close.xpm, glade/stock_colorselector.xpm, glade/stock_convert.xpm, glade/stock_copy.xpm, glade/stock_cut.xpm, glade/stock_down_arrow.xpm, glade/stock_exec.xpm, glade/stock_exit.xpm, glade/stock_first.xpm, glade/stock_font.xpm, glade/stock_help.xpm, glade/stock_home.xpm, glade/stock_index.xpm, glade/stock_jump_to.xpm, glade/stock_last.xpm, glade/stock_left_arrow.xpm, glade/stock_line_in.xpm, glade/stock_mail.xpm, glade/stock_mail_compose.xpm, glade/stock_mail_forward.xpm, glade/stock_mail_receive.xpm, glade/stock_mail_reply.xpm, glade/stock_mail_send.xpm, glade/stock_menu_about.xpm, glade/stock_menu_blank.xpm, glade/stock_menu_scores.xpm, glade/stock_mic.xpm, glade/stock_midi.xpm, glade/stock_multiple_file.xpm, glade/stock_new.xpm, glade/stock_not.xpm, glade/stock_open.xpm, glade/stock_paste.xpm, glade/stock_preferences.xpm, glade/stock_print.xpm, glade/stock_properties.xpm, glade/stock_redo.xpm, glade/stock_refresh.xpm, glade/stock_remove.xpm, glade/stock_revert.xpm, glade/password_entry_dialog.glade, glade/stock_right_arrow.xpm, glade/stock_save.xpm, glade/stock_save_as.xpm, glade/stock_scores.xpm, glade/stock_search.xpm, glade/stock_search_replace.xpm, glade/stock_spellcheck.xpm, glade/stock_stop.xpm, glade/stock_table_borders.xpm, glade/stock_table_fill.xpm, glade/stock_text_bold.xpm, glade/stock_text_bulleted_list.xpm, glade/stock_text_indent.xpm, glade/stock_text_italic.xpm, glade/stock_text_numbered_list.xpm, glade/stock_text_strikeout.xpm, glade/stock_text_underline.xpm, glade/stock_text_unindent.xpm, glade/stock_timer.xpm, glade/stock_timer_stopped.xpm, glade/stock_top.xpm, glade/stock_trash.xpm, glade/stock_trash_full.xpm, glade/stock_undelete.xpm, glade/stock_undo.xpm, glade/stock_up_arrow.xpm, glade/stock_volume.xpm, glade/yes_no_dialog.glade, glade/mgd_element_dialog.glade, glade/mgd_host_dialog.glade, glade/mgd_page_dialog.glade, glade/mgd_person_dialog.glade, glade/mgd_snippet_dialog.glade, glade/mgd_snippetdir_dialog.glade, glade/mgd_style_dialog.glade, glade/mgd_article_dialog.glade, glade/mgd_grp_dialog.glade, glade/mgd_topic_dialog.glade, glade/interface_1.glade, glade/interface_3.glade, glade/mgd_page_element_dialog.glade, glade/phpide.glade, legacy/createdef.php, legacy/gtkm_get.class, legacy/gtkm_tree.class, legacy/gtkm_xmlparse.class, legacy/gtkmidgard_with3boxes.glade, legacy/oldtreecode.php, legacy/omphp_http_post.class, legacy/php_functions.php, legacy/project1.glade, legacy/midgard_reciever.php, legacy/phpfunctions, transports/gtkm_document_mgd.class, transports/gtkm_document_cvs.class, transports/gtkm_document_file.class, transports/gtkm_document_mgd_objects.class, transports/gtkm_document_scp.class, transports/gtkm_xmlparse.class, transports/phpide_transport_file.class, transports/phpide_transports.class, transports/phpide_transport_mgd.class, transports/phpide_transport_scp.class, xpm/file_generic.xpm, xpm/folder_closed.xpm, xpm/folder_open.xpm, xpm/system_desktop.xpm, xpm/gIDEon.xpm, xpm/mgd_world.xpm, xpm/system_drive_cdrom.xpm, xpm/system_drive_fixed.xpm, xpm/system_drive_remote.xpm, xpm/system_drive_removeable.xpm, xpm/system_mycomputer.xpm, xpm/system_mydocuments.xpm, xpm/mgd_company.xpm, xpm/mgd_company_closed.xpm, xpm/mgd_company_open.xpm, xpm/mgd_group.xpm, xpm/mgd_group_closed.xpm, xpm/mgd_group_open.xpm, xpm/mgd_page.xpm, xpm/mgd_page_closed.xpm, xpm/mgd_page_open.xpm, xpm/mgd_person.xpm, xpm/mgd_style.xpm, xpm/mgd_style_closed.xpm, xpm/mgd_style_open.xpm, xpm/mgd_world_closed.xpm, xpm/mgd_world_open.xpm, modules/phpide_modules.class, modules/notebook_editor/module_notebook_editor.class, modules/bookmark_browser/bookmarks_dialog.glade, modules/bookmark_browser/module_bookmark_browser.class, modules/bookmark_browser/module_bookmark_browser_popup_menu.class, modules/bookmark_browser/phpide_popup_menu.class, modules/notebook_editor/module_notebook_scintilla.class, modules/bookmark_browser/module_bookmark_editor.class, modules/scintilla/module_scintilla.class, modules/class_browser/module_class_browser.class, modules/help_viewer/module_help_viewer.class, modules/scintilla/replace_dialog.glade, modules/scintilla/scintilla_config_dialog.class, modules/scintilla/scintilla_config_dialog.glade, modules/scintilla/scintilla_replace_dialog.class, modules/scintilla/scintilla_search_dialog.class, modules/scintilla/search_dialog.glade, languages/LanguageModes, languages/phpide_language.inc, modules/help_browser/module_help_browser.class, languages/phpide_languages.class, languages/HTML/parser_php.class, languages/HTML/php_functions, languages/HTML/phpide_parser_HTML.class, languages/HTML/parser_HTML.class, languages/HTML/parser_HTML_base.class, languages/HTML/parser_php_base.class, languages/XML/parser_XML.class, languages/XML/phpide_parser_XML.class: * Initial Import phpmole/ChangeLog0000644000175000017500000005652707616665362014204 0ustar alanalan00000000000000 2003-02-01 Saturday alan_k * removing phpcodedoc - its available via docs.akbkhome.com * updates by martin langhoff finally applied * changing everything to pear naming standards - dont expect this to work! * get rid of this - should use the phplex/jayphp now.. * removing html view tests - use pear_frontend_gtk - it has the finished version * fix to php4.3 bug 2002-07-05 Friday alan_k * fixed topic dialog 2002-06-26 Wednesday alan_k * updating codedoc 2002-06-11 Tuesday alan_k * more phpcode doc updates - including more links on source code - like lxr 2002-06-03 Monday alan_k * CodeDoc now supports defines 2002-05-30 Thursday alan_k * changed storage structure for packages and directories to classes 2002-05-27 Monday alan_k * phpcodedoc - more updates to notes, new data classes 2002-05-23 Thursday alan_k * updated to support transport preferences * added scripts for phpcodedoc self documentaiton * phpcode doc updated - working on define stuff * adding dot plan 2002-05-15 Wednesday alan_k * added links to phpcodedoc 2002-05-11 Saturday alan_k * updated to ssh2 * final changelog update for release 1.3 * modifying prefs to do different defaults for win32 * phpmole_prefs.class * oops got logic wrong on the windows db stuff 2002-05-10 Friday alan_k * windows release fixes * Changelog updated for 1.3 release * added var display and sorted out inheritance 2002-05-09 Thursday alan_k * adding yet another template for php code doc * php code doc : new features now mostly working * phpcodedoc updated and working * added dotPLan to phpcodedoc * breaking phpcodedoc parser into smaller pieces * renaming class and fixing a few things * relocated old uml file * relocated phpcode doc to subdirectory * slight mods to templates for phpcodedoc 2002-05-08 Wednesday alan_k * nicer templates * more updates to templates * Moved phpcodedoc to its own directory * updated phpdoc code 2002-05-07 Tuesday alan_k * more updates to phpdoc generator - working towards code highlighting 2002-05-02 Thursday alan_k * basic documentation up and working * revert uml_generator so it displays segfault bug 2002-05-01 Wednesday alan_k * documenation project - phase 1 * uml generator added - archived the proof of concept of the uml diagram concluded that the diagrams where too big to be valuable - looking at other ideas for this still. 2002-04-30 Tuesday alan_k * Revert to saved now works 2002-04-29 Monday alan_k * navigation of database a bit nicer * db module now navigates data correctly * database module now does scrolling etc. 2002-04-28 Sunday alan_k * added silly shell script to start up phpmole * fixed apd off bug * added imap and mysql to extensions list * removed imap dl * sockets spelt wrong 2002-04-26 Friday alan_k * got bored and added the imap transport * Various cleanups. Need to do hiding of tree frame properly. Still lots of warnings and notices issued during regular work.. 2002-04-25 Thursday andrei * Use pcntl_fork() to check for existence of pcntl extension. For the future, we might want to use extension_loaded(). 2002-04-24 Wednesday alan_k * beginnings of comment text and fixes to autotext 2002-04-23 Tuesday alan_k * beginnings of new popup menu * fixed missing menu item for autotext 2002-04-22 Monday alan_k * fixed finding directories in autotext folder * adding phpdoc to autotext * changes required for autotext * autotext code in main application * Adding autotext directory and samples 2002-04-19 Friday alan_k * new warning system * changed to require_once * change to require_once 2002-04-18 Thursday alan_k * playing with uml_generator 2002-04-09 Tuesday alan_k * fixed parameters - annoying additional ; caused it * changed article layout to add type, and see if it can work with smaller screens 2002-04-03 Wednesday alan_k * added support for mpeg movies, image preivews on midgard attachments and fixed the title editing on attachments 2002-03-29 Friday alan_k * added recent file list and loading (at last) 2002-03-28 Thursday alan_k * added configure option to html editor - to stop preparser 2002-03-27 Wednesday alan_k * signal handling, accelerators and statusbar now working on phpglade 2002-03-25 Monday alan_k * major update to libglade layer - it will load the core interface now, musing on the idea of adding glade interface designer to phpmole 2002-03-23 Saturday alan_k * changed to match fix for curl * adding worker bee programs that will deal with web getting in future 2002-03-20 Wednesday alan_k * added dba loader * small fix to bookmark browser - warnings, more notes on devhelp stuff, changed memory max in phpmole * changed xml browser to use new xml format * changed help browser to use dbm files * changed xml parser to use php xml module by default * adding first generation generated dbm files * adding devhelp to dbm convertor 2002-03-16 Saturday alan_k * adding notes on devhelp changes * made README more informative 2002-03-15 Friday alan_k * removed DB check - it crashed anyway opening dbs if pear db did not exist added get_title method to scp so titles show up in trees * silly phpmole icon added 2002-03-14 Thursday alan_k * fixed bug with new bookmark code * changed the behaviour of the bookmark navigator to do popups automatically * fixed scintilla folding / class navigation loosing changes - small scp new file fix 2002-03-13 Wednesday alan_k * fixed a few open close midgard bugs * added hash support, bit of code tidyup 2002-03-09 Saturday alan_k * added present.php - standalone presenter * keyboard short cuts working in phppresents - more updates to presentation 2002-03-08 Friday alan_k * added warnings if no gd or imagick library * presentation update, fixed a few minor bugs 2002-03-07 Thursday alan_k * added a bit more documentation * removed debugging code from module manager * apd debugger support added - refer to mailing list for patch that makes it interactive 2002-03-06 Wednesday alan_k * pgtkhtml - some more fixes 2002-03-05 Tuesday alan_k * pgtkhtml - fixed last line missing * pgtkhtml - simple rendering working again 2002-03-04 Monday alan_k * added the phppresents module, added shift para left and right to html editor 2002-03-02 Saturday alan_k * pgtkhtml - this should break everything 2002-03-01 Friday alan_k * adding extra classes * html editor working again - attempting to do tables in pgtkhtml * minor fixes to autocompletion 2002-02-28 Thursday alan_k * highlighting still flaky - probably move back to original code * this breaks the html editor - working on pgtkhtml 2002-02-27 Wednesday alan_k * pgtkhgtml - wrapping working * more stuff in pgtkhtml and real TODO list 2002-02-26 Tuesday alan_k * pgtkhtml - added parser: * pgtkhtml = rendering color background and forground * pgtkhtml - loads and highlights html file roughtly * pgtkhtml - simple highlighting and character adding working to some degree 2002-02-25 Monday alan_k * close all, save all working, modified get_active document to use notebook information * simple debugger is now usable to run and test applications and urls 2002-02-24 Sunday alan_k * more updates on the debugger * working with debugger and pgtkhtml 2002-02-23 Saturday alan_k * added bootstrapper for phpmole - modified version of php_win.c 2002-02-22 Friday alan_k * added score support for topics and articles * All the scintilla configuration should work now - you can change colours styles etc. 2002-02-21 Thursday alan_k * fixed color changing by show-hide trick * fixed sensitive on save when all documents are closed * fixed show hide bug that I just introduced * oops forgot to add about dialog and class * changelog update, added pgtkhtml testing stuff * major interface updates - more of those annoying missing features working 2002-02-20 Wednesday alan_k * fix to reciever to show styles correctly * fixes to midgard transport - pulldown fixes and calendar * adding tests and a little drawing experiment 2002-02-19 Tuesday alan_k * copy paste image transfer working * removed edit membership and made new midgard dialogs use the emulation layer * added _ to view and fixed new host * glade emulation layer seems to be working - now testing 2002-02-18 Monday alan_k * phpglade - the glade emulator added 2002-02-17 Sunday alan_k * Split the text editor into 2 - multi document manager and editor - should mean windows is now working * directory viewer now checks for gtkpixmap on selecting line - win32 crash * removed a little debugging echos * added ability to disable modules - should make win32 debugging easier * last fixes to get all the dialogs stuff working * fixed small bug with midgard glade loader 2002-02-16 Saturday alan_k * midgard new dialogs and editing interfaces broken into two files * added parameters to all dialogs * Should be the last of the short tags removed * removing pear directory - everything should now be in tools * Parameter, locking and approval on articles added - need to add parameter dialog to more objects.. 2002-02-14 Thursday alan_k * added getenv patch by Karsten Dambekalns which removes the need for dollarHOME variables being globalized everywhere, a few more php long tags added, and a few older/ duplicate files removed, a few more standard files added README and FILE_STRUCTURE * added getenv patch by Karsten Dambekalns which removes the need for dollarHOME variables being globalized everywhere, a few more php long tags added, and a few older/ duplicate files removed 2002-02-13 Wednesday alan_k * GNU headers at last, the disappearing modules window, and php starting tags added to most files. 2002-02-12 Tuesday alan_k * Fixed menu - add bookmark and tooltip on save icon * midgard fixes for hosts page, style page and fix to parse to make it regenerate on save 2002-02-09 Saturday alan_k * fixed that annoying bug of switching documents overwriting with an old version, and a few more warnings removed 2002-02-07 Thursday alan_k * fixed html bugs on gtkhtml, added auth button to hosts dialog * Fixed bug relating to html parsing for html to scintilla flipping 2002-02-06 Wednesday alan_k * Fixes by Marius Andreiana - transports/scp/phpide_transport_scp.class: removed php warnings by using "username" and "remotehost" as array indexes and check existance of [8] before using it 2002-02-05 Tuesday alan_k * removed quit callback from module manager and moved it to app * it now remembers window postition :) * Group and Member updating now working in midgard module * window size save works, started work on breaking editor apart 2002-02-04 Monday alan_k * more fixes to midgard transport to support updating of groups 2002-02-03 Sunday alan_k * Fixed admingroup option in sitegroup editing 2002-02-02 Saturday alan_k * fixed sitegroup zero action - should not open a dialog 2002-02-01 Friday alan_k * oops bookmarks.glade should be in transports directory * fixed folding bugs with midgard data * fixed folding in scintilla to show phpdoc type comments correctly 2002-01-31 Thursday alan_k * updates to scintilla and php parser trying to get comments to display correctly for folding 2002-01-30 Wednesday alan_k * adding omphp_things dialog * updates to midgard and rpc transpor layer * major updates to midgard functionality * moved midgard dialogs into their own directory * added more icons 2002-01-29 Tuesday alan_k * started addtion of midgard detail editing as an editor module This is to facilitate creation of a generic web interface api 2002-01-28 Monday alan_k * major updates to midgard transport layer making it alot more effecient, improving caching tested using as non admin user, creation of new elements is reflected in tree and automatically opens * fixed html generator to fix html editor 2002-01-26 Saturday alan_k * more code tidying up, sort out scroll bar odities, html and generator fixes - this may break other things, added method to bookmark browser to work out the bookmark id from a url fixed alot of the debugger, added xml_tree_editor module - read only at present 2002-01-25 Friday alan_k * added notes to midgard transport regarding copying * added phpdict, and other little minor fixes that the debugger found * small fixes found by debugger * removed test file * socket version of debugger now working * added socket server classes for debugger * Base Class for developing the Application runner, The Server will be phpmole The clients will be the spawned job runners. 2002-01-23 Wednesday alan_k * changed layout of proposed build dialog, gif support for dir view, added pid to filename for debugger, fixed a small warning in mgd transport 2002-01-22 Tuesday alan_k * fixed build button if you dont have pcntl * Changelog updated * warning fixes, picked up by debugger * Debugger now executes phpmole, and jumps to lines * updated 2002-01-21 Monday alan_k * debugger fork fixed - see php-dev mailing list, code for socket IPC in, but not working * made the spare module tab automatically add unassigned modules to the tab at the bottom * added beginnings of simple debugger module - requires pcntl 2002-01-20 Sunday alan_k * reciever deals with delete, directory show file icons * fixed typo on commit script * Auto update of ChangeLog * directory browser pretty much completed, delete, drag and drop for files and midgard appear to be working 2002-01-19 Saturday alan_k * Auto update of ChangeLog * fixed image resize stopping when view changed and started adding in the ability to delete files again * Auto update of ChangeLog * more fixes related to changing the midgard trasport URL format. file upload appears to be working most of the time * Auto update of ChangeLog * drag drop from midgard to file system works, added a do you want to prompt on the action. * adding changelog 2002-01-18 Friday alan_k * adding modified cvs2cl to repository - good perl is awful - anyway it changes the output format to a much cleaner look.. * removed old file * fixed new file - had not been updated to use new generic dialog stuff * serious update to editor - it now works with midgard multi paned objects 2002-01-17 Thursday alan_k * added modulized editors * scintilla can now be multi-paned for midgard, and html is almost there * stopped crash when no image library was available = eg. imagick or gd * callbacks added to scrollbars on clist for db viewer 2002-01-16 Wednesday alan_k * oops slight fixes to db transport * added blob dialog * DB rpc class added * adding and editing bookmarks fixed, db bookmark editing added 2002-01-15 Tuesday alan_k * scintilla loads text from data when it has changed 2002-01-12 Saturday alan_k * database changes 2002-01-10 Thursday alan_k * more efforts at trying to fix gtkhtml editor * fixed loader * added php preservation in html editor * oops bad fix to module checking * removed warnings for missing modules * more warnings removed, better windoze support 2002-01-09 Wednesday alan_k * more updates 2002-01-07 Monday alan_k * more works, more doesnt * adding progress dialog * Adding phpconverter 2002-01-06 Sunday alan_k * minor updates 2002-01-05 Saturday alan_k * more clean up of glade directory * removed references to old gtkm dialogs, and started adding error prompts 2002-01-04 Friday alan_k * fudged drag and drop on images * beginnings of parameter editing * added get_link to mgd and fixed a few warnings - image scalling now works nicely 2002-01-03 Thursday alan_k * major fixes to help browser 2002-01-02 Wednesday alan_k * Notes of dialog boxes * DB module added, allows browsing of database - eventually should be able to edit * fixing some naming inconsitancies 2001-12-31 Monday alan_k * Image previewing now working * scaling, caching and image browsing now working - have added preview box, but that isnt.. 2001-12-29 Saturday alan_k * added caching for midgard and image scaling * more caching added to midgard layer - using md5 sums 2001-12-28 Friday alan_k * fixed most of bookmark editor and made it more modular * Updates with cache and stuff 2001-12-22 Saturday alan_k * modified cache internal structure * rotating and scaling working for midgard, caching still needs work 2001-12-19 Wednesday alan_k * drag and drop images working for html editor - file only 2001-12-18 Tuesday alan_k * midgard directory image browsing working - but it breaks upload :) * Directory browsing improved, refresh on image update done 2001-12-17 Monday alan_k * changed bookmark browser to use array rather than long list of function vars 2001-12-16 Sunday alan_k * image resizing and scaling working - refresh not however 2001-12-15 Saturday alan_k * caching stuff working * Added more files - documentation etc. * tidied up structure a bit, start of cache manager and image class 2001-12-14 Friday alan_k * minor fixes 2001-12-12 Wednesday alan_k * added glade file for members 2001-12-11 Tuesday alan_k * added gd loader support * started adding image scalling icons to directory browser * fix to midgard * fixes to make windows work * fixed midgard dialogs 2001-12-10 Monday alan_k * fixed drag drop, autocompletion and started breaking apart bookmark editor glade file * added sitegroup edit support * Major updates to midgard, reciever updated 2001-12-05 Wednesday alan_k * Drag and drop almost there - just connect the stuff inside of the midgard transport * image browsing now partly working - if you hack gdk 2001-12-04 Tuesday alan_k * added db transport and bit more of directory browser 2001-12-03 Monday alan_k * fixed midgard after move * moved files now appear to be working * removed transports from main dir * moved transports into directories * added support for language settings 2001-12-02 Sunday alan_k * redid all of language configuration - now almost works with the configuration dialog - just need to commit changes and remove the language stuff * begun merging of configuration dialogs to share a common class = scintilla and the languages config 2001-12-01 Saturday alan_k * Fixed Function bug - fixed a few more editor bugs 2001-11-30 Friday alan_k * help browser now includes forward,back,reload, throbber and url entrybox 2001-11-29 Thursday alan_k * fixed
issue with html editor 2001-11-28 Wednesday alan_k * Drag and drop now sends selected data * Drag and drop almost working 2001-11-27 Tuesday alan_k * beginnings of drag and drop from directory to tree working * moved directory browser out of editing pane - less annoying now 2001-11-26 Monday alan_k * Removed CVSLib - decided easier to rewrite than use these libraries * modifying api for checkout * debugging checkout * added ability to update chora * using flags so that multiple options can be used. * Full Checkin support should be working * more compatiblity on argv checking * debugging upgrade support * upgrade support fixed * upgrade support added * upgrade support added * beginnings of upgrade support * more fixes * more fixes * oops typo * added installer package file * make installer more pear compatible * Changes made to packaging - and sub packages * fixes to installer * fixes to installer * added file check * Fix check dir * Cleaned up get_files = more standard * adding package files from CVSLib * small bug with installer fixed * Added pear directory and CVSLib 2001-11-25 Sunday alan_k * directory browser - partially working\n drag and drop files started * House cleaning - removed some of the legacy stuff * Fixed crash bug due to missing method call 2001-11-24 Saturday alan_k * adding beginnings of support for directory browsing - and hence drag and drop upload for midgard * trimmed a few files prior to release 2001-11-23 Friday alan_k * removed the debug code * Fixed link bug = probably broke something else.. * removed debugging echos * added check for empty files in installer * use include_path not dir * trying to fix root install * revert back to /root check as getmyuid does not survive su without su- * more information on failure * typo * User PEAR DIRECTORY SUPPORT * typo * Better Pear location tricks * Fixed adding home dir to include path * installer fixes * installer checking * trying to globalize install_file * installer updates, cvs lib dependancy added 2001-11-22 Thursday alan_k * I think the installer is working now? * scintilla typo * typos in package * dependencies added to package * adding dependency stuff * installer almost working * fixed more warnings * fixed dir mistake * fixed a few warnings * typo in package fixed * added beginnings of installer * devhelp working, includes php-gtk manual 2001-11-21 Wednesday alan_k * help browser is now a working web browser - with post/get stuff.. \n added help links to menus 2001-11-20 Tuesday alan_k * Default language support for transports added * help module now uses devhelp format 2001-11-19 Monday alan_k * Link modification working 2001-11-18 Sunday alan_k * Font size now fully working * Broke set_font_style - need to check the api on this 2001-11-17 Saturday alan_k * More of html editor working 2001-11-15 Thursday alan_k * Upload working 2001-11-14 Wednesday alan_k * Image upload mostly working 2001-11-13 Tuesday alan_k * Upload partly working - crashes curl at present.. * HTML editor icons moved\nEditor Insert Image Working * Updated HTML toolbar - show hide option 2001-11-12 Monday alan_k * Images now appear in editor for midgard pages * more midgard additions, html editor working * Added menubar to html editor, text transfer is currently broken * All seems smooth - added a few more midgard functions 2001-11-11 Sunday alan_k * page element glade dialog added = this is one of those annoying midgard things.. * simplified module calling to use broadcast functions, fixed bugs with closing, reopening * more html updates, html interface glade added 2001-11-10 Saturday alan_k * HTML Editor passing data back to scintilla\nadd etc. done for topics and articles, basics of top level editing done. 2001-11-09 Friday alan_k * HTML save almost working * GtkHTML Editor now displays - no save working thought * Removed all echo statements and tidied up code * Midgard Delete tree working, added more midgard features to menu\nUsing file_generic for snippets * Creating and Deleting midgard objects works - for snippet+snippetdir * Module manager checks for class existance * Disable html editor 2001-11-08 Thursday alan_k * disable html editor - it isnt ready yet * adding midgard dialogs * Fixed segfault on closing documents - was setting active_doc in scitilla on close incorrectly * removed old scintilla class from notebook * added ability to edit midgard details - with a few bugs.. * updating midgard editor classes and dialogs * Fixed Close file bug - by storing based level items in class tree in a messy array * Got rid of alot of warning (from startup and load documents) Fixed New file/directory for scp transport Disabled tree deletion on class browser (as this was causing segfaults) 2001-11-07 Wednesday alan_k * fixing midgard transport dependancies * fixing prefs move issue * More prunning * Add beginnings of html editor * Initial revision * Initial Import phpmole/docs/0002755000175000017500000000000007641002071013321 5ustar alanalan00000000000000phpmole/docs/CVS/0002755000175000017500000000000007641002071013754 5ustar alanalan00000000000000phpmole/docs/CVS/Root0000644000175000017500000000010107407250164014620 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/docs/CVS/Repository0000644000175000017500000000001507407250164016060 0ustar alanalan00000000000000phpmole/docs phpmole/docs/CVS/Entries0000644000175000017500000000062407446050345015322 0ustar alanalan00000000000000/Cache Spec.txt/1.1/Sat Dec 15 08:23:03 2001// /Design_notes/1.1/Sat Dec 15 08:21:27 2001// /Directory browsing spec.txt/1.1/Mon Dec 17 16:30:13 2001// /standard prompts.txt/1.1/Wed Jan 2 08:41:21 2002// /Midgard Rpc layer.txt/1.1/Wed Jan 30 12:38:55 2002// /about.txt/1.1/Thu Feb 21 09:54:11 2002// /TODO/1.2/Wed Feb 27 05:52:27 2002// /language_kwords_and_devhelp.txt/1.2/Wed Mar 20 04:44:55 2002// D phpmole/docs/CVS/.mappedfiles/0002755000175000017500000000000007641002071016323 5ustar alanalan00000000000000phpmole/docs/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002071021623 2Repositoryustar alanalan00000000000000phpmole/docs/RCS/0002700000175000017500000000000007641002071013736 5ustar alanalan00000000000000phpmole/docs/RCS/.mappedfiles/0002700000175000017500000000000007641002071016305 5ustar alanalan00000000000000phpmole/docs/RCS/.mappedfiles/ABOUT~1.TXT0000777000175000017500000000000007641002071022161 2about.txt,vustar alanalan00000000000000phpmole/docs/RCS/.mappedfiles/TODO_V~10000777000175000017500000000000007641002071020500 2TODO,vustar alanalan00000000000000phpmole/docs/RCS/.mappedfiles/LANGUA~1.TXT0000777000175000017500000000000007641002071026651 2language_kwords_and_devhelp.txt,vustar alanalan00000000000000phpmole/docs/RCS/about.txt,v0000755000175000017500000000165507435141703016104 0ustar alanalan00000000000000head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2002.02.21.09.54.11; author alan; state Exp; branches; next ; desc @Updated @ 1.1 log @Updated @ text @ PHP Mole - An Integrated Development enviroment Copyright (C) 2002 Alan Knowles alan@@akbkhome.com 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 version 2 of the License, or (at your option) any later version. 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., 675 Mass Ave, Cambridge, MA 02139, USA. @ phpmole/docs/RCS/TODO,v0000755000175000017500000000626207437072033014721 0ustar alanalan00000000000000head 1.8; access; symbols; locks; strict; comment @# @; 1.8 date 2002.02.27.05.52.16; author alan; state Exp; branches; next 1.7; 1.7 date 2002.02.27.05.51.58; author alan; state Exp; branches; next 1.6; 1.6 date 2002.02.27.05.51.48; author alan; state Exp; branches; next 1.5; 1.5 date 2002.02.27.05.49.51; author alan; state Exp; branches; next 1.4; 1.4 date 2002.02.27.05.49.13; author alan; state Exp; branches; next 1.3; 1.3 date 2002.02.27.05.48.22; author alan; state Exp; branches; next 1.2; 1.2 date 2002.02.27.05.47.53; author alan; state Exp; branches; next 1.1; 1.1 date 2002.02.27.05.46.45; author alan; state Exp; branches; next ; desc @Updated @ 1.8 log @Updated @ text @TODO list for the mole Tidy up code: - the codeing standards are basically same as PEAR except that I tend to use this_is_a_method(), rather than ThisIsAMethod() Add comments to code (phpdoc) - it's a bit sparse with comments at present :) Create a base class for the transports and modules - this is probably the best place to explain them :) Fix bugs - there are quite a few, it can vary depending on if I modify the API occasionally General - All the menus should work Window Specific - work out how to make the icons appear - do more work on the plain text editing module - extend the glade emulator - to see if it can work.. for everything (major cause of crashes) Midgard Layer - change to XMLRPC - (Ami) might be doing that. Transports / Bookmark editor - evalute removing bookmark id from all api's - its only really used by the bookmark editor - remove the CVS/RCS option - it should make decisions on this based on the existance of RCS/CVS directories Modules Notebook - needs to manage menu_emits better : should only send to active editor - this currently is the place where you can find out which editor/url is active Scintilla -needs 'turn on/off folding Text editor - needs prefs to set font - needs to do search/replace HTML editor - see how far I get with the php version.... (alan) Fun cool stuff to add - make the autotext stuff work - GPL headers, comment selected code etc. - php doc support - display in help area - replace GtkPaned with SQPaned - onload... - a glade editor - a uml editor (maybe an extention of the work of the HTML editor) - a real debugger - hack an xmlrpc layer into apd - the free php debugger - auto download devhelp books/manuals. - progress bars on midgard transfers - work out how to do ssh/scp on windows. - xml editor - based of off HTML editor stuff... ** ADD HERE IF YOU CAN THINK OF ANYTHING @ 1.7 log @Updated @ text @d70 1 @ 1.6 log @Updated @ text @d71 1 a71 1 @ 1.5 log @Updated @ text @d61 1 d66 4 a69 2 @ 1.4 log @Updated @ text @d63 4 a66 1 - @ 1.3 log @Updated @ text @d9 1 a9 1 Add comments to code d60 7 a66 1 @ 1.2 log @Updated @ text @d10 1 a10 1 - it's a bit sparse with comments :) @ 1.1 log @Updated @ text @d28 1 a28 1 d31 1 a31 1 - change to XMLRPC - Ami might be doing that. d53 2 a54 1 @ phpmole/docs/RCS/language_kwords_and_devhelp.txt,v0000755000175000017500000000775007446011707022503 0ustar alanalan00000000000000head 1.12; access; symbols; locks; strict; comment @# @; 1.12 date 2002.03.20.04.43.23; author alan; state Exp; branches; next 1.11; 1.11 date 2002.03.20.04.43.13; author alan; state Exp; branches; next 1.10; 1.10 date 2002.03.20.04.41.19; author alan; state Exp; branches; next 1.9; 1.9 date 2002.03.20.04.14.44; author alan; state Exp; branches; next 1.8; 1.8 date 2002.03.20.04.14.02; author alan; state Exp; branches; next 1.7; 1.7 date 2002.03.20.04.11.02; author alan; state Exp; branches; next 1.6; 1.6 date 2002.03.20.04.08.58; author alan; state Exp; branches; next 1.5; 1.5 date 2002.03.20.04.08.30; author alan; state Exp; branches; next 1.4; 1.4 date 2002.03.20.04.06.38; author alan; state Exp; branches; next 1.3; 1.3 date 2002.03.20.04.00.46; author alan; state Exp; branches; next 1.2; 1.2 date 2002.03.20.04.00.19; author alan; state Exp; branches; next 1.1; 1.1 date 2002.03.20.03.54.13; author alan; state Exp; branches; next ; desc @Updated @ 1.12 log @Updated @ text @ Languages & Devhelp: Current Situation: language files used by phpmole: (1)Language : The general configuration file includes keywords1-4, (2)Language.html : The list of keywords5 for Language =html (3)php_functions : a list of phpfunctions and their short descriptions used by tooltips editing. (4)devhelp : includes a list of functions in it.. Ideally all this should be merged into a simpler system: Master Language file - lists Languages and their relative manual pages: eg. 'C' language - would reference the Glib/GTK libraries.. devhelp files etc. 'PHP' language - would reference 'PHP', 'PHP-GTK', apd, imagic, PEAR? devhelp files DEVHELP Then the individual devhelp would have to be modified to include: 'function/method summaries = eg. the 'php_functions' stuff.. Devhelp files need breaking up - php & phpgtk are far to big!!! either this or a better loading method is needed : at present, we parse the whole file and build a array of objects, linked together with ids. other options include: parse the data into a gdbm database? ----------------------------- Where is this data used: Language::get_keywords($language) // used by the parse to highlight words Language::get_short_desc($language,$kw) // used to show short description Language::get_url($language,$kw) // used to show help page on a keyword. /* help tree */ Language::get_books() // list of top level books Language::get_sub_chapters($book, [$id] ) // list of chapters in book or sub chapters (id) Language::get_book_language() // what programming language does the book relate to? Overview info. books_base: filename:name \t baseurl seperate dbm files for each book HTML_phpgtk_keywords_shortdesc keyword:desc HTML_phpgtk_keywords_link keyword:link HTML_phpgtk_book_tree id:(ids of children) HTML_phpgtk_book_pages id:name \t link Hence from this: process would be? build database = parse all data and Changes required!!!! @ 1.11 log @Updated @ text @d58 1 a58 1 filename:baseurl d74 1 a74 1 id:name\tlink @ 1.10 log @Updated @ text @d57 2 d60 2 a62 1 seperate dbm files for each book @ 1.9 log @Updated @ text @d56 1 a56 2 Languages id:Language a57 2 BooksNames id:Bookname d59 1 a59 2 LanguagesBooks (langid):(list of Book ids); d61 2 a62 2 BasePages bookid => (list of main pages) d64 2 a65 2 Bookpages: (bookid:Pageid) => (list of sub page ids) d67 2 a68 2 BookPageTitles (bookid:pageid) => "Title"; d70 2 a71 2 BookPageURLS (bookid:pageid) => "URL"; d73 6 @ 1.8 log @Updated @ text @a64 1 d71 5 @ 1.7 log @Updated @ text @d59 1 a59 1 Books d62 7 d70 1 @ 1.6 log @Updated @ text @d53 12 @ 1.5 log @Updated @ text @d46 3 a48 3 Language::get_keywords() // used by the parse to highlight words Language::get_short_desc($kw) // used to show short description Language::get_url($kw) // used to show help page on a keyword. @ 1.4 log @Updated @ text @d50 3 @ 1.3 log @Updated @ text @d43 11 @ 1.2 log @Updated @ text @d40 3 @ 1.1 log @Updated @ text @d36 6 a44 1 Changes required!!!! @ phpmole/docs/Cache Spec.txt0000755000175000017500000000163107406604147015755 0ustar alanalan00000000000000Design Notes for the cache spec Various parts of this application deal with temporary files = a coherant method for managing these is required. examples of use are: Web / Help browser - stores files in there : - all files are written to cache even if they are not to be cached. - this is due to the reload trick on the browser. - rules on deletion are supposed to be: - no cache - dont cache. - expiry date: - Midgard and SCP transports : - all files are transfered to a local machine and edited locally. - need to check modification dates of transfered data. - Deleting files : - if they have expired - if the owning process has completed and it's taged as temp! Storage format: URL: string (key) open_pid : process id of opening application expires: int TIMESTAMP delete_on_close: 1|0 - whether file should be deleted on closing. temp_name: actual name of temporary file nphpmole/docs/Design_notes0000755000175000017500000000322007406604007015671 0ustar alanalan00000000000000Design details // Load document - Done for time being.. // Save document What is the active document. issue pre_save to all modules (which returns array(bookmarkid,URL) from call! any document holders, if they are active editors can then ask the transport_manager to save the specified URL. save_document is then issued to all module - - used to change undo/* markers on file lists, - refresh the parsers? /--------------------------- What is still missing : where do parsers fit into the jigsaw. where do the bookmark editors go... // under the bookmark module? /--------------------------- Language_manager - load languages & parsers - holds it in documents[$URL] - called straight after load document. Interface manager Loads the Chosen Interface into the top level window. Then instructs the module manager to load/attach it's widgets to the layout. /-------------- Module manager - responsible for loading modules passing messages to modiles (eg. menu emit,load_document) modules : holds documents[$URL] - widget that holds URL. (optional) widget - widget that is added to interface responsible for a widget or group of widgets. responding to menu_emits selectivly. /------------ transport manager holds documents[URL] = array of transport objects responsible for forwarding tree queries storing open documents transport modules: responsible for file/network read write access.. 2 types transport_core_file (answers tree queries) transport_document_file (does file/save stuff) phpmole/docs/TODO0000755000175000017500000000404607437072033014026 0ustar alanalan00000000000000TODO list for the mole Tidy up code: - the codeing standards are basically same as PEAR except that I tend to use this_is_a_method(), rather than ThisIsAMethod() Add comments to code (phpdoc) - it's a bit sparse with comments at present :) Create a base class for the transports and modules - this is probably the best place to explain them :) Fix bugs - there are quite a few, it can vary depending on if I modify the API occasionally General - All the menus should work Window Specific - work out how to make the icons appear - do more work on the plain text editing module - extend the glade emulator - to see if it can work.. for everything (major cause of crashes) Midgard Layer - change to XMLRPC - (Ami) might be doing that. Transports / Bookmark editor - evalute removing bookmark id from all api's - its only really used by the bookmark editor - remove the CVS/RCS option - it should make decisions on this based on the existance of RCS/CVS directories Modules Notebook - needs to manage menu_emits better : should only send to active editor - this currently is the place where you can find out which editor/url is active Scintilla -needs 'turn on/off folding Text editor - needs prefs to set font - needs to do search/replace HTML editor - see how far I get with the php version.... (alan) Fun cool stuff to add - make the autotext stuff work - GPL headers, comment selected code etc. - php doc support - display in help area - replace GtkPaned with SQPaned - onload... - a glade editor - a uml editor (maybe an extention of the work of the HTML editor) - a real debugger - hack an xmlrpc layer into apd - the free php debugger - auto download devhelp books/manuals. - progress bars on midgard transfers - work out how to do ssh/scp on windows. - xml editor - based of off HTML editor stuff... ** ADD HERE IF YOU CAN THINK OF ANYTHING phpmole/docs/Directory browsing spec.txt0000755000175000017500000000166707407416625020605 0ustar alanalan00000000000000Directory and File browsing notes: At this point, The basic file browsing is implemented in the mole eg. The bookmark/file browser expands, asks the various transport modules for trees, and displays the results. This is true of the directory/file/image browser this primarly uses the add_ HOWEVER! the method for updating and changing both the directory and file browser has not been defined. eg. If you modify an image, then the icon should refresh If you add a file/directory etc. the tree should refresh. refresh_node($bookmarkid, $URL, $nodedata) // of if a directory is re-read // directory contains x y z // read again only contains x y // process currently bookmark browser - calls transport and asks for tree - loops through resulting array and adds if it doesnt exist. - after adding, it should get the list of children, and see if any of them are not in the returned list and delete them. phpmole/docs/standard prompts.txt0000755000175000017500000000165707414543661017376 0ustar alanalan00000000000000During the operation of phpmole, there are various situations where a prompt, or message needs to appear - eg. Dragging a file from the directory browser to the tree, should as ' do you want to copy this file' or even more important - do you want to delete this file... This is what the interface should look like. $this->delete_dialog = &new phpide_dialog_generic("yes_no"); $this->delete_dialog->set_message("Do you want to delete this?"); $this->delete_dialog->set_title("Delete File"); $this->delete_dialog->set_callback_ok(array(&$this, "really_delete)); // an object callback $this->delete_dialog->set_callback_cancel(array(&$this, "really_delete")); // an object callback (optional); $this->delete_dialog->show(); originally, I used caching to store the dialogs, but it may just easier to destroy the dialog on hide. callbacks should do $this->delete_dialog->destroy(); // which hides and destroys the dialog. phpmole/docs/Midgard Rpc layer.txt0000755000175000017500000000474407425764537017273 0ustar alanalan00000000000000The Midgard RPC layer. The midgard transport is a generic simple RPC layer, it sends out. requests for table = normally database table id = the key value to list or get. depth = the request type. the valid depths are 0=get the object 1=list all objects below this. 2=save object 3=create object 4=delete object 5=(internal - was test authentication now mostly obsolete) 6=delete an object and all items below it. 8=upload an image/file 99=get a raw image/file when uploading, the system expects all data in a flat array $new["key"] = value. The midgard details viewer uses an object associated with each table element to decide get_defs - All the items that can be edited = and displayed in the details form. the values are STR/CDATA = text. tablename = a reference to an object in another table. UTIME = unix time stamp get_title - The objects descriptive / human readable title get_icon_name The objects icon (from /xpm) has_children Not currently used - children is defined currently by the existince of icon_open.xpm in /xpm get_menu_items Used by the Bookmark browser to define what appears on the popup menu get_action open,browse - if pressing on the object fires load_document and/or browse_document browse is used by the directory browser only at present get_id normally returns $this->id, but can be used to define different keys on which to browse. get_filter normally returns the sitegroup, used by popups/lists etc. to find the sg__table&id="?????" The Details editor (midgard module) loads the associated glade file, loops through the defs. and fills in dialogs following these rules. Text, Entry boxes and Labels Just puts text into the boxes. Popups/Pulldown menus Creates a call on the table specified with the prefix sg__ The id is the midgard sitegroup id (eg. a filter) It then fills the table in with the results and selects the matching item. Calendars : TODO! List boxes: Multiple select entries: assumes that a result is an array of items? == the currently selected obtains all available obtions by calling table=sg__(mapped table), id = ??? was sitegroup, now is? example - axisnames is a map to list of product_variants (table = omphp_things,filter='xbrh0003') phpmole/docs/debugger notes.txt0000755000175000017500000000205207430450400016756 0ustar alanalan00000000000000Eventually the intention is to build a real debugger into phpmole the likely candidate is the dbg extension from http://dd.cron.ru/dbg/ the trick is working out what the protocol does - so far this is the analysis: The startup issues header_structure 4 bytes sync = ( 00 00 59 53 ) ; 4 bytes cmd = (00 00 00 12) = see commands from dbg_net.h ; /* command one of DBGC_xxxx, DBGR_xxxx, DBGA_xxxx */ 4 bytes flags (00 00 00 01) ?? not sure what thats for 4 bytes bodysize (00 00 00 10) = eg. 16 bytes (hex) initiall send 00 00 59 53 00 00 00 12 00 00 00 01 00 00 00 10 00 01 8a 24 00 00 00 08 00 00 00 00 00 00 00 02 translates to command DBGC_SID send session id then of 16 bytes of ???? dont know what this is - session id ? 00 00 59 53 00 00 00 01 00 00 00 05 00 00 02 df translates to command DBGC_STARTUP send startup date flag =5 size =02df It then appears to dump the DBG global vars..! phpmole/docs/about.txt0000755000175000017500000000137407435141703015211 0ustar alanalan00000000000000 PHP Mole - An Integrated Development enviroment Copyright (C) 2002 Alan Knowles alan@akbkhome.com 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 version 2 of the License, or (at your option) any later version. 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., 675 Mass Ave, Cambridge, MA 02139, USA. phpmole/docs/classes/0002755000175000017500000000000007641002071014756 5ustar alanalan00000000000000phpmole/docs/classes/.html0000644000175000017500000000552507464134542015744 0ustar alanalan00000000000000 PHP Class :
Parent:
Version:

Index:









by

methods


phpmole/docs/classes/phpmanual_help_fetch.html0000644000175000017500000001045207464134542022026 0ustar alanalan00000000000000 PHP Class : phpmanual_help_fetch
phpmanual_help_fetch
Parent:
Version:

Index:

run update_display get_file







by

methods
run 





 
update_display  $line





 
get_file  $url $local





 


phpmole/docs/classes/phpmanual_devhelp_generator.html0000644000175000017500000002465407464134542023433 0ustar alanalan00000000000000 PHP Class : phpmanual_devhelp_generator
phpmanual_devhelp_generator
Parent: html_generator_base
Version:

Index:

devhelp_check_roots override_all override_refentry override_classentry override_method override_constructor override_classset override_part override_chapter override_preface override_reference override_sect1 override_appendix start_block look_forward







by

methods
devhelp_check_roots 





 
override_all  $i





 
override_refentry  $i





 
override_classentry  $i





 
override_method  $i





 
override_constructor  $i





 
override_classset  $i





 
override_part  $i





 
override_chapter  $i





 
override_preface  $i





 
override_reference  $i





 
override_sect1  $i





 
override_appendix  $i





 
start_block  $i $what $name_element





 
look_forward  $start $title





 


phpmole/docs/classes/phpgtkmanual_help_fetch.html0000644000175000017500000001046007464134542022533 0ustar alanalan00000000000000 PHP Class : phpgtkmanual_help_fetch
phpgtkmanual_help_fetch
Parent:
Version:

Index:

run update_display get_file







by

methods
run 





 
update_display  $line





 
get_file  $url $local





 


phpmole/docs/classes/pearify.html0000644000175000017500000002413207464134542017317 0ustar alanalan00000000000000 PHP Class : pearify
pearify
Parent:
Version:

Index:

start parse parse_line process_class process_method process_var get_user_details add_php_header add_php_gpl_header process_comment process_element process_entity process_attlist p_trim process







by

methods
start  $filename





 
parse 





 
parse_line 





 
process_class 





 
process_method 





 
process_var 





 
get_user_details 





 
add_php_header 





 
add_php_gpl_header 





 
process_comment  $comment





 
process_element  $e





 
process_entity  $e





 
process_attlist  $e





 
p_trim  $l





 
process  $tag





 


phpmole/docs/classes/dummy_class.html0000644000175000017500000001253607464134542020205 0ustar alanalan00000000000000 PHP Class : dummy_class
dummy_class
Parent:
Version:

Index:

rdf_tree_types output_object rdf_get_object rdf_tree rdf_filtered_tree







by

methods
rdf_tree_types  $id





 
output_object  $obj





 
rdf_get_object  $type $id





 
rdf_tree  $id $functions





 
rdf_filtered_tree  $id $functions $all





 


phpmole/docs/classes/devhelp_to_dbm.html0000644000175000017500000001141107464134542020627 0ustar alanalan00000000000000 PHP Class : devhelp_to_dbm
devhelp_to_dbm
Parent:
Version:

Index:

parse_file build_tree add_to_tree read_books







by

methods
parse_file 





 
build_tree 





 
add_to_tree  $i





 
read_books 





 


phpmole/docs/classes/phpmole_webfetch.html0000644000175000017500000001725507464134542021203 0ustar alanalan00000000000000 PHP Class : phpmole_webfetch
phpmole_webfetch
Parent:
Version:

Index:

curl_upload_headers get curl_read curl_header_read emit start static_start static_start_url debug simple_microtime







by

methods
curl_upload_headers 





 
get 





 
curl_read  $ch $string





 
curl_header_read  $ch $string





 
emit  $string





 
start 





 
static_start  $request_id





 
static_start_url  $URL





 
debug  $s





 
simple_microtime 





 


phpmole/docs/classes/phpmole_autotext.html0000644000175000017500000001633107464134542021263 0ustar alanalan00000000000000 PHP Class : phpmole_autotext
phpmole_autotext
Parent:
Version:

Index:

phpdoc_input parse parse_line process_class process_method process_var get_user_details add_php_header add_php_gpl_headers







by

methods
phpdoc_input 





 
parse 





 
parse_line 





 
process_class 





 
process_method 





 
process_var 





 
get_user_details 





 
add_php_header 





 
add_php_gpl_headers 





 


phpmole/docs/classes/test.html0000644000175000017500000000555207464134542016644 0ustar alanalan00000000000000 PHP Class : test
test
Parent: uml_generator
Version:

Index:









by

methods


phpmole/docs/classes/uml_generator.html0000644000175000017500000001613007464134542020522 0ustar alanalan00000000000000 PHP Class : uml_generator
uml_generator
Parent:
Version:

Index:

start build parse_file create_positions parse got_class got_method get_args got_var







by

methods
start  $filename





 
build  $filename





 
parse_file  $filename





 
create_positions 





 
parse 





 
got_class 





 
got_method 





 
get_args 





 
got_var 





 


phpmole/docs/classes/php_generator.html0000644000175000017500000002334007464134542020515 0ustar alanalan00000000000000 PHP Class : php_generator
php_generator
Parent:
Version:

Index:

start output_from_template output_classes_from_template build parse_file create_positions parse got_class got_method get_args got_var parse_comment installer_get_pear installer_add_include_path







by

methods
start  $filename





 
output_from_template  $template $output_file





 
output_classes_from_template  $template $output_dir





 
build  $filename





 
parse_file  $filename





 
create_positions 





 
parse 





 
got_class 





 
got_method 





 
get_args 





 
got_var 





 
parse_comment 





 
installer_get_pear 





 
installer_add_include_path  $path





 


phpmole/docs/classes/phpmole_installer.html0000644000175000017500000001737107464134542021410 0ustar alanalan00000000000000 PHP Class : phpmole_installer
phpmole_installer
Parent:
Version:

Index:

install post_install get_chora_settings get_cvsweb_settings set_installbase check_dependancies check_recommends get_files fetch_files create_dirs







by

methods
install  $xmlfile





 
post_install 





 
get_chora_settings 





 
get_cvsweb_settings 





 
set_installbase 





 
check_dependancies 





 
check_recommends 





 
get_files 





 
fetch_files 





 
create_dirs 





 


phpmole/docs/classes/Filter_bodyonly.html0000644000175000017500000001054007464134542021022 0ustar alanalan00000000000000 PHP Class : Filter_bodyonly
Filter_bodyonly
Parent:
Version:

Index:

_set_engine strip_body_head post_body_foot







by

methods
_set_engine  $engine





 
strip_body_head  $input





 
post_body_foot  $input





 


phpmole/docs/classes/Filter_php.html0000644000175000017500000001051607464134542017755 0ustar alanalan00000000000000 PHP Class : Filter_php
Filter_php
Parent:
Version:

Index:

_set_engine pre_strip_php post_strip_php







by

methods
_set_engine  $engine





 
pre_strip_php  $input





 
post_strip_php  $input





 


phpmole/docs/classes/Filter_rtf_simpletags.html0000644000175000017500000000562007464134542022211 0ustar alanalan00000000000000 PHP Class : Filter_rtf_simpletags
Filter_rtf_simpletags
Parent: Filter_simpletags
Version:

Index:









by

methods


phpmole/docs/classes/Filter_simpletags.html0000644000175000017500000001443407464134542021341 0ustar alanalan00000000000000 PHP Class : Filter_simpletags
Filter_simpletags
Parent:
Version:

Index:

_set_engine variables urlencoded_variables methods looping conditionals include_template







by

methods
_set_engine  $engine





 
variables  $input





 
urlencoded_variables  $input





 
methods  $input





 
looping  $input





 
conditionals  $input





 
include_template  $input





 


phpmole/docs/classes/Filter_tags.html0000644000175000017500000001447007464134542020127 0ustar alanalan00000000000000 PHP Class : Filter_tags
Filter_tags
Parent:
Version:

Index:

Filter_tags variables foreach_loop end_loop simple_conditional method_conditional include_template







by

methods
Filter_tags  $engine





 
variables  $input





 
foreach_loop  $input





 
end_loop  $input





 
simple_conditional  $input





 
method_conditional  $input





 
include_template  $input





 


phpmole/docs/classes/Template_Options.html0000644000175000017500000001241407464134542021146 0ustar alanalan00000000000000 PHP Class : Template_Options
Template_Options
Parent:
Version:

Index:

SimpleTemplate_Options setOption setOptions getOption



this class only defines commonly used methods, etc.

it is worthless without being extended

by Wolfram Kriesing <wolfram@kriesing.de>

methods
SimpleTemplate_Options  $options
boolean true if loggedIn

this constructor sets the options, since i normally need this and

in case the constructor doesnt need to do anymore i already have it done :-)
 
setOption  $option $value


No Description


 
setOptions  $options


set a number of options which are simply given in an array


 
getOption  $option
boolean true on success

No Description


 


phpmole/docs/classes/Template_Engine.html0000644000175000017500000001760307464134542020725 0ustar alanalan00000000000000 PHP Class : Template_Engine
Template_Engine
Parent: Template_Options
Version:

Index:

Template_Engine getTemplateDir parse compile isUpToDate applyFilters debug showError



This is a rip of of Wolfram's Simple Template class - heavily simplified!

- notebly - no xml config stuff - simplified filters - so you just tell it which filter (classes) to use, not individual methods

by

methods
Template_Engine  $options


saves the postFilters which will be applied after compilation


 
getTemplateDir 


gets the template directory


 
parse 


here all the replacing, filtering and writing of the compiled file is done

well this is not much work, but still its in here :-)
 
compile  $file
string $file relative to the 'templateDir' which you set when calling the constructor

compile the template


 
isUpToDate  $fileToCheckAgainst
string $fileToCheckAgainst if given this file is checked if it is newer than the compiled template

checks if the compiled template is still up to date

this is useful if for example only an xml-config file has changed but not the template itself
 
applyFilters  $input $prefix
string $input the string to filter array $filters an array of filters to apply

actually it will only be used to apply the pre and post filters


 
debug  $string





 
showError  $message
string $message the error message

show an error on the html page, format it, so it is obvious


 


phpmole/docs/classes/request.html0000644000175000017500000000554307464134543017356 0ustar alanalan00000000000000 PHP Class : request
request
Parent:
Version:

Index:









by

methods


phpmole/docs/classes/response.html0000644000175000017500000000554507464134543017526 0ustar alanalan00000000000000 PHP Class : response
response
Parent:
Version:

Index:









by

methods


phpmole/docs/classes/DB_rpc_result.html0000644000175000017500000000555707464134543020422 0ustar alanalan00000000000000 PHP Class : DB_rpc_result
DB_rpc_result
Parent:
Version:

Index:









by

methods


phpmole/docs/classes/DB_rpc.html0000644000175000017500000004327207464134543017020 0ustar alanalan00000000000000 PHP Class : DB_rpc
DB_rpc
Parent: DB_common
Version:

Index:

DB_rpc connect disconnect simpleQuery parse_dsn send_query curl_read nextResult fetchRow fetchInto freeResult numCols numRows autoCommit commit rollback affectedRows errorNative nextId createSequence dropSequence quote modifyQuery modifyLimitQuery mysqlRaiseError tableInfo getSpecialQuery







by

methods
DB_rpc 


DB_mysql constructor.


 
connect  $dsninfo $persistent
$dsn the data source name (see DB::parseDSN for syntax) $persistent (optional) whether the connection should

Connect to a database and log in as the specified user.

be persistent
 
disconnect 


Log out and disconnect from the database.


 
simpleQuery  $query
the SQL query

Send a query to MySQL and return the results as a MySQL resource

identifier. queries, DB_OK for other successful queries. A DB error is returned on failure.
 
parse_dsn 





 
send_query  $query





 
curl_read  $ch $string





 
nextResult  $result
a valid fbsql result resource

Move the internal mysql result pointer to the next available result


 
fetchRow  $result $fetchmode $rownum
$result MySQL result identifier $fetchmode format of fetched row array $rownum the absolute row number to fetch

Fetch and return a row of data (it uses fetchInto for that)


 
fetchInto  $result $arr $fetchmode $rownum
$result MySQL result identifier $arr (reference) array where data from the row is stored $fetchmode how the array data should be indexed $rownum the row number to fetch

Fetch a row and insert the data into an existing array.


 
freeResult  $result
$result MySQL result identifier or DB statement identifier

Free the internal resources associated with $result.


 
numCols  $result
$result MySQL result identifier

Get the number of columns in a result set.


 
numRows  $result
$result MySQL result identifier

Get the number of rows in a result set.


 
autoCommit  $onoff





 
commit 





 
rollback 





 
affectedRows 


Gets the number of rows affected by the data manipulation

query. For other queries, this function returns 0.
 
errorNative 


Get the native error code of the last error (if any) that

occured on the current connection.
 
nextId  $seq_name $ondemand
$seq_name the name of the sequence $ondemand whether to create the sequence table on demand

Get the next value in a sequence. We emulate sequences

for MySQL. Will create the sequence if it does not exist. (default is true)
 
createSequence  $seq_name





 
dropSequence  $seq_name





 
quote  $str
$string mixed Data to be quoted

Quote the given string so it can be safely used within string delimiters

in a query.
 
modifyQuery  $query $subject





 
modifyLimitQuery  $query $from $count





 
mysqlRaiseError  $errno





 
tableInfo  $result $mode





 
getSpecialQuery  $type
string $type What kind of info you want to retrieve

Returns the query needed to get some backend info


 


phpmole/docs/classes/phpmole_prefs.html0000644000175000017500000002177007464134543020531 0ustar alanalan00000000000000 PHP Class : phpmole_prefs
phpmole_prefs
Parent:
Version:

Index:

load parse write load_user_prefs save_user_prefs get set shunt_array get_array set_array clear_array prune_array un_set







by

methods
load  $filename





 
parse 





 
write  $file





 
load_user_prefs 





 
save_user_prefs 





 
get  $a





 
set  $a $b





 
shunt_array  $value $prefix $max





 
get_array  $a





 
set_array  $a $b





 
clear_array  $a





 
prune_array  $a $n





 
un_set  $a





 


phpmole/docs/classes/config_dialog.html0000644000175000017500000001141007464134543020440 0ustar alanalan00000000000000 PHP Class : config_dialog
config_dialog
Parent: phpide_dialog_generic
Version:

Index:

config_dialog show load_prefs save_prefs







by

methods
config_dialog 





 
show 





 
load_prefs 





 
save_prefs 





 


phpmole/docs/classes/config_dialog_generic.html0000644000175000017500000002035607464134543022145 0ustar alanalan00000000000000 PHP Class : config_dialog_generic
config_dialog_generic
Parent: phpide_dialog_generic
Version:

Index:

init show set_buttoncolor set_fontname select_font fontsel_ok fontsel_cancel select_color colorsel_ok colorsel_cancel get_results







by

methods
init  $conf_array





 
show  $prefs





 
set_buttoncolor  $widgetname $setting





 
set_fontname  $widgetname $setting





 
select_font  $a





 
fontsel_ok 





 
fontsel_cancel 





 
select_color  $e $widgetname $config_variable





 
colorsel_ok 





 
colorsel_cancel 





 
get_results 





 


phpmole/docs/classes/phpmole_new_file_dialog.html0000644000175000017500000001156307464134543022520 0ustar alanalan00000000000000 PHP Class : phpmole_new_file_dialog
phpmole_new_file_dialog
Parent: phpide_Dialog_Generic
Version:

Index:

phpmole_new_file_dialog show ok_pressed key_pressed







by

methods
phpmole_new_file_dialog 





 
show  $bookmarkid $URL $type





 
ok_pressed 





 
key_pressed  $widget $event





 


phpmole/docs/classes/phpmole_password_dialog.html0000644000175000017500000001057607464134543022575 0ustar alanalan00000000000000 PHP Class : phpmole_password_dialog
phpmole_password_dialog
Parent: phpide_dialog_generic
Version:

Index:

phpmole_password_dialog show key_pressed







by

methods
phpmole_password_dialog 





 
show  $string





 
key_pressed  $widget $event





 


phpmole/docs/classes/phpmole.html0000644000175000017500000005404007464134543017326 0ustar alanalan00000000000000 PHP Class : phpmole
phpmole
Parent:
Version:

Index:

run bind_actions bind_auto_text_items bind_auto_text add_auto_text configuration_activate load_document add_to_recent add_recent_item rebuild_recent save_document reload_document save_all_activate dummy_timer free_module_frame break_apart_edit_pane rebuild_edit_pane hide_module_frame show_module_frame view_module_frame_activate hide_tree_frame show_tree_frame toggle_active get_active view_tree_frame_activate disable_document_items enable_document_items document_set_sensitive about_activate goto_line_key_press_activate find_box_key_press_activate open_newfile_activate open_file_activate open_file_ok_pressed quit callback_configure_event check_php_modules hide_warning







by

methods
run 





 
bind_actions 





 
bind_auto_text_items 





 
bind_auto_text  $filename





 
add_auto_text  $filename





 
configuration_activate 





 
load_document  $bookmarkid $URL $force





 
add_to_recent  $URL





 
add_recent_item  $URL





 
rebuild_recent 





 
save_document 





 
reload_document 





 
save_all_activate 





 
dummy_timer 





 
free_module_frame  $widget $event





 
break_apart_edit_pane 





 
rebuild_edit_pane 





 
hide_module_frame 





 
show_module_frame 





 
view_module_frame_activate  $widget





 
hide_tree_frame 





 
show_tree_frame 





 
toggle_active  $widgetname $value





 
get_active  $widgetname





 
view_tree_frame_activate  $widget





 
disable_document_items 





 
enable_document_items 





 
document_set_sensitive  $value





 
about_activate 





 
goto_line_key_press_activate  $widget $event





 
find_box_key_press_activate  $widget $event





 
open_newfile_activate  $widget





 
open_file_activate  $widget $title





 
open_file_ok_pressed  $widget $window





 
quit 





 
callback_configure_event  $window





 
check_php_modules 





 
hide_warning 





 


phpmole/docs/classes/phpide_Dialog_Generic.html0000644000175000017500000001630107464134543022044 0ustar alanalan00000000000000 PHP Class : phpide_Dialog_Generic
phpide_Dialog_Generic
Parent:
Version:

Index:

phpide_Dialog_Generic ignore_close show __show hide __hide set_callbacks ok_pressed cancel_pressed







by

methods
phpide_Dialog_Generic  $glade_file $use_emulator





 
ignore_close 





 
show  $message





 
__show  $message





 
hide 





 
__hide 





 
set_callbacks  $ok $cancel





 
ok_pressed 





 
cancel_pressed 





 


phpmole/docs/classes/phpmole_config_dialog.html0000644000175000017500000002335507464134543022177 0ustar alanalan00000000000000 PHP Class : phpmole_config_dialog
phpmole_config_dialog
Parent: phpide_Dialog_Generic
Version:

Index:

phpmole_config_dialog connect_dialogs add_config_dialog show load_prefs save_prefs set_buttoncolor set_fontname select_font fontsel_ok fontsel_cancel select_color colorsel_ok colorsel_cancel







by

methods
phpmole_config_dialog 





 
connect_dialogs 





 
add_config_dialog  $filename $title





 
show 





 
load_prefs 





 
save_prefs 





 
set_buttoncolor  $widgetname $setting





 
set_fontname  $widgetname $setting





 
select_font  $a





 
fontsel_ok 





 
fontsel_cancel 





 
select_color  $e $a





 
colorsel_ok 





 
colorsel_cancel 





 


phpmole/docs/classes/phpmole_about_dialog.html0000644000175000017500000001053207464134543022035 0ustar alanalan00000000000000 PHP Class : phpmole_about_dialog
phpmole_about_dialog
Parent: phpide_dialog_generic
Version:

Index:

phpmole_about_dialog show load_file







by

methods
phpmole_about_dialog 





 
show 





 
load_file  $widget $file





 


phpmole/docs/classes/phpide_Language.html0000644000175000017500000000556307464134543020744 0ustar alanalan00000000000000 PHP Class : phpide_Language
phpide_Language
Parent:
Version:

Index:









by

methods


phpmole/docs/classes/phpide_languages.html0000644000175000017500000002446407464134543021170 0ustar alanalan00000000000000 PHP Class : phpide_languages
phpide_languages
Parent:
Version:

Index:

phpide_languages read_function_file get_definition read_config_ini save_ini get_language_from_URL load_document parse_all parse get_suggestions get_styles get_val get_style_keys get_keywords change_language







by

methods
phpide_languages 





 
read_function_file  $lang $file





 
get_definition  $URL $function





 
read_config_ini  $filename





 
save_ini 





 
get_language_from_URL  $URL





 
load_document  $bookmarkid $URL





 
parse_all  $bookmarkid $URL





 
parse  $bookmarkid $URL $what





 
get_suggestions  $URL $word





 
get_styles  $URL $style $what





 
get_val  $URL $what





 
get_style_keys  $URL





 
get_keywords  $URL $id





 
change_language  $w $data





 


phpmole/docs/classes/language_config.html0000644000175000017500000003021607464134543020771 0ustar alanalan00000000000000 PHP Class : language_config
language_config
Parent: config_dialog_generic
Version:

Index:

language_config language_changed show_dialog callback_ok_clicked set_lexer lexer_changed unselect_style merge_font diff_font load_style extend_font_change extend_color_change set_rules load_rule rule_type_changed rule_changed new_rule del_rule unselect_rule







by

methods
language_config  $glade





 
language_changed 





 
show_dialog 





 
callback_ok_clicked 





 
set_lexer 





 
lexer_changed 





 
unselect_style 





 
merge_font  $font





 
diff_font  $font





 
load_style  $widget $row





 
extend_font_change  $key





 
extend_color_change  $key





 
set_rules 





 
load_rule  $widget $row





 
rule_type_changed  $widget $i





 
rule_changed  $widget





 
new_rule 





 
del_rule 





 
unselect_rule 





 


phpmole/docs/classes/parser_HTML.html0000644000175000017500000001654507464134544020013 0ustar alanalan00000000000000 PHP Class : parser_HTML
parser_HTML
Parent: parser_HTML_base
Version:

Index:

html_check_roots startCommentCallback commentCallback entityCallback endCommentCallback endCallback startCallback textCallback attributeCallback







by

methods
html_check_roots 





 
startCommentCallback 





 
commentCallback  $comment





 
entityCallback  $string





 
endCommentCallback 





 
endCallback 





 
startCallback  $tag





 
textCallback  $string





 
attributeCallback  $key $val





 


phpmole/docs/classes/parser_HTML_element.html0000644000175000017500000000557307464134544021523 0ustar alanalan00000000000000 PHP Class : parser_HTML_element
parser_HTML_element
Parent:
Version:

Index:









by

methods


phpmole/docs/classes/parser_HTML_base.html0000644000175000017500000003715207464134544021002 0ustar alanalan00000000000000 PHP Class : parser_HTML_base
parser_HTML_base
Parent:
Version:

Index:

pphp_linebreak startCommentCallback commentCallback endCommentCallback comment endCallback startCallback attributeCallback textCallback cdataCallback entityCallback pphp_linebreak php_parse html_parse_debug dp html_parse check_comment check_php check_endtag check_starttag check_cdata check_attribute check_attribute_value check_whitespace check_text check_text_entity







by

methods
pphp_linebreak  $c





 
startCommentCallback 





 
commentCallback  $comment





 
endCommentCallback 





 
comment 





 
endCallback 





 
startCallback  $tag





 
attributeCallback  $key $val





 
textCallback  $string





 
cdataCallback  $string





 
entityCallback  $string $c





 
pphp_linebreak  $c





 
php_parse  $c





 
html_parse_debug  $str





 
dp  $txt $var





 
html_parse 





 
check_comment  $c





 
check_php  $c





 
check_endtag  $c





 
check_starttag  $c





 
check_cdata  $c





 
check_attribute  $c





 
check_attribute_value  $c





 
check_whitespace  $c





 
check_text  $c





 
check_text_entity  $c





 


phpmole/docs/classes/parser_php.html0000644000175000017500000002732007464134543020026 0ustar alanalan00000000000000 PHP Class : parser_php
parser_php
Parent: parser_php_base
Version:

Index:

pphp_linebreak pphp_error pphp_function pphp_string pphp_variable pphp_numeric pphp_beginblock pphp_endblock pphp_beginfunctionvars pphp_endfunctionvars pphp_comment pphp_endstatement pphp_colon pphp_beginarray pphp_endarray pphp_comma pphp_operator pphp_unknown







by

methods
pphp_linebreak  $c





 
pphp_error  $string





 
pphp_function  $string





 
pphp_string  $string





 
pphp_variable  $string





 
pphp_numeric  $string





 
pphp_beginblock 





 
pphp_endblock 





 
pphp_beginfunctionvars 





 
pphp_endfunctionvars 





 
pphp_comment  $string





 
pphp_endstatement 





 
pphp_colon 





 
pphp_beginarray 





 
pphp_endarray 





 
pphp_comma 





 
pphp_operator  $string





 
pphp_unknown  $string





 


phpmole/docs/classes/parser_php_base.html0000644000175000017500000003526307464134544021026 0ustar alanalan00000000000000 PHP Class : parser_php_base
parser_php_base
Parent: parser_HTML
Version:

Index:

pphp_comma pphp_beginblock pphp_endblock pphp_beginfunctionvars pphp_endfunctionvars pphp_beginarray pphp_endarray pphp_endstatement pphp_colon pphp_hide_error pphp_by_reference pphp_linebreak pphp_numeric pphp_string pphp_function pphp_variable pphp_comment pphp_operator pphp_unknown php_parse_alphanumeric php_parse_numeric php_parse_operator strcmp2 php_parse







by

methods
pphp_comma 





 
pphp_beginblock 





 
pphp_endblock 





 
pphp_beginfunctionvars 





 
pphp_endfunctionvars 





 
pphp_beginarray 





 
pphp_endarray 





 
pphp_endstatement 





 
pphp_colon 





 
pphp_hide_error 





 
pphp_by_reference 





 
pphp_linebreak  $c





 
pphp_numeric  $s





 
pphp_string  $s





 
pphp_function  $s





 
pphp_variable  $s





 
pphp_comment  $s





 
pphp_operator  $s





 
pphp_unknown  $s





 
php_parse_alphanumeric  $char





 
php_parse_numeric  $char





 
php_parse_operator  $char





 
strcmp2  $c $a $b





 
php_parse  $c





 


phpmole/docs/classes/phpide_parser_HTML.html0000644000175000017500000000652307464134543021336 0ustar alanalan00000000000000 PHP Class : phpide_parser_HTML
phpide_parser_HTML
Parent: parser_php
Version:

Index:

parse







by

methods
parse 





 


phpmole/docs/classes/html_generator_base.html0000644000175000017500000001427307464134543021672 0ustar alanalan00000000000000 PHP Class : html_generator_base
html_generator_base
Parent:
Version:

Index:

start out __out out_tag_start out_children out_tag_end override_img







by

methods
start 





 
out  $i





 
__out  $i $no_tail





 
out_tag_start  $i





 
out_children  $array





 
out_tag_end  $tag





 
override_img  $i





 


phpmole/docs/classes/parser_XML_element.html0000644000175000017500000000557107464134543021414 0ustar alanalan00000000000000 PHP Class : parser_XML_element
parser_XML_element
Parent:
Version:

Index:









by

methods


phpmole/docs/classes/parser_XML.html0000644000175000017500000002447207464134543017704 0ustar alanalan00000000000000 PHP Class : parser_XML
parser_XML
Parent: parser_HTML_base
Version:

Index:

html_check_roots startCommentCallback commentCallback endCommentCallback endCallback startCallback textCallback cdataCallback entityCallback attributeCallback find expat_startCallback expat_endCallback expat_cdata expat_parse







by

methods
html_check_roots 





 
startCommentCallback 





 
commentCallback  $comment





 
endCommentCallback 





 
endCallback 





 
startCallback  $tag





 
textCallback  $string





 
cdataCallback  $string





 
entityCallback  $string





 
attributeCallback  $key $val





 
find  $start $tag





 
expat_startCallback  $p $tag $attributes





 
expat_endCallback  $p $tag





 
expat_cdata  $p $text





 
expat_parse 





 


phpmole/docs/classes/phpide_parser_XML.html0000644000175000017500000000652107464134543021230 0ustar alanalan00000000000000 PHP Class : phpide_parser_XML
phpide_parser_XML
Parent: parser_XML
Version:

Index:

parse







by

methods
parse 





 


phpmole/docs/classes/XML_generator.html0000644000175000017500000001051407464134543020366 0ustar alanalan00000000000000 PHP Class : XML_generator
XML_generator
Parent: HTML_generator_base
Version:

Index:

out out_tag_start_closed out_tag_end







by

methods
out  $i





 
out_tag_start_closed  $i





 
out_tag_end  $tag





 


phpmole/docs/classes/phpmole_midgard_reciever.html0000644000175000017500000002536607464134543022712 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_reciever
phpmole_midgard_reciever
Parent:
Version:

Index:

rdf_tree_types output_object rdf_get_object rdf_tree rdf_attachments rdf_filtered_tree update_membership update_members update_parameters check_calender output_header output_footer process_request auth re_auth start







by

methods
rdf_tree_types  $id





 
output_object  $obj $is_single





 
rdf_get_object  $type $id





 
rdf_tree  $id $functions





 
rdf_attachments  $object





 
rdf_filtered_tree  $id $functions $all





 
update_membership  $id $array





 
update_members  $id $array





 
update_parameters  $object $array





 
check_calender  $new





 
output_header 





 
output_footer 





 
process_request 





 
auth 





 
re_auth  $sitegroup





 
start 





 


phpmole/docs/classes/phpide_modules.html0000644000175000017500000002470607464134543020671 0ustar alanalan00000000000000 PHP Class : phpide_modules
phpide_modules
Parent:
Version:

Index:

phpide_modules load load_document pre_close_document close_option_dialog callback_save_and_close_document callback_force_close_document get_active_document get_active_editor send_to_editor broadcast broadcast_get send_module get_editor_modules menu_emit







by

methods
phpide_modules 





 
load 





 
load_document  $bookmarkid $URL $force





 
pre_close_document 





 
close_option_dialog  $bookmarkid $URL





 
callback_save_and_close_document 





 
callback_force_close_document 





 
get_active_document 





 
get_active_editor 


/* get active editor


 
send_to_editor  $method $args





 
broadcast  $method $args





 
broadcast_get  $method $args





 
send_module  $module $method $args





 
get_editor_modules 





 
menu_emit  $signal





 


phpmole/docs/classes/phpmole_editor_module.html0000644000175000017500000001161107464134543022236 0ustar alanalan00000000000000 PHP Class : phpmole_editor_module
phpmole_editor_module
Parent:
Version:

Index:

check_class init pre_load_document module_init







by

methods
check_class 


Does php have the nessesary modules compiled in - eg scintilla etc.


 
init 


initialization -


 
pre_load_document  $URL


initialization -


 
module_init 





 


phpmole/docs/classes/module_bookmark_browser.html0000644000175000017500000003743507464134543022610 0ustar alanalan00000000000000 PHP Class : module_bookmark_browser
module_bookmark_browser
Parent: bookmark_management
Version:

Index:

module_bookmark_browser init _insert_node prepare_pixmaps expand_tree delete_node create_new collapse select_row expand_node get_list_of_bookmarks_with_URL get_bookmark_from_url document_deleted delete_bookmark change_title user_move_node event popup build_popup menu_emit popup_callback drop_recieved on_paste copy_action copy_files load_document







by

methods
module_bookmark_browser 





 
init 





 
_insert_node  $nodedata





 
prepare_pixmaps 





 
expand_tree  $node





 
delete_node  $bookmarkid $url





 
create_new  $bookmarkid $URL $nodeline





 
collapse  $node





 
select_row  $node





 
expand_node  $bookmarkid $URL





 
get_list_of_bookmarks_with_URL  $URL





 
get_bookmark_from_url  $URL





 
document_deleted  $bookmarkid $URL





 
delete_bookmark  $bookmarkid $url





 
change_title  $bookmarkid $URL $new_title





 
user_move_node  $node $new_parent $new_sibling





 
event  $event $a $b





 
popup 





 
build_popup  $popuptype





 
menu_emit  $value





 
popup_callback  $a $menu $b





 
drop_recieved  $widget $context $x $y $data $info $time $extra





 
on_paste 





 
copy_action  $data $nodedata





 
copy_files 





 
load_document  $bookmarkid $URL





 


phpmole/docs/classes/module_bookmark_browser_popup_menu.html0000644000175000017500000000747307464134543025056 0ustar alanalan00000000000000 PHP Class : module_bookmark_browser_popup_menu
module_bookmark_browser_popup_menu
Parent:
Version:

Index:

popup test







by

methods
popup  $URL





 
test 





 


phpmole/docs/classes/module_bookmark_editor.html0000644000175000017500000001542107464134543022402 0ustar alanalan00000000000000 PHP Class : module_bookmark_editor
module_bookmark_editor
Parent: phpide_Dialog_Generic
Version:

Index:

module_bookmark_editor load_combo menu_emit show load_bookmark pulldown_changed save_keys blank_notebook







by

methods
module_bookmark_editor 





 
load_combo 





 
menu_emit  $signal





 
show  $URL $isnew





 
load_bookmark 





 
pulldown_changed 





 
save_keys 





 
blank_notebook 





 


phpmole/docs/classes/phpide_Popup_Menu.html0000644000175000017500000000742707464134543021311 0ustar alanalan00000000000000 PHP Class : phpide_Popup_Menu
phpide_Popup_Menu
Parent:
Version:

Index:

build popup







by

methods
build 





 
popup 





 


phpmole/docs/classes/bookmark_management.html0000644000175000017500000001155607464134543021670 0ustar alanalan00000000000000 PHP Class : bookmark_management
bookmark_management
Parent:
Version:

Index:

_insert_node create_bookmarks create_bookmark editor_ok_pressed







by

methods
_insert_node 





 
create_bookmarks 





 
create_bookmark  $i $make_current





 
editor_ok_pressed 





 


phpmole/docs/classes/module_class_browser.html0000644000175000017500000002171307464134543022100 0ustar alanalan00000000000000 PHP Class : module_class_browser
module_class_browser
Parent:
Version:

Index:

module_class_browser _insert_node change_notebook load_document set_language show_deptree show_tree delete_subtree document_deleted close_document add_definition select_row







by

methods
module_class_browser 





 
_insert_node  $bookmarkid $parentname $siblingarray $URL $typename $desc $isfolder





 
change_notebook 





 
load_document  $bookmarkid $URL





 
set_language  $bookmarkid $URL





 
show_deptree  $bookmarkid $URL





 
show_tree  $bookmarkid $URL $id





 
delete_subtree  $bookmarkid $URL





 
document_deleted  $bookmarkid $URL





 
close_document  $bookmarkid $URL





 
add_definition  $bookmarkid $URL $defname





 
select_row  $node





 


phpmole/docs/classes/module_help_browser.html0000644000175000017500000002435207464134543021725 0ustar alanalan00000000000000 PHP Class : module_help_browser
module_help_browser
Parent:
Version:

Index:

module_help_browser init init_xml init_dba init_dba_book dba_add_node show_book expand_tree dba_expand_tree xml_expand_tree add_book_page book_has_children select_row dba_select_row xml_select_row







by

methods
module_help_browser 





 
init 





 
init_xml 





 
init_dba 





 
init_dba_book  $file





 
dba_add_node  $parent $name $has_children $store $ident





 
show_book  $name $bookinfo





 
expand_tree  $node





 
dba_expand_tree  $node





 
xml_expand_tree  $node





 
add_book_page  $book $parent $id





 
book_has_children  $book $id





 
select_row  $node





 
dba_select_row  $node





 
xml_select_row  $node





 


phpmole/docs/classes/help_viewer_html.html0000644000175000017500000004362207464134543021223 0ustar alanalan00000000000000 PHP Class : help_viewer_html
help_viewer_html
Parent:
Version:

Index:

gtkhtml_init callback_resize callback_redraw callback_slow callback_title_changed callback_goto_url callback_back callback_forward callback_reload callback_stop load_done on_set_base redirect_timer_event on_redirect on_submit on_url on_link_clicked url_requested gtkhtml_write parse_href goto_url callback_submit link_clicked linkurl_to_url callback_url_request url_requested curl_read curl_header gtkhtml_begin gtkhtml_end







by

methods
gtkhtml_init 





 
callback_resize  $obj $data





 
callback_redraw  $obj $data





 
callback_slow  $obj $data





 
callback_title_changed  $obj $title





 
callback_goto_url  $text_entry $d





 
callback_back  $w $d





 
callback_forward  $w $d





 
callback_reload  $w $d





 
callback_stop  $w $d





 
load_done  $gtkhtml





 
on_set_base  $gtkhtml $url $data





 
redirect_timer_event  $data





 
on_redirect  $gtkhtml $url $delay $data





 
on_submit  $gtkhtml $method $action $encoding $data





 
on_url  $gtkhtml $url $data





 
on_link_clicked  $gtkhtml $url $data





 
url_requested  $gthktml $url $stream $data





 
gtkhtml_write  $stream $string $len





 
parse_href  $s





 
goto_url  $url $is_back_or_forward





 
callback_submit  $obj $type $url $data





 
link_clicked  $obj $url





 
linkurl_to_url  $URL





 
callback_url_request  $URL $stream





 
url_requested  $stream $URLrequest $type $data





 
curl_read  $ch $string $len





 
curl_header  $ch $string





 
gtkhtml_begin  $url





 
gtkhtml_end  $url





 


phpmole/docs/classes/module_help_viewer.html0000644000175000017500000002641207464134544021543 0ustar alanalan00000000000000 PHP Class : module_help_viewer
module_help_viewer
Parent:
Version:

Index:

module_help_viewer menu_emit callback_submit link_clicked show_help linkurl_to_url callback_url_request url_requested curl_get curl_read curl_header set_url callback_back callback_forward callback_urledit callback_refresh throbber







by

methods
module_help_viewer 





 
menu_emit  $str





 
callback_submit  $obj $type $url $data





 
link_clicked  $obj $url





 
show_help  $helpfile





 
linkurl_to_url  $URL





 
callback_url_request  $URL $stream





 
url_requested  $stream $URLrequest $type $data





 
curl_get  $url $stream $type $data





 
curl_read  $ch $string





 
curl_header  $ch $string





 
set_url  $url





 
callback_back 





 
callback_forward 





 
callback_urledit  $obj $event





 
callback_refresh 





 
throbber 





 


phpmole/docs/classes/module_html.html0000644000175000017500000003000107464134544020163 0ustar alanalan00000000000000 PHP Class : module_html
module_html
Parent:
Version:

Index:

module_html get_modify pre_load_document load_document load_from_data save_to_data document_deleted close_document callback_focus show_hide_toolbox callback_update_toolbox_event callback_paragraph_style_text callback_indent callback_unindent callback_link_text callback_font_style_text update_toolbox init_vars







by

methods
module_html 





 
get_modify  $bookmarkid $URL





 
pre_load_document  $bookmarkid $URL





 
load_document  $bookmarkid $URL





 
load_from_data  $URL





 
save_to_data  $URL





 
document_deleted  $bookmarkid $URL





 
close_document  $bookmarkid $URL





 
callback_focus  $object $url





 
show_hide_toolbox  $w $URL





 
callback_update_toolbox_event  $h $e $URL





 
callback_paragraph_style_text  $h $URL





 
callback_indent  $h $URL





 
callback_unindent  $h $URL





 
callback_link_text  $h $URL





 
callback_font_style_text  $h $URL





 
update_toolbox  $URL





 
init_vars 





 


phpmole/docs/classes/html_image_browser.html0000644000175000017500000001432207464134544021533 0ustar alanalan00000000000000 PHP Class : html_image_browser
html_image_browser
Parent:
Version:

Index:

html_image_browser show load_images loadhtml url_request on_url event







by

methods
html_image_browser 





 
show 





 
load_images  $imagearray





 
loadhtml  $html





 
url_request  $url $stream





 
on_url  $w $url





 
event  $w $event





 


phpmole/docs/classes/gtkhtml_generator.html0000644000175000017500000001251607464134544021405 0ustar alanalan00000000000000 PHP Class : gtkhtml_generator
gtkhtml_generator
Parent: html_generator_base
Version:

Index:

override_comment override_php override_body override_html override_br







by

methods
override_comment  $i





 
override_php  $i





 
override_body  $i





 
override_html  $i





 
override_br  $i





 


phpmole/docs/classes/html_editor.html0000644000175000017500000002060307464134544020173 0ustar alanalan00000000000000 PHP Class : html_editor
html_editor
Parent:
Version:

Index:

module_html pre_load_document load_document close_document load_from_data save_to_data save_to_data_callback reverse_tags preparse_data url_request drop_recieved







by

methods
module_html 





 
pre_load_document  $bookmarkid $URL





 
load_document  $bookmarkid $URL





 
close_document  $bookmarkid $URL





 
load_from_data  $URL





 
save_to_data  $URL





 
save_to_data_callback  $data





 
reverse_tags  $data





 
preparse_data  $URL





 
url_request  $URL $stream $URLar





 
drop_recieved  $widget $context $x $y $data $info $time $extra





 


phpmole/docs/classes/module_notebook_editor.html0000644000175000017500000003231007464134544022412 0ustar alanalan00000000000000 PHP Class : module_notebook_editor
module_notebook_editor
Parent:
Version:

Index:

module_notebook_editor get_window_title get_bookmark_id get_bookmark pre_load_document load_document get_active_document get_active_editor get_all_documents post_load_document get_current_editor document_deleted close_document post_close_document focus_notebook_tab pre_editor_switch save_to_data_active_document editor_switch callback_pre_notebook_switch callback_notebook_switch







by

methods
module_notebook_editor 





 
get_window_title  $URL





 
get_bookmark_id  $URL





 
get_bookmark  $URL





 
pre_load_document  $bookmarkid $URL





 
load_document  $bookmarkid $URL $ignore_prefs





 
get_active_document 





 
get_active_editor 





 
get_all_documents 





 
post_load_document  $bookmarkid $URL





 
get_current_editor 





 
document_deleted  $bookmarkid $URL





 
close_document  $bookmarkid $URL





 
post_close_document  $bookmarkid $URL





 
focus_notebook_tab  $w





 
pre_editor_switch  $notebook $null_a $null_b $URL





 
save_to_data_active_document 





 
editor_switch  $notebook $null_a $null_b $URL





 
callback_pre_notebook_switch  $notebook





 
callback_notebook_switch  $notebook





 


phpmole/docs/classes/module_scintilla.html0000644000175000017500000007035107464134544021215 0ustar alanalan00000000000000 PHP Class : module_scintilla
module_scintilla
Parent:
Version:

Index:

module_scintilla menu_emit get_current_word char_added complete_word_activate focus_lost auto_indent is_brace highlight_braces merge_font setup_braces_style setup_default_style setup_caret_style setup_line_numbers_style digits_width setup_line_numbers_digits set_font set_fore set_back set_language check_modified update_label get_active_document get_modify pre_load_document load_document load_from_data save_document save_to_data post_save_document document_deleted close_document find_activate find_again_activate search_ok_pressed replace_activate replace_ok_pressed search replace replace_multi get_def_from_line show_method add_folding margin_click expand collapse_from collapse_all remove_folds scintilla_config prefs_ok_pressed configuration_changed







by

methods
module_scintilla 





 
menu_emit  $signal





 
get_current_word  $n





 
char_added  $char





 
complete_word_activate  $is_key





 
focus_lost  $URL





 
auto_indent 





 
is_brace 





 
highlight_braces 





 
merge_font  $font





 
setup_braces_style 





 
setup_default_style 





 
setup_caret_style 





 
setup_line_numbers_style 





 
digits_width  $digits





 
setup_line_numbers_digits 





 
set_font  $style





 
set_fore  $style





 
set_back  $style





 
set_language  $bookmarkid $URL





 
check_modified 





 
update_label 





 
get_active_document 





 
get_modify  $bookmarkid $URL





 
pre_load_document  $bookmarkid $URL





 
load_document  $bookmarkid $URL





 
load_from_data  $URL





 
save_document  $bookmarkid $URL





 
save_to_data  $URL





 
post_save_document  $bookmarkid $URL





 
document_deleted  $bookmarkid $URL





 
close_document  $bookmarkid $URL





 
find_activate 





 
find_again_activate 





 
search_ok_pressed  $text





 
replace_activate 





 
replace_ok_pressed 





 
search  $what $match_case $whole_words $word_start $regex $backwards





 
replace  $what $with $match_case $whole_words $word_start $regex $backwards





 
replace_multi  $find_text $replace_text $all





 
get_def_from_line  $line





 
show_method  $boomarkid $URL $name





 
add_folding 





 
margin_click  $a $b $c





 
expand  $line





 
collapse_from  $line





 
collapse_all  $begin $end $level





 
remove_folds 





 
scintilla_config 





 
prefs_ok_pressed 





 
configuration_changed 





 


phpmole/docs/classes/scintilla_editor.html0000644000175000017500000006323307464134544021217 0ustar alanalan00000000000000 PHP Class : scintilla_editor
scintilla_editor
Parent:
Version:

Index:

pre_load_document load_document load_from_data save_document save_to_data post_save_document document_deleted close_document configuration_changed get_current_word char_added complete_word_activate focus_lost auto_indent insert_text is_brace highlight_braces toggle_line_breaks toggle_white_space popup_check merge_font setup_braces_style setup_default_style setup_caret_style setup_line_numbers_style digits_width setup_line_numbers_digits set_font set_fore set_back set_language get_modify goto_line search replace replace_multi comment_text uncomment_text get_def_from_line show_method add_folding margin_click expand collapse_from collapse_all remove_folds







by

methods
pre_load_document  $bookmarkid $URL





 
load_document  $bookmarkid $URL





 
load_from_data 





 
save_document  $bookmarkid $URL





 
save_to_data 





 
post_save_document  $bookmarkid $URL





 
document_deleted  $bookmarkid $URL





 
close_document  $bookmarkid $URL





 
configuration_changed 





 
get_current_word  $n





 
char_added  $char





 
complete_word_activate  $is_key





 
focus_lost 





 
auto_indent 





 
insert_text  $text





 
is_brace 





 
highlight_braces 





 
toggle_line_breaks 





 
toggle_white_space 





 
popup_check  $event





 
merge_font  $font





 
setup_braces_style 





 
setup_default_style 





 
setup_caret_style 





 
setup_line_numbers_style 





 
digits_width  $digits





 
setup_line_numbers_digits 





 
set_font  $style





 
set_fore  $style





 
set_back  $style





 
set_language 





 
get_modify 





 
goto_line  $line





 
search  $what $match_case $whole_words $word_start $regex $backwards





 
replace  $what $with $match_case $whole_words $word_start $regex $backwards





 
replace_multi  $find_text $replace_text $all





 
comment_text 





 
uncomment_text 





 
get_def_from_line  $line





 
show_method  $boomarkid $URL $name





 
add_folding 





 
margin_click  $a $b $c





 
expand  $line





 
collapse_from  $line





 
collapse_all  $begin $end $level





 
remove_folds 





 


phpmole/docs/classes/scintilla_replace_dialog.html0000644000175000017500000001247107464134544022661 0ustar alanalan00000000000000 PHP Class : scintilla_replace_dialog
scintilla_replace_dialog
Parent:
Version:

Index:

scintilla_replace_dialog search_keypress replace_keypress show close







by

methods
scintilla_replace_dialog 





 
search_keypress  $e





 
replace_keypress  $e





 
show 





 
close 





 


phpmole/docs/classes/scintilla_search_dialog.html0000644000175000017500000001235307464134544022512 0ustar alanalan00000000000000 PHP Class : scintilla_search_dialog
scintilla_search_dialog
Parent:
Version:

Index:

scintilla_search_dialog keypress show close search







by

methods
scintilla_search_dialog 





 
keypress  $e





 
show 





 
close 





 
search 





 


phpmole/docs/classes/module_directory_viewer.html0000644000175000017500000004477107464134544022627 0ustar alanalan00000000000000 PHP Class : module_directory_viewer
module_directory_viewer
Parent:
Version:

Index:

module_directory_viewer destroy_drawing_area make_drawing_area sort_column drawing_area_configure_event drawing_area_redraw_event browse_document add_node display_icon display_thumbnail show_image menu_emit drag_begin drag_end select_row unselect_row dnd_drag_data_get callback_delete_button callback_really_delete callback_rotate_left callback_rotate_right rotate_left_url rotate_right_url callback_create_thumbnails thumbnail create_thumbnail rotate foreach_image set_row_data find_row_from_data jump_to







by

methods
module_directory_viewer 





 
destroy_drawing_area 





 
make_drawing_area  $x $y





 
sort_column  $clist $column





 
drawing_area_configure_event  $widget $event





 
drawing_area_redraw_event  $widget $event





 
browse_document  $bookmarkid $URL





 
add_node  $item





 
display_icon  $URL $icon





 
display_thumbnail  $url $force





 
show_image  $url





 
menu_emit  $v





 
drag_begin 





 
drag_end 





 
select_row  $widget $row $col $event





 
unselect_row  $widget $row $col $event





 
dnd_drag_data_get  $widget $context $selection_data $info $time





 
callback_delete_button  $a $b $c





 
callback_really_delete 





 
callback_rotate_left 





 
callback_rotate_right 





 
rotate_left_url  $URL





 
rotate_right_url  $URL





 
callback_create_thumbnails 





 
thumbnail  $URL





 
create_thumbnail  $URL $size





 
rotate  $URL $deg





 
foreach_image  $convert_method





 
set_row_data  $row $url





 
find_row_from_data  $url





 
jump_to  $url





 


phpmole/docs/classes/phpmole_image.html0000644000175000017500000001613707464134544020476 0ustar alanalan00000000000000 PHP Class : phpmole_image
phpmole_image
Parent:
Version:

Index:

load type_from_filename get_size destroy resize rotate load_image save_image free_all







by

methods
load  $filename $type





 
type_from_filename  $title





 
get_size 





 
destroy 





 
resize 





 
rotate  $deg





 
load_image 





 
save_image 





 
free_all 





 


phpmole/docs/classes/module_midgard_wizard.html0000644000175000017500000001047107464134544022217 0ustar alanalan00000000000000 PHP Class : module_midgard_wizard
module_midgard_wizard
Parent:
Version:

Index:

curl contains attempt_install







by

methods
curl  $URL $postvars





 
contains  $string





 
attempt_install 





 


phpmole/docs/classes/module_text_editor.html0000644000175000017500000001360507464134544021564 0ustar alanalan00000000000000 PHP Class : module_text_editor
module_text_editor
Parent:
Version:

Index:

pre_load_document load_document close_document load_from_data save_to_data callback_focus







by

methods
pre_load_document  $bookmarkid $URL





 
load_document  $bookmarkid $URL





 
close_document  $bookmarkid $URL





 
load_from_data  $URL





 
save_to_data  $URL





 
callback_focus  $object $url





 


phpmole/docs/classes/text_editor.html0000644000175000017500000001235707464134544020222 0ustar alanalan00000000000000 PHP Class : text_editor
text_editor
Parent:
Version:

Index:

text_editor grab_focus load_from_data save_to_data destroy







by

methods
text_editor 





 
grab_focus 





 
load_from_data 





 
save_to_data 





 
destroy 





 


phpmole/docs/classes/module_cache_manager.html0000644000175000017500000002214607464134544021767 0ustar alanalan00000000000000 PHP Class : module_cache_manager
module_cache_manager
Parent:
Version:

Index:

module_cache_manager create_temp find_url create set_value get_value set_value_by_url get_value_by_url remove_by_URL remove clean save load







by

methods
module_cache_manager 





 
create_temp  $suffix





 
find_url  $URL





 
create  $URL





 
set_value  $tmp $key $value





 
get_value  $tmp $key





 
set_value_by_url  $URL $key $value





 
get_value_by_url  $URL $key





 
remove_by_URL  $URL





 
remove  $tmp





 
clean 





 
save 





 
load 





 


phpmole/docs/classes/module_phpdict.html0000644000175000017500000001165107464134544020664 0ustar alanalan00000000000000 PHP Class : module_phpdict
module_phpdict
Parent:
Version:

Index:

module_phpdict on_search_button_clicked on_word_search_activate on_aboutitem_activate







by

methods
module_phpdict 





 
on_search_button_clicked 





 
on_word_search_activate 





 
on_aboutitem_activate 





 


phpmole/docs/classes/DictBase.html0000644000175000017500000002000507464134544017333 0ustar alanalan00000000000000 PHP Class : DictBase
DictBase
Parent:
Version:

Index:

DictBase set get parse_code is_valid_code is_error_code print_code connect close read_data in_array







by

methods
DictBase 





 
set  $var $val





 
get  $var





 
parse_code  $str





 
is_valid_code 





 
is_error_code 





 
print_code 





 
connect 





 
close 





 
read_data 





 
in_array  $element $arr





 


phpmole/docs/classes/DictServerInfo.html0000644000175000017500000001335007464134544020550 0ustar alanalan00000000000000 PHP Class : DictServerInfo
DictServerInfo
Parent: DictBase
Version:

Index:

DictServerInfo init show store get_dbs_info get_info







by

methods
DictServerInfo  $host $port $extended





 
init  $host $port $extended





 
show  $str





 
store  $str $data





 
get_dbs_info 





 
get_info  $str





 


phpmole/docs/classes/DictQuery.html0000644000175000017500000001427607464134544017603 0ustar alanalan00000000000000 PHP Class : DictQuery
DictQuery
Parent: DictBase
Version:

Index:

DictQuery init search define match is_method clear_results







by

methods
DictQuery  $host $port





 
init  $host $port





 
search  $term $method $db





 
define  $term $db





 
match  $term $method $db





 
is_method  $method





 
clear_results 





 


phpmole/docs/classes/module_db_editor.html0000644000175000017500000001771207464134544021170 0ustar alanalan00000000000000 PHP Class : module_db_editor
module_db_editor
Parent:
Version:

Index:

module_db_editor pre_load_document load_document close_document load_from_data callback_clist_click_column callback_realize callback_scrolled load_data save_to_data







by

methods
module_db_editor 





 
pre_load_document  $bookmarkid $URL





 
load_document  $bookmarkid $URL





 
close_document  $bookmarkid $URL





 
load_from_data  $URL





 
callback_clist_click_column  $clist $column $URL





 
callback_realize  $gtkscrolled $event $URL





 
callback_scrolled  $adjustment $URL





 
load_data  $URL





 
save_to_data  $URL





 


phpmole/docs/classes/execute_options.html0000644000175000017500000001140007464134544021071 0ustar alanalan00000000000000 PHP Class : execute_options
execute_options
Parent: phpide_Dialog_Generic
Version:

Index:

execute_options show run callback_btn







by

methods
execute_options 





 
show 





 
run 





 
callback_btn 





 


phpmole/docs/classes/module_simple_debugger.html0000644000175000017500000002372707464134544022375 0ustar alanalan00000000000000 PHP Class : module_simple_debugger
module_simple_debugger
Parent:
Version:

Index:

module_simple_debugger menu_emit line_selected filter_changed clear_list run start_server exec load_actions callback_config_select_row config_freeze_selection callback_config_action_type_changed callback_config_action_changed callback_config_action_delete







by

methods
module_simple_debugger 





 
menu_emit  $signal





 
line_selected  $obj $row





 
filter_changed 





 
clear_list 





 
run 





 
start_server 





 
exec  $what





 
load_actions 





 
callback_config_select_row  $widget $row





 
config_freeze_selection 





 
callback_config_action_type_changed  $widget





 
callback_config_action_changed  $widget





 
callback_config_action_delete  $widget





 


phpmole/docs/classes/simple_debugger_client.html0000644000175000017500000001151107464134544022352 0ustar alanalan00000000000000 PHP Class : simple_debugger_client
simple_debugger_client
Parent:
Version:

Index:

start start_client try_connect_again start_request







by

methods
start  $what





 
start_client  $what





 
try_connect_again  $what





 
start_request  $what





 


phpmole/docs/classes/simple_debugger_server.html0000644000175000017500000001051007464134544022400 0ustar alanalan00000000000000 PHP Class : simple_debugger_server
simple_debugger_server
Parent: socket_server
Version:

Index:

listener data_recieved add_line







by

methods
listener 





 
data_recieved  $line $i





 
add_line  $line





 


phpmole/docs/classes/socket_server.html0000644000175000017500000002024207464134544020536 0ustar alanalan00000000000000 PHP Class : socket_server
socket_server
Parent:
Version:

Index:

start stop start_try_again start_listening listener accept_new_connections answer_children read_child data_recieved close_connection debug







by

methods
start 





 
stop 





 
start_try_again  $e





 
start_listening 





 
listener 





 
accept_new_connections 





 
answer_children 





 
read_child  $i





 
data_recieved  $buf $i





 
close_connection  $i





 
debug  $string





 


phpmole/docs/classes/module_xml_tree_editor.html0000644000175000017500000001773107464134544022423 0ustar alanalan00000000000000 PHP Class : module_xml_tree_editor
module_xml_tree_editor
Parent:
Version:

Index:

module_xml_tree_editor pre_load_document load_document close_document load_from_data show_tree callback_event save_to_data callback_row_selected write_back_to_xml







by

methods
module_xml_tree_editor 





 
pre_load_document  $bookmarkid $URL





 
load_document  $bookmarkid $URL





 
close_document  $bookmarkid $URL





 
load_from_data  $URL





 
show_tree  $URL $id





 
callback_event  $a $b $c $d $e





 
save_to_data  $URL





 
callback_row_selected  $gtktree $row $col $event $URL





 
write_back_to_xml  $URL $string $id





 


phpmole/docs/classes/module_midgard.html0000644000175000017500000004201307464134544020634 0ustar alanalan00000000000000 PHP Class : module_midgard
module_midgard
Parent:
Version:

Index:

pre_load_document load_document close_document load_from_data post_save_document load_values connect_thumbnail drawing_area_configure_event drawing_area_redraw_event display_thumbnail create_thumbnail callback_clist_unselect_row callback_clist_select_row get_realval build_menu build_combo build_clist combo_select pulldown_select callback_text_changed callback_textbox_changed callback_checkbox_toggle callback_calender_changed load_parameters parameter_changed parameter_edit_unselect parameter_edit







by

methods
pre_load_document  $bookmarkid $URL





 
load_document  $bookmarkid $URL





 
close_document  $bookmarkid $URL





 
load_from_data  $URL





 
post_save_document  $bookmarkid $URL





 
load_values 





 
connect_thumbnail  $url $widget





 
drawing_area_configure_event  $widget $event $url





 
drawing_area_redraw_event  $widget $event $url





 
display_thumbnail  $bookmarkid $url $widget





 
create_thumbnail  $URL $size





 
callback_clist_unselect_row  $widget $row $col $event $URL $key





 
callback_clist_select_row  $widget $row $col $event $URL $key





 
get_realval  $type $value $widget





 
build_menu  $type $key $value $nodes





 
build_combo  $type $key $value $nodes





 
build_clist  $type $key $value $nodes





 
combo_select  $list $listitem $URL $key





 
pulldown_select  $widget $URL $key $value





 
callback_text_changed  $widget $URL $key





 
callback_textbox_changed  $widget $URL $key





 
callback_checkbox_toggle  $widget $URL $key





 
callback_calender_changed  $widget $URL $key





 
load_parameters 





 
parameter_changed  $widget $name $URL





 
parameter_edit_unselect  $clist $row $col $e $URL





 
parameter_edit  $clist $row $col $e $URL





 


phpmole/docs/classes/phpglade.html0000644000175000017500000002122307464134544017444 0ustar alanalan00000000000000 PHP Class : phpglade
phpglade
Parent:
Version:

Index:

phpglade signal_connect signal_autoconnect parse startElement endElement characterData add_node build build_new bind_children build_set







by

methods
phpglade  $file





 
signal_connect  $handle $callback





 
signal_autoconnect 





 
parse 





 
startElement  $parser $name $attrs





 
endElement  $parser $name





 
characterData  $parser $data





 
add_node  $name





 
build  $id





 
build_new  $id





 
bind_children  $id





 
build_set  $id





 


phpmole/docs/classes/module_phppresents.html0000644000175000017500000002150107464134544021577 0ustar alanalan00000000000000 PHP Class : module_phppresents
module_phppresents
Parent:
Version:

Index:

module_phppresents callback_key_press callback_forward callback_home callback_back callback_zoom_in callback_zoom_out build_slides build_from_txt show_slide build_from_main callback_url_request







by

methods
module_phppresents 





 
callback_key_press  $widget $event





 
callback_forward 





 
callback_home 





 
callback_back 





 
callback_zoom_in 





 
callback_zoom_out 





 
build_slides 





 
build_from_txt 





 
show_slide 





 
build_from_main 





 
callback_url_request  $URL $stream





 


phpmole/docs/classes/module_apd_debugger.html0000644000175000017500000001445007464134544021641 0ustar alanalan00000000000000 PHP Class : module_apd_debugger
module_apd_debugger
Parent:
Version:

Index:

module_apd_debugger debug_on_off filter_changed clear_list start_server stop_server set_widget_status







by

methods
module_apd_debugger 





 
debug_on_off  $w





 
filter_changed 





 
clear_list 





 
start_server 





 
stop_server 





 
set_widget_status  $status





 


phpmole/docs/classes/apd_debugger_listener.html0000644000175000017500000001730407464134544022202 0ustar alanalan00000000000000 PHP Class : apd_debugger_listener
apd_debugger_listener
Parent: socket_server
Version:

Index:

listener start_try_again data_recieved add_line command_changed send_command step execute_continue dump_vars debug







by

methods
listener 





 
start_try_again  $e





 
data_recieved  $line $i





 
add_line  $line





 
command_changed  $widget $event $data





 
send_command  $command





 
step 





 
execute_continue 





 
dump_vars 





 
debug  $s





 


phpmole/docs/classes/phpide_transports.html0000644000175000017500000002753207464134544021441 0ustar alanalan00000000000000 PHP Class : phpide_transports
phpide_transports
Parent:
Version:

Index:

phpide_transports get_transport_handler get_handler get_transports_editors get_types get_tree load_document get_raw get_image_info close_document save_document get_menu_type get_menu_items create_new delete_dialog add_images_dialog get set_active_data







by

methods
phpide_transports 





 
get_transport_handler  $URL





 
get_handler  $URL





 
get_transports_editors 





 
get_types 





 
get_tree  $bookmarkid $URL





 
load_document  $bookmarkid $URL $force





 
get_raw  $URL





 
get_image_info  $URL





 
close_document  $bookmarkid $URL





 
save_document  $bookmarkid $URL





 
get_menu_type  $URL





 
get_menu_items  $URL $type





 
create_new  $bookmarkid $URL $type $filename





 
delete_dialog  $bookmarkid $URL $delete_tree





 
add_images_dialog  $bookmarkid $URL





 
get  $method $bookmarkid $URL $extra





 
set_active_data  $data





 


phpmole/docs/classes/phpide_transport_imap.html0000644000175000017500000002444507464134544022264 0ustar alanalan00000000000000 PHP Class : phpide_transport_imap
phpide_transport_imap
Parent:
Version:

Index:

phpide_transport_imap load_document save_document parse_url make_url store_password get_password make_imap_url get_tree get_menu_type bookmark_edit get_keys check_data keys_to_bookmark get_menu_items







by

methods
phpide_transport_imap  $what $bookmarkid





 
load_document  $bookmarkid $what





 
save_document  $bookmarkid $what





 
parse_url 





 
make_url  $with_mbox





 
store_password 





 
get_password 





 
make_imap_url 





 
get_tree  $bookmarkid $dirURL





 
get_menu_type  $url





 
bookmark_edit  $bookmarkid $url $isnew





 
get_keys 





 
check_data  $bookmarkid $url $keys





 
keys_to_bookmark  $bookmarkid $URL $keys





 
get_menu_items  $menutype





 


phpmole/docs/classes/phpide_midgard_details_dialog.html0000644000175000017500000002356307464134544023655 0ustar alanalan00000000000000 PHP Class : phpide_midgard_details_dialog
phpide_midgard_details_dialog
Parent:
Version:

Index:

show load_members load_parameters parameter_changed parameter_edit_unselect parameter_edit load_values build_menu build_combo pulldown_select combo_select cancel_pressed ok_pressed get_realval







by

methods
show  $bookmarkid $URL $type





 
load_members 





 
load_parameters  $type





 
parameter_changed  $widget $name





 
parameter_edit_unselect  $clist $row $col





 
parameter_edit  $clist $row $col





 
load_values 





 
build_menu  $type $key $value $nodes





 
build_combo  $type $key $value $nodes





 
pulldown_select  $widget $b





 
combo_select  $list $listitem $key





 
cancel_pressed 





 
ok_pressed 





 
get_realval  $type $value $widget





 


phpmole/docs/classes/phpmole_midgard_object.html0000644000175000017500000002022507464134544022342 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_object
phpmole_midgard_object
Parent:
Version:

Index:

get_editor_items get_defs get_title get_icon_name has_children get_menu_items get_zero_list_value get_action get_editors get_id get_filter







by

methods
get_editor_items 





 
get_defs 





 
get_title 





 
get_icon_name 





 
has_children 





 
get_menu_items 





 
get_zero_list_value 





 
get_action 





 
get_editors 





 
get_id 





 
get_filter 





 


phpmole/docs/classes/phpmole_midgard_snippet.html0000644000175000017500000001250107464134544022554 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_snippet
phpmole_midgard_snippet
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs has_children get_icon_name get_menu_items







by

methods
get_editor_items 





 
get_defs 





 
has_children 





 
get_icon_name 





 
get_menu_items 





 


phpmole/docs/classes/phpmole_midgard_snippetdir.html0000644000175000017500000001153307464134544023257 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_snippetdir
phpmole_midgard_snippetdir
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs get_icon_name get_menu_items







by

methods
get_editor_items 





 
get_defs 





 
get_icon_name 





 
get_menu_items 





 


phpmole/docs/classes/phpmole_midgard_sg__snippetdir.html0000644000175000017500000000760307464134544024112 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_sg__snippetdir
phpmole_midgard_sg__snippetdir
Parent: phpmole_midgard_snippetdir
Version:

Index:

get_menu_items get_action







by

methods
get_menu_items 





 
get_action 





 


phpmole/docs/classes/phpmole_midgard_page.html0000644000175000017500000001154707464134544022017 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_page
phpmole_midgard_page
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs get_menu_items get_zero_list_value







by

methods
get_editor_items 





 
get_defs 





 
get_menu_items 





 
get_zero_list_value 





 


phpmole/docs/classes/phpmole_midgard_sg__page.html0000644000175000017500000000756307464134544022652 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_sg__page
phpmole_midgard_sg__page
Parent: phpmole_midgard_object
Version:

Index:

get_menu_items get_action







by

methods
get_menu_items 





 
get_action 





 


phpmole/docs/classes/phpmole_midgard_page_element.html0000644000175000017500000001246707464134544023532 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_page_element
phpmole_midgard_page_element
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs get_title has_children get_icon_name







by

methods
get_editor_items 





 
get_defs 





 
get_title 





 
has_children 





 
get_icon_name 





 


phpmole/docs/classes/phpmole_midgard_pageelement.html0000644000175000017500000000564707464134544023375 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_pageelement
phpmole_midgard_pageelement
Parent: phpmole_midgard_page_element
Version:

Index:









by

methods


phpmole/docs/classes/phpmole_midgard_style.html0000644000175000017500000001247107464134544022240 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_style
phpmole_midgard_style
Parent: phpmole_midgard_object
Version:

Index:

get_editors get_editor_items get_defs get_icon_name get_menu_items







by

methods
get_editors 





 
get_editor_items 





 
get_defs 





 
get_icon_name 





 
get_menu_items 





 


phpmole/docs/classes/phpmole_midgard_sg__style.html0000644000175000017500000000756407464134544023077 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_sg__style
phpmole_midgard_sg__style
Parent: phpmole_midgard_style
Version:

Index:

get_menu_items get_action







by

methods
get_menu_items 





 
get_action 





 


phpmole/docs/classes/phpmole_midgard_element.html0000644000175000017500000001344107464134544022527 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_element
phpmole_midgard_element
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs get_title has_children get_menu_items get_icon_name







by

methods
get_editor_items 





 
get_defs 





 
get_title 





 
has_children 





 
get_menu_items 





 
get_icon_name 





 


phpmole/docs/classes/phpmole_midgard_style_element.html0000644000175000017500000000564607464134544023757 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_style_element
phpmole_midgard_style_element
Parent: phpmole_midgard_element
Version:

Index:









by

methods


phpmole/docs/classes/phpmole_midgard_sg__topic.html0000644000175000017500000000756407464134544023055 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_sg__topic
phpmole_midgard_sg__topic
Parent: phpmole_midgard_topic
Version:

Index:

get_menu_items get_action







by

methods
get_menu_items 





 
get_action 





 


phpmole/docs/classes/phpmole_midgard_topic.html0000644000175000017500000001152107464134544022211 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_topic
phpmole_midgard_topic
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs get_menu_items get_icon_name







by

methods
get_editor_items 





 
get_defs 





 
get_menu_items 





 
get_icon_name 





 


phpmole/docs/classes/phpmole_midgard_article.html0000644000175000017500000001246507464134544022526 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_article
phpmole_midgard_article
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs get_title get_menu_items get_icon_name







by

methods
get_editor_items 





 
get_defs 





 
get_title 





 
get_menu_items 





 
get_icon_name 





 


phpmole/docs/classes/phpmole_midgard_person.html0000644000175000017500000001344707464134544022412 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_person
phpmole_midgard_person
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs get_icon_name has_children get_menu_items get_editors







by

methods
get_editor_items 





 
get_defs 





 
get_icon_name 





 
has_children 





 
get_menu_items 





 
get_editors 





 


phpmole/docs/classes/phpmole_midgard_group.html0000644000175000017500000001247107464134544022234 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_group
phpmole_midgard_group
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs get_menu_items get_icon_name get_editors







by

methods
get_editor_items 





 
get_defs 





 
get_menu_items 





 
get_icon_name 





 
get_editors 





 


phpmole/docs/classes/phpmole_midgard_grp.html0000644000175000017500000000562007464134544021666 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_grp
phpmole_midgard_grp
Parent: phpmole_midgard_group
Version:

Index:









by

methods


phpmole/docs/classes/phpmole_midgard_sg__group.html0000644000175000017500000000660007464134544023061 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_sg__group
phpmole_midgard_sg__group
Parent: phpmole_midgard_group
Version:

Index:

get_action







by

methods
get_action 





 


phpmole/docs/classes/phpmole_midgard_record_extension.html0000644000175000017500000001152707464134544024453 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_record_extension
phpmole_midgard_record_extension
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs has_children get_editors







by

methods
get_editor_items 





 
get_defs 





 
has_children 





 
get_editors 





 


phpmole/docs/classes/phpmole_midgard_host.html0000644000175000017500000001342707464134544022057 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_host
phpmole_midgard_host
Parent: phpmole_midgard_object
Version:

Index:

get_editor_items get_defs get_title get_icon_name get_menu_items get_editors







by

methods
get_editor_items 





 
get_defs 





 
get_title 





 
get_icon_name 





 
get_menu_items 





 
get_editors 





 


phpmole/docs/classes/phpmole_midgard_sg__hosts.html0000644000175000017500000000756307464134544023076 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_sg__hosts
phpmole_midgard_sg__hosts
Parent: phpmole_midgard_host
Version:

Index:

get_menu_items get_action







by

methods
get_menu_items 





 
get_action 





 


phpmole/docs/classes/phpmole_midgard_sitegroup.html0000644000175000017500000001344107464134544023117 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_sitegroup
phpmole_midgard_sitegroup
Parent: phpmole_midgard_object
Version:

Index:

get_defs get_icon_name get_zero_list_value get_action get_editors get_filter







by

methods
get_defs 





 
get_icon_name 





 
get_zero_list_value 





 
get_action 





 
get_editors 





 
get_filter 





 


phpmole/docs/classes/phpmole_midgard_sg__sitegroup.html0000644000175000017500000000565007464134544023752 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_sg__sitegroup
phpmole_midgard_sg__sitegroup
Parent: phpmole_midgard_sitegroup
Version:

Index:









by

methods


phpmole/docs/classes/phpmole_midgard_blobs.html0000644000175000017500000001245107464134544022177 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_blobs
phpmole_midgard_blobs
Parent: phpmole_midgard_object
Version:

Index:

get_defs get_icon_name get_menu_items get_editors has_children







by

methods
get_defs 





 
get_icon_name 





 
get_menu_items 





 
get_editors 





 
has_children 





 


phpmole/docs/classes/phpmole_midgard_attachments.html0000644000175000017500000000564007464134544023413 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_attachments
phpmole_midgard_attachments
Parent: phpmole_midgard_blobs
Version:

Index:









by

methods


phpmole/docs/classes/phpmole_midgard_xmlparse.html0000644000175000017500000001173007464134544022730 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_xmlparse
phpmole_midgard_xmlparse
Parent:
Version:

Index:

callback_start_block callback_data callback_end_block phpmole_midgard_xmlparse







by

methods
callback_start_block  $obj $args $level





 
callback_data  $obj $data





 
callback_end_block  $obj $level





 
phpmole_midgard_xmlparse  $data





 


phpmole/docs/classes/phpide_transport_mgd.html0000644000175000017500000005055507464134544022106 0ustar alanalan00000000000000 PHP Class : phpide_transport_mgd
phpide_transport_mgd
Parent: mgd_http_layer
Version:

Index:

phpide_transport_mgd mime_guess load_document __load_document get_cached_data get_raw get_link_info_from_url get_image_info get_child_image save_document parse_URL get_password store_password get_tree __get_tree get_list __get_list get_zero_list_value bookmark_edit get_keys keys_to_bookmark edit_details_dialog edit_parameters_dialog new_child_dialog create_new_empty delete_dialog delete delete_document copy get_local_file get_title check_data get_menu_type get_menu_items get_image_list







by

methods
phpide_transport_mgd  $bookmarkid $what





 
mime_guess  $name





 
load_document  $bookmarkid $what





 
__load_document 





 
get_cached_data  $get_id





 
get_raw  $what





 
get_link_info_from_url  $bookmarkid $parentURL $URL





 
get_image_info  $what





 
get_child_image  $bookmarkid $parentURL $URL





 
save_document  $bookmarkid $URL $save_details





 
parse_URL 





 
get_password 





 
store_password 





 
get_tree  $bookmarkid $dirURL $recursive





 
__get_tree 





 
get_list  $dirURL





 
__get_list 





 
get_zero_list_value  $obj





 
bookmark_edit  $bookmarkid $url $isnew





 
get_keys 





 
keys_to_bookmark  $bookmarkid $url $keys





 
edit_details_dialog  $bookmarkid $URL $type





 
edit_parameters_dialog  $bookmarkid $URL $type





 
new_child_dialog  $bookmarkid $URL $type





 
create_new_empty  $type





 
delete_dialog  $bookmarkid $URL $delete_tree





 
delete  $bookmarkid $URL $delete_tree





 
delete_document 





 
copy  $bookmarkid $URL $args





 
get_local_file  $bookmarkid $URL





 
get_title  $bookmarkid $URL





 
check_data  $bookmarkid $URL $keys





 
get_menu_type  $url





 
get_menu_items  $menutype





 
get_image_list 





 


phpmole/docs/classes/mgd_http_layer.html0000644000175000017500000001663407464134544020674 0ustar alanalan00000000000000 PHP Class : mgd_http_layer
mgd_http_layer
Parent: phpmole_midgard_xmlparse
Version:

Index:

curl_upload_headers build_url build_servername curl curl_read callback_start_block callback_data callback_end_block node_to_nodeitem







by

methods
curl_upload_headers  $URL $postarray $filename





 
build_url  $depth





 
build_servername 





 
curl  $URL $postarray $filename





 
curl_read  $ch $string





 
callback_start_block  $obj $args $level





 
callback_data  $obj $data





 
callback_end_block  $obj $level





 
node_to_nodeitem  $node





 


phpmole/docs/classes/phpmole_midgard_omphp_object.html0000644000175000017500000002024107464134544023543 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_omphp_object
phpmole_midgard_omphp_object
Parent:
Version:

Index:

get_editor_items get_defs get_title get_icon_name has_children get_menu_items get_zero_list_value get_action get_id get_editors get_filter







by

methods
get_editor_items 





 
get_defs 





 
get_title 





 
get_icon_name 





 
has_children 





 
get_menu_items 





 
get_zero_list_value 





 
get_action 





 
get_id 





 
get_editors 





 
get_filter 





 


phpmole/docs/classes/phpmole_midgard_omphp_things.html0000644000175000017500000001242107464134544023572 0ustar alanalan00000000000000 PHP Class : phpmole_midgard_omphp_things
phpmole_midgard_omphp_things
Parent: phpmole_midgard_omphp_object
Version:

Index:

get_defs get_id get_title get_menu_items get_filter







by

methods
get_defs 





 
get_id 





 
get_title 





 
get_menu_items 





 
get_filter 





 


phpmole/docs/classes/phpide_transport_file.html0000644000175000017500000003157207464134544022254 0ustar alanalan00000000000000 PHP Class : phpide_transport_file
phpide_transport_file
Parent:
Version:

Index:

load_document save_document get_tree bookmark_edit get_keys new_child_dialog create_new check_data keys_to_bookmark delete move get_menu_type get_menu_items get_local_file dirname get_title copy get_child_image get_link_info_from_url get_relative_path







by

methods
load_document  $bookmarkid $URL $force





 
save_document  $bookmarkid $what





 
get_tree  $bookmarkid $dirURL





 
bookmark_edit  $bookmarkid $url $isnew





 
get_keys 





 
new_child_dialog  $bookmarkid $URL $type





 
create_new  $bookmarkid $URL $type $filename





 
check_data  $bookmarkid $URL $keys





 
keys_to_bookmark  $bookmarkid $url $keys





 
delete  $bookmarkid $URL





 
move  $fromURL $toURL





 
get_menu_type  $url





 
get_menu_items  $menutype





 
get_local_file  $bookmarkid $URL





 
dirname  $bookmarkid $URL





 
get_title  $bookmarkid $URL





 
copy  $bookmarkid $URL $args





 
get_child_image  $bookmarkid $parentURL $URL





 
get_link_info_from_url  $bookmarkid $parentURL $URL





 
get_relative_path  $parent $child





 


phpmole/docs/classes/phpide_transport_scp.html0000644000175000017500000003421707464134544022121 0ustar alanalan00000000000000 PHP Class : phpide_transport_scp
phpide_transport_scp
Parent:
Version:

Index:

phpide_transport_scp load_document get_title save_document parse_URL pre_connect get_tree build_key get_file_list exec remote_exec get_file put_file bookmark_edit get_keys check_data new_child_dialog create_new keys_to_bookmark delete move get_menu_type get_menu_items







by

methods
phpide_transport_scp  $what $bookmarkid





 
load_document  $bookmarkid $what





 
get_title  $bookmarkid $URL





 
save_document  $bookmarkid $what





 
parse_URL  $URL





 
pre_connect  $dirURL





 
get_tree  $bookmarkid $dirURL





 
build_key 





 
get_file_list  $dir





 
exec  $command





 
remote_exec  $command





 
get_file  $file





 
put_file  $file





 
bookmark_edit  $bookmarkid $dirURL $isnew





 
get_keys 





 
check_data  $bookmarkid $URL $keys





 
new_child_dialog  $bookmarkid $URL $type





 
create_new  $bookmarkid $URL $type $filename





 
keys_to_bookmark  $bookmarkid $URL $keys





 
delete  $URL





 
move  $fromURL $toURL





 
get_menu_type  $url





 
get_menu_items  $menutype





 


phpmole/docs/classes/phpide_transport_db.html0000644000175000017500000002631507464134544021721 0ustar alanalan00000000000000 PHP Class : phpide_transport_db
phpide_transport_db
Parent:
Version:

Index:

phpide_transport_db load_document load_table order load_range get_range save_document parse_url store_password get_password get_tree get_menu_type bookmark_edit get_keys check_data keys_to_bookmark get_menu_items







by

methods
phpide_transport_db  $what $bookmarkid





 
load_document  $bookmarkid $what





 
load_table 





 
order  $col





 
load_range  $start $end





 
get_range 





 
save_document  $bookmarkid $what





 
parse_url 





 
store_password 





 
get_password 





 
get_tree  $bookmarkid $dirURL





 
get_menu_type  $URL





 
bookmark_edit  $bookmarkid $url $isnew





 
get_keys 





 
check_data  $bookmarkid $url $keys





 
keys_to_bookmark  $bookmarkid $URL $keys





 
get_menu_items  $menutype





 


phpmole/docs/classes/XML_Tree.html0000644000175000017500000002222007464134544017275 0ustar alanalan00000000000000 PHP Class : XML_Tree
XML_Tree
Parent:
Version:

Index:

XML_Tree add_child go_up goto_previous goto_parent goto_child goto_child_attribute set_attribute get_attribute unset_attribute set_name get_name dump







by

methods
XML_Tree  $name $content $attributes





 
add_child  $name $content $attributes





 
go_up 





 
goto_previous  $name





 
goto_parent  $name





 
goto_child  $name





 
goto_child_attribute  $k $v





 
set_attribute  $k $v





 
get_attribute  $k





 
unset_attribute  $k





 
set_name  $v





 
get_name 





 
dump  $pos $level





 


phpmole/docs/classes/XML_Tree_Node.html0000644000175000017500000001500707464134544020247 0ustar alanalan00000000000000 PHP Class : XML_Tree_Node
XML_Tree_Node
Parent:
Version:

Index:

XML_Tree_Node get_attribute set_attribute unset_attribute set_content _xml_entities dump







by

methods
XML_Tree_Node  $name $content $attributes
string name string content array attributes

Constructor


 
get_attribute  $name
string name

Gets an attribute by its name.


 
set_attribute  $name $value
string name string value

Sets an attribute.


 
unset_attribute  $name
string name

Unsets an attribute.


 
set_content  $content





 
_xml_entities  $xml
string xml

Escape XML entities.


 
dump 





 


phpmole/docs/classes/php_to_tree.html0000644000175000017500000003125507464134544020176 0ustar alanalan00000000000000 PHP Class : php_to_tree
php_to_tree
Parent: parser_php_base
Version:

Index:

php_to_tree pphp_comma pphp_beginblock pphp_endblock pphp_beginfunctionvars pphp_endfunctionvars pphp_beginarray pphp_endarray pphp_endstatement pphp_colon pphp_hide_error pphp_by_reference pphp_linebreak pphp_numeric pphp_string pphp_function pphp_variable pphp_comment pphp_operator pphp_unknown







by

methods
php_to_tree  $filename





 
pphp_comma 





 
pphp_beginblock 





 
pphp_endblock 





 
pphp_beginfunctionvars 





 
pphp_endfunctionvars 





 
pphp_beginarray 





 
pphp_endarray 





 
pphp_endstatement 





 
pphp_colon 





 
pphp_hide_error 





 
pphp_by_reference 





 
pphp_linebreak  $c





 
pphp_numeric  $s





 
pphp_string  $s





 
pphp_function  $s





 
pphp_variable  $s





 
pphp_comment  $s





 
pphp_operator  $s





 
pphp_unknown  $s





 


phpmole/docs/classes/pgtkhtml.html0000644000175000017500000001133507464134544017515 0ustar alanalan00000000000000 PHP Class : pgtkhtml
pgtkhtml
Parent:
Version:

Index:

pgtkhtml realize debug_echo quit







by

methods
pgtkhtml  $x_adj $y_adj





 
realize 





 
debug_echo  $v





 
quit 





 


phpmole/docs/classes/html_cursor.html0000644000175000017500000002230707464134544020225 0ustar alanalan00000000000000 PHP Class : html_cursor
html_cursor
Parent:
Version:

Index:

html_cursor toggle_cursor show_cursor press_cursor release_cursor normalize_bounds show_highlight hide_highlight delete_highlighted hide_cursor make_gc draw_cursor key_press







by

methods
html_cursor  $html





 
toggle_cursor 





 
show_cursor 





 
press_cursor  $x $y





 
release_cursor  $x $y $is_drag





 
normalize_bounds  $sx $sy $ex $ey





 
show_highlight  $x $y





 
hide_highlight 





 
delete_highlighted 





 
hide_cursor 





 
make_gc 





 
draw_cursor 





 
key_press  $key $string





 


phpmole/docs/classes/html_text.html0000644000175000017500000002577707464134544017712 0ustar alanalan00000000000000 PHP Class : html_text
html_text
Parent: html_object
Version:

Index:

make_font make_gc get_strlen html_text build paint draw cursor_pick strpos_to_x get_strpos valid_range show_highlight_all show_highlight draw_highlight remove_highlight delete_highlighted key_press







by

methods
make_font 





 
make_gc 





 
get_strlen 





 
html_text  $string





 
build 





 
paint 





 
draw 





 
cursor_pick  $x $y





 
strpos_to_x  $p





 
get_strpos  $x





 
valid_range  $sx $sy $ex $ey





 
show_highlight_all 





 
show_highlight  $s $e





 
draw_highlight 





 
remove_highlight 





 
delete_highlighted 





 
key_press  $k $s





 


phpmole/docs/classes/html_painter.html0000644000175000017500000001510107464134544020344 0ustar alanalan00000000000000 PHP Class : html_painter
html_painter
Parent:
Version:

Index:

html_painter callback_configure_event callback_expose_event callback_button_press_event callback_button_release_event check_cursor callback_key_press_event







by

methods
html_painter  $html





 
callback_configure_event  $widget $event





 
callback_expose_event  $widget $event





 
callback_button_press_event  $widget $event





 
callback_button_release_event  $widget $event





 
check_cursor 





 
callback_key_press_event  $widget $event





 


phpmole/docs/classes/html_flow.html0000644000175000017500000001431307464134544017655 0ustar alanalan00000000000000 PHP Class : html_flow
html_flow
Parent:
Version:

Index:

add_textblock add_br check_stack font_update set_font set_bold set_object







by

methods
add_textblock  $i $string





 
add_br  $i





 
check_stack  $i





 
font_update  $i $value





 
set_font  $i





 
set_bold  $i





 
set_object  $type $i





 


phpmole/docs/classes/html_parser.html0000644000175000017500000001333407464134544020204 0ustar alanalan00000000000000 PHP Class : html_parser
html_parser
Parent:
Version:

Index:

parse out out_tag_start out_children out_tag_end trim_attribute







by

methods
parse  $file





 
out  $i





 
out_tag_start  $i





 
out_children  $i





 
out_tag_end  $i $tag





 
trim_attribute  $v





 


phpmole/docs/classes/html_textblock.html0000644000175000017500000001336507464134544020713 0ustar alanalan00000000000000 PHP Class : html_textblock
html_textblock
Parent: html_object_hidden
Version:

Index:

html_textblock make_font get_strlen build make_children make_child







by

methods
html_textblock  $string





 
make_font 





 
get_strlen  $s





 
build 





 
make_children 





 
make_child  $string





 


phpmole/docs/classes/html_object.html0000644000175000017500000003015607464134544020157 0ustar alanalan00000000000000 PHP Class : html_object
html_object
Parent:
Version:

Index:

build build_close rebuild find_parent_of_type add_new_line get_max_width set_max_width paint draw cursor_pick within_extents top_left_extents bottom_right_extents show_highlight_all remove_highlight valid_range show_highlight_all show_highlight remove_highlight







by

methods
build 





 
build_close 





 
rebuild 





 
find_parent_of_type  $type





 
add_new_line  $i





 
get_max_width 





 
set_max_width  $v





 
paint 





 
draw 





 
cursor_pick  $x $y





 
within_extents  $x $y





 
top_left_extents  $x $y





 
bottom_right_extents  $x $y





 
show_highlight_all 





 
remove_highlight 





 
valid_range  $sx $sy $ex $ey





 
show_highlight_all 





 
show_highlight 





 
remove_highlight 





 


phpmole/docs/classes/html_br.html0000644000175000017500000000647607464134544017324 0ustar alanalan00000000000000 PHP Class : html_br
html_br
Parent: html_object
Version:

Index:

build







by

methods
build 





 


phpmole/docs/classes/html_table.html0000644000175000017500000001344407464134544020001 0ustar alanalan00000000000000 PHP Class : html_table
html_table
Parent: html_object
Version:

Index:

build build_close get_col_width set_col_width move_to_column calc_total_col_width







by

methods
build 





 
build_close 





 
get_col_width  $col





 
set_col_width  $col $val





 
move_to_column  $col





 
calc_total_col_width 





 


phpmole/docs/classes/html_tr.html0000644000175000017500000000744607464134544017344 0ustar alanalan00000000000000 PHP Class : html_tr
html_tr
Parent: html_object
Version:

Index:

build build_close







by

methods
build 





 
build_close 





 


phpmole/docs/classes/html_td.html0000644000175000017500000000647607464134544017330 0ustar alanalan00000000000000 PHP Class : html_td
html_td
Parent: html_object
Version:

Index:

build







by

methods
build 





 


phpmole/docs/classes/html_object_hidden.html0000644000175000017500000002427007464134544021472 0ustar alanalan00000000000000 PHP Class : html_object_hidden
html_object_hidden
Parent:
Version:

Index:

html_object build add_new_line paint draw cursor_pick within_extents top_left_extents bottom_right_extents show_highlight_all remove_highlight valid_range show_highlight_all show_highlight remove_highlight







by

methods
html_object  $html





 
build 





 
add_new_line  $i





 
paint 





 
draw 





 
cursor_pick  $x $y





 
within_extents  $x $y





 
top_left_extents  $x $y





 
bottom_right_extents  $x $y





 
show_highlight_all 





 
remove_highlight 





 
valid_range  $sx $sy $ex $ey





 
show_highlight_all 





 
show_highlight 





 
remove_highlight 





 


phpmole/docs/classes/.mappedfiles/0002755000175000017500000000000007641002071017325 5ustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/_HTML~10000777000175000017500000000000007641002071021372 2.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMAN~1.HTM0000777000175000017500000000000007641002071026170 2phpmanual_help_fetch.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMAN~2.HTM0000777000175000017500000000000007641002071027565 2phpmanual_devhelp_generator.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPGTK~1.HTM0000777000175000017500000000000007641002071026710 2phpgtkmanual_help_fetch.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PEARIF~1.HTM0000777000175000017500000000000007641002071023444 2pearify.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/DUMMY_~1.HTM0000777000175000017500000000000007641002071024411 2dummy_class.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/DEVHEL~1.HTM0000777000175000017500000000000007641002071024761 2devhelp_to_dbm.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMOL~1.HTM0000777000175000017500000000000007641002071025351 2phpmole_webfetch.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMOL~2.HTM0000777000175000017500000000000007641002071025440 2phpmole_autotext.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/TEST~1.HTM0000777000175000017500000000000007641002071022575 2test.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/UML_GE~1.HTM0000777000175000017500000000000007641002071024712 2uml_generator.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHP_GE~1.HTM0000777000175000017500000000000007641002071024676 2php_generator.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMOL~3.HTM0000777000175000017500000000000007641002071025561 2phpmole_installer.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/FILTER~1.HTM0000777000175000017500000000000007641002071025170 2Filter_bodyonly.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/FILTER~2.HTM0000777000175000017500000000000007641002071024121 2Filter_php.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/FILTER~3.HTM0000777000175000017500000000000007641002071026356 2Filter_rtf_simpletags.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/FILTER~4.HTM0000777000175000017500000000000007641002071025504 2Filter_simpletags.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/FILTER~5.HTM0000777000175000017500000000000007641002071024273 2Filter_tags.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/TEMPLA~1.HTM0000777000175000017500000000000007641002071025307 2Template_Options.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/TEMPLA~2.HTM0000777000175000017500000000000007641002071025062 2Template_Engine.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/REQUES~1.HTM0000777000175000017500000000000007641002071023533 2request.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/RESPON~1.HTM0000777000175000017500000000000007641002071023703 2response.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/DB_RPC~1.HTM0000777000175000017500000000000007641002071024557 2DB_rpc_result.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/DB_RPC~2.HTM0000777000175000017500000000000007641002071023162 2DB_rpc.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMOL~4.HTM0000777000175000017500000000000007641002071024704 2phpmole_prefs.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/CONFIG~1.HTM0000777000175000017500000000000007641002071024570 2config_dialog.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/CONFIG~2.HTM0000777000175000017500000000000007641002071026265 2config_dialog_generic.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMOL~5.HTM0000777000175000017500000000000007641002071026675 2phpmole_new_file_dialog.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMOL~6.HTM0000777000175000017500000000000007641002071026750 2phpmole_password_dialog.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMOL~7.HTM0000777000175000017500000000000007641002071023510 2phpmole.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPIDE~1.HTM0000777000175000017500000000000007641002071026174 2phpide_Dialog_Generic.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMOL~8.HTM0000777000175000017500000000000007641002071026355 2phpmole_config_dialog.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMOL~9.HTM0000777000175000017500000000000007641002071026223 2phpmole_about_dialog.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPIDE~2.HTM0000777000175000017500000000000007641002071025065 2phpide_Language.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPIDE~3.HTM0000777000175000017500000000000007641002071025311 2phpide_languages.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/LANGUA~1.HTM0000777000175000017500000000000007641002071025116 2language_config.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PARSER~1.HTM0000777000175000017500000000000007641002071024153 2parser_HTML.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PARSER~2.HTM0000777000175000017500000000000007641002071025665 2parser_HTML_element.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PARSER~3.HTM0000777000175000017500000000000007641002071025147 2parser_HTML_base.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PARSER~4.HTM0000777000175000017500000000000007641002071024201 2parser_php.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PARSER~5.HTM0000777000175000017500000000000007641002071025174 2parser_php_base.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPIDE~4.HTM0000777000175000017500000000000007641002071025464 2phpide_parser_HTML.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_G~1.HTM0000777000175000017500000000000007641002071026055 2html_generator_base.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PARSER~6.HTM0000777000175000017500000000000007641002071025565 2parser_XML_element.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PARSER~7.HTM0000777000175000017500000000000007641002071024055 2parser_XML.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPIDE~5.HTM0000777000175000017500000000000007641002071025361 2phpide_parser_XML.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/XML_GE~1.HTM0000777000175000017500000000000007641002071024560 2XML_generator.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~10.HTM0000777000175000017500000000000007641002071027021 2phpmole_midgard_reciever.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPIDE~6.HTM0000777000175000017500000000000007641002071025016 2phpide_modules.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~11.HTM0000777000175000017500000000000007641002071026362 2phpmole_editor_module.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODULE~1.HTM0000777000175000017500000000000007641002071026741 2module_bookmark_browser.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODULE~2.HTM0000777000175000017500000000000007641002071031211 2module_bookmark_browser_popup_menu.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODULE~3.HTM0000777000175000017500000000000007641002071026546 2module_bookmark_editor.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPIDE~7.HTM0000777000175000017500000000000007641002071025436 2phpide_Popup_Menu.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/BOOKMA~1.HTM0000777000175000017500000000000007641002071026010 2bookmark_management.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODULE~4.HTM0000777000175000017500000000000007641002071026244 2module_class_browser.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODULE~5.HTM0000777000175000017500000000000007641002071026070 2module_help_browser.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HELP_V~1.HTM0000777000175000017500000000000007641002071025411 2help_viewer_html.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODULE~6.HTM0000777000175000017500000000000007641002071025707 2module_help_viewer.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODULE~7.HTM0000777000175000017500000000000007641002071024343 2module_html.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_I~1.HTM0000777000175000017500000000000007641002071025724 2html_image_browser.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/GTKHTM~1.HTM0000777000175000017500000000000007641002071025555 2gtkhtml_generator.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_E~1.HTM0000777000175000017500000000000007641002071024361 2html_editor.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODULE~8.HTM0000777000175000017500000000000007641002071026566 2module_notebook_editor.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODULE~9.HTM0000777000175000017500000000000007641002071025363 2module_scintilla.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/SCINTI~1.HTM0000777000175000017500000000000007641002071025360 2scintilla_editor.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/SCINTI~2.HTM0000777000175000017500000000000007641002071027025 2scintilla_replace_dialog.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/SCINTI~3.HTM0000777000175000017500000000000007641002071026660 2scintilla_search_dialog.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~10.HTM0000777000175000017500000000000007641002071026731 2module_directory_viewer.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~12.HTM0000777000175000017500000000000007641002071024612 2phpmole_image.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~11.HTM0000777000175000017500000000000007641002071026334 2module_midgard_wizard.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~12.HTM0000777000175000017500000000000007641002071025700 2module_text_editor.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/TEXT_E~1.HTM0000777000175000017500000000000007641002071024421 2text_editor.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~13.HTM0000777000175000017500000000000007641002071026104 2module_cache_manager.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~14.HTM0000777000175000017500000000000007641002071025003 2module_phpdict.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/DICTBA~1.HTM0000777000175000017500000000000007641002071023443 2DictBase.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/DICTSE~1.HTM0000777000175000017500000000000007641002071024700 2DictServerInfo.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/DICTQU~1.HTM0000777000175000017500000000000007641002071023741 2DictQuery.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~15.HTM0000777000175000017500000000000007641002071025304 2module_db_editor.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/EXECUT~1.HTM0000777000175000017500000000000007641002071025251 2execute_options.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~16.HTM0000777000175000017500000000000007641002071026507 2module_simple_debugger.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/SIMPLE~1.HTM0000777000175000017500000000000007641002071026523 2simple_debugger_client.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/SIMPLE~2.HTM0000777000175000017500000000000007641002071026554 2simple_debugger_server.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/SOCKET~1.HTM0000777000175000017500000000000007641002071024705 2socket_server.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~17.HTM0000777000175000017500000000000007641002071026540 2module_xml_tree_editor.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~18.HTM0000777000175000017500000000000007641002071024763 2module_midgard.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPGLA~1.HTM0000777000175000017500000000000007641002071023576 2phpglade.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~19.HTM0000777000175000017500000000000007641002071025730 2module_phppresents.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MODUL~20.HTM0000777000175000017500000000000007641002071025755 2module_apd_debugger.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/APD_DE~1.HTM0000777000175000017500000000000007641002071026330 2apd_debugger_listener.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPIDE~8.HTM0000777000175000017500000000000007641002071025567 2phpide_transports.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPIDE~9.HTM0000777000175000017500000000000007641002071026413 2phpide_transport_imap.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPID~10.HTM0000777000175000017500000000000007641002071027747 2phpide_midgard_details_dialog.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~13.HTM0000777000175000017500000000000007641002071026466 2phpmole_midgard_object.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~14.HTM0000777000175000017500000000000007641002071026703 2phpmole_midgard_snippet.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~15.HTM0000777000175000017500000000000007641002071027403 2phpmole_midgard_snippetdir.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~16.HTM0000777000175000017500000000000007641002071030234 2phpmole_midgard_sg__snippetdir.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~17.HTM0000777000175000017500000000000007641002071026140 2phpmole_midgard_page.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~18.HTM0000777000175000017500000000000007641002071026771 2phpmole_midgard_sg__page.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~19.HTM0000777000175000017500000000000007641002071027653 2phpmole_midgard_page_element.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~20.HTM0000777000175000017500000000000007641002071027504 2phpmole_midgard_pageelement.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~21.HTM0000777000175000017500000000000007641002071026357 2phpmole_midgard_style.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~22.HTM0000777000175000017500000000000007641002071027210 2phpmole_midgard_sg__style.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~23.HTM0000777000175000017500000000000007641002071026652 2phpmole_midgard_element.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~24.HTM0000777000175000017500000000000007641002071030073 2phpmole_midgard_style_element.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~25.HTM0000777000175000017500000000000007641002071027171 2phpmole_midgard_sg__topic.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~26.HTM0000777000175000017500000000000007641002071026342 2phpmole_midgard_topic.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~27.HTM0000777000175000017500000000000007641002071026650 2phpmole_midgard_article.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~28.HTM0000777000175000017500000000000007641002071026534 2phpmole_midgard_person.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~29.HTM0000777000175000017500000000000007641002071026363 2phpmole_midgard_group.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~30.HTM0000777000175000017500000000000007641002071026007 2phpmole_midgard_grp.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~31.HTM0000777000175000017500000000000007641002071027204 2phpmole_midgard_sg__group.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~32.HTM0000777000175000017500000000000007641002071030573 2phpmole_midgard_record_extension.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~33.HTM0000777000175000017500000000000007641002071026177 2phpmole_midgard_host.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~34.HTM0000777000175000017500000000000007641002071027213 2phpmole_midgard_sg__hosts.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~35.HTM0000777000175000017500000000000007641002071027245 2phpmole_midgard_sitegroup.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~36.HTM0000777000175000017500000000000007641002071030076 2phpmole_midgard_sg__sitegroup.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~37.HTM0000777000175000017500000000000007641002071026327 2phpmole_midgard_blobs.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~38.HTM0000777000175000017500000000000007641002071027542 2phpmole_midgard_attachments.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~39.HTM0000777000175000017500000000000007641002071027063 2phpmole_midgard_xmlparse.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPID~11.HTM0000777000175000017500000000000007641002071026200 2phpide_transport_mgd.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/MGD_HT~1.HTM0000777000175000017500000000000007641002071025043 2mgd_http_layer.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~40.HTM0000777000175000017500000000000007641002071027671 2phpmole_midgard_omphp_object.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPMO~41.HTM0000777000175000017500000000000007641002071027720 2phpmole_midgard_omphp_things.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPID~12.HTM0000777000175000017500000000000007641002071026351 2phpide_transport_file.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPID~13.HTM0000777000175000017500000000000007641002071026220 2phpide_transport_scp.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHPID~14.HTM0000777000175000017500000000000007641002071026021 2phpide_transport_db.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/XML_TR~1.HTM0000777000175000017500000000000007641002071023523 2XML_Tree.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/XML_TR~2.HTM0000777000175000017500000000000007641002071024471 2XML_Tree_Node.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PHP_TO~1.HTM0000777000175000017500000000000007641002071024400 2php_to_tree.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/PGTKHT~1.HTM0000777000175000017500000000000007641002071023672 2pgtkhtml.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_C~1.HTM0000777000175000017500000000000007641002071024406 2html_cursor.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_T~1.HTM0000777000175000017500000000000007641002071024076 2html_text.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_P~1.HTM0000777000175000017500000000000007641002071024550 2html_painter.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_F~1.HTM0000777000175000017500000000000007641002071024043 2html_flow.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_P~2.HTM0000777000175000017500000000000007641002071024403 2html_parser.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_T~2.HTM0000777000175000017500000000000007641002071025112 2html_textblock.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_O~1.HTM0000777000175000017500000000000007641002071024353 2html_object.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_B~1.HTM0000777000175000017500000000000007641002071023473 2html_br.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_T~3.HTM0000777000175000017500000000000007641002071024203 2html_table.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_T~4.HTM0000777000175000017500000000000007641002071023542 2html_tr.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_T~5.HTM0000777000175000017500000000000007641002071023525 2html_td.htmlustar alanalan00000000000000phpmole/docs/classes/.mappedfiles/HTML_O~2.HTM0000777000175000017500000000000007641002071025667 2html_object_hidden.htmlustar alanalan00000000000000phpmole/docs/language_kwords_and_devhelp.txt0000755000175000017500000000367607446011707021615 0ustar alanalan00000000000000 Languages & Devhelp: Current Situation: language files used by phpmole: (1)Language : The general configuration file includes keywords1-4, (2)Language.html : The list of keywords5 for Language =html (3)php_functions : a list of phpfunctions and their short descriptions used by tooltips editing. (4)devhelp : includes a list of functions in it.. Ideally all this should be merged into a simpler system: Master Language file - lists Languages and their relative manual pages: eg. 'C' language - would reference the Glib/GTK libraries.. devhelp files etc. 'PHP' language - would reference 'PHP', 'PHP-GTK', apd, imagic, PEAR? devhelp files DEVHELP Then the individual devhelp would have to be modified to include: 'function/method summaries = eg. the 'php_functions' stuff.. Devhelp files need breaking up - php & phpgtk are far to big!!! either this or a better loading method is needed : at present, we parse the whole file and build a array of objects, linked together with ids. other options include: parse the data into a gdbm database? ----------------------------- Where is this data used: Language::get_keywords($language) // used by the parse to highlight words Language::get_short_desc($language,$kw) // used to show short description Language::get_url($language,$kw) // used to show help page on a keyword. /* help tree */ Language::get_books() // list of top level books Language::get_sub_chapters($book, [$id] ) // list of chapters in book or sub chapters (id) Language::get_book_language() // what programming language does the book relate to? Overview info. books_base: filename:name \t baseurl seperate dbm files for each book HTML_phpgtk_keywords_shortdesc keyword:desc HTML_phpgtk_keywords_link keyword:link HTML_phpgtk_book_tree id:(ids of children) HTML_phpgtk_book_pages id:name \t link Hence from this: process would be? build database = parse all data and Changes required!!!! phpmole/docs/class_index.html0000644000175000017500000025610707464134542016530 0ustar alanalan00000000000000 PHP Classes

Ordered by class name


This page lists the classes and, and the methods they contain. Click on a class or method name for a detailed description.
classes


apd_debugger_listener
socket_server
listener start_try_again data_recieved add_line command_changed send_command step execute_continue dump_vars debug
$reciever $address $port $connect_type $debug_list $filter $status $sockets_waiting $widget_status
bookmark_management
_insert_node create_bookmarks create_bookmark editor_ok_pressed
$total_bookmarks 
config_dialog
phpide_dialog_generic
config_dialog show load_prefs save_prefs
$prefs
config_dialog_generic
phpide_dialog_generic
init show set_buttoncolor set_fontname select_font fontsel_ok fontsel_cancel select_color colorsel_ok colorsel_cancel get_results
$prefs 
DB_rpc
DB_common
DB_rpc connect disconnect simpleQuery parse_dsn send_query curl_read nextResult fetchRow fetchInto freeResult numCols numRows autoCommit commit rollback affectedRows errorNative nextId createSequence dropSequence quote modifyQuery modifyLimitQuery mysqlRaiseError tableInfo getSpecialQuery
$connection $phptype $prepare_tokens $prepare_types $num_rows $transaction_opcount $autocommit $fetchmode $_db $rownum $connectionid
DB_rpc_result

$id 
devhelp_to_dbm

parse_file build_tree add_to_tree read_books
$dbm_handler $parent
DictBase
DictBase set get parse_code is_valid_code is_error_code print_code connect close read_data in_array
$host  $port  $max_length  $socket  $valid_codes  $return_code 
DictQuery
DictBase
DictQuery init search define match is_method clear_results
$term $method $searchdb $query_type $valid_methods $result $numres
DictServerInfo
DictBase
DictServerInfo init show store get_dbs_info get_info
$info 
dummy_class

rdf_tree_types output_object rdf_get_object rdf_tree rdf_filtered_tree

execute_options
phpide_Dialog_Generic
execute_options show run callback_btn
$parent 
Filter_bodyonly

_set_engine strip_body_head post_body_foot

Filter_php
_set_engine pre_strip_php post_strip_php

Filter_rtf_simpletags
Filter_simpletags

$start $stop
Filter_simpletags
_set_engine variables urlencoded_variables methods looping conditionals include_template
$engine  $start  $stop 
Filter_tags

Filter_tags variables foreach_loop end_loop simple_conditional method_conditional include_template
$engine
gtkhtml_generator
html_generator_base
override_comment override_php override_body override_html override_br
$inbody  $header 
help_viewer_html

gtkhtml_init callback_resize callback_redraw callback_slow callback_title_changed callback_goto_url callback_back callback_forward callback_reload callback_stop load_done on_set_base redirect_timer_event on_redirect on_submit on_url on_link_clicked url_requested gtkhtml_write parse_href goto_url callback_submit link_clicked linkurl_to_url callback_url_request url_requested curl_read curl_header gtkhtml_begin gtkhtml_end
$widget $cache_dir $history $historypos
html_br
html_object
build

html_cursor

html_cursor toggle_cursor show_cursor press_cursor release_cursor normalize_bounds show_highlight hide_highlight delete_highlighted hide_cursor make_gc draw_cursor key_press
$html $widget $objects $x $y $h $flash $gc $hand_cursor $arrow_cursor $ibeam_cursor $active_object
html_editor
module_html pre_load_document load_document close_document load_from_data save_to_data save_to_data_callback reverse_tags preparse_data url_request drop_recieved
$documents  $label_text  $prefs_config  $is_editor  $use_data  $URL  $bookmarkid  $ignore_simple_font  $in_simple_font 
html_flow

add_textblock add_br check_stack font_update set_font set_bold set_object
$html $object $current_object $current_x $current_y $current_margin_x $parent $current_max_width $current_font_name $current_font_height $current_table_id $stack $y_margin
html_generator_base
start out __out out_tag_start out_children out_tag_end override_img
$htmltree  $output  $debug  $i  $indent  $level 
html_image_browser

html_image_browser show load_images loadhtml url_request on_url event

html_object
build build_close rebuild find_parent_of_type add_new_line get_max_width set_max_width paint draw cursor_pick within_extents top_left_extents bottom_right_extents show_highlight_all remove_highlight valid_range show_highlight_all show_highlight remove_highlight
$html  $parent  $next  $last  $args  $children  $id  $current_margin_x  $lx  $ty  $w  $h  $mx  $my  $sx  $sy  $rx  $by 
html_object_hidden

html_object build add_new_line paint draw cursor_pick within_extents top_left_extents bottom_right_extents show_highlight_all remove_highlight valid_range show_highlight_all show_highlight remove_highlight
$html $parent $next $last $args $children $id $current_margin_x $lx $ty $w $h $mx $my $sx $sy $rx $by
html_painter
html_painter callback_configure_event callback_expose_event callback_button_press_event callback_button_release_event check_cursor callback_key_press_event
$html  $pixmap  $width  $height 
html_parser

parse out out_tag_start out_children out_tag_end trim_attribute
$html $current_x $current_y $x $y $level $render_parent $display_stack
html_table
html_object
build build_close get_col_width set_col_width move_to_column calc_total_col_width
$rows  $cols  $current_row  $current_col  $col_width  $col_rendered_width  $w  $width 
html_td
html_object
build

html_text
html_object
make_font make_gc get_strlen html_text build paint draw cursor_pick strpos_to_x get_strpos valid_range show_highlight_all show_highlight draw_highlight remove_highlight delete_highlighted key_press
$html  $node  $string  $fore  $back  $gc  $x  $y  $lx  $ty  $rx  $by  $w 
html_textblock
html_object_hidden
html_textblock make_font get_strlen build make_children make_child
$font $parent
html_tr
html_object
build build_close

language_config
config_dialog_generic
language_config language_changed show_dialog callback_ok_clicked set_lexer lexer_changed unselect_style merge_font diff_font load_style extend_font_change extend_color_change set_rules load_rule rule_type_changed rule_changed new_rule del_rule unselect_rule
$prefs $active_language $language
mgd_http_layer
phpmole_midgard_xmlparse
curl_upload_headers build_url build_servername curl curl_read callback_start_block callback_data callback_end_block node_to_nodeitem

module_apd_debugger

module_apd_debugger debug_on_off filter_changed clear_list start_server stop_server set_widget_status
$widget $filter
module_bookmark_browser
bookmark_management
module_bookmark_browser init _insert_node prepare_pixmaps expand_tree delete_node create_new collapse select_row expand_node get_list_of_bookmarks_with_URL get_bookmark_from_url document_deleted delete_bookmark change_title user_move_node event popup build_popup menu_emit popup_callback drop_recieved on_paste copy_action copy_files load_document
$widget  $total_bookmarks  $icons  $icons_to_id  $selected_type  $total_nodes  $popups  $bookmark_editor  $common_menu_items 
module_bookmark_browser_popup_menu

popup test
$popups $common_menu_items
module_bookmark_editor
phpide_Dialog_Generic
module_bookmark_editor load_combo menu_emit show load_bookmark pulldown_changed save_keys blank_notebook
$nb  $combolist  $selected_bookmark  $types  $handler  $disable_ok_hide 
module_cache_manager

module_cache_manager create_temp find_url create set_value get_value set_value_by_url get_value_by_url remove_by_URL remove clean save load
$documents $URL_to_temp_file
module_class_browser
module_class_browser _insert_node change_notebook load_document set_language show_deptree show_tree delete_subtree document_deleted close_document add_definition select_row
$widget  $total_bookmarks  $icons  $icons_to_id  $selected_type  $total_nodes  $nodes  $tree_nodes  $tree_nodes_parents  $definition_nodes  $definition_nodes_parents  $ignore_select 
module_db_editor

module_db_editor pre_load_document load_document close_document load_from_data callback_clist_click_column callback_realize callback_scrolled load_data save_to_data
$documents $label_text $active_document $prefs_config $is_editor $heights
module_directory_viewer
module_directory_viewer destroy_drawing_area make_drawing_area sort_column drawing_area_configure_event drawing_area_redraw_event browse_document add_node display_icon display_thumbnail show_image menu_emit drag_begin drag_end select_row unselect_row dnd_drag_data_get callback_delete_button callback_really_delete callback_rotate_left callback_rotate_right rotate_left_url rotate_right_url callback_create_thumbnails thumbnail create_thumbnail rotate foreach_image set_row_data find_row_from_data jump_to
$is_editor  $hide_dirs  $selected_list  $drawing_area_pixmap  $rowdata  $dir_list 
module_help_browser

module_help_browser init init_xml init_dba init_dba_book dba_add_node show_book expand_tree dba_expand_tree xml_expand_tree add_book_page book_has_children select_row dba_select_row xml_select_row
$widget $total_bookmarks $icons $icons_to_id $selected_type $total_nodes $dba_files $dba_nodes
module_help_viewer
module_help_viewer menu_emit callback_submit link_clicked show_help linkurl_to_url callback_url_request url_requested curl_get curl_read curl_header set_url callback_back callback_forward callback_urledit callback_refresh throbber
$widget  $history  $historypos  $all_urls 
module_html

module_html get_modify pre_load_document load_document load_from_data save_to_data document_deleted close_document callback_focus show_hide_toolbox callback_update_toolbox_event callback_paragraph_style_text callback_indent callback_unindent callback_link_text callback_font_style_text update_toolbox init_vars
$documents $editors $active_document $active_edit $prefs_config $is_editor $pane
module_midgard
pre_load_document load_document close_document load_from_data post_save_document load_values connect_thumbnail drawing_area_configure_event drawing_area_redraw_event display_thumbnail create_thumbnail callback_clist_unselect_row callback_clist_select_row get_realval build_menu build_combo build_clist combo_select pulldown_select callback_text_changed callback_textbox_changed callback_checkbox_toggle callback_calender_changed load_parameters parameter_changed parameter_edit_unselect parameter_edit
$documents  $active_document  $is_editor  $md5data  $title  $par_rows 
module_midgard_wizard

curl contains attempt_install
$base $data
module_notebook_editor
module_notebook_editor get_window_title get_bookmark_id get_bookmark pre_load_document load_document get_active_document get_active_editor get_all_documents post_load_document get_current_editor document_deleted close_document post_close_document focus_notebook_tab pre_editor_switch save_to_data_active_document editor_switch callback_pre_notebook_switch callback_notebook_switch
$editors  $notebook  $editors  $editors_counter  $documents  $labels  $document_closing  $active_document  $active_bookmarkid  $bookmarkids  $active_editor 
module_phpdict

module_phpdict on_search_button_clicked on_word_search_activate on_aboutitem_activate
$glade $dict_map $type_map
module_phppresents
module_phppresents callback_key_press callback_forward callback_home callback_back callback_zoom_in callback_zoom_out build_slides build_from_txt show_slide build_from_main callback_url_request
$show_URL  $curslide 
module_scintilla

module_scintilla menu_emit get_current_word char_added complete_word_activate focus_lost auto_indent is_brace highlight_braces merge_font setup_braces_style setup_default_style setup_caret_style setup_line_numbers_style digits_width setup_line_numbers_digits set_font set_fore set_back set_language check_modified update_label get_active_document get_modify pre_load_document load_document load_from_data save_document save_to_data post_save_document document_deleted close_document find_activate find_again_activate search_ok_pressed replace_activate replace_ok_pressed search replace replace_multi get_def_from_line show_method add_folding margin_click expand collapse_from collapse_all remove_folds scintilla_config prefs_ok_pressed configuration_changed
$documents $label_text $active_document $prefs_config $is_editor
module_simple_debugger
module_simple_debugger menu_emit line_selected filter_changed clear_list run start_server exec load_actions callback_config_select_row config_freeze_selection callback_config_action_type_changed callback_config_action_changed callback_config_action_delete
$widget  $filter  $server  $port  $connect_type 
module_text_editor

pre_load_document load_document close_document load_from_data save_to_data callback_focus
$documents $editors $label_text $active_document $prefs_config $is_editor
module_xml_tree_editor
module_xml_tree_editor pre_load_document load_document close_document load_from_data show_tree callback_event save_to_data callback_row_selected write_back_to_xml
$documents  $label_text  $active_document  $prefs_config  $is_editor  $md5data 
parser_HTML
parser_HTML_base
html_check_roots startCommentCallback commentCallback entityCallback endCommentCallback endCallback startCallback textCallback attributeCallback
$data $curelementid $maxelementid $htmltree
parser_HTML_base
pphp_linebreak startCommentCallback commentCallback endCommentCallback comment endCallback startCallback attributeCallback textCallback cdataCallback entityCallback pphp_linebreak php_parse html_parse_debug dp html_parse check_comment check_php check_endtag check_starttag check_cdata check_attribute check_attribute_value check_whitespace check_text check_text_entity
$data  $debug  $htmltree  $intag  $line 
parser_HTML_element


$parent $title $attribute $children
parser_php
parser_php_base
pphp_linebreak pphp_error pphp_function pphp_string pphp_variable pphp_numeric pphp_beginblock pphp_endblock pphp_beginfunctionvars pphp_endfunctionvars pphp_comment pphp_endstatement pphp_colon pphp_beginarray pphp_endarray pphp_comma pphp_operator pphp_unknown
$line  $ppflags  $lastlb  $errors  $classes  $last_comment_line  $last_endblock_line  $last_start_line  $in_var  $in_var_functionname 
parser_php_base
parser_HTML
pphp_comma pphp_beginblock pphp_endblock pphp_beginfunctionvars pphp_endfunctionvars pphp_beginarray pphp_endarray pphp_endstatement pphp_colon pphp_hide_error pphp_by_reference pphp_linebreak pphp_numeric pphp_string pphp_function pphp_variable pphp_comment pphp_operator pphp_unknown php_parse_alphanumeric php_parse_numeric php_parse_operator strcmp2 php_parse
$data $c $inphp $__whitespace $__callbacks
parser_XML
parser_HTML_base
html_check_roots startCommentCallback commentCallback endCommentCallback endCallback startCallback textCallback cdataCallback entityCallback attributeCallback find expat_startCallback expat_endCallback expat_cdata expat_parse
$data  $curelementid  $maxelementid  $htmltree  $skip_empty 
parser_XML_element


$parent $title $attribute $attributes $children
pearify
start parse parse_line process_class process_method process_var get_user_details add_php_header add_php_gpl_header process_comment process_element process_entity process_attlist p_trim process
$data  $len  $l  $status  $output  $comment 
pgtkhtml

pgtkhtml realize debug_echo quit
$layout $drawing_area $cursor $painter $flow $objects $width $height
phpglade
phpglade signal_connect signal_autoconnect parse startElement endElement characterData add_node build build_new bind_children build_set
$data  $id  $tree  $active_tag  $widgets  $widget_names 
phpgtkmanual_help_fetch

run update_display get_file
$cache_dir $lang
phpide_Dialog_Generic
phpide_Dialog_Generic ignore_close show __show hide __hide set_callbacks ok_pressed cancel_pressed
$window  $btn_ok  $cancel  $btn_info  $ok_pressed_callback  $cancel_pressed_callback  $disable_ok_hide 
phpide_Language


$name $lexer $keywords $tab_size $soft_tabs $indent_size $show_indent $auto_indent $edge_indicator $edge_column $edge_color $rules $styles $rules_count
phpide_languages
phpide_languages read_function_file get_definition read_config_ini save_ini get_language_from_URL load_document parse_all parse get_suggestions get_styles get_val get_style_keys get_keywords change_language
$number_of_languages  $curobject  $languages  $lexerid_to_languageid  $name_to_languageid  $documents  $parsers  $functions  $keywords  $langs_ini 
phpide_midgard_details_dialog

show load_members load_parameters parameter_changed parameter_edit_unselect parameter_edit load_values build_menu build_combo pulldown_select combo_select cancel_pressed ok_pressed get_realval
$detail_dialogs $type $document
phpide_modules
phpide_modules load load_document pre_close_document close_option_dialog callback_save_and_close_document callback_force_close_document get_active_document get_active_editor send_to_editor broadcast broadcast_get send_module get_editor_modules menu_emit
$modules  $module_objects  $close_all_flag 
phpide_parser_HTML
parser_php
parse
$debug $classes $data
phpide_parser_XML
parser_XML
parse
$classes 
phpide_Popup_Menu

build popup
$menu_items
phpide_transports
phpide_transports get_transport_handler get_handler get_transports_editors get_types get_tree load_document get_raw get_image_info close_document save_document get_menu_type get_menu_items create_new delete_dialog add_images_dialog get set_active_data
$transports  $documents  $fileprefix 
phpide_transport_db

phpide_transport_db load_document load_table order load_range get_range save_document parse_url store_password get_password get_tree get_menu_type bookmark_edit get_keys check_data keys_to_bookmark get_menu_items
$prefix $data $title $URL $filename $file_writeable $directory_view $editor_view $editor_types $description $in_editor $db_rows $db_total_rows $db_order
phpide_transport_file
load_document save_document get_tree bookmark_edit get_keys new_child_dialog create_new check_data keys_to_bookmark delete move get_menu_type get_menu_items get_local_file dirname get_title copy get_child_image get_link_info_from_url get_relative_path
$prefix  $data  $title  $URL  $filename  $bookmarkid  $file_writeable  $directory_view  $editor_view  $htmleditor_view  $editor_types  $documents  $description  $in_editor 
phpide_transport_imap

phpide_transport_imap load_document save_document parse_url make_url store_password get_password make_imap_url get_tree get_menu_type bookmark_edit get_keys check_data keys_to_bookmark get_menu_items
$prefix $data $title $URL $filename $file_writeable $directory_view $editor_view $editor_types $description $in_editor $host $port $ssl $mbox
phpide_transport_mgd
mgd_http_layer
phpide_transport_mgd mime_guess load_document __load_document get_cached_data get_raw get_link_info_from_url get_image_info get_child_image save_document parse_URL get_password store_password get_tree __get_tree get_list __get_list get_zero_list_value bookmark_edit get_keys keys_to_bookmark edit_details_dialog edit_parameters_dialog new_child_dialog create_new_empty delete_dialog delete delete_document copy get_local_file get_title check_data get_menu_type get_menu_items get_image_list
$prefix  $data  $title  $URL  $filename  $curnode  $file_writeable  $default_language  $directory_view  $editor_view  $htmleditor_view  $editor_types  $in_editor  $file_sel  $description 
phpide_transport_scp

phpide_transport_scp load_document get_title save_document parse_URL pre_connect get_tree build_key get_file_list exec remote_exec get_file put_file bookmark_edit get_keys check_data new_child_dialog create_new keys_to_bookmark delete move get_menu_type get_menu_items
$prefix $data $title $URL $filename $file_writeable $directory_view $editor_view $htmleditor_view $description $editor_types $in_editor
phpmanual_devhelp_generator
html_generator_base
devhelp_check_roots override_all override_refentry override_classentry override_method override_constructor override_classset override_part override_chapter override_preface override_reference override_sect1 override_appendix start_block look_forward
$inbody  $htmltree  $outtree  $curelementid  $maxelementid  $functiontree  $extension 
phpmanual_help_fetch

run update_display get_file
$cache_dir $lang
phpmole
run bind_actions bind_auto_text_items bind_auto_text add_auto_text configuration_activate load_document add_to_recent add_recent_item rebuild_recent save_document reload_document save_all_activate dummy_timer free_module_frame break_apart_edit_pane rebuild_edit_pane hide_module_frame show_module_frame view_module_frame_activate hide_tree_frame show_tree_frame toggle_active get_active view_tree_frame_activate disable_document_items enable_document_items document_set_sensitive about_activate goto_line_key_press_activate find_box_key_press_activate open_newfile_activate open_file_activate open_file_ok_pressed quit callback_configure_event check_php_modules hide_warning
$prefs  $glade  $window  $layout_holder  $interface_glade  $transports  $active_document_URL  $active_part  $active_bookmarkid  $active_URL  $document_items  $extra_document_items 
phpmole_about_dialog
phpide_dialog_generic
phpmole_about_dialog show load_file

phpmole_autotext
phpdoc_input parse parse_line process_class process_method process_var get_user_details add_php_header add_php_gpl_headers
$data  $len  $input  $l  $status  $output  $comment 
phpmole_config_dialog
phpide_Dialog_Generic
phpmole_config_dialog connect_dialogs add_config_dialog show load_prefs save_prefs set_buttoncolor set_fontname select_font fontsel_ok fontsel_cancel select_color colorsel_ok colorsel_cancel
$prefs $dialogs
phpmole_editor_module
check_class init pre_load_document module_init
$documents  $editors  $is_editor 
phpmole_image

load type_from_filename get_size destroy resize rotate load_image save_image free_all
$filename $max
phpmole_installer
install post_install get_chora_settings get_cvsweb_settings set_installbase check_dependancies check_recommends get_files fetch_files create_dirs
$phpmole_cvs  $peardir  $upgrade  $installbase  $cvsweb_revision  $chora_revision 
phpmole_midgard_article
phpmole_midgard_object
get_editor_items get_defs get_title get_menu_items get_icon_name

phpmole_midgard_attachments
phpmole_midgard_blobs


phpmole_midgard_blobs
phpmole_midgard_object
get_defs get_icon_name get_menu_items get_editors has_children

phpmole_midgard_element
phpmole_midgard_object
get_editor_items get_defs get_title has_children get_menu_items get_icon_name

phpmole_midgard_group
phpmole_midgard_object
get_editor_items get_defs get_menu_items get_icon_name get_editors

phpmole_midgard_grp
phpmole_midgard_group


phpmole_midgard_host
phpmole_midgard_object
get_editor_items get_defs get_title get_icon_name get_menu_items get_editors

phpmole_midgard_object
get_editor_items get_defs get_title get_icon_name has_children get_menu_items get_zero_list_value get_action get_editors get_id get_filter

phpmole_midgard_omphp_object

get_editor_items get_defs get_title get_icon_name has_children get_menu_items get_zero_list_value get_action get_id get_editors get_filter

phpmole_midgard_omphp_things
phpmole_midgard_omphp_object
get_defs get_id get_title get_menu_items get_filter

phpmole_midgard_page
phpmole_midgard_object
get_editor_items get_defs get_menu_items get_zero_list_value

phpmole_midgard_pageelement
phpmole_midgard_page_element


phpmole_midgard_page_element
phpmole_midgard_object
get_editor_items get_defs get_title has_children get_icon_name

phpmole_midgard_person
phpmole_midgard_object
get_editor_items get_defs get_icon_name has_children get_menu_items get_editors

phpmole_midgard_reciever

rdf_tree_types output_object rdf_get_object rdf_tree rdf_attachments rdf_filtered_tree update_membership update_members update_parameters check_calender output_header output_footer process_request auth re_auth start
$request $table $id $children
phpmole_midgard_record_extension
phpmole_midgard_object
get_editor_items get_defs has_children get_editors

phpmole_midgard_sg__group
phpmole_midgard_group
get_action

phpmole_midgard_sg__hosts
phpmole_midgard_host
get_menu_items get_action

phpmole_midgard_sg__page
phpmole_midgard_object
get_menu_items get_action

phpmole_midgard_sg__sitegroup
phpmole_midgard_sitegroup


phpmole_midgard_sg__snippetdir
phpmole_midgard_snippetdir
get_menu_items get_action

phpmole_midgard_sg__style
phpmole_midgard_style
get_menu_items get_action

phpmole_midgard_sg__topic
phpmole_midgard_topic
get_menu_items get_action

phpmole_midgard_sitegroup
phpmole_midgard_object
get_defs get_icon_name get_zero_list_value get_action get_editors get_filter

phpmole_midgard_snippet
phpmole_midgard_object
get_editor_items get_defs has_children get_icon_name get_menu_items

phpmole_midgard_snippetdir
phpmole_midgard_object
get_editor_items get_defs get_icon_name get_menu_items

phpmole_midgard_style
phpmole_midgard_object
get_editors get_editor_items get_defs get_icon_name get_menu_items

phpmole_midgard_style_element
phpmole_midgard_element


phpmole_midgard_topic
phpmole_midgard_object
get_editor_items get_defs get_menu_items get_icon_name

phpmole_midgard_xmlparse
callback_start_block callback_data callback_end_block phpmole_midgard_xmlparse
$return 
phpmole_new_file_dialog
phpide_Dialog_Generic
phpmole_new_file_dialog show ok_pressed key_pressed

phpmole_password_dialog
phpide_dialog_generic
phpmole_password_dialog show key_pressed

phpmole_prefs

load parse write load_user_prefs save_user_prefs get set shunt_array get_array set_array clear_array prune_array un_set
$prefs
phpmole_webfetch
curl_upload_headers get curl_read curl_header_read emit start static_start static_start_url debug simple_microtime
$URL  $postarray  $filename  $username  $password  $return_chunks  $result_string  $_counter  $_id 
php_generator

start output_from_template output_classes_from_template build parse_file create_positions parse got_class got_method get_args got_var parse_comment installer_get_pear installer_add_include_path
$template $level $last_comment_block $pos $tokens $total $active_class $active_file $classes $x $y $start_file $_base_dir $_base_dir_len $active_class $last_class $last_comment_block $desc $desc_body
php_to_tree
parser_php_base
php_to_tree pphp_comma pphp_beginblock pphp_endblock pphp_beginfunctionvars pphp_endfunctionvars pphp_beginarray pphp_endarray pphp_endstatement pphp_colon pphp_hide_error pphp_by_reference pphp_linebreak pphp_numeric pphp_string pphp_function pphp_variable pphp_comment pphp_operator pphp_unknown
$data  $tree 
request


$dsn $sql
response

$response  $data 
scintilla_editor

pre_load_document load_document load_from_data save_document save_to_data post_save_document document_deleted close_document configuration_changed get_current_word char_added complete_word_activate focus_lost auto_indent insert_text is_brace highlight_braces toggle_line_breaks toggle_white_space popup_check merge_font setup_braces_style setup_default_style setup_caret_style setup_line_numbers_style digits_width setup_line_numbers_digits set_font set_fore set_back set_language get_modify goto_line search replace replace_multi comment_text uncomment_text get_def_from_line show_method add_folding margin_click expand collapse_from collapse_all remove_folds
$label_text $active_document $prefs_config $is_editor $do_auto_indent $scintilla $URL $bookmark_id $has_focus $use_data $current_show_method
scintilla_replace_dialog
scintilla_replace_dialog search_keypress replace_keypress show close
$widget  $glade  $strings 
scintilla_search_dialog

scintilla_search_dialog keypress show close search
$widget $glade $strings
simple_debugger_client
start start_client try_connect_again start_request
$key  $address  $port  $connect_type  $socket 
simple_debugger_server
socket_server
listener data_recieved add_line
$key $key_len $reciever $debug_list $filter
socket_server
start stop start_try_again start_listening listener accept_new_connections answer_children read_child data_recieved close_connection debug
$address  $port  $connect_type  $recieve_callback  $master_socket  $buffers  $child_sockets  $socket_counter 
Template_Engine
Template_Options
Template_Engine getTemplateDir parse compile isUpToDate applyFilters debug showError
$options
Template_Options
SimpleTemplate_Options setOption setOptions getOption
$options 
test
uml_generator


text_editor
text_editor grab_focus load_from_data save_to_data destroy
$data 
uml_generator

start build parse_file create_positions parse got_class got_method get_args got_var
$level $last_comment_block $pos $tokens $total $active_class $active_file $classes $x $y $start_file $last_class
XML_generator
HTML_generator_base
out out_tag_start_closed out_tag_end

XML_Tree

XML_Tree add_child go_up goto_previous goto_parent goto_child goto_child_attribute set_attribute get_attribute unset_attribute set_name get_name dump
$count $pos $node
XML_Tree_Node
XML_Tree_Node get_attribute set_attribute unset_attribute set_content _xml_entities dump
$attributes  $children  $content  $name  $id  $parent_id 


phpmole/docs/class_file_index.html0000644000175000017500000022372507464134542017527 0ustar alanalan00000000000000 PHP Classes

Ordered by directory and class name


This page lists the classes and, and the methods they contain. Click on a class or method name for a detailed description.
classes


/phpmole/config

phpmole_prefs
load parse write load_user_prefs save_user_prefs get set shunt_array get_array set_array clear_array prune_array un_set
$prefs
config_dialog
phpide_dialog_generic
config_dialog show load_prefs save_prefs
$prefs
/phpmole/DB

request

$dsn $sql
response

$response $data
DB_rpc_result

$id
DB_rpc
DB_common
DB_rpc connect disconnect simpleQuery parse_dsn send_query curl_read nextResult fetchRow fetchInto freeResult numCols numRows autoCommit commit rollback affectedRows errorNative nextId createSequence dropSequence quote modifyQuery modifyLimitQuery mysqlRaiseError tableInfo getSpecialQuery
$connection $phptype $prepare_tokens $prepare_types $num_rows $transaction_opcount $autocommit $fetchmode $_db $rownum $connectionid
/phpmole/dialogs

config_dialog_generic
phpide_dialog_generic
init show set_buttoncolor set_fontname select_font fontsel_ok fontsel_cancel select_color colorsel_ok colorsel_cancel get_results
$prefs
phpmole_new_file_dialog
phpide_Dialog_Generic
phpmole_new_file_dialog show ok_pressed key_pressed

phpmole_password_dialog
phpide_dialog_generic
phpmole_password_dialog show key_pressed

phpmole
run bind_actions bind_auto_text_items bind_auto_text add_auto_text configuration_activate load_document add_to_recent add_recent_item rebuild_recent save_document reload_document save_all_activate dummy_timer free_module_frame break_apart_edit_pane rebuild_edit_pane hide_module_frame show_module_frame view_module_frame_activate hide_tree_frame show_tree_frame toggle_active get_active view_tree_frame_activate disable_document_items enable_document_items document_set_sensitive about_activate goto_line_key_press_activate find_box_key_press_activate open_newfile_activate open_file_activate open_file_ok_pressed quit callback_configure_event check_php_modules hide_warning
$prefs $glade $window $layout_holder $interface_glade $transports $active_document_URL $active_part $active_bookmarkid $active_URL $document_items $extra_document_items
phpide_Dialog_Generic
phpide_Dialog_Generic ignore_close show __show hide __hide set_callbacks ok_pressed cancel_pressed
$window $btn_ok $cancel $btn_info $ok_pressed_callback $cancel_pressed_callback $disable_ok_hide
phpmole_config_dialog
phpide_Dialog_Generic
phpmole_config_dialog connect_dialogs add_config_dialog show load_prefs save_prefs set_buttoncolor set_fontname select_font fontsel_ok fontsel_cancel select_color colorsel_ok colorsel_cancel
$prefs $dialogs
phpmole_about_dialog
phpide_dialog_generic
phpmole_about_dialog show load_file

/phpmole/languages

phpide_Language

$name $lexer $keywords $tab_size $soft_tabs $indent_size $show_indent $auto_indent $edge_indicator $edge_column $edge_color $rules $styles $rules_count
phpide_languages
phpide_languages read_function_file get_definition read_config_ini save_ini get_language_from_URL load_document parse_all parse get_suggestions get_styles get_val get_style_keys get_keywords change_language
$number_of_languages $curobject $languages $lexerid_to_languageid $name_to_languageid $documents $parsers $functions $keywords $langs_ini
language_config
config_dialog_generic
language_config language_changed show_dialog callback_ok_clicked set_lexer lexer_changed unselect_style merge_font diff_font load_style extend_font_change extend_color_change set_rules load_rule rule_type_changed rule_changed new_rule del_rule unselect_rule
$prefs $active_language $language
/phpmole/languages/HTML

parser_HTML
parser_HTML_base
html_check_roots startCommentCallback commentCallback entityCallback endCommentCallback endCallback startCallback_close startCallback textCallback attributeCallback add_php
$data $curelementid $maxelementid $htmltree
parser_HTML_element

$parent $title $attribute $children
parser_HTML_base
pphp_linebreak startCommentCallback commentCallback endCommentCallback comment endCallback startCallback attributeCallback textCallback cdataCallback entityCallback pphp_linebreak php_parse html_parse_debug dp html_parse check_comment check_php check_endtag check_starttag check_cdata check_attribute check_attribute_value check_whitespace check_text check_text_entity
$data $debug $htmltree $intag $line
parser_php
parser_php_base
pphp_linebreak pphp_error pphp_function pphp_string pphp_variable pphp_numeric pphp_beginblock pphp_endblock pphp_beginfunctionvars pphp_endfunctionvars pphp_comment pphp_endstatement pphp_colon pphp_beginarray pphp_endarray pphp_comma pphp_operator pphp_unknown
$line $ppflags $lastlb $errors $classes $last_comment_line $last_endblock_line $last_start_line $in_var $in_var_functionname
parser_php_base
parser_HTML
pphp_comma pphp_beginblock pphp_endblock pphp_beginfunctionvars pphp_endfunctionvars pphp_beginarray pphp_endarray pphp_endstatement pphp_colon pphp_linebreak pphp_numeric pphp_string pphp_variable pphp_comment pphp_operator pphp_unknown php_parse_alphanumeric php_parse_numeric php_parse_operator php_parse
$inphp $__whitespace $__callbacks
phpide_parser_HTML
parser_php
parse
$debug $classes $data
html_generator_base
start out __out out_tag_start out_children out_tag_end override_img
$htmltree $output $debug $i $indent $level
/phpmole/languages/XML

parser_XML_element

$parent $title $attribute $attributes $children
parser_XML
parser_HTML_base
html_check_roots startCommentCallback commentCallback endCommentCallback endCallback startCallback textCallback cdataCallback entityCallback attributeCallback find expat_startCallback expat_endCallback expat_cdata expat_parse
$data $curelementid $maxelementid $htmltree $skip_empty
phpide_parser_XML
parser_XML
parse
$classes
XML_generator
HTML_generator_base
out out_tag_start_closed out_tag_end

/phpmole/legacy

phpmole_midgard_reciever
rdf_tree_types output_object rdf_get_object rdf_tree rdf_attachments rdf_filtered_tree update_membership update_members update_parameters check_calender output_header output_footer process_request auth re_auth start
$request $table $id $children
/phpmole/modules

phpide_modules
phpide_modules load load_document pre_close_document close_option_dialog callback_save_and_close_document callback_force_close_document get_active_document get_active_editor send_to_editor broadcast broadcast_get send_module get_editor_modules menu_emit
$modules $module_objects $close_all_flag
phpmole_editor_module
check_class init pre_load_document module_init
$documents $editors $is_editor
/phpmole/modules/apd_debugger

module_apd_debugger
module_apd_debugger debug_on_off filter_changed clear_list start_server stop_server set_widget_status
$widget $filter
apd_debugger_listener
socket_server
listener start_try_again data_recieved add_line command_changed send_command step execute_continue dump_vars debug
$reciever $address $port $connect_type $debug_list $filter $status $sockets_waiting $widget_status
/phpmole/modules/bookmark_browser

module_bookmark_browser
bookmark_management
module_bookmark_browser init _insert_node prepare_pixmaps expand_tree delete_node create_new collapse select_row expand_node get_list_of_bookmarks_with_URL get_bookmark_from_url document_deleted delete_bookmark change_title user_move_node event popup build_popup menu_emit popup_callback drop_recieved on_paste copy_action copy_files load_document
$widget $total_bookmarks $icons $icons_to_id $selected_type $total_nodes $popups $bookmark_editor $common_menu_items
module_bookmark_browser_popup_menu
popup test
$popups $common_menu_items
module_bookmark_editor
phpide_Dialog_Generic
module_bookmark_editor load_combo menu_emit show load_bookmark pulldown_changed save_keys blank_notebook
$nb $combolist $selected_bookmark $types $handler $disable_ok_hide
phpide_Popup_Menu
build popup
$menu_items
bookmark_management
_insert_node create_bookmarks create_bookmark editor_ok_pressed
$total_bookmarks
/phpmole/modules/cache_manager

module_cache_manager
module_cache_manager create_temp find_url create set_value get_value set_value_by_url get_value_by_url remove_by_URL remove clean save load
$documents $URL_to_temp_file
/phpmole/modules/class_browser

module_class_browser
module_class_browser _insert_node change_notebook load_document set_language show_deptree show_tree delete_subtree document_deleted close_document add_definition select_row
$widget $total_bookmarks $icons $icons_to_id $selected_type $total_nodes $nodes $tree_nodes $tree_nodes_parents $definition_nodes $definition_nodes_parents $ignore_select
/phpmole/modules/db_editor

module_db_editor
module_db_editor pre_load_document load_document close_document load_from_data callback_clist_click_column callback_realize callback_scrolled load_data save_to_data
$documents $label_text $active_document $prefs_config $is_editor $heights
/phpmole/modules/directory_viewer

module_directory_viewer
module_directory_viewer destroy_drawing_area make_drawing_area sort_column drawing_area_configure_event drawing_area_redraw_event browse_document add_node display_icon display_thumbnail show_image menu_emit drag_begin drag_end select_row unselect_row dnd_drag_data_get callback_delete_button callback_really_delete callback_rotate_left callback_rotate_right rotate_left_url rotate_right_url callback_create_thumbnails thumbnail create_thumbnail rotate foreach_image set_row_data find_row_from_data jump_to
$is_editor $hide_dirs $selected_list $drawing_area_pixmap $rowdata $dir_list
phpmole_image
load type_from_filename get_size destroy resize rotate load_image save_image free_all
$filename $max
/phpmole/modules/help_browser

module_help_browser
module_help_browser init init_xml init_dba init_dba_book dba_add_node show_book expand_tree dba_expand_tree xml_expand_tree add_book_page book_has_children select_row dba_select_row xml_select_row
$widget $total_bookmarks $icons $icons_to_id $selected_type $total_nodes $dba_files $dba_nodes
/phpmole/modules/help_viewer

help_viewer_html
gtkhtml_init callback_resize callback_redraw callback_slow callback_title_changed callback_goto_url callback_back callback_forward callback_reload callback_stop load_done on_set_base redirect_timer_event on_redirect on_submit on_url on_link_clicked url_requested gtkhtml_write parse_href goto_url callback_submit link_clicked linkurl_to_url callback_url_request url_requested curl_read curl_header gtkhtml_begin gtkhtml_end
$widget $cache_dir $history $historypos
module_help_viewer
module_help_viewer menu_emit callback_submit link_clicked show_help linkurl_to_url callback_url_request url_requested curl_get curl_read curl_header set_url callback_back callback_forward callback_urledit callback_refresh throbber
$widget $history $historypos $all_urls
/phpmole/modules/html

module_html
module_html get_modify pre_load_document load_document load_from_data save_to_data document_deleted close_document callback_focus show_hide_toolbox callback_update_toolbox_event callback_paragraph_style_text callback_indent callback_unindent callback_link_text callback_font_style_text update_toolbox init_vars
$documents $editors $active_document $active_edit $prefs_config $is_editor $pane
html_image_browser
html_image_browser show load_images loadhtml url_request on_url event

gtkhtml_generator
html_generator_base
override_comment override_php override_body override_html override_br
$inbody $header
html_editor
module_html pre_load_document load_document close_document load_from_data save_to_data save_to_data_callback reverse_tags preparse_data url_request drop_recieved
$documents $label_text $prefs_config $is_editor $use_data $URL $bookmarkid $ignore_simple_font $in_simple_font
/phpmole/modules/midgard

module_midgard
pre_load_document load_document close_document load_from_data post_save_document load_values connect_thumbnail drawing_area_configure_event drawing_area_redraw_event display_thumbnail create_thumbnail callback_clist_unselect_row callback_clist_select_row get_realval build_menu build_combo build_clist combo_select pulldown_select callback_text_changed callback_textbox_changed callback_checkbox_toggle callback_calender_changed load_parameters parameter_changed parameter_edit_unselect parameter_edit
$documents $active_document $is_editor $md5data $title $par_rows
phpglade
phpglade signal_connect signal_autoconnect parse startElement endElement characterData add_node build build_new bind_children build_set
$data $id $tree $active_tag $widgets $widget_names
/phpmole/modules/midgard_wizard

module_midgard_wizard
curl contains attempt_install
$base $data
/phpmole/modules/notebook_editor

module_notebook_editor
module_notebook_editor get_window_title get_bookmark_id get_bookmark pre_load_document load_document get_active_document get_active_editor get_all_documents post_load_document get_current_editor document_deleted close_document post_close_document focus_notebook_tab pre_editor_switch save_to_data_active_document editor_switch callback_pre_notebook_switch callback_notebook_switch
$editors $notebook $editors $editors_counter $documents $labels $document_closing $active_document $active_bookmarkid $bookmarkids $active_editor
/phpmole/modules/phpdict

module_phpdict
module_phpdict on_search_button_clicked on_word_search_activate on_aboutitem_activate
$glade $dict_map $type_map
DictBase
DictBase set get parse_code is_valid_code is_error_code print_code connect close read_data in_array
$host $port $max_length $socket $valid_codes $return_code
DictServerInfo
DictBase
DictServerInfo init show store get_dbs_info get_info
$info
DictQuery
DictBase
DictQuery init search define match is_method clear_results
$term $method $searchdb $query_type $valid_methods $result $numres
/phpmole/modules/phpdict/original

DictBase
DictBase set get parse_code is_valid_code is_error_code print_code connect close read_data in_array
$host $port $max_length $socket $valid_codes $return_code
DictServerInfo
DictBase
DictServerInfo init show store get_dbs_info get_info
$info
DictQuery
DictBase
DictQuery init search define match is_method clear_results
$term $method $searchdb $query_type $valid_methods $result $numres
/phpmole/modules/phppresents

module_phppresents
module_phppresents callback_key_press callback_forward callback_home callback_back callback_zoom_in callback_zoom_out build_slides build_from_txt show_slide build_from_main callback_url_request
$show_URL $curslide
/phpmole/modules/phppresents/pixmap

module_phppresents
module_phppresents callback_key_press callback_forward callback_home callback_back callback_zoom_in callback_zoom_out build_slides build_from_txt show_slide build_from_main callback_url_request
$show_URL $curslide
/phpmole/modules/scintilla

module_scintilla
module_scintilla menu_emit get_current_word char_added complete_word_activate focus_lost auto_indent is_brace highlight_braces merge_font setup_braces_style setup_default_style setup_caret_style setup_line_numbers_style digits_width setup_line_numbers_digits set_font set_fore set_back set_language check_modified update_label get_active_document get_modify pre_load_document load_document load_from_data save_document save_to_data post_save_document document_deleted close_document find_activate find_again_activate search_ok_pressed replace_activate replace_ok_pressed search replace replace_multi get_def_from_line show_method add_folding margin_click expand collapse_from collapse_all remove_folds scintilla_config prefs_ok_pressed configuration_changed
$documents $label_text $active_document $prefs_config $is_editor
scintilla_editor
pre_load_document load_document load_from_data save_document save_to_data post_save_document document_deleted close_document configuration_changed get_current_word char_added complete_word_activate focus_lost auto_indent insert_text is_brace highlight_braces toggle_line_breaks toggle_white_space popup_check merge_font setup_braces_style setup_default_style setup_caret_style setup_line_numbers_style digits_width setup_line_numbers_digits set_font set_fore set_back set_language get_modify goto_line search replace replace_multi comment_text uncomment_text get_def_from_line show_method add_folding margin_click expand collapse_from collapse_all remove_folds
$label_text $active_document $prefs_config $is_editor $do_auto_indent $scintilla $URL $bookmark_id $has_focus $use_data $current_show_method
scintilla_replace_dialog
scintilla_replace_dialog search_keypress replace_keypress show close
$widget $glade $strings
scintilla_search_dialog
scintilla_search_dialog keypress show close search
$widget $glade $strings
/phpmole/modules/simple_debugger

execute_options
phpide_Dialog_Generic
execute_options show run callback_btn
$parent
module_simple_debugger
module_simple_debugger menu_emit line_selected filter_changed clear_list run start_server exec load_actions callback_config_select_row config_freeze_selection callback_config_action_type_changed callback_config_action_changed callback_config_action_delete
$widget $filter $server $port $connect_type
simple_debugger_client
start start_client try_connect_again start_request
$key $address $port $connect_type $socket
simple_debugger_server
socket_server
listener data_recieved add_line
$key $key_len $reciever $debug_list $filter
socket_server
start stop start_try_again start_listening listener accept_new_connections answer_children read_child data_recieved close_connection debug
$address $port $connect_type $recieve_callback $master_socket $buffers $child_sockets $socket_counter
/phpmole/modules/text_editor

module_text_editor
pre_load_document load_document close_document load_from_data save_to_data callback_focus
$documents $editors $label_text $active_document $prefs_config $is_editor
text_editor
text_editor grab_focus load_from_data save_to_data destroy
$data
/phpmole/modules/xml_tree_editor

module_xml_tree_editor
module_xml_tree_editor pre_load_document load_document close_document load_from_data show_tree callback_event save_to_data callback_row_selected write_back_to_xml
$documents $label_text $active_document $prefs_config $is_editor $md5data
/phpmole/phpconverter

XML_Tree
XML_Tree add_child go_up goto_previous goto_parent goto_child goto_child_attribute set_attribute get_attribute unset_attribute set_name get_name dump
$count $pos $node
XML_Tree_Node
XML_Tree_Node get_attribute set_attribute unset_attribute set_content _xml_entities dump
$attributes $children $content $name $id $parent_id
parser_HTML
parser_HTML_base
html_check_roots startCommentCallback commentCallback entityCallback endCommentCallback endCallback startCallback textCallback attributeCallback
$data $curelementid $maxelementid $htmltree
parser_HTML_element

$parent $title $attribute $children
parser_HTML_base
pphp_linebreak startCommentCallback commentCallback endCommentCallback comment endCallback startCallback attributeCallback textCallback cdataCallback entityCallback pphp_linebreak php_parse html_parse_debug dp html_parse check_comment check_php check_endtag check_starttag check_cdata check_attribute check_attribute_value check_whitespace check_text check_text_entity
$data $debug $htmltree $intag $line
parser_php_base
parser_HTML
pphp_comma pphp_beginblock pphp_endblock pphp_beginfunctionvars pphp_endfunctionvars pphp_beginarray pphp_endarray pphp_endstatement pphp_colon pphp_hide_error pphp_by_reference pphp_linebreak pphp_numeric pphp_string pphp_function pphp_variable pphp_comment pphp_operator pphp_unknown php_parse_alphanumeric php_parse_numeric php_parse_operator strcmp2 php_parse
$data $c $inphp $__whitespace $__callbacks
php_to_tree
parser_php_base
php_to_tree pphp_comma pphp_beginblock pphp_endblock pphp_beginfunctionvars pphp_endfunctionvars pphp_beginarray pphp_endarray pphp_endstatement pphp_colon pphp_hide_error pphp_by_reference pphp_linebreak pphp_numeric pphp_string pphp_function pphp_variable pphp_comment pphp_operator pphp_unknown
$data $tree
/phpmole/tests/pgtkhtml

pgtkhtml
pgtkhtml realize debug_echo quit
$layout $drawing_area $cursor $painter $flow $objects $width $height
html_cursor
html_cursor toggle_cursor show_cursor press_cursor release_cursor normalize_bounds show_highlight hide_highlight delete_highlighted hide_cursor make_gc draw_cursor key_press
$html $widget $objects $x $y $h $flash $gc $hand_cursor $arrow_cursor $ibeam_cursor $active_object
html_text
html_object
make_font make_gc get_strlen html_text build paint draw cursor_pick strpos_to_x get_strpos valid_range show_highlight_all show_highlight draw_highlight remove_highlight delete_highlighted key_press
$html $node $string $fore $back $gc $x $y $lx $ty $rx $by $w
html_painter
html_painter callback_configure_event callback_expose_event callback_button_press_event callback_button_release_event check_cursor callback_key_press_event
$html $pixmap $width $height
html_flow
add_textblock add_br check_stack font_update set_font set_bold set_object
$html $object $current_object $current_x $current_y $current_margin_x $parent $current_max_width $current_font_name $current_font_height $current_table_id $stack $y_margin
html_parser
parse out out_tag_start out_children out_tag_end trim_attribute
$html $current_x $current_y $x $y $level $render_parent $display_stack
html_textblock
html_object_hidden
html_textblock make_font get_strlen build make_children make_child
$font $parent
html_object
build build_close rebuild find_parent_of_type add_new_line get_max_width set_max_width paint draw cursor_pick within_extents top_left_extents bottom_right_extents show_highlight_all remove_highlight valid_range show_highlight_all show_highlight remove_highlight
$html $parent $next $last $args $children $id $current_margin_x $lx $ty $w $h $mx $my $sx $sy $rx $by
html_br
html_object
build

html_table
html_object
build build_close get_col_width set_col_width move_to_column calc_total_col_width
$rows $cols $current_row $current_col $col_width $col_rendered_width $w $width
html_tr
html_object
build build_close

html_td
html_object
build

html_object_hidden
html_object build add_new_line paint draw cursor_pick within_extents top_left_extents bottom_right_extents show_highlight_all remove_highlight valid_range show_highlight_all show_highlight remove_highlight
$html $parent $next $last $args $children $id $current_margin_x $lx $ty $w $h $mx $my $sx $sy $rx $by
/phpmole/tools

phpmanual_help_fetch
run update_display get_file
$cache_dir $lang
phpmanual_devhelp_generator
html_generator_base
devhelp_check_roots override_all override_refentry override_classentry override_method override_constructor override_classset override_part override_chapter override_preface override_reference override_sect1 override_appendix start_block look_forward
$inbody $htmltree $outtree $curelementid $maxelementid $functiontree $extension
phpgtkmanual_help_fetch
run update_display get_file
$cache_dir $lang
pearify
start parse parse_line process_class process_method process_var get_user_details add_php_header add_php_gpl_header process_comment process_element process_entity process_attlist p_trim process
$data $len $l $status $output $comment
dummy_class
rdf_tree_types output_object rdf_get_object rdf_tree rdf_filtered_tree

devhelp_to_dbm
parse_file build_tree add_to_tree read_books
$dbm_handler $parent
phpmole_webfetch
curl_upload_headers get curl_read curl_header_read emit start static_start static_start_url debug simple_microtime
$URL $postarray $filename $username $password $return_chunks $result_string $_counter $_id
phpmole_autotext
phpdoc_input parse parse_line process_class process_method process_var get_user_details add_php_header add_php_gpl_headers
$data $len $input $l $status $output $comment
test
uml_generator


uml_generator
start build parse_file create_positions parse got_class got_method get_args got_var
$level $last_comment_block $pos $tokens $total $active_class $active_file $classes $x $y $start_file $last_class
php_generator
start output_from_template output_classes_from_template build parse_file create_positions parse got_class got_method get_args got_var parse_comment installer_get_pear installer_add_include_path
$template $level $last_comment_block $pos $tokens $total $active_class $active_file $classes $x $y $start_file $_base_dir $_base_dir_len $active_class $last_class $last_comment_block $desc $desc_body
/phpmole/tools/Phpmole_Installer

phpmole_installer
install post_install get_chora_settings get_cvsweb_settings set_installbase check_dependancies check_recommends get_files fetch_files create_dirs
$phpmole_cvs $peardir $upgrade $installbase $cvsweb_revision $chora_revision
/phpmole/tools/Template

Filter_bodyonly
_set_engine strip_body_head post_body_foot

Filter_php
_set_engine pre_strip_php post_strip_php

Filter_rtf_simpletags
Filter_simpletags

$start $stop
Filter_simpletags
_set_engine variables urlencoded_variables methods looping conditionals include_template
$engine $start $stop
Filter_tags
Filter_tags variables foreach_loop end_loop simple_conditional method_conditional include_template
$engine
Template_Options
SimpleTemplate_Options setOption setOptions getOption
$options
Template_Engine
Template_Options
Template_Engine getTemplateDir parse compile isUpToDate applyFilters debug showError
$options
/phpmole/transports

phpide_transports
phpide_transports get_transport_handler get_handler get_transports_editors get_types get_tree load_document get_raw get_image_info close_document save_document get_menu_type get_menu_items create_new delete_dialog add_images_dialog get set_active_data
$transports $documents $fileprefix
/phpmole/transports/db

phpide_transport_db
phpide_transport_db load_document load_table order load_range get_range save_document parse_url store_password get_password get_tree get_menu_type bookmark_edit get_keys check_data keys_to_bookmark get_menu_items
$prefix $data $title $URL $filename $file_writeable $directory_view $editor_view $editor_types $description $in_editor $db_rows $db_total_rows $db_order
/phpmole/transports/file

phpide_transport_file
load_document save_document get_tree bookmark_edit get_keys new_child_dialog create_new check_data keys_to_bookmark delete move get_menu_type get_menu_items get_local_file dirname get_title copy get_child_image get_link_info_from_url get_relative_path
$prefix $data $title $URL $filename $bookmarkid $file_writeable $directory_view $editor_view $htmleditor_view $editor_types $documents $description $in_editor
/phpmole/transports/imap

phpide_transport_imap
phpide_transport_imap load_document save_document parse_url make_url store_password get_password make_imap_url get_tree get_menu_type bookmark_edit get_keys check_data keys_to_bookmark get_menu_items
$prefix $data $title $URL $filename $file_writeable $directory_view $editor_view $editor_types $description $in_editor $host $port $ssl $mbox
/phpmole/transports/mgd

phpide_midgard_details_dialog
show load_members load_parameters parameter_changed parameter_edit_unselect parameter_edit load_values build_menu build_combo pulldown_select combo_select cancel_pressed ok_pressed get_realval
$detail_dialogs $type $document
phpmole_midgard_object
get_editor_items get_defs get_title get_icon_name has_children get_menu_items get_zero_list_value get_action get_editors get_id get_filter

phpmole_midgard_snippet
phpmole_midgard_object
get_editor_items get_defs has_children get_icon_name get_menu_items

phpmole_midgard_snippetdir
phpmole_midgard_object
get_editor_items get_defs get_icon_name get_menu_items

phpmole_midgard_sg__snippetdir
phpmole_midgard_snippetdir
get_menu_items get_action

phpmole_midgard_page
phpmole_midgard_object
get_editor_items get_defs get_menu_items get_zero_list_value

phpmole_midgard_sg__page
phpmole_midgard_object
get_menu_items get_action

phpmole_midgard_page_element
phpmole_midgard_object
get_editor_items get_defs get_title has_children get_icon_name

phpmole_midgard_pageelement
phpmole_midgard_page_element


phpmole_midgard_style
phpmole_midgard_object
get_editors get_editor_items get_defs get_icon_name get_menu_items

phpmole_midgard_sg__style
phpmole_midgard_style
get_menu_items get_action

phpmole_midgard_element
phpmole_midgard_object
get_editor_items get_defs get_title has_children get_menu_items get_icon_name

phpmole_midgard_style_element
phpmole_midgard_element


phpmole_midgard_sg__topic
phpmole_midgard_topic
get_menu_items get_action

phpmole_midgard_topic
phpmole_midgard_object
get_editor_items get_defs get_menu_items get_icon_name

phpmole_midgard_article
phpmole_midgard_object
get_editor_items get_defs get_title get_menu_items get_icon_name

phpmole_midgard_person
phpmole_midgard_object
get_editor_items get_defs get_icon_name has_children get_menu_items get_editors

phpmole_midgard_group
phpmole_midgard_object
get_editor_items get_defs get_menu_items get_icon_name get_editors

phpmole_midgard_grp
phpmole_midgard_group


phpmole_midgard_sg__group
phpmole_midgard_group
get_action

phpmole_midgard_record_extension
phpmole_midgard_object
get_editor_items get_defs has_children get_editors

phpmole_midgard_host
phpmole_midgard_object
get_editor_items get_defs get_title get_icon_name get_menu_items get_editors

phpmole_midgard_sg__hosts
phpmole_midgard_host
get_menu_items get_action

phpmole_midgard_sitegroup
phpmole_midgard_object
get_defs get_icon_name get_zero_list_value get_action get_editors get_filter

phpmole_midgard_sg__sitegroup
phpmole_midgard_sitegroup


phpmole_midgard_blobs
phpmole_midgard_object
get_defs get_icon_name get_menu_items get_editors has_children

phpmole_midgard_attachments
phpmole_midgard_blobs


phpmole_midgard_xmlparse
callback_start_block callback_data callback_end_block phpmole_midgard_xmlparse
$return
phpide_transport_mgd
mgd_http_layer
phpide_transport_mgd mime_guess load_document __load_document get_cached_data get_raw get_link_info_from_url get_image_info get_child_image save_document parse_URL get_password store_password get_tree __get_tree get_list __get_list get_zero_list_value bookmark_edit get_keys keys_to_bookmark edit_details_dialog edit_parameters_dialog new_child_dialog create_new_empty delete_dialog delete delete_document copy get_local_file get_title check_data get_menu_type get_menu_items get_image_list
$prefix $data $title $URL $filename $curnode $file_writeable $default_language $directory_view $editor_view $htmleditor_view $editor_types $in_editor $file_sel $description
mgd_http_layer
phpmole_midgard_xmlparse
curl_upload_headers build_url build_servername curl curl_read callback_start_block callback_data callback_end_block node_to_nodeitem

phpmole_midgard_omphp_object
get_editor_items get_defs get_title get_icon_name has_children get_menu_items get_zero_list_value get_action get_id get_editors get_filter

phpmole_midgard_omphp_things
phpmole_midgard_omphp_object
get_defs get_id get_title get_menu_items get_filter

/phpmole/transports/scp

phpide_transport_scp
phpide_transport_scp load_document get_title save_document parse_URL pre_connect get_tree build_key get_file_list exec remote_exec get_file put_file bookmark_edit get_keys check_data new_child_dialog create_new keys_to_bookmark delete move get_menu_type get_menu_items
$prefix $data $title $URL $filename $file_writeable $directory_view $editor_view $htmleditor_view $description $editor_types $in_editor


phpmole/docs/.mappedfiles/0002755000175000017500000000000007641002071015670 5ustar alanalan00000000000000phpmole/docs/.mappedfiles/CACHES~1.TXT0000777000175000017500000000000007641002071022110 2Cache Spec.txtustar alanalan00000000000000phpmole/docs/.mappedfiles/DESIGN~10000777000175000017500000000000007641002071021402 2Design_notesustar alanalan00000000000000phpmole/docs/.mappedfiles/DIRECT~1.TXT0000777000175000017500000000000007641002071024750 2Directory browsing spec.txtustar alanalan00000000000000phpmole/docs/.mappedfiles/STANDA~1.TXT0000777000175000017500000000000007641002071023543 2standard prompts.txtustar alanalan00000000000000phpmole/docs/.mappedfiles/MIDGAR~1.TXT0000777000175000017500000000000007641002071023420 2Midgard Rpc layer.txtustar alanalan00000000000000phpmole/docs/.mappedfiles/DEBUGG~1.TXT0000777000175000017500000000000007641002071023136 2debugger notes.txtustar alanalan00000000000000phpmole/docs/.mappedfiles/LANGUA~1.TXT0000777000175000017500000000000007641002071025760 2language_kwords_and_devhelp.txtustar alanalan00000000000000phpmole/docs/.mappedfiles/CLASS_~1.HTM0000777000175000017500000000000007641002071022702 2class_index.htmlustar alanalan00000000000000phpmole/docs/.mappedfiles/CLASS_~2.HTM0000777000175000017500000000000007641002071023702 2class_file_index.htmlustar alanalan00000000000000phpmole/pear/0002755000175000017500000000000007641002072013321 5ustar alanalan00000000000000phpmole/pear/CVSLib/0002755000175000017500000000000007400415537014412 5ustar alanalan00000000000000phpmole/pear/CVSLib/RCS/0002700000175000017500000000000007641002072015020 5ustar alanalan00000000000000phpmole/pear/CVSLib/RCS/.mappedfiles/0002700000175000017500000000000007641002072017367 5ustar alanalan00000000000000phpmole/pear/CVSLib/RCS/.mappedfiles/CVSLIB~1.XML0000777000175000017500000000000007641002072025752 2CVSLib.chora.package.xml,vustar alanalan00000000000000phpmole/pear/CVSLib/RCS/.mappedfiles/PACKAG~1.XML0000777000175000017500000000000007641002072023542 2package.xml,vustar alanalan00000000000000phpmole/pear/CVSLib/RCS/.mappedfiles/CVSLIB~1.PHP0000777000175000017500000000000007641002072023243 2CVSLib.php,vustar alanalan00000000000000phpmole/pear/CVSLib/RCS/CVSLib.chora.package.xml,v0000755000175000017500000000445107400360054021572 0ustar alanalan00000000000000head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2001.11.26.06.24.44; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.26.06.09.25; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.26.04.54.37; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.26.03.42.17; author alan; state Exp; branches; next ; desc @Updated @ 1.4 log @Updated @ text @ CVSLib CVSlib from chora alan_k Alan Knowles alan_k@@hklc.com 1.0 2001-11-20 This is just a downloader package for the cvslib Should be used with the CVSLib package file /CVSLib ci co rcs --------------Chora Packages Downloaded--------------- / /CVSLib /CVSLib/Annotate.php /CVSLib/Diff.php /CVSLib/Error.php /CVSLib/File.php /CVSLib/Log.php /CVSLib/Rev.php /CVSLib/Directory.php cvs.horde.org chora/lib @ 1.3 log @Updated @ text @d57 8 a64 1 @ 1.2 log @Updated @ text @d40 1 a40 2 /CVSLib.php /CVSLib/Annotate.php @ 1.1 log @Updated @ text @d14 1 a57 8 @ phpmole/pear/CVSLib/RCS/package.xml,v0000755000175000017500000000503607400356215017422 0ustar alanalan00000000000000head 1.7; access; symbols; locks; strict; comment @# @; 1.7 date 2001.11.26.06.08.28; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.26.04.53.35; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.26.04.20.47; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.26.03.57.17; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.26.03.56.47; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.26.03.46.47; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.26.03.46.19; author alan; state Exp; branches; next ; desc @Updated @ 1.7 log @Updated @ text @ CVSLib CVSlib from chora alan_k Alan Knowles alan_k@@hklc.com 1.0 2001-11-20 This is the installer for CVSLib (Modified for RCS tools) /CVSLib ci co rcs /CVSLib.chora.package.xml --------------Installation completed--------------- / /CVSLib /package.xml /CVSLib/Checkin.php /CVSLib/Checkout.php /CVSLib.php /CVSLib.chora.package.xml cvs.sourceforge.net cgi-bin/viewcvs.cgi phpmole-ide/phpmole/pear/CVSLib @ 1.6 log @Updated @ text @d40 1 @ 1.5 log @Updated @ text @d53 1 a53 1 @@include("Phpmole/installer/installer.php"); d55 1 a55 1 include("http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/phpmole-ide/phpmole/installer/installer.php?rev=HEAD"); @ 1.4 log @Updated @ text @d37 1 @ 1.3 log @Updated @ text @d46 1 a46 1 phpmole-ide/phpmole/pear @ 1.2 log @Updated @ text @d19 1 a19 1 pear/CVSLib d46 1 a46 1 phpmole-ide/phpmole @ 1.1 log @Updated @ text @d39 1 @ phpmole/pear/CVSLib/RCS/CVSLib.php,v0000755000175000017500000000636707400356302017105 0ustar alanalan00000000000000head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2001.11.26.06.10.10; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.26.06.10.09; author alan; state Exp; branches; next ; desc @Updated @ 1.2 log @Updated @ text @ * $Horde: chora/lib/CVSLib.php,v 1.72 2001/08/20 19:52:10 avsm Exp $ */ /* Report all errors from PHP */ error_reporting(E_ALL); /** * CVSLib base class. * * @@author Anil Madhavapeddy * @@version $Revision: 1.73 $ * @@since Chora 0.1 * @@package chora */ class CVSLib { var $conf, $cvsusers; function CVSLib(&$initConf) { if (!is_array($initConf)) { return false; } $this->conf = $initConf; } /** * Return what class this is for identification purposes * @@return CVSLIB_REPOSITORY constant */ function id() { return CVSLIB_REPOSITORY; } /** * Return the CVSROOT for this repository, with no trailing / * @@return CVSROOT for this repository */ function cvsRoot() { return $this->conf['paths']['cvsRoot']; } function queryDir($where) { $dir = new CVSLib_directory($this, $where); return $dir; } /* * Parse the 'cvsusers' file, if present in the CVSROOT, and return a * hash containing the requisite information, keyed on the username, and * with the 'desc','name', and 'mail' values inside. * @@return false if the file is not present, otherwise populate $this->cvsusers with the data */ function parseCVSUsers() { /* Check that we haven't already parsed cvsusers */ if (isset($this->cvsusers) && is_array($this->cvsusers)) return true; /* Try to locate the cvsusers file, and test to see if it is there */ $cvsfile = $this->conf['paths']['cvsusers']; if (!@@is_file($cvsfile) || !($fl = fopen($cvsfile,'r'))) { return false; } $this->cvsusers = array(); /* Discard the first line, since it'll be the header info */ fgets($fl, 4096); /* Parse the rest of the lines into a hash, keyed on username */ while ($line = fgets($fl, 4096)) { if (preg_match('/^\s*$/', $line)) continue; if (!preg_match('/^(\w+)\s+(.+)\s+([\w\.\-\_]+@@[\w\.\-\_]+)\s+(.*)$/', $line, $regs)) continue; $this->cvsusers[$regs[1]]['name'] = trim($regs[2]); $this->cvsusers[$regs[1]]['mail'] = trim($regs[3]); $this->cvsusers[$regs[1]]['desc'] = trim($regs[4]); } return true; } } require_once dirname(__FILE__) . '/CVSLib/Checkin.php'; require_once dirname(__FILE__) . '/CVSLib/Checkout.php'; require_once dirname(__FILE__) . '/CVSLib/Log.php'; require_once dirname(__FILE__) . '/CVSLib/File.php'; require_once dirname(__FILE__) . '/CVSLib/Directory.php'; require_once dirname(__FILE__) . '/CVSLib/Diff.php'; require_once dirname(__FILE__) . '/CVSLib/Annotate.php'; require_once dirname(__FILE__) . '/CVSLib/Rev.php'; require_once dirname(__FILE__) . '/CVSLib/Error.php'; ?> @ 1.1 log @Updated @ text @d91 1 @ phpmole/pear/CVSLib/CVS/0002755000175000017500000000000007641002072015036 5ustar alanalan00000000000000phpmole/pear/CVSLib/CVS/Root0000644000175000017500000000010107400335567015705 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/pear/CVSLib/CVS/Repository0000644000175000017500000000002407400335567017145 0ustar alanalan00000000000000phpmole/pear/CVSLib phpmole/pear/CVSLib/CVS/Entries0000644000175000017500000000001507400415622016366 0ustar alanalan00000000000000D/CVSLib//// phpmole/pear/CVSLib/CVS/.mappedfiles/0002755000175000017500000000000007641002072017405 5ustar alanalan00000000000000phpmole/pear/CVSLib/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002072022705 2Repositoryustar alanalan00000000000000phpmole/pear/CVSLib/CVSLib/0002755000175000017500000000000007400415527015473 5ustar alanalan00000000000000phpmole/pear/CVSLib/CVSLib/RCS/0002700000175000017500000000000007641002072016102 5ustar alanalan00000000000000phpmole/pear/CVSLib/CVSLib/RCS/.mappedfiles/0002700000175000017500000000000007641002072020451 5ustar alanalan00000000000000phpmole/pear/CVSLib/CVSLib/RCS/.mappedfiles/CHECKI~1.PHP0000777000175000017500000000000007641002072024553 2Checkin.php,vustar alanalan00000000000000phpmole/pear/CVSLib/CVSLib/RCS/.mappedfiles/CHECKO~1.PHP0000777000175000017500000000000007641002072024762 2Checkout.php,vustar alanalan00000000000000phpmole/pear/CVSLib/CVSLib/RCS/Checkin.php,v0000755000175000017500000000450507400336013020436 0ustar alanalan00000000000000head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2001.11.26.03.50.35; author alan; state Exp; branches; next ; desc @Updated @ 1.1 log @Updated @ text @ * @@version $Revision: 0.01 $ * @@since na * @@package na */ class CVSLib_Checkin { /** * Static function which commits the filename using RCS * revision of an RCS file. * @@param CVS CVSLib object of the desired CVS repository * @@param fullname Fully qualified pathname of the desired RCS file to checkin * @@param message Reason for change (optional) * @@param RCS file location (optional) * @@return Either a CVSLib_Error object, or nothing if successfull */ function put(&$CVS, $fullname, $message="commited by CVSLib", $RCSfilename="") { //$Q = OS_WINDOWS ? '"' : "'" ; // i assume shellarg will sort this out. // exec("co -f -l $rcsname /dev/null"); // exec("ci -t-\"Updated\" -u -m\"Updated\" {$this->filename} $rcsname"); if (!$RCSfilename) $RCSfilename=$fullname . ",v"; $command = $CVS->conf['paths']['ci'] . " -u -m". escapeshellarg($message) . " -t-". escapeshellarg($message) . " " . escapeshellarg($fullname) . " " . escapeshellarg($RCSfilename) . " 2>&1"; echo $command ."
"; if (!($RCS = popen($command, 'r'))) { return new CVSLib_Error(CVSLIB_INTERNAL_ERROR, _("Couldn't perform checkin of the requested file")); } /* First line from co should be of the form : * /path/to/filename,v --> standard out * and we check that this is the case and error otherwise */ /* $co = fgets($RCS, 1024); if (!preg_match('/^([\S ]+),v\s+-->\s+st(andar)?d ?out(put)?\s*$/', $co, $regs) || $regs[1] != $fullname) { return new CVSLib_Error(CVSLIB_INTERNAL_ERROR, "Unexpected output from CVS Checkout: $co"); } */ $ci = fgets($RCS, 1024); echo $ci; $ci = fgets($RCS, 1024); echo $ci; pclose($RCS); if (!file_exists($RCSfilename)) echo "
OOPS Did make file
"; } } ?> @ phpmole/pear/CVSLib/CVSLib/RCS/Checkout.php,v0000755000175000017500000001122107400361472020637 0ustar alanalan00000000000000head 1.7; access; symbols; locks; strict; comment @# @; 1.7 date 2001.11.26.06.37.46; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.26.06.36.52; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.26.06.36.21; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.26.06.35.28; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.26.06.30.13; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.26.06.23.29; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.26.03.50.43; author alan; state Exp; branches; next ; desc @Updated @ 1.7 log @Updated @ text @ * $Horde: chora/lib/CVSLib/Checkout.php,v 1.15 2001/10/27 22:06:55 avsm Exp $ * Modified by alan_k@@hklc.com to do locking and optional revision */ /** * CVSLib checkout class. * * @@author Anil Madhavapeddy * @@version $Revision: 1.16 $ * @@since Chora 0.1 * @@package chora */ class CVSLib_Checkout { /** * Static function which returns a file pointing to the head of the requested * revision of an RCS file OR nothing if it is not being checked to STDOUT. * @@param CVS CVSLib object of the desired CVS repository * @@param fullname Fully qualified pathname of the desired RCS file to checkout * @@param rev RCS revision number to check out * @@param flags any extra flags that need sending * @@param stdout is output expected to STDOUT? TRUE|FALSE - default TRUE * @@return Either a CVSLib_Error object, or a stream pointer to the head of the checkout */ function get(&$CVS, $fullname, $rev, $flags="",$stdout=TRUE) { if ($rev && !CVSLib_Rev::valid($rev)) { return new CVSLib_Error(CVSLIB_INTERNAL_ERROR, _("Invalid revision number")); } if ($rev) $flags .= " -p$rev"; $Q = OS_WINDOWS ? '"' : "'" ; $command = $CVS->conf['paths']['co'] . " $flags $Q$fullname$Q 2>&1"; if (!($RCS = popen($command, 'r'))) { return new CVSLib_Error(CVSLIB_INTERNAL_ERROR, _("Couldn't perform checkout of the requested file")); } /* is this being checkout to STDOUT? */ if (!$stdout) { pclose($RCS); return; } /* First line from co should be of the form : * /path/to/filename,v --> standard out * and we check that this is the case and error otherwise */ $co = fgets($RCS, 1024); if (!preg_match('/^([\S ]+),v\s+-->\s+st(andar)?d ?out(put)?\s*$/', $co, $regs) || $regs[1] != $fullname) { return new CVSLib_Error(CVSLIB_INTERNAL_ERROR, "Unexpected output from CVS Checkout: \n$command\n$co\n"); } /* * Next line from co is of the form: * revision 1.2.3 * TODO: compare this to $rev for consistency, atm we just * discard the value to move input pointer along - avsm */ $co = fgets($RCS, 1024); return $RCS; } /** * Pretty-print the checked out copy, using the Horde::Mime::Viewer package. * * @@param object $CVS CVSLib object of the desired CVS repository * @@param string ext File extension of the checked out file * @@param resource fp File pointer to the head of the checked out copy * @@return object The MIME_Viewer object which can be rendered or * false on failure */ function &pretty(&$CVS, $ext, $fp) { $lns = ''; while ($ln = fread($fp, 4096)) { $lns .= $ln; } $mime_type = MIME_Magic::extToMIME($ext); if (!isset($mime_type)) { return false; } $mime = new MIME_Part($mime_type, $lns); return MIME_Viewer::factory($mime); } } ?> @ 1.6 log @Updated @ text @d23 1 a23 1 * revision of an RCS file. @ 1.5 log @Updated @ text @d28 1 a28 1 * @@param stdout is output expected to STDOUT? - default YES @ 1.4 log @Updated @ text @d27 2 @ 1.3 log @Updated @ text @d29 1 a29 1 function get(&$CVS, $fullname, $rev, $flags="") { d42 5 a46 1 d51 2 a52 1 @ 1.2 log @Updated @ text @d37 2 a38 2 if (!($RCS = popen($CVS->conf['paths']['co'] . " $flags $Q$fullname$Q 2>&1", 'r'))) { d50 1 a50 1 return new CVSLib_Error(CVSLIB_INTERNAL_ERROR, "Unexpected output from CVS Checkout: $co"); @ 1.1 log @Updated @ text @d29 2 a30 2 function get(&$CVS, $fullname, $rev, $lock=FALSE) { $flags =""; a34 1 if ($lock) $flags .= " -l"; @ phpmole/pear/CVSLib/CVSLib/CVS/0002755000175000017500000000000007641002072016120 5ustar alanalan00000000000000phpmole/pear/CVSLib/CVSLib/CVS/Root0000644000175000017500000000010107400336155016761 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/pear/CVSLib/CVSLib/CVS/Repository0000644000175000017500000000003307400336155020221 0ustar alanalan00000000000000phpmole/pear/CVSLib/CVSLib phpmole/pear/CVSLib/CVSLib/CVS/Entries0000644000175000017500000000000207400415622017444 0ustar alanalan00000000000000D phpmole/pear/CVSLib/CVSLib/CVS/.mappedfiles/0002755000175000017500000000000007641002072020467 5ustar alanalan00000000000000phpmole/pear/CVSLib/CVSLib/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002072023767 2Repositoryustar alanalan00000000000000phpmole/pear/CVS/0002755000175000017500000000000007641002072013754 5ustar alanalan00000000000000phpmole/pear/CVS/Root0000644000175000017500000000010107400335552014615 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/pear/CVS/Repository0000644000175000017500000000001507400335552016055 0ustar alanalan00000000000000phpmole/pear phpmole/pear/CVS/Entries0000644000175000017500000000004507400343565015315 0ustar alanalan00000000000000D/CVSLib//// D/Phpmole_Installer//// phpmole/pear/CVS/.mappedfiles/0002755000175000017500000000000007641002072016323 5ustar alanalan00000000000000phpmole/pear/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002072021623 2Repositoryustar alanalan00000000000000phpmole/pear/Phpmole_Installer/0002755000175000017500000000000007433427270016754 5ustar alanalan00000000000000phpmole/pear/Phpmole_Installer/CVS/0002755000175000017500000000000007641002072017375 5ustar alanalan00000000000000phpmole/pear/Phpmole_Installer/CVS/Root0000644000175000017500000000010107400342053020230 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/pear/Phpmole_Installer/CVS/Repository0000644000175000017500000000003707400342053021474 0ustar alanalan00000000000000phpmole/pear/Phpmole_Installer phpmole/pear/Phpmole_Installer/CVS/Entries0000644000175000017500000000000207433427376020740 0ustar alanalan00000000000000D phpmole/pear/Phpmole_Installer/CVS/.mappedfiles/0002755000175000017500000000000007641002072021744 5ustar alanalan00000000000000phpmole/pear/Phpmole_Installer/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002072025244 2Repositoryustar alanalan00000000000000phpmole/pear/Phpmole_Installer/RCS/0002700000175000017500000000000007641002073017360 5ustar alanalan00000000000000phpmole/pear/Phpmole_Installer/RCS/.mappedfiles/0002700000175000017500000000000007641002073021727 5ustar alanalan00000000000000phpmole/pear/Phpmole_Installer/RCS/.mappedfiles/PACKAG~1.XML0000777000175000017500000000000007641002073026102 2package.xml,vustar alanalan00000000000000phpmole/pear/Phpmole_Installer/RCS/.mappedfiles/INSTAL~1.PHP0000777000175000017500000000000007641002073026526 2installer.php,vustar alanalan00000000000000phpmole/pear/Phpmole_Installer/RCS/.mappedfiles/PHPMOL~1.CLA0000777000175000017500000000000007641002073030545 2phpmole_installer.class,vustar alanalan00000000000000phpmole/pear/Phpmole_Installer/RCS/package.xml,v0000755000175000017500000000252707400346024021760 0ustar alanalan00000000000000head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2001.11.26.04.58.51; author alan; state Exp; branches; next ; desc @Updated @ 1.1 log @Updated @ text @ Phpmole_Installer Generic Install Module alan_k Alan Knowles alan_k@@hklc.com 1.0 2001-11-20 Installer module - nearly there ... /Phpmole_Installer --------------INSTALL COMPLETED--------------- / /package.xml /installer.php /phpmole_installer.class cvs.sourceforge.net cgi-bin/viewcvs.cgi phpmole-ide/phpmole/pear/Phpmole_Installer @ phpmole/pear/Phpmole_Installer/RCS/installer.php,v0000755000175000017500000001743207433427035022362 0ustar alanalan00000000000000head 1.18; access; symbols; locks; strict; comment @# @; 1.18 date 2002.02.16.10.02.05; author alan; state Exp; branches; next 1.17; 1.17 date 2001.11.26.05.58.04; author alan; state Exp; branches; next 1.16; 1.16 date 2001.11.26.05.57.37; author alan; state Exp; branches; next 1.15; 1.15 date 2001.11.26.05.35.58; author alan; state Exp; branches; next 1.14; 1.14 date 2001.11.26.05.32.40; author alan; state Exp; branches; next 1.13; 1.13 date 2001.11.26.05.32.10; author alan; state Exp; branches; next 1.12; 1.12 date 2001.11.26.05.28.32; author alan; state Exp; branches; next 1.11; 1.11 date 2001.11.26.05.27.50; author alan; state Exp; branches; next 1.10; 1.10 date 2001.11.26.05.27.48; author alan; state Exp; branches; next 1.9; 1.9 date 2001.11.26.05.23.38; author alan; state Exp; branches; next 1.8; 1.8 date 2001.11.26.05.23.36; author alan; state Exp; branches; next 1.7; 1.7 date 2001.11.26.05.22.17; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.26.05.21.35; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.26.05.20.38; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.26.05.19.51; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.26.05.18.04; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.26.05.08.52; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.26.05.00.27; author alan; state Exp; branches; next ; desc @Updated @ 1.18 log @Updated @ text @ "Phpmole/languages/HTML/parser_HTML_base.class", "phpmole/languages/XML/parser_XML.class" => "Phpmole/languages/XML/parser_XML.class", "phpmole/pear/Phpmole_Installer/phpmole_installer.class" => "Phpmole_Installer/phpmole_installer.class", "phpmole/pear/Phpmole_Installer/installer.php" => "Phpmole_Installer/installer.php" ); foreach($required_files as $file => $destfile) if (!file_exists("$peardir/$destfile") || $upgrade) { echo "FETCHING $phpmole_cvs{$file}?rev=HEAD\n"; $data = implode("",file("$phpmole_cvs{$file}?rev=HEAD")); echo "WRITING $peardir/$destfile\n"; $fh = fopen("$peardir/$destfile","w"); fwrite($fh,$data); fclose($fh); } //include_once("phpmole_installer.class"); include_once("Phpmole_Installer/phpmole_installer.class"); if (!class_exists("phpmole_installer")) { echo "ERROR load installer - Phpmole_Installer/phpmole_installer.class \n"; exit; } /* END OF MESSY STUFF */ global $install_file; if ($install_file) echo "INSTALLING FROM $install_file\n"; $installer = new phpmole_installer(); $installer->peardir = $peardir; $installer->upgrade=$upgrade; $installer->install(@@$install_file); $phpmole_installer_loaded=1; ?>@ 1.17 log @Updated @ text @d1 1 a1 1 "Phpmole_Installer/phpmole_installer.class", "phpmole/installer/pear/installer.php" => "Phpmole_Installer/installer.php" @ 1.4 log @Updated @ text @d75 1 a75 1 "phpmole/installer/pear/installer" => "Phpmole_Installer/installer.php" @ 1.3 log @Updated @ text @d56 1 a56 1 $phpmole_cvs = "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/phpmole-ide/phpmole/"; d72 4 a75 4 "Phpmole/languages/HTML/parser_HTML_base.class" => "/languages/HTML/parser_HTML_base.class", "Phpmole/languages/XML/parser_XML.class" => "/languages/XML/parser_XML.class", "Phpmole/installer/pear/phpmole_installer.class"=> "Phpmole_Installer/phpmole_installer.class", "Phpmole/installer/pear/installer" => "Phpmole_Installer/installer.php" @ 1.2 log @Updated @ text @d73 2 a74 2 "Phpmole/languages/XML/parser_XML.class" => "/languages/XML/parser_XML.class",, "Phpmole/installer/pear/phpmole_installer.class"=> "Phpmole_Installer/phpmole_installer.class" @ 1.1 log @Updated @ text @d70 1 a70 1 $destprefix = ""; d72 4 a75 3 "Phpmole/languages/HTML/parser_HTML_base.class", "Phpmole/languages/XML/parser_XML.class", "Phpmole/installer/pear/phpmole_installer.class" d77 2 a78 2 foreach($required_files as $file) if (!file_exists("$peardir{$destprefix}/$file")) { d81 2 a82 2 echo "WRITING $peardir{$destprefix}/$file\n"; $fh = fopen("$peardir{$destprefix}/$file","w"); d88 1 a88 1 include_once("Phpmole/installer/phpmole_installer.class"); d90 1 a90 1 echo "ERROR load installer - Phpmole/installer/phpmole_installer.class \n"; @ phpmole/pear/Phpmole_Installer/RCS/phpmole_installer.class,v0000755000175000017500000002351507433427052024422 0ustar alanalan00000000000000head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2002.02.16.10.02.18; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.26.05.44.24; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.26.05.40.25; author alan; state Exp; branches; next ; desc @Updated @ 1.3 log @Updated @ text @ Net_NNTP Communicate with an NNTP server kaltroft Martin Kaltroft martin@@nitro.dk 0.1 2001-04-19 This is the initial independent release of the NNTP package. / NNTP.php ** EXTENSIONS TO PAIR STANDARD! cvs.php.net pear/Net_NNTP cvs.sourceforge.net cgi-bin/viewcvs.cgi phpmole-ide/phpmole */ require_once("Phpmole/languages/XML/parser_XML.class"); class phpmole_installer { var $phpmole_cvs = "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/phpmole-ide/phpmole/"; var $peardir = "/usr/lib/php"; var $upgrade =0; // set to 1 to force a download var $installbase = ""; // installer vars var $cvsweb_revision =""; var $chora_revision =""; function install($xmlfile="") { if (!$xmlfile) $xmlfile = $this->phpmole_cvs . "package.xml?rev=HEAD"; echo "Installing from file $xmlfile\n"; $data = implode("",file($xmlfile)); $this->parser = &new parser_xml(); $this->parser->data = $data; $this->parser->html_parse(); // now get the information about where to install from! $this->get_chora_settings(); $this->get_cvsweb_settings(); $this->set_installbase(); $this->installdir = $this->peardir . $this->installbase; $this->check_dependancies(); $this->check_recommends(); // $this->host_prefix & host_suffix now should be set! // get the list of files $this->get_files(); $this->create_dirs(); $this->fetch_files(); $this->post_install(); } function post_install() { $id = $this->parser->find(0,"postinstall"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $data = $subelement->children[0][1]; if ($subelement->title == "package") { $installer = &new phpmole_installer(); $installer->peardir = $this->peardir; $installer->upgrade= $this->upgrade; $installer->install($this->installdir.$data); } if ($subelement->title == "packageurl") { $installer = &new phpmole_installer(); $installer->peardir = $this->peardir; $installer->install($data); } if ($subelement->title == "message") { echo $data; } } } } function get_chora_settings() { $id = $this->parser->find(0,"chora"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $setting = "chora_". $subelement->title; $this->$setting = $subelement->children[0][1]; //STRING,"VALUE" } } if (!$this->chora_revision) $this->chora_revision = "p=1"; if ($this->chora_host && $this->chora_dir) { $this->host_prefix = "http://{$this->chora_host}/co.php/{$this->chora_dir}/"; $this->host_suffix = "?".$this->chora_revision; } // should really handle destinct revisions per file .. later.... } function get_cvsweb_settings() { $id = $this->parser->find(0,"cvsweb"); //echo "ID IS $id"; if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $setting = "cvsweb_". $subelement->title; //echo "SETTING $setting {$subelement->children[0][1]}\n"; $this->$setting = $subelement->children[0][1]; //STRING,"VALUE" } } if (!$this->cvsweb_revision) $this->cvsweb_revision = "rev=HEAD"; if ($this->cvsweb_host && $this->cvsweb_root && $this->cvsweb_dir ) { $this->host_prefix = "http://{$this->cvsweb_host}/{$this->cvsweb_root}/{$this->cvsweb_dir}"; $this->host_suffix = "?".$this->cvsweb_revision; } // should really handle destinct revisions per file .. later.... } function set_installbase() { $id = $this->parser->find(0,"installbase"); if (!$id) return; $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); $this->installbase = $subelement->children[0][1]; //STRING,"VALUE" } } } function check_dependancies() { $id = $this->parser->find(0,"depends"); if (!$id) return; $extensiondir = ini_get("extension_dir"); $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); if ($subelement->title == "module") { $module = $subelement->children[0][1]; $modname = str_replace("_","-",$module); if (!extension_loaded($modname) && !file_exists("$extensiondir/$module.so") && !file_exists("$extensiondir/$module.dll") && !file_exists("$extensiondir/php_$module.dll") ) { echo "CAN NOT FIND module $module\n Please make sure it is installed and you extension dir is set correctly\n"; exit; } else { if (file_exists("$extensiondir/$module.so")) dl("$module.so"); if (file_exists("$extensiondir/$module.dll")) dl("$module.dll"); if (file_exists("$extensiondir/php_$module.dll")) dl("php_$module.dll"); } } if ($subelement->title == "class") { $class = $subelement->children[0][1]; if (!class_exists($class)) { echo "CAN NOT FIND class definition for $class\nPlease make sure that it is available\n"; exit; } } } } } function check_recommends() { $id = $this->parser->find(0,"recommends"); if (!$id) return; $extensiondir = ini_get("extension_dir"); $element = $this->parser->get_element($id); foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); if ($subelement->title == "module") { $module = $subelement->children[0][1]; $modname = str_replace("_","-",$module); if (!extension_loaded($modname) && !file_exists("$extensiondir/$module.so") && !file_exists("$extensiondir/$module.dll") && !file_exists("$extensiondir/php_$module.dll") ) { echo "WARNING CAN NOT FIND module $module\n This is a recommended module - please try and install it\n"; exit; } else { if (file_exists("$extensiondir/$module.so")) dl("$module.so"); if (file_exists("$extensiondir/$module.dll")) dl("$module.dll"); if (file_exists("$extensiondir/php_$module.dll")) dl("php_$module.dll"); } } if ($subelement->title == "class") { $class = $subelement->children[0][1]; if (!class_exists($class)) { echo "CAN NOT FIND class definition for $class\nThis is a recommended class please make sure it is installed\n"; } } } } } function get_files() { $id = $this->parser->find(0,"filelist"); if (!$id) return; $this->files = array(); $this->dirs = array(); $element = $this->parser->get_element($id); if ($element->children) foreach ($element->children as $child) { if (is_int($child)) { $subelement = $this->parser->get_element($child); //echo serialize($subelement)."\n"; if ($subelement->title == "file") $this->files[] = $subelement->children[0][1]; //STRING,"VALUE" if ($subelement->title == "dir") $this->dirs[] = $subelement->children[0][1]; //STRING,"VALUE" } } } function fetch_files() { //echo serialize($this->files); if (!@@$this->files) return; $total = count($this->files); $i=0; foreach($this->files as $file) { $destname = $this->installdir . $file; $source = $this->host_prefix . $file . $this->host_suffix; if (!file_exists($destname) || $this->upgrade) { echo "Fetching File {$i} of {$total} : $file\n"; $data = implode("",file($source)); if (!$data) { echo "Empty file retrieving $file"; continue; } echo "Writing to $destname\n"; $fh = fopen($destname,"w"); fwrite($fh,$data); if (ereg("\.php$", $destname)) chmod ($destname, 0755); fclose($fh); } $i++; } } function create_dirs() { if (!@@$this->dirs) return; foreach($this->dirs as $dir) { $destname = $this->installdir . $dir; if (!file_exists($destname)) mkdir($destname,0755); } } } @ 1.2 log @Updated @ text @d1 1 a1 1 gtkMidgard gtkmidgard src C False False GtkWindow winMain False draw on_winMain_draw Thu, 06 Sep 2001 21:29:07 GMT phpIDE GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True False GtkVBox vbox1 False 0 GtkHandleBox handlebox2 GTK_SHADOW_OUT GTK_POS_LEFT GTK_POS_TOP 0 False False GtkMenuBar menubar1 GTK_SHADOW_OUT GtkMenuItem menu_file False GtkMenu menu_file_menu GtkMenuItem separator20 False GtkMenuItem menu_add_bookmark activate on_new_bookmark_activate Wed, 19 Sep 2001 18:26:28 GMT False GtkMenuItem separator2 False GtkMenuItem new GDK_CONTROL_MASK GDK_N activate activate on_open_newfile_activate Mon, 25 Feb 2002 06:41:17 GMT False GtkMenuItem open GDK_CONTROL_MASK GDK_O activate activate on_open_file_activate Mon, 25 Feb 2002 06:05:39 GMT False GtkMenuItem menu_save GDK_CONTROL_MASK GDK_S activate activate on_save_activate Thu, 06 Sep 2001 17:46:57 GMT False GtkMenuItem save_as activate on_save_as_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem save_all activate on_save_all_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator3 False GtkMenuItem menu_close GDK_CONTROL_MASK GDK_W activate activate on_close_activate Wed, 12 Sep 2001 01:04:54 GMT False GtkMenuItem close_all activate on_close_all_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator11 False GtkMenuItem open_recent False GtkMenu open_recent_menu GtkMenuItem separator29 False GtkMenuItem recent_files False activate on_recent_files_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator30 False GtkMenuItem separator9 False GtkMenuItem print False GDK_CONTROL_MASK GDK_P activate activate on_print1_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator10 False GtkMenuItem menu_exit GDK_CONTROL_MASK GDK_Q activate activate on_exit_activate Thu, 06 Sep 2001 17:49:33 GMT False GtkMenuItem separator28 False GtkMenuItem menu_edit False GtkMenu menu_edit_menu GtkMenuItem separator21 False GtkMenuItem menu_undo activate on_undo Thu, 13 Sep 2001 17:45:25 GMT False GtkMenuItem menu_redo activate on_redo Thu, 13 Sep 2001 17:45:25 GMT False GtkMenuItem separator4 False GtkMenuItem menu_cut GDK_CONTROL_MASK GDK_X activate activate on_cut Thu, 13 Sep 2001 17:39:34 GMT False GtkMenuItem menu_copy GDK_CONTROL_MASK GDK_C activate activate on_copy Thu, 13 Sep 2001 17:39:37 GMT False GtkMenuItem menu_paste GDK_CONTROL_MASK GDK_V activate activate on_paste Thu, 13 Sep 2001 17:39:43 GMT False GtkMenuItem separator5 False GtkMenuItem menu_select_all GDK_CONTROL_MASK GDK_A activate activate on_select_all Thu, 13 Sep 2001 17:39:49 GMT False GtkMenuItem separator6 False GtkMenuItem menu_find GDK_CONTROL_MASK GDK_F activate activate on_find_activate Mon, 10 Sep 2001 23:17:55 GMT False GtkMenuItem menu_find_again GDK_CONTROL_MASK GDK_G activate activate on_find_again_activate Wed, 12 Sep 2001 15:31:40 GMT False GtkMenuItem menu_replace GDK_CONTROL_MASK GDK_R activate activate on_replace_activate Tue, 11 Sep 2001 20:37:34 GMT False GtkMenuItem separator13 False GtkMenuItem insert_standart_text1 False GtkMenu auto_text_menu GtkMenuItem separator31 False GtkMenuItem separator14 False GtkMenuItem comment_code activate on_comment_code_activate Thu, 21 Feb 2002 07:39:19 GMT False GtkMenuItem uncomment_code activate on_uncomment_code_activate Thu, 21 Feb 2002 07:39:19 GMT False GtkMenuItem separator15 False GtkMenuItem autocomplete GDK_CONTROL_MASK GDK_space activate activate on_complete_word_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator27 False GtkMenuItem menu_view False GtkMenu menu_view_menu GtkMenuItem separator22 False GtkCheckMenuItem menu_view_module_frame GDK_CONTROL_MASK GDK_M activate activate on_view_module_frame_activate Tue, 12 Feb 2002 08:20:21 GMT True True GtkCheckMenuItem menu_view_tree_frame activate on_view_tree_frame_activate Thu, 21 Feb 2002 09:14:16 GMT False True GtkMenuItem separator12 False GtkCheckMenuItem show_white_space activate on_show_white_space_activate Thu, 21 Feb 2002 07:36:51 GMT False True GtkCheckMenuItem show_line_breaks activate on_show_line_breaks_activate Thu, 21 Feb 2002 07:36:51 GMT False True GtkCheckMenuItem show_folding activate on_view_folding_activate Thu, 21 Feb 2002 07:43:15 GMT False True GtkMenuItem separator16 False GtkMenuItem change_language activate on_change_language_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator26 False GtkMenuItem menu_settings2 False GtkMenu menu_settings2_menu GtkMenuItem separator23 False GtkMenuItem configuration activate on_configuration_activate Tue, 05 Feb 2002 02:58:00 GMT False GtkMenuItem separator7 False GtkMenuItem language_settings activate on_language_settings_activate Sun, 02 Dec 2001 03:04:03 GMT False GtkMenuItem separator25 False GtkMenuItem help1 False GtkMenu help1_menu GtkMenuItem separator24 False GtkMenuItem about activate on_about_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator17 False GtkMenuItem phpmole_help1 False activate on_phpmole_help1_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem phpmole_home_page activate on_phpmole_home_page_activate Wed, 21 Nov 2001 08:31:12 GMT False GtkMenuItem report_or_view_bugs activate on_report_or_view_bugs_activate Wed, 21 Nov 2001 08:31:12 GMT False GtkMenuItem separator18 False GtkMenuItem help_php_gtk activate on_help_php_gtk_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem help_php activate on_help_php_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem help_gtk activate on_help_gtk_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator19 False GtkHandleBox handlebox1 GTK_SHADOW_NONE GTK_POS_LEFT GTK_POS_TOP 0 False False GtkToolbar maintoolbar 1 GTK_ORIENTATION_HORIZONTAL GTK_TOOLBAR_ICONS 0 GTK_TOOLBAR_SPACE_EMPTY GTK_RELIEF_NONE True GtkButton Toolbar:button btnNew New clicked on_open_newfile_activate Mon, 25 Feb 2002 06:38:09 GMT stock_new.xpm GtkButton Toolbar:button btnOpen Open clicked on_open_file_activate Mon, 25 Feb 2002 06:05:47 GMT stock_open.xpm GtkLabel label2 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnSave Save clicked on_save_activate Wed, 19 Sep 2001 18:16:53 GMT stock_save.xpm GtkButton Toolbar:button btnSaveAll Save All clicked on_save_all_activate Thu, 21 Feb 2002 07:18:20 GMT stock_save_all.xpm GtkButton Toolbar:button btnClose Close clicked on_close_activate Wed, 12 Sep 2001 01:05:32 GMT stock_close.xpm GtkButton Toolbar:button btnReload Revert to Saved clicked on_reload_activate Thu, 21 Feb 2002 07:18:11 GMT stock_refresh.xpm GtkLabel label1 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnUndo Undo clicked on_undo Thu, 13 Sep 2001 17:39:09 GMT stock_undo.xpm GtkButton Toolbar:button btnRedo Redo clicked on_redo Thu, 13 Sep 2001 17:39:04 GMT stock_redo.xpm GtkLabel label3 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnPrint False Print (not yet) clicked on_print Thu, 21 Feb 2002 07:16:50 GMT stock_print.xpm GtkToggleButton Toolbar:button btn_view_module_frame Show/Hide the Module Frame toggled on_view_module_frame_activate Wed, 13 Feb 2002 08:58:44 GMT stock_menu_hide_show.xpm False GtkToggleButton Toolbar:button btn_view_tree_frame Show/Hide the Tree frame toggled on_view_tree_frame_activate Thu, 21 Feb 2002 07:16:31 GMT stock_menu_hide_show2.xpm False GtkLabel label4 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkEntry find_box 35 Find some text True key_press_event on_find_box_key_press_activate Mon, 25 Feb 2002 05:36:34 GMT True True 0 GtkButton Toolbar:button btnSearch Search clicked on_find_activate Wed, 12 Sep 2001 01:10:03 GMT stock_search.xpm GtkEntry goto_line 35 Go to a line True key_press_event on_goto_line_key_press_activate Mon, 25 Feb 2002 05:37:05 GMT True True 0 GtkPixmap pixmap1 stock_menu_scores.xpm 0.5 0.5 0 0 True GtkLabel label5 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnStop False Stop Execution (not yest) clicked on_stop_clicked Thu, 21 Feb 2002 06:52:48 GMT stock_stop2.xpm GtkButton Toolbar:button btnRun Run / Execute / Show URL clicked on_Run_clicked Thu, 13 Sep 2001 17:37:40 GMT stock_right_arrow.xpm GtkLabel label6 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnHelp Help clicked on_about_activate Mon, 25 Feb 2002 06:09:27 GMT stock_help2.xpm GtkVBox layout_holder False 0 0 True True Placeholder GtkStatusbar statusbar1 0 False False phpmole/glade/phpide.glade0000644000175000017500000007760507463403312015736 0ustar alanalan00000000000000 gtkMidgard gtkmidgard src C False False GtkWindow winMain False draw on_winMain_draw Thu, 06 Sep 2001 21:29:07 GMT phpIDE GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True False GtkVBox vbox1 False 0 GtkHandleBox handlebox2 GTK_SHADOW_OUT GTK_POS_LEFT GTK_POS_TOP 0 False False GtkMenuBar menubar1 GTK_SHADOW_OUT GtkMenuItem menu_file False GtkMenu menu_file_menu GtkMenuItem separator20 False GtkMenuItem menu_add_bookmark activate on_new_bookmark_activate Wed, 19 Sep 2001 18:26:28 GMT False GtkMenuItem separator2 False GtkMenuItem new GDK_CONTROL_MASK GDK_N activate activate on_open_newfile_activate Mon, 25 Feb 2002 06:41:17 GMT False GtkMenuItem open GDK_CONTROL_MASK GDK_O activate activate on_open_file_activate Mon, 25 Feb 2002 06:05:39 GMT False GtkMenuItem menu_save GDK_CONTROL_MASK GDK_S activate activate on_save_activate Thu, 06 Sep 2001 17:46:57 GMT False GtkMenuItem save_as activate on_save_as_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem save_all activate on_save_all_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator3 False GtkMenuItem menu_close GDK_CONTROL_MASK GDK_W activate activate on_close_activate Wed, 12 Sep 2001 01:04:54 GMT False GtkMenuItem close_all activate on_close_all_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator11 False GtkMenuItem open_recent False GtkMenu open_recent_menu GtkMenuItem separator29 False GtkMenuItem recent_files False activate on_recent_files_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator30 False GtkMenuItem separator9 False GtkMenuItem print False GDK_CONTROL_MASK GDK_P activate activate on_print1_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator10 False GtkMenuItem menu_exit GDK_CONTROL_MASK GDK_Q activate activate on_exit_activate Thu, 06 Sep 2001 17:49:33 GMT False GtkMenuItem separator28 False GtkMenuItem menu_edit False GtkMenu menu_edit_menu GtkMenuItem separator21 False GtkMenuItem menu_undo activate on_undo Thu, 13 Sep 2001 17:45:25 GMT False GtkMenuItem menu_redo activate on_redo Thu, 13 Sep 2001 17:45:25 GMT False GtkMenuItem separator4 False GtkMenuItem menu_cut GDK_CONTROL_MASK GDK_X activate activate on_cut Thu, 13 Sep 2001 17:39:34 GMT False GtkMenuItem menu_copy GDK_CONTROL_MASK GDK_C activate activate on_copy Thu, 13 Sep 2001 17:39:37 GMT False GtkMenuItem menu_paste GDK_CONTROL_MASK GDK_V activate activate on_paste Thu, 13 Sep 2001 17:39:43 GMT False GtkMenuItem separator5 False GtkMenuItem menu_select_all GDK_CONTROL_MASK GDK_A activate activate on_select_all Thu, 13 Sep 2001 17:39:49 GMT False GtkMenuItem separator6 False GtkMenuItem menu_find GDK_CONTROL_MASK GDK_F activate activate on_find_activate Mon, 10 Sep 2001 23:17:55 GMT False GtkMenuItem menu_find_again GDK_CONTROL_MASK GDK_G activate activate on_find_again_activate Wed, 12 Sep 2001 15:31:40 GMT False GtkMenuItem menu_replace GDK_CONTROL_MASK GDK_R activate activate on_replace_activate Tue, 11 Sep 2001 20:37:34 GMT False GtkMenuItem separator13 False GtkMenuItem insert_standart_text1 False GtkMenu auto_text_menu GtkMenuItem separator31 False GtkMenuItem separator14 False GtkMenuItem comment_code activate on_comment_code_activate Thu, 21 Feb 2002 07:39:19 GMT False GtkMenuItem uncomment_code activate on_uncomment_code_activate Thu, 21 Feb 2002 07:39:19 GMT False GtkMenuItem separator15 False GtkMenuItem autocomplete GDK_CONTROL_MASK GDK_space activate activate on_complete_word_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator27 False GtkMenuItem menu_view False GtkMenu menu_view_menu GtkMenuItem separator22 False GtkCheckMenuItem menu_view_module_frame GDK_CONTROL_MASK GDK_M activate activate on_view_module_frame_activate Tue, 12 Feb 2002 08:20:21 GMT True True GtkCheckMenuItem menu_view_tree_frame activate on_view_tree_frame_activate Thu, 21 Feb 2002 09:14:16 GMT False True GtkMenuItem separator12 False GtkCheckMenuItem show_white_space activate on_show_white_space_activate Thu, 21 Feb 2002 07:36:51 GMT False True GtkCheckMenuItem show_line_breaks activate on_show_line_breaks_activate Thu, 21 Feb 2002 07:36:51 GMT False True GtkCheckMenuItem show_folding activate on_view_folding_activate Thu, 21 Feb 2002 07:43:15 GMT False True GtkMenuItem separator16 False GtkMenuItem change_language activate on_change_language_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator26 False GtkMenuItem menu_settings2 False GtkMenu menu_settings2_menu GtkMenuItem separator23 False GtkMenuItem configuration activate on_configuration_activate Tue, 05 Feb 2002 02:58:00 GMT False GtkMenuItem separator7 False GtkMenuItem language_settings activate on_language_settings_activate Sun, 02 Dec 2001 03:04:03 GMT False GtkMenuItem separator25 False GtkMenuItem help1 False GtkMenu help1_menu GtkMenuItem separator24 False GtkMenuItem about activate on_about_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator17 False GtkMenuItem phpmole_help1 False activate on_phpmole_help1_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem phpmole_home_page activate on_phpmole_home_page_activate Wed, 21 Nov 2001 08:31:12 GMT False GtkMenuItem report_or_view_bugs activate on_report_or_view_bugs_activate Wed, 21 Nov 2001 08:31:12 GMT False GtkMenuItem separator18 False GtkMenuItem help_php_gtk activate on_help_php_gtk_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem help_php activate on_help_php_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem help_gtk activate on_help_gtk_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator19 False GtkHandleBox handlebox1 GTK_SHADOW_NONE GTK_POS_LEFT GTK_POS_TOP 0 False False GtkToolbar maintoolbar 1 GTK_ORIENTATION_HORIZONTAL GTK_TOOLBAR_ICONS 0 GTK_TOOLBAR_SPACE_EMPTY GTK_RELIEF_NONE True GtkButton Toolbar:button btnNew New clicked on_open_newfile_activate Mon, 25 Feb 2002 06:38:09 GMT stock_new.xpm GtkButton Toolbar:button btnOpen Open clicked on_open_file_activate Mon, 25 Feb 2002 06:05:47 GMT stock_open.xpm GtkLabel label2 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnSave Save clicked on_save_activate Wed, 19 Sep 2001 18:16:53 GMT stock_save.xpm GtkButton Toolbar:button btnSaveAll Save All clicked on_save_all_activate Thu, 21 Feb 2002 07:18:20 GMT stock_save_all.xpm GtkButton Toolbar:button btnClose Close clicked on_close_activate Wed, 12 Sep 2001 01:05:32 GMT stock_close.xpm GtkButton Toolbar:button btnReload Revert to Saved clicked on_reload_activate Thu, 21 Feb 2002 07:18:11 GMT stock_revert.xpm GtkLabel label1 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnUndo Undo clicked on_undo Thu, 13 Sep 2001 17:39:09 GMT stock_undo.xpm GtkButton Toolbar:button btnRedo Redo clicked on_redo Thu, 13 Sep 2001 17:39:04 GMT stock_redo.xpm GtkLabel label3 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnPrint False Print (not yet) clicked on_print Thu, 21 Feb 2002 07:16:50 GMT stock_print.xpm GtkToggleButton Toolbar:button btn_view_module_frame Show/Hide the Module Frame toggled on_view_module_frame_activate Wed, 13 Feb 2002 08:58:44 GMT stock_menu_hide_show.xpm False GtkToggleButton Toolbar:button btn_view_tree_frame Show/Hide the Tree frame toggled on_view_tree_frame_activate Thu, 21 Feb 2002 07:16:31 GMT stock_menu_hide_show2.xpm False GtkLabel label4 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkEntry find_box 35 Find some text True key_press_event on_find_box_key_press_activate Mon, 25 Feb 2002 05:36:34 GMT True True 0 GtkButton Toolbar:button btnSearch Search clicked on_find_activate Wed, 12 Sep 2001 01:10:03 GMT stock_search.xpm GtkEntry goto_line 35 Go to a line True key_press_event on_goto_line_key_press_activate Mon, 25 Feb 2002 05:37:05 GMT True True 0 GtkPixmap pixmap1 stock_menu_scores.xpm 0.5 0.5 0 0 True GtkLabel label5 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnStop False Stop Execution (not yest) clicked on_stop_clicked Thu, 21 Feb 2002 06:52:48 GMT stock_stop2.xpm GtkButton Toolbar:button btnRun Run / Execute / Show URL clicked on_Run_clicked Thu, 13 Sep 2001 17:37:40 GMT stock_right_arrow.xpm GtkLabel label6 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnHelp Help clicked on_about_activate Mon, 25 Feb 2002 06:09:27 GMT stock_help2.xpm GtkVBox layout_holder False 0 0 True True Placeholder GtkStatusbar statusbar1 0 False False phpmole/glade/RCS/0002700000175000017500000000000007641002073014064 5ustar alanalan00000000000000phpmole/glade/RCS/.mappedfiles/0002700000175000017500000000000007641002073016433 5ustar alanalan00000000000000phpmole/glade/RCS/.mappedfiles/PHPIDE~1.GLA0000777000175000017500000000000007641002073022726 2phpide.glade,vustar alanalan00000000000000phpmole/glade/RCS/phpide.glade,v0000755000175000017500000011772107435126545016635 0ustar alanalan00000000000000head 1.8; access; symbols; locks; strict; comment @# @; 1.8 date 2002.02.21.08.18.20; author alan; state Exp; branches; next 1.7; 1.7 date 2002.02.21.08.15.46; author alan; state Exp; branches; next 1.6; 1.6 date 2002.02.21.08.15.01; author alan; state Exp; branches; next 1.5; 1.5 date 2002.02.21.08.14.46; author alan; state Exp; branches; next 1.4; 1.4 date 2002.02.21.08.14.29; author alan; state Exp; branches; next 1.3; 1.3 date 2002.02.21.07.04.17; author alan; state Exp; branches; next 1.2; 1.2 date 2002.02.21.06.58.26; author alan; state Exp; branches; next 1.1; 1.1 date 2002.02.12.11.05.27; author alan; state Exp; branches; next ; desc @Updated @ 1.8 log @Updated @ text @ gtkMidgard gtkmidgard src . C False False GtkWindow winMain False draw on_winMain_draw Thu, 06 Sep 2001 21:29:07 GMT phpIDE GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True False GtkVBox vbox1 False 0 GtkHandleBox handlebox2 GTK_SHADOW_OUT GTK_POS_LEFT GTK_POS_TOP 0 False False GtkMenuBar menubar1 GTK_SHADOW_OUT GtkMenuItem menu_file False GtkMenu menu_file_menu GtkMenuItem separator20 False GtkMenuItem menu_add_bookmark activate on_new_bookmark_activate Wed, 19 Sep 2001 18:26:28 GMT False GtkMenuItem separator2 False GtkMenuItem new GDK_CONTROL_MASK GDK_N activate activate on_new_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem menu_save GDK_CONTROL_MASK GDK_S activate activate on_save_activate Thu, 06 Sep 2001 17:46:57 GMT False GtkMenuItem save_as activate on_save_as_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem save_all activate on_save_all_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator3 False GtkMenuItem menu_close GDK_CONTROL_MASK GDK_W activate activate on_close_activate Wed, 12 Sep 2001 01:04:54 GMT False GtkMenuItem close_all activate on_close_all_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator11 False GtkMenuItem open_recent False GtkMenu open_recent_menu GtkMenuItem separator29 False GtkMenuItem recent_files activate on_recent_files_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator30 False GtkMenuItem separator9 False GtkMenuItem print1 GDK_CONTROL_MASK GDK_P activate activate on_print1_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator10 False GtkMenuItem menu_exit GDK_CONTROL_MASK GDK_Q activate activate on_exit_activate Thu, 06 Sep 2001 17:49:33 GMT False GtkMenuItem separator28 False GtkMenuItem menu_edit False GtkMenu menu_edit_menu GtkMenuItem separator21 False GtkMenuItem menu_undo activate on_undo Thu, 13 Sep 2001 17:45:25 GMT False GtkMenuItem menu_redo activate on_redo Thu, 13 Sep 2001 17:45:25 GMT False GtkMenuItem separator4 False GtkMenuItem menu_cut GDK_CONTROL_MASK GDK_X activate activate on_cut Thu, 13 Sep 2001 17:39:34 GMT False GtkMenuItem menu_copy GDK_CONTROL_MASK GDK_C activate activate on_copy Thu, 13 Sep 2001 17:39:37 GMT False GtkMenuItem menu_paste GDK_CONTROL_MASK GDK_V activate activate on_paste Thu, 13 Sep 2001 17:39:43 GMT False GtkMenuItem separator5 False GtkMenuItem menu_select_all GDK_CONTROL_MASK GDK_A activate activate on_select_all Thu, 13 Sep 2001 17:39:49 GMT False GtkMenuItem separator6 False GtkMenuItem menu_find GDK_CONTROL_MASK GDK_F activate activate on_find_activate Mon, 10 Sep 2001 23:17:55 GMT False GtkMenuItem menu_find_again GDK_CONTROL_MASK GDK_G activate activate on_find_again_activate Wed, 12 Sep 2001 15:31:40 GMT False GtkMenuItem menu_replace GDK_CONTROL_MASK GDK_R activate activate on_replace_activate Tue, 11 Sep 2001 20:37:34 GMT False GtkMenuItem separator13 False GtkMenuItem insert_standart_text1 False GtkMenu insert_standart_text1_menu GtkMenuItem separator31 False GtkMenuItem insert_gpl_headers_php activate on_insert_gpl_headers_php_activate Thu, 21 Feb 2002 07:38:11 GMT False GtkMenuItem separator32 False GtkMenuItem separator14 False GtkMenuItem comment_code activate on_comment_code_activate Thu, 21 Feb 2002 07:39:19 GMT False GtkMenuItem uncomment_code activate on_uncomment_code_activate Thu, 21 Feb 2002 07:39:19 GMT False GtkMenuItem separator15 False GtkMenuItem autocompltete activate on_complete_word_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator27 False GtkMenuItem menu_view False GtkMenu menu_view_menu GtkMenuItem separator22 False GtkCheckMenuItem menu_view_module_frame GDK_CONTROL_MASK GDK_M activate activate on_view_module_frame_activate Tue, 12 Feb 2002 08:20:21 GMT True True GtkMenuItem view_tree_frame2 activate on_view_tree_frame2_activate Thu, 21 Feb 2002 07:36:02 GMT False GtkMenuItem separator12 False GtkCheckMenuItem show_white_space activate on_show_white_space_activate Thu, 21 Feb 2002 07:36:51 GMT False True GtkCheckMenuItem show_line_breaks activate on_show_line_breaks_activate Thu, 21 Feb 2002 07:36:51 GMT False True GtkCheckMenuItem view_folding activate on_view_folding_activate Thu, 21 Feb 2002 07:43:15 GMT False True GtkMenuItem separator16 False GtkMenuItem change_language activate on_change_language_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator26 False GtkMenuItem menu_settings2 False GtkMenu menu_settings2_menu GtkMenuItem separator23 False GtkMenuItem configuration activate on_configuration_activate Tue, 05 Feb 2002 02:58:00 GMT False GtkMenuItem separator7 False GtkMenuItem language_settings activate on_language_settings_activate Sun, 02 Dec 2001 03:04:03 GMT False GtkMenuItem separator25 False GtkMenuItem help1 False GtkMenu help1_menu GtkMenuItem separator24 False GtkMenuItem about activate on_about_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator17 False GtkMenuItem phpmole_help1 activate on_phpmole_help1_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem phpmole_home_page activate on_phpmole_home_page_activate Wed, 21 Nov 2001 08:31:12 GMT False GtkMenuItem report_or_view_bugs activate on_report_or_view_bugs_activate Wed, 21 Nov 2001 08:31:12 GMT False GtkMenuItem separator18 False GtkMenuItem help_php_gtk activate on_help_php_gtk_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem help_php activate on_help_php_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem help_gtk activate on_help_gtk_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator19 False GtkHandleBox handlebox1 GTK_SHADOW_NONE GTK_POS_LEFT GTK_POS_TOP 0 False False GtkToolbar maintoolbar 1 GTK_ORIENTATION_HORIZONTAL GTK_TOOLBAR_ICONS 0 GTK_TOOLBAR_SPACE_EMPTY GTK_RELIEF_NONE True GtkButton Toolbar:button btnNew New clicked on_new_activate Thu, 21 Feb 2002 07:19:28 GMT stock_new.xpm GtkButton Toolbar:button btnOpen Open clicked on_open_activate Thu, 21 Feb 2002 07:19:46 GMT stock_open.xpm GtkLabel label2 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnSave Save clicked on_save_activate Wed, 19 Sep 2001 18:16:53 GMT stock_save.xpm GtkButton Toolbar:button button3 Save All clicked on_save_all_activate Thu, 21 Feb 2002 07:18:20 GMT stock_save_all.xpm GtkButton Toolbar:button btnClose Close clicked on_close_activate Wed, 12 Sep 2001 01:05:32 GMT stock_close.xpm GtkButton Toolbar:button btnReload Revert to Saved clicked on_reload_activate Thu, 21 Feb 2002 07:18:11 GMT stock_refresh.xpm GtkLabel label1 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnUndo Undo clicked on_undo Thu, 13 Sep 2001 17:39:09 GMT stock_undo.xpm GtkButton Toolbar:button btnRedo Redo clicked on_redo Thu, 13 Sep 2001 17:39:04 GMT stock_redo.xpm GtkLabel label3 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnPrint False Print (not yet) clicked on_print Thu, 21 Feb 2002 07:16:50 GMT stock_print.xpm GtkToggleButton Toolbar:button btn_view_module_frame Show/Hide the Module Frame toggled on_view_module_frame_activate Wed, 13 Feb 2002 08:58:44 GMT stock_menu_hide_show.xpm False GtkToggleButton Toolbar:button Show/Hide the Tree frame btn_view_tree_frame toggled on_view_tree_frame_activate Thu, 21 Feb 2002 07:16:31 GMT stock_menu_hide_show2.xpm False GtkLabel label4 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkEntry find_box Find some text 35 True key_press_event on_find_box_key_press_event Thu, 21 Feb 2002 07:15:14 GMT True True 0 GtkButton Toolbar:button btnSearch Search clicked on_find_activate Wed, 12 Sep 2001 01:10:03 GMT stock_search.xpm GtkEntry goto_line 35 Go to a line True key_press_event on_goto_line_key_press_event Thu, 21 Feb 2002 07:14:52 GMT True True 0 GtkPixmap pixmap1 stock_menu_scores.xpm 0.5 0.5 0 0 True GtkLabel label5 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnStop False Stop Execution (not yest) clicked on_stop_clicked Thu, 21 Feb 2002 06:52:48 GMT stock_stop2.xpm GtkButton Toolbar:button BtnRun Run / Execute / Show URL clicked on_Run_clicked Thu, 13 Sep 2001 17:37:40 GMT stock_right_arrow.xpm GtkLabel label6 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnHelp Help clicked on_help_activate Thu, 21 Feb 2002 06:52:57 GMT stock_help2.xpm GtkVBox layout_holder False 0 0 True True Placeholder GtkStatusbar statusbar1 0 False False @ 1.7 log @Updated @ text @d1036 1 d1050 1 @ 1.6 log @Updated @ text @d1075 1 d1107 1 @ 1.5 log @Updated @ text @d1186 1 a1186 1 Exit @ 1.4 log @Updated @ text @d1144 1 a1144 1 btnRun d1159 1 a1159 1 button5 @ 1.3 log @Updated @ text @d67 6 d79 1 a79 1 d91 17 d125 24 d172 83 d269 6 d290 6 d454 96 d564 6 d582 1 a582 1 a585 12 GtkMenuItem menu_settings2 False GtkMenu menu_settings2_menu d589 1 a589 1 configuration d592 2 a593 2 on_configuration_activate Tue, 05 Feb 2002 02:58:00 GMT d595 1 a595 1 d601 1 a601 1 separator7 d606 2 a607 2 GtkMenuItem language_settings1 d610 2 a611 2 on_language_settings_activate Sun, 02 Dec 2001 03:04:03 GMT d613 3 a615 2 False d619 2 a620 2 GtkMenuItem change_language d623 2 a624 2 on_change_language1_activate Thu, 06 Sep 2001 16:10:46 GMT d626 3 a628 8 False GtkMenuItem separator8 False d633 1 a633 1 show_white_space1 d636 2 a637 2 on_show_white_space1_activate Thu, 06 Sep 2001 16:13:39 GMT d639 1 a639 1 d645 8 a652 2 GtkCheckMenuItem show_line_breaks1 d655 2 a656 2 on_show_line_breaks1_activate Thu, 06 Sep 2001 16:13:39 GMT d658 8 a665 3 False True d672 2 a673 2 tools1 d678 19 a696 1 tools1_menu d700 7 a706 6 complete_word GDK_CONTROL_MASK GDK_space activate d709 2 a710 2 on_complete_word_activate Thu, 01 Nov 2001 08:19:54 GMT d712 7 a718 1 d736 7 a742 1 about2 d745 2 a746 2 on_about2_activate Thu, 06 Sep 2001 16:15:52 GMT d754 18 d778 1 a778 1 d790 49 a838 1 d860 1 a860 1 toolbar1 d872 2 a873 2 button1 Save d876 2 a877 2 on_save_activate Wed, 19 Sep 2001 18:16:53 GMT d886 2 a887 2 button2 Save d890 2 a891 2 on_save_activate Wed, 19 Sep 2001 18:16:53 GMT d927 1 a927 1 Save d930 2 a931 2 on_save_activate Wed, 19 Sep 2001 18:16:53 GMT d954 2 a955 2 button4 Close d958 2 a959 2 on_close_activate Wed, 12 Sep 2001 01:05:32 GMT d1020 1 a1020 1 btnCut d1022 1 a1022 1 Cut d1025 2 a1026 2 on_cut Thu, 13 Sep 2001 17:38:59 GMT d1047 1 a1047 1 GtkButton d1049 1 a1049 3 btnPaste False Paste d1051 3 a1053 3 clicked on_paste Thu, 13 Sep 2001 17:39:23 GMT d1055 1 a1055 1 d1057 1 d1074 1 a1074 1 entry2 d1077 5 d1104 1 a1104 1 entry1 d1107 5 d1146 1 a1146 1 Run d1160 1 a1160 1 Run a1221 59 GtkWindow window1 window1 GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True False GtkVBox vbox2 False 0 GtkToolbar toolbar2 GTK_ORIENTATION_HORIZONTAL GTK_TOOLBAR_ICONS 0 GTK_TOOLBAR_SPACE_EMPTY GTK_RELIEF_NONE True 0 False False GtkButton Toolbar:button button6 stock_search_replace.xpm Placeholder Placeholder Placeholder Placeholder @ 1.2 log @Updated @ text @d525 1 d528 2 a529 2 5 GTK_TOOLBAR_SPACE_LINE a536 1 GTK_RELIEF_NONE a548 1 GTK_RELIEF_NONE a563 1 GTK_RELIEF_NONE a576 1 GTK_RELIEF_NONE d893 44 a936 5 GtkButton button6 True GTK_RELIEF_NONE @ 1.1 log @Updated @ text @d317 30 d513 1 a513 1 GTK_SHADOW_OUT d528 2 a529 2 GTK_TOOLBAR_SPACE_EMPTY GTK_RELIEF_NORMAL d535 43 d579 1 d593 14 d621 26 d673 12 d688 1 d696 1 a696 1 stock_cut.xpm d700 1 a700 1 GtkButton d702 1 a702 2 btnCopy Copy d704 3 a706 3 clicked on_copy Thu, 13 Sep 2001 17:39:17 GMT d708 3 a710 2 stock_copy.xpm d717 1 d725 24 a748 1 stock_paste.xpm d766 34 d802 3 a804 2 btnReplace Replace d807 2 a808 2 on_replace_activate Wed, 12 Sep 2001 01:10:18 GMT d811 1 a811 1 stock_search_replace.xpm d817 1 a817 1 btnRun d825 13 a837 1 stock_exec.xpm d843 1 a843 1 btnExit d847 2 a848 2 on_exit_activate Wed, 19 Sep 2001 18:18:34 GMT d851 1 a851 1 stock_exit.xpm d881 20 @ phpmole/glade/calculator-font.xpm0000755000175000017500000002221007372146466017310 0ustar alanalan00000000000000/* XPM */ static char * calculator_font_png_xpm[] = { "300 30 11 1", " c None", ". c #000000", "+ c #8D8D8D", "@ c #555555", "# c #E2E2E2", "$ c #383838", "% c #AAAAAA", "& c #1C1C1C", "* c #717171", "= c #FFFFFF", "- c #C6C6C6", "............................................................................................................................................................................................................................................................................................................", "............................................................................................................................................................................................................................................................................................................", "............................................................................................................................................................................................................................................................................................................", ".....+%%%%%%%%%%%%*.........@%%%%%$..........+%%%%%%%%%%%%*...$%%%%%%%%%%%+.................@%%%%*....$%%%%%%%%%%%%%%%*......@%%%%%%%%%%......$%%%%%%%%%%%%%%%*......+%%%%%%%%%%%%*......@%%%%%%%%%%%%*..................................................................-===@...-===$......................", "....%=============%........@======@.........%=============%...@============%...............@=====%....@===============%.....@===========......@===============%.....%=============%.....%=============%..................................................................%===*..@==#%.......................", "...%==============%.......@=======@........%==============%...@=============%.............@======%....@===============%....@============......@===============%....%==============%....%==============%...................................................................===%..#==%........................", "..@=====.....%====%.......%=======@.......@==@.......%====%............&#====+...........@=======%....@=====..............$=====.........................%====%...@=====.....%====%...@=====.....%====%..................................................................@=+=%.*=%=@........................", "..@=====.....%====%.......%=======@.......@==@.......%====%.............%====%..........@========%....@=====..............@=====.........................%====%...@=====.....%====%...@=====.....%====%..................................................................+=@==.#++=@........................", "..@=====.....%====%.......*%%=====@.......$%%$.......%====%.............%====%.........@===%%====%....@=====..............@=====.........................%====%...@=====.....%====%...@=====.....%====%..............................@@$.................................-=.%=+=&%=.........................", "..@=====.....%====%..........=====@..................%====%.............%====%........@===%.%====%....@=====..............@=====.........................%====%...@=====.....%====%...@=====.....%====%..............................==%.................................=%.%==+.==.........................", "..@=====.....%====%..........=====@..................%====%.............-====%.......@===%..%====%....@=====..............@=====.........................%====%...@=====.....%====%...@=====.....%====%..............................==%................................@=*.@==&&=%.........................", "..@=====.....%====%..........=====@..................%====%......*%%%%%-====#&......@===%...%====%....@=====%%%%%%%%%%*...@=====%%%%%%%%%%*..............%====%...@=====.....%====+...@=====.....%====%..............................==%................................+=$.$%*.@=+.........................", "..@=====.....%====%..........=====@.................&#====%......%==========&......@===%....%====%....@===============%...@===============%.............@====#&...@=====.....%===%....@=====.....%====%..............................==%................................-=......+=@.........................", "..@=====.....%====%..........=====@................&#=====@......%==========%.....@===%.....%====%....@===============%...@===============%............@====#&....@=====.....%==%.....@=====.....%====%..............................==%...............................====#..%====@............@%%%+$......", "..@=====.....%====%..........=====@...............&#=====@.............&#====+...$====......%====%...............%====%...@=====.....%====%...........@====#&........%============%...@=====.....%====%........................@=============......@=============......%%%%*..%%%%%&..........+=======-&....", "..@=====.....%====%..........=====@..............&#=====@...............%====%...@====......%====%...............%====%...@=====.....%====%..........@====#&........%=============%...@=====.....%====%........................@=============......@=============...........................&#===#@*#==#&...", "..@=====.....%====%..........=====@.............&#=====@................%====%...@====@@@@@@-====-@&.............%====%...@=====.....%====%.........@====#&........%====%%%%%#====%...@=====@@@@@-====%........................$%%%%%==#%%%%%......$%%%%%%%%%%%%%...........................-====&..$===-...", "..@=====.....%====%..........=====@............&#=====@.................%====%...@=================@.............%====%...@=====.....%====%.........=====@........@=====.....%====%...@===============%..............................==%...................................................*====-....====&..", "..@=====.....%====%..........=====@...........&#=====@..................%====%...@=================@.............%====%...@=====.....%====%.........=====@........@=====.....%====%...@===============%..............................==%...................................................%====-@@@@====*..", "..@=====.....%====%..........=====@..........&#=====@...................%====%...&@@@@@@@@@@-====-@&.............%====%...@=====.....%====%.........=====@........@=====.....%====%...&@@@@@@@@@@-====%..............................==%...................................................==============%..", "..@=====.....%====%..........=====@.........&#=====@....................%====%..............%====%...............%====%...@=====.....%====%.........=====@........@=====.....%====%..............%====%..............................==%...................................................=====#%%%%%%%%*..", "..@=====.....%====%..........=====@........&#=====@.....................%====%..............%====%...............%====%...@=====.....%====%.........=====@........@=====.....%====%..............%====%..............................==%...................................................=====%...........", "..@=====.....%====%..........=====@.......&#=====@......................%====%..............%====%...............%====%...@=====.....%====%.........=====@........@=====.....%====%..............%====%....................................................................................-====%......&....", "..@=====.....%====%..........=====@.......@=====@.......................%====%..............%====%...............%====%...@=====.....%====%.........=====@........@=====.....%====%..............%====%........@=====......................................................................*=====.....&##*..", "..@=====@@@@@-====%..........=====@.......@=====@@@@@@@@@@$....&@@@@@@@@-====@..............%====%.....&@@@@@@@@@-====+...@=====@@@@@-====+.........=====@........@=====@@@@@-====+......$@@@@@@@-====%........@=====.......................................................................#====%...&#==$..", "..@==============#&..........=====@.......@===============%....@============@...............%====%.....@=============%....@==============%..........=====@........@==============%.......%============%........@=====.......................................................................&#====#%%===@...", "..@=============%&...........=====@.......@===============%....@===========@................%====%.....@============%.....@=============%...........=====@........@=============%........%============%........@=====........................................................................&-=======#$....", "..&@@@@@@@@@@@@@.............@@@@@&.......&@@@@@@@@@@@@@@@$....&@@@@@@@@@@$.................$@@@@$.....&@@@@@@@@@@@@......&@@@@@@@@@@@@@............@@@@@&........&@@@@@@@@@@@@@.........$@@@@@@@@@@@@$........@=====..........................................................................&@%%%+$......", "...............................................................................................................................................................................................................&@@@@@.......................................................................................", "............................................................................................................................................................................................................................................................................................................"}; phpmole/glade/.xvpics/0002755000175000017500000000000007641002073015041 5ustar alanalan00000000000000phpmole/glade/.xvpics/stock_save_all.xpm0000644000175000017500000000120207435111173020554 0ustar alanalan00000000000000P7 332 #IMGINFO:24x24 RGB (1693 bytes) #END_OF_COMMENTS 24 24 255 I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%Û¶Ú¶I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%Û¶Ú¶I$IIÛ¶¶¶IH%Û¶Ú%H%IÛ¶Ú¶I$IIÛ¶¶¶IrMÛ¶I$Û¶Û¶Û¶¶¶I$Iß–ûrvIÛ$IH%Û¶¶¶I»¶»ÿþrI»ßqÛ$IE(Û¶¶»¶»ÿÿÿÿþRÿÿrII(IEÛ–·ºÿÿÿÿÿÿÿrIÿÿRIDI)–»ÚÿÿÿÿÿÿÿÿÿÛrÿÿ–%Û¶ºr–ÿÿÿÿÿÿÿÿÿÿûQNÿÿRÛ¶ÖI»ÚÿÿÿÿÿÿÿÿÛrvrÿÿr)Û¶ImwÿÿÿÿÿÿÚrvIrrIv’vÛ¶Û¶·ÞÿÿÿÛR–IIQ’NrMnvIIÛ¶mwÿÚrvI·þÛI–MsLslwIÛ¶¶–r–NÖßÿÛú–IwH)—LsLÛ¶¶r–rÚÛMûßÚÛm—(N’,FI$II–rnÿ(wúÛ¶Mûº’vEI$IIM—qÛÿ’ÚrI–ÛÚ·LÛ¶I$IIÛMrNþŽßÛµÛnHÛ¶¶ÛI$IIÛ¶MrNþŽI(׺׶۶¶¶I$IIÛ¶¶Û¶¶¶I$IIÛ¶¶¶I$IIÛ¶¶Ú%H%IÛ¶Ú¶%HI%Û¶¶¶I$IIÛ¶¶Ú%H%IÛ¶Ú¶%HI%Û¶¶¶I$IIÛ¶¶Ú%H%IÛ¶Ú¶%HI%phpmole/glade/.xvpics/stock_button_cancel.xpm0000644000175000017500000000072107435111342021611 0ustar alanalan00000000000000P7 332 #IMGINFO:20x20 RGB (669 bytes) #END_OF_COMMENTS 20 20 255 I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶I$IIÛ¶Û$I$IÛ¶¶¶IÍ…Û¶º$ÊÛ¶¶ºÛ¶¶¶I©©Û¶¶©©Û¶¶ÚÛ¶¶¶I$ɉ۩©„Û¶»¶Û¶¶¶I$É©®¨…Iº×¶¶I$IIÛ¶¶©©¥¨‰Û¶$IIII$IIÛ¶¶©©¥¨Û¶»$IDII$IIÛ¶©©©©Û¶¶ºEH%II$IIÛ©©©©©Û¶¶¶I$IIÛ¶¶¶É‰‰©„I)EÚ·ºÖÛ¶¶Í‰…Û…ÈI)IÖ»¶ÖÛ¶¶©„I»Ö©„II»Ö¶·Û¶¶¶I$Û¶©©I$Û¶Û¶I$IIÛ¶¶¶IH%Û¶Ú%H%II$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%phpmole/glade/.xvpics/stock_book_green.xpm0000644000175000017500000000120207435111350021075 0ustar alanalan00000000000000P7 332 #IMGINFO:24x24 RGB (1159 bytes) #END_OF_COMMENTS 24 24 255 I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%Û¶Ú¶I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%Û¶Ú¶I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%Û¶Ú¶I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%Û¶Ú¶Û¶¶¶I$IIÛ¶I$IIÛ¶¶¶I$IIÛmr‘m‘nqrI$IIÛ¶¶¶I$IIÛ‘rqn‘mq×(E)HÛ¶¶¶I$IIm’qqnqr¶I$III$IIÛ¶¶¶’‘qm’mqnÖ·º¶Ö»I$IIÛ¶¶‘rqn‘mq’¶¶Û¶¶I$IIÛ¶m’qm‘nqq·¶‘Û¶¶I$IIÛ¶‘rqn‘mq’¶¶Û¶¶¶Û¶¶¶Im’qqnqr¶·‘I$IIÛ¶¶¶Im’qm‘nqr¶¶Û$I$IÛ¶¶¶­)imqm×–‘Û$II$Û¶¶¶²Úûÿß±M×–Û¶$II$I$II­ÛÿÛþßûÿÚÛ’•ID»Ö»¶I$IIÛ–ÖÿÿÛþ·‘II$ۺ׶I$IIÛ¶¶¶’Úÿ‘rID)ÛÖ¶»I$IIÛ¶¶¶IH%’I$IIÛ¶¶ºÛ¶¶¶I$IIÛ¶¶Ú%HÛ¶·¶H%IHÛ¶¶¶I$IIÛ¶¶Ú%H%IÛ¶Ú¶%HI%Û¶¶¶I$IIÛ¶¶Ú%H%IÛ¶Ú¶%HI%Û¶¶¶I$IIÛ¶¶Ú%H%IÛ¶Ú¶%HI%phpmole/glade/.xvpics/stock_menu_scores.xpm0000644000175000017500000000072107435111403021311 0ustar alanalan00000000000000P7 332 #IMGINFO:20x20 RGB (592 bytes) #END_OF_COMMENTS 20 20 255 I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶Û¶¶$IIIÛ¶¶¶I$ÿÿÿÿÿI$IÛ¶¶ÛÛ¶¶¶I$ÿÿÿÿI$IÛ¶¶ÛÛ¶¶¶I$ÿÿÿI$IÛ¶¶ÛÛ¶¶¶I$ÿÿÿÿI$IÛ¶¶ÛIÿÿÿÿÛ¶¶$IIIIÿÿÿÿÿÿÿI$IÿÿÿÿÿÿÿÿÿÿÿÿI$IÿÿÿÿÿÿÿÿÿÿÿI$ÛÿÿÿÿÿÿÿÿÿÿÿÛ¶ÛÿÿÿÿÿÿÿÿÿÿÿÿÛ¶ÛÿÿÿÿÿÿÿÿÿÿÿÛ¶ÛÿÿÿÿÿÿÿÿÿÿÿÿÛ¶IÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿI$II$I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%phpmole/glade/.xvpics/stock_menu_about.xpm0000644000175000017500000000050207435111420021121 0ustar alanalan00000000000000P7 332 #IMGINFO:16x16 RGB (1182 bytes) #END_OF_COMMENTS 16 16 255 I$IIÛ¶¶¶IH%IÛ¶¶ÚI$IIÛ¶¶¶IH%IÛ¶¶ÚI$IIÛ¶¶ÿÿÿ$ÿÿ¶¶ÛI$IÿÿÿÿÿÿÿÿûÞEÚ·Û¶¶ûÿÞöÔÖÕößÖ(IEÛ¶¶’ÚõÕÔöÔ­ÖÛÚÛHÛÚÿÿöØÕõÕѰªÞÿÿÛ¶ÿÿÕÕõÕб¨ŽúßÖI$ÿû°Ñ­¬©ˆ’²I( I$Iÿÿû°‰‰­²Ú’ÛºI$Iÿÿÿ¶mÖÛßûÚ$Û¶I$IûÞn$$’ÿÿû¶$Û¶Û¶¶H%$IÛl“‘D%IHÛ¶¶¶I$IIÛ¶$)EHÛ¶¶¶I$IIÛ¶¶Ú%H%IÛ¶¶¶I$IIÛ¶¶Ú%H%Iphpmole/glade/.xvpics/stock_menu_blank.xpm0000644000175000017500000000050107435111426021103 0ustar alanalan00000000000000P7 332 #IMGINFO:16x16 RGB (416 bytes) #END_OF_COMMENTS 16 16 255 phpmole/glade/.xvpics/stock_scores.xpm0000644000175000017500000000072107435111437020274 0ustar alanalan00000000000000P7 332 #IMGINFO:20x20 RGB (587 bytes) #END_OF_COMMENTS 20 20 255 I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶Û¶¶$IIIÛ¶¶¶I$ÿÿÿÿÿI$IÛ¶¶ÛÛ¶¶¶I$ÿÿÿÿI$IÛ¶¶ÛÛ¶¶¶I$ÿÿÿI$IÛ¶¶ÛÛ¶¶¶I$ÿÿÿÿI$IÛ¶¶ÛIÿÿÿÿÛ¶¶$IIIIÿÿÿÿÿÿÿI$IÿÿÿÿÿÿÿÿÿÿÿÿI$IÿÿÿÿÿÿÿÿÿÿÿI$ÛÿÿÿÿÿÿÿÿÿÿÿÛ¶ÛÿÿÿÿÿÿÿÿÿÿÿÿÛ¶ÛÿÿÿÿÿÿÿÿÿÿÿÛ¶ÛÿÿÿÿÿÿÿÿÿÿÿÿÛ¶IÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿI$II$I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%phpmole/glade/.xvpics/stock_menu_hide_show.xpm0000644000175000017500000000072107435111650021770 0ustar alanalan00000000000000P7 332 #IMGINFO:20x20 RGB (606 bytes) #END_OF_COMMENTS 20 20 255 I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%II$ÛÿÿÿÿÿÿÿÿÿÿÿÿÿÿÛ¶ÛÿÿÿÿÿÿÿÿÿÿÿÿÿÿÛ¶ÛÿÿÿÿÿÿÿÿÿÿÿÿÿÿÛ¶ÛÿÿÿÿÿÿÿÿÿÿÿÿÿÿÛ¶IÿÿÿÿÿÿÿÿÿÿÿÿÿÿI$IÿÿÿÿI$IÿÿÿÿààààààààààI$IÿÿÿÿààààààààààI$ÛÿÿÿÿààààààààààÛ¶ÛÿÿÿÿààààààààààÛ¶ÛÿÿÿÿààààààààààÛ¶ÛÿÿÿÿààààààààààÛ¶IÿÿÿÿààààààààààI$II$I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%phpmole/glade/.xvpics/stock_menu_hide_show2.xpm0000644000175000017500000000072107435112365022056 0ustar alanalan00000000000000P7 332 #IMGINFO:20x20 RGB (607 bytes) #END_OF_COMMENTS 20 20 255 I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%II$ÛààààÿÿÿÿÿÿÿÿÿÿÛ¶ÛààààÿÿÿÿÿÿÿÿÿÿÛ¶ÛààààÿÿÿÿÿÿÿÿÿÿÛ¶ÛààààÿÿÿÿÿÿÿÿÿÿÛ¶IààààÿÿÿÿÿÿÿÿÿÿI$IààààI$IààààÿÿÿÿÿÿÿÿÿÿI$IààààÿÿÿÿÿÿÿÿÿÿI$ÛààààÿÿÿÿÿÿÿÿÿÿÛ¶ÛààààÿÿÿÿÿÿÿÿÿÿÛ¶ÛààààÿÿÿÿÿÿÿÿÿÿÛ¶ÛààààÿÿÿÿÿÿÿÿÿÿÛ¶IààààÿÿÿÿÿÿÿÿÿÿI$II$I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%phpmole/glade/.xvpics/stock_stop2.xpm0000644000175000017500000000072207435112700020040 0ustar alanalan00000000000000P7 332 #IMGINFO:20x20 RGB (3467 bytes) #END_OF_COMMENTS 20 20 255 I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH% Ûº$IEIÛ¶¶¶I$IÖ·ÚÚÓµi Û¶»ÖÛ¶¶¶I’úßûÚûÚ÷Úi Û¶¶Û¶¶¶IÛúÿÛÚûÚÛÖÖ ÛÖ¶Û¶¶¶²ÿÛúÿÚÛÖ×±D!Ú»I$IIÖßû ÿ Ö¶­IEI$IIÛúÛÚ ·ÚÒ±III$I ÛÚûÛÚ Ûú¶Ò’ IDI$I ÛÚûÛ û±ÒŽ I(Û¶¶Ò¶ûû Ö®l!Ú·Û¶¶­·Õ×ûÖÖÒ±Žh Û¶Û¶¶¶ ²ÖÖÖ²ÛѲ²­i Û¶ºÛ¶¶¶ ŽÕ²Ò¶Ò­²‰i Ûº¶I$IIÛ ­²²­‰i IIH%I$IIÛ¶¶ @$ E¶Û$I(EI$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%phpmole/glade/.xvpics/stock_help2.xpm0000644000175000017500000000072107435113734020012 0ustar alanalan00000000000000P7 332 #IMGINFO:20x20 RGB (793 bytes) #END_OF_COMMENTS 20 20 255 I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶Û¶¶Ú%H%II$IIÛ¶’¶¶IH%IÛ¶¶¶I$IIIÛ$Û¶¶ÚÛ¶¶¶I$%ÿÿÿHnÿÚ·¶¶Û¶¶¶I$IIÿÿÛ¶IÿÿÛ¶¶Û¶¶¶I$IIÛ¶¶mÿÿÛ¶¶I$IIÛ¶¶¶IHÿÿÿ$IHI$IIÛ¶¶¶$ÿÿÿ%$III$IIÛ¶¶¶Ûÿÿÿ¶$IIHI$IIÛ¶¶¶IÿÿÛ¶¶$IIIÛ¶¶¶I$IIÛÿÿÿ$I%Ú·Ú¶Û¶¶¶I$IImÿ%HII·Ú¶¶Û¶¶¶I$Im%IHIÛ¶¶·Û¶¶¶I$Imÿÿ%HÛ¶·ÚI$IIÛ¶¶¶HÛÿÿÛ¶$II$I$IIÛ¶¶¶IHÿÿÿ·Ú¶$II%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%I$IIÛ¶¶¶IH%IÛ¶¶Ú%HI%phpmole/glade/.xvpics/class.xpm0000644000175000017500000000050507435124674016707 0ustar alanalan00000000000000P7 332 #IMGINFO:16x16 Indexed (702 bytes) #END_OF_COMMENTS 16 16 255 I$IIÛ¶¶¶IH%IÛ¶¶ÚI$IIÛ¶¶¶IH%IÛ¶¶ÚI$IIÛDIH·Ú·¶I$IIþÙþDDÿI¶Û¶¶Û¶¶þÙþDðDÿÛ$I$IÛ¶DhDDôÌDÿ»DI$IÛ¶Ñõ±Dðð$IIÛ¶õÑöDô@öÖ ÿII$öõ­DHöÒ ` ÿÛI$%%%@ @ „@ ÿÛI$““o@­©­ @` ÿÛI$·o“ í‰Í€ ÿÛ¶Û¶o·n ©Í‰ ÿI$IÛ¶%%%@ @ ÿI$IIÛ¶¶ÿÿÿÿÿÿÿÿ¶I$IIÛ¶¶¶I$IIÛ¶¶Ú%H%Iphpmole/glade/.xvpics/.mappedfiles/0002755000175000017500000000000007641002073017410 5ustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK_~1.XPM0000777000175000017500000000000007641002073025011 2stock_save_all.xpmustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK_~2.XPM0000777000175000017500000000000007641002073026044 2stock_button_cancel.xpmustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK_~3.XPM0000777000175000017500000000000007641002073025337 2stock_book_green.xpmustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK_~4.XPM0000777000175000017500000000000007641002073025550 2stock_menu_scores.xpmustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK_~5.XPM0000777000175000017500000000000007641002073025365 2stock_menu_about.xpmustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK_~6.XPM0000777000175000017500000000000007641002073025343 2stock_menu_blank.xpmustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK_~7.XPM0000777000175000017500000000000007641002073024527 2stock_scores.xpmustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK_~8.XPM0000777000175000017500000000000007641002073026227 2stock_menu_hide_show.xpmustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK_~9.XPM0000777000175000017500000000000007641002073026312 2stock_menu_hide_show2.xpmustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK~10.XPM0000777000175000017500000000000007641002073024213 2stock_stop2.xpmustar alanalan00000000000000phpmole/glade/.xvpics/.mappedfiles/STOCK~11.XPM0000777000175000017500000000000007641002073024157 2stock_help2.xpmustar alanalan00000000000000phpmole/glade/i-regular.xpm0000755000175000017500000002046707372146466016116 0ustar alanalan00000000000000/* XPM */ static char *noname[] = { /* width height ncolors chars_per_pixel */ "48 48 224 2", /* colors */ " c None", " . c #B1B1B1", " X c #E6E6E5", " o c #AFAFAF", " O c #E4E4E3", " + c #ADADAD", " @ c #E2E2E1", " # c #ABABAB", " $ c #E0E0DF", " % c #A7A7A7", " & c #A5A5A5", " * c #A3A3A3", " = c #D8D8D7", " - c #D6D6D5", " ; c #9F9F9F", " : c #D4D4D3", " > c #9D9D9D", " , c #D2D2D1", " < c #D0D0CF", " 1 c #999999", " 2 c #CECECD", " 3 c #CCCCCB", " 4 c #CACAC9", " 5 c #C8C8C7", " 6 c #151514", " 7 c #C6C6C5", " 8 c #8F8F8F", " 9 c #8D8D8D", " 0 c #C2C2C1", " q c #8B8B8B", " w c #C0C0BF", " e c #878787", " r c #BABAB9", " t c #B8B8B7", " y c #B6B6B5", " u c #7F7F7F", " i c #B4B4B3", " p c #7D7D7D", " a c #B2B2B1", " s c #7B7B7B", " d c #B0B0AF", " f c #AEAEAD", " g c #777777", " h c #ACACAB", " j c #AAAAA9", " k c #A8A8A7", " l c #A6A6A5", " z c #6F6F6F", " x c #A4A4A3", " c c #A2A2A1", " v c #6B6B6B", " b c #A0A09F", " n c #9E9E9D", " m c #989897", " M c #616161", " N c #5D5D5D", " B c #535353", " V c #4D4D4D", " C c #FEFEFE", " Z c #828281", " A c #FCFCFC", " S c #FAFAFA", " D c #F8F8F8", " F c #F6F6F6", " G c #F4F4F4", " H c #F2F2F2", " J c #F0F0F0", " K c #EEEEEE", " L c #ECECEC", " P c #EAEAEA", " I c #373737", " U c #E8E8E8", " Y c #E6E6E6", " T c #E4E4E4", " R c #E2E2E2", " E c #E0E0E0", " W c #DEDEDE", " Q c #626261", " ! c #DCDCDC", " ~ c #292929", " ^ c #DADADA", " / c #272727", " ( c #D8D8D8", " ) c #252525", " _ c #D6D6D6", " ` c #5A5A59", " ' c #D4D4D4", " ] c #D2D2D2", " [ c #D0D0D0", " { c #CECECE", " } c #CCCCCC", " | c #191919", ". c #CACACA", ".. c #171717", ".X c #C8C8C8", ".o c #C6C6C6", ".O c #FBFBFA", ".+ c #131313", ".@ c #C4C4C4", ".# c #C2C2C2", ".$ c #F7F7F6", ".% c #C0C0C0", ".& c #BEBEBE", ".* c #F3F3F2", ".= c #BCBCBC", ".- c #F1F1F0", ".; c #BABABA", ".: c #EFEFEE", ".> c #B8B8B8", "., c #B6B6B6", ".< c #030303", ".1 c #B4B4B4", ".2 c #B2B2B2", ".3 c #B0B0B0", ".4 c #E5E5E4", ".5 c #AEAEAE", ".6 c #ACACAC", ".7 c #E1E1E0", ".8 c #AAAAAA", ".9 c #DFDFDE", ".0 c #A8A8A8", ".q c #DDDDDC", ".w c #DBDBDA", ".e c #A4A4A4", ".r c #D9D9D8", ".t c #A2A2A2", ".y c #D7D7D6", ".u c #A0A0A0", ".i c #9E9E9E", ".p c #9C9C9C", ".a c #D1D1D0", ".s c #989898", ".d c #CDCDCC", ".f c #969696", ".g c #CBCBCA", ".h c #949494", ".j c #C9C9C8", ".k c #929292", ".l c #C7C7C6", ".z c #909090", ".x c #8E8E8E", ".c c #C3C3C2", ".v c #8C8C8C", ".b c #C1C1C0", ".n c #BFBFBE", ".m c #888888", ".M c #BDBDBC", ".N c #868686", ".B c #BBBBBA", ".V c #B9B9B8", ".C c #B7B7B6", ".Z c #808080", ".A c #B5B5B4", ".S c #B3B3B2", ".D c #B1B1B0", ".F c #7A7A7A", ".G c #AFAFAE", ".H c #787878", ".J c #ADADAC", ".K c #747474", ".L c #727272", ".P c #A7A7A6", ".I c #707070", ".U c #9D9D9C", ".Y c #646464", ".T c #999998", ".R c #5C5C5C", ".E c #8F8F8E", ".W c #525252", ".Q c #878786", ".! c #505050", ".~ c #FFFFFF", ".^ c #FDFDFD", "./ c #FBFBFB", ".( c #F9F9F9", ".) c #7D7D7C", "._ c #F7F7F7", ".` c #F5F5F5", ".' c #424242", ".] c #F3F3F3", ".[ c #F1F1F1", ".{ c #EDEDED", ".} c #EBEBEB", ".| c #383838", "X c #E9E9E9", "X. c #E7E7E7", "XX c #343434", "Xo c #E5E5E5", "XO c #E3E3E3", "X+ c #E1E1E1", "X@ c #DFDFDF", "X# c #DDDDDD", "X$ c #2A2A2A", "X% c #DBDBDB", "X& c #D9D9D9", "X* c #262626", "X= c #D7D7D7", "X- c #D5D5D5", "X; c #D3D3D3", "X: c #D1D1D1", "X> c #CFCFCF", "X, c #1C1C1C", "X< c #CDCDCD", "X1 c #1A1A1A", "X2 c #CBCBCB", "X3 c #181818", "X4 c #C9C9C9", "X5 c #4D4D4C", "X6 c #161616", "X7 c #C7C7C7", "X8 c #141414", "X9 c #C5C5C5", "X0 c #121212", "Xq c #C3C3C3", "Xw c #BFBFBF", "Xe c #BDBDBD", "Xr c #BBBBBB", "Xt c #B9B9B9", "Xy c #B7B7B7", "Xu c #ECECEB", "Xi c #B5B5B5", "Xp c #020202", "Xa c #B3B3B3", "Xs c #E8E8E7", /* pixels */ " ", " ", " ", " ", " ", " ", " ", " ", " ", " .v.v ", " .v.8.P 1X0 ", " XpX*.fXi.2.D.G fX5 ", " X6X6 v ;.V t t y.1.2.3 o.J m ", " X3 > j h d.>.>.>Xy.,.A i a.D.G + + ) ", " X;.F e ; k.D iXi.1.1Xa.2 . d f f.J.Q ", " X-.7 u v.Z ; #.3 a.S.D a o.3.5 + +.J.J.+ ", " .uX#X%X2 `.H.T.e.6 o o o.G.G.5 + + +.6 +.N ", " | 'X@X#X;.W.L.z.U l.6 + + + + +.J.J h.J.J +.+ ", " # T.P Q V N z 9.s.i & h.6 f.5 +.6 #.6.J f.G.Q ", " .Y.R B.W M.I.K 8 1 > %.6.6.G o.G f.6.6 + o.3 .X8 ", " .' u g g.H.H q.k n x.J.3 ..2Xa.2 d f.G d ..2Xa.m ", " X1.x m Z 8 u.h.p % o . i y.AXi.1.1.2.2 i.A.A y.C / ", " .< ..0.t ; c l.8 o.2.,Xt.;Xr.B r r.>.>.>.>Xt.V.V.E ", " .=.,.1 . ..3.2 y rXw.&Xw.%.%XwXw.M.M.M.=.=.=XrXr ~ ", " Xr.#.nXrXt.>Xt.&Xq.@ 7 5.l.oX9.@Xq.#.# 0 w wXwXe.0 ", " .5X<.XX9.@ 0.%.oX4. } }X< 3.g 4.XX7.oX9.@.@ 0.b w.) ", " .! ( ' [X< { { [.a ] ] ]X:X: [ [ 2.d 3X4.X.oX9.@.c 0 6 ", " XO $X% ( ( (X= (X&.r =X= _ ' ' ] [ {.d 3 4.XX7.o.@.i ", " X# U YXO.7X@ WX#X# ! ! !.w.w.r _ ' ]X:X> { 3.g.j.o.@X$ ", " X4 J LX Y TXO @ E E EX@X@ WX#.w.r.y ' ]X:X>XX 8 ", " .&.~.~.~.~ R % I ", " .|.~ RXr p ", " ", " ", " ", " ", " ", " ", " " }; phpmole/glade/interface_1.glade0000644000175000017500000001440407462144274016641 0ustar alanalan00000000000000 Phpide phpide src . C False False GtkWindow window False window1 GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False 600 400 False True False GtkHPaned interface 10 11 136 GtkNotebook notebook1 True True True GTK_POS_TOP False 2 2 False True False GtkScrolledWindow holder_bookmark_browser GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS Placeholder GtkPixmap Notebook:tab pixmap1 17 16 stock_open.xpm 0.5 0.5 0 0 True GtkScrolledWindow holder_class_browser GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS Placeholder GtkPixmap Notebook:tab pixmap2 16 16 class.xpm 0.5 0.5 0 0 True GtkScrolledWindow holder_help_browser GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS Placeholder GtkPixmap Notebook:tab pixmap3 16 16 stock_help2.xpm 0.5 0.5 0 0 True GtkHBox edit_pane_parent 2 False 0 True True GtkVPaned edit_pane 9 10 204 0 True True GtkEventBox editor_frame_event True False GtkFrame editor_frame 0 GTK_SHADOW_ETCHED_IN GtkVBox holder_notebook_editor False 0 Placeholder GtkEventBox module_frame_event True True GtkFrame module_frame 0 GTK_SHADOW_NONE GtkNotebook holder_spare_modules True True False GTK_POS_BOTTOM False 2 2 True GtkVBox holder_help_viewer False 0 Placeholder GtkLabel Notebook:tab label8 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkVBox holder_directory_viewer False 0 Placeholder GtkLabel Notebook:tab label6 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 phpmole/glade/interface_3.glade0000755000175000017500000001575307462144274016656 0ustar alanalan00000000000000 gtkMidgard gtkmidgard src . C False False GtkWindow window False window1 GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True False GtkHPaned interface 11 11 0 GtkNotebook notebook1 True True True GTK_POS_TOP False 2 2 False True False GtkScrolledWindow holder_bookmark_browser GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS Placeholder GtkLabel Notebook:tab files GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 notebook1 GtkScrolledWindow scrolledwindow6 GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS GtkCTree tree_live True 1 80 GTK_SELECTION_SINGLE False GTK_SHADOW_IN GtkLabel CTree:title label6 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkLabel Notebook:tab live GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkScrolledWindow scrolledwindow3 GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS GtkCTree ctree5 True 1 80 GTK_SELECTION_SINGLE False GTK_SHADOW_IN GtkLabel CTree:title label13 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkLabel Notebook:tab label3 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkScrolledWindow scrolledwindow4 GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS GtkCTree class_tree True 1 80 GTK_SELECTION_SINGLE False GTK_SHADOW_IN GtkLabel CTree:title label7 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkLabel Notebook:tab label4 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkScrolledWindow scrolledwindow5 GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS GtkCTree ctree3 True 1 80 GTK_SELECTION_SINGLE False GTK_SHADOW_IN GtkLabel CTree:title label8 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkLabel Notebook:tab label5 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkVBox holder_notebook_editor False 0 True True Placeholder phpmole/glade/stock_save_all.xpm0000644000175000017500000000323507435111173017172 0ustar alanalan00000000000000/* XPM */ static char * stock_save_all_xpm[] = { "24 24 64 1", " c None", ". c #000000", "+ c #779FA8", "@ c #495A5E", "# c #BFD1D5", "$ c #A8C1C5", "% c #E4ECED", "& c #FFFFFF", "* c #EEF3F4", "= c #E0E9EB", "- c #87AAB2", "; c #AEC4C9", "> c #F5F8F9", ", c #8BADB5", "' c #3E4D50", ") c #94B2B9", "! c #CFDCDF", "~ c #E4ECEE", "{ c #788A8D", "] c #EBF1F2", "^ c #E8EFF0", "/ c #F2F6F7", "( c #607A7F", "_ c #F0F4F5", ": c #536E75", "< c #A0BCC1", "[ c #465E63", "} c #4B575A", "| c #557278", "1 c #A4ABAD", "2 c #EAEAEA", "3 c #E4E4E4", "4 c #606364", "5 c #C6CACC", "6 c #F3F3F3", "7 c #F1F1F1", "8 c #E7E7E7", "9 c #E1E1E1", "0 c #A9B2B4", "a c #486166", "b c #34464A", "c c #729096", "d c #BCC2C3", "e c #F6F6F6", "f c #57696D", "g c #CFD8DA", "h c #DEDEDE", "i c #D8D8D8", "j c #8C9394", "k c #F2F2F2", "l c #3A474A", "m c #7EA4AC", "n c #D5DADA", "o c #E0E0E0", "p c #B4B4B4", "q c #657376", "r c #D0D5D6", "s c #E9E9E9", "t c #A7B0B2", "u c #D2D4D5", "v c #899293", "w c #484848", "x c #DDDDDD", "y c #8F9A9B", " ", " ", " .. ", " ..+@. .. ", " ..#$%+...+@. ", " ..#$#&*+@.$%+. ", " ..#$#&&&&=+.&*+@. ", " ..-;#&&&&&&>,'.&=+. ", ".);!&&&&&&&&&~+.&>,'. ", ".{)]&&&&&&&&&^+@.&~+. ", " .$=&&&&&&&/=+++.&^+@. ", " .(-]&&&&_=++::+@.+++. ", " .<=&&_=++[}|+:+.::+@. ", " .(-^=++[1234+:+@.+:+. ", " .)++:567890a+[b.+:+@.", " .c-+defg3hij+'..a+[b.", " .)+:klmnopq..hij+'..", " .|++rstuvw.mnopq.. ", " .a+:xy..rstuvw. ", " .....a+:xy.. ", " ..... ", " ", " ", " "}; phpmole/glade/libglade-xgettext0000755000175000017500000001220307372146466017026 0ustar alanalan00000000000000#!/usr/bin/env python import sys import string import xmllib import re #add append option #do not process the meaningless message window0..9 or label0..9 #Joe Man class TranslatableStringParser(xmllib.XMLParser): def __init__(self): xmllib.XMLParser.__init__(self) self.filename = None self.strings = {} self.data = "" self.rexp = re.compile('^(window|label)[0-9]+$') def add_string(self, string): if string == "": return #do not include meaningless message window0..9 or label0..9 if self.rexp.search(string, 0): return if self.strings.has_key(string): self.strings[string].append((self.filename, self.lineno)) else: self.strings[string] = [(self.filename, self.lineno)] def read_file(self, filename): self.reset() self.filename = filename fp = open(filename, "r") data = fp.read(8192) while data: self.feed(data) data = fp.read(8192) fp.close() def syntax_error(self, message): sys.stderr.write("%s:%d: %s\n" % (self.filename, self.lineno, message)) sys.exit(1) def unknown_starttag(self, tag, attrs): self.data = "" def handle_data(self, data): self.data = self.data + data def translate_this_string(self): self.add_string(self.data) # this list should include all tags for which translation should occur end_label = translate_this_string end_title = translate_this_string end_text = translate_this_string end_format = translate_this_string end_copyright = translate_this_string end_comments = translate_this_string end_preview_text = translate_this_string end_tooltip = translate_this_string def end_items(self): for item in string.split(self.data, '\n'): self.add_string(item) def output_pot(self, mode, filename): strings = self.strings.keys() strings.sort() if mode =='o': fp = open(filename, "w") fp.write('# SOME DESCRIPTIVE TITLE\n') else: fp =open(filename, 'a') for str in strings: pos = map(lambda x: "%s:%d" % x, self.strings[str]) length = 80 for p in pos: if length + len(p) > 74: fp.write('\n#:') length = 2 fp.write(' ') fp.write(p) length = length + 1 + len(p) fp.write('\n') if '\n' in str: fp.write('msgid ""\n') lines = string.split(str, '\n') lines = map(lambda x: '"%s\\n"\n' % (x,), lines[:-1]) + \ ['"%s"\n' % (lines[-1],)] fp.writelines(lines) else: fp.write('msgid "%s"\n' % (str,)) fp.write('msgstr ""\n') def output_c(self, mode, filename): strings = self.strings.keys() strings.sort() if mode =='o': fp = open(filename, "w") fp.write('/* SOME DESCRIPTIVE TITLE */\n') fp.write('/* This file is intended to be parsed by xgettext.\n') fp.write(' * It is not intended to be compiled.\n') fp.write(' */\n\n') fp.write('#if 0\n') fp.write('void some_function_name() {\n') else: fp = open(filename, 'a') for str in strings: pos = map(lambda x: "%s:%d" % x, self.strings[str]) fp.write('\n /*') length = 4 for p in pos: if length + len(p) > 74: fp.write('\n *') length = 4 fp.write(' ') fp.write(p) length = length + 1 + len(p) fp.write(' */\n') if '\n' in str: fp.write(' _(""\n') lines = string.split(str, '\n') lines = map(lambda x: ' "%s\\n"\n' % (x,), lines[:-1]) + \ [' "%s");\n' % (lines[-1],)] fp.writelines(lines) else: fp.write(' _("%s");\n' % (str,)) if mode =='o': fp.write('}\n') fp.write('#endif\n') if __name__ == '__main__': import getopt options, args = getopt.getopt(sys.argv[1:], "cpo:a:vh", ["c", "pot", "output=", "append=", "version","help"]) output = '' mode = '' format = None for opt, optarg in options: if opt in ('-v', '--version'): print "libglade xgettext 0.0" sys.exit(0) if opt in ('-h', '--help'): print "Usage: libglade-xgettext [-c] [-p] [-o FILE] [-a FILE] GLADEFILES" print "" print " -c, --c Force C output format" print " -p, --pot Force POT output format" print " -o, --output=FILE Output file name" print " -a, --append=FILE Append file name" print " GLADEFILES Glade XML input files" print "" print "This application creates a file of strings to be translated." print "It can output either a standard POT file (the default) or" print "output a C file that can be parsed by xgettext. The C output" print "is implicitly turned on if the output filename ends in .c" sys.exit(0) if opt in ('-c', '--c'): format = "C" elif opt in ('-p', '--pot'): format = "pot" elif opt in ('-o', '--output'): output = optarg mode = 'o' elif opt in ('-a', '--append'): output = optarg mode = 'a' if not format: if len(output) > 2 and output[-2:] == '.c': format = "C" else: format = "pot" if not output: output = "/dev/stdout" mode = 'o' if not args: sys.stderr.write("No input files given.\n") sys.exit(1) p = TranslatableStringParser() for file in args: p.read_file(file) if format == 'C': p.output_c(mode, output) else: p.output_pot(mode, output) phpmole/glade/class.xpm0000644000175000017500000000127607435124674015323 0ustar alanalan00000000000000/* XPM */ static char * class_xpm[] = { "16 16 22 1", " c None", ". c #242446", "+ c #9999FF", "@ c #7A7ACC", "# c #FFFF99", "$ c #CCCC7A", "% c #FF9900", "& c #CC7A00", "* c #553300", "= c #CC8F56", "- c #FFB36C", "; c #D89E9C", "> c #330000", ", c #6D0F0F", "' c #570C0C", ") c #CC6666", "! c #A35252", "~ c #AD7E7D", "{ c #CC9999", "] c #A37A7A", "^ c #FFFFFF", "/ c #000000", " ", " ", " ////* ", " /#$#**^ ", " /#$#*%*^ ", " /****%&*^ ", " /=-=*&%*//// ", " /-=-*%*;];>>^ ", " /=-=**;~{>,>^ ", " /...>>>>>,'>^ ", " /@+@>!)!>',>^ ", " /+@+>)!)>,>^ ", " /@+@>!)!>>^ ", " ....>>>>>^ ", " ^^^^^^^^ ", " "}; phpmole/glade/interface_1.glade.bak0000644000175000017500000001543207433131175017371 0ustar alanalan00000000000000 Phpide phpide src . C False False GtkWindow window False window1 GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False 600 400 False True False GtkHPaned interface 11 9 136 GtkNotebook notebook1 True True True GTK_POS_TOP False 2 2 False True False GtkScrolledWindow holder_bookmark_browser GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS Placeholder GtkLabel Notebook:tab files GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 notebook1 GtkScrolledWindow holder_class_browser GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS Placeholder GtkLabel Notebook:tab Classes GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkScrolledWindow holder_revision_browser GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS Placeholder GtkLabel Notebook:tab label3 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkScrolledWindow holder_help_browser GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS Placeholder GtkLabel Notebook:tab label4 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkHBox edit_pane_parent False 0 True True GtkVPaned edit_pane 10 6 204 0 True True GtkEventBox editor_frame_event True False GtkFrame editor_frame 0 GTK_SHADOW_ETCHED_IN GtkVBox holder_notebook_editor False 0 Placeholder GtkEventBox module_frame_event True True GtkFrame module_frame 0 GTK_SHADOW_NONE GtkNotebook holder_spare_modules True True False GTK_POS_BOTTOM False 2 2 True GtkVBox holder_help_viewer False 0 Placeholder GtkLabel Notebook:tab label8 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkVBox holder_directory_viewer False 0 Placeholder GtkLabel Notebook:tab label6 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 phpmole/glade/stock_menu_hide_show.xpm0000644000175000017500000000113607435111650020377 0ustar alanalan00000000000000/* XPM */ static char * stock_menu_hide_show_xpm[] = { "20 20 4 1", " c None", ". c #000000", "+ c #FFFFFF", "@ c #FF0000", " ", " ", " ", " ................. ", " .++++.++++++++++. ", " .++++.++++++++++. ", " .++++.++++++++++. ", " .++++.++++++++++. ", " .++++.++++++++++. ", " .++++............ ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " ................. ", " ", " "}; phpmole/glade/stock_menu_hide_show2.xpm0000644000175000017500000000113707435112365020466 0ustar alanalan00000000000000/* XPM */ static char * stock_menu_hide_show2_xpm[] = { "20 20 4 1", " c None", ". c #000000", "+ c #FF0000", "@ c #FFFFFF", " ", " ", " ", " ................. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++............ ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " .++++.@@@@@@@@@@. ", " ................. ", " ", " "}; phpmole/glade/stock_stop2.xpm0000644000175000017500000000661307435112700016453 0ustar alanalan00000000000000/* XPM */ static char * stock_stop2_xpm[] = { "20 20 158 2", " c None", ". c #140505", "+ c #150405", "@ c #130204", "# c #B1A4A4", "$ c #CEBBBC", "% c #DDCCCC", "& c #DDCCCD", "* c #CBB6B7", "= c #B89A9B", "- c #7D5E61", "; c #210708", "> c #270A0B", ", c #A19999", "' c #DED1D1", ") c #F3E6E6", "! c #EFE0E1", "~ c #EBDCDD", "{ c #EADCDC", "] c #E4D7D7", "^ c #E6D2D3", "/ c #E1C5C6", "( c #AC7D7D", "_ c #654040", ": c #2E0C0D", "< c #DED1D2", "[ c #F4EBEB", "} c #F1E6E6", "| c #EBDFDF", "1 c #E4DBDA", "2 c #E5DBDB", "3 c #E2D3D3", "4 c #DDC3C4", "5 c #DBB3B6", "6 c #A06E6E", "7 c #310D0D", "8 c #A39596", "9 c #F5ECEC", "0 c #EEE4E4", "a c #120808", "b c #E4DADA", "c c #E5DEDD", "d c #0E0505", "e c #CBB3B4", "f c #D8B9BB", "g c #B88B8C", "h c #633E3F", "i c #250A0A", "j c #BFB2B3", "k c #EADEDE", "l c #190E0E", "m c #0F0606", "n c #130A0A", "o c #E6DCDC", "p c #0C0404", "q c #0F0505", "r c #130606", "s c #C3A9A9", "t c #CBA5A6", "u c #A57577", "v c #2C0B0D", "w c #D1C3C4", "x c #EDE1E0", "y c #120909", "z c #090303", "A c #0B0303", "B c #0D0404", "C c #B9A7A7", "D c #DEC6C7", "E c #CCABAD", "F c #B68B8F", "G c #290A0C", "H c #CCB9B9", "I c #ECE1E1", "J c #E5DDDD", "K c #DFD1D0", "L c #DFCDCC", "M c #CDB1B1", "N c #CBA7A9", "O c #B28487", "P c #2B0A0C", "Q c #1B0607", "R c #C9AFB0", "S c #ECDFDF", "T c #E6DEDF", "U c #0F0405", "V c #120506", "W c #D0B4B6", "X c #CBAAAB", "Y c #C09699", "Z c #A17273", "` c #2A0B0C", " . c #1A0507", ".. c #AD8C8D", "+. c #D6C0C0", "@. c #E1D0D1", "#. c #0F0504", "$. c #100405", "%. c #DECFCF", "&. c #120505", "*. c #180707", "=. c #24090A", "-. c #C69B9E", ";. c #B38083", ">. c #905E5F", ",. c #170405", "'. c #957273", "). c #C6A3A5", "!. c #DAB9BA", "~. c #DCC4C4", "{. c #130505", "]. c #DCC6C7", "^. c #E0C9CA", "/. c #CFB3B4", "(. c #22080A", "_. c #BA8D8F", ":. c #BE8C8D", "<. c #A16C6E", "[. c #774748", "}. c #220809", "|. c #1D0607", "1. c #B88D8F", "2. c #C79FA0", "3. c #D6B2B4", "4. c #D8BEBF", "5. c #CDACAF", "6. c #D9BABC", "7. c #CBA5A7", "8. c #C6999A", "9. c #BF8B8C", "0. c #9F6A6B", "a. c #804F50", "b. c #1E0708", "c. c #A17477", "d. c #C29698", "e. c #C69E9F", "f. c #C69B9C", "g. c #C59898", "h. c #B27C7D", "i. c #AB7475", "j. c #8C5A5B", "k. c #734849", "l. c #210707", "m. c #250909", "n. c #9E7070", "o. c #B98A8B", "p. c #B88888", "q. c #B37D7F", "r. c #9F6767", "s. c #824E4F", "t. c #703F40", "u. c #27090A", "v. c #1B0507", "w. c #1E0707", "x. c #230909", "y. c #280B0B", "z. c #2C0B0C", "A. c #2F0C0C", " ", " ", " ", " . + @ ", " # $ % & * = - ; > ", " , ' ) ! ~ { ] ^ / ( _ : ", " < [ } | 1 1 2 3 4 5 6 7 ", " 8 9 0 | a 1 b c d e f g h i ", " j } k l m n o p q r s t u v ", " w x k 1 y z A B q C D E F G ", " . H I 1 J J A B B K L M N O P ", " Q R S T T B U U d V W X Y Z ` ", " ...+.@.U #.$.%.&.*.=.-.;.>.G ", " ,.'.).!.~.{.].^./.(._.:.<.[.}. ", " |.1.2.3.4.5.6.7.8.9.0.a.G ", " b.c.d.e.f.8.g.:.h.i.j.k.|. ", " l.m.n.o.p.q.r.s.t.u.v. ", " w.x.y.z.A.A.u. ", " ", " "}; phpmole/glade/stock_help2.xpm0000644000175000017500000000143107435113734016417 0ustar alanalan00000000000000/* XPM */ static char * stock_help2_xpm[] = { "20 20 17 1", " c None", ". c #000000", "+ c #858585", "@ c #343434", "# c #555555", "$ c #393939", "% c #C7C7C7", "& c #161616", "* c #FFFFFF", "= c #404040", "- c #727272", "; c #131313", "> c #E3E3E3", ", c #1A1A1A", "' c #AAAAAA", ") c #5B5B5B", "! c #595959", " ", " ", " .... ", " .......+ ", " ..@#$...% ", " .&***=..-* ", " ** ..#** ", " ...-** ", " ...;>** ", " ....,>** ", " ..;'*** ", " ..#** ", " .>** ", " ..)* ", " ....! ", " ....#** ", " ..$>** ", " *** ", " ", " "}; phpmole/glade/pixmaps0000755000175000017500000000000007444256615015060 0ustar alanalan00000000000000phpmole/glade/s_new.xpm0000755000175000017500000000402307443627521015323 0ustar alanalan00000000000000/* XPM */ static char * stock_new_png_xpm[] = { "24 24 89 1", " c None", ". c #000000", "+ c #ADAD9C", "@ c #959585", "# c #DCDCC5", "$ c #DFDFC8", "% c #242424", "& c #A7A796", "* c #D7D7C1", "= c #D9D9C3", "- c #DCDCC4", "; c #DDDDC7", "> c #E1E1CA", ", c #A6A694", "' c #D6D6BF", ") c #D8D8C2", "! c #DBDBC4", "~ c #DFDFC7", "{ c #E3E3CB", "] c #B2B29F", "^ c #7C7C7C", "/ c #646464", "( c #D5D5BD", "_ c #D5D5BF", ": c #D7D7C0", "< c #DADAC3", "[ c #DEDEC6", "} c #E1E1C9", "| c #E5E5CD", "1 c #E9E9D1", "2 c #343434", "3 c #E7E7E7", "4 c #373736", "5 c #B8B8A6", "6 c #D3D3BC", "7 c #D9D9C2", "8 c #DDDDC5", "9 c #E0E0C8", "0 c #E8E8D0", "a c #ECECD4", "b c #EEEED5", "c c #ECECEC", "d c #EDEDED", "e c #3D3D37", "f c #CECEB7", "g c #E6E6CE", "h c #EAEAD2", "i c #F1F1D8", "j c #A5A594", "k c #EEEEE5", "l c #3C3C3C", "m c #8F8F80", "n c #D0D0B9", "o c #E4E4CB", "p c #EAEAD1", "q c #ECECD3", "r c #EFEFD6", "s c #F2F2D9", "t c #F3F3DA", "u c #EEEEE6", "v c #505050", "w c #929282", "x c #D1D1B9", "y c #E7E7CF", "z c #EBEBD2", "A c #F4F4DB", "B c #F5F5DC", "C c #969686", "D c #D2D2BC", "E c #E0E0C9", "F c #E9E9D0", "G c #EDEDD4", "H c #F0F0D7", "I c #BEBEAB", "J c #797973", "K c #D8D8C1", "L c #DDDDC6", "M c #98988F", "N c #E4E4CC", "O c #818174", "P c #E2E2CA", "Q c #BEBEAE", "R c #4E4E4E", "S c #828274", "T c #EBEBD3", "U c #BBBBA8", "V c #CDCDB8", "W c #4D4D45", "X c #A6A696", " ", " ", " . ", " ..+. ", " ..@#$% ", " ..&*=-;>. ", " ..,'**)!~{]. ", " .^/'(_:<[}|12 ", " .3456*789|0ab. ", " .cdef_!9g0hbij. ", " .kklmn9opqrist. ", " .uvwx-}yzbittAB. ", " ..CD!E{FGHtAABBI. ", " .JK7L>ypbitBBBBB). ", " .M!#$NyzbitBBBBBO. ", " .~9P|1qrsABBBB.. ", " .Q||0hGHtABB<. ", " R01hGrstAsS. ", " .TaGriss<. ", " .rHis1j. ", " .UstVW. ", " .tX. ", " .. ", " "}; phpmole/glade/.#phpide.glade.1.160000644000175000017500000007760607460756124016455 0ustar alanalan00000000000000 gtkMidgard gtkmidgard src C False False GtkWindow winMain False draw on_winMain_draw Thu, 06 Sep 2001 21:29:07 GMT phpIDE GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True False GtkVBox vbox1 False 0 GtkHandleBox handlebox2 GTK_SHADOW_OUT GTK_POS_LEFT GTK_POS_TOP 0 False False GtkMenuBar menubar1 GTK_SHADOW_OUT GtkMenuItem menu_file False GtkMenu menu_file_menu GtkMenuItem separator20 False GtkMenuItem menu_add_bookmark activate on_new_bookmark_activate Wed, 19 Sep 2001 18:26:28 GMT False GtkMenuItem separator2 False GtkMenuItem new GDK_CONTROL_MASK GDK_N activate activate on_open_newfile_activate Mon, 25 Feb 2002 06:41:17 GMT False GtkMenuItem open GDK_CONTROL_MASK GDK_O activate activate on_open_file_activate Mon, 25 Feb 2002 06:05:39 GMT False GtkMenuItem menu_save GDK_CONTROL_MASK GDK_S activate activate on_save_activate Thu, 06 Sep 2001 17:46:57 GMT False GtkMenuItem save_as activate on_save_as_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem save_all activate on_save_all_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator3 False GtkMenuItem menu_close GDK_CONTROL_MASK GDK_W activate activate on_close_activate Wed, 12 Sep 2001 01:04:54 GMT False GtkMenuItem close_all activate on_close_all_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator11 False GtkMenuItem open_recent False GtkMenu open_recent_menu GtkMenuItem separator29 False GtkMenuItem recent_files False activate on_recent_files_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator30 False GtkMenuItem separator9 False GtkMenuItem print False GDK_CONTROL_MASK GDK_P activate activate on_print1_activate Thu, 21 Feb 2002 07:28:51 GMT False GtkMenuItem separator10 False GtkMenuItem menu_exit GDK_CONTROL_MASK GDK_Q activate activate on_exit_activate Thu, 06 Sep 2001 17:49:33 GMT False GtkMenuItem separator28 False GtkMenuItem menu_edit False GtkMenu menu_edit_menu GtkMenuItem separator21 False GtkMenuItem menu_undo activate on_undo Thu, 13 Sep 2001 17:45:25 GMT False GtkMenuItem menu_redo activate on_redo Thu, 13 Sep 2001 17:45:25 GMT False GtkMenuItem separator4 False GtkMenuItem menu_cut GDK_CONTROL_MASK GDK_X activate activate on_cut Thu, 13 Sep 2001 17:39:34 GMT False GtkMenuItem menu_copy GDK_CONTROL_MASK GDK_C activate activate on_copy Thu, 13 Sep 2001 17:39:37 GMT False GtkMenuItem menu_paste GDK_CONTROL_MASK GDK_V activate activate on_paste Thu, 13 Sep 2001 17:39:43 GMT False GtkMenuItem separator5 False GtkMenuItem menu_select_all GDK_CONTROL_MASK GDK_A activate activate on_select_all Thu, 13 Sep 2001 17:39:49 GMT False GtkMenuItem separator6 False GtkMenuItem menu_find GDK_CONTROL_MASK GDK_F activate activate on_find_activate Mon, 10 Sep 2001 23:17:55 GMT False GtkMenuItem menu_find_again GDK_CONTROL_MASK GDK_G activate activate on_find_again_activate Wed, 12 Sep 2001 15:31:40 GMT False GtkMenuItem menu_replace GDK_CONTROL_MASK GDK_R activate activate on_replace_activate Tue, 11 Sep 2001 20:37:34 GMT False GtkMenuItem separator13 False GtkMenuItem insert_standart_text1 False GtkMenu auto_text_menu GtkMenuItem separator31 False GtkMenuItem separator14 False GtkMenuItem comment_code activate on_comment_code_activate Thu, 21 Feb 2002 07:39:19 GMT False GtkMenuItem uncomment_code activate on_uncomment_code_activate Thu, 21 Feb 2002 07:39:19 GMT False GtkMenuItem separator15 False GtkMenuItem autocomplete GDK_CONTROL_MASK GDK_space activate activate on_complete_word_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator27 False GtkMenuItem menu_view False GtkMenu menu_view_menu GtkMenuItem separator22 False GtkCheckMenuItem menu_view_module_frame GDK_CONTROL_MASK GDK_M activate activate on_view_module_frame_activate Tue, 12 Feb 2002 08:20:21 GMT True True GtkCheckMenuItem menu_view_tree_frame activate on_view_tree_frame_activate Thu, 21 Feb 2002 09:14:16 GMT False True GtkMenuItem separator12 False GtkCheckMenuItem show_white_space activate on_show_white_space_activate Thu, 21 Feb 2002 07:36:51 GMT False True GtkCheckMenuItem show_line_breaks activate on_show_line_breaks_activate Thu, 21 Feb 2002 07:36:51 GMT False True GtkCheckMenuItem show_folding activate on_view_folding_activate Thu, 21 Feb 2002 07:43:15 GMT False True GtkMenuItem separator16 False GtkMenuItem change_language activate on_change_language_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator26 False GtkMenuItem menu_settings2 False GtkMenu menu_settings2_menu GtkMenuItem separator23 False GtkMenuItem configuration activate on_configuration_activate Tue, 05 Feb 2002 02:58:00 GMT False GtkMenuItem separator7 False GtkMenuItem language_settings activate on_language_settings_activate Sun, 02 Dec 2001 03:04:03 GMT False GtkMenuItem separator25 False GtkMenuItem help1 False GtkMenu help1_menu GtkMenuItem separator24 False GtkMenuItem about activate on_about_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator17 False GtkMenuItem phpmole_help1 False activate on_phpmole_help1_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem phpmole_home_page activate on_phpmole_home_page_activate Wed, 21 Nov 2001 08:31:12 GMT False GtkMenuItem report_or_view_bugs activate on_report_or_view_bugs_activate Wed, 21 Nov 2001 08:31:12 GMT False GtkMenuItem separator18 False GtkMenuItem help_php_gtk activate on_help_php_gtk_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem help_php activate on_help_php_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem help_gtk activate on_help_gtk_activate Thu, 21 Feb 2002 07:48:50 GMT False GtkMenuItem separator19 False GtkHandleBox handlebox1 GTK_SHADOW_NONE GTK_POS_LEFT GTK_POS_TOP 0 False False GtkToolbar maintoolbar 1 GTK_ORIENTATION_HORIZONTAL GTK_TOOLBAR_ICONS 0 GTK_TOOLBAR_SPACE_EMPTY GTK_RELIEF_NONE True GtkButton Toolbar:button btnNew New clicked on_open_newfile_activate Mon, 25 Feb 2002 06:38:09 GMT stock_new.xpm GtkButton Toolbar:button btnOpen Open clicked on_open_file_activate Mon, 25 Feb 2002 06:05:47 GMT stock_open.xpm GtkLabel label2 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnSave Save clicked on_save_activate Wed, 19 Sep 2001 18:16:53 GMT stock_save.xpm GtkButton Toolbar:button btnSaveAll Save All clicked on_save_all_activate Thu, 21 Feb 2002 07:18:20 GMT stock_save_all.xpm GtkButton Toolbar:button btnClose Close clicked on_close_activate Wed, 12 Sep 2001 01:05:32 GMT stock_close.xpm GtkButton Toolbar:button btnReload Revert to Saved clicked on_reload_activate Thu, 21 Feb 2002 07:18:11 GMT stock_refresh.xpm GtkLabel label1 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnUndo Undo clicked on_undo Thu, 13 Sep 2001 17:39:09 GMT stock_undo.xpm GtkButton Toolbar:button btnRedo Redo clicked on_redo Thu, 13 Sep 2001 17:39:04 GMT stock_redo.xpm GtkLabel label3 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnPrint False Print (not yet) clicked on_print Thu, 21 Feb 2002 07:16:50 GMT stock_print.xpm GtkToggleButton Toolbar:button btn_view_module_frame Show/Hide the Module Frame toggled on_view_module_frame_activate Wed, 13 Feb 2002 08:58:44 GMT stock_menu_hide_show.xpm False GtkToggleButton Toolbar:button btn_view_tree_frame Show/Hide the Tree frame toggled on_view_tree_frame_activate Thu, 21 Feb 2002 07:16:31 GMT stock_menu_hide_show2.xpm False GtkLabel label4 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkEntry find_box 35 Find some text True key_press_event on_find_box_key_press_activate Mon, 25 Feb 2002 05:36:34 GMT True True 0 GtkButton Toolbar:button btnSearch Search clicked on_find_activate Wed, 12 Sep 2001 01:10:03 GMT stock_search.xpm GtkEntry goto_line 35 Go to a line True key_press_event on_goto_line_key_press_activate Mon, 25 Feb 2002 05:37:05 GMT True True 0 GtkPixmap pixmap1 stock_menu_scores.xpm 0.5 0.5 0 0 True GtkLabel label5 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnStop False Stop Execution (not yest) clicked on_stop_clicked Thu, 21 Feb 2002 06:52:48 GMT stock_stop2.xpm GtkButton Toolbar:button btnRun Run / Execute / Show URL clicked on_Run_clicked Thu, 13 Sep 2001 17:37:40 GMT stock_right_arrow.xpm GtkLabel label6 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkButton Toolbar:button btnHelp Help clicked on_about_activate Mon, 25 Feb 2002 06:09:27 GMT stock_help2.xpm GtkVBox layout_holder False 0 0 True True Placeholder GtkStatusbar statusbar1 0 False False phpmole/glade/.mappedfiles/0002755000175000017500000000000007641002073016016 5ustar alanalan00000000000000phpmole/glade/.mappedfiles/INTERF~1.GLA0000777000175000017500000000000007621204105022760 2interface_1.gladeustar alanalan00000000000000phpmole/glade/.mappedfiles/PHPIDE~1.BAK0000777000175000017500000000000007641002073022563 2phpide.glade.bakustar alanalan00000000000000phpmole/glade/.mappedfiles/PHPIDE~1.GLA0000777000175000017500000000000007641002073022035 2phpide.gladeustar alanalan00000000000000phpmole/glade/.mappedfiles/CALCUL~1.XPM0000777000175000017500000000000007641002073023444 2calculator-font.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/_XVPIC~10000777000175000017500000000000007641002073020560 2.xvpicsustar alanalan00000000000000phpmole/glade/.mappedfiles/I-REGU~1.XPM0000777000175000017500000000000007641002073022223 2i-regular.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/INTERF~2.GLA0000777000175000017500000000000007641002073022765 2interface_3.gladeustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK_~1.XPM0000777000175000017500000000000007641002073023417 2stock_save_all.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/LIBGLA~10000777000175000017500000000000007641002073022505 2libglade-xgettextustar alanalan00000000000000phpmole/glade/.mappedfiles/INTERF~1.BAK0000777000175000017500000000000007641002073023510 2interface_1.glade.bakustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK_~2.XPM0000777000175000017500000000000007641002073024627 2stock_menu_hide_show.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK_~3.XPM0000777000175000017500000000000007641002073024712 2stock_menu_hide_show2.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK_~4.XPM0000777000175000017500000000000007641002073022703 2stock_stop2.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK_~5.XPM0000777000175000017500000000000007641002073022647 2stock_help2.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/_#PHPI~1.160000777000175000017500000000000007641002073022356 2.#phpide.glade.1.16ustar alanalan00000000000000phpmole/glade/.mappedfiles/OPTION~1.GLA0000777000175000017500000000000007641002073023635 2options_dialog.gladeustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK_~6.XPM0000777000175000017500000000000007641002073022366 2stock_add.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK_~7.XPM0000777000175000017500000000000007641002073023103 2stock_attach.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK_~8.XPM0000777000175000017500000000000007641002073023601 2stock_book_blue.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK_~9.XPM0000777000175000017500000000000007641002073023753 2stock_book_green.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~10.XPM0000777000175000017500000000000007641002073023525 2stock_book_open.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~11.XPM0000777000175000017500000000000007641002073023337 2stock_book_red.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~12.XPM0000777000175000017500000000000007641002073024101 2stock_book_yellow.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~13.XPM0000777000175000017500000000000007641002073023061 2stock_bottom.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~14.XPM0000777000175000017500000000000007641002073024276 2stock_button_apply.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~15.XPM0000777000175000017500000000000007641002073024377 2stock_button_cancel.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~16.XPM0000777000175000017500000000000007641002073024260 2stock_button_close.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~17.XPM0000777000175000017500000000000007641002073023570 2stock_button_no.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~18.XPM0000777000175000017500000000000007641002073023566 2stock_button_ok.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~19.XPM0000777000175000017500000000000007641002073023756 2stock_button_yes.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~20.XPM0000777000175000017500000000000007641002073022657 2stock_cdrom.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~21.XPM0000777000175000017500000000000007641002073022642 2stock_clear.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~22.XPM0000777000175000017500000000000007641002073022662 2stock_close.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~23.XPM0000777000175000017500000000000007641002073024435 2stock_colorselector.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~24.XPM0000777000175000017500000000000007641002073023237 2stock_convert.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~25.XPM0000777000175000017500000000000007641002073022532 2stock_copy.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~26.XPM0000777000175000017500000000000007641002073022354 2stock_cut.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~27.XPM0000777000175000017500000000000007641002073023743 2stock_down_arrow.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~28.XPM0000777000175000017500000000000007641002073022507 2stock_exec.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~29.XPM0000777000175000017500000000000007641002073022535 2stock_exit.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~30.XPM0000777000175000017500000000000007641002073022703 2stock_first.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~31.XPM0000777000175000017500000000000007641002073022523 2stock_font.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~32.XPM0000777000175000017500000000000007641002073022506 2stock_help.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~33.XPM0000777000175000017500000000000007641002073022507 2stock_home.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~34.XPM0000777000175000017500000000000007641002073022667 2stock_index.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~35.XPM0000777000175000017500000000000007641002073023236 2stock_jump_to.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~36.XPM0000777000175000017500000000000007641002073022525 2stock_last.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~37.XPM0000777000175000017500000000000007641002073023727 2stock_left_arrow.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~38.XPM0000777000175000017500000000000007641002073023201 2stock_line_in.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~39.XPM0000777000175000017500000000000007641002073022507 2stock_mail.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~40.XPM0000777000175000017500000000000007641002073024224 2stock_mail_compose.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~41.XPM0000777000175000017500000000000007641002073024224 2stock_mail_forward.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~42.XPM0000777000175000017500000000000007641002073024203 2stock_mail_receive.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~43.XPM0000777000175000017500000000000007641002073023715 2stock_mail_reply.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~44.XPM0000777000175000017500000000000007641002073023514 2stock_mail_send.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~45.XPM0000777000175000017500000000000007641002073023720 2stock_menu_about.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~46.XPM0000777000175000017500000000000007641002073023676 2stock_menu_blank.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~47.XPM0000777000175000017500000000000007641002073024106 2stock_menu_scores.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~48.XPM0000777000175000017500000000000007641002073022335 2stock_mic.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~49.XPM0000777000175000017500000000000007641002073022510 2stock_midi.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~50.XPM0000777000175000017500000000000007641002073024410 2stock_multiple_file.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~51.XPM0000777000175000017500000000000007641002073022350 2stock_new.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~52.XPM0000777000175000017500000000000007641002073022360 2stock_not.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~53.XPM0000777000175000017500000000000007641002073022522 2stock_open.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~54.XPM0000777000175000017500000000000007641002073022676 2stock_paste.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~55.XPM0000777000175000017500000000000007641002073024064 2stock_preferences.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~56.XPM0000777000175000017500000000000007641002073022720 2stock_print.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~57.XPM0000777000175000017500000000000007641002073023761 2stock_properties.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~58.XPM0000777000175000017500000000000007641002073022517 2stock_redo.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~59.XPM0000777000175000017500000000000007641002073023225 2stock_refresh.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~60.XPM0000777000175000017500000000000007641002073023054 2stock_remove.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~61.XPM0000777000175000017500000000000007641002073023067 2stock_revert.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~62.XPM0000777000175000017500000000000007641002073024110 2stock_right_arrow.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~63.XPM0000777000175000017500000000000007641002073022520 2stock_save.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~64.XPM0000777000175000017500000000000007641002073023204 2stock_save_as.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~65.XPM0000777000175000017500000000000007641002073023062 2stock_scores.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~66.XPM0000777000175000017500000000000007641002073023032 2stock_search.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~67.XPM0000777000175000017500000000000007641002073024526 2stock_search_replace.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~68.XPM0000777000175000017500000000000007641002073023704 2stock_spellcheck.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~69.XPM0000777000175000017500000000000007641002073022555 2stock_stop.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~70.XPM0000777000175000017500000000000007641002073024367 2stock_table_borders.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~71.XPM0000777000175000017500000000000007641002073023656 2stock_table_fill.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~72.XPM0000777000175000017500000000000007641002073022702 2stock_timer.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~73.XPM0000777000175000017500000000000007641002073024441 2stock_timer_stopped.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~74.XPM0000777000175000017500000000000007641002073022366 2stock_top.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~75.XPM0000777000175000017500000000000007641002073022706 2stock_trash.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~76.XPM0000777000175000017500000000000007641002073023731 2stock_trash_full.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~77.XPM0000777000175000017500000000000007641002073023374 2stock_undelete.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~78.XPM0000777000175000017500000000000007641002073022535 2stock_undo.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~79.XPM0000777000175000017500000000000007641002073023427 2stock_up_arrow.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/STOCK~80.XPM0000777000175000017500000000000007641002073023070 2stock_volume.xpmustar alanalan00000000000000phpmole/glade/.mappedfiles/TEXT_E~1.GLA0000777000175000017500000000000007641002073024367 2text_entry_dialog.gladeustar alanalan00000000000000phpmole/glade/options_dialog.glade0000755000175000017500000010202507372146467017501 0ustar alanalan00000000000000 phpMole options_dialog src pixmaps C True True GtkWindow window clicked clicked Sun, 22 Apr 2001 10:23:46 GMT destroy destroy Sun, 22 Apr 2001 10:24:01 GMT Options GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False False False False options_dialog Moleskine GtkVBox dialog-vbox1 False 8 GtkHButtonBox dialog-action_area1 GTK_BUTTONBOX_END 8 85 27 7 0 0 False True GTK_PACK_END GtkButton cancel True True GTK_RELIEF_NORMAL GtkButton OK True True GTK_RELIEF_NORMAL GtkNotebook notebook1 True True True GTK_POS_TOP False 2 2 False 0 True True GtkVBox vbox1 4 False 4 GtkCheckButton save_win_size True False True 0 False False GtkCheckButton save_session Save open files names at exit and re-open them at next startup. True False True 0 False False GtkHBox hbox11 False 4 0 False False GtkLabel label20 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkSpinButton mru_size True 1 0 False GTK_UPDATE_ALWAYS False False 5 5 50 1 10 10 0 False False GtkLabel label21 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkCheckButton mru_sort True False True 0 False False GtkHBox hbox25 False 0 0 False False GtkLabel label50 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkSpinButton autosave_timeout True 1 0 False GTK_UPDATE_ALWAYS False False 1 0 100 1 10 10 0 True True GtkLabel label51 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkLabel Notebook:tab label1 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkVBox vbox6 False 0 GtkHBox hbox1 True 0 0 False False GtkFrame frame1 4 0 GTK_SHADOW_ETCHED_IN 0 True True GtkVBox vbox7 4 False 4 GtkButton default_font_select True GTK_RELIEF_NORMAL 0 False False GtkTable table2 2 2 False 4 4 0 False True GtkLabel label5 GTK_JUSTIFY_CENTER False 0 0.5 0 0 0 1 1 2 0 0 False False False False True False GtkLabel label4 GTK_JUSTIFY_CENTER False 0 0.5 0 0 0 1 0 1 0 0 False False False False True False GtkHBox hbox1 False 0 1 2 0 1 0 0 True False False False True True GtkEventBox eventbox1 0 False False GtkDrawingArea default_fore 23 24 GtkHBox hbox2 False 0 1 2 1 2 0 0 True False False False True True GtkEventBox eventbox2 0 False False GtkDrawingArea default_back 23 24 GtkFrame frame2 4 0 GTK_SHADOW_ETCHED_IN 0 True True GtkVBox vbox8 4 False 4 GtkButton line_numbers_font True GTK_RELIEF_NORMAL 0 False False GtkTable table3 2 2 False 4 4 0 False True GtkLabel label7 GTK_JUSTIFY_CENTER False 0 0.5 0 0 0 1 0 1 0 0 False False False False True False GtkLabel label8 GTK_JUSTIFY_CENTER False 0 0.5 0 0 0 1 1 2 0 0 False False False False True False GtkHBox hbox3 False 0 1 2 0 1 0 0 True False False False True True GtkEventBox eventbox3 0 False False GtkDrawingArea line_numbers_fore 23 24 GtkHBox hbox4 False 0 1 2 1 2 0 0 True False False False True True GtkEventBox eventbox4 0 False False GtkDrawingArea line_numbers_back 23 24 GtkHBox hbox19 True 0 0 False False GtkFrame frame6 4 0 GTK_SHADOW_ETCHED_IN 0 True True GtkVBox vbox11 4 True 4 GtkHBox hbox24 False 4 0 True True GtkEventBox eventbox5 0 False False GtkDrawingArea braces_fore_ok 23 24 GtkLabel label47 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkHBox hbox23 False 4 0 True True GtkEventBox eventbox6 0 False False GtkDrawingArea braces_fore_bad 23 24 GtkLabel label46 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkFrame frame4 4 0 GTK_SHADOW_ETCHED_IN 0 True True GtkVBox vbox12 4 True 4 GtkHBox hbox12 False 4 0 True True GtkEventBox eventbox7 0 False False GtkDrawingArea default_selection 23 24 GtkLabel label22 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkHBox hbox13 False 4 0 True True GtkEventBox eventbox8 0 False False GtkDrawingArea default_bookmark 23 24 GtkLabel label23 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkFrame frame7 4 0 GTK_SHADOW_ETCHED_IN 0 True True GtkHBox hbox22 4 False 4 GtkLabel label36 GTK_JUSTIFY_LEFT False 2.6077e-08 0.5 0 0 0 False False GtkEventBox eventbox9 0 False False GtkDrawingArea caret_fore 23 24 GtkLabel label38 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 True True GtkLabel label37 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkSpinButton caret_width True 1 0 True GTK_UPDATE_ALWAYS False False 2 1 3 1 1 1 0 False False GtkLabel label39 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 True True GtkLabel label40 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False GtkSpinButton caret_period True 5 0 True GTK_UPDATE_ALWAYS False False 250 0 1000 50 100 100 0 False False GtkLabel Notebook:tab label2 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkVBox vbox2 4 False 4 GtkHBox hbox9 False 4 0 False False GtkVBox vbox3 False 0 0 True True GtkRadioButton keys_phpmole True False True keybindings 0 False False GtkRadioButton keys_gnome True False True keybindings 0 False False GtkRadioButton keys_emacs True False True keybindings 0 False False GtkVSeparator vseparator1 0 False False GtkLabel label17 GTK_JUSTIFY_CENTER True 0.5 0.5 0 0 0 True True Placeholder GtkLabel Notebook:tab label16 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkVBox vbox4 4 False 4 GtkCheckButton show_linen True True True 0 False False GtkFrame frame3 0 GTK_SHADOW_ETCHED_IN 0 False False GtkVBox vbox5 4 False 4 GtkRadioButton digits_auto True True True linen_digits 0 False False GtkHBox hbox10 False 4 0 False False GtkRadioButton digits_fixed True toggled digits_fixed_toggled Sun, 22 Apr 2001 10:24:28 GMT False True linen_digits 0 False False GtkSpinButton digits_num True 1 0 False GTK_UPDATE_ALWAYS False False 5 1 10 1 1 1 0 False False GtkLabel label19 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 False False Placeholder GtkLabel Notebook:tab label18 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkFontSelectionDialog fontselectiondialog1 4 False Select Font GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False False True True GtkButton FontSel:ok_button fontsel_ok True True GTK_RELIEF_NORMAL GtkButton FontSel:apply_button fontsel_apply True True GTK_RELIEF_NORMAL GtkButton FontSel:cancel_button fontsel_cancel True True GTK_RELIEF_NORMAL GtkColorSelectionDialog colorselectiondialog1 10 False Select Color GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False False True False GTK_UPDATE_CONTINUOUS GtkButton ColorSel:ok_button colorsel_ok True True GTK_RELIEF_NORMAL GtkButton ColorSel:cancel_button colorsel_cancel True True GTK_RELIEF_NORMAL GtkButton ColorSel:help_button colorsel_help True True GTK_RELIEF_NORMAL phpmole/glade/stock_add.xpm0000755000175000017500000000221707372146470016146 0ustar alanalan00000000000000/* XPM */ static char * stock_add_png_xpm[] = { "24 24 29 1", " c None", ". c #000000", "+ c #706C60", "@ c #E0DCC0", "# c #6F6B5F", "$ c #6E6A5E", "% c #DEDABE", "& c #ADA798", "* c #686754", "= c #949480", "- c #BAB696", "; c #41413F", "> c #5F5F59", ", c #D4CCC0", "' c #A7A296", ") c #B3B090", "! c #484844", "~ c #84847C", "{ c #A19D90", "] c #4B4B48", "^ c #CEC7B9", "/ c #969289", "( c #BAB3A8", "_ c #6D6D66", ": c #AAA597", "< c #5B5B56", "[ c #7F7C71", "} c #5A5A54", "| c #8D897F", " ", " ", " ", " ... ", " ... ", " ... ", " ... ", " ... ", " ....... ", " ..... ", " ...+...@... ", " ..++#$#.@%%@@.. ", " .&.*+++=@@@-;>. ", " .,,'.*+=@)!>~~. ", " .,,,,{.+]>~~~~. ", " .,,,,,^.~~~~~~. ", " .,,,,,,.~~~~~~. ", " .,,,,,,.~~~~~~. ", " ./(,,,,.~~~~~_. ", " ..:,,,.~~~~<.. ", " .[(,.~~}.. ", " ..|.}.. ", " ... ", " "}; phpmole/glade/stock_attach.xpm0000755000175000017500000000137407372146470016665 0ustar alanalan00000000000000/* XPM */ static char * stock_attach_png_xpm[] = { "24 24 2 1", " c None", ". c #000000", " ", " ", " ", " ", " .... ", " . . . ", " . . . . ", " . . . . ", " . . . . ", " . . . . ", " . . . . ", " . . . . ", " . . . . ", " . . . . ", " . . . . ", " . . . . ", " . . . . ", " . .. . ", " . . ", " . . ", " .. ", " ", " ", " "}; phpmole/glade/stock_book_blue.xpm0000755000175000017500000000220607372146470017355 0ustar alanalan00000000000000/* XPM */ static char * stock_book_blue_png_xpm[] = { "24 24 28 1", " c None", ". c #000000", "+ c #4B6772", "@ c #70929F", "# c #668B99", "$ c #5E808D", "% c #B6B6B5", "& c #52707B", "* c #A6A7A4", "= c #888D82", "- c #577782", "; c #5B7D8A", "> c #9E6769", ", c #3C4035", "' c #54594B", ") c #4E6A75", "! c #91948E", "~ c #AE8182", "{ c #E1D5D2", "] c #F1F0EC", "^ c #AAAAA7", "/ c #636361", "( c #C2C2C0", "_ c #14090A", ": c #85A3AE", "< c #CCCDC4", "[ c #7697A3", "} c #999D91", " ", " ", " ", " ", " .......... ", " .+@#$$$$$$. ", " .@#$$$$$$.% ", " .&@$$$$$$$.% ", " .@#$$$$$$.%% ", " .@#$$$$$$$.%*. ", " .&@$$$$$$$.%%=. ", " .@#$$$$$$$.%*. ", " .-@$$$$$$$.%%=. ", " .;#$$$$$$$.%*. ", " .>...,')$$.%%!. ", " .~{]]]^/...%*. ", " .>{]]]]]]](%!. ", " _..:<]]]](*. ", " ...[<]}=. ", " ...$. ", " .. ", " ", " ", " "}; phpmole/glade/stock_book_green.xpm0000755000175000017500000000220707372146470017527 0ustar alanalan00000000000000/* XPM */ static char * stock_book_green_png_xpm[] = { "24 24 28 1", " c None", ". c #000000", "+ c #616757", "@ c #8B927E", "# c #838A76", "$ c #78806C", "% c #B6B6B5", "& c #6A6F5F", "* c #A6A7A4", "= c #888D82", "- c #707665", "; c #767B6B", "> c #9E6769", ", c #3C4035", "' c #54594B", ") c #646A5A", "! c #91948E", "~ c #AE8182", "{ c #E1D5D2", "] c #F1F0EC", "^ c #AAAAA7", "/ c #636361", "( c #C2C2C0", "_ c #14090A", ": c #9DA293", "< c #CCCDC4", "[ c #909585", "} c #999D91", " ", " ", " ", " ", " .......... ", " .+@#$$$$$$. ", " .@#$$$$$$.% ", " .&@$$$$$$$.% ", " .@#$$$$$$.%% ", " .@#$$$$$$$.%*. ", " .&@$$$$$$$.%%=. ", " .@#$$$$$$$.%*. ", " .-@$$$$$$$.%%=. ", " .;#$$$$$$$.%*. ", " .>...,')$$.%%!. ", " .~{]]]^/...%*. ", " .>{]]]]]]](%!. ", " _..:<]]]](*. ", " ...[<]}=. ", " ...$. ", " .. ", " ", " ", " "}; phpmole/glade/stock_book_open.xpm0000755000175000017500000000324207372146470017370 0ustar alanalan00000000000000/* XPM */ static char * stock_book_open_png_xpm[] = { "24 24 64 1", " c None", ". c #000000", "+ c #808080", "@ c #BEBEBE", "# c #DBDBDB", "$ c #E9E9E9", "% c #4F4F4F", "& c #9A9A9A", "* c #CECECE", "= c #F0F0F0", "- c #656565", "; c #A8A8A8", "> c #E4E4E4", ", c #D5D5D5", "' c #EDEDED", ") c #5B5B5B", "! c #F5F5F5", "~ c #161616", "{ c #C6C6C6", "] c #DEDEDE", "^ c #A2A2A2", "/ c #737373", "( c #8A8A8A", "_ c #EBEBEB", ": c #D3D3D3", "< c #F2F2F2", "[ c #AEAEAE", "} c #D8D8D8", "| c #C3C3C3", "1 c #575757", "2 c #9E9E9E", "3 c #6A6A6A", "4 c #E7E7E7", "5 c #EFEFEF", "6 c #616161", "7 c #242424", "8 c #E0E0E0", "9 c #DADADA", "0 c #0C0C0C", "a c #838383", "b c #BFBFBF", "c c #DCDCDC", "d c #EAEAEA", "e c #515151", "f c #D0D0D0", "g c #F1F1F1", "h c #ACACAC", "i c #E5E5E5", "j c #EEEEEE", "k c #F6F6F6", "l c #CACACA", "m c #DFDFDF", "n c #A6A6A6", "o c #777777", "p c #939393", "q c #ECECEC", "r c #D4D4D4", "s c #F3F3F3", "t c #B2B2B2", "u c #D9D9D9", "v c #A0A0A0", "w c #6C6C6C", "x c #636363", "y c #2A2A2A", " ", " ", " .@&= ", " .@@== ", " .@9==== ", " .@===r== ", " .@==q==<5' ", " .[===rd=rj4 ", " .t==r==r$=f4: ", " .v=='r==qjj>^85!kkkk[ ", " .u===<==f$b,iskkkk[( ", " .xi==',j$*lcj]kmkk(e. ", " .2==g_f[puj!kkkk[-). ", " .u=={@+8q!mkmmk(e. ", " .xi5|/n#=kkkkk[-). ", " .6q/3m$!mmkmk(p. ", " ..ewhig!kkkk[-w. ", " ..7y@}=kkkkk(p. ", " .0~1@@@@##b-w. ", " ...(a@@@@op. ", " .../;@o). ", " ...%. ", " .. ", " "}; phpmole/glade/stock_book_red.xpm0000755000175000017500000000220507372146470017177 0ustar alanalan00000000000000/* XPM */ static char * stock_book_red_png_xpm[] = { "24 24 28 1", " c None", ". c #000000", "+ c #844F4F", "@ c #AB7474", "# c #A66B6B", "$ c #9F6060", "% c #B6B6B5", "& c #8E5555", "* c #A6A7A4", "= c #888D82", "- c #945959", "; c #9B5E5E", "> c #9E6769", ", c #3C4035", "' c #54594B", ") c #875252", "! c #91948E", "~ c #AE8182", "{ c #E1D5D2", "] c #F1F0EC", "^ c #AAAAA7", "/ c #636361", "( c #C2C2C0", "_ c #14090A", ": c #B88989", "< c #CCCDC4", "[ c #AF7A7A", "} c #999D91", " ", " ", " ", " ", " .......... ", " .+@#$$$$$$. ", " .@#$$$$$$.% ", " .&@$$$$$$$.% ", " .@#$$$$$$.%% ", " .@#$$$$$$$.%*. ", " .&@$$$$$$$.%%=. ", " .@#$$$$$$$.%*. ", " .-@$$$$$$$.%%=. ", " .;#$$$$$$$.%*. ", " .>...,')$$.%%!. ", " .~{]]]^/...%*. ", " .>{]]]]]]](%!. ", " _..:<]]]](*. ", " ...[<]}=. ", " ...$. ", " .. ", " ", " ", " "}; phpmole/glade/stock_book_yellow.xpm0000755000175000017500000000221007372146470017734 0ustar alanalan00000000000000/* XPM */ static char * stock_book_yellow_png_xpm[] = { "24 24 28 1", " c None", ". c #000000", "+ c #AD9F5E", "@ c #C2B887", "# c #BEB37F", "$ c #B9AD74", "% c #B6B6B5", "& c #B1A466", "* c #A6A7A4", "= c #888D82", "- c #B5A86C", "; c #B7AB72", "> c #9E6769", ", c #3C4035", "' c #54594B", ") c #AFA160", "! c #91948E", "~ c #AE8182", "{ c #E1D5D2", "] c #F1F0EC", "^ c #AAAAA7", "/ c #636361", "( c #C2C2C0", "_ c #14090A", ": c #CBC298", "< c #CCCDC4", "[ c #C5BB8C", "} c #999D91", " ", " ", " ", " ", " .......... ", " .+@#$$$$$$. ", " .@#$$$$$$.% ", " .&@$$$$$$$.% ", " .@#$$$$$$.%% ", " .@#$$$$$$$.%*. ", " .&@$$$$$$$.%%=. ", " .@#$$$$$$$.%*. ", " .-@$$$$$$$.%%=. ", " .;#$$$$$$$.%*. ", " .>...,')$$.%%!. ", " .~{]]]^/...%*. ", " .>{]]]]]]](%!. ", " _..:<]]]](*. ", " ...[<]}=. ", " ...$. ", " .. ", " ", " ", " "}; phpmole/glade/stock_bottom.xpm0000755000175000017500000000406407372146470016724 0ustar alanalan00000000000000/* XPM */ static char * stock_bottom_png_xpm[] = { "24 24 91 1", " c None", ". c #010101", "+ c #060606", "@ c #030303", "# c #000000", "$ c #0B0B0B", "% c #0E0E0E", "& c #090909", "* c #DBDCD9", "= c #EEEEED", "- c #F5F5F5", "; c #F4F4F4", "> c #EFEFEE", ", c #A7BE9C", "' c #9EB793", ") c #9CB690", "! c #9BB48F", "~ c #8FA983", "{ c #738F65", "] c #E0E0DF", "^ c #EAE8E9", "/ c #EEECEE", "( c #EFECEE", "_ c #EFECEF", ": c #8DAE7E", "< c #8CAE7E", "[ c #8CAE7D", "} c #8AAB7D", "| c #7D996F", "1 c #D6D7D4", "2 c #EDEDED", "3 c #F4F0F4", "4 c #F5F1F5", "5 c #8AAD7A", "6 c #8EAF7F", "7 c #8FAB81", "8 c #6A885C", "9 c #E5E5E4", "0 c #F2F0F2", "a c #F6F2F6", "b c #8BAE7B", "c c #86A876", "d c #739365", "e c #D6D7D3", "f c #EEEDED", "g c #F2EFF2", "h c #90B082", "i c #8AA67B", "j c #E3E3E2", "k c #F2F0F1", "l c #F3F0F3", "m c #8BAD7C", "n c #8CAC7F", "o c #719062", "p c #D2D4D0", "q c #EDECEC", "r c #EFEDEF", "s c #8EAE80", "t c #8AA57E", "u c #678459", "v c #E2E2E0", "w c #F0EFEF", "x c #89A67A", "y c #6D8B5F", "z c #CDCFCB", "A c #DEDFDD", "B c #7C996E", "C c #637F55", "D c #BBC0B8", "E c #678558", "F c #A3AC9E", "G c #5F7B52", "H c #070707", "I c #040404", "J c #E5E7E5", "K c #E3E3E1", "L c #E1E1E0", "M c #DFE0DE", "N c #D9DAD8", "O c #8DAC7F", "P c #8EAD80", "Q c #8CAB7E", "R c #7E9D6E", "S c #080808", "T c #E9EBE8", "U c #D5D6D4", "V c #D4D5D2", "W c #D3D4D1", "X c #83A574", "Y c #84A676", "Z c #7C9C6C", " ", " ", " ", " ", " .+@####+$%+++# ", " &*=--;>,')!~{# ", " @]^/(_:<[}|# ", " #1234455678# ", " #903ab5cd# ", " #efg45hi8# ", " @jklmno# ", " #pqrstu# ", " #vwxy# ", " #zABC# ", " #DE# ", " #FG# ", " ## ", " #.HIIII.###### ", " $JKLLMNOPPQRd# ", " STUVVVWXXXYZd# ", " #%+########### ", " ", " ", " "}; phpmole/glade/stock_button_apply.xpm0000755000175000017500000000146307372146470020140 0ustar alanalan00000000000000/* XPM */ static char * stock_button_apply_png_xpm[] = { "20 20 18 1", " c None", ". c #000000", "+ c #B3C2A7", "@ c #708C58", "# c #859D71", "$ c #627B4D", "% c #97AB86", "& c #566C43", "* c #A2BD9E", "= c #789774", "- c #88AC84", "; c #5E764A", "> c #698566", ", c #6D8855", "' c #688251", ") c #668050", "! c #6D8956", "~ c #4F633E", " ", " ", " ", " .. ", " .+@. ", " .#$. ", " .%@. ", " .. .#&. ", " .*=. .#@. ", " .--.. .@&. ", " .-=..;@. ", " .-->.,&. ", " .--'). ", " .-!~. ", " .--. ", " .>. ", " . ", " ", " ", " "}; phpmole/glade/stock_button_cancel.xpm0000755000175000017500000000123507372146470020235 0ustar alanalan00000000000000/* XPM */ static char * stock_button_cancel_png_xpm[] = { "20 20 8 1", " c None", ". c #000000", "+ c #C46D74", "@ c #9F3C44", "# c #B5444E", "$ c #BD5A62", "% c #7B2D34", "& c #8C343C", " ", " ", " ", " .. . ", " .+@. .#. ", " .##. .$#. ", " .#@. .$#%. ", " .##..$#&. ", " .####@. ", " .####. ", " .$###. ", " .$####. ", " .$#&..#&. ", " .+#&. .@#. ", " .#&. .#@. ", " .. .@#. ", " .. ", " ", " ", " "}; phpmole/glade/stock_button_close.xpm0000755000175000017500000000110207372146470020106 0ustar alanalan00000000000000/* XPM */ static char * stock_button_close_png_xpm[] = { "20 20 2 1", " c None", ". c #000000", " ", " ", " ", " ", " ", " . .. ", " .. .... ", " .. ... ", " ..... ", " ... ", " .... ", " ...... ", " .. .... ", " .. .... ", " . .. ", " ", " ", " ", " ", " "}; phpmole/glade/stock_button_no.xpm0000755000175000017500000000752307372146470017432 0ustar alanalan00000000000000/* XPM */ static char * stock_button_no_png_xpm[] = { "20 20 186 2", " c None", ". c #000000", "+ c #030303", "@ c #0C0707", "# c #592924", "$ c #88443B", "% c #A04E43", "& c #7E352B", "* c #4B1A14", "= c #070000", "- c #080808", "; c #5D3732", "> c #B6756D", ", c #BF7D74", "' c #B9756C", ") c #AD6056", "! c #A45045", "~ c #9A4037", "{ c #88382D", "] c #3D130E", "^ c #0A0A0A", "/ c #784C47", "( c #CA9089", "_ c #D1A29E", ": c #D0A099", "< c #C68D87", "[ c #B67067", "} c #A8564B", "| c #8E3A2F", "1 c #853128", "2 c #4A160F", "3 c #040404", "4 c #5B3832", "5 c #CA928B", "6 c #D9B3AE", "7 c #DFBFBC", "8 c #DAB4B1", "9 c #CD9892", "0 c #BC7971", "a c #A85347", "b c #9B4034", "c c #92372B", "d c #883125", "e c #802B1F", "f c #380C07", "g c #120B0B", "h c #B97970", "i c #D6ABA5", "j c #E2C7C3", "k c #ECD9D7", "l c #E2C4C1", "m c #D1A29C", "n c #BC776D", "o c #A95146", "p c #9B3B2E", "q c #943327", "r c #8B2E22", "s c #7E281D", "t c #722217", "u c #050000", "v c #5F342E", "w c #C68A83", "x c #DAB3AF", "y c #E5CBC8", "z c #EFE2E0", "A c #CF9E98", "B c #BC7369", "C c #A74E42", "D c #9B3628", "E c #952D22", "F c #8B281E", "G c #802519", "H c #791F16", "I c #3D0D08", "J c #92524B", "K c #C78E86", "L c #D5AAA6", "M c #DBB6B2", "N c #DFBCB8", "O c #D5A9A4", "P c #C4847D", "Q c #B5645C", "R c #A44539", "S c #9A3325", "T c #932C1E", "U c #8C291B", "V c #802317", "W c #782419", "X c #631F16", "Y c #A95E54", "Z c #BF8078", "` c #C9958E", " . c #CB9790", ".. c #C9908A", "+. c #C2837B", "@. c #B86B63", "#. c #AB5246", "$. c #9E3B2D", "%. c #962F21", "&. c #912A1C", "*. c #882419", "=. c #822A21", "-. c #873E34", ";. c #83423A", ">. c #87473E", ",. c #B57168", "'. c #BB7C76", "). c #BB7972", "!. c #B1645A", "~. c #A95348", "{. c #9E3D33", "]. c #973124", "^. c #90291B", "/. c #8A2619", "(. c #882B1F", "_. c #8E473D", ":. c #9C615B", "<. c #804C47", "[. c #562621", "}. c #A66057", "|. c #AC665F", "1. c #AB6258", "2. c #A7564E", "3. c #A04A3F", "4. c #9B3D34", "5. c #963427", "6. c #8F2B1E", "7. c #8B271A", "8. c #8A2C1F", "9. c #8E4137", "0. c #9D6760", "a. c #A57872", "b. c #5A322F", "c. c #080101", "d. c #924B41", "e. c #9D544C", "f. c #9C5147", "g. c #9B493E", "h. c #984037", "i. c #93382C", "j. c #8F3124", "k. c #8A281D", "l. c #882D21", "m. c #91443A", "n. c #9B615A", "o. c #A87D77", "p. c #9A6B65", "q. c #080303", "r. c #451D16", "s. c #8D443A", "t. c #90453D", "u. c #904339", "v. c #8E3C31", "w. c #8A362B", "x. c #882F23", "y. c #863027", "z. c #934A40", "A. c #A26961", "B. c #A97A74", "C. c #A2736F", "D. c #4B2722", "E. c #54241D", "F. c #803B31", "G. c #803A31", "H. c #823A31", "I. c #82372F", "J. c #853A30", "K. c #915148", "L. c #A06A63", "M. c #A1716C", "N. c #5C312B", "O. c #3D1712", "P. c #71332C", "Q. c #7D3D36", "R. c #874A42", "S. c #915A54", "T. c #9B6B64", "U. c #A27771", "V. c #966761", "W. c #48241F", "X. c #060101", "Y. c #4A211D", "Z. c #73443E", "`. c #8E5F59", " + c #80524D", ".+ c #532C28", " ", " . . . . . ", " + @ # $ % & * = . ", " - ; > , ' ) ! ~ { ] . ", " ^ / ( _ : < [ } ~ | 1 2 . ", " 3 4 5 6 7 8 9 0 a b c d e f . ", " g h i j k l m n o p q r s t u ", " . v w x y z y A B C D E F G H I . ", " . J K L M N O P Q R S T U V W X . ", " . Y Z ` ...+.@.#.$.%.&.*.=.-.;.. ", " . >.,.'.).[ !.~.{.].^./.(._.:.<.. ", " . [.}.|.1.2.3.4.5.6.7.8.9.0.a.b.. ", " c.d.e.f.g.h.i.j.k.l.m.n.o.p.q. ", " . r.s.t.u.v.w.x.y.z.A.B.C.D.. ", " . E.F.G.H.I.J.K.L.o.M.N.. ", " . O.P.Q.R.S.T.U.V.W.. ", " . X.Y.Z.`. +.+q.. ", " . . . . . ", " ", " "}; phpmole/glade/stock_button_ok.xpm0000755000175000017500000000234307372146470017422 0ustar alanalan00000000000000/* XPM */ static char * stock_button_ok_png_xpm[] = { "20 20 47 1", " c None", ". c #10120F", "+ c #000000", "@ c #B6C6AA", "# c #ADBBA1", "$ c #9EAB93", "% c #95A28B", "& c #D5E7C7", "* c #9CA992", "= c #7E8875", "- c #94A08A", "; c #7B8572", "> c #636B5C", ", c #838E7A", "' c #616A5B", ") c #707A69", "! c #AAB89E", "~ c #575E51", "{ c #585F52", "] c #687161", "^ c #798371", "/ c #97A48D", "( c #B2C1A6", "_ c #99A68E", ": c #727C6A", "< c #42483E", "[ c #8A9580", "} c #606859", "| c #41473D", "1 c #818C79", "2 c #5B6255", "3 c #40453C", "4 c #4E5549", "5 c #909C87", "6 c #7C8774", "7 c #555D50", "8 c #3E4339", "9 c #929E88", "0 c #52594C", "a c #393E35", "b c #4C5247", "c c #8F9B85", "d c #6A7363", "e c #4F564A", "f c #51574B", "g c #0E0F0D", "h c #383C34", " ", " ....... ", " +@@@#$$%. ", " .@&*%%%=. ", " .@@%%%%=. ", " .@%%-%%=. ", " . .@%$%%%=. ", " .;. .@%%%%%=. ", " .@>....@%%%,'). ", " .@!;~~~{'>]^/({. ", " .@/%%%%////_%:<. ", " .@_%%%%%%%%%[}|. ", ".@*/%%%%%%%%123. ", " .45%%%%%%%678. ", " .49%%%%-60a. ", " .b5c6;dea. ", " .feg.... ", " .h. ", " . ", " "}; phpmole/glade/stock_button_yes.xpm0000755000175000017500000000754407372146470017621 0ustar alanalan00000000000000/* XPM */ static char * stock_button_yes_png_xpm[] = { "20 20 187 2", " c None", ". c #000000", "+ c #030303", "@ c #090C07", "# c #36502D", "$ c #547B48", "% c #619152", "& c #467039", "* c #26421D", "= c #030601", "- c #080808", "; c #405639", "> c #85AA79", ", c #8CB281", "' c #85AC79", ") c #729E65", "! c #649455", "~ c #598948", "{ c #4A793C", "] c #1D3516", "^ c #0A0A0A", "/ c #58704F", "( c #9FBF94", "_ c #AFC9A6", ": c #ABC7A2", "< c #9CBC91", "[ c #80A974", "} c #69995A", "| c #4E7E3F", "1 c #487637", "2 c #224019", "3 c #040404", "4 c #3E5439", "5 c #9FC095", "6 c #BCD2B5", "7 c #C8D9C2", "8 c #C0D3B8", "9 c #A6C39C", "0 c #89B07D", "a c #679857", "b c #558A45", "c c #4D803D", "d c #457736", "e c #3F7030", "f c #18300F", "g c #0E110C", "h c #88AD7C", "i c #B5CEAD", "j c #CDDDC8", "k c #DFE8DB", "l c #CCDCC7", "m c #ADC8A5", "n c #87AF7A", "o c #669956", "p c #518940", "q c #4A8239", "r c #447934", "s c #3C6E2D", "t c #346326", "u c #020401", "v c #3E5736", "w c #9ABB8E", "x c #BED3B6", "y c #D2E0CD", "z c #E4EDE2", "A c #D1E0CD", "B c #AAC6A1", "C c #84AE77", "D c #639653", "E c #4D883B", "F c #498235", "G c #437930", "H c #3A6F2A", "I c #386827", "J c #1A3411", "K c #638657", "L c #9BBC91", "M c #B6CDAE", "N c #C0D4B9", "O c #C5D8BF", "P c #B5CDAC", "Q c #95B889", "R c #7AA66B", "S c #5C924B", "T c #4B8639", "U c #447F32", "V c #40792E", "W c #396E29", "X c #386829", "Y c #2F5623", "Z c #6F9B62", "` c #8FB384", " . c #A1BF98", ".. c #A3C19A", "+. c #A0BE95", "@. c #92B687", "#. c #80A972", "$. c #679A57", "%. c #528B40", "&. c #478235", "*. c #427D30", "=. c #3F752C", "-. c #427231", ";. c #4F7942", ">. c #517746", ",. c #567B4A", "'. c #81A875", "). c #8DB081", "!. c #8BAF7E", "~. c #76A269", "{. c #679958", "]. c #578C45", "^. c #498437", "/. c #417C2F", "(. c #3E772C", "_. c #417631", ":. c #57804B", "<. c #719166", "[. c #5A7651", "}. c #334D2A", "|. c #719964", "1. c #799F6C", "2. c #739D66", "3. c #6C985D", "4. c #5E904F", "5. c #578A45", "6. c #4B833A", "7. c #427C31", "8. c #3F782D", "9. c #427831", "0. c #537F46", "a. c #74936A", "b. c #829D7A", "c. c #3E5336", "d. c #040703", "e. c #5B844F", "f. c #679059", "g. c #638E55", "h. c #5C8B4E", "i. c #588847", "j. c #4D823D", "k. c #477D36", "l. c #427730", "m. c #427732", "n. c #568249", "o. c #6F9065", "p. c #87A07F", "q. c #76916E", "r. c #050704", "s. c #253D1E", "t. c #557F48", "u. c #59824B", "v. c #558148", "w. c #4F7E41", "x. c #4A7A3B", "y. c #447734", "z. c #477637", "A. c #5B854E", "B. c #76976C", "C. c #85A07D", "D. c #809A77", "E. c #2F4429", "F. c #2F4A27", "G. c #4B723F", "H. c #4A733E", "I. c #4B753E", "J. c #4B743D", "K. c #4C763F", "L. c #608554", "M. c #77966D", "N. c #7E9875", "O. c #3B5433", "P. c #203619", "Q. c #436538", "R. c #4E7142", "S. c #587B4E", "T. c #69865F", "U. c #76926D", "V. c #819A79", "W. c #728D6A", "X. c #2C4126", "Y. c #030502", "Z. c #2C4225", "`. c #4F6A47", " + c #6A8562", ".+ c #5E7756", "++ c #374C2F", " ", " . . . . . ", " + @ # $ % & * = . ", " - ; > , ' ) ! ~ { ] . ", " ^ / ( _ : < [ } ~ | 1 2 . ", " 3 4 5 6 7 8 9 0 a b c d e f . ", " g h i j k l m n o p q r s t u ", " . v w x y z A B C D E F G H I J . ", " . K L M N O P Q R S T U V W X Y . ", " . Z ` ...+.@.#.$.%.&.*.=.-.;.>.. ", " . ,.'.).!.[ ~.{.].^./.(._.:.<.[.. ", " . }.|.1.2.3.4.5.6.7.8.9.0.a.b.c.. ", " d.e.f.g.h.i.j.k.l.m.n.o.p.q.r. ", " . s.t.u.v.w.x.y.z.A.B.C.D.E.. ", " . F.G.H.I.J.K.L.M.p.N.O.. ", " . P.Q.R.S.T.U.V.W.X.. ", " . Y.Z.`. +.+++r.. ", " . . . . . ", " ", " "}; phpmole/glade/stock_cdrom.xpm0000755000175000017500000000667707372146470016540 0ustar alanalan00000000000000/* XPM */ static char * stock_cdrom_png_xpm[] = { "24 24 138 2", " c None", ". c #000000", "+ c #AEB3B3", "@ c #C6C9CD", "# c #D7D4DF", "$ c #ECDEF3", "% c #E7CBE9", "& c #D9B5D3", "* c #B1B7A5", "= c #B0B8AD", "- c #B3B9B6", "; c #C1C6C8", "> c #D5D3DC", ", c #E5CAE6", "' c #E0BBD7", ") c #E1ADC2", "! c #E3ACA3", "~ c #CAC1A4", "{ c #C5C7AC", "] c #B7BEAF", "^ c #ADB4AF", "/ c #BDC2C3", "( c #D1D0D8", "_ c #E5C7E4", ": c #E0B6D1", "< c #E7A9B4", "[ c #EDCDB6", "} c #D6CFAE", "| c #DFA79F", "1 c #DDBFAA", "2 c #CFC5A9", "3 c #C1C4AC", "4 c #B2BAAF", "5 c #B6BBBB", "6 c #CDCED4", "7 c #E4C4E1", "8 c #E0AFC7", "9 c #EABCAE", "0 c #E1D6B6", "a c #C7CCAE", "b c #A2AB9A", "c c #E3ABC0", "d c #E6A3A7", "e c #DFBAA8", "f c #BDC2AE", "g c #E2BFDC", "h c #E7D6B8", "i c #ACB6A6", "j c #9DA89F", "k c #D9AFCF", "l c #E1B4D2", "m c #E2B0CB", "n c #E4A9BB", "o c #E2B2A6", "p c #6A6A6A", "q c #0D0D0D", "r c #A6B1A3", "s c #98A29C", "t c #8F9796", "u c #7E8485", "v c #E8C6E7", "w c #E5C2E3", "x c #E3BDDD", "y c #E1B6D5", "z c #8B9092", "A c #979EA2", "B c #A0A7AE", "C c #E7D3ED", "D c #E8D1ED", "E c #E8CEEC", "F c #E9CCEB", "G c #A7AEB7", "H c #B2B6C5", "I c #BABCCE", "J c #BFBED3", "K c #E9DFF0", "L c #E1D2F7", "M c #CAC7D2", "N c #C5C4CD", "O c #BFBFC7", "P c #B8B9C0", "Q c #AEAFB6", "R c #D5A8E1", "S c #D8B2E9", "T c #D9B8ED", "U c #DBBDF0", "V c #DCBFF1", "W c #A4A6AC", "X c #A8AAAF", "Y c #A0A6A8", "Z c #989E9C", "` c #A1A89E", " . c #B1B6A1", ".. c #C08CAD", "+. c #CC90B5", "@. c #D394CA", "#. c #D6A2DB", "$. c #CFA7DF", "%. c #989F9B", "&. c #ACB3A0", "*. c #B9B9A4", "=. c #D0B8A8", "-. c #C5B5B8", ";. c #B6BBAD", ">. c #E3D7B5", ",. c #DDB4A9", "'. c #CB89AC", "). c #C891B5", "!. c #D18DB7", "~. c #A1A798", "{. c #BDB9A5", "]. c #CAB5B7", "^. c #B8B1B1", "/. c #C2C8B2", "(. c #E1BFAF", "_. c #DB929A", ":. c #BE82A6", "<. c #C891B4", "[. c #C78BB0", "}. c #BCB6A1", "|. c #CDB6B7", "1. c #C0B4B5", "2. c #B1B1AA", "3. c #CAD1B4", "4. c #E2C1B0", "5. c #DBA8A3", "6. c #D28AA9", "7. c #B77EA2", "8. c #BD89A9", "9. c #C9AFAF", "0. c #D0D6B5", "a. c #E2BFAF", "b. c #C684A7", "c. c #ACAAA6", "d. c #BDC3B0", "e. c #D2D7B5", "f. c #E2BFAE", "g. c #DBB6A8", " ", " ", " ", " . . . . . . ", " . . + @ # $ % & . . ", " . * = - ; > $ , ' ) ! . ", " . ~ { ] ^ / ( $ _ : < [ } . ", " . | 1 2 3 4 5 6 $ 7 8 9 0 a b . ", " . c d e 2 f ^ @ $ g < h a i j . ", " . k l m n o 2 p q q p [ a r s t u . ", " . v w x y m p . . p j t z A B . ", " . C D E F v q q A G H I J . ", " . K K K K K q q L L L L L . ", " . M N O P Q p . . p R S T U V . ", " . W X Y Z ` .p q q p ..+.@.#.R $.. ", " . %.` &.*.=.-.;.>.,.'...).!.@.. ", " . ~. .{.=.].^./.>.(._.:...<.[.. ", " . }.=.|.1.2.3.>.4.5.6.7.8.. ", " . 9.-.^.;.0.>.a.,._.b.. ", " . . c.d.e.>.f.g.. . ", " . . . . . . ", " ", " ", " "}; phpmole/glade/stock_clear.xpm0000755000175000017500000000304607372146470016505 0ustar alanalan00000000000000/* XPM */ static char * stock_clear_png_xpm[] = { "24 24 56 1", " c None", ". c #000000", "+ c #7C6149", "@ c #BCA189", "# c #D9C9BB", "$ c #7D624A", "% c #7B6049", "& c #BDA28A", "* c #34291F", "= c #362A20", "- c #654F3C", "; c #060503", "> c #0E0B08", ", c #725944", "' c #7A6049", ") c #795F48", "! c #A78363", "~ c #463729", "{ c #070504", "] c #725A43", "^ c #A17E60", "/ c #8B9585", "( c #5A6156", "_ c #030302", ": c #9D7B5D", "< c #403226", "[ c #ACB8A4", "} c #2D231A", "| c #715943", "1 c #84795F", "2 c #EBD8A9", "3 c #AAA07D", "4 c #CFCFCF", "5 c #CFCAA6", "6 c #B0A27F", "7 c #555555", "8 c #9B987C", "9 c #2A2D28", "0 c #80826E", "a c #9A8F71", "b c #C6B890", "c c #8D8870", "d c #BABEA4", "e c #AAAA8D", "f c #85856E", "g c #757764", "h c #65614D", "i c #898166", "j c #DBD0A7", "k c #B1AD8E", "l c #7C765E", "m c #676450", "n c #75735D", "o c #95957B", "p c #8E917B", "q c #6D6F5C", " ", " ", " .. ", " .+@. ", " .@#$. ", " .%#&* ", " =@#+. ", " .-&&; ", " >,&'. ", " .)!~ ... . ", " {]^; ../(. ", " _:<.[[[/. . ", " }|[[[[.1. . ", " .[[[[.23. . ", " .[[[[.2221. . . ", " .[[[[.22145... ", " ./[[.2222.56.. . .", " .7/.22622890a... ", " ..b22bcdef.gh... ", " .i3jk8.lfm.. ", " .9nopq... ", " .... ", " ", " "}; phpmole/glade/stock_close.xpm0000755000175000017500000000137307372146470016525 0ustar alanalan00000000000000/* XPM */ static char * stock_close_png_xpm[] = { "24 24 2 1", " c None", ". c #000000", " ", " ", " ", " ", " ", " ", " . .. ", " .. .... ", " .. ... ", " ..... ", " ... ", " .... ", " ...... ", " .. .... ", " .. .... ", " . .. ", " ", " ", " ", " ", " ", " ", " ", " "}; phpmole/glade/stock_colorselector.xpm0000755000175000017500000000213507372146470020274 0ustar alanalan00000000000000/* XPM */ static char * stock_colorselector_png_xpm[] = { "24 24 25 1", " c None", ". c #000000", "+ c #9F3853", "@ c #5FA087", "# c #329596", "$ c #908669", "% c #736B54", "& c #CAC3AA", "* c #D3CDB8", "= c #C76849", "- c #B4D6B8", "; c #57898A", "> c #7CD1D3", ", c #8CB694", "' c #7A735A", ") c #434032", "! c #C0B799", "~ c #B4A884", "{ c #948B6D", "] c #BBB191", "^ c #EED680", "/ c #C2B99C", "( c #5C5543", "_ c #9C8973", ": c #494435", " ", " ", " ................... ", " .+++++.@@@@@.#####. ", " .+++++.@@@@@.#####. ", " .+++++.@@@...#####. ", " .+++++.@@.$%.#####. ", " .+++++.@@.&$.#####. ", " ..........*$....... ", " .=====.--.*$.;>>>>. ", " .=====.--.&$...;>>. ", " .=====.-,.&$.').... ", " .=====.,..!$.~%.{%... ", " .=====..%.!$.~$.~$.$%.", " ........$.!]$~~$~~~~$.", " .^^^^^..~.!//]]~~~~~%.", " .^^^^^..~.~//]/~~~~~%.", " .^^^^^..$~]///]/~~~~(.", " .^^^^^._.$~////]~~~$:.", " .^^^^^._.%~]//]/~~~$. ", " ..........$////]~~$%. ", " .%~~///~~$(. ", " .$]//]~~%. ", " .~]//~~(. "}; phpmole/glade/stock_convert.xpm0000755000175000017500000000216507372146470017100 0ustar alanalan00000000000000/* XPM */ static char * stock_convert_png_xpm[] = { "24 24 27 1", " c None", ". c #000000", "+ c #D37F71", "@ c #37452B", "# c #CE918A", "$ c #D4897A", "% c #67102D", "& c #C47474", "* c #D69788", "= c #445636", "- c #CB8984", "; c #D79C8D", "> c #526741", ", c #C8807D", "' c #4C603C", ") c #566B43", "! c #5A7046", "~ c #577A4D", "{ c #4C6B43", "] c #76996C", "^ c #9BB594", "/ c #648C58", "( c #DAE3D6", "_ c #67865E", ": c #A7BDA0", "< c #8EAB86", "[ c #425D3A", " ", " ", " ", " ", " . .... ", " .+. ...@.. ", " .#$%. . .@. ", " .&#*%%. .=. ", " .&-#;%%%. .>. ", " .&,-#;%%%%. ..>>'.. ", " .&,-#*%%%. .)!). ", " ..&,$%%. .>. ", " ..+%. . ", " .. ", " ... ", " ..~~{.. ", " .]^^]/. ", " .~^(^]/{. ", " ._:^ c #D7D7C1", ", c #DBDBC4", "' c #ACAC9B", ") c #DDDDD9", "! c #42423A", "~ c #A5A595", "{ c #DADAC3", "] c #DEDEC7", "^ c #E2E2CA", "/ c #616156", "( c #A5A594", "_ c #D9D9C3", ": c #DDDDC6", "< c #E1E1C9", "[ c #E4E4CD", "} c #BBBBA7", "| c #DCDCC5", "1 c #E0E0C9", "2 c #E3E3CC", "3 c #E7E7CF", "4 c #929284", "5 c #DFDFC8", "6 c #E2E2CB", "7 c #E6E6CF", "8 c #EAEAD2", "9 c #B4B4A1", "0 c #E5E5CE", "a c #E9E9D1", "b c #EDEDD5", "c c #EBEBD3", "d c #A3A391", "e c #AEAE9C", "f c #E8E8D0", "g c #ECECD4", "h c #F0F0D7", "i c #EEEED5", "j c #F2F2D9", "k c #F1F1D8", "l c #F5F5DC", "m c #A7A796", "n c #9F9F8F", "o c #A6A696", " ", " ", " ", " ", " ", " .. ", " ..+@. ", " .#$%&*. .. ", " .=-;>,'. ..+@. ", " .)!~{]^.#$%&*. ", " ./(_:<[.=-;>,'. ", " .}*|123.)!~{]^. ", " .4,5678./(_:<[9. ", " .]^0ab.}*|123cd. ", " .e[fgh.4,5678ij. ", " .3cd...]^0abklm. ", " .n.. .e[fgho.. ", " . .3cd.. ", " . .n.. ", " ..... . ", " ..... ", " . ", " ", " "}; phpmole/glade/stock_cut.xpm0000755000175000017500000000137107372146470016211 0ustar alanalan00000000000000/* XPM */ static char * stock_cut_png_xpm[] = { "24 24 2 1", " c None", ". c #000000", " ", " ", " ", " ", " ", " . ", " .. ", " .. ", " .. ", " .. ", " .... .. ... ", " . .. .. .... ", " . ........... ", " .... .... ", " .. ", " ... ", " . . ", " . . ", " . . ", " ... ", " ", " ", " ", " "}; phpmole/glade/stock_down_arrow.xpm0000755000175000017500000000343307372146470017600 0ustar alanalan00000000000000/* XPM */ static char * stock_down_arrow_png_xpm[] = { "24 24 72 1", " c None", ". c #000000", "+ c #060606", "@ c #080808", "# c #0A0A0A", "$ c #050505", "% c #DBDCD9", "& c #E9EAE8", "* c #EEEEED", "= c #F3F3F3", "- c #F3F3F2", "; c #F0F0F0", "> c #B0C4A6", ", c #A6BD9B", "' c #A3BA97", ") c #9AB590", "! c #87A37B", "~ c #738F65", "{ c #010101", "] c #E4E4E2", "^ c #F0EEEF", "/ c #F1F0F1", "( c #F2F0F2", "_ c #93B385", ": c #8FAF81", "< c #8FAF80", "[ c #86A877", "} c #739164", "| c #040404", "1 c #DBDBDA", "2 c #EBE9EA", "3 c #F3EFF3", "4 c #F5F1F5", "5 c #8AAD7A", "6 c #89AC79", "7 c #86A478", "8 c #6A885C", "9 c #E0E0DF", "0 c #F2EFF2", "a c #F4F0F4", "b c #F6F2F6", "c c #8BAE7B", "d c #86A876", "e c #769568", "f c #D4D5D1", "g c #EEEDED", "h c #8DAE7D", "i c #89A67B", "j c #E3E3E1", "k c #F1EFF1", "l c #F3F0F3", "m c #8EAE7E", "n c #8FAD81", "o c #729163", "p c #D4D5D2", "q c #ECEBEB", "r c #EEECEE", "s c #91AF82", "t c #7F9D71", "u c #678459", "v c #030303", "w c #E1E1E0", "x c #E9E8E8", "y c #90AB83", "z c #6E8B60", "A c #D2D4D0", "B c #7D9970", "C c #637F55", "D c #BBC0B8", "E c #678558", "F c #A3AC9E", "G c #5F7B52", " ", " ", " ", " ", " ", " .+++@#$$$$@... ", " .%&*=-;>,')!~. ", " {]^/(/_:<[}. ", " |1234455678. ", " .90abc5de. ", " .fg(45hi8. ", " .jklmno. ", " .pqrstu. ", " vwxyz. ", " .A%BC. ", " .DE. ", " .FG. ", " .. ", " .. ", " ", " ", " ", " ", " "}; phpmole/glade/stock_exec.xpm0000755000175000017500000000361507372146470016345 0ustar alanalan00000000000000/* XPM */ static char * stock_exec_png_xpm[] = { "24 24 80 1", " c None", ". c #000000", "+ c #B2A97E", "@ c #B6AD81", "# c #7A7356", "$ c #B0A77C", "% c #B5AC80", "& c #BAB184", "* c #BBB284", "= c #B6AD80", "- c #ADA57B", "; c #B7AE81", "> c #BDB486", ", c #837C5C", "' c #B4AC80", ") c #7C7557", "! c #C0B687", "~ c #BEB586", "{ c #B1A87D", "] c #B9B082", "^ c #C0B788", "/ c #AFA67B", "( c #AFA77C", "_ c #BAB183", ": c #BBB285", "< c #BCB385", "[ c #C4BB8B", "} c #C6BC8C", "| c #C7BD8D", "1 c #C7BE8D", "2 c #C8BF8E", "3 c #C8BE8D", "4 c #C5BC8B", "5 c #C1B788", "6 c #B9B083", "7 c #CDC391", "8 c #D0C693", "9 c #D1C794", "0 c #D3C995", "a c #CDC491", "b c #C2B889", "c c #CAC18F", "d c #D5CB97", "e c #D6CC97", "f c #D6CC98", "g c #D7CD98", "h c #CEC491", "i c #C2B98A", "j c #CBC18F", "k c #C1B889", "l c #8A8261", "m c #D4CA96", "n c #C0B787", "o c #80785A", "p c #B9B183", "q c #827C5B", "r c #CFC592", "s c #C7BD8C", "t c #C3BA8A", "u c #CAC08F", "v c #D0C793", "w c #7C7657", "x c #D2C894", "y c #D2C995", "z c #CCC290", "A c #C4BA8A", "B c #D1C793", "C c #CEC592", "D c #C5BC8C", "E c #CFC693", "F c #C1B888", "G c #BEB486", "H c #C8BF8D", "I c #C9C08F", "J c #C9BF8E", "K c #C5BB8B", "L c #B2A97D", "M c #C2B989", "N c #BFB687", "O c #B3AA7E", " ", " ", " ", " .... ", " .+.@#. ", " .$%&*=-. ", " ..;>,$.. ", " .-')!~@. ... ", " ..{]~^.. ./({. . ", " .#._#._..&:<..@. ", " . ..>[}|1232456. ", " .2789009a2. ", " .bc9defge0h.. ", " .]ij9ekl1gm83n. ", " .*ic9dopqgmrs~. ", " . c #080808", " ", " ", " ", " ......... ", " .++++++.. ", " .++++++.. ", " ...++++++.. ", " .@.++++++.. ", " ......@#.++$.+.. ", " .%&*=-@#;.+.$+.. ", " .%&*=-@#;.++++.. ", " ......@#.+++++.. ", " .@.++++++.. ", " ...++++++.. ", " .++++.... ", " .++...... ", " ...>>>>>> ", " ", " ", " "}; phpmole/glade/stock_first.xpm0000755000175000017500000000250507372146470016545 0ustar alanalan00000000000000/* XPM */ static char * stock_first_png_xpm[] = { "24 24 41 1", " c None", ". c #000000", "+ c #C6D7C3", "@ c #E4EBE2", "# c #FFFFFF", "$ c #DFE8DD", "% c #F3F7F3", "& c #DCE6D9", "* c #F2F6F1", "= c #EFF3EE", "- c #F1F5F0", "; c #F4F7F4", "> c #121B12", ", c #DEE7DC", "' c #EEF3ED", ") c #EBF1EA", "! c #B1C7AC", "~ c #E9EFE8", "{ c #D7E3D5", "] c #67925C", "^ c #375930", "/ c #548149", "( c #729B68", "_ c #80A776", ": c #7DA473", "< c #81A877", "[ c #83AA7A", "} c #87AC7D", "| c #516F4A", "1 c #4E7C44", "2 c #739C6A", "3 c #84A979", "4 c #81A878", "5 c #709864", "6 c #608C56", "7 c #49763F", "8 c #719A67", "9 c #5B8851", "0 c #46703C", "a c #6FA763", "b c #36582E", " ", " ", " ", " ", " ", " .... .. ", " .++. ..+. ", " .++. ..@#+. ", " .++. ..$#%%+. ", " .++. ..&#*=-;+. ", " .++. .>,#'))===+. ", " .++..!#~{,@)===+. ", " .]]..^/(_:<[}[}]. ", " .]]. ..|123_4}[]. ", " .]]. ..^15<_}]. ", " .66. ..718_6. ", " .99. ..0a9. ", " .bb. ..b. ", " .... .. ", " ", " ", " ", " ", " "}; phpmole/glade/stock_font.xpm0000755000175000017500000000212407372146470016361 0ustar alanalan00000000000000/* XPM */ static char * stock_font_png_xpm[] = { "24 24 25 1", " c None", ". c #FFFF99", "+ c #FFC777", "@ c #FF5533", "# c #FF1D11", "$ c #FF0000", "% c #FF3922", "& c #FF8E55", "* c #FFAA66", "= c #FF7244", "- c #FFE388", "; c #FF5935", "> c #FF9157", ", c #FFD07D", "' c #FF4E2F", ") c #FF190F", "! c #FF331E", "~ c #FF472A", "{ c #FFDC84", "] c #FF7D4B", "^ c #FFDF86", "/ c #FFBB70", "( c #FF3F25", "_ c #FF4E2E", ": c #FFB36B", " ......... ", " .+@#$$$$%&. ", " .*$=+.-#$$$. ", " .@&...=$#$$. ", " .;>..-$=@$$. ", " .,'..=#.@$$. ", " .,..#=.@$$. ", " .&$&*%$$..-**.. ", " .#$$$$$$.%$$$#*.", "... .&#...*$$.@-.&$$+", "........... *$$.*. .&$+", ".+@)!~@$%@+. *$$$@. .*.", "=$&..+*.+#$*.-***.. ", "$&..@$@..+$#..$$*. ", "%- .@$@. .$#..$$=. ", "{] .@$@..-$*..$$#.. ", " + .@$@.^##-..@$$@. ./.", " .@$@.^#$%..+$$$&..-%.", " .@$@..+$$* .*$$$%@$=.", " .@$@. .$$* .-&@@=+..", " .@$=..-$$+ ..... ", " .^#$@(_#$@. ", " :_@@@(_@+.. ", " ......... "}; phpmole/glade/stock_help.xpm0000755000175000017500000000201107372146470016336 0ustar alanalan00000000000000/* XPM */ static char * stock_help_png_xpm[] = { "24 24 20 1", " c None", ". c #000000", "+ c #A6BFA2", "@ c #F0F4EF", "# c #EBF1EA", "$ c #E1E9E0", "% c #CBDAC9", "& c #F3F6F3", "* c #D2DFD0", "= c #C3D4C1", "- c #ACC3A8", "; c #BCCFB8", "> c #2B2B2B", ", c #E6EDE4", "' c #212E1F", ") c #658B5E", "! c #8CAD86", "~ c #96B491", "{ c #B8CCB5", "] c #8DAD88", " ", " ", " ", " ", " ..... ", " .+@#$%. ", " .%&@$$$*. ", " .=@-...;$-> ", " .,' .$$. ", " %. .$-. ", " .$$). ", " .$$!. ", " .$$!. ", " .~$!. ", " .$~. ", " .... ", " ", " .. ", " .${. ", " .{]. ", " .. ", " ", " ", " "}; phpmole/glade/stock_home.xpm0000755000175000017500000000216207372146470016345 0ustar alanalan00000000000000/* XPM */ static char * stock_home_png_xpm[] = { "24 24 27 1", " c None", ". c #000000", "+ c #FFFFFF", "@ c #CFD7CF", "# c #E0E4DD", "$ c #839279", "% c #C9D0C5", "& c #D4D9D0", "* c #B9C2B3", "= c #7F8F74", "- c #000100", "; c #C7CEC3", "> c #D2D7CE", ", c #CCD3C8", "' c #C8CFC4", ") c #B7C0B1", "! c #EFF1EE", "~ c #B8C1B2", "{ c #7A8A6F", "] c #D3D8CF", "^ c #6C7A63", "/ c #A6B19E", "( c #626F5A", "_ c #6D7B64", ": c #6A7861", "< c #D8DDD4", "[ c #6B7962", " ", " ", " ", " ", " . ... ", " .+. .@. ", " .+#$..%. ", " .++&*=-;. ", " .++>,')='. ", " .!+>'''%~{. ", " .++]''%'''~^. ", " .+++%''%';;;/(. ", " ...++'''';;;;_... ", " .++%';;;;;;^. ", " .++....;;;;^. ", " .++.;;.;;;'^. ", " .++.''.''';:. ", " .+<.,,.'';;[. ", " .%_.^^.^^:[^. ", " ............. ", " ", " ", " ", " "}; phpmole/glade/stock_index.xpm0000755000175000017500000000201207372146470016516 0ustar alanalan00000000000000/* XPM */ static char * stock_index_png_xpm[] = { "24 24 20 1", " c None", ". c #000000", "+ c #E0E4E0", "@ c #949C8C", "# c #908669", "$ c #736B54", "% c #CAC3AA", "& c #D3CDB8", "* c #A3A5A3", "= c #7A735A", "- c #434032", "; c #080807", "> c #C0B799", ", c #B4A884", "' c #948B6D", ") c #BBB191", "! c #C2B99C", "~ c #998F70", "{ c #5C5543", "] c #494435", " ", " ", " ", " .................. ", " .++++++++++++++++. ", " .+++++..@++++++++. ", " .++++.#$.@+++++++. ", " ......%#.......... ", " .++++.&#.@+++++++. ", " .++++.%#...*+++++. ", " .++++.%#.=-;..@++. ", " ......>#.,$.'$.... ", " .++.$.>#.,#.,#.#$. ", " .++.#.>)#,,#,,,,#. ", " .++.,.>!!)),,,,,$. ", " ....,.,!!)!,,,,,$. ", " .++.#~)!!!)!,,,,{. ", " .+++.#,!!!!),,,#]. ", " .+++.$,)!!)!,,,#. ", " ......#!!!!),,#$. ", " .$,,!!!,,#{. ", " .#)!!),,$. ", " .,)!!,,{. ", " "}; phpmole/glade/stock_jump_to.xpm0000755000175000017500000000250707372146471017076 0ustar alanalan00000000000000/* XPM */ static char * stock_jump_to_png_xpm[] = { "24 24 41 1", " c None", ". c #212121", "+ c #EAD4CB", "@ c #E3C5BA", "# c #DBB4A4", "$ c #EEDED7", "% c #FAF7F5", "& c #F2E5E1", "* c #D2AC99", "= c #000000", "- c #8D9E7C", "; c #CDD9C2", "> c #DEE6D7", ", c #DAE2D1", "' c #9BAD89", ") c #B79382", "! c #707D63", "~ c #B4C6A2", "{ c #ACC098", "] c #636E57", "^ c #AB8A7A", "/ c #E4E9DD", "( c #657158", "_ c #C49F8D", ": c #C3D1B5", "< c #808F70", "[ c #4C5442", "} c #58634E", "| c #E6EBE0", "1 c #D4DDC9", "2 c #CAD7BE", "3 c #90A17F", "4 c #5F6A53", "5 c #535C49", "6 c #E9EDE4", "7 c #616D56", "8 c #A8BC95", "9 c #7C8B6E", "0 c #4C5443", "a c #B6C2AA", "b c #5E6953", " ", " ", " ", " ", " ", " ", " ... ", " ..+@#.. ", " .$%&@*. ", " =======+#**. ", " =-;>,'=###). ", " =!~{]=##*^. ", " ==/;{(]=#*_. ", " ==/;:{<[}=)).. ", " =|12{{34=5=.. ", " =6{{{7= == ", " =>890= ", " =a]= ", " =b= ", " = ", " ", " ", " ", " "}; phpmole/glade/stock_last.xpm0000755000175000017500000000265507372146471016370 0ustar alanalan00000000000000/* XPM */ static char * stock_last_png_xpm[] = { "24 24 48 1", " c None", ". c #000000", "+ c #E1EADF", "@ c #FFFFFF", "# c #F0F4EF", "$ c #D4E0D1", "% c #F3F7F3", "& c #EDF2EB", "* c #CEDCCB", "= c #F4F7F4", "- c #F1F5F0", "; c #EFF3EE", "> c #EBF1EA", ", c #C9D8C5", "' c #E5ECE3", ") c #CBDAC7", "! c #181818", "~ c #E4EBE2", "{ c #DEE7DC", "] c #D7E3D5", "^ c #EEF3ED", "/ c #B1C7AC", "( c #9DBB90", "_ c #88AC80", ": c #83AA7C", "< c #85A879", "[ c #7EA476", "} c #84A778", "| c #759B6C", "1 c #59814F", "2 c #3A5934", "3 c #9ABB8F", "4 c #83AA7A", "5 c #87AC7D", "6 c #82A87B", "7 c #86A97C", "8 c #759C6D", "9 c #537C49", "0 c #445840", "a c #80A776", "b c #749868", "c c #4B7040", "d c #90B387", "e c #749A6B", "f c #3B5E31", "g c #5D8554", "h c #37592F", "i c #3F6534", " ", " ", " ", " ", " ", " .. .... ", " .+.. .++. ", " .@#$.. .@@. ", " .@%&#*.. .@@. ", " .@=-;>-,.. .@@. ", " .@;;;>>'#)!. .@@. ", " .@;;;>~{]{^/..@@. ", " .(_:_:<[}|12..((. ", " .3456}7890.. .33. ", " .35a c #121B12", ", c #DEE7DC", "' c #EEF3ED", ") c #EBF1EA", "! c #B1C7AC", "~ c #E9EFE8", "{ c #D7E3D5", "] c #243221", "^ c #375930", "/ c #548149", "( c #729B68", "_ c #80A776", ": c #7DA473", "< c #81A877", "[ c #83AA7A", "} c #87AC7D", "| c #67925C", "1 c #516F4A", "2 c #4E7C44", "3 c #739C6A", "4 c #84A979", "5 c #81A878", "6 c #709864", "7 c #49763F", "8 c #719A67", "9 c #608C56", "0 c #46703C", "a c #6FA763", "b c #5B8851", "c c #36582E", " ", " ", " ", " ", " ", " .. ", " ..+. ", " ..@#+. ", " ..$#%%+. ", " ..&#*=-;+. ", " .>,#'))===+. ", " ..!#~{,@)===+] ", " ..^/(_:<[}[}|. ", " ..1234_5}[|. ", " ..^26<_}|. ", " ..728_9. ", " ..0ab. ", " ..c. ", " .. ", " ", " ", " ", " ", " ", " "}; phpmole/glade/stock_line_in.xpm0000755000175000017500000000172007372146471017032 0ustar alanalan00000000000000/* XPM */ static char * stock_line_in_png_xpm[] = { "24 24 16 1", " c None", ". c #000000", "+ c #A2A6A4", "@ c #9FA4A1", "# c #5F6261", "$ c #932B31", "% c #8C050D", "& c #530207", "* c #EDF3F0", "= c #E8F0EC", "- c #8B908E", "; c #D73F48", "> c #CC0814", ", c #7A040B", "' c #B4BAB7", ") c #9E060F", " ", " ", " ", " ", " ... ... ", " .+@#.$%&. ", " .*=-.;>,. ", " .*=-.;>,. ", " .*=-.;>,. ", " .*=-.;>,. ", " .*=-.;>,. ", " .='-.>),. ", " .=. .>. ", " ... ... ", " . . ", " . . ", " .. .. ", " ... ", " . ", " . ", " ", " ", " ", " "}; phpmole/glade/stock_mail.xpm0000755000175000017500000000613607372146471016345 0ustar alanalan00000000000000/* XPM */ static char * stock_mail_png_xpm[] = { "24 24 116 2", " c None", ". c #000000", "+ c #7B7B78", "@ c #C7C7C3", "# c #F1F0EB", "$ c #BFBFBC", "% c #5F5E5E", "& c #E3E3DF", "* c #F3F3EF", "= c #F2F2EE", "- c #F1F1EC", "; c #F0EFEB", "> c #D2D2CD", ", c #969592", "' c #616060", ") c #B5B5B4", "! c #F8F8F6", "~ c #F7F7F5", "{ c #F6F6F3", "] c #F5F5F2", "^ c #F4F4F0", "/ c #F2F1ED", "( c #F1F0EC", "_ c #F0EFEA", ": c #EFEEE9", "< c #4F4F4D", "[ c #BDBCB8", "} c #A7A6A3", "| c #C6C6C4", "1 c #7C7C7B", "2 c #525251", "3 c #DBDBD9", "4 c #F5F4F1", "5 c #F4F3F0", "6 c #F3F2EE", "7 c #999894", "8 c #62625F", "9 c #BCBCB6", "0 c #EBE9E3", "a c #838381", "b c #D7D6D4", "c c #A8A8A6", "d c #515150", "e c #7E7D7C", "f c #DAD9D5", "g c #EFEEE8", "h c #EEEDE7", "i c #4F4E4C", "j c #BCBBB6", "k c #EBE9E2", "l c #EAE8E1", "m c #F6F5F2", "n c #F4F3EF", "o c #B5B4B1", "p c #9B9A97", "q c #646361", "r c #92918E", "s c #EEEDE8", "t c #EDECE6", "u c #4E4E4C", "v c #797976", "w c #797874", "x c #E9E8E1", "y c #E8E7DF", "z c #B4B3AF", "A c #D0D0CD", "B c #F2F2ED", "C c #BFBEBA", "D c #BEBDB9", "E c #7A7A77", "F c #979691", "G c #EAE9E2", "H c #959590", "I c #787773", "J c #B8B7B0", "K c #E6E4DC", "L c #A9A9A6", "M c #626260", "N c #ECEBE4", "O c #EBEAE3", "P c #E9E7E0", "Q c #E8E6DF", "R c #E7E5DD", "S c #777671", "T c #93918C", "U c #BEBDB8", "V c #989793", "W c #ECEAE4", "X c #E8E6DE", "Y c #E6E4DB", "Z c #E4E3DA", "` c #75746F", " . c #91908A", ".. c #EEECE7", "+. c #62615F", "@. c #EBEAE4", "#. c #E7E6DE", "$. c #E6E5DC", "%. c #E5E4DB", "&. c #E4E2DA", "*. c #CCCBC4", "=. c #A3A29D", "-. c #B6B5B2", ";. c #BCBCB7", ">. c #CDCCC6", ",. c #959490", "'. c #ECEBE5", "). c #61615E", "!. c #E9E8E0", "~. c #CECDC7", "{. c #797875", "]. c #969590", "^. c #CFCEC8", "/. c #AEADA8", "(. c #585754", "_. c #7B7A76", " ", " ", " ", " ", " ", " . . . . ", " . . . . . + @ # $ . ", " . . . . . % $ & * = - ; > , . ", " . ' ) ! ~ { ] ^ * / ( _ : < [ } . ", " . | 1 2 3 4 5 6 / # _ : 7 8 9 0 . ", " . a b c d e f / # _ g h i j k l . ", " . m 4 n o p q r s t u v w x y z . ", " . A * B ( ; C D E u F G H I J K . ", " . L / ( _ : M t N O l P Q R S T . ", " . # _ g U V W 0 l P X R Y Z ` .. ", " . ; g ..+.@.G x y #.$.%.&.*.=.. . ", " . -.t ;.F G x y #.K >.,.. . . ", " . '.).G !.Q ~.H . . . ", " . {.].^./.. . . ", " . (._.. . ", " . . ", " ", " ", " "}; phpmole/glade/stock_mail_compose.xpm0000755000175000017500000000616607372146471020075 0ustar alanalan00000000000000/* XPM */ static char * stock_mail_compose_png_xpm[] = { "24 24 117 2", " c None", ". c #000000", "+ c #7B7B78", "@ c #C7C7C3", "# c #F1F0EB", "$ c #BFBFBC", "% c #5F5E5E", "& c #E3E3DF", "* c #F3F3EF", "= c #F2F2EE", "- c #F1F1EC", "; c #F0EFEB", "> c #D2D2CD", ", c #969592", "' c #616060", ") c #B5B5B4", "! c #F8F8F6", "~ c #F7F7F5", "{ c #F6F6F3", "] c #F5F5F2", "^ c #F4F4F0", "/ c #F2F1ED", "( c #F1F0EC", "_ c #F0EFEA", ": c #EFEEE9", "< c #4F4F4D", "[ c #BDBCB8", "} c #A7A6A3", "| c #C6C6C4", "1 c #7C7C7B", "2 c #525251", "3 c #DBDBD9", "4 c #F5F4F1", "5 c #F4F3F0", "6 c #F3F2EE", "7 c #999894", "8 c #62625F", "9 c #BCBCB6", "0 c #EBE9E3", "a c #838381", "b c #D7D6D4", "c c #A8A8A6", "d c #515150", "e c #7E7D7C", "f c #DAD9D5", "g c #EFEEE8", "h c #EEEDE7", "i c #4F4E4C", "j c #BCBBB6", "k c #EBE9E2", "l c #EAE8E1", "m c #F6F5F2", "n c #F4F3EF", "o c #B5B4B1", "p c #9B9A97", "q c #646361", "r c #92918E", "s c #EEEDE8", "t c #EDECE6", "u c #4E4E4C", "v c #797976", "w c #797874", "x c #E9E8E1", "y c #E8E7DF", "z c #B4B3AF", "A c #D0D0CD", "B c #F2F2ED", "C c #BFBEBA", "D c #BEBDB9", "E c #7A7A77", "F c #979691", "G c #EAE9E2", "H c #959590", "I c #787773", "J c #B8B7B0", "K c #E6E4DC", "L c #D8BE6A", "M c #A9A9A6", "N c #626260", "O c #ECEBE4", "P c #EBEAE3", "Q c #E9E7E0", "R c #E8E6DF", "S c #E7E5DD", "T c #777671", "U c #93918C", "V c #8E7D45", "W c #BEBDB8", "X c #989793", "Y c #ECEAE4", "Z c #E8E6DE", "` c #E6E4DB", " . c #E4E3DA", ".. c #EEECE7", "+. c #62615F", "@. c #EBEAE4", "#. c #E7E6DE", "$. c #E6E5DC", "%. c #E5E4DB", "&. c #E4E2DA", "*. c #B6B5B2", "=. c #BCBCB7", "-. c #CDCCC6", ";. c #959490", ">. c #ECEBE5", ",. c #61615E", "'. c #E9E8E0", "). c #CECDC7", "!. c #797875", "~. c #969590", "{. c #CFCEC8", "]. c #AEADA8", "^. c #585754", "/. c #7B7A76", "(. c #AD8E30", "_. c #756020", ":. c #060605", " ", " ", " . . . . ", " . . . . . + @ # $ . ", " . . . . . % $ & * = - ; > , . ", " . ' ) ! ~ { ] ^ * / ( _ : < [ } . ", " . | 1 2 3 4 5 6 / # _ : 7 8 9 0 . ", " . a b c d e f / # _ g h i j k l . ", " . m 4 n o p q r s t u v w x y z . . ", " . A * B ( ; C D E u F G H I J K . . L . ", " . M / ( _ : N t O P l Q R S T U . L V . ", " . # _ g W X Y 0 l Q Z S ` .. L V . ", " . ; g ..+.@.G x y #.$.%.&.. L V . ", " . *.t =.F G x y #.K -.;.. L V . ", " . >.,.G '.R ).H . . . L V . ", " . !.~.{.].. . . . L V . ", " . ^./.. . . L V . ", " . . . L V . ", " (._.. . ", " :.. ", " ", " ", " ", " "}; phpmole/glade/stock_mail_forward.xpm0000755000175000017500000000640607372146471020071 0ustar alanalan00000000000000/* XPM */ static char * stock_mail_forward_png_xpm[] = { "24 24 126 2", " c None", ". c #000000", "+ c #7B7B78", "@ c #C7C7C3", "# c #F1F0EB", "$ c #BFBFBC", "% c #5F5E5E", "& c #E3E3DF", "* c #F3F3EF", "= c #F2F2EE", "- c #F1F1EC", "; c #F0EFEB", "> c #D2D2CD", ", c #969592", "' c #616060", ") c #B5B5B4", "! c #F8F8F6", "~ c #F7F7F5", "{ c #F6F6F3", "] c #F5F5F2", "^ c #F4F4F0", "/ c #F2F1ED", "( c #F1F0EC", "_ c #F0EFEA", ": c #EFEEE9", "< c #4F4F4D", "[ c #BDBCB8", "} c #A7A6A3", "| c #C6C6C4", "1 c #7C7C7B", "2 c #525251", "3 c #DBDBD9", "4 c #F5F4F1", "5 c #F4F3F0", "6 c #F3F2EE", "7 c #999894", "8 c #62625F", "9 c #BCBCB6", "0 c #EBE9E3", "a c #838381", "b c #D7D6D4", "c c #A8A8A6", "d c #515150", "e c #7E7D7C", "f c #DAD9D5", "g c #EFEEE8", "h c #EEEDE7", "i c #4F4E4C", "j c #BCBBB6", "k c #EBE9E2", "l c #EAE8E1", "m c #F6F5F2", "n c #F4F3EF", "o c #B5B4B1", "p c #9B9A97", "q c #646361", "r c #92918E", "s c #EEEDE8", "t c #EDECE6", "u c #4E4E4C", "v c #797976", "w c #797874", "x c #E9E8E1", "y c #E8E7DF", "z c #B4B3AF", "A c #D0D0CD", "B c #F2F2ED", "C c #BFBEBA", "D c #BEBDB9", "E c #7A7A77", "F c #979691", "G c #EAE9E2", "H c #959590", "I c #787773", "J c #B8B7B0", "K c #E6E4DC", "L c #A9A9A6", "M c #626260", "N c #ECEBE4", "O c #EBEAE3", "P c #E9E7E0", "Q c #E8E6DF", "R c #E7E5DD", "S c #777671", "T c #93918C", "U c #BEBDB8", "V c #989793", "W c #ECEAE4", "X c #E8E6DE", "Y c #E6E4DB", "Z c #E4E3DA", "` c #75746F", " . c #91908A", ".. c #EEECE7", "+. c #62615F", "@. c #EBEAE4", "#. c #E7E6DE", "$. c #E6E5DC", "%. c #E5E4DB", "&. c #E4E2DA", "*. c #CCCBC4", "=. c #A3A29D", "-. c #B6B5B2", ";. c #BCBCB7", ">. c #CDCCC6", ",. c #959490", "'. c #ECEBE5", "). c #61615E", "!. c #E9E8E0", "~. c #CECDC7", "{. c #797875", "]. c #969590", "^. c #CFCEC8", "/. c #AEADA8", "(. c #585754", "_. c #7B7A76", ":. c #B39C82", "<. c #BCA488", "[. c #746554", "}. c #7D6D5B", "|. c #867561", "1. c #8F7D68", "2. c #98856E", "3. c #A18D75", "4. c #AA947B", "5. c #C5AC8F", " ", " ", " . . . . ", " . . . . . + @ # $ . ", " . . . . . % $ & * = - ; > , . ", " . ' ) ! ~ { ] ^ * / ( _ : < [ } . ", " . | 1 2 3 4 5 6 / # _ : 7 8 9 0 . ", " . a b c d e f / # _ g h i j k l . ", " . m 4 n o p q r s t u v w x y z . ", " . A * B ( ; C D E u F G H I J K . ", " . L / ( _ : M t N O l P Q R S T . ", " . # _ g U V W 0 l P X R Y Z ` .. ", " . ; g ..+.@.G x y #.$.%.&.*.=.. . ", " . -.t ;.F G x y #.K >.,.. . . ", " . '.).G !.Q ~.H . . . ", " . {.].^./.. . . ", " . (._.. . . . ", " . . . :.. ", " . . . . . . . . :.<.. ", " . [.}.|.1.2.3.4.:.<.5.. ", " . [.}.|.1.2.3.4.:.<.5.. ", " . . . . . . . . :.<.. ", " . :.. ", " . . "}; phpmole/glade/stock_mail_receive.xpm0000755000175000017500000000714607372146471020051 0ustar alanalan00000000000000/* XPM */ static char * stock_mail_receive_png_xpm[] = { "24 24 148 2", " c None", ". c #000000", "+ c #7B7B78", "@ c #C7C7C3", "# c #F1F0EB", "$ c #BFBFBC", "% c #5F5E5E", "& c #E3E3DF", "* c #F3F3EF", "= c #F2F2EE", "- c #F1F1EC", "; c #F0EFEB", "> c #D2D2CD", ", c #969592", "' c #616060", ") c #B5B5B4", "! c #F8F8F6", "~ c #F7F7F5", "{ c #F6F6F3", "] c #F5F5F2", "^ c #F4F4F0", "/ c #F2F1ED", "( c #F1F0EC", "_ c #F0EFEA", ": c #EFEEE9", "< c #4F4F4D", "[ c #BDBCB8", "} c #A7A6A3", "| c #C6C6C4", "1 c #7C7C7B", "2 c #525251", "3 c #DBDBD9", "4 c #F5F4F1", "5 c #F4F3F0", "6 c #F3F2EE", "7 c #999894", "8 c #62625F", "9 c #BCBCB6", "0 c #EBE9E3", "a c #838381", "b c #D7D6D4", "c c #A8A8A6", "d c #515150", "e c #7E7D7C", "f c #DAD9D5", "g c #EFEEE8", "h c #EEEDE7", "i c #4F4E4C", "j c #BCBBB6", "k c #EBE9E2", "l c #EAE8E1", "m c #F6F5F2", "n c #F4F3EF", "o c #B5B4B1", "p c #9B9A97", "q c #646361", "r c #92918E", "s c #EEEDE8", "t c #EDECE6", "u c #4E4E4C", "v c #797976", "w c #797874", "x c #E9E8E1", "y c #E8E7DF", "z c #B4B3AF", "A c #D0D0CD", "B c #F2F2ED", "C c #BFBEBA", "D c #BEBDB9", "E c #7A7A77", "F c #979691", "G c #EAE9E2", "H c #959590", "I c #787773", "J c #B8B7B0", "K c #E6E4DC", "L c #A9A9A6", "M c #626260", "N c #ECEBE4", "O c #EBEAE3", "P c #E9E7E0", "Q c #E8E6DF", "R c #E7E5DD", "S c #777671", "T c #93918C", "U c #BEBDB8", "V c #989793", "W c #ECEAE4", "X c #E8E6DE", "Y c #E6E4DB", "Z c #E4E3DA", "` c #75746F", " . c #91908A", ".. c #EEECE7", "+. c #62615F", "@. c #EBEAE4", "#. c #E7E6DE", "$. c #E6E5DC", "%. c #E5E4DB", "&. c #E4E2DA", "*. c #CCCBC4", "=. c #A3A29D", "-. c #B6B5B2", ";. c #BCBCB7", ">. c #CDCCC6", ",. c #959490", "'. c #ECEBE5", "). c #61615E", "!. c #E9E8E0", "~. c #CECDC7", "{. c #7C6D5A", "]. c #797875", "^. c #969590", "/. c #CFCEC8", "(. c #AEADA8", "_. c #8A7A65", ":. c #8F7D68", "<. c #93816B", "[. c #585754", "}. c #7B7A76", "|. c #9D8A72", "1. c #A18E76", "2. c #A69179", "3. c #AB977D", "4. c #B09A80", "5. c #B49E83", "6. c #B8A286", "7. c #BDA689", "8. c #BEA78A", "9. c #C2AB8E", "0. c #C7AE91", "a. c #CBB294", "b. c #CFB697", "c. c #8F7E68", "d. c #CCB395", "e. c #D1B798", "f. c #D5BB9B", "g. c #D9BF9E", "h. c #DEC3A1", "i. c #E2C6A5", "j. c #E6CAA8", "k. c #A79379", "l. c #897963", "m. c #E8CBA9", "n. c #ECCFAC", "o. c #F0D3AF", "p. c #93826B", "q. c #D7BC9C", " ", " ", " . . . . ", " . . . . . + @ # $ . ", " . . . . . % $ & * = - ; > , . ", " . ' ) ! ~ { ] ^ * / ( _ : < [ } . ", " . | 1 2 3 4 5 6 / # _ : 7 8 9 0 . ", " . a b c d e f / # _ g h i j k l . ", " . m 4 n o p q r s t u v w x y z . ", " . A * B ( ; C D E u F G H I J K . ", " . L / ( _ : M t N O l P Q R S T . ", " . # _ g U V W 0 l P X R Y Z ` .. ", " . ; g ..+.@.G x y #.$.%.&.*.=.. . ", " . -.t ;.F G x y #.K >.,.. . . ", " . '.).G !.Q ~.H . . . . {.. ", " . ].^./.(.. . . . _.:.<.. ", " . [.}.. . . |.1.2.. ", " . . . 3.4.5.6.7.. ", " . . . 8.9.0.a.b.. . . ", " . c.d.e.f.g.h.i.j.k.. ", " . . l.m.n.o.p.. . ", " . . q.. . ", " . ", " "}; phpmole/glade/stock_mail_reply.xpm0000755000175000017500000000642407372146471017560 0ustar alanalan00000000000000/* XPM */ static char * stock_mail_reply_png_xpm[] = { "24 24 127 2", " c None", ". c #000000", "+ c #7B7B78", "@ c #C7C7C3", "# c #F1F0EB", "$ c #BFBFBC", "% c #5F5E5E", "& c #E3E3DF", "* c #F3F3EF", "= c #F2F2EE", "- c #F1F1EC", "; c #F0EFEB", "> c #D2D2CD", ", c #969592", "' c #616060", ") c #B5B5B4", "! c #F8F8F6", "~ c #F7F7F5", "{ c #F6F6F3", "] c #F5F5F2", "^ c #F4F4F0", "/ c #F2F1ED", "( c #F1F0EC", "_ c #F0EFEA", ": c #EFEEE9", "< c #4F4F4D", "[ c #BDBCB8", "} c #A7A6A3", "| c #C6C6C4", "1 c #7C7C7B", "2 c #525251", "3 c #DBDBD9", "4 c #F5F4F1", "5 c #F4F3F0", "6 c #F3F2EE", "7 c #999894", "8 c #62625F", "9 c #BCBCB6", "0 c #EBE9E3", "a c #838381", "b c #D7D6D4", "c c #A8A8A6", "d c #515150", "e c #7E7D7C", "f c #DAD9D5", "g c #EFEEE8", "h c #EEEDE7", "i c #4F4E4C", "j c #BCBBB6", "k c #EBE9E2", "l c #EAE8E1", "m c #F6F5F2", "n c #F4F3EF", "o c #B5B4B1", "p c #9B9A97", "q c #646361", "r c #92918E", "s c #EEEDE8", "t c #EDECE6", "u c #4E4E4C", "v c #797976", "w c #797874", "x c #E9E8E1", "y c #E8E7DF", "z c #B4B3AF", "A c #D0D0CD", "B c #F2F2ED", "C c #BFBEBA", "D c #BEBDB9", "E c #7A7A77", "F c #979691", "G c #EAE9E2", "H c #959590", "I c #787773", "J c #B8B7B0", "K c #E6E4DC", "L c #A9A9A6", "M c #626260", "N c #ECEBE4", "O c #EBEAE3", "P c #E9E7E0", "Q c #E8E6DF", "R c #E7E5DD", "S c #777671", "T c #93918C", "U c #BEBDB8", "V c #989793", "W c #ECEAE4", "X c #E8E6DE", "Y c #E6E4DB", "Z c #E4E3DA", "` c #75746F", " . c #91908A", ".. c #EEECE7", "+. c #62615F", "@. c #EBEAE4", "#. c #E7E6DE", "$. c #E6E5DC", "%. c #E5E4DB", "&. c #E4E2DA", "*. c #CCCBC4", "=. c #A3A29D", "-. c #B6B5B2", ";. c #BCBCB7", ">. c #CDCCC6", ",. c #959490", "'. c #ECEBE5", "). c #61615E", "!. c #E9E8E0", "~. c #CECDC7", "{. c #797875", "]. c #969590", "^. c #CFCEC8", "/. c #AEADA8", "(. c #E0D8B0", "_. c #585754", ":. c #7B7A76", "<. c #B39C82", "[. c #BCA488", "}. c #C5AC8F", "|. c #AA947B", "1. c #A18D75", "2. c #98856E", "3. c #8F7D68", "4. c #867561", "5. c #7D6D5B", "6. c #746554", " ", " ", " . . . . ", " . . . . . + @ # $ . ", " . . . . . % $ & * = - ; > , . ", " . ' ) ! ~ { ] ^ * / ( _ : < [ } . ", " . | 1 2 3 4 5 6 / # _ : 7 8 9 0 . ", " . a b c d e f / # _ g h i j k l . ", " . m 4 n o p q r s t u v w x y z . ", " . A * B ( ; C D E u F G H I J K . ", " . L / ( _ : M t N O l P Q R S T . ", " . # _ g U V W 0 l P X R Y Z ` .. ", " . ; g ..+.@.G x y #.$.%.&.*.=.. . ", " . -.t ;.F G x y #.K >.,.. . . ", " . '.).G !.Q ~.H . . . . ", " . {.].^./.. . . . (.. ", " . _.:.. . . . . (.(.(.. ", " . . . <.. . (.(.(.. ", " . [.<.. . . . . . . . ", " . }.[.<.|.1.2.3.4.5.6.. ", " . }.[.<.|.1.2.3.4.5.. ", " . [.<.. . . . . . ", " . <.. ", " . . "}; phpmole/glade/stock_mail_send.xpm0000755000175000017500000000662307372146471017357 0ustar alanalan00000000000000/* XPM */ static char * stock_mail_send_png_xpm[] = { "24 24 135 2", " c None", ". c #000000", "+ c #7B7B78", "@ c #C7C7C3", "# c #F1F0EB", "$ c #BFBFBC", "% c #5F5E5E", "& c #E3E3DF", "* c #F3F3EF", "= c #F2F2EE", "- c #F1F1EC", "; c #F0EFEB", "> c #D2D2CD", ", c #969592", "' c #616060", ") c #B5B5B4", "! c #F8F8F6", "~ c #F7F7F5", "{ c #F6F6F3", "] c #F5F5F2", "^ c #F4F4F0", "/ c #F2F1ED", "( c #F1F0EC", "_ c #F0EFEA", ": c #EFEEE9", "< c #4F4F4D", "[ c #BDBCB8", "} c #A7A6A3", "| c #C6C6C4", "1 c #7C7C7B", "2 c #525251", "3 c #DBDBD9", "4 c #F5F4F1", "5 c #F4F3F0", "6 c #F3F2EE", "7 c #999894", "8 c #62625F", "9 c #BCBCB6", "0 c #EBE9E3", "a c #838381", "b c #D7D6D4", "c c #A8A8A6", "d c #515150", "e c #7E7D7C", "f c #DAD9D5", "g c #EFEEE8", "h c #EEEDE7", "i c #4F4E4C", "j c #BCBBB6", "k c #EBE9E2", "l c #EAE8E1", "m c #F6F5F2", "n c #F4F3EF", "o c #B5B4B1", "p c #9B9A97", "q c #646361", "r c #92918E", "s c #EEEDE8", "t c #EDECE6", "u c #4E4E4C", "v c #797976", "w c #797874", "x c #E9E8E1", "y c #E8E7DF", "z c #B4B3AF", "A c #D0D0CD", "B c #F2F2ED", "C c #BFBEBA", "D c #BEBDB9", "E c #7A7A77", "F c #979691", "G c #EAE9E2", "H c #959590", "I c #787773", "J c #B8B7B0", "K c #E6E4DC", "L c #A9A9A6", "M c #626260", "N c #ECEBE4", "O c #EBEAE3", "P c #E9E7E0", "Q c #E8E6DF", "R c #E7E5DD", "S c #777671", "T c #93918C", "U c #BEBDB8", "V c #989793", "W c #ECEAE4", "X c #E8E6DE", "Y c #E6E4DB", "Z c #E4E3DA", "` c #75746F", " . c #91908A", ".. c #EEECE7", "+. c #62615F", "@. c #EBEAE4", "#. c #E7E6DE", "$. c #E6E5DC", "%. c #E5E4DB", "&. c #E4E2DA", "*. c #CCCBC4", "=. c #A3A29D", "-. c #B6B5B2", ";. c #BCBCB7", ">. c #CDCCC6", ",. c #959490", "'. c #ECEBE5", "). c #61615E", "!. c #E9E8E0", "~. c #CECDC7", "{. c #797875", "]. c #969590", "^. c #CFCEC8", "/. c #AEADA8", "(. c #282828", "_. c #6D675E", ":. c #786F64", "<. c #585754", "[. c #7B7A76", "}. c #736A5B", "|. c #908570", "1. c #928875", "2. c #665C4E", "3. c #8C816F", "4. c #9B907F", "5. c #0F0E0B", "6. c #AB9A87", "7. c #A8967F", "8. c #998873", "9. c #B6A38A", "0. c #8C7C69", "a. c #C8B298", "b. c #B7A38A", "c. c #DAC2A5", "d. c #B49E84", " ", " ", " . . . . ", " . . . . . + @ # $ . ", " . . . . . % $ & * = - ; > , . ", " . ' ) ! ~ { ] ^ * / ( _ : < [ } . ", " . | 1 2 3 4 5 6 / # _ : 7 8 9 0 . ", " . a b c d e f / # _ g h i j k l . ", " . m 4 n o p q r s t u v w x y z . ", " . A * B ( ; C D E u F G H I J K . ", " . L / ( _ : M t N O l P Q R S T . ", " . # _ g U V W 0 l P X R Y Z ` .. ", " . ; g ..+.@.G x y #.$.%.&.*.=.. . ", " . -.t ;.F G x y #.K >.,.. . . ", " . '.).G !.Q ~.H . . . . . ", " . {.].^./.. . . (._.:.. ", " . <.[.. . . }.|.1.2.. ", " . . . . . 3.4.. 5.. ", " . 6.7.. ", " . 8.9.9.0.. ", " . a.a.a.a.. ", " . b.c.c.c.c.d.. ", " . . . . . . . . ", " "}; phpmole/glade/stock_menu_about.xpm0000755000175000017500000000223607372146471017556 0ustar alanalan00000000000000/* XPM */ static char * stock_menu_about_png_xpm[] = { "16 16 53 1", " c None", ". c #FFFFFF", "+ c #FFFBF7", "@ c #EFEBE7", "# c #F7F3F7", "$ c #E7E3DF", "% c #494941", "& c #F7E7D7", "* c #E7CB96", "= c #DFAE61", "- c #E7B651", "; c #E7CBA6", "> c #C7C3BE", ", c #515149", "' c #969696", ") c #D7CBC7", "! c #E7BA49", "~ c #DFAE41", "{ c #C78638", "] c #C7A68E", "^ c #DFDBD7", "/ c #C77D38", "( c #A66551", "_ c #D7D3CF", ": c #080C08", "< c #D7A641", "[ c #AE5D30", "} c #9E5D49", "| c #DFCFCF", "1 c #000000", "2 c #F7EFEF", "3 c #C79249", "4 c #B67130", "5 c #A64D28", "6 c #963828", "7 c #A68679", "8 c #AEA6A6", "9 c #595951", "0 c #302C28", "a c #E7DBCF", "b c #BE9271", "c c #9E5541", "d c #AE8E8E", "e c #A69E96", "f c #181810", "g c #BEB6B6", "h c #797569", "i c #CFCBCF", "j c #383830", "k c #282820", "l c #8E8686", "m c #BEBAB6", "n c #413C38", " ", " ", " ... +@ ", " ++.++#.++$% ", " $+&*=-=;@>, ", " ')--!-~{]$^^ ", " @+.*!!!-~/(_.+:", " _@.;<~!~{[}|@):", " 1^23//4567890:", " 2+abcc}d_ef ", " +.@ghg^@+ij ", " _^'kfl2+2mj ", " %jff h'ln0 ", " ::f ", " ", " "}; phpmole/glade/stock_menu_blank.xpm0000755000175000017500000000064007372146471017530 0ustar alanalan00000000000000/* XPM */ static char * stock_menu_blank_png_xpm[] = { "16 16 2 1", " c None", ". c #000000", "................", "................", "................", "................", "................", "................", "................", "................", "................", "................", "................", "................", "................", "................", "................", "................"}; phpmole/glade/stock_menu_scores.xpm0000755000175000017500000000112007372146471017731 0ustar alanalan00000000000000/* XPM */ static char * stock_menu_scores_png_xpm[] = { "20 20 3 1", " c None", ". c #000000", "+ c #FFFFFF", " ", " ", " ", " ....... ", " .+++++. ", " .++.++. ", " .+..++. ", " .++.++. ", " ......++.++. ", " .++++++...+...... ", " .+...+++++++++++. ", " .+++.+++++++...+. ", " .+...+++++++++.+. ", " .+.++++++++++..+. ", " .+...+++++++++.+. ", " .+++++++++++...+. ", " .+++++++++++++++. ", " ................. ", " ", " "}; phpmole/glade/stock_mic.xpm0000755000175000017500000000220007372146471016157 0ustar alanalan00000000000000/* XPM */ static char * stock_mic_png_xpm[] = { "24 24 28 1", " c None", ". c #000000", "+ c #868686", "@ c #CCCCCC", "# c #4B4B4B", "$ c #ABABAB", "% c #656565", "& c #989898", "* c #F6F6F6", "= c #747474", "- c #8B8B8B", "; c #393939", "> c #888888", ", c #D6D6D6", "' c #525252", ") c #6F6F6F", "! c #FCFCFC", "~ c #7A7A7A", "{ c #D1D1D1", "] c #BBBBBB", "^ c #6A6A6A", "/ c #9C9C9C", "( c #F7F7F7", "_ c #8F8F8F", ": c #3F3F3F", "< c #898989", "[ c #555555", "} c #7E7E7E", " ", " ", " ", " ... ", " .$=$. ", " .{<*}&. ", " .'!=@'. ", " .&>,)&. ", " .'(=@'. ", " ...&+,%-... ", " . .'*=]#. . ", " . .-~,[=. . ", " . .:/^_;. . ", " .. ..... .. ", " .. .. ", " ....... ", " ... ", " ... ", " ... ", " . ", " ", " ", " ", " "}; phpmole/glade/stock_midi.xpm0000755000175000017500000000171507372146471016343 0ustar alanalan00000000000000/* XPM */ static char * stock_midi_png_xpm[] = { "24 24 16 1", " c None", ". c #000000", "+ c #919191", "@ c #8A8A8A", "# c #868686", "$ c #BCBCBC", "% c #A1A1A1", "& c #D3D3D3", "* c #828282", "= c #FFFFFF", "- c #979797", "; c #DBDBDB", "> c #767676", ", c #B9B9B9", "' c #A5A5A5", ") c #666666", " ", " ", " ", " ", " . ", " .+... ", " .@#.$%... ", " .&.*=..$.... ", " .%-.=%.@=..;;... ", " .=.>=..=#.@;=..%... ", " .$==,=.$=..;;%..;..%. ", " .==$==$=#.@;=..%@.'=. ", " .;==,==%=$$;;%..;..=@. ", " .@=$==%==$=$=$.$$.-=. ", " ..)==$=$==$==$=%.==. ", " ...$=$=$==$===%=@. ", " ..%=$==$==%==. ", " ...%;===%==. ", " ...$$==%. ", " ..$=. ", " ... ", " ", " ", " "}; phpmole/glade/stock_multiple_file.xpm0000755000175000017500000001404707372146471020255 0ustar alanalan00000000000000/* XPM */ static char * stock_multiple_file_png_xpm[] = { "32 32 246 2", " c None", ". c #000000", "+ c #847971", "@ c #867569", "# c #B79884", "$ c #BC9E85", "% c #8C7D6B", "& c #7F6E65", "* c #7D6D63", "= c #D1B193", "- c #D6B995", "; c #DABE97", "> c #DFC599", ", c #CEB88C", "' c #998F71", ") c #968175", "! c #BB9A86", "~ c #C6A38E", "{ c #B69682", "] c #887769", "^ c #76695B", "/ c #D7BA96", "( c #DBC098", "_ c #E0C79A", ": c #E4CD9C", "< c #E9D49E", "[ c #EEDBA0", "} c #F2E1A2", "| c #DBCD92", "1 c #86816D", "2 c #BD9C88", "3 c #C7A48F", "4 c #CBA990", "5 c #C5A98A", "6 c #8C7B60", "7 c #897E67", "8 c #776A52", "9 c #7E7259", "0 c #AF9E77", "a c #D8C692", "b c #F4E3A3", "c c #F8E9A5", "d c #FDEFA7", "e c #EADE9E", "f c #CFAF92", "g c #D3B494", "h c #D8BB96", "i c #DCC198", "j c #E8D29E", "k c #D6C490", "l c #9C9168", "m c #918761", "n c #F1E6A6", "o c #FFF4B5", "p c #A19B7A", "q c #DFC69A", "r c #EDD9A0", "s c #F1DEA1", "t c #F5E4A3", "u c #F9EAA5", "v c #FDF0A7", "w c #FFF2AC", "x c #DAD09A", "y c #646049", "z c #858066", "A c #C9C29A", "B c #FFF6C5", "C c #827061", "D c #C1A289", "E c #D2B393", "F c #E3CB9B", "G c #E7D19D", "H c #ECD79F", "I c #F0DDA1", "J c #FFF3B2", "K c #F2E7AE", "L c #AEA780", "M c #787461", "N c #BBB597", "O c #DFD8B5", "P c #E3DDBD", "Q c #D6D1BC", "R c #97846C", "S c #C7AD8A", "T c #83745A", "U c #B5A779", "V c #F3E2A3", "W c #F0E29F", "X c #C9BD88", "Y c #F2E6A8", "Z c #FFF4B8", "` c #F1E7B2", " . c #B7B08A", ".. c #686555", "+. c #A29E8A", "@. c #E0DBBF", "#. c #F2EDD2", "$. c #A29F92", "%. c #FFF8D2", "&. c #C3BC99", "*. c #685B47", "=. c #9A8E67", "-. c #70694B", ";. c #E6D998", ">. c #FFF2A9", ",. c #B9AC7E", "'. c #9B916F", "). c #B8B18A", "!. c #767158", "~. c #4D4B3D", "{. c #656256", "]. c #AFAB98", "^. c #EDEAD7", "/. c #FFFCEE", "(. c #B4AD89", "_. c #958865", ":. c #DDCB94", "<. c #F6E5A4", "[. c #E3D696", "}. c #918A63", "|. c #DFD59E", "1. c #5F5243", "2. c #A5A39C", "3. c #D8D8D7", "4. c #84775D", "5. c #87795C", "6. c #D5C291", "7. c #FEF0A7", "8. c #A49C6F", "9. c #AF907D", "0. c #A68977", "a. c #69574B", "b. c #EFDCA1", "c. c #FBECA6", "d. c #867F5F", "e. c #756254", "f. c #C9A68F", "g. c #AA9179", "h. c #BFA287", "i. c #D5B795", "j. c #DBBF98", "k. c #E6CF9D", "l. c #F1DFA2", "m. c #F7E7A4", "n. c #FFF3AE", "o. c #9B9271", "p. c #C9A790", "q. c #CCAB91", "r. c #D2B394", "s. c #CEB38F", "t. c #BDA683", "u. c #93866E", "v. c #6D5F56", "w. c #DDC399", "x. c #FFF3B1", "y. c #958E69", "z. c #7E6D59", "A. c #CDAC91", "B. c #D9BD97", "C. c #E1C99B", "D. c #C2B182", "E. c #91886B", "F. c #7B6B61", "G. c #E5CE9C", "H. c #EBD69F", "I. c #EADFA5", "J. c #96816A", "K. c #E3D498", "L. c #776F51", "M. c #BB9C85", "N. c #98916A", "O. c #5E5949", "P. c #A49073", "Q. c #DEC399", "R. c #E3CC9B", "S. c #ECD89F", "T. c #9F9774", "U. c #8A7A6A", "V. c #FFF8D0", "W. c #A9A080", "X. c #B3A17A", "Y. c #EAD59E", "Z. c #FFF4B7", "`. c #958F6C", " + c #FFF6C7", ".+ c #FFF5C0", "++ c #C9B987", "@+ c #FAEBA6", "#+ c #A29C7B", "$+ c #8F816D", "%+ c #FFF5BB", "&+ c #97906F", "*+ c #FFF5BE", "=+ c #EFE4AC", "-+ c #B6AA79", ";+ c #E8DA9B", ">+ c #FFF2AB", ",+ c #EAE1AD", "'+ c #CEB78E", ")+ c #B3AB7E", "!+ c #CFC38A", "~+ c #FFF6C2", "{+ c #A29D84", "]+ c #95896F", "^+ c #E8D19D", "/+ c #FEF1A8", "(+ c #E6DEB5", "_+ c #605C42", ":+ c #908A64", "<+ c #C4BA87", "[+ c #F9EDAA", "}+ c #FFF7C9", "|+ c #EAE3BC", "1+ c #FFF3B4", "2+ c #FFF7CE", "3+ c #BCB485", "4+ c #F5EBAE", "5+ c #FFF5BD", "6+ c #E1DBB8", "7+ c #A59F7E", "8+ c #ECE2AC", "9+ c #FFF9D6", "0+ c #FFF9DA", "a+ c #EAE6CB", "b+ c #EAE2B4", "c+ c #97927A", "d+ c #EBE3B9", "e+ c #FFFADE", "f+ c #FFFBE5", "g+ c #EAE0A7", "h+ c #A29C7E", "i+ c #C1BDA6", "j+ c #FFFAE1", "k+ c #FFFBEA", "l+ c #EAE8DA", "m+ c #A49E79", "n+ c #B9B7AA", "o+ c #FFFCEB", "p+ c #FFFCF0", "q+ c #FFFDF4", "r+ c #A5A49F", "s+ c #B8B7B1", "t+ c #FFFEFA", "u+ c #FFFFFF", "v+ c #BCBCBB", "w+ c #7B7B7B", " . ", " . + . . ", " . . . @ # $ % . . . ", " . & * . . . $ = - ; > , ' . . ", " . ) ! ~ { ] . . . . ^ / ( _ : < [ } | 1 . ", " . ) 2 ~ 3 4 = 5 6 7 . . . . 8 9 0 a b c d e . ", " . ) 2 ~ 4 f g h i _ : j k l m . . . . . n o p . ", " . * ! 4 f g / ( q : j r s t u v w x y . z A B . ", " . . C D E - ; > F G H I b c d w J K L . M N O P . ", " . Q . R S > T . . U V c W X Y Z ` .. ..+.@.#.$.. ", " . %.&.. *.. . =.-.. ;.>.,.. '.).!.. ~.{.].^./.. ", " . (.. . . _.:.<.[.. }.|.. 1.. . . . . . . 2.3.. ", " . . 4.5.6.r } c 7.8.. 9 . 9.0.a.. . . . . . ", " . . % S > : < b.t c.>.J d.. e.~ ~ f.$ g.% . . ", " . . ] h.i.j._ k.H l.m.d n.o o.. { p.q.f r.i.s.t.u.. . . ", ". v.{ q.E / w.F j [ b u >.x.y.. z.A.= g - B.i > C.: 6.D.E.. . . ", ". F.f.f i.; q G.H.I <.d w I.. . J.i./ ; i _ F G.j H.[ l.K.L.. ", " . M.= - i C.G r } c 7.n.N.. O.. P.Q._ R.G < S.b.} t c c.T.. ", " . U.g B.> : < b.t c.>.J y.. V.W.. X.G Y.r I V <.u d >.e . ", " . 5 ( C.G S.} m.d n.Z.`.. +.+y.. ++l.b m.@+d >.n.J #+. ", " . $+w.F j [ b @+>.J %+&+. *+=+y.. -+;+c.7.>+n.o Z ,+. ", " . '+G.H.s <.d w o *+#+. x )+. 8.!+v w x.o %+*+~+{+. ", " . ]+^+r V c /+x.Z ~+(+. _+. :+<+[+J Z.%+.+B }+|+. ", " . Y.I <.c.>+1+%+B 2+. . :+3+4+Z 5+.+B }+2+%.+.. ", " . 6.} c v n.Z..+}+6+{.. 7+8+*+~+ +2+V.9+0+a+. ", " . o.b @+>.J %+b+{+. . . c+d+2+%.9+0+e+f+$.. ", " . m.d n.g+h+. . . . i+0+j+f+k+l+. ", " . u ;.m+. . . n+o+p+q+r+. ", " . . . . . s+t+u+. ", " . v+u+. ", " . w+. ", " . "}; phpmole/glade/stock_new.xpm0000755000175000017500000000402307372146471016205 0ustar alanalan00000000000000/* XPM */ static char * stock_new_png_xpm[] = { "24 24 89 1", " c None", ". c #000000", "+ c #ADAD9C", "@ c #959585", "# c #DCDCC5", "$ c #DFDFC8", "% c #242424", "& c #A7A796", "* c #D7D7C1", "= c #D9D9C3", "- c #DCDCC4", "; c #DDDDC7", "> c #E1E1CA", ", c #A6A694", "' c #D6D6BF", ") c #D8D8C2", "! c #DBDBC4", "~ c #DFDFC7", "{ c #E3E3CB", "] c #B2B29F", "^ c #7C7C7C", "/ c #646464", "( c #D5D5BD", "_ c #D5D5BF", ": c #D7D7C0", "< c #DADAC3", "[ c #DEDEC6", "} c #E1E1C9", "| c #E5E5CD", "1 c #E9E9D1", "2 c #343434", "3 c #E7E7E7", "4 c #373736", "5 c #B8B8A6", "6 c #D3D3BC", "7 c #D9D9C2", "8 c #DDDDC5", "9 c #E0E0C8", "0 c #E8E8D0", "a c #ECECD4", "b c #EEEED5", "c c #ECECEC", "d c #EDEDED", "e c #3D3D37", "f c #CECEB7", "g c #E6E6CE", "h c #EAEAD2", "i c #F1F1D8", "j c #A5A594", "k c #EEEEE5", "l c #3C3C3C", "m c #8F8F80", "n c #D0D0B9", "o c #E4E4CB", "p c #EAEAD1", "q c #ECECD3", "r c #EFEFD6", "s c #F2F2D9", "t c #F3F3DA", "u c #EEEEE6", "v c #505050", "w c #929282", "x c #D1D1B9", "y c #E7E7CF", "z c #EBEBD2", "A c #F4F4DB", "B c #F5F5DC", "C c #969686", "D c #D2D2BC", "E c #E0E0C9", "F c #E9E9D0", "G c #EDEDD4", "H c #F0F0D7", "I c #BEBEAB", "J c #797973", "K c #D8D8C1", "L c #DDDDC6", "M c #98988F", "N c #E4E4CC", "O c #818174", "P c #E2E2CA", "Q c #BEBEAE", "R c #4E4E4E", "S c #828274", "T c #EBEBD3", "U c #BBBBA8", "V c #CDCDB8", "W c #4D4D45", "X c #A6A696", " ", " ", " . ", " ..+. ", " ..@#$% ", " ..&*=-;>. ", " ..,'**)!~{]. ", " .^/'(_:<[}|12 ", " .3456*789|0ab. ", " .cdef_!9g0hbij. ", " .kklmn9opqrist. ", " .uvwx-}yzbittAB. ", " ..CD!E{FGHtAABBI. ", " .JK7L>ypbitBBBBB). ", " .M!#$NyzbitBBBBBO. ", " .~9P|1qrsABBBB.. ", " .Q||0hGHtABB<. ", " R01hGrstAsS. ", " .TaGriss<. ", " .rHis1j. ", " .UstVW. ", " .tX. ", " .. ", " "}; phpmole/glade/stock_not.xpm0000755000175000017500000000111007372146471016206 0ustar alanalan00000000000000/* XPM */ static char * stock_not_png_xpm[] = { "20 20 3 1", " c None", ". c #000000", "+ c #FF0000", ".......++++++.......", ".....++++++++++.....", "...++++......++++...", "..+++.........++++..", "..++.........+++++..", ".++..........+++.++.", ".++.........+++..++.", "++.........+++....++", "++........+++.....++", "++.......+++......++", "++......+++.......++", "++.....+++........++", "++....+++.........++", ".++..+++.........++.", ".++.+++..........++.", "..++++..........++..", "..++++.........+++..", "...++++......++++...", ".....++++++++++.....", ".......++++++......."}; phpmole/glade/stock_open.xpm0000755000175000017500000000144707372146471016364 0ustar alanalan00000000000000/* XPM */ static char * stock_open_png_xpm[] = { "24 24 5 1", " c None", ". c #000000", "+ c #99907B", "@ c #FFFEF7", "# c #FFFFFF", " ", " ", " ", " ", " ", " .. ", " ...++. ", " .. ...++++@@#... ", " .++..++++@@@@..++. ", " .+++++@@@@@..++++. ", " .++@@@@@..++++++. ", " .++@@@..++++++++. ", " .+@@.++++++++++. ", " .++@.++++++++++. ", " .+@.++++++++++. ", " .++.++++++++.. ", " .+.++++++.. ", " .+.+++++. ", " ..+++.. ", " ..+.. ", " .. ", " ", " ", " "}; phpmole/glade/stock_paste.xpm0000755000175000017500000000565707372146471016546 0ustar alanalan00000000000000/* XPM */ static char * stock_paste_png_xpm[] = { "24 24 105 2", " c None", ". c #000000", "+ c #CFCDBE", "@ c #CFCCBD", "# c #CFCBBC", "$ c #D0CFBE", "% c #CFCEBE", "& c #CECABB", "* c #D1CFBE", "= c #7E7E74", "- c #2F2F2B", "; c #595855", "> c #A09F9C", ", c #CCC9BB", "' c #595956", ") c #DDDDDA", "! c #ACABA5", "~ c #7E7C72", "{ c #3E3C38", "] c #CDC9BB", "^ c #CCC9BA", "/ c #4D4D4B", "( c #7E7C73", "_ c #CDCABB", ": c #CBC9BA", "< c #CAC8B9", "[ c #73736E", "} c #4D4C46", "| c #A4A195", "1 c #CAC7B8", "2 c #CFCDBD", "3 c #CFCCBC", "4 c #CFCBBB", "5 c #CAC9B9", "6 c #CAC8B8", "7 c #C9C6B8", "8 c #D1D1BC", "9 c #919182", "0 c #CBC9B9", "a c #272727", "b c #AEAEA8", "c c #B7B7A5", "d c #D4D4BE", "e c #D8D8C2", "f c #EAEAE2", "g c #707070", "h c #B3B3AC", "i c #D7D7C1", "j c #DBDBC4", "k c #ACAC9B", "l c #DDDDD9", "m c #42423A", "n c #A5A595", "o c #DADAC3", "p c #DEDEC7", "q c #E2E2CA", "r c #C9C7B8", "s c #C9C5B6", "t c #616156", "u c #A5A594", "v c #D9D9C3", "w c #DDDDC6", "x c #E1E1C9", "y c #E4E4CD", "z c #B4B4A1", "A c #C7C5B5", "B c #C5C1B1", "C c #C0BEAB", "D c #BBBBA7", "E c #DCDCC5", "F c #E0E0C9", "G c #E3E3CC", "H c #E7E7CF", "I c #EBEBD3", "J c #A3A391", "K c #C3C0AF", "L c #C3BFAE", "M c #C2BEAE", "N c #C1BDAC", "O c #BAB8A5", "P c #929284", "Q c #DFDFC8", "R c #E2E2CB", "S c #E6E6CF", "T c #EAEAD2", "U c #EEEED5", "V c #F2F2D9", "W c #C0BBAA", "X c #BCB9A6", "Y c #B8B4A1", "Z c #B7B3A0", "` c #E5E5CE", " . c #E9E9D1", ".. c #EDEDD5", "+. c #F1F1D8", "@. c #F5F5DC", "#. c #A7A796", "$. c #B9B5A1", "%. c #B8B4A0", "&. c #AEAE9C", "*. c #E8E8D0", "=. c #ECECD4", "-. c #F0F0D7", ";. c #A6A696", ">. c #9F9F8F", " ", " ", " ", " . . . ", " . . + @ # . . ", " . . $ % @ # & . . . . . . ", " . . * $ = - ; > & , . . . . . . ", " . * * * ' ) ! ~ { ] ^ . . ", " . * * $ / ! ( { _ , : < . ", " . $ % [ } | _ , : < 1 . . . ", " . % 2 3 4 & ] : 5 6 7 . . 8 9 . ", " . @ # & _ ^ 0 6 . a b c d e . ", " . # & _ , : < 1 . f g h i j k . ", " . & , : 5 1 7 . l m n o p q . ", " . ] ^ 5 6 r s . t u v w x y z . ", " . : 1 A B C . D e E F G H I J . ", " . K L M N O . P j Q R S T U V . ", " . W X Y Z . . p q ` ...+.@.#.. ", " . $.%.. . . &.y *.=.-.;.. . ", " . . . H I J . . ", " . >.. . ", " . ", " ", " "}; phpmole/glade/stock_preferences.xpm0000755000175000017500000000277707372146471017733 0ustar alanalan00000000000000/* XPM */ static char * stock_preferences_png_xpm[] = { "24 24 53 1", " c None", ". c #000000", "+ c #E5E5E5", "@ c #CECECE", "# c #CDCDCD", "$ c #DCCB94", "% c #DCDCDC", "& c #C7C7C7", "* c #8E7D45", "= c #CFCFCF", "- c #C1C1C1", "; c #AB5959", "> c #D9D9D9", ", c #878787", "' c #DBDBDB", ") c #D4D4D4", "! c #A84F4F", "~ c #A7A7A7", "{ c #9B9B9B", "] c #F5F5F5", "^ c #F3F3F3", "/ c #A65757", "( c #6E6E6E", "_ c #DACACA", ": c #AC5757", "< c #C48B8B", "[ c #AA6C6C", "} c #E9DDDD", "| c #A65353", "1 c #C6C6C6", "2 c #D4C38D", "3 c #E4E4E4", "4 c #D6D6D0", "5 c #C0C0BB", "6 c #828279", "7 c #AD8E30", "8 c #756020", "9 c #C5C5BF", "0 c #A7A79A", "a c #818174", "b c #DFE1E1", "c c #D6E1E0", "d c #060605", "e c #A3A395", "f c #C8C8C8", "g c #8B8B7D", "h c #7E7E71", "i c #B2B9B6", "j c #D9D9D2", "k c #D9D9D3", "l c #DADAD4", "m c #DADAD9", "n c #DADADA", " ", " ", " ", " .. ", " ..+@. . ", " ..#+++. .$. ", " ...%+++++&. .$*. ", " ..#++++=+-++. .$*. ", " .%++++;+>+=,+'.$*. ", " .)++++!~+{,++.$*. ", " .++]^/+(+++.$*. ", " .%_:<[++++.$*.>. ", " .+}|/+++.$*.=+1. ", " .)+++++.2*.>3456. ", " .+++]78..90000a. ", " .%+bcd.ee0000f. ", " .+0ghijkl+m.. ", " .)+++++++f. ", " .++++++.. ", " .%+++f. ", " .+n.. ", " .. ", " ", " "}; phpmole/glade/stock_print.xpm0000755000175000017500000000725707372146471016564 0ustar alanalan00000000000000/* XPM */ static char * stock_print_png_xpm[] = { "24 24 153 2", " c None", ". c #000000", "+ c #F7F7F6", "@ c #C9C9C9", "# c #545454", "$ c #FAFAF9", "% c #F8F7F6", "& c #F5F4F3", "* c #F2F2F0", "= c #F1F0EE", "- c #C5C5C3", "; c #464646", "> c #C6C6C6", ", c #F7F6F5", "' c #F4F4F2", ") c #F1F1EF", "! c #EFEEEC", "~ c #ECEBE9", "{ c #EAE9E6", "] c #E7E6E2", "^ c #E4E3DF", "/ c #A5A29E", "( c #2D2D2D", "_ c #F6F5F4", ": c #F3F3F1", "< c #EEEDEB", "[ c #EBEAE8", "} c #E9E8E5", "| c #E6E5E1", "1 c #E3E2DE", "2 c #CBC9C7", "3 c #060606", "4 c #A6A6A6", "5 c #F0EFED", "6 c #EDECEA", "7 c #EAE9E7", "8 c #E8E7E3", "9 c #E5E4E0", "0 c #E3E1DD", "a c #DDDCD9", "b c #585858", "c c #CECECE", "d c #B6B6B6", "e c #9A9A98", "f c #7D7D7B", "g c #E2E0DC", "h c #DFDED9", "i c #BCBCBB", "j c #CBCBCB", "k c #E9E9E9", "l c #EDEDED", "m c #E2E2E2", "n c #B5B3B2", "o c #5F5E5C", "p c #848381", "q c #B5B3B0", "r c #DEDDD8", "s c #CDCBC6", "t c #403F3F", "u c #5E5E5E", "v c #6E6E6E", "w c #8D8D8D", "x c #B7B7B7", "y c #EBEBEB", "z c #FAFAFA", "A c #F6F6F6", "B c #F4F4F4", "C c #F2F2F2", "D c #F0F0F0", "E c #EEEEEE", "F c #929290", "G c #646260", "H c #504F4C", "I c #646360", "J c #444443", "K c #676767", "L c #494949", "M c #2E2E2E", "N c #ACACAC", "O c #AAAAAA", "P c #A8A8A8", "Q c #BBBBBB", "R c #E1E1E1", "S c #F3F3F3", "T c #EFEFEF", "U c #EAEAEA", "V c #E8E8E8", "W c #D5D5D5", "X c #414141", "Y c #272727", "Z c #363636", "` c #3A3A3A", " . c #B3B3B3", ".. c #B1B1B1", "+. c #AFAFAF", "@. c #A9A9A9", "#. c #D2D2D2", "$. c #E5E5E5", "%. c #DBDBDB", "&. c #474747", "*. c #393939", "=. c #3C3C3C", "-. c #383838", ";. c #696969", ">. c #A1A1A1", ",. c #B4B4B4", "'. c #B2B2B2", "). c #A2A2A2", "!. c #A0A0A0", "~. c #999999", "{. c #E0E0E0", "]. c #C3C3C3", "^. c #424242", "/. c #2F2F2F", "(. c #353535", "_. c #3E3E3E", ":. c #404040", "<. c #3B3B3B", "[. c #666666", "}. c #636363", "|. c #A3A3A3", "1. c #ADADAD", "2. c #ABABAB", "3. c #A7A7A7", "4. c #A5A5A5", "5. c #959595", "6. c #7B7B7B", "7. c #333333", "8. c #262626", "9. c #3F3F3F", "0. c #5B5B5B", "a. c #4B4B4B", "b. c #4A4A4A", "c. c #606060", "d. c #868686", "e. c #9E9E9E", "f. c #7F7F7F", "g. c #373737", "h. c #4D4D4D", "i. c #505050", "j. c #555555", "k. c #4F4F4F", "l. c #454545", "m. c #4E4E4E", "n. c #616161", "o. c #343434", "p. c #646464", "q. c #717171", "r. c #6F6F6F", "s. c #313131", "t. c #484848", "u. c #707070", "v. c #727272", " ", " ", " ", " . . ", " . + @ # . . ", " . $ % & * = - ; . . . ", " . > , ' ) ! ~ { ] ^ / . ", " ( _ : = < [ } | 1 2 . ", " . 3 4 * 5 6 7 8 9 0 a b ", " . . c d e f ~ { ] ^ g h i . . ", " . . j k l k m n o o p q r s t u v . . ", " . w x y z A B C D E l F G H I J K L M . ", " . N O P Q R S l C T y U V k W X Y Z ` . ", " . ...+.@.P @.#.$.T D V C %.&.*.=.-.X . ", " . ;.>.x ,.'.O ).!.~.#.{.].^./.(._.:.<.. ", " . [.&.}.|.1.2.@.3.4.5.6.7.8.` =.9.` (.. ", " . 0.0.a.; b.c.d.).!.e.f.g.` =.7.*.=.. . ", " . . h.i.j.k.; l.m.n.6.*.<.( (.o.. ", " . . . X 0.j.p.q.r.:.s.g.. . ", " . . . t.u.v.` _.. ", " . . . . . ", " ", " ", " "}; phpmole/glade/stock_properties.xpm0000755000175000017500000000606407372146471017617 0ustar alanalan00000000000000/* XPM */ static char * stock_properties_png_xpm[] = { "24 24 113 2", " c None", ". c #000000", "+ c #ADAD9C", "@ c #959585", "# c #DCDCC5", "$ c #DFDFC8", "% c #242424", "& c #A7A796", "* c #D7D7C1", "= c #D9D9C3", "- c #DCDCC4", "; c #DDDDC7", "> c #E1E1CA", ", c #D8BE6A", "' c #A6A694", ") c #D6D6BF", "! c #D8D8C2", "~ c #DBDBC4", "{ c #A2A291", "] c #E3E3CB", "^ c #B2B29F", "/ c #8E7D45", "( c #7C7C7C", "_ c #646464", ": c #D5D5BD", "< c #D5D5BF", "[ c #D7D7C0", "} c #9E9E8D", "| c #ABAB98", "1 c #E1E1C9", "2 c #E5E5CD", "3 c #E9E9D1", "4 c #343434", "5 c #E7E7E7", "6 c #373736", "7 c #B8B8A6", "8 c #D3D3BC", "9 c #909081", "0 c #9F9F8E", "a c #DDDDC5", "b c #E0E0C8", "c c #A2A292", "d c #ECECD4", "e c #EEEED5", "f c #ECECEC", "g c #EDEDED", "h c #3D3D37", "i c #8A8A7A", "j c #E6E6CE", "k c #9A9A8A", "l c #EAEAD2", "m c #EEEEE5", "n c #3C3C3C", "o c #8F8F80", "p c #D0D0B9", "q c #999988", "r c #ECECD3", "s c #EFEFD6", "t c #EEEEE6", "u c #505050", "v c #929282", "w c #D1D1B9", "x c #969686", "y c #E7E7CF", "z c #EBEBD2", "A c #F5F5DC", "B c #D2D2BC", "C c #E9E9D0", "D c #EDEDD4", "E c #E3E3DC", "F c #797973", "G c #D8D8C1", "H c #919182", "I c #949484", "J c #EAEAD1", "K c #D9D9CC", "L c #BFBFB0", "M c #ACACA5", "N c #9F9F93", "O c #98988F", "P c #E4E4CC", "Q c #AD8E30", "R c #756020", "S c #C4C4B0", "T c #9D9D8D", "U c #818174", "V c #DFDFC7", "W c #E2E2CA", "X c #060605", "Y c #9B9B8B", "Z c #9C9C8C", "` c #BEBEAE", " . c #8B8B7D", ".. c #7E7E71", "+. c #C0C0AC", "@. c #C2C2AE", "#. c #C3C3AF", "$. c #DADAC3", "%. c #4E4E4E", "&. c #E8E8D0", "*. c #A0A090", "=. c #F2F2D9", "-. c #F3F3DA", ";. c #F4F4DB", ">. c #828274", ",. c #EBEBD3", "'. c #F1F1D8", "). c #F0F0D7", "!. c #A5A594", "~. c #BBBBA8", "{. c #CDCDB8", "]. c #4D4D45", "^. c #A6A696", " ", " ", " . ", " . . + . ", " . . @ # $ % . ", " . . & * = - ; > . . , . ", " . . ' ) * * ! ~ { ] ^ . . , / . ", " . ( _ ) : < [ } | 1 2 3 4 . , / . ", " . 5 6 7 8 9 0 a b 2 c d e . , / . ", " . f g h i < ~ b j k l e . , / . ", " . m m n o p b q q r s . , / . ", " . t u v w - x y z e . , / . A . ", " . . x B ~ x ] C D . , / . A A E . ", " . F G H I > y J . , / . A K L M N . ", " . O ~ # $ P y Q R . . S T T T T U . ", " . V b W 2 3 X . Y Z T T T T . . ", " . ` 2 2 T ...+.@.#.S A $.. ", " %.&.*.l D s =.-.;.=.>.. ", " . ,.d D s '.=.=.$.. ", " . s ).'.=.3 !.. ", " . ~.=.-.{.].. ", " . -.^.. ", " . . ", " "}; phpmole/glade/stock_redo.xpm0000755000175000017500000000152407372146471016350 0ustar alanalan00000000000000/* XPM */ static char * stock_redo_png_xpm[] = { "24 24 8 1", " c None", ". c #000000", "+ c #4C603C", "@ c #566B43", "# c #445636", "$ c #526741", "% c #5A7046", "& c #37452B", " ", " ", " ", " ", " ", " ", " . ", " .. ", " ...+@. ", " ..#+$$%$. ", " .##...$@. ", " .&. .. ", " .&. . ", " .. ", " .. ", " . ", " . ", " ", " ", " ", " ", " ", " ", " "}; phpmole/glade/stock_refresh.xpm0000755000175000017500000000160507372146471017055 0ustar alanalan00000000000000/* XPM */ static char * stock_refresh_png_xpm[] = { "24 24 11 1", " c None", ". c #000000", "+ c #566B43", "@ c #4C603C", "# c #526741", "$ c #5A7046", "% c #445636", "& c #37452B", "* c #425334", "= c #475937", "- c #5C7449", " ", " ", " ", " ", " . ", " .. ", " .+@... ", " .#$##@%.. ", " .+#...%%. ", " . .. .&. ", " . . .&. ", " .. .. ", " .. .. ", " .*. . . ", " .*. .. . ", " .%@...#=. ", " ..##-#@#. ", " ...@%. ", " .. ", " . ", " ", " ", " ", " "}; phpmole/glade/stock_remove.xpm0000755000175000017500000000224107372146471016711 0ustar alanalan00000000000000/* XPM */ static char * stock_remove_png_xpm[] = { "24 24 30 1", " c None", ". c #000000", "+ c #200002", "@ c #140000", "# c #190001", "$ c #706C60", "% c #100000", "& c #E0DCC0", "* c #ADA798", "= c #686754", "- c #949480", "; c #BAB696", "> c #41413F", ", c #5F5F59", "' c #D4CCC0", ") c #A7A296", "! c #B3B090", "~ c #484844", "{ c #84847C", "] c #A19D90", "^ c #4B4B48", "/ c #CEC7B9", "( c #969289", "_ c #BAB3A8", ": c #6D6D66", "< c #AAA597", "[ c #5B5B56", "} c #7F7C71", "| c #5A5A54", "1 c #8D897F", " ", " ", " ", " . ", " ... ", " ..... ", " ....... ", " ... ", " +@# ", " .###. ", " ...$%@#&... ", " ..$$$$##+&&&&.. ", " .*.=$$$-&&&;>,. ", " .'').=$-&!~,{{. ", " .''''].$^,{{{{. ", " .'''''/.{{{{{{. ", " .''''''.{{{{{{. ", " .''''''.{{{{{{. ", " .(_''''.{{{{{:. ", " ..<'''.{{{{[.. ", " .}_'.{{|.. ", " ..1.|.. ", " ... ", " "}; phpmole/glade/stock_revert.xpm0000755000175000017500000000320107372146471016720 0ustar alanalan00000000000000/* XPM */ static char * stock_revert_png_xpm[] = { "24 24 62 1", " c None", ". c #000000", "+ c #629DA8", "@ c #2C3D42", "# c #A8C7CB", "$ c #E9EEEF", "% c #C5D8DC", "& c #F0F2F3", "* c #F9F9F9", "= c #E5ECED", "- c #7AABB6", "; c #B1CAD0", "> c #F4F6F6", ", c #80AFB9", "' c #212F32", ") c #8DB6BE", "! c #D5E1E4", "~ c #E9EEF0", "{ c #647F82", "] c #EDF2F2", "^ c #EBF0F1", "/ c #F2F4F5", "( c #45676E", "_ c #F1F3F4", ": c #36575F", "< c #9EC2C7", "[ c #294249", "} c #2E3B3D", "| c #385C64", "1 c #A4ADAF", "2 c #EDEDED", "3 c #E9E9E9", "4 c #45494A", "5 c #CDD1D3", "6 c #F2F2F2", "7 c #EAEAEA", "8 c #E6E6E6", "9 c #AAB6B8", "0 c #2B464D", "a c #18292D", "b c #5C8791", "c c #C2C8C9", "d c #F4F4F4", "e c #3B5055", "f c #D5DFE0", "g c #E3E3E3", "h c #DFDFDF", "i c #828C8D", "j c #1E2A2D", "k c #6DA4AE", "l c #DCE0E0", "m c #E5E5E5", "n c #B8B8B8", "o c #4B5C61", "p c #D6DCDD", "q c #ECECEC", "r c #A7B4B6", "s c #D9DBDC", "t c #7D8A8C", "u c #2B2B2B", "v c #E2E2E2", "w c #859597", " ", " . ", " .. ", " ...... ", " ......... .. ", " ..........+@. ", " .. ...#$+. ", " . ..%...&+@. ", " ..%#%*..*=+. ", " ..-;%***..*>,'. ", " .);!*****.***~+. ", " .{)]****.****^+@. ", " .#=*******/=+++. ", " .(-]****_=++::+@. ", " .<=**_=++[}|+:+. ", " .(-^=++[1234+:+@. ", " .)++:5667890+[a. ", " .b-+cdef3ghi+'.. ", " .)+:6jklmno.. ", " .|++pqrstu. ", " .0+:vw.. ", " ..... ", " ", " "}; phpmole/glade/stock_right_arrow.xpm0000755000175000017500000000270307372146472017747 0ustar alanalan00000000000000/* XPM */ static char * stock_right_arrow_png_xpm[] = { "24 24 49 1", " c None", ". c #000000", "+ c #E1EADF", "@ c #FFFFFF", "# c #F0F4EF", "$ c #D4E0D1", "% c #F3F7F3", "& c #EDF2EB", "* c #CEDCCB", "= c #F4F7F4", "- c #F1F5F0", "; c #EFF3EE", "> c #EBF1EA", ", c #C9D8C5", "' c #E5ECE3", ") c #CBDAC7", "! c #181818", "~ c #2B2B2B", "{ c #E4EBE2", "] c #DEE7DC", "^ c #D7E3D5", "/ c #EEF3ED", "( c #B1C7AC", "_ c #9DBB90", ": c #88AC80", "< c #83AA7C", "[ c #85A879", "} c #7EA476", "| c #84A778", "1 c #759B6C", "2 c #59814F", "3 c #3A5934", "4 c #9ABB8F", "5 c #83AA7A", "6 c #87AC7D", "7 c #82A87B", "8 c #86A97C", "9 c #759C6D", "0 c #537C49", "a c #445840", "b c #80A776", "c c #749868", "d c #4B7040", "e c #90B387", "f c #749A6B", "g c #3B5E31", "h c #5D8554", "i c #37592F", "j c #3F6534", " ", " ", " ", " ", " ", " .. ", " .+.. ", " .@#$.. ", " .@%&#*.. ", " .@=-;>-,.. ", " .@;;;>>'#)!. ", " ~@;;;>{]^]/(.. ", " ._:<:<[}|123.. ", " .4567|890a.. ", " .46b[c0d.. ", " .ebf0g.. ", " . c #F5F8F9", ", c #8BADB5", "' c #3E4D50", ") c #94B2B9", "! c #CFDCDF", "~ c #E4ECEE", "{ c #788A8D", "] c #EBF1F2", "^ c #E8EFF0", "/ c #F2F6F7", "( c #607A7F", "_ c #F0F4F5", ": c #536E75", "< c #A0BCC1", "[ c #465E63", "} c #4B575A", "| c #557278", "1 c #A4ABAD", "2 c #EAEAEA", "3 c #E4E4E4", "4 c #606364", "5 c #C6CACC", "6 c #F3F3F3", "7 c #F1F1F1", "8 c #E7E7E7", "9 c #E1E1E1", "0 c #A9B2B4", "a c #486166", "b c #34464A", "c c #729096", "d c #BCC2C3", "e c #F6F6F6", "f c #57696D", "g c #CFD8DA", "h c #DEDEDE", "i c #D8D8D8", "j c #8C9394", "k c #F2F2F2", "l c #3A474A", "m c #7EA4AC", "n c #D5DADA", "o c #E0E0E0", "p c #B4B4B4", "q c #657376", "r c #D0D5D6", "s c #E9E9E9", "t c #A7B0B2", "u c #D2D4D5", "v c #899293", "w c #484848", "x c #DDDDDD", "y c #8F9A9B", " ", " ", " ", " .. ", " ..+@. ", " ..#$%+. ", " ..#$#&*+@. ", " ..#$#&&&&=+. ", " ..-;#&&&&&&>,'. ", " .);!&&&&&&&&&~+. ", " .{)]&&&&&&&&&^+@. ", " .$=&&&&&&&/=+++. ", " .(-]&&&&_=++::+@. ", " .<=&&_=++[}|+:+. ", " .(-^=++[1234+:+@. ", " .)++:567890a+[b. ", " .c-+defg3hij+'.. ", " .)+:klmnopq.. ", " .|++rstuvw. ", " .a+:xy.. ", " ..... ", " ", " ", " "}; phpmole/glade/stock_save_as.xpm0000755000175000017500000000327607372146472017047 0ustar alanalan00000000000000/* XPM */ static char * stock_save_as_png_xpm[] = { "24 24 66 1", " c None", ". c #000000", "+ c #D8BE6A", "@ c #8E7D45", "# c #629DA8", "$ c #2C3D42", "% c #C5D8DC", "& c #A8C7CB", "* c #E9EEEF", "= c #F9F9F9", "- c #F0F2F3", "; c #7AABB6", "> c #B1CAD0", ", c #212F32", "' c #8DB6BE", ") c #D5E1E4", "! c #9A918B", "~ c #E9EEF0", "{ c #647F82", "] c #EDF2F2", "^ c #EBF0F1", "/ c #E5ECED", "( c #C6B273", "_ c #756020", ": c #E1E3DC", "< c #45676E", "[ c #060605", "} c #F1F3F4", "| c #36575F", "1 c #9EC2C7", "2 c #294249", "3 c #2E3B3D", "4 c #385C64", "5 c #A4ADAF", "6 c #EDEDED", "7 c #E9E9E9", "8 c #45494A", "9 c #CDD1D3", "0 c #F2F2F2", "a c #EAEAEA", "b c #E6E6E6", "c c #AAB6B8", "d c #2B464D", "e c #18292D", "f c #5C8791", "g c #C2C8C9", "h c #F4F4F4", "i c #3B5055", "j c #D5DFE0", "k c #E3E3E3", "l c #DFDFDF", "m c #828C8D", "n c #1E2A2D", "o c #6DA4AE", "p c #DCE0E0", "q c #E5E5E5", "r c #B8B8B8", "s c #4B5C61", "t c #D6DCDD", "u c #ECECEC", "v c #A7B4B6", "w c #D9DBDC", "x c #7D8A8C", "y c #2B2B2B", "z c #E2E2E2", "A c #859597", " ", " ", " . ", " .+. ", " .. .+@. ", " ..#$..+@. ", " ..%&*#.+@. ", " ..%&%=-.+@. ", " ..%&%===.+@. ", " ..;>%====.+@.,. ", " .'>)==!==.+@.~#. ", " .{']=!==.+@.=^#$. ", " .&/=!=(_..:/###. ", " .<;]=![.}/##||#$. ", " .1/=!}/##234#|#. ", " .<;^/##25678#|#$. ", " .'##|900abcd#2e. ", " .f;#ghij7klm#,.. ", " .'#|0nopqrs.. ", " .4##tuvwxy. ", " .d#|zA.. ", " ..... ", " ", " "}; phpmole/glade/stock_scores.xpm0000755000175000017500000000111307372146472016710 0ustar alanalan00000000000000/* XPM */ static char * stock_scores_png_xpm[] = { "20 20 3 1", " c None", ". c #000000", "+ c #FFFFFF", " ", " ", " ", " ....... ", " .+++++. ", " .++.++. ", " .+..++. ", " .++.++. ", " ......++.++. ", " .++++++...+...... ", " .+...+++++++++++. ", " .+++.+++++++...+. ", " .+...+++++++++.+. ", " .+.++++++++++..+. ", " .+...+++++++++.+. ", " .+++++++++++...+. ", " .+++++++++++++++. ", " ................. ", " ", " "}; phpmole/glade/stock_search.xpm0000755000175000017500000000644007372146472016667 0ustar alanalan00000000000000/* XPM */ static char * stock_search_png_xpm[] = { "24 24 128 2", " c None", ". c #000000", "+ c #ADAD9C", "@ c #959585", "# c #DCDCC5", "$ c #DFDFC8", "% c #242424", "& c #A7A796", "* c #D7D7C1", "= c #D9D9C3", "- c #DCDCC4", "; c #DDDDC7", "> c #E1E1CA", ", c #A6A694", "' c #D6D6BF", ") c #D8D8C2", "! c #DBDBC4", "~ c #DFDFC7", "{ c #E3E3CB", "] c #B2B29F", "^ c #7C7C7C", "/ c #646464", "( c #D5D5BD", "_ c #D5D5BF", ": c #D7D7C0", "< c #DADAC3", "[ c #DEDEC6", "} c #E1E1C9", "| c #E5E5CD", "1 c #E9E9D1", "2 c #343434", "3 c #E7E7E7", "4 c #373736", "5 c #B8B8A6", "6 c #D3D3BC", "7 c #D9D9C2", "8 c #DDDDC5", "9 c #E0E0C8", "0 c #E8E8D0", "a c #ECECD4", "b c #EEEED5", "c c #ECECEC", "d c #EDEDED", "e c #3D3D37", "f c #CECEB7", "g c #E6E6CE", "h c #EAEAD2", "i c #F1F1D8", "j c #A5A594", "k c #EEEEE5", "l c #3C3C3C", "m c #8F8F80", "n c #D0D0B9", "o c #B4B4A0", "p c #46463E", "q c #090908", "r c #4A4A42", "s c #C1C1AD", "t c #F2F2D9", "u c #F3F3DA", "v c #EEEEE6", "w c #505050", "x c #929282", "y c #D1D1B9", "z c #B0B09D", "A c #33332D", "B c #9D9D8D", "C c #CFCFB9", "D c #C4C4AF", "E c #8D8D7F", "F c #34342F", "G c #C3C3AF", "H c #F4F4DB", "I c #F5F5DC", "J c #969686", "K c #D2D2BC", "L c #45453E", "M c #9C9C8C", "N c #E2E2D0", "O c #EDEDE5", "P c #C0C0AC", "Q c #828274", "R c #4B4B43", "S c #BEBEAB", "T c #797973", "U c #D8D8C1", "V c #DDDDC6", "W c #080807", "X c #FBFBFA", "Y c #C3C3AE", "Z c #B5B5A2", "` c #A6A695", " . c #959586", ".. c #98988F", "+. c #080808", "@. c #CACAB5", "#. c #DDDDD0", "$. c #B7B7A4", "%. c #AAAA98", "&. c #9B9B8B", "*. c #8C8C7D", "=. c #818174", "-. c #E2E2CA", ";. c #46463F", ">. c #929283", ",. c #BABAA7", "'. c #ADAD9B", "). c #9F9F8E", "!. c #909081", "~. c #727266", "{. c #4B4B44", "]. c #BEBEAE", "^. c #33332E", "/. c #878779", "(. c #A0A090", "_. c #737367", ":. c #4E4E4E", "<. c #BEBEAA", "[. c #404040", "}. c #6F6F6F", "|. c #EBEBD3", "1. c #EDEDD4", "2. c #EFEFD6", "3. c #F0F0D7", "4. c #BBBBA8", "5. c #CDCDB8", "6. c #4D4D45", "7. c #A6A696", " ", " ", " . ", " . . + . ", " . . @ # $ % ", " . . & * = - ; > . ", " . . , ' * * ) ! ~ { ] . ", " . ^ / ' ( _ : < [ } | 1 2 ", " . 3 4 5 6 * 7 8 9 | 0 a b . ", " . c d e f _ ! 9 g 0 h b i j . ", " . k k l m n o p q q r s t u . ", " . v w x y z A B C D E F G H I . ", " . . J K ! L M N O P ] Q R I I S . ", " . T U 7 V W _ X Y Z ` .q I I I ) . ", " . ..! # $ +.@.#.$.%.&.*.q I I I =.. ", " . ~ 9 -.;.>.,.'.).!.~.{.I I . . ", " . ].| | ,.^./.(.>._.. . < . ", " :.0 1 h <.r q q [.}.. . ", " . |.a 1.2.i t t < . . . . ", " . 2.3.i t 1 j . . . . ", " . 4.t u 5.6.. . . . ", " . u 7.. . . ", " . . ", " "}; phpmole/glade/stock_search_replace.xpm0000755000175000017500000000641007372146472020357 0ustar alanalan00000000000000/* XPM */ static char * stock_search_replace_png_xpm[] = { "24 24 126 2", " c None", ". c #000000", "+ c #D8BE6A", "@ c #8E7D45", "# c #ADAD9C", "$ c #959585", "% c #DCDCC5", "& c #DFDFC8", "* c #A7A796", "= c #D7D7C1", "- c #D9D9C3", "; c #DCDCC4", "> c #A6A694", ", c #D6D6BF", "' c #D8D8C2", ") c #7C7C7C", "! c #646464", "~ c #D5D5BD", "{ c #D5D5BF", "] c #D7D7C0", "^ c #C6B273", "/ c #756020", "( c #E9E9D1", "_ c #343434", ": c #E7E7E7", "< c #373736", "[ c #B8B8A6", "} c #D3D3BC", "| c #D9D9C2", "1 c #060605", "2 c #E5E5CD", "3 c #E8E8D0", "4 c #ECECD4", "5 c #EEEED5", "6 c #ECECEC", "7 c #EDEDED", "8 c #3D3D37", "9 c #CECEB7", "0 c #DBDBC4", "a c #E0E0C8", "b c #E6E6CE", "c c #EAEAD2", "d c #F1F1D8", "e c #A5A594", "f c #EEEEE5", "g c #3C3C3C", "h c #8F8F80", "i c #D0D0B9", "j c #B4B4A0", "k c #46463E", "l c #090908", "m c #4A4A42", "n c #C1C1AD", "o c #F2F2D9", "p c #F3F3DA", "q c #EEEEE6", "r c #505050", "s c #929282", "t c #D1D1B9", "u c #B0B09D", "v c #33332D", "w c #9D9D8D", "x c #CFCFB9", "y c #C4C4AF", "z c #8D8D7F", "A c #34342F", "B c #C3C3AF", "C c #F4F4DB", "D c #F5F5DC", "E c #969686", "F c #D2D2BC", "G c #45453E", "H c #9C9C8C", "I c #E2E2D0", "J c #EDEDE5", "K c #C0C0AC", "L c #B2B29F", "M c #828274", "N c #4B4B43", "O c #BEBEAB", "P c #797973", "Q c #D8D8C1", "R c #DDDDC6", "S c #080807", "T c #FBFBFA", "U c #C3C3AE", "V c #B5B5A2", "W c #A6A695", "X c #959586", "Y c #98988F", "Z c #080808", "` c #CACAB5", " . c #DDDDD0", ".. c #B7B7A4", "+. c #AAAA98", "@. c #9B9B8B", "#. c #8C8C7D", "$. c #818174", "%. c #DFDFC7", "&. c #E2E2CA", "*. c #46463F", "=. c #929283", "-. c #BABAA7", ";. c #ADAD9B", ">. c #9F9F8E", ",. c #909081", "'. c #727266", "). c #4B4B44", "!. c #BEBEAE", "~. c #33332E", "{. c #878779", "]. c #A0A090", "^. c #737367", "/. c #DADAC3", "(. c #4E4E4E", "_. c #BEBEAA", ":. c #404040", "<. c #6F6F6F", "[. c #EBEBD3", "}. c #EDEDD4", "|. c #EFEFD6", "1. c #F0F0D7", "2. c #BBBBA8", "3. c #CDCDB8", "4. c #4D4D45", "5. c #A6A696", " ", " . . ", " . + @ . ", " . . + @ . ", " . . # . . + @ . ", " . . $ % & . + @ . ", " . . * = - ; . + @ . ", " . . > , = = ' . + @ . . ", " . ) ! , ~ { ] ^ / . . ( _ ", " . : < [ } = | 1 . 2 3 4 5 . ", " . 6 7 8 9 { 0 a b 3 c 5 d e . ", " . f f g h i j k l l m n o p . ", " . q r s t u v w x y z A B C D . ", " . . E F 0 G H I J K L M N D D O . ", " . P Q | R S { T U V W X l D D D ' . ", " . Y 0 % & Z ` ...+.@.#.l D D D $.. ", " . %.a &.*.=.-.;.>.,.'.).D D . . ", " . !.2 2 -.~.{.].=.^.. . /.. ", " (.3 ( c _.m l l :.<.. . ", " . [.4 }.|.d o o /.. . . . ", " . |.1.d o ( e . . . . ", " . 2.o p 3.4.. . . . ", " . p 5.. . . ", " . . "}; phpmole/glade/stock_spellcheck.xpm0000755000175000017500000000157107372146472017537 0ustar alanalan00000000000000/* XPM */ static char * stock_spellcheck_png_xpm[] = { "24 24 10 1", " c None", ". c #000000", "+ c #486640", "@ c #415B39", "# c #4C6B42", "$ c #5B8050", "% c #648C58", "& c #537549", "* c #496640", "= c #4F6F46", " ", " ", " ", " ", " .. ... .. ", " . . . . . . ", " .... ... . ", " . . . . . . ", " . . ... .. .. ", " .. ", " .. .. ", " .+. .@. ", " .#. .#. ", " .+$.$@. ", " .#%&. ", " .*%@. ", " .#. ", " .=. ", " . ", " ", " ", " ", " ", " "}; phpmole/glade/stock_stop.xpm0000755000175000017500000000761607372146472016415 0ustar alanalan00000000000000/* XPM */ static char * stock_stop_png_xpm[] = { "24 24 167 2", " c None", ". c #000000", "+ c #010000", "@ c #080102", "# c #0E0203", "$ c #110305", "% c #140505", "& c #150405", "* c #130204", "= c #020000", "- c #030000", "; c #B1A4A4", "> c #CEBBBC", ", c #DDCCCC", "' c #DDCCCD", ") c #CBB6B7", "! c #B89A9B", "~ c #7D5E61", "{ c #210708", "] c #270A0B", "^ c #A19999", "/ c #DED1D1", "( c #F3E6E6", "_ c #EFE0E1", ": c #EBDCDD", "< c #EADCDC", "[ c #E4D7D7", "} c #E6D2D3", "| c #E1C5C6", "1 c #AC7D7D", "2 c #654040", "3 c #2E0C0D", "4 c #050001", "5 c #DED1D2", "6 c #F4EBEB", "7 c #F1E6E6", "8 c #EBDFDF", "9 c #E4DBDA", "0 c #E5DBDB", "a c #E2D3D3", "b c #DDC3C4", "c c #DBB3B6", "d c #A06E6E", "e c #310D0D", "f c #A39596", "g c #F5ECEC", "h c #EEE4E4", "i c #120808", "j c #E4DADA", "k c #E5DEDD", "l c #0E0505", "m c #CBB3B4", "n c #D8B9BB", "o c #B88B8C", "p c #633E3F", "q c #250A0A", "r c #BFB2B3", "s c #EADEDE", "t c #190E0E", "u c #0F0606", "v c #130A0A", "w c #E6DCDC", "x c #0C0404", "y c #0F0505", "z c #130606", "A c #C3A9A9", "B c #CBA5A6", "C c #A57577", "D c #2C0B0D", "E c #0D0303", "F c #D1C3C4", "G c #EDE1E0", "H c #120909", "I c #090303", "J c #0B0303", "K c #0D0404", "L c #B9A7A7", "M c #DEC6C7", "N c #CCABAD", "O c #B68B8F", "P c #290A0C", "Q c #CCB9B9", "R c #ECE1E1", "S c #E5DDDD", "T c #DFD1D0", "U c #DFCDCC", "V c #CDB1B1", "W c #CBA7A9", "X c #B28487", "Y c #2B0A0C", "Z c #1B0607", "` c #C9AFB0", " . c #ECDFDF", ".. c #E6DEDF", "+. c #0F0405", "@. c #120506", "#. c #D0B4B6", "$. c #CBAAAB", "%. c #C09699", "&. c #A17273", "*. c #2A0B0C", "=. c #1A0507", "-. c #AD8C8D", ";. c #D6C0C0", ">. c #E1D0D1", ",. c #0F0504", "'. c #100405", "). c #DECFCF", "!. c #120505", "~. c #180707", "{. c #24090A", "]. c #C69B9E", "^. c #B38083", "/. c #905E5F", "(. c #170405", "_. c #957273", ":. c #C6A3A5", "<. c #DAB9BA", "[. c #DCC4C4", "}. c #130505", "|. c #DCC6C7", "1. c #E0C9CA", "2. c #CFB3B4", "3. c #22080A", "4. c #BA8D8F", "5. c #BE8C8D", "6. c #A16C6E", "7. c #774748", "8. c #220809", "9. c #1D0607", "0. c #B88D8F", "a. c #C79FA0", "b. c #D6B2B4", "c. c #D8BEBF", "d. c #CDACAF", "e. c #D9BABC", "f. c #CBA5A7", "g. c #C6999A", "h. c #BF8B8C", "i. c #9F6A6B", "j. c #804F50", "k. c #1E0708", "l. c #A17477", "m. c #C29698", "n. c #C69E9F", "o. c #C69B9C", "p. c #C59898", "q. c #B27C7D", "r. c #AB7475", "s. c #8C5A5B", "t. c #734849", "u. c #210707", "v. c #250909", "w. c #9E7070", "x. c #B98A8B", "y. c #B88888", "z. c #B37D7F", "A. c #9F6767", "B. c #824E4F", "C. c #703F40", "D. c #27090A", "E. c #1B0507", "F. c #1E0707", "G. c #230909", "H. c #280B0B", "I. c #2C0B0C", "J. c #2F0C0C", ". . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . + @ # $ % & * . . . . . . . . . ", ". . . . . . = - ; > , ' ) ! ~ { ] . . . . . . . ", ". . . . . - ^ / ( _ : < [ } | 1 2 3 . . . . . . ", ". . . . . 4 5 6 7 8 9 9 0 a b c d e . . . . . . ", ". . . . 4 f g h 8 i 9 j k l m n o p q . . . . . ", ". . . . @ r 7 s t u v w x y z A B C D . . . . . ", ". . . . E F G s 9 H I J K y L M N O P . . . . . ", ". . . . % Q R 9 S S J K K T U V W X Y . . . . . ", ". . . . Z ` .....K +.+.l @.#.$.%.&.*.. . . . . ", ". . . . =.-.;.>.+.,.'.).!.~.{.].^./.P . . . . . ", ". . . . (._.:.<.[.}.|.1.2.3.4.5.6.7.8.. . . . . ", ". . . . . 9.0.a.b.c.d.e.f.g.h.i.j.P . . . . . . ", ". . . . . k.l.m.n.o.g.p.5.q.r.s.t.9.. . . . . . ", ". . . . . . u.v.w.x.y.z.A.B.C.D.E.. . . . . . . ", ". . . . . . . . F.G.H.I.J.J.D.. . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . "}; phpmole/glade/stock_table_borders.xpm0000755000175000017500000000140307372146472020223 0ustar alanalan00000000000000/* XPM */ static char * stock_table_borders_png_xpm[] = { "24 24 2 1", " c None", ". c #000000", " ", " ", " . . . . . . . . . . . ", " ", " . . . ", " ", " . . . ", " ", " . . . ", " ", " . . . ", " ", " . . . . . . . . . . . ", " ", " . . . ", " ", " . . . ", " ", " . . . ", " ", " . . . ", " ..................... ", " ..................... ", " "}; phpmole/glade/stock_table_fill.xpm0000755000175000017500000000141707372146472017516 0ustar alanalan00000000000000/* XPM */ static char * stock_table_fill_png_xpm[] = { "24 24 3 1", " c None", ". c #000000", "+ c #F7F7F7", " ", " ", " . . . . . . . . . . . ", " + + + + + ", " . + + + + . . ", " + + + + + ", " . + + + + . . ", " + + + + + ", " . + + + + . . ", " + + + + + ", " . + + + + . . ", " + + + + + ", " . . . . . . . . . . . ", " + + + + + ", " . . + + + + . ", " + + + + + ", " . . + + + + . ", " + + + + + ", " . . + + + + . ", " + + + + + ", " . . + + + + . ", " + + + + + ", " . . . . . . . . . . . ", " "}; phpmole/glade/stock_timer.xpm0000755000175000017500000000545607372146472016550 0ustar alanalan00000000000000/* XPM */ static char * stock_timer_png_xpm[] = { "24 24 97 2", " c None", ". c #000000", "+ c #D5D5D5", "@ c #FFFFFF", "# c #B1B1B1", "$ c #EBEBE9", "% c #B4B5B0", "& c #A0A29B", "* c #9FA099", "= c #AAACA5", "- c #C6C7C2", "; c #F5F6F4", "> c #D1D2CF", ", c #979890", "' c #9FA199", ") c #A8A9A1", "! c #ADAFA6", "~ c #B2B3AB", "{ c #B6B8B0", "] c #BABCB4", "^ c #11110F", "/ c #ECECEA", "( c #989991", "_ c #A1A39B", ": c #B0B1A9", "< c #BBBCB5", "[ c #BFC0B8", "} c #C2C4BC", "| c #C1C2BA", "1 c #D1D1D0", "2 c #DEDEDE", "3 c #9C9E96", "4 c #C5C7BF", "5 c #CBCCC5", "6 c #CDCEC6", "7 c #C5C7BE", "8 c #DEDFDA", "9 c #939393", "0 c #9E9F98", "a c #A1A29A", "b c #B5B7AF", "c c #CFD1C8", "d c #D0D2CA", "e c #CCCEC6", "f c #D1D3CB", "g c #9A9B93", "h c #A6A8A0", "i c #C8CAC1", "j c #D6D7D0", "k c #D5D7CF", "l c #D4D5CD", "m c #D3D5CD", "n c #A5A69F", "o c #A8A9A2", "p c #BABBB3", "q c #C9CAC2", "r c #94958E", "s c #D6D8D0", "t c #D7D9D1", "u c #DBDCD5", "v c #BFC0BB", "w c #A8AAA2", "x c #C4C5BD", "y c #B0B2AA", "z c #D7D8D0", "A c #E6E7E2", "B c #F2F2F1", "C c #ADAEA6", "D c #B1B3AB", "E c #BCBDB5", "F c #C6C8C0", "G c #CFD0C9", "H c #D4D6CE", "I c #D5D6CE", "J c #D6D7CF", "K c #E4E4E1", "L c #B3B4AC", "M c #B7B8B0", "N c #BCBEB6", "O c #C4C6BE", "P c #C9CBC3", "Q c #CBCCC4", "R c #D0D1C9", "S c #D4D5D2", "T c #B9B9B9", "U c #F5F5F4", "V c #CFD0CB", "W c #C0C2BB", "X c #C0C2BA", "Y c #C8C9C2", "Z c #D9DAD5", "` c #D9D9D8", " . c #7A7A7A", ".. c #6E926D", "+. c #809F7F", "@. c #5A7759", "#. c #496148", " ", " ", " . . . . . ", " . . + @ @ + # . . ", " . + @ @ @ @ @ @ + # . ", " . + @ $ % & * = - ; + + . ", " . # @ > , ' ) ! ~ { ] ^ + # . ", " . + / ( _ : < [ } | . . 1 + . ", " . # 2 % 3 . . 4 5 6 . . 7 8 + 9 . ", " . + @ 0 a b . . c . . d e f + 9 . ", " . 2 @ g h < i . . . j k l m + 9 . ", " . + @ n o p q r . ( s t t u + 9 . ", " . # 2 v w b x e y z s t t A + 9 . ", " . + B C D E F G H I J t 1 + . ", " . # 2 K L M N O P Q R S + # . ", " . T 2 U V W X Y Z ` + # . . ", " . T 2 2 @ @ 2 + # 9 . . . ", " . . # T T # .. . . . . . . ... ", " . . . . . . ..........+.... ", " . @.@.@.@.@...@.. ", " . . . . . . #.. ", " . . ", " . ", " "}; phpmole/glade/stock_timer_stopped.xpm0000755000175000017500000000570707372146472020305 0ustar alanalan00000000000000/* XPM */ static char * stock_timer_stopped_png_xpm[] = { "24 24 106 2", " c None", ". c #000000", "+ c #D5D5D5", "@ c #FFFFFF", "# c #B1B1B1", "$ c #EBEBE9", "% c #B4B5B0", "& c #A0A29B", "* c #9FA099", "= c #AAACA5", "- c #C6C7C2", "; c #F5F6F4", "> c #D1D2CF", ", c #979890", "' c #9FA199", ") c #A8A9A1", "! c #ADAFA6", "~ c #B2B3AB", "{ c #B6B8B0", "] c #BABCB4", "^ c #11110F", "/ c #ECECEA", "( c #989991", "_ c #A1A39B", ": c #B0B1A9", "< c #BBBCB5", "[ c #BFC0B8", "} c #C2C4BC", "| c #C1C2BA", "1 c #D1D1D0", "2 c #DEDEDE", "3 c #9C9E96", "4 c #C5C7BF", "5 c #CBCCC5", "6 c #CDCEC6", "7 c #C5C7BE", "8 c #DEDFDA", "9 c #939393", "0 c #9E9F98", "a c #A1A29A", "b c #B5B7AF", "c c #CFD1C8", "d c #D0D2CA", "e c #CCCEC6", "f c #D1D3CB", "g c #9A9B93", "h c #A6A8A0", "i c #C8CAC1", "j c #D6D7D0", "k c #D5D7CF", "l c #D4D5CD", "m c #D3D5CD", "n c #A5A69F", "o c #A8A9A2", "p c #BABBB3", "q c #C9CAC2", "r c #94958E", "s c #D6D8D0", "t c #D7D9D1", "u c #DBDCD5", "v c #BFC0BB", "w c #A8AAA2", "x c #C4C5BD", "y c #B0B2AA", "z c #D7D8D0", "A c #E6E7E2", "B c #F2F2F1", "C c #ADAEA6", "D c #B1B3AB", "E c #BCBDB5", "F c #C6C8C0", "G c #CFD0C9", "H c #D4D6CE", "I c #D5D6CE", "J c #D6D7CF", "K c #E4E4E1", "L c #B3B4AC", "M c #B7B8B0", "N c #BCBEB6", "O c #C4C6BE", "P c #C9CBC3", "Q c #CBCCC4", "R c #D0D1C9", "S c #D4D5D2", "T c #4F4F4F", "U c #B9B9B9", "V c #F5F5F4", "W c #CFD0CB", "X c #C0C2BB", "Y c #C0C2BA", "Z c #C8C9C2", "` c #D9DAD5", " . c #D9D9D8", ".. c #150B0C", "+. c #9F3C44", "@. c #B5444E", "#. c #BB565F", "$. c #812F36", "%. c #7A7A7A", "&. c #BB555D", "*. c #90353D", "=. c #BD5A62", "-. c #BC5760", ";. c #A13C45", ">. c #C0636B", ",. c #A83F48", " ", " ", " . . . . . ", " . . + @ @ + # . . ", " . + @ @ @ @ @ @ + # . ", " . + @ $ % & * = - ; + + . ", " . # @ > , ' ) ! ~ { ] ^ + # . ", " . + / ( _ : < [ } | . . 1 + . ", " . # 2 % 3 . . 4 5 6 . . 7 8 + 9 . ", " . + @ 0 a b . . c . . d e f + 9 . ", " . 2 @ g h < i . . . j k l m + 9 . ", " . + @ n o p q r . ( s t t u + 9 . ", " . # 2 v w b x e y z s t t A + 9 . ", " . + B C D E F G H I J t 1 + . ", " . # 2 K L M N O P Q R S + T . . . ", " . U 2 V W X Y Z ` .+ # ..+.. . @.. ", " . U 2 2 @ @ 2 + # 9 . . @.. . #.$.. ", " . . # U U # %.. . . @.&.*.. ", " . . . . . . @.@.. ", " . =.@.@.. ", " . -.*.. . ;.. ", " . >.*.. . ,.. ", " . . . . . ", " "}; phpmole/glade/stock_top.xpm0000755000175000017500000000402307372146472016217 0ustar alanalan00000000000000/* XPM */ static char * stock_top_png_xpm[] = { "24 24 89 1", " c None", ". c #000000", "+ c #030303", "@ c #D4D7D2", "# c #DDDEDC", "$ c #DEDFDD", "% c #D9DAD7", "& c #95B288", "* c #94B187", "= c #93B085", "- c #84A275", "; c #739365", "> c #050505", ", c #CED2CC", "' c #D4D5D2", ") c #D3D4D1", "! c #84A676", "~ c #86A777", "{ c #7E9D6E", "] c #131313", "^ c #0D0D0D", "/ c #D8DAD5", "( c #839C77", "_ c #040404", ": c #111111", "< c #8CA680", "[ c #010101", "} c #E4E3E3", "| c #E5E4E4", "1 c #85A278", "2 c #6A875B", "3 c #E9E8E8", "4 c #EAE8EA", "5 c #86A578", "6 c #7A966C", "7 c #E3E2E2", "8 c #EDEBED", "9 c #F0ECF0", "0 c #8FAE82", "a c #7F9C71", "b c #678458", "c c #E9E7E8", "d c #F0EDEF", "e c #F3EFF3", "f c #8CAE7D", "g c #83A374", "h c #78946A", "i c #EEEBED", "j c #F3EFF2", "k c #F6F2F6", "l c #8EAF7F", "m c #88A979", "n c #829E74", "o c #688559", "p c #F2EEF1", "q c #F4F0F4", "r c #8BAE7B", "s c #87AA77", "t c #89A77B", "u c #739165", "v c #E2E1E1", "w c #ECE9EC", "x c #F2F0F2", "y c #F5F1F5", "z c #8AAD7A", "A c #89AC79", "B c #8FAE81", "C c #7F9D71", "D c #68865A", "E c #D9D9D7", "F c #EAE9E9", "G c #EDECEC", "H c #ECECEC", "I c #E6E6E6", "J c #8EAD7F", "K c #8DAC7F", "L c #8CAB7F", "M c #809E72", "N c #6C8A5D", "O c #B9BEB5", "P c #BBBFB7", "Q c #BDC1B8", "R c #C0C3BC", "S c #BFC2BB", "T c #BEC2BB", "U c #739264", "V c #749465", "W c #749165", "X c #607C53", " ", " ", " ", " .............. ", " +@###$%&&*=-;. ", " >,'))))!!~~{;. ", " +]............ ", " .. ", " ^/(_ ", " :$<[ ", " .}|12. ", " .3456. ", " .7890ab. ", " .cdefgh. ", " .7ijklmno. ", " .cpqkrstu. ", " .vwxyqzABCD. ", " .EFGHIJKLMN. ", " .OPQRSTUUVWoX. ", " .............. ", " ", " ", " ", " "}; phpmole/glade/stock_trash.xpm0000755000175000017500000000373107372146472016543 0ustar alanalan00000000000000/* XPM */ static char * stock_trash_png_xpm[] = { "24 24 85 1", " c None", ". c #000000", "+ c #252525", "@ c #A8BA9E", "# c #B4C1AB", "$ c #E1E7DD", "% c #838A7D", "& c #909F86", "* c #484E43", "= c #A0AD94", "- c #9EAB91", "; c #B6C4AD", "> c #BFCCB7", ", c #A7B69B", "' c #BEC9B5", ") c #656F5E", "! c #2B2E28", "~ c #353931", "{ c #242622", "] c #9BAA8F", "^ c #9AA78E", "/ c #98A58C", "( c #96A58D", "_ c #D7DED2", ": c #A4B398", "< c #A2B196", "[ c #A0B095", "} c #97A38A", "| c #7C9674", "1 c #B0C0AB", "2 c #CED6C8", "3 c #DAE1D6", "4 c #BBC4B1", "5 c #5B6B57", "6 c #637354", "7 c #748C6B", "8 c #94AA8D", "9 c #8FA58A", "0 c #6F8668", "a c #667961", "b c #5D6E58", "c c #4D5A4B", "d c #485245", "e c #738B6E", "f c #687B63", "g c #5E6F5A", "h c #576452", "i c #495345", "j c #4F5B4B", "k c #3F453D", "l c #687D63", "m c #B9C6B4", "n c #65785F", "o c #9BAE97", "p c #525F4F", "q c #728A6D", "r c #4F5C4C", "s c #6E8468", "t c #4D5849", "u c #9BAD96", "v c #6E8368", "w c #080808", "x c #6E8367", "y c #B7C6B4", "z c #9AAD96", "A c #525F4E", "B c #4D5848", "C c #687A63", "D c #B7C5B4", "E c #6D8367", "F c #4C5848", "G c #809A78", "H c #A0B29A", "I c #60725C", "J c #728A6B", "K c #4F5B4C", "L c #586853", "M c #677A61", "N c #7D9775", "O c #7A9472", "P c #788F71", "Q c #748D6E", "R c #6F8568", "S c #6D8267", "T c #697D64", " ", " ", " ", " ", " ........ ", " +.@#$%&*=-.. ", " .;>,')!~{-]^/. ", " .(_':<[=-]^/}. ", " .|1234=-]^/|5. ", " .67899||0abcd. ", " .+effghijk+. ", " .l++++++++f. ", " .lmnopqrstf. ", " .lmnupqrvtf.www ", " .lmnupqrxtf.wwww ", " .lynzAqrxBC.wwww ", " .lDnzAqrEFC.wwww ", " .GHnzIJKELM.www ", " .NOPQJRST.ww ", " ........w ", " ", " ", " ", " "}; phpmole/glade/stock_trash_full.xpm0000755000175000017500000000570407372146472017567 0ustar alanalan00000000000000/* XPM */ static char * stock_trash_full_png_xpm[] = { "24 24 106 2", " c None", ". c #080808", "+ c #000000", "@ c #252525", "# c #A8BA9E", "$ c #B4C1AB", "% c #E1E7DD", "& c #838A7D", "* c #909F86", "= c #484E43", "- c #A0AD94", "; c #9EAB91", "> c #B6C4AD", ", c #BFCCB7", "' c #A7B69B", ") c #BEC9B5", "! c #656F5E", "~ c #2B2E28", "{ c #353931", "] c #242622", "^ c #9BAA8F", "/ c #9AA78E", "( c #98A58C", "_ c #96A58D", ": c #D7DED2", "< c #A4B398", "[ c #A2B196", "} c #A0B095", "| c #97A38A", "1 c #7C9674", "2 c #B0C0AB", "3 c #CED6C8", "4 c #DAE1D6", "5 c #BBC4B1", "6 c #637354", "7 c #748C6B", "8 c #94AA8D", "9 c #8FA58A", "0 c #6F8668", "a c #4D5A4B", "b c #485245", "c c #738B6E", "d c #687B63", "e c #5E6F5A", "f c #576452", "g c #FFFFFF", "h c #687D63", "i c #020202", "j c #E6E6E6", "k c #B9C6B4", "l c #65785F", "m c #728A6D", "n c #4F5C4C", "o c #6E8468", "p c #C1C1C1", "q c #929292", "r c #EDEDED", "s c #9BAD96", "t c #525F4F", "u c #6F6F6F", "v c #AFAFAF", "w c #E7E7E7", "x c #B7C6B4", "y c #9AAD96", "z c #525F4E", "A c #C3C3C3", "B c #B7C5B4", "C c #C7E0C7", "D c #78B578", "E c #9BC89B", "F c #E4E4E4", "G c #809A78", "H c #A0B29A", "I c #60725C", "J c #5DA65D", "K c #8DBA8D", "L c #E5E5E5", "M c #B1B1B1", "N c #7D9775", "O c #7A9472", "P c #788F71", "Q c #F9F9F9", "R c #489B48", "S c #6EAB6E", "T c #BFBFBF", "U c #F0F0F0", "V c #F4F4F4", "W c #539D53", "X c #989898", "Y c #EAEAEA", "Z c #BAD3BA", "` c #8AB88A", " . c #8AB78A", ".. c #969696", "+. c #ECECEC", "@. c #6FAC6F", "#. c #549D54", "$. c #B2CCB2", "%. c #C2C2C2", "&. c #959595", "*. c #B8B8B8", "=. c #C5C5C5", "-. c #A6BFA6", ";. c #D5D5D5", ">. c #C9C9C9", ",. c #BBBBBB", " ", " ", " . ", " + + + + + + + + . . ", " @ + # $ % & * = - ; + + ", " + > , ' ) ! ~ { ] ; ^ / ( + ", " + _ : ) < [ } - ; ^ / ( | . . ", " + 1 2 3 4 5 - ; ^ / ( 1 . . . . ", " + 6 7 8 9 9 1 1 0 + + a b + + ", " + @ c d d e f + g g + + + g + ", " + h @ @ @ . @ @ + g g i + j + ", " + h k l . . m n o + p q r + ", " + h k l s t m n + g g u v + . ", " + h k l s t m + g g g g w + . . ", " + h x l y z m + g g g g w A + . ", " + h B l y z + g C D E g w F + . . ", " + G H l y I + C J C g J K L M + . . . ", " + N O P + Q R C g g D S L T + . . . . . . ", " + + + + U g g g g g V W T X + . . . . ", " + Y D g g C g Z ` ...+ . . . . ", " + F +.@.@.S #.$.` %.&.+ . . . ", " + + *.=.-.;.>.,.&.+ . . ", " + + + + + + + ", " "}; phpmole/glade/stock_undelete.xpm0000755000175000017500000000542107372146472017225 0ustar alanalan00000000000000/* XPM */ static char * stock_undelete_png_xpm[] = { "24 24 95 2", " c None", ". c #000000", "+ c #D6CBBF", "@ c #D2C8BC", "# c #C0B09F", "$ c #C8BCAE", "% c #BAAB9A", "& c #A69682", "* c #B3A797", "= c #ADA292", "- c #9E907C", "; c #293227", "> c #847768", ", c #A8B4A4", "' c #2A3428", ") c #373B36", "! c #6F665A", "~ c #A8B4A5", "{ c #666B63", "] c #3E4A3B", "^ c #1D231B", "/ c #544F48", "( c #586953", "_ c #A4ADA1", ": c #656565", "< c #272727", "[ c #414A3D", "} c #687B63", "| c #C3CEBF", "1 c #556550", "2 c #AAB9A6", "3 c #455042", "4 c #879B83", "5 c #424D40", "6 c #84957E", "7 c #84957F", "8 c #080808", "9 c #C2CEBF", "0 c #A9B9A6", "a c #414A3C", "b c #687A63", "c c #C2CDBF", "d c #809A78", "e c #AEBDA9", "f c #51604D", "g c #252525", "h c #A8BA9E", "i c #B4C1AB", "j c #E1E7DD", "k c #838A7D", "l c #909F86", "m c #484E43", "n c #A0AD94", "o c #9EAB91", "p c #7D9775", "q c #7A9472", "r c #788F71", "s c #B6C4AD", "t c #BFCCB7", "u c #A7B69B", "v c #BEC9B5", "w c #656F5E", "x c #2B2E28", "y c #353931", "z c #242622", "A c #9BAA8F", "B c #9AA78E", "C c #98A58C", "D c #96A58D", "E c #D7DED2", "F c #A4B398", "G c #A2B196", "H c #A0B095", "I c #97A38A", "J c #7C9674", "K c #B0C0AB", "L c #CED6C8", "M c #DAE1D6", "N c #BBC4B1", "O c #5B6B57", "P c #637354", "Q c #748C6B", "R c #94AA8D", "S c #8FA58A", "T c #6F8668", "U c #667961", "V c #5D6E58", "W c #4D5A4B", "X c #485245", "Y c #738B6E", "Z c #5E6F5A", "` c #576452", " . c #495345", ".. c #4F5B4B", "+. c #3F453D", " ", " . . ", " . + + . ", " . @ @ @ @ . ", " . # $ # $ # $ . ", " . . . % % . . . ", " . & * . ", " . . = - . . ", " . . ; . > > . , . . ", " . ' ) ; . ! ! . ~ { ] . ", " . . . ^ . / / . , . . . ", " . ( _ : . . . . < [ } . ", " . ( | 1 2 3 4 5 6 [ } . ", " . ( | 1 2 3 4 5 7 [ } . 8 8 8 ", " . ( | 1 2 3 4 5 6 [ } . 8 8 8 8 ", " . ( 9 1 0 3 4 5 6 a b . 8 8 8 8 ", " . ( c 1 0 3 4 5 . . . . . . . . ", " . d e 1 0 f g . h i j k l m n o . . ", " . p q r . s t u v w x y z o A B C . ", " . . . . D E v F G H n o A B C I . ", " . J K L M N n o A B C J O . ", " . P Q R S S J J T U V W X . ", " . g Y } } Z ` ...+.g . ", " g g g g g g g g "}; phpmole/glade/stock_undo.xpm0000755000175000017500000000152407372146472016365 0ustar alanalan00000000000000/* XPM */ static char * stock_undo_png_xpm[] = { "24 24 8 1", " c None", ". c #000000", "+ c #8F431E", "@ c #803C1B", "# c #8A411D", "$ c #954620", "% c #733618", "& c #5C2B13", " ", " ", " ", " ", " ", " ", " . ", " .. ", " .+@... ", " .#$##@%.. ", " .+#...%%. ", " .. .&. ", " . .&. ", " .. ", " .. ", " . ", " . ", " ", " ", " ", " ", " ", " ", " "}; phpmole/glade/stock_up_arrow.xpm0000755000175000017500000000345007372146472017256 0ustar alanalan00000000000000/* XPM */ static char * stock_up_arrow_png_xpm[] = { "24 24 73 1", " c None", ". c #000000", "+ c #1D1D1D", "@ c #D6D9D5", "# c #94A989", "$ c #060606", "% c #DCDDDA", "& c #92AB87", "* c #E2E0E0", "= c #E3E2E2", "- c #97B08D", "; c #6A875B", "> c #030303", ", c #E9E8E8", "' c #EAE9EA", ") c #9DB591", "! c #8CA480", "~ c #EEECEE", "{ c #F0ECF0", "] c #99B48C", "^ c #91AA85", "/ c #678458", "( c #010101", "_ c #EBEAEA", ": c #F0EEF0", "< c #F3EFF3", "[ c #95B487", "} c #92AE85", "| c #759267", "1 c #E4E3E3", "2 c #EFECEE", "3 c #F3EFF2", "4 c #F6F2F6", "5 c #91B182", "6 c #90AE81", "7 c #859F76", "8 c #688559", "9 c #ECEAEB", "0 c #F1EDF0", "a c #F4F0F4", "b c #8BAE7B", "c c #8BAD7B", "d c #8EAA81", "e c #7A956D", "f c #E2E1E1", "g c #EFECEF", "h c #F2EFF2", "i c #F5F1F5", "j c #8AAD7A", "k c #8AAC7A", "l c #8DAD7F", "m c #8AA67F", "n c #69875B", "o c #D9D9D7", "p c #E5E4E3", "q c #ECEBEB", "r c #EAE9E9", "s c #E7E7E7", "t c #8FAE81", "u c #90AE83", "v c #8BAB7E", "w c #89A67C", "x c #718E62", "y c #B9BEB5", "z c #BBBFB7", "A c #BDC1B8", "B c #BFC3BB", "C c #BEC2BA", "D c #BEC2BB", "E c #739264", "F c #739364", "G c #729063", "H c #607C53", " ", " ", " ", " ", " ", " .. ", " .. ", " +@#$ ", " .%&. ", " .*=-;. ", " >,')!. ", " .=~{]^/. ", " (_:<[}|. ", " .12345678. ", " .90a4bcde. ", " .fghiajklmn. ", " .opqrstuvwx. ", " .yzABCDEEFG8H. ", " .............. ", " ", " ", " ", " ", " "}; phpmole/glade/stock_volume.xpm0000755000175000017500000000173607372146472016734 0ustar alanalan00000000000000/* XPM */ static char * stock_volume_png_xpm[] = { "24 24 17 1", " c None", ". c #000000", "+ c #9E9A8C", "@ c #B8B4A6", "# c #9B988A", "$ c #CFCCC4", "% c #E4E2DE", "& c #D1CFC7", "* c #C5C2B7", "= c #DEDCD7", "- c #D7D5CF", "; c #C5C1B7", "> c #B0AC9C", ", c #BFBBAF", "' c #79766C", ") c #8D8A7D", "! c #7E7B70", " ", " ", " ", " ", " ", " . . ", " .. . . ", " .+. . . ", " ... .+@. . . . ", " .##.+$%. . . . ", " .&*.=-;.. . . . ", " .>>.@@,.. . . . ", " .##.+>>.. . . . ", " .''.+++. . . . ", " ... .)+. . . . ", " .!. . . ", " .. . . ", " . . ", " ", " ", " ", " ", " ", " "}; phpmole/glade/text_entry_dialog.glade0000755000175000017500000000552007372146467020215 0ustar alanalan00000000000000 text_entry_dialog text_entry_dialog src pixmaps C False False False False False False GtkWindow window 13 False Confirm GTK_WINDOW_DIALOG GTK_WIN_POS_MOUSE False True True True GtkVBox vbox1 False 8 GtkHButtonBox GnomeDialog:action_area hbuttonbox1 GTK_BUTTONBOX_END 8 85 27 7 0 0 False True GTK_PACK_END GtkButton OK True True GTK_RELIEF_NORMAL GtkButton cancel True True GTK_RELIEF_NORMAL GtkLabel info GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 0 True False GtkHSeparator hseparator1 0 False True GtkEntry text_entry True True True 0 0 False False phpmole/languages/0002755000175000017500000000000007621203643014345 5ustar alanalan00000000000000phpmole/languages/CVS/0002755000175000017500000000000007641002074014775 5ustar alanalan00000000000000phpmole/languages/CVS/Root0000644000175000017500000000010107372361214015636 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/languages/CVS/Repository0000644000175000017500000000002207372361214017074 0ustar alanalan00000000000000phpmole/languages phpmole/languages/CVS/Entries0000644000175000017500000000051707621216615016340 0ustar alanalan00000000000000D/HTML//// D/XML//// /phpide_language.inc/1.4/Fri Feb 15 03:35:01 2002// /LanguageModes/1.5/Fri Feb 22 05:51:50 2002// /LanguageModes.html/1.1/Fri Feb 22 05:59:07 2002// /languages_dialog.glade/1.3/Fri Feb 22 07:10:00 2002// /language_config.class/1.7/Sat Feb 8 14:31:45 2003// /phpide_languages.class/1.29/Sat Feb 8 14:40:09 2003// phpmole/languages/CVS/.mappedfiles/0002755000175000017500000000000007641002074017344 5ustar alanalan00000000000000phpmole/languages/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002074022644 2Repositoryustar alanalan00000000000000phpmole/languages/HTML/0002755000175000017500000000000007621203643015111 5ustar alanalan00000000000000phpmole/languages/HTML/CVS/0002755000175000017500000000000007641002074015541 5ustar alanalan00000000000000phpmole/languages/HTML/CVS/Root0000644000175000017500000000010107372361215016403 0ustar alanalan00000000000000:ext:alan_k@cvs.phpmole-ide.sourceforge.net:/cvsroot/phpmole-ide phpmole/languages/HTML/CVS/Repository0000644000175000017500000000002707372361215017646 0ustar alanalan00000000000000phpmole/languages/HTML phpmole/languages/HTML/CVS/Entries0000644000175000017500000000057307616652010017103 0ustar alanalan00000000000000/php_functions/1.1.1.1/Wed Nov 7 05:57:34 2001// /parser_HTML.class/1.19/Thu Feb 28 09:17:40 2002// /html_generator_base.class/1.10/Fri Mar 1 08:52:09 2002// /parser_php_base.class/1.10/Fri Apr 19 04:14:14 2002// /parser_php.class/1.8/Tue Apr 30 02:52:01 2002// /phpide_parser_HTML.class/1.8/Tue Apr 30 02:52:01 2002// /parser_HTML_base.class/1.11/Thu Jan 9 05:33:24 2003// D phpmole/languages/HTML/CVS/.mappedfiles/0002755000175000017500000000000007641002074020110 5ustar alanalan00000000000000phpmole/languages/HTML/CVS/.mappedfiles/REPOSI~10000777000175000017500000000000007641002074023410 2Repositoryustar alanalan00000000000000phpmole/languages/HTML/RCS/0002700000175000017500000000000007641002074015523 5ustar alanalan00000000000000phpmole/languages/HTML/RCS/.mappedfiles/0002700000175000017500000000000007641002074020072 5ustar alanalan00000000000000phpmole/languages/HTML/RCS/.mappedfiles/PARSER~1.CLA0000777000175000017500000000000007641002074026321 2parser_php_base.class,vustar alanalan00000000000000phpmole/languages/HTML/RCS/.mappedfiles/PARSER~2.CLA0000777000175000017500000000000007641002074025330 2parser_php.class,vustar alanalan00000000000000phpmole/languages/HTML/RCS/.mappedfiles/PARSER~3.CLA0000777000175000017500000000000007641002074026300 2parser_HTML_base.class,vustar alanalan00000000000000phpmole/languages/HTML/RCS/.mappedfiles/PARSER~4.CLA0000777000175000017500000000000007641002074025307 2parser_HTML.class,vustar alanalan00000000000000phpmole/languages/HTML/RCS/.mappedfiles/PHPIDE~1.CLA0000777000175000017500000000000007641002074026612 2phpide_parser_HTML.class,vustar alanalan00000000000000phpmole/languages/HTML/RCS/.mappedfiles/HTML_G~1.CLA0000777000175000017500000000000007641002074027206 2html_generator_base.class,vustar alanalan00000000000000phpmole/languages/HTML/RCS/parser_php_base.class,v0000755000175000017500000002571207443033126022175 0ustar alanalan00000000000000head 1.7; access; symbols; locks; strict; comment @# @; 1.7 date 2002.03.11.04.45.10; author alan; state Exp; branches; next 1.6; 1.6 date 2002.01.31.09.29.16; author alan; state Exp; branches; next 1.5; 1.5 date 2002.01.31.09.29.01; author alan; state Exp; branches; next 1.4; 1.4 date 2002.01.28.04.01.15; author alan; state Exp; branches; next 1.3; 1.3 date 2002.01.10.07.49.57; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.09.07.51.58; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.08.04.52.02; author alan; state Exp; branches; next ; desc @Updated @ 1.7 log @Updated @ text @1, "\t" =>2 ); var $__callbacks = array( "," => "pphp_comma", "{" => "pphp_beginblock", "}" => "pphp_endblock", "(" => "pphp_beginfunctionvars", ")" => "pphp_endfunctionvars", "[" => "pphp_beginarray", "]" => "pphp_endarray", ";" => "pphp_endstatement", ":" => "pphp_colon" ); // dummy callbacks function pphp_comma() {} function pphp_beginblock() {} function pphp_endblock() {} function pphp_beginfunctionvars() {} function pphp_endfunctionvars() {} function pphp_beginarray() {} function pphp_endarray() {} function pphp_endstatement() {} function pphp_colon() {} function pphp_linebreak($c) {} function pphp_numeric($s) {} function pphp_string($s) {} function pphp_variable($s) {} function pphp_comment($s) {} function pphp_operator($s) {} function pphp_unknown($s) {} // Version 0.90b //$debug=1; function php_parse_alphanumeric ($char) { $value = ord($char); if ($value > 47 && $value < 58) return 1; // numbers if ($value > 64 && $value < 91) return 1; // A-Z if ($value > 96 && $value < 123) return 1; // a-z if ($char == "_") return 1; return 0; } function php_parse_numeric ($char) { $value = ord($char); if ($value > 47 && $value < 58) return 1; // numbers return 0; } function php_parse_operator ($char) { if ( $char == "." || $char == "=" || $char == "+" || $char == "-" || $char == "*" || $char == "/" || $char == "!" || $char == "|" || $char == "&" || $char == "?" || $char == ">" || $char == "<" ) return 1; return 0; } function php_parse($c=0) { global $debug; $startpos = $c; $slash = "\\"; // while (($this->data[$c] || $c < strlen($this->data))) { while ( $c < strlen($this->data)) { /* if (!$this->inphp) { while ( $c < strlen($this->data)) { if ($this->data[$c] =="<") break; if ($this->data[$c] == "\n") $this->pphp_linebreak($c); $c++; } $c++; if ($this->data[$c] !="?") continue; $this->inphp=1; $c++; continue; } else { */ if (($this->data[$c] =="?") && ($this->data[$c+1] ==">") ) { $c=$c+1; $this->add_php(substr($this->data,$startpos,$c-$startpos-1)); return $c; } if ($this->data[$c] == "\n") { $this->pphp_linebreak($c); $c++; continue; } if ($this->data[$c] == "\r" && $this->data[$c+1] != "\n") { $this->pphp_linebreak($c); $c++; continue; } if ($this->data[$c] == "\r") { $c++; continue; } if (@@$this->__whitespace[$this->data[$c]] > 0) { while (@@$this->__whitespace[$this->data[$c]] > 0) $c++; continue; } // simple callbacks if (@@$this->__callbacks[$this->data[$c]]) { $v = $this->__callbacks[$this->data[$c]]; $this->$v(); $c++; continue; } // numbers! if ($this->php_parse_numeric($this->data[$c])) { $t=$c; $c++; while ($this->php_parse_numeric($this->data[$c])) $c++; $string = substr($this->data, $t, $c-$t); $this->pphp_numeric($string); continue; } // function! if ($this->php_parse_alphanumeric($this->data[$c])) { $t=$c; $c++; while ($this->php_parse_alphanumeric($this->data[$c])) $c++; $string = substr($this->data, $t, $c-$t); $this->pphp_function($string); continue; } // string if ($this->data[$c]=="\"" || $this->data[$c]=="'") { $t=$c; while ($c < strlen($this->data) ) { $c++; if ($this->data[$c] == $this->data[$t] && ($c>$t)) if ($this->data[$c-1] == "\\" ) { if ($this->data[$c-2] == "\\") break; } else { break; } if ($this->data[$c] == "\n") $this->pphp_linebreak($c); } $c++; $string = substr($this->data, $t, $c-$t); $this->pphp_string($string); continue; } // variable if ($this->data[$c]=="$") { $c++; $t=$c; if ($this->data[$c]=="$") $c++; // deal with $$ while ($c < strlen($this->data)) { if ($this->php_parse_alphanumeric($this->data[$c])) { $c++; continue; } // otherwise is it :: or -> if ($this->data[$c] == ":" && $this->data[$c+1] == "::") { $c = $c+2; continue; } if ($this->data[$c] == "-" && $this->data[$c+1] == ">") { $c = $c+2; continue; } break; } $string = substr($this->data, $t, $c-$t); $this->pphp_variable($string); continue; } // comment (// type if ($this->data[$c]=="/" && $this->data[$c+1]== "/") { $t=$c; $c++; while ($c < strlen($this->data)) { $c++; if ($this->data[$c] == "\n") { $this->pphp_linebreak($c); break; } } $string = substr($this->data, $t, $c-$t); $this->pphp_comment($string); $c++; continue; } // comment (# type if ($this->data[$c]=="#") { $t=$c; while ($c < strlen($this->data)) { $c++; if ($this->data[$c] == "\n") { $this->pphp_linebreak($c); break; } } $string = substr($this->data, $t, $c-$t); $this->pphp_comment($string); $c++; continue; } if ($this->data[$c]=="/" && $this->data[$c+1]=="*") { $t=$c; $c++; // modify line numbers so that folding starts at beginning of comment $startline = $this->line; while ($c < strlen($this->data)) { $c++; if ($this->data[$c] == "\n") $this->pphp_linebreak($c); if ($this->data[$c] == "*" && $this->data[$c+1] == "/" ) break; } $c++; $c++; $string = substr($this->data, $t, $c-$t); $currentline = $this->line; $this->line = $startline; $this->pphp_comment($string); $this->line = $currentline; continue; } if ( $this->php_parse_operator($this->data[$c])) { if ( $this->php_parse_operator($this->data[$c+1])) { $this->pphp_operator( $this->data[$c] . $this->data[$c+1] ); $c++; $c++; } else { $this->pphp_operator( $this->data[$c]); $c++; } continue; } $this->pphp_unknown($this->data[$c]); $c++; } // end loop! $this->add_php(substr($this->data,$startpos,$c-$startpos)); return $c; } } // end class ?> @ 1.6 log @Updated @ text @d1 25 a25 1 line = $currentline; @ 1.4 log @Updated @ text @d224 2 d234 2 d237 1 @ 1.3 log @Updated @ text @d108 1 a108 1 $this->add_php(substr($this->data,$startpos,$c-$startpos-2)); @ 1.2 log @Updated @ text @d84 1 a84 1 $this->data = $this->data; d108 1 d251 1 d256 4 a259 1 ?>@ 1.1 log @Updated @ text @d254 1 a254 1 ?> @ phpmole/languages/HTML/RCS/parser_php.class,v0000755000175000017500000005355107426207521021210 0ustar alanalan00000000000000head 1.33; access; symbols; locks; strict; comment @# @; 1.33 date 2002.01.31.09.33.05; author alan; state Exp; branches; next 1.32; 1.32 date 2002.01.31.09.21.08; author alan; state Exp; branches; next 1.31; 1.31 date 2002.01.31.09.17.17; author alan; state Exp; branches; next 1.30; 1.30 date 2002.01.31.09.16.38; author alan; state Exp; branches; next 1.29; 1.29 date 2002.01.31.09.13.52; author alan; state Exp; branches; next 1.28; 1.28 date 2002.01.31.09.11.07; author alan; state Exp; branches; next 1.27; 1.27 date 2002.01.31.09.08.18; author alan; state Exp; branches; next 1.26; 1.26 date 2002.01.31.09.06.21; author alan; state Exp; branches; next 1.25; 1.25 date 2002.01.31.09.02.15; author alan; state Exp; branches; next 1.24; 1.24 date 2002.01.31.09.00.23; author alan; state Exp; branches; next 1.23; 1.23 date 2002.01.31.08.55.44; author alan; state Exp; branches; next 1.22; 1.22 date 2002.01.31.08.55.42; author alan; state Exp; branches; next 1.21; 1.21 date 2002.01.31.08.55.17; author alan; state Exp; branches; next 1.20; 1.20 date 2002.01.31.08.55.05; author alan; state Exp; branches; next 1.19; 1.19 date 2002.01.31.08.54.29; author alan; state Exp; branches; next 1.18; 1.18 date 2001.11.09.07.51.53; author alan; state Exp; branches; next 1.17; 1.17 date 2001.11.08.06.12.56; author alan; state Exp; branches; next 1.16; 1.16 date 2001.11.08.06.12.29; author alan; state Exp; branches; next 1.15; 1.15 date 2001.11.08.06.12.13; author alan; state Exp; branches; next 1.14; 1.14 date 2001.11.08.06.09.07; author alan; state Exp; branches; next 1.13; 1.13 date 2001.11.08.06.06.09; author alan; state Exp; branches; next 1.12; 1.12 date 2001.11.08.06.05.18; author alan; state Exp; branches; next 1.11; 1.11 date 2001.11.08.06.03.18; author alan; state Exp; branches; next 1.10; 1.10 date 2001.11.08.05.55.52; author alan; state Exp; branches; next 1.9; 1.9 date 2001.11.08.05.54.54; author alan; state Exp; branches; next 1.8; 1.8 date 2001.11.08.05.54.28; author alan; state Exp; branches; next 1.7; 1.7 date 2001.11.08.05.53.51; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.08.04.59.54; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.08.04.59.00; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.08.04.58.10; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.08.04.56.29; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.08.04.55.24; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.08.04.54.47; author alan; state Exp; branches; next ; desc @Updated @ 1.33 log @Updated @ text @ 0, // parser level "class" => array(), //[class]["level"] = function name; "classes" => array(), // array of classes "function" => array(""), // [function]["level"] = functionname "functions" => array(), // array of functions including xxxx:xxxxx() "indent" => 0, // indent level - legacy for html display "lastfunction"=> array(""), // last function "last" => array(""), // last item found! "open" => "", // opening [,{ or ( "switchcase" => 0 ); var $lastlb = 0; var $errors =""; var $classes = array(); // standard return var // used for folding to display comments above functoins var $last_comment_line =0; var $last_endblock_line=0; var $last_start_line =0; // last starting point of class entry var $in_var=0; var $in_var_functionname=""; function pphp_linebreak($c) { // echo $c; //echo "\nLINE " . $this->line . " " . substr($this->tmp,$this->lastlb +1,($c-$this->lastlb) -1); $this->lastlb=$c; $this->line++; } function pphp_error($string) { $this->errors .= "\n$string\n on line ". $this->line."\n"; } /* function pp_c($c,$string) { global $this->ppflags; $this->ppflags[stringlen][$this->ppflags["level"]] += strlen($string); if ($c == "green") { $prefix=""; $suffix=""; } if ($this->ppflags[nextindent]) pp_i(); $this->ppflags[nextindent]=0; if (ereg("\n", $string)) { $lines = explode("\n",$string); echo "".$lines[0].""; for ($i=1;$i< count($lines);$i++) { pp_i();echo "".$lines[$i].""; } } else { echo "".$prefix.$string.$suffix.""; } } function pp_i() { global $this->ppflags; echo "\n"; //echo $this->ppflags["indent"]; echo substr(" ",0,$this->ppflags["indent"]*4); } */ function pphp_function($string) { //echo $this->ppflags["level"] . $string."\n"; if ($this->ppflags["last"][$this->ppflags["level"]] == "[") { $this->pphp_string($string); return; } if ($string == "switch") { $this->ppflags["switchcase"]=1; } if (($string == "case") || ($string == "default")) { $this->ppflags["switchcase"]++; if ($this->ppflags["switchcase"] > 2) { $this->ppflags["indent"]--; } } if ($this->ppflags["last"][$this->ppflags["level"]] == ")" ) { if ( ($this->ppflags["lastfunction"][$this->ppflags["level"]] == "if") || ($this->ppflags["lastfunction"][$this->ppflags["level"]] == "elseif") || ($this->ppflags["lastfunction"][$this->ppflags["level"]] == "for") || ($this->ppflags["lastfunction"][$this->ppflags["level"]] == "foreach") || ($this->ppflags["lastfunction"][$this->ppflags["level"]] == "while")) { @@$this->ppflags["extraindentlvl"][$this->ppflags["level"]]++; $this->ppflags["indent"]++; $this->ppflags["nextindent"]=1; } else { $this->pphp_error("Expected ; (end statement) But got $string"); } } $line = $this->line; if ($this->last_endblock_line && ($this->last_comment_line > $this->last_endblock_line)) $line = $this->last_comment_line; if (strtolower(@@$this->ppflags["lastfunction"][$this->ppflags["level"]])=="class") { $this->ppflags["class"][$this->ppflags["level"]] = $string."::"; $this->classes[$string."::"]["start"] = $this->line; $this->classes[$string."::"]["commentstart"] = $line; $this->last_start_line = $line; } // could do extends here! if (strtolower(@@$this->ppflags["lastfunction"][$this->ppflags["level"]])=="function") { $functionname = $string; if (@@$this->ppflags["class"][$this->ppflags["level"]-1]) $functionname = $this->ppflags["class"][$this->ppflags["level"]-1] . $string; if (@@$this->classes[$functionname]["start"]) { $this->pphp_error("Duplicate Function / Method on line {$this->line}"); } else { $this->classes[$functionname]["start"] = $this->line; $this->classes[$functionname]["commentstart"] = $line; $this->last_start_line = $line; } $this->ppflags["function"][$this->ppflags["level"]] = $functionname; } if ($string == "var") { $this->in_var =1; } // link classes = need to know the top level snippetdir! // if ($this->ppflags["lastfunction"][$this->ppflags["level"]]=="new") // $string = "classes[$functionname]["start"] = $this->line; $this->classes[$functionname]["commentstart"] = $line; $this->last_start_line = $line; $this->in_var_functionname = $functionname; } } function pphp_numeric($string) { $this->ppflags["last"][$this->ppflags["level"]]="number"; } function pphp_beginblock() { if ($this->ppflags["last"][$this->ppflags["level"]]==")") $prefix=" "; $this->ppflags["level"]++; $this->ppflags["open"][$this->ppflags["level"]]="{"; $this->ppflags["last"][$this->ppflags["level"]]="{"; $this->ppflags["indent"]++; //pp_c("green", $prefix."{"); //pp_i(); $this->last_endblock_line = $this->line; } function pphp_endblock() { $this->ppflags["level"]--; $this->last_endblock_line = $this->line; if (@@$this->ppflags["extraindentlvl"][$this->ppflags["level"]]) { $this->ppflags["indent"] -= $this->ppflags["extraindentlvl"][$this->ppflags["level"]]; $this->ppflags["extraindentlvl"][$this->ppflags["level"]]=0; $this->ppflags["nextindent"]=1; } if ($functionname = @@$this->ppflags["function"][$this->ppflags["level"]]) { if (!@@$this->classes[$functionname]["end"]) $this->classes[$functionname]["end"] = $this->line; $this->classes[$functionname]["end"] = $this->line; $this->ppflags["function"][$this->ppflags["level"]] = ""; } if ($classname = @@$this->ppflags["class"][$this->ppflags["level"]]) { if (!@@$this->classes[$classname]["end"]) $this->classes[$classname]["end"] = $this->line; $this->ppflags["class"][$this->ppflags["level"]] = ""; } if (( $this->ppflags["lastfunction"][$this->ppflags["level"]]=="switch") && ($this->ppflags["switchcase"]>1)) $this->ppflags["indent"]--; $this->ppflags["last"][$this->ppflags["level"]]="}"; if ($this->ppflags["open"][$this->ppflags["level"]+1]!="{") { $this->pphp_error("Expected " . $this->ppflags["open"][$this->ppflags["level"]+1] ." But got }"); } $this->ppflags["indent"]--; // pp_c("green", "}"); // if ($this->ppflags["indent"] < 1) { pp_i(); pp_i(); } $this->ppflags["nextindent"]=1; } function pphp_beginfunctionvars() { $this->ppflags["level"]++; $this->ppflags["last"][$this->ppflags["level"]]="("; $this->ppflags["open"][$this->ppflags["level"]]="("; $this->ppflags["stringlen"][$this->ppflags["level"]]=0; //$this->ppflags[extraindentlvl][$this->ppflags["level"]]=0; //pp_c("green", "("); $this->ppflags["indent"]++; } function pphp_endfunctionvars() { $this->ppflags["level"]--; $this->ppflags["last"][$this->ppflags["level"]]=")"; $this->ppflags["indent"]--; if ($this->ppflags["open"][$this->ppflags["level"]+1]!="(") { $this->pphp_error("Expected " . $this->ppflags["open"][$this->ppflags["level"]+1] ." But got )"); } // $this->ppflags["indent"]--; //pp_c("green", ")"); } function pphp_comment($string) { // explode and indent! $this->last_comment_line = $this->line; if ($this->last_start_line == $this->line) $this->last_comment_line =0; $this->ppflags["last"][$this->ppflags["level"]]="comment"; } function pphp_endstatement() { // pp_c("red", ";"); if (@@$this->ppflags["extraindentlvl"][$this->ppflags["level"]]) { $this->ppflags["indent"] -= $this->ppflags["extraindentlvl"][$this->ppflags["level"]]; $this->ppflags["extraindentlvl"][$this->ppflags["level"]]=0; $this->ppflags["nextindent"]=1; } $this->ppflags["last"][$this->ppflags["level"]]=";"; if (@@$this->ppflags["open"][$this->ppflags["level"]] != "(") $this->ppflags["nextindent"]=1; if ($this->in_var && $this->in_var_functionname) { $this->classes[$this->in_var_functionname]["end"] = $this->line; $this->in_var =0; $this->in_var_functionname = ""; } elseif ($this->in_var) { // then something went wrong! $this->in_var =0; } $this->last_endblock_line = $this->line; } function pphp_colon() { // dont ask how this works! $this->ppflags["last"][$this->ppflags["level"]]=":"; //pp_c("red", ":"); //echo $this->ppflags["lastfunction"][$this->ppflags["level"]-1]; if (($this->ppflags["switchcase"] > 1 ) && ($this->ppflags["lastfunction"][$this->ppflags["level"]-1] == "switch")) { $this->ppflags["nextindent"]=1; } } function pphp_beginarray() { // $this->ppflags["level"]++; $this->ppflags["open"][$this->ppflags["level"]]="["; $this->ppflags["last"][$this->ppflags["level"]]="["; //pp_c("green", "["); } function pphp_endarray() { $this->ppflags["level"]--; $this->ppflags["last"][$this->ppflags["level"]]="]"; if ($this->ppflags["open"][$this->ppflags["level"]+1]!="[") { $this->pphp_error("Expected " . $this->ppflags["open"][$this->ppflags["level"]+1] ." But got ]"); } // pp_c("green", "]"); } function pphp_comma() { $this->ppflags["last"][$this->ppflags["level"]]=","; } function pphp_operator($string) { $this->ppflags["last"][$this->ppflags["level"]]="operator"; } function pphp_unknown($string) { $this->pphp_error("Unknown charater ". ord($string)); } } ?>@ 1.32 log @Updated @ text @d121 2 a122 1 $this->classes[$string."::"]["start"] = $line; d134 2 a135 1 $this->classes[$functionname]["start"] = $line; d179 2 a180 1 $this->classes[$functionname]["start"] = $line; @ 1.31 log @Updated @ text @d201 1 d307 2 a308 1 } @ 1.30 log @Updated @ text @d277 1 @ 1.29 log @Updated @ text @d42 1 d122 1 d134 1 d176 1 a176 1 $functionname = $this->ppflags["class"][$this->ppflags["level"]-1] . $string; d178 1 @ 1.28 log @Updated @ text @d41 3 a43 2 var $last_endblock_line=0; d293 9 @ 1.27 log @Updated @ text @d171 1 a171 1 if ($this->in_var == 1) { d174 1 a174 1 $this->in_var =2; @ 1.26 log @Updated @ text @d163 15 a177 6 function pphp_variable($string) { $this->ppflags["last"][$this->ppflags["level"]]="variable"; } @ 1.25 log @Updated @ text @d126 1 a126 1 $functionname = $this->ppflags["class"][$this->ppflags["level"]-1] . $string; d128 1 a128 1 $this->pphp_error("Duplicate Function / Method on line {$this->line}"); d130 1 a130 1 $this->classes[$functionname]["start"] = $line; d133 8 a140 1 } @ 1.24 log @Updated @ text @d111 4 d119 1 a119 1 $this->classes[$string."::"]["start"] = $this->line; d130 1 a130 1 $this->classes[$functionname]["start"] = $this->line; @ 1.23 log @Updated @ text @d39 3 a41 1 var $last_comment_line =0; // used for folding to display comments above functoins d179 2 a180 1 @ 1.22 log @Updated @ text @d50 1 a50 1 } @ 1.21 log @Updated @ text @d42 5 a46 5 function pphp_linebreak($c) { // echo $c; //echo "\nLINE " . $this->line . " " . substr($this->tmp,$this->lastlb +1,($c-$this->lastlb) -1); $this->lastlb=$c; $this->line++; d48 3 a50 3 function pphp_error($string) { $this->errors .= "\n$string\n on line ". $this->line."\n"; } @ 1.20 log @Updated @ text @d23 20 a42 20 var $line = 1; // line number! var $ppflags = array( "level" => 0, // parser level "class" => array(), //[class]["level"] = function name; "classes" => array(), // array of classes "function" => array(""), // [function]["level"] = functionname "functions" => array(), // array of functions including xxxx:xxxxx() "indent" => 0, // indent level - legacy for html display "lastfunction"=> array(""), // last function "last" => array(""), // last item found! "open" => "", // opening [,{ or ( "switchcase" => 0 ); var $lastlb = 0; var $errors =""; var $classes = array(); // standard return var var $last_comment_line =0; // used for folding to display comments above functoins function pphp_linebreak($c) { @ 1.19 log @Updated @ text @d39 2 @ 1.18 log @Updated @ text @d85 1 a85 1 $this->ppflags[switchcase]=1; d88 2 a89 2 $this->ppflags[switchcase]++; if ($this->ppflags[switchcase] > 2) { $this->ppflags["indent"]--; } d115 1 a115 1 if (@@$this->ppflags["lastfunction"][$this->ppflags["level"]]=="function") { d133 1 a133 1 if ((($string == "case") || ($string == "default")) && ($this->ppflags[switchcase] > 1)) d199 1 a199 1 if (( $this->ppflags["lastfunction"][$this->ppflags["level"]]=="switch") && ($this->ppflags[switchcase]>1)) d244 4 a247 4 function pphp_comment($string) { // explode and indent! $this->ppflags["last"][$this->ppflags["level"]]="comment"; d249 1 a249 1 } @ 1.17 log @Updated @ text @d320 1 a320 1 ?> @ 1.16 log @Updated @ text @d32 1 a32 1 "last" => "", // last item found! @ 1.15 log @Updated @ text @d28 1 a28 1 "function" => array(), // [function]["level"] = functionname @ 1.14 log @Updated @ text @d31 1 a31 1 "lastfunction"=> "", // last function @ 1.13 log @Updated @ text @d98 1 a98 1 $this->ppflags["extraindentlvl"][$this->ppflags["level"]]++; d108 1 a108 1 if (strtolower($this->ppflags["lastfunction"][$this->ppflags["level"]])=="class") { d115 1 a115 1 if ($this->ppflags["lastfunction"][$this->ppflags["level"]]=="function") { d194 1 a194 1 if (!$this->classes[$classname]["end"]) d265 1 a265 1 if ($this->ppflags["open"][$this->ppflags["level"]] != "(") @ 1.12 log @Updated @ text @d33 2 a34 1 "open" => "" // opening [,{ or ( @ 1.11 log @Updated @ text @d192 1 a192 1 if ($classname = $this->ppflags["class"][$this->ppflags["level"]]) { @ 1.10 log @Updated @ text @d188 1 a188 1 $this->classes[$classname]["end"] = $this->line; @ 1.9 log @Updated @ text @d116 1 a116 1 if ($this->ppflags["class"][$this->ppflags["level"]-1]) d184 2 a185 2 if ($functionname = $this->ppflags["function"][$this->ppflags["level"]]) { if (!$this->classes[$functionname]["end"]) @ 1.8 log @Updated @ text @d118 1 a118 1 if ($this->classes[$functionname]["start"]) { @ 1.7 log @Updated @ text @d256 2 a257 2 if ($this->ppflags["extraindentlvl"][$this->ppflags["level"]]) { $this->ppflags["indent"] -= $this->ppflags[extraindentlvl][$this->ppflags["level"]]; @ 1.6 log @Updated @ text @d175 2 a176 1 if ($this->ppflags["extraindentlvl"][$this->ppflags["level"]]) { @ 1.5 log @Updated @ text @d110 1 a110 1 $this->classes[$string."::"][start] = $this->line; d118 1 a118 1 if ($this->classes[$functionname][start]) { d121 1 a121 1 $this->classes[$functionname][start] = $this->line; @ 1.4 log @Updated @ text @d175 2 a176 2 if ($this->ppflags[extraindentlvl][$this->ppflags["level"]]) { $this->ppflags["indent"] -= $this->ppflags[extraindentlvl][$this->ppflags["level"]]; @ 1.3 log @Updated @ text @d97 1 a97 1 $this->ppflags[extraindentlvl][$this->ppflags["level"]]++; d99 1 a99 1 $this->ppflags[nextindent]=1; d177 2 a178 2 $this->ppflags[extraindentlvl][$this->ppflags["level"]]=0; $this->ppflags[nextindent]=1; d208 1 a208 1 $this->ppflags[nextindent]=1; d255 1 a255 1 if ($this->ppflags[extraindentlvl][$this->ppflags["level"]]) { d257 2 a258 2 $this->ppflags[extraindentlvl][$this->ppflags["level"]]=0; $this->ppflags[nextindent]=1; d264 1 a264 1 $this->ppflags[nextindent]=1; d272 2 a273 2 if (($this->ppflags[switchcase] > 1 ) && ($this->ppflags["lastfunction"][$this->ppflags["level"]-1] == "switch")) { $this->ppflags[nextindent]=1; @ 1.2 log @Updated @ text @d219 1 a219 1 $this->ppflags[stringlen][$this->ppflags["level"]]=0; @ 1.1 log @Updated @ text @d92 5 a96 5 ($this->ppflags[lastfunction][$this->ppflags["level"]] == "if") || ($this->ppflags[lastfunction][$this->ppflags["level"]] == "elseif") || ($this->ppflags[lastfunction][$this->ppflags["level"]] == "for") || ($this->ppflags[lastfunction][$this->ppflags["level"]] == "foreach") || ($this->ppflags[lastfunction][$this->ppflags["level"]] == "while")) { d107 1 a107 1 if (strtolower($this->ppflags[lastfunction][$this->ppflags["level"]])=="class") { d114 1 a114 1 if ($this->ppflags[lastfunction][$this->ppflags["level"]]=="function") { d126 1 a126 1 // if ($this->ppflags[lastfunction][$this->ppflags["level"]]=="new") d129 1 a129 1 $this->ppflags[lastfunction][$this->ppflags["level"]]=$string; d197 1 a197 1 if (( $this->ppflags[lastfunction][$this->ppflags["level"]]=="switch") && ($this->ppflags[switchcase]>1)) d271 2 a272 2 //echo $this->ppflags[lastfunction][$this->ppflags["level"]-1]; if (($this->ppflags[switchcase] > 1 ) && ($this->ppflags[lastfunction][$this->ppflags["level"]-1] == "switch")) { @ phpmole/languages/HTML/RCS/parser_HTML_base.class,v0000755000175000017500000006035607377423617022173 0ustar alanalan00000000000000head 1.72; access; symbols; locks; strict; comment @# @; 1.72 date 2001.11.23.10.40.15; author alan; state Exp; branches; next 1.71; 1.71 date 2001.11.23.10.40.10; author alan; state Exp; branches; next 1.70; 1.70 date 2001.11.22.10.29.05; author alan; state Exp; branches; next 1.69; 1.69 date 2001.11.22.06.29.45; author alan; state Exp; branches; next 1.68; 1.68 date 2001.11.22.05.33.01; author alan; state Exp; branches; next 1.67; 1.67 date 2001.11.22.05.31.54; author alan; state Exp; branches; next 1.66; 1.66 date 2001.11.22.03.00.46; author alan; state Exp; branches; next 1.65; 1.65 date 2001.11.22.02.58.16; author alan; state Exp; branches; next 1.64; 1.64 date 2001.11.21.05.16.47; author alan; state Exp; branches; next 1.63; 1.63 date 2001.11.21.05.15.25; author alan; state Exp; branches; next 1.62; 1.62 date 2001.11.21.05.11.31; author alan; state Exp; branches; next 1.61; 1.61 date 2001.11.20.03.27.41; author alan; state Exp; branches; next 1.60; 1.60 date 2001.11.20.03.03.31; author alan; state Exp; branches; next 1.59; 1.59 date 2001.11.20.03.03.16; author alan; state Exp; branches; next 1.58; 1.58 date 2001.11.20.02.02.52; author alan; state Exp; branches; next 1.57; 1.57 date 2001.11.20.01.31.25; author alan; state Exp; branches; next 1.56; 1.56 date 2001.11.19.14.37.22; author alan; state Exp; branches; next 1.55; 1.55 date 2001.11.19.14.30.42; author alan; state Exp; branches; next 1.54; 1.54 date 2001.11.19.14.29.41; author alan; state Exp; branches; next 1.53; 1.53 date 2001.11.19.14.29.09; author alan; state Exp; branches; next 1.52; 1.52 date 2001.11.19.14.27.30; author alan; state Exp; branches; next 1.51; 1.51 date 2001.11.19.14.25.42; author alan; state Exp; branches; next 1.50; 1.50 date 2001.11.19.14.24.27; author alan; state Exp; branches; next 1.49; 1.49 date 2001.11.19.14.19.21; author alan; state Exp; branches; next 1.48; 1.48 date 2001.11.19.14.12.25; author alan; state Exp; branches; next 1.47; 1.47 date 2001.11.19.14.12.08; author alan; state Exp; branches; next 1.46; 1.46 date 2001.11.19.14.10.40; author alan; state Exp; branches; next 1.45; 1.45 date 2001.11.19.14.06.35; author alan; state Exp; branches; next 1.44; 1.44 date 2001.11.19.14.03.03; author alan; state Exp; branches; next 1.43; 1.43 date 2001.11.19.13.54.33; author alan; state Exp; branches; next 1.42; 1.42 date 2001.11.19.13.54.22; author alan; state Exp; branches; next 1.41; 1.41 date 2001.11.19.13.43.15; author alan; state Exp; branches; next 1.40; 1.40 date 2001.11.19.11.24.29; author alan; state Exp; branches; next 1.39; 1.39 date 2001.11.19.11.21.39; author alan; state Exp; branches; next 1.38; 1.38 date 2001.11.19.11.19.53; author alan; state Exp; branches; next 1.37; 1.37 date 2001.11.19.11.00.54; author alan; state Exp; branches; next 1.36; 1.36 date 2001.11.19.11.00.07; author alan; state Exp; branches; next 1.35; 1.35 date 2001.11.19.10.58.31; author alan; state Exp; branches; next 1.34; 1.34 date 2001.11.19.10.57.29; author alan; state Exp; branches; next 1.33; 1.33 date 2001.11.19.10.57.23; author alan; state Exp; branches; next 1.32; 1.32 date 2001.11.19.10.45.26; author alan; state Exp; branches; next 1.31; 1.31 date 2001.11.19.10.45.23; author alan; state Exp; branches; next 1.30; 1.30 date 2001.11.19.10.41.17; author alan; state Exp; branches; next 1.29; 1.29 date 2001.11.19.10.41.02; author alan; state Exp; branches; next 1.28; 1.28 date 2001.11.19.10.40.39; author alan; state Exp; branches; next 1.27; 1.27 date 2001.11.19.10.40.29; author alan; state Exp; branches; next 1.26; 1.26 date 2001.11.19.10.40.09; author alan; state Exp; branches; next 1.25; 1.25 date 2001.11.19.10.39.55; author alan; state Exp; branches; next 1.24; 1.24 date 2001.11.19.10.39.44; author alan; state Exp; branches; next 1.23; 1.23 date 2001.11.19.10.39.33; author alan; state Exp; branches; next 1.22; 1.22 date 2001.11.19.10.39.21; author alan; state Exp; branches; next 1.21; 1.21 date 2001.11.19.10.31.22; author alan; state Exp; branches; next 1.20; 1.20 date 2001.11.19.10.01.28; author alan; state Exp; branches; next 1.19; 1.19 date 2001.11.19.09.00.54; author alan; state Exp; branches; next 1.18; 1.18 date 2001.11.19.08.59.16; author alan; state Exp; branches; next 1.17; 1.17 date 2001.11.19.08.55.17; author alan; state Exp; branches; next 1.16; 1.16 date 2001.11.19.08.51.46; author alan; state Exp; branches; next 1.15; 1.15 date 2001.11.19.08.07.04; author alan; state Exp; branches; next 1.14; 1.14 date 2001.11.19.08.05.53; author alan; state Exp; branches; next 1.13; 1.13 date 2001.11.19.08.04.50; author alan; state Exp; branches; next 1.12; 1.12 date 2001.11.19.08.04.49; author alan; state Exp; branches; next 1.11; 1.11 date 2001.11.19.08.04.37; author alan; state Exp; branches; next 1.10; 1.10 date 2001.11.19.08.03.23; author alan; state Exp; branches; next 1.9; 1.9 date 2001.11.19.07.59.40; author alan; state Exp; branches; next 1.8; 1.8 date 2001.11.19.07.58.49; author alan; state Exp; branches; next 1.7; 1.7 date 2001.11.19.07.58.23; author alan; state Exp; branches; next 1.6; 1.6 date 2001.11.19.07.57.23; author alan; state Exp; branches; next 1.5; 1.5 date 2001.11.19.07.55.07; author alan; state Exp; branches; next 1.4; 1.4 date 2001.11.09.07.56.24; author alan; state Exp; branches; next 1.3; 1.3 date 2001.11.09.07.51.45; author alan; state Exp; branches; next 1.2; 1.2 date 2001.11.08.06.13.37; author alan; state Exp; branches; next 1.1; 1.1 date 2001.11.08.05.51.55; author alan; state Exp; branches; next ; desc @Updated @ 1.72 log @Updated @ text @\n--STARTCOMMENT--\n\n--ENDTCOMMENT--\n\n--ENDCALLBACK--\nline . " " . substr($this->tmp,$this->lastlb +1,($c-$this->lastlb) -1); $this->lastlb=$c; $this->line++; } function php_parse($c) { while ($c < strlen($this->data)) { $c++; if ($this->debug) echo $this->data[$c]; if ($this->data[$c-1] != "?") continue; if ($this->data[$c] != ">") continue; break; } $this->intag=0; return $c+1; } function html_parse_debug($str) { global $debug; if ($debug) { ?> &(str);%s is now: %s", $txt, $encoded); } function html_parse () { // this is reentrant! (entities call it!) $c=0; $l=-1; $do_pending=0; if (class_exists("Gtk")) $do_pending=1; $datalen = strlen($this->data); while ( $c < $datalen) { if ($do_pending) while (gtk::events_pending()) gtk::main_iteration(); if ($l == $c) { if ($c != 0) echo "\nERROR WITH $c {$this->data[$c]}\n"; $c++; } if ($c > 1000)$this->debug=0; // // if ($c > 1000) exit; $l = $c; //echo "HTML PARSing {$this->intag}:$c: ". $this->data[$c] ."\n"; if ($this->intag) { if ($this->debug) echo "START INTAG:$c {$this->data[$c]}\n"; if ($c >= $datalen) return; $c = $this->check_whitespace($c); if ($c >= $datalen) return; if ($this->debug) echo "WS:$c {$this->data[$c]}\n"; $c = $this->check_comment($c); if ($c >= $datalen) return; if ($this->debug) echo "CC:$c {$this->data[$c]}\n"; $c = $this->check_php($c); if ($c >= $datalen) return; if ($this->debug) echo "PP:$c {$this->data[$c]}\n"; if (!$this->intag) continue; $c = $this->check_endtag($c); if ($c >= $datalen) return; if ($this->debug) echo "ET:$c {$this->data[$c]}\n"; if (!$this->intag) continue; $c = $this->check_starttag($c); if ($c >= $datalen) return; if ($this->debug) echo "ST:$c {$this->data[$c]}\n"; $c = $this->check_endtag($c); if ($c >= $datalen) return; if ($this->debug) echo "ET:$c {$this->data[$c]}\n"; if (!$this->intag) { if ($this->debug) echo "END INTAG!"; continue; } $c = $this->check_whitespace($c); if ($c >= $datalen) return; if ($this->debug) echo "WS:$c\n"; if (!$this->intag) continue; $c = $this->check_attribute($c); if ($c >= $datalen) return; if ($this->debug) echo "AT:$c\n"; $c = $this->check_endtag($c); if ($c >= $datalen) return; if ($this->debug) echo "ET:$c\n"; } else { if ($this->debug) echo "START OUTTAG:$c\n"; if ($this->data[$c] == "<") { $c++; $this->intag=1; continue; } if ($this->debug) echo "START TEXT"; $c = $this->check_text($c); if ($c >= $datalen) return; if ($this->debug) echo "END TEXT"; } } } function check_comment($c) { // "; return; } } function out_tag_start($i) { $tag = $this->htmltree[$i]->title; $attributes = $this->htmltree[$i]->attribute; if ($this->debug) echo "<$tag>"; if (!$tag) return; if ($this->indent) $this->output .= "\n".str_repeat(" ",$this->level); $this->output .= "<$tag"; if (@@$this->htmltree[$i]->attributes) foreach($this->htmltree[$i]->attributes as $k=>$v) { if (!$v) $v="\"\""; $this->output.= " $k=$v"; } $this->output .= ">"; } function out_children(&$array) { if ($this->debug) echo "\nOUT CHILD" . serialize($array) . "\n"; if (!$array) return; foreach($array as $data) { if (!is_array($data)) { if ($data >= $this->i) $this->out($data); } else { $this->output .= $data[1]; } } } function out_tag_end($tag) { if ($this->debug) echo ""; if (!$tag) return; if ($this->indent) $this->output .= "\n".str_repeat(" ",$this->level); $this->output .= ""; } function override_img($i) { $this->__out($i,1); } } ?>@ 1.63 log @Updated @ text @d33 1 a33 1 var $output; // outgoing data @ 1.62 log @Updated @ text @d94 3 a96 2 if (@@$this->htmltree[$i]->title{0} == "!") $no_tail=1; @ 1.61 log @Updated @ text @d94 1 a94 1 if ($this->htmltree[$i]->title{0} == "!") @ 1.60 log @Updated @ text @d79 1 a79 1 if ($this->htmltree[$i]->title === HTML_PARSER_TYPE_COMMENT) d81 4 @ 1.59 log @Updated @ text @d79 2 a80 1 if ($this->htmltree[$i]->title === @ 1.58 log @Updated @ text @d79 1 @ 1.57 log @Updated @ text @d109 1 a109 1 this->output .= $this->htmltree[$i]->text; d112 1 a112 1 this->output .= "<"."?php\n". $this->htmltree[$i]->text . "\n?".">"; d115 1 a115 1 this->output .= ""; @ 1.56 log @Updated @ text @d109 1 a109 1 this->output .= $this->out_tag_end($this->htmltree[$i]->text; @ 1.55 log @Updated @ text @d122 1 a122 1 if ($i==0) return; // dont out put top level! @ 1.54 log @Updated @ text @d118 1 a118 1 @ 1.53 log @Updated @ text @d107 2 a108 1 case HTML_PARSER_TYPE_TEXT: @ 1.52 log @Updated @ text @d114 1 a114 1 this->output .= "<"."!--". $this->htmltree[$i]->text . "-->"; d116 1 @ 1.51 log @Updated @ text @d110 6 @ 1.50 log @Updated @ text @d1 26 a26 1 htmltree); if ($this->debug) echo "RESETTING" .count($this->htmltree); //if ($total > 1000) exit; DEBUG STUFF for ($i=0;$i < $total;$i++) { if ($this->debug) echo "resetting $i\n"; $this->htmltree[$i]->done=0; } if ($this->debug) echo "DONE RESET\n"; flush(); } function start() { $this->i=0; $this->reset(); $total = count($this->htmltree); d93 20 a112 37 $this->out(0); return; if ($this->debug) echo "SIZE:" .$total. "\n"; flush(); for ($this->i=0;$this->i < $total;$this->i++) { $this->out($this->i); } } function out($i) { if ($this->debug) echo "O:$i"; //if ($this->htmltree[$i]->done) return; $method = "override_".strtolower($this->htmltree[$i]->title); if (method_exists($this,$method)) { $this->$method($i); return; } if (method_exists($this,"override_all")) { $this->override_all($i); return; } $no_tail=0; if ($this->htmltree[$i]->title{0} == "!") $no_tail=1; $this->__out($i,$no_tail); } function __out($i,$no_tail) { // can also use attribues which is an associative array. $this->out_tag_start($i); $this->out_children($this->htmltree[$i]->children); if (!$no_tail) $this->out_tag_end($this->htmltree[$i]->title); $this->done($i); } d119 4 d125 2 a126 1 foreach($this->htmltree[$i]->attributes as $k=>$v) d128 1 a128 1 d130 14 a143 17 } function out_children(&$array) { if ($this->debug) echo "\nOUT CHILD" . serialize($array) . "\n"; if (!$array) return; foreach($array as $data) { if (!is_array($data)) { if ($data >= $this->i) $this->out($data); } else { $this->output .= $data[1]; } } } a144 1 if ($i==0) return; // dont out put top level! d147 3 a149 1 $this->output .= ""; d151 14 a164 16 function done($i) { return; $this->htmltree[$i]->done=1; if ($this->i < $i) $this->i = $i+1; } function override_img($i) { $this->__out($i,1); } @ 1.49 log @Updated @ text @d66 1 d94 6 a99 5 function out_tag_end($tag) { if ($this->debug) echo ""; if (!$tag) return; $this->output .= ""; } @ 1.48 log @Updated @ text @d28 2 @ 1.47 log @Updated @ text @d38 1 a38 1 if ($this->htmltree[$i]->done) return; d48 8 a55 1 // can also use attribues which is an associative array. d58 1 a58 1 if ($this->htmltree[$i]->title{0} != "!") d63 11 a73 15 function out_tag_start($i) { $tag = $this->htmltree[$i]->title; $attributes = $this->htmltree[$i]->attribute; if ($this->debug) echo "<$tag>"; if (!$tag) return; $this->output .= "<$tag"; // if ($attributes) { // foreach($attributes as $att) // $this->output.= " $att"; // // } else if ($this->htmltree[$i]->attributes) { foreach($this->htmltree[$i]->attributes as $k=>$v) $this->output.= " $k=$v"; // } $this->output .= ">"; d80 1 a80 1 if (is_int($data)) { d84 3 a86 1 } else if (is_array($data)) { a87 3 $this->output .= $data[0]; } else { echo "OOPS"; d97 1 d102 8 @ 1.46 log @Updated @ text @d62 5 a66 5 if ($attributes) { foreach($attributes as $att) $this->output.= " $att"; } else if ($this->htmltree[$i]->attributes) { d69 1 a69 1 } @ 1.45 log @Updated @ text @d9 1 a9 1 var $debug=1; @ 1.44 log @Updated @ text @d68 1 a68 1 $this->output.= "$k=$v"; @ 1.43 log @Updated @ text @d49 1 a49 1 $this->out_tag_start($this->htmltree[$i]->title, $this->htmltree[$i]->attribute); d56 3 a58 1 function out_tag_start($tag,$attributes) { d62 8 a69 2 foreach($attributes as $att) $this->output.= " $att"; @ 1.42 log @Updated @ text @d30 3 a32 3 for ($i=0;$i < $total;$i++) { echo "OUT?$i"; $this->out($i); @ 1.41 log @Updated @ text @d15 1 a15 1 if ($total > 1000) exit; @ 1.40 log @Updated @ text @d30 2 a31 2 for (i=0;$i < $total;$i++) { echo "OUT? {$this->i}"; @ 1.39 log @Updated @ text @d30 3 a32 3 for ($this->i=0;$this->i < $total;$this->i++) { echo "OUT? {$this->i}"; $this->out($this->i); @ 1.38 log @Updated @ text @d31 1 a31 1 echo "OUT? $this->i"; @ 1.37 log @Updated @ text @d31 1 a31 1 echo "OUT? @ 1.36 log @Updated @ text @d28 1 a28 1 if ($this->debug) echo "SIZE:" .count($this->htmltree). "\n"; d30 2 a31 2 $this->i=0; for ($this->i=0;$this->i < $total;$this->i++) d33 1 @ 1.35 log @Updated @ text @d30 1 @ 1.34 log @Updated @ text @d9 1 a9 1 var $debug=0; @ 1.33 log @Updated @ text @d9 1 a9 1 var $debug=-; @ 1.32 log @Updated @ text @d9 1 a9 1 var $debug=1; @ 1.31 log @Updated @ text @d17 1 a17 1 echo "resetting $i\n"; d64 1 a64 1 echo "\nOUT CHILD" . serialize($array) . "\n"; @ 1.30 log @Updated @ text @d68 1 a68 1 if ($data => $this->i) @ 1.29 log @Updated @ text @d68 1 a68 1 if ($data > $this->i) @ 1.28 log @Updated @ text @d64 1 d72 1 a72 1 echo "\n" . serialize($data) . "\n"; @ 1.27 log @Updated @ text @d75 1 @ 1.26 log @Updated @ text @d48 1 a48 1 $this->out_children($i); d63 1 a63 1 function out_children($array) { @ 1.25 log @Updated @ text @d48 1 a48 1 $this->out_children($this->htmltree[$i]->children); d66 1 a66 1 if (is_int($data)) d70 1 a70 1 if (is_array($data)) { d73 2 a74 1 } @ 1.24 log @Updated @ text @d26 1 d30 1 a30 1 for ($this->i=0;$this->i < count($this->htmltree);$this->i++) @ 1.23 log @Updated @ text @d16 1 a16 1 for ($i=0;$i < count($this->htmltree);$i++) { @ 1.22 log @Updated @ text @d13 1 d15 1 @ 1.21 log @Updated @ text @d18 1 a18 1 if ($this->debug) echo "DONE RESET"; d25 1 a25 1 if ($this->debug) echo "SIZE:" .count($this->htmltree); @ 1.20 log @Updated @ text @d15 1 @ 1.19 log @Updated @ text @d18 1 d25 1 @ 1.18 log @Updated @ text @d17 1 a17 1 if ($this->debug)echo "DONE RESET"; @ 1.17 log @Updated @ text @d17 1 a17 1 echo "DONE RESET"; @ 1.16 log @Updated @ text @d13 1 a13 1 if ($this->debug) echo "RESETTING"; d17 1 @ 1.15 log @Updated @ text @d13 1 d21 2 a22 1 //echo "SIZE:" .count($this->htmltree); @ 1.14 log @Updated @ text @d26 1 @ 1.13 log @Updated @ text @d57 1 d59 1 @ 1.12 log @Updated @ text @d58 2 a59 1 if (is_array($data)) d61 1 @ 1.11 log @Updated @ text @d36 1 a36 1 @ 1.10 log @Updated @ text @d21 1 a21 1 for ($this->i=0;$this->i < count($this->htmltree);$this->i++) { @ 1.9 log @Updated @ text @d21 1 a21 1 for ($this->i=0;$this->i < count($this->htmltree);$this->i++) { a22 2 $this->i++; } @ 1.8 log @Updated @ text @d43 1 a43 1 $this->htmltree[$i]->done=1; d70 1 @ 1.7 log @Updated @ text @d69 6 @ 1.6 log @Updated @ text @d10 1 a10 1 d18 1 a18 1 $i=0; d21 3 a23 3 for ($i=0;$i < count($this->htmltree);$i++) { $this->out($i); $i++; @ 1.5 log @Updated @ text @d56 1 @ 1.4 log @Updated @ text @d4 1 a4 1 // normally extended to provide 'custom views of html/xml trees @ 1.3 log @Updated @ text @d4 1 @ 1.2 log @Updated @ text @d3 2 @ 1.1 log @Updated @ text @d17 1 a17 1 echo "SIZE:" .count($this->htmltree); @ phpmole/languages/HTML/parser_HTML.class0000755000175000017500000001671007437372664020305 0ustar alanalan00000000000000htmltree[0]) { $this->htmltree[0] = &new parser_HTML_element; //$this->htmltree[0]->children=array(); $this->htmltree[0]->type= HTML_PARSER_TYPE_HOLDER; } } function startCommentCallback() { } function commentCallback($comment) { $this->maxelementid++; $this->htmltree[$this->maxelementid] = &new parser_HTML_element; $this->htmltree[$this->maxelementid]->children=array(); $this->htmltree[$this->curelementid]->children[]=$this->maxelementid; $this->htmltree[$this->maxelementid]->parent = $this->curelementid; $this->htmltree[$this->maxelementid]->startline = $this->line; $this->htmltree[$this->maxelementid]->type = HTML_PARSER_TYPE_COMMENT; // comment type $this->htmltree[$this->maxelementid]->text = $comment; } function entityCallback($string) { //echo "ADDING ENT: $string \n"; $this->html_check_roots(); $this->maxelementid++; $this->htmltree[$this->maxelementid] = &new parser_HTML_element; $this->htmltree[$this->maxelementid]->children=array(); $this->htmltree[$this->curelementid]->children[]=$this->maxelementid; $this->htmltree[$this->maxelementid]->parent = $this->curelementid; $this->htmltree[$this->maxelementid]->startline = $this->line; $this->htmltree[$this->maxelementid]->type = HTML_PARSER_TYPE_ENTITY; // comment type $this->htmltree[$this->maxelementid]->text = "&".$string.";"; } function endCommentCallback() { } function endCallback() { // called when the ">" is found at the end of a tag. $this->html_check_roots(); // these are elements that have optional or no end tag // note that option (from select breaks formating - but seems to work best like this!) if (preg_match("/^(option|input|meta|link|img|hr)$/i",@$this->htmltree[$this->curelementid]->title)) $this->curelementid = $this->htmltree[$this->curelementid]->parent; if (@$this->htmltree[$this->curelementid]->title) if (@$this->htmltree[$this->curelementid]->title{0} == "!") $this->curelementid = $this->htmltree[$this->curelementid]->parent; } function startCallback_close($tag_lower) { if ($tag_lower == "p") return; // attempt matching. $curtag = strtolower($this->htmltree[$this->curelementid]->title); if ($tag_lower == $curtag) { $this->curelementid = @$this->htmltree[$this->curelementid]->parent; return; } // does it match echo "HTML PARSE NO MATCH $tag_lower != $curtag \n"; // go up the tree and try and find a match... } function startCallback($tag) { debug_echo("SC: $tag"); $this->html_check_roots(); // if ((strtolower($this->htmltree[$this->curelementid]->title) == "option") && // strtolower($tag != "/option") // $this->curelementid = @$this->htmltree[$this->curelementid]->parent; if ($tag{0} == "/") { $this->startCallback_close(substr(strtolower($tag),1)); return; } //