From 09592ec43d95563e1aeb0bdf3e8609365ac9f807 Mon Sep 17 00:00:00 2001 From: Quentin Date: Fri, 17 Jan 2014 09:20:36 +0100 Subject: [PATCH] modified: c/CtrlCheckLinks.rb modified: c/CtrlHistoLink.rb modified: c/Main.rb new file: doc/rdoc/CtrlCheckLinks.html new file: doc/rdoc/CtrlHistoLink.html new file: doc/rdoc/Menu.html new file: doc/rdoc/ReadFile.html new file: doc/rdoc/Vue1.html new file: doc/rdoc/VueHisto.html new file: doc/rdoc/VueMenu.html new file: doc/rdoc/VueResult.html new file: doc/rdoc/c/CtrlCheckLinks_rb.html new file: doc/rdoc/c/CtrlHistoLink_rb.html new file: doc/rdoc/c/Main_rb.html new file: doc/rdoc/c/hello_rb.html new file: doc/rdoc/created.rid new file: doc/rdoc/images/brick.png new file: doc/rdoc/images/brick_link.png new file: doc/rdoc/images/bug.png new file: doc/rdoc/images/bullet_black.png new file: doc/rdoc/images/bullet_toggle_minus.png new file: doc/rdoc/images/bullet_toggle_plus.png new file: doc/rdoc/images/date.png new file: doc/rdoc/images/find.png new file: doc/rdoc/images/loadingAnimation.gif new file: doc/rdoc/images/macFFBgHack.png new file: doc/rdoc/images/package.png new file: doc/rdoc/images/page_green.png new file: doc/rdoc/images/page_white_text.png new file: doc/rdoc/images/page_white_width.png new file: doc/rdoc/images/plugin.png new file: doc/rdoc/images/ruby.png new file: doc/rdoc/images/tag_green.png new file: doc/rdoc/images/wrench.png new file: doc/rdoc/images/wrench_orange.png new file: doc/rdoc/images/zoom.png new file: doc/rdoc/index.html new file: doc/rdoc/m/ReadFile_rb.html new file: doc/rdoc/rdoc.css new file: doc/rdoc/v/Vue1_rb.html new file: doc/rdoc/v/VueHisto_rb.html new file: doc/rdoc/v/VueMenu_rb.html new file: doc/rdoc/v/VueResult_rb.html modified: m/ReadFile.rb modified: v/Vue1.rb modified: v/VueHisto.rb modified: v/VueMenu.rb modified: v/VueResult.rb --- c/CtrlCheckLinks.rb | 31 +- c/CtrlHistoLink.rb | 24 +- c/Main.rb | 30 +- doc/rdoc/CtrlCheckLinks.html | 422 +++++++++++++ doc/rdoc/CtrlHistoLink.html | 317 ++++++++++ doc/rdoc/Menu.html | 356 +++++++++++ doc/rdoc/ReadFile.html | 284 +++++++++ doc/rdoc/Vue1.html | 340 +++++++++++ doc/rdoc/VueHisto.html | 329 ++++++++++ doc/rdoc/VueMenu.html | 383 ++++++++++++ doc/rdoc/VueResult.html | 263 ++++++++ doc/rdoc/c/CtrlCheckLinks_rb.html | 55 ++ doc/rdoc/c/CtrlHistoLink_rb.html | 55 ++ doc/rdoc/c/Main_rb.html | 72 +++ doc/rdoc/c/hello_rb.html | 52 ++ doc/rdoc/created.rid | 10 + doc/rdoc/images/brick.png | Bin 0 -> 452 bytes doc/rdoc/images/brick_link.png | Bin 0 -> 699 bytes doc/rdoc/images/bug.png | Bin 0 -> 714 bytes doc/rdoc/images/bullet_black.png | Bin 0 -> 211 bytes doc/rdoc/images/bullet_toggle_minus.png | Bin 0 -> 207 bytes doc/rdoc/images/bullet_toggle_plus.png | Bin 0 -> 209 bytes doc/rdoc/images/date.png | Bin 0 -> 570 bytes doc/rdoc/images/find.png | Bin 0 -> 604 bytes doc/rdoc/images/loadingAnimation.gif | Bin 0 -> 5886 bytes doc/rdoc/images/macFFBgHack.png | Bin 0 -> 99 bytes doc/rdoc/images/package.png | Bin 0 -> 845 bytes doc/rdoc/images/page_green.png | Bin 0 -> 621 bytes doc/rdoc/images/page_white_text.png | Bin 0 -> 342 bytes doc/rdoc/images/page_white_width.png | Bin 0 -> 309 bytes doc/rdoc/images/plugin.png | Bin 0 -> 591 bytes doc/rdoc/images/ruby.png | Bin 0 -> 535 bytes doc/rdoc/images/tag_green.png | Bin 0 -> 556 bytes doc/rdoc/images/wrench.png | Bin 0 -> 551 bytes doc/rdoc/images/wrench_orange.png | Bin 0 -> 526 bytes doc/rdoc/images/zoom.png | Bin 0 -> 662 bytes doc/rdoc/index.html | 125 ++++ doc/rdoc/m/ReadFile_rb.html | 54 ++ doc/rdoc/rdoc.css | 763 ++++++++++++++++++++++++ doc/rdoc/v/Vue1_rb.html | 54 ++ doc/rdoc/v/VueHisto_rb.html | 54 ++ doc/rdoc/v/VueMenu_rb.html | 54 ++ doc/rdoc/v/VueResult_rb.html | 54 ++ m/ReadFile.rb | 9 +- v/Vue1.rb | 17 +- v/VueHisto.rb | 8 +- v/VueMenu.rb | 14 +- v/VueResult.rb | 10 +- 48 files changed, 4179 insertions(+), 60 deletions(-) create mode 100644 doc/rdoc/CtrlCheckLinks.html create mode 100644 doc/rdoc/CtrlHistoLink.html create mode 100644 doc/rdoc/Menu.html create mode 100644 doc/rdoc/ReadFile.html create mode 100644 doc/rdoc/Vue1.html create mode 100644 doc/rdoc/VueHisto.html create mode 100644 doc/rdoc/VueMenu.html create mode 100644 doc/rdoc/VueResult.html create mode 100644 doc/rdoc/c/CtrlCheckLinks_rb.html create mode 100644 doc/rdoc/c/CtrlHistoLink_rb.html create mode 100644 doc/rdoc/c/Main_rb.html create mode 100644 doc/rdoc/c/hello_rb.html create mode 100644 doc/rdoc/created.rid create mode 100644 doc/rdoc/images/brick.png create mode 100644 doc/rdoc/images/brick_link.png create mode 100644 doc/rdoc/images/bug.png create mode 100644 doc/rdoc/images/bullet_black.png create mode 100644 doc/rdoc/images/bullet_toggle_minus.png create mode 100644 doc/rdoc/images/bullet_toggle_plus.png create mode 100644 doc/rdoc/images/date.png create mode 100644 doc/rdoc/images/find.png create mode 100644 doc/rdoc/images/loadingAnimation.gif create mode 100644 doc/rdoc/images/macFFBgHack.png create mode 100644 doc/rdoc/images/package.png create mode 100644 doc/rdoc/images/page_green.png create mode 100644 doc/rdoc/images/page_white_text.png create mode 100644 doc/rdoc/images/page_white_width.png create mode 100644 doc/rdoc/images/plugin.png create mode 100644 doc/rdoc/images/ruby.png create mode 100644 doc/rdoc/images/tag_green.png create mode 100644 doc/rdoc/images/wrench.png create mode 100644 doc/rdoc/images/wrench_orange.png create mode 100644 doc/rdoc/images/zoom.png create mode 100644 doc/rdoc/index.html create mode 100644 doc/rdoc/m/ReadFile_rb.html create mode 100644 doc/rdoc/rdoc.css create mode 100644 doc/rdoc/v/Vue1_rb.html create mode 100644 doc/rdoc/v/VueHisto_rb.html create mode 100644 doc/rdoc/v/VueMenu_rb.html create mode 100644 doc/rdoc/v/VueResult_rb.html diff --git a/c/CtrlCheckLinks.rb b/c/CtrlCheckLinks.rb index 040c03f..5ab2b21 100644 --- a/c/CtrlCheckLinks.rb +++ b/c/CtrlCheckLinks.rb @@ -1,22 +1,25 @@ -# Controleur de la vérification de la validité des liens ainsi que les vues correspondantes +# Controleur de la vérification de la validité des liens ainsi que la vue Vue1 et VueResult class CtrlCheckLinks - #Controleur de la saisie pour vérification de lien - def saisie(type) - @v1 = Vue1.new(self, 'Saisie nom fichier', type) #creation vue principal + # Controleur de la saisie pour vérification de lien, controleur Vue1 + # * int type : permet de modifier la vue si 1 -> fichier sinon dossier + # * string title : titre fenetre de la vue qui va etre genere + # * return : String des urls trouvés + def saisie(type, title) + @v1 = Vue1.new(self, title, type) #creation vue principal @v1.getWindow.show_all # affichage Gtk.main - return @urls end - #Controleur recuperation et verification de liens dans 1 fichiers + # Controleur de recuperation et verification de liens dans 1 fichiers + # * string str : chemin d'accès au fichier à traiter def recupUrls(str) f = ReadFile.new(str) @urls = f.getUrls self.vueResult(self.verifLiens(@urls), str) s = CtrlHistoLink.new #on enregistre dans l'histo le verif du lien s.sauv(str, @urls) - return @urls end - #Controleur recuperation et verification de liens dans 1 dossier + # Controleur de recuperation et verification de liens dans 1 dossier + # * string str : chemin d'accès au fichier à traiter def recupUrlsDoss(str) d = Dir.open(str) liste_exclus = [".", ".."] @@ -27,12 +30,14 @@ class CtrlCheckLinks end } end - #Controleur permettant de detruire la vue principal + # Controleur permettant de detruire la vue Vue1 def destructionFen @v1.getWindow.destroy Gtk.main_quit end - #Controleur de verification de liens + # Controleur de verification de liens + # * string[] : tableau des urls à vérifier + # * return : string contenant le resultat des pings def verifLiens(urls) resultats = "" urls.each { |n| # pour chaque urls on realise un ping -> mise des resultats en chaine de caractere @@ -44,13 +49,13 @@ class CtrlCheckLinks end } return resultats - end - #Controleur permettant d'afficher la vue secondaire d'affichage de resultat + # Controleur permettant d'afficher la vue secondaire d'affichage de resultats, controleur VueResult + # * string resultats : contient les resultats à affiché + # * string nom : nom du fichier qui contient les urls traités def vueResult(resultats, nom) v = VueResult.new(resultats, nom) v.getWindow.show_all Gtk.main - end end \ No newline at end of file diff --git a/c/CtrlHistoLink.rb b/c/CtrlHistoLink.rb index 4c79215..8696b56 100644 --- a/c/CtrlHistoLink.rb +++ b/c/CtrlHistoLink.rb @@ -1,27 +1,29 @@ -#Classe permettant de g"rer l'historique de fichier traité +#Classe permettant de gzrer l'historique de fichier traité et la vue VueHisto class CtrlHistoLink - #Saisie pour vérification de lien stocké en historique + # Saisie pour vérification de lien stocké en historique, controleur VueHisto def saisie @v = VueHisto.new(self,"Historique") #creation vue @v.getWindow.show_all # affichage Gtk.main - return @urls end - #Sauvegarde les liens dans un fichier pour historique - def sauv(fileName, urls) - fileName = File.basename(fileName) - f = File.new("../sauv/#{fileName}", "w+") + # Sauvegarde les liens dans un fichier pour historique + # * String pathName : chemin du fichier à mettre en historique + # * String urls : liste urls à sauver dans l'historique + def sauv(pathName, urls) + pathName = File.basename(pathName) + f = File.new("../sauv/#{pathName}", "w+") f.write(urls) f.close end - #Permet de rejouer les liens d'un fichier - def rejouer(fileName) + # Permet de rejouer les liens d'un fichier + # * Sting pathName : chemin du fichier de l'historique à rejouer + def rejouer(pathName) r = CtrlCheckLinks.new - @urls = r.recupUrls(fileName) + @urls = r.recupUrls(pathName) end - #Controleur permettant de detruire la vue historique + # Controleur permettant de detruire la vue historique def destructionFen @v.getWindow.destroy Gtk.main_quit diff --git a/c/Main.rb b/c/Main.rb index 3d9374d..68a0536 100755 --- a/c/Main.rb +++ b/c/Main.rb @@ -13,35 +13,40 @@ require '../v/VueResult' require '../v/VueMenu' require '../v/VueHisto' -#Classe principal du controleur main -class Main - # Controleur du menu de départ - def menu - +#Controleur du menu principal de l'application +class Menu + # Controleur du menu d'acceuil VueMenu + def initialize @v = VueMenu.new(self,"Menu") @v.getWindow.show_all # affichage Gtk.main end - # Controleur historique + # Acces au controleur CtrlHistoLink def histo + @v.getWindow.hide_all #cache le menu c = CtrlHistoLink.new urls = c.saisie + @v.getWindow.show_all #reaffiche le menu end - # Controleur vérification d'un fichier + # Acces au controleur vérification d'un fichier CtrlCheckLinks def newVerifFile + @v.getWindow.hide_all #cache le menu c = CtrlCheckLinks.new - urls = c.saisie(1) + urls = c.saisie(1, 'Saisie nom fichier') + @v.getWindow.show_all #reaffiche le menu end - # Controleur vérification d'un dossier + # Acces au controleur vérification d'un dossier CtrlCheckLinks def newVerifDossier + @v.getWindow.hide_all #cache le menu c = CtrlCheckLinks.new - urls = c.saisie(0) + urls = c.saisie(0, 'Saisie nom dossier') + @v.getWindow.show_all #reaffiche le menu end - # Controleur permettant de detruire la vue menu + # Controleur permettant de detruire la VueMenu def destructionMenu @v.getWindow.destroy Gtk.main_quit @@ -49,7 +54,6 @@ class Main end -c = Main.new -c.menu +Menu.new print "Termine\n" \ No newline at end of file diff --git a/doc/rdoc/CtrlCheckLinks.html b/doc/rdoc/CtrlCheckLinks.html new file mode 100644 index 0000000..3f01594 --- /dev/null +++ b/doc/rdoc/CtrlCheckLinks.html @@ -0,0 +1,422 @@ + + + + + + + Class: CtrlCheckLinks + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

CtrlCheckLinks

+ +
+ +

Controleur de la vérification de la validité des liens ainsi que la vue Vue1 et VueResult

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ destructionFen() + click to toggle source +
+ + +
+ +

Controleur permettant de detruire la vue Vue1

+ + + +
+
+# File c/CtrlCheckLinks.rb, line 34
+def destructionFen 
+  @v1.getWindow.destroy
+  Gtk.main_quit
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ recupUrls(str) + click to toggle source +
+ + +
+ +

Controleur de recuperation et verification de liens dans 1 fichiers

+
  • +

    string str : chemin d’accès au fichier à traiter

    +
+ + + +
+
+# File c/CtrlCheckLinks.rb, line 14
+def recupUrls(str) 
+  f = ReadFile.new(str)
+  @urls = f.getUrls
+  self.vueResult(self.verifLiens(@urls), str)
+  s = CtrlHistoLink.new #on enregistre dans l'histo le verif du lien
+  s.sauv(str, @urls)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ recupUrlsDoss(str) + click to toggle source +
+ + +
+ +

Controleur de recuperation et verification de liens dans 1 dossier

+
  • +

    string str : chemin d’accès au fichier à traiter

    +
+ + + +
+
+# File c/CtrlCheckLinks.rb, line 23
+def recupUrlsDoss(str) 
+  d = Dir.open(str)
+  liste_exclus = [".", ".."]
+  liste_dir = d.sort - liste_exclus
+  liste_dir.each { |fichier| #pour chaque fichier touvé
+    if (File.ftype(str + "/" + fichier) == "file")
+        self.recupUrls(str + "/" + fichier)
+    end
+   }             
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ saisie(type, title) + click to toggle source +
+ + +
+ +

Controleur de la saisie pour vérification de lien, controleur Vue1

+
  • +

    int type : permet de modifier la vue si 1 -> fichier sinon dossier

    +
  • +

    string title : titre fenetre de la vue qui va etre genere

    +
  • +

    return : String des urls trouvés

    +
+ + + +
+
+# File c/CtrlCheckLinks.rb, line 7
+def saisie(type, title) 
+  @v1 = Vue1.new(self, title, type) #creation vue principal
+  @v1.getWindow.show_all # affichage
+  Gtk.main
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ verifLiens(urls) + click to toggle source +
+ + +
+ +

Controleur de verification de liens

+
  • +

    string[] : tableau des urls à vérifier

    +
  • +

    return : string contenant le resultat des pings

    +
+ + + +
+
+# File c/CtrlCheckLinks.rb, line 41
+def verifLiens(urls) 
+  resultats = "" 
+  urls.each { |n| # pour chaque urls on realise un ping -> mise des resultats en chaine de caractere
+  p = Net::Ping::HTTP.new n , 80, 5
+  if p.ping?
+    resultats +=  "#{n} est vivant\n" 
+  else
+    resultats += "#{n} est mort\n"
+  end
+  }
+  return resultats    
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ vueResult(resultats, nom) + click to toggle source +
+ + +
+ +

Controleur permettant d'afficher la vue secondaire d'affichage de +resultats, controleur VueResult

+
  • +

    string resultats : contient les resultats à affiché

    +
  • +

    string nom : nom du fichier qui contient les urls traités

    +
+ + + +
+
+# File c/CtrlCheckLinks.rb, line 56
+def vueResult(resultats, nom) 
+  v = VueResult.new(resultats, nom)
+  v.getWindow.show_all
+  Gtk.main
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/doc/rdoc/CtrlHistoLink.html b/doc/rdoc/CtrlHistoLink.html new file mode 100644 index 0000000..0eef329 --- /dev/null +++ b/doc/rdoc/CtrlHistoLink.html @@ -0,0 +1,317 @@ + + + + + + + Class: CtrlHistoLink + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

CtrlHistoLink

+ +
+ +

Classe permettant de gzrer l’historique de fichier traité et la vue VueHisto

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ + + +
+ destructionFen() + click to toggle source +
+ + +
+ +

Controleur permettant de detruire la vue historique

+ + + +
+
+# File c/CtrlHistoLink.rb, line 27
+def destructionFen  
+@v.getWindow.destroy
+Gtk.main_quit
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ rejouer(pathName) + click to toggle source +
+ + +
+ +

Permet de rejouer les liens d'un fichier

+
  • +

    Sting pathName : chemin du fichier de l’historique à rejouer

    +
+ + + +
+
+# File c/CtrlHistoLink.rb, line 21
+def rejouer(pathName)
+        r = CtrlCheckLinks.new
+        @urls = r.recupUrls(pathName)
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ saisie() + click to toggle source +
+ + +
+ +

Saisie pour vérification de lien stocké en historique, controleur VueHisto

+ + + +
+
+# File c/CtrlHistoLink.rb, line 4
+def saisie 
+        @v = VueHisto.new(self,"Historique") #creation vue 
+        @v.getWindow.show_all # affichage
+        Gtk.main
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ sauv(pathName, urls) + click to toggle source +
+ + +
+ +

Sauvegarde les liens dans un fichier pour historique

+
  • +

    String pathName : chemin du fichier à mettre en historique

    +
  • +

    String urls : liste urls à sauver dans l’historique

    +
+ + + +
+
+# File c/CtrlHistoLink.rb, line 12
+def sauv(pathName, urls)  
+        pathName = File.basename(pathName)
+        f = File.new("../sauv/#{pathName}", "w+")
+        f.write(urls)
+        f.close
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/doc/rdoc/Menu.html b/doc/rdoc/Menu.html new file mode 100644 index 0000000..99a8a52 --- /dev/null +++ b/doc/rdoc/Menu.html @@ -0,0 +1,356 @@ + + + + + + + Class: Menu + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Menu

+ +
+ +

Controleur du menu principal de l’application

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new() + click to toggle source +
+ + +
+ +

Controleur du menu d'acceuil VueMenu

+ + + +
+
+# File c/Main.rb, line 19
+def initialize
+        @v = VueMenu.new(self,"Menu")
+        @v.getWindow.show_all # affichage
+    Gtk.main
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ destructionMenu() + click to toggle source +
+ + +
+ +

Controleur permettant de detruire la VueMenu

+ + + +
+
+# File c/Main.rb, line 50
+def destructionMenu
+@v.getWindow.destroy
+Gtk.main_quit
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ histo() + click to toggle source +
+ + +
+ +

Acces au controleur CtrlHistoLink

+ + + +
+
+# File c/Main.rb, line 26
+def histo 
+        @v.getWindow.hide_all #cache le menu
+        c = CtrlHistoLink.new
+        urls = c.saisie
+        @v.getWindow.show_all #reaffiche le menu
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ newVerifDossier() + click to toggle source +
+ + +
+ +

Acces au controleur vérification d’un dossier CtrlCheckLinks

+ + + +
+
+# File c/Main.rb, line 42
+def newVerifDossier 
+        @v.getWindow.hide_all #cache le menu
+        c = CtrlCheckLinks.new
+        urls = c.saisie(0, 'Saisie nom dossier')
+        @v.getWindow.show_all #reaffiche le menu
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ newVerifFile() + click to toggle source +
+ + +
+ +

Acces au controleur vérification d’un fichier CtrlCheckLinks

+ + + +
+
+# File c/Main.rb, line 34
+def newVerifFile 
+        @v.getWindow.hide_all #cache le menu
+        c = CtrlCheckLinks.new
+        urls = c.saisie(1, 'Saisie nom fichier')
+        @v.getWindow.show_all #reaffiche le menu
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/doc/rdoc/ReadFile.html b/doc/rdoc/ReadFile.html new file mode 100644 index 0000000..8b0e54e --- /dev/null +++ b/doc/rdoc/ReadFile.html @@ -0,0 +1,284 @@ + + + + + + + Class: ReadFile + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

ReadFile

+ +
+ +

Classe permettant l’acces et la recuperation des données dans les fichiers

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(pFic) + click to toggle source +
+ + +
+ +

Ouverture d'un fichier en lecture

+
  • +

    String pFic : chemin de fichier à ouvrir

    +
+ + + +
+
+# File m/ReadFile.rb, line 5
+def initialize(pFic) 
+  @fic = File.open(pFic, "r")
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ getALL() + click to toggle source +
+ + +
+ +

Revoit tout le contenu d'un fichier sous forme d'une chaine de +caractere

+
  • +

    return : string contenant tout le texte du fichier

    +
+ + + +
+
+# File m/ReadFile.rb, line 10
+def getALL 
+  all = @fic.read
+  return all
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ getUrls() + click to toggle source +
+ + +
+ +

Sort les URLs d'un fichier

+
  • +

    return : string[] contenant tout les liens http/https du fichier

    +
+ + + +
+
+# File m/ReadFile.rb, line 16
+def getUrls 
+  txt = self.getALL
+  url = URI::extract(txt, /http(s)?/)
+  return url
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/doc/rdoc/Vue1.html b/doc/rdoc/Vue1.html new file mode 100644 index 0000000..9a1e665 --- /dev/null +++ b/doc/rdoc/Vue1.html @@ -0,0 +1,340 @@ + + + + + + + Class: Vue1 + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

Vue1

+ +
+ +

Classe creation de la vue de sélection de fichier ou dossier

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(ctrl, title, type) + click to toggle source +
+ + +
+ +

Creation de la vue

+
  • +

    CtrlCheckLinks ctrl : controleur de la +vue

    +
  • +

    String title : titre de la vue

    +
  • +

    int type : vue pour un fichier (==1) sinon pour un dossier

    +
+ + + +
+
+# File v/Vue1.rb, line 7
+def initialize(ctrl, title, type)
+  @ctrl = ctrl
+  #fenenetre generale
+  @window = Gtk::Window.new
+  @window.set_title(title)
+  
+  #declaration des differents widgets
+  vb = Gtk::VBox.new(true, 6)
+  bot = Gtk::HBox.new(false, 6)
+  
+  #creation de label pour la saisie
+  lab = Gtk::Label.new('Chemin :')
+  bot.pack_start(lab, false, true, 6)
+  
+  #creation du champ de saisie
+  #@nom = Gtk::Entry.new
+  if (type == 1)
+    @nom = Gtk::FileChooserButton.new("choisir un fichier", Gtk::FileChooser::ACTION_OPEN)
+  else
+    @nom = Gtk::FileChooserButton.new("choisir un dossier ", Gtk::FileChooser::ACTION_SELECT_FOLDER)
+  end
+  @nom.set_current_folder("../fichier")
+  bot.pack_start(@nom, true, true)
+  
+  #creation bouton de validation
+  @b = Gtk::Button.new('OK')
+  bot.pack_start(@b)
+  vb.pack_start(bot)
+  ##############################
+  
+  @window.add(vb)
+  
+  # Abbonement fenetre au Listener
+  self.listenerBouton
+  self.listenerDestroy
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ listenerBouton() + click to toggle source +
+ + +
+ +

Listener appuie bouton validation -> test liens fichier

+ + + +
+
+# File v/Vue1.rb, line 60
+def listenerBouton 
+  @chaine = " "
+  @b.signal_connect('clicked'){ 
+  @chaine = @nom.filename
+  if (@chaine =="") #gestion saisie vide
+    m = Gtk::MessageDialog.new(Gtk::Window.new, Gtk::Dialog::DESTROY_WITH_PARENT,
+                          Gtk::MessageDialog::ERROR,
+                          Gtk::MessageDialog::BUTTONS_CLOSE,
+                          "Erreur : Veuillez saisir un fichier ou dossier !")
+           m.run
+           m.destroy  
+  else
+    if(File.directory?(@chaine)) #si c'est un dossier -> utilisation du controleur adéquat
+        @ctrl.recupUrlsDoss(@chaine)
+    else
+      if(File.exist?(@chaine))  #si c'est un fichier -> existant utilisation du controleur adéquat
+        @ctrl.recupUrls(@chaine)
+      else #gestion saisie invalide
+        d = Gtk::MessageDialog.new(Gtk::Window.new, Gtk::Dialog::DESTROY_WITH_PARENT,
+                            Gtk::MessageDialog::ERROR,
+                            Gtk::MessageDialog::BUTTONS_CLOSE,
+                            "Erreur :  Fichier ou dossier inexistant !")
+        d.run
+        d.destroy  
+             end
+    end
+  end
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ listenerDestroy() + click to toggle source +
+ + +
+ +

Listener fermeture fenetre

+ + + +
+
+# File v/Vue1.rb, line 53
+def listenerDestroy 
+  @window.signal_connect('destroy') {
+    @ctrl.destructionFen
+  }
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/doc/rdoc/VueHisto.html b/doc/rdoc/VueHisto.html new file mode 100644 index 0000000..075bd14 --- /dev/null +++ b/doc/rdoc/VueHisto.html @@ -0,0 +1,329 @@ + + + + + + + Class: VueHisto + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

VueHisto

+ +
+ +

Classe creation de la vue permettant d’aceder a l’historique

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(ctrl, title) + click to toggle source +
+ + +
+ +

Creation de la vue

+
  • +

    CtrlCheckHisto ctrl : controleur de la vue

    +
  • +

    String title : titre de la vue

    +
+ + + +
+
+# File v/VueHisto.rb, line 6
+def initialize(ctrl, title)
+  @ctrl = ctrl
+  #fenenetre generale
+  @window = Gtk::Window.new
+  @window.set_title(title)
+  
+  #declaration des differents widgets
+  vb = Gtk::VBox.new(true, 6)
+  bot = Gtk::HBox.new(false, 6)
+  
+  #creation label pour la saisie
+  lab = Gtk::Label.new('Chemin du fichier a rejouer :')
+  bot.pack_start(lab, false, true, 6)
+  
+  #creation champ de saisie
+  @nom = Gtk::FileChooserButton.new("choisir un fichier", Gtk::FileChooser::ACTION_OPEN)
+  @nom.set_current_folder("../sauv")
+  bot.pack_start(@nom, true, true)
+  
+  #creation bouton de validation
+  @b = Gtk::Button.new('OK')
+  bot.pack_start(@b)
+  vb.pack_start(bot)
+  ##############################
+  
+  @window.add(vb)
+  
+  # Abbonement fenetre au Listener
+  self.listenerBouton
+  self.listenerDestroy
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ listenerBouton() + click to toggle source +
+ + +
+ +

Listener appuie bouton validation -> test liens fichier

+ + + +
+
+# File v/VueHisto.rb, line 54
+def listenerBouton 
+  @chaine = " "
+  @b.signal_connect('clicked'){ 
+  @chaine = @nom.filename
+  if (@chaine =="") #gestion saisie vide
+    m = Gtk::MessageDialog.new(Gtk::Window.new, Gtk::Dialog::DESTROY_WITH_PARENT,
+                          Gtk::MessageDialog::ERROR,
+                          Gtk::MessageDialog::BUTTONS_CLOSE,
+                          "Erreur : Veuillez saisir un fichier !")
+           m.run
+           m.destroy  
+  else
+      if(File.exist?(@chaine))  #si c'est un fichier existant utilisation du controleur adéquat
+        @ctrl.rejouer(@chaine)
+      else #gestion saisie invalide
+        d = Gtk::MessageDialog.new(Gtk::Window.new, Gtk::Dialog::DESTROY_WITH_PARENT,
+                            Gtk::MessageDialog::ERROR,
+                            Gtk::MessageDialog::BUTTONS_CLOSE,
+                            "Erreur :  Fichier inexistant !")
+        d.run
+        d.destroy  
+     end
+    
+  end
+  }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ listenerDestroy() + click to toggle source +
+ + +
+ +

Listener fermeture fenetre

+ + + +
+
+# File v/VueHisto.rb, line 47
+def listenerDestroy 
+  @window.signal_connect('destroy') {
+    @ctrl.destructionFen
+  }
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/doc/rdoc/VueMenu.html b/doc/rdoc/VueMenu.html new file mode 100644 index 0000000..65e2882 --- /dev/null +++ b/doc/rdoc/VueMenu.html @@ -0,0 +1,383 @@ + + + + + + + Class: VueMenu + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + + + + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

VueMenu

+ +
+ +

Classe creation vue du menu

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(ctrl, title) + click to toggle source +
+ + +
+ +

Creation de la vue

+
  • +

    Menu ctrl : controleur de la vue

    +
  • +

    String title : titre de la vue

    +
+ + + +
+
+# File v/VueMenu.rb, line 6
+      def initialize(ctrl, title)
+      @ctrl = ctrl
+  #fenenetre generale
+  @window = Gtk::Window.new
+  @window.set_title(title)
+  
+  #declaration des differents widgets
+  vb = Gtk::VBox.new(true, 6)
+  top = Gtk::HBox.new(false, 6)
+  
+  
+  
+  #creation boutons
+  @newFile = Gtk::Button.new('Nouveau test fichier')
+  @newDoss = Gtk::Button.new('Nouveau test dossier')
+  @histo = Gtk::Button.new('Histo')
+ 
+  top.pack_start(@newFile)
+  top.pack_start(@newDoss)
+  top.pack_start(@histo)
+  vb.pack_start(top)
+  ##############################
+  
+  @window.add(vb)
+  
+  # Abbonement fenetre au Listener
+  self.listenerBoutonNewFile
+  self.listenerBoutonNewDossier
+  self.listenerBoutonHisto
+  self.listenerDestroy
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ listenerBoutonHisto() + click to toggle source +
+ + +
+ +

Listener appuie bouton validation pour rejouer un fichier dans de +l'historique

+ + + +
+
+# File v/VueMenu.rb, line 54
+def listenerBoutonHisto
+      @histo.signal_connect('clicked'){ 
+              @ctrl.histo
+      }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ listenerBoutonNewDossier() + click to toggle source +
+ + +
+ +

Listener appuie bouton validation nouvelle vérification de 1 dossier

+ + + +
+
+# File v/VueMenu.rb, line 48
+def listenerBoutonNewDossier
+      @newDoss.signal_connect('clicked'){ 
+              @ctrl.newVerifDossier
+      }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ listenerBoutonNewFile() + click to toggle source +
+ + +
+ +

Listener appuie bouton nouvelle vérification de 1 fichier

+ + + +
+
+# File v/VueMenu.rb, line 42
+def listenerBoutonNewFile
+      @newFile.signal_connect('clicked'){ 
+              @ctrl.newVerifFile
+      }
+end
+
+ +
+ + + + +
+ + +
+ + + +
+ listenerDestroy() + click to toggle source +
+ + +
+ +

Listener fermeture fenetre Menu

+ + + +
+
+# File v/VueMenu.rb, line 60
+def listenerDestroy 
+  @window.signal_connect('destroy') {
+     @ctrl.destructionMenu
+  }
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/doc/rdoc/VueResult.html b/doc/rdoc/VueResult.html new file mode 100644 index 0000000..aea5ac2 --- /dev/null +++ b/doc/rdoc/VueResult.html @@ -0,0 +1,263 @@ + + + + + + + Class: VueResult + + + + + + + + + + + +
+
+
+

+ Home + Classes + Methods +

+
+
+ +
+
+

In Files

+
+ +
+
+ + +
+ +
+ + +
+

Parent

+ + + +
+ + + + + + + + +
+

Methods

+ +
+ + + +
+ +
+ + + +
+

Class/Module Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

VueResult

+ +
+ +

Classe creation de la vue des resultats

+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ + + +
+ new(liste_result, title) + click to toggle source +
+ + +
+ +

Creation de la vue

+
  • +

    String liste_result : contient les resultats a afficher

    +
  • +

    String title : titre de la vue

    +
+ + + +
+
+# File v/VueResult.rb, line 6
+def initialize(liste_result, title)
+  #fenenetre generale
+  @window = Gtk::Window.new
+  @window.set_title(title)
+  
+  #declaration des differents widgets
+  vb = Gtk::VBox.new(true, 6)
+  vh = Gtk::HBox.new(false, 6)
+  
+  #creation label resultat
+  if(liste_result != "")
+    res = Gtk::Label.new(liste_result)
+  else
+    res = Gtk::Label.new("Pas de liens trouves")
+  end
+  vh.pack_start(res, false, true, 6)
+  vb.pack_start(vh)
+  
+  # Abbonement fenetre au Listener
+  @window.add(vb)
+  self.listenerDestroy
+end
+
+ +
+ + + + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + + +
+ listenerDestroy() + click to toggle source +
+ + +
+ +

Listener fermeture Resultat

+ + + +
+
+# File v/VueResult.rb, line 34
+def listenerDestroy 
+  @window.signal_connect('destroy') {
+    @window.destroy
+    Gtk.main_quit
+  }
+end
+
+ +
+ + + + +
+ + +
+ +
+ + +
+ +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + + + diff --git a/doc/rdoc/c/CtrlCheckLinks_rb.html b/doc/rdoc/c/CtrlCheckLinks_rb.html new file mode 100644 index 0000000..f2f24dc --- /dev/null +++ b/doc/rdoc/c/CtrlCheckLinks_rb.html @@ -0,0 +1,55 @@ + + + + + + + + File: CtrlCheckLinks.rb [RDoc Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-01-17 09:14:28 +0100
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +

Controleur de la vérification de la validité des liens ainsi que la vue Vue1 et VueResult

+ +
+ +
+ + + diff --git a/doc/rdoc/c/CtrlHistoLink_rb.html b/doc/rdoc/c/CtrlHistoLink_rb.html new file mode 100644 index 0000000..2a9b9d2 --- /dev/null +++ b/doc/rdoc/c/CtrlHistoLink_rb.html @@ -0,0 +1,55 @@ + + + + + + + + File: CtrlHistoLink.rb [RDoc Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-01-17 09:14:51 +0100
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +

Classe permettant de gzrer l’historique de fichier traité et la vue VueHisto

+ +
+ +
+ + + diff --git a/doc/rdoc/c/Main_rb.html b/doc/rdoc/c/Main_rb.html new file mode 100644 index 0000000..6f59990 --- /dev/null +++ b/doc/rdoc/c/Main_rb.html @@ -0,0 +1,72 @@ + + + + + + + + File: Main.rb [RDoc Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-01-17 09:15:20 +0100
+ + +
Requires
+
+
    + +
  • gtk2
  • + +
  • net/ping
  • + +
  • ./CtrlCheckLinks
  • + +
  • ./CtrlHistoLink
  • + +
  • ../m/ReadFile
  • + +
  • ../v/Vue1
  • + +
  • ../v/VueResult
  • + +
  • ../v/VueMenu
  • + +
  • ../v/VueHisto
  • + +
+
+ + + +
+
+ +
+ +
+

Description

+ +

lib

+ +
+ +
+ + + diff --git a/doc/rdoc/c/hello_rb.html b/doc/rdoc/c/hello_rb.html new file mode 100644 index 0000000..a9b2a97 --- /dev/null +++ b/doc/rdoc/c/hello_rb.html @@ -0,0 +1,52 @@ + + + + + + + + File: hello.rb [RDoc Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2013-12-20 08:13:20 +0100
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +
+ +
+ + + diff --git a/doc/rdoc/created.rid b/doc/rdoc/created.rid new file mode 100644 index 0000000..0434c74 --- /dev/null +++ b/doc/rdoc/created.rid @@ -0,0 +1,10 @@ +Fri, 17 Jan 2014 09:17:21 +0100 +./m/ReadFile.rb Fri, 17 Jan 2014 09:15:38 +0100 +./c/Main.rb Fri, 17 Jan 2014 09:15:20 +0100 +./c/hello.rb Fri, 20 Dec 2013 08:13:20 +0100 +./c/CtrlCheckLinks.rb Fri, 17 Jan 2014 09:14:28 +0100 +./c/CtrlHistoLink.rb Fri, 17 Jan 2014 09:14:51 +0100 +./v/Vue1.rb Fri, 17 Jan 2014 09:16:01 +0100 +./v/VueHisto.rb Fri, 17 Jan 2014 09:16:27 +0100 +./v/VueResult.rb Fri, 17 Jan 2014 09:17:09 +0100 +./v/VueMenu.rb Fri, 17 Jan 2014 09:16:56 +0100 diff --git a/doc/rdoc/images/brick.png b/doc/rdoc/images/brick.png new file mode 100644 index 0000000000000000000000000000000000000000..7851cf34c946e5667221e3478668503eb1cd733f GIT binary patch literal 452 zcmV;#0XzPQP)Pdwe5?6tW?r-ok|b$oDQj8FV%kZPq;(MWOV8?8;<)(iP}>hNMU> z7fbz%jjlr7h8uuoQ~J6}n}@Y@PdTk=)PxO{%7zmL?dchpZX*~n;I{!C>*(8cU;q(~ zAS%Po_@naEU!xidrBXD?;hN|x^%W|Ij)0y*r5vi|?W&Fub(NqJ@z0o=OBg~(>J-;&AXAH03!5{bn34+6I1FXd(_pin4a zI-SC@EWBPXjK^c)_{JXga>f==>d*h(*6TGgnGA-*p&*@3lY39}6oFhW_fr9r$%KxA zcDs#Isf1W8Mz9u+X-w0^Xfy(6!r^d2Q%>f5K1Z+DL%-h_N4md#cA{>#i+a6|YPE_` zC}e6Xo^ik5aX1{XTrRO%t)TY9VzICjv2He-n9XLWR4RhOV1QsSXlSWaN(8RgD=wD{ zHk*ya?Q}YHv|V{b4%TWl0n-Ko0fPq=0mCqGI-PJl9--^HxN@~ttHnWy%w$YL0UG%I zenV6L_V?rQ!0mR!Znu*)lqlS8HzJV;91aKa`8>+yGMrAQa4wgN2ZYz_eQNP|yh8Qu zc8l}*44==(2kiHIipjw^;PH5vNVtCkx(ci&BO~K612CG{fQch@;lhQtr%s*vzpAS0 z|2bg7sjI8|@9XRPKQ%S=|D;Ki{#RC3g4sSkJ|KC>nG-QC^)@7=o>6kuTg1C#lGM@PqB4Gj${AOo73n!cl?Yh7L4OrYtXKnA3x zrTuqtary7&=Jr1@Fc5@6Y_I`AK|wn~2BfE_zeh1Z69|CLzTVs0`yLp*pFpW?`t<4l z3kwVXS5#Dh*&s2X+*^kYb0aOesd3$(J3}<>_;7cx~d<$PPloatb%bJRg4ee!` zi!=PP?btJi3iWFxd9YT6C}alZA>*)?PtJui4jLE)BcP);!@hZz1ZBj{NyLyKRFa;F-) zSuGx~Sz(#e;mOJXggpWXy7+%m+j*u#Z$M3m!+LKq>~BnH_GwTym5mbD1w2~qgK4G+ z)suM)zy?7FA1M~@ZgMjTej|Y>Kt7uOw?1INgOv`HPv_v`R6gvBoiMtzFihmZI&VhP zv=PZ>E>arFlaU^>j(sZ%pdU&H)9pg^E_I;9p@Ds&3r42~RpYtne_@8=wha6m%+v<5 z=GcEA9z4B9wz4t#b_Bh_MqG1fnC52OoNWWIfdIFj1G1JKCJe0BSU@zQZo!(UOMoV4 zJuI#Uh|Ge$MqVAKhG|rDDw8(ZWr<*2P9URz*rZwb&SVquk9(a1#uG#}>;1v~ScSMD wuCg{b6-i)UNhIR{;)kVA*h$hQY#p`tAGa)V6Fk;KYybcN07*qoM6N<$f@gh0ivR!s literal 0 HcmV?d00001 diff --git a/doc/rdoc/images/bullet_black.png b/doc/rdoc/images/bullet_black.png new file mode 100644 index 0000000000000000000000000000000000000000..57619706d10d9736b1849a83f2c5694fbe09c53b GIT binary patch literal 211 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^zbpD<_bdI{u9mbgZg z1m~xflqVLYGB~E>C#5QQ<|d}62BjvZR2H60wE-$h^>lFz(Kw&{<9vg>5sw~gS5O!4 zr|{HuUFIBKiQyL}eBJ-L{`UVT|6_O~L{G%N{Wbre{kQtZ_0LvEhC#5QQ<|d}62BjvZR2H60wE-$h^mK6y(Kw&{<9vg>(S^W+6Zii9 z|Nhthr~iNb*Z!}6uiN$Dz5neG3a-`baBX8yz1H+_;eX)`ni0%X8XBDc-`=Ph(Uan2 zYsR{H!kvIN--9isvHznRsC#5QQ<|d}62BjvZR2H60wE-$h_H=O!(Kw&{<9vg>(S^W+6Zii9 z|Nhthr~iNb*Z!}6uiN$Dz5neG3a-`baBX8yz4q@v|B?28{s)#N@CGn3@%_y|zAV9T z66e<&B4?b6oF&azg|C(V&1ZbI_D}pL`}(^FT2yXwG1Ph~$Q@h8mJYOz!PC{xWt~$( F699+YQR)By literal 0 HcmV?d00001 diff --git a/doc/rdoc/images/date.png b/doc/rdoc/images/date.png new file mode 100644 index 0000000000000000000000000000000000000000..ce6656f4635427f104b0216de83f087f9868ad0c GIT binary patch literal 570 zcmV-A0>%A_P)6e@OP0KM681T#fLU2g(gz9 zK16HLC`EifPUj4ENJ(wTz;U>9@A=KWj=lmQC6>W#Hovjk?QxUI^j5@1o=s)6SS+ud zPG^KQJX1b?WW*K`O1RyqR4RyFUCEf|e{we-kIa3#zE(L2AdSJ7#YNodI!dJyzKZ?x z{5&4!=A>>72Hb_iGRK-1x1#Y&tQP|u>VQme`e82E$W8YikQX&(2Ui zJ;jfc6O;t3aCC&60A&Rzv%8D5=qj_Zfd`}UZ$K;-!)P>`so`*lZnrDN#WQ+l0^031 z5{U#FjRxZJI3kenY0GeGcm%O>(@1t6+A{Y$HcrX~C*Xtn~jXnXeKtVK3 zQ^h`?59M+holXa>RtwE$b2eZq1>o&ouU9@{E|)_#n?*XE=2*`I*uLNIr07*qo IM6N<$f^Mb$00000 literal 0 HcmV?d00001 diff --git a/doc/rdoc/images/find.png b/doc/rdoc/images/find.png new file mode 100644 index 0000000000000000000000000000000000000000..0a4aebd5db023be0dfe3b15aeaf3d7fe33dc9406 GIT binary patch literal 604 zcmV-i0;BzjP)WW%2StrO?|2k|E_SO;c@#-`pP%7BXIzDMhJ90q9s8<0^{^S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{Eq?u*kn+nT zQ@k8?r`Isov^UI2=T{#K~skC)fRP-aj zcrJyQmQ!u>p5&{_zp7xOM(Q%smb6M%g6o4s^>A8#L41?8Ox^e7CM$W~*3!e8F7P`S zK9!26tqJVBt`?fLxM^Gf`xAacdcbz&)u<6pKM?qA_ms76BOQWg0Le^W#?SMIT$jE7 zyw1!lG*$#k#iqZyl9~L_CjIwBb}$%9+e2Vw!1@$nfpvj1y2o4hJabo7^;(V}>++Tz z{|NtdydBeFpKnv*Vg9BTu3P)+)3J?9`*6t|c{b*k>-L!PvY`#5^i1^XCnxh zky})0T&rp6 zJFwUVv-;Dzt2_z1)}rtpHBQH#<-`N0%%UP1TF^VNx2@~Zh_4nbMMxj7zeHTrB&q)a Dl)1NK literal 0 HcmV?d00001 diff --git a/doc/rdoc/images/macFFBgHack.png b/doc/rdoc/images/macFFBgHack.png new file mode 100644 index 0000000000000000000000000000000000000000..f11f6c4cf80f7469f63ea374fd7b63a82ab904de GIT binary patch literal 99 zcmeAS@N?(olHy`uVBq!ia0vp^k|4~%3?x6Bmj(hU<^Z1%S0KH-%JvqJVk`;r3*Ikn rQC1D)@Oip8hEy;nONbE7(#>TX_?0ODV7x+EV(^_5o~ZDLx;6+ma=V_Tt=}obTu4obx>@;GHqr zR**5;dZ@|SeDF`l@0yR()xDK)bsSzR#9C+Tp=ikd3p4$fus_IIeA#fI;>F$Ub!h=( zorSA}_}FM$zS}=k%}OGG5}#&aqKPG6E8eH4cwWEPGkiPi+o4}G-}@iH)mfP9YCmlB zn15m^@*IeRB9jU~W32HAOU`nV-Ub#NwYXcqX7JYMmVq0e7JvWiKW4Z$ac$io%%Rc6R4dt;uw@(;iX3xg1~fb^J@yPA1J5lN#4 zS)a*VZyvMy90Kjx1X}Wl*e+o%+ajyPeFfm(5sV)8Z@YSPuuOgW>qO+PnTNYEl?PjuW z7lDp%h?q(+o&O-A8qukrjO$Mm_jg0w4G{zQbue8g05yaRxuWwPrW!uO-&91{d=cNn z@3B=Kq^D$~K_#5ES~%;NFo)ao^hZ`AeX!6E!Fwp48fG5v6W7QgYAZuB6f=D7OM0}M zJjUXU-x<%nzve$H3umqEzy8U2VUDQZR1B{KBx+)Qq#Sv$3}^jUm@a&{D8!Y<;tlK5 zK9lX|of+1u?K;clZHhE-g{jUHST3s(^FHV)+4R;|rhR8~`PSUt(k)$L(QqUjAtB;_Vvt6}AS_5YgM`Uqu`yva+H8^=4U$e4gHb}u zAQ2N{V3A%pO|?Pv?tb6z=jC}SiRa$G^v3q?*6XcYz$p|cq{uLj@#~Fi`J(>5{@&&N zy%T^+;>8cXx%|o77anP?&W1?1A(>-T49z9pyeCl@7YI+Si zKti7=B~``}TImz(G{0PnlQA3P#MAd}sorMjkP!50B7$nAkU^%#nl{Q9lW0@}9fE-> zN(q7tRuiC_T1r|BBtVBTlQ2+70$Rf;eF`Z;lx46Cpu-rEgb)EBKq(b^W8l<^We(`D z43?0=01z<3G6+UUv6`CsWCk6^93!#+<;ws7007{zS3k2k9-zZKFO~(k`>s0y006+1 zgF_jyIhsL-`FMf~JL~C=cV75(CrJ|q;MVO961G=O zm9d)YpJg5g(4i_HKL75eSE}mq$Y}r}hyVdcV~p>6a}oXr80q`oj%+s700000NkvXX Hu0mjfPs|!l literal 0 HcmV?d00001 diff --git a/doc/rdoc/images/page_white_text.png b/doc/rdoc/images/page_white_text.png new file mode 100644 index 0000000000000000000000000000000000000000..813f712f726c935f9adf8d2f2dd0d7683791ef11 GIT binary patch literal 342 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^zbpD<_bdI{u9mbgZg z1m~xflqVLYGB~E>C#5QQ<|d}62BjvZR2H60wE-%6;pyTSA|c6o&@eC9QG)Hj&ExYL zO&oVL^)+cM^qd@ApywS>pwx0H@RDN}hq;7mU-SKczYQ-hnrr=;iDAQMZQ+*g=YOM= z!QlMQEn7FbaD->uKAYgo_j9)W&$$zS*W9}m(ey0q$&7l-XEWO0Y(9M=SnhLbwy;d>@~SY$Ku*0xPvIOQeV1x7u_z-2-X>_74(yfh7C znXL|3GZ+d2`3re2hs?MKC#5QQ<|d}62BjvZR2H60wE-$R?&;zfqH(@;q9b3Efq-lM(nr^( z=EYR73-9e)UYMWsXy%?aZsD68Yyv^2$~6QgEcljw%kx>O(f-gQ?@fOOx3A-0+Qw?O zRx~W)kn~Qe2d6f9nMG#g9Q04Mk==M~N!Dglvxk!fgVh#w@ZV$IY1+Xc`d{d2UcaP~ zfWp)_Ivqj}l2SPy^9ZWy6rG9Yx4v67_uA&&9|XA~5-#3)W3%em1peD8RWH^#O%XoM zxMPud%}GTj#~*+7JMxTd!`{^Q+>(D3*|@KV`*G2;{QnANOxu1$r2xIe;OXk;vd$@? F2>@zac~<}c literal 0 HcmV?d00001 diff --git a/doc/rdoc/images/plugin.png b/doc/rdoc/images/plugin.png new file mode 100644 index 0000000000000000000000000000000000000000..6187b15aec001b7080b51a5f944f07591f26cc15 GIT binary patch literal 591 zcmV-V0eEcNHZMNv|IbJ-M`( zKwWL~opzjJe^WpCmV9E;(0&ut2;4va_(#>M8)>9$R5viQnf(Nkh~VM$y>J(jqb$cj z+nL1Nm|mV)Gm|9MnHf*7Ja4OEAQz__^LRKOLEwqpiGV^^A*T=#&inGm-62Xs;dnSp zKj&H9T*boh2i)W+(n27l!C)>fq|L%VB1i ziC4p;NwV_}ZjW7$LRW#(_bKF#hp=!IqNO26Z*w2+LEwx{PVnZ&Sn}T;mtzb$;qA*nT@@+ zV5uQ@iXDTPoTbV#FRr~z04|PPh`wXTNoCm9*tG&?e3+fYl>K6+&3|Cc$KOpL`ER+_ dcRl5U#9zn6ZO}GFD}{2Ay{j6@AS4Rg?sMXqwAq8jV$K2)P$qgsfhi3!?1A;q=7Qia-QG5D!F* z>ZCkTib4goV9d0EL)_l?X-@a$`(8b(qadR2#DnYb_j|bR`+oKSJ7SjT0rmeSB;8qgyN2v_m%AU+-Y+O0#9t?s$`X_y}`&m_j&= zc27n6X0(GP&Hr>r8|Q2HrB0uV`ZNFl002ovPDHLkV1h___lf`j literal 0 HcmV?d00001 diff --git a/doc/rdoc/images/tag_green.png b/doc/rdoc/images/tag_green.png new file mode 100644 index 0000000000000000000000000000000000000000..e865090d33b49b2784466da3a1d28575c9550df2 GIT binary patch literal 556 zcmV+{0@MA8P)Y>?*~w zEUZ?mjq3ON0+P*UcS01pOaj}s#pQ0dD2#1xCJ~RvHy{eXEG;jWOOSZ-^BbNX zU&BM+J`BqzX6<&HTp${au0a%@kxeEOu{590G5X%a(eYKh`g{xTPVV9v2mOPzS}k&c zU@#~lN-meX%rmm_cr2E_+Ic)u_wh!*gOA1oyg#|O25B~%Mm8Fa z#8RVI#1sDk-s*=Ea-+3K76^4m!TVYq20t{ zITtR%;V?WN&&9PD<@ubtuCu{lAR&)GUBUCfb-a!p;`g6lXT_IfgtHZk#hj5ygwanF zc5Rc3Z)0}Kq}c6t3-ML}RVWm41_A*_KaoS^uod7CT uRUKZhmyy`zatZN&0jT&@2Nz#BZ~hng7$~bspwCYL0000iy{9B9~V~kf`dFizny^t)+0tE_KAeMpD7IvWv&UG_};YLNpmM@cPv&x5G zunZX$boFZSqGpe$UXdJy?Be7k=j8W$pZ7ThVD8D~avn*NI-)2#f*?54e{RfUz@5Qh0L!vaDwU8-CQl~FWHOFB-7pOBJg>TM@pv2@#~~VxI&%di z^6y@+hgz+ML?ZDz7K>@JETh})f@Rs+f>bJXjzm6gwOVL4n<$sdP!t8Ks-jx0A{Y#I z{t4dM_{xX#p9~V&X*3$pbsg?quh*ez8Y-0v0)fDh-|zQOaAa+tmr52g&qm*Pq)`ho6C>uYaytBb=4zM7a2#3SJLZQ%UD($o&nBV6G z0zW5UzB0yx7vE55{($e{95 zCG~M}iGpdt^?RSmu7?nJEVyf|6Zj^9&oAyi0S(ZCYj;2DZc*#%1dl2c+z`It>;etX pEb$84Zj+*LVR08{yc9h1`~h-m`B5`7fjR&H002ovPDHLkV1nps{UQJW literal 0 HcmV?d00001 diff --git a/doc/rdoc/images/wrench_orange.png b/doc/rdoc/images/wrench_orange.png new file mode 100644 index 0000000000000000000000000000000000000000..843f3a258912c8bff9ad43123bf3cf5f0d3e60e8 GIT binary patch literal 526 zcmV+p0`dKcP)=Tu3P{T)A}VR+l1(;-YjR;>y`cX=}}6@@gJBF>%H`DA-u50mUY*38}_R zUgBsV#AKCC2xOOq5Clhhyn`+R(oleOP@7_^3a6oR2pF8(y zx7+0NdHjC=kri1?HC--O*WqwT_7Zn2_#u4Xg>SDQD=~h)gwN;uB~ty{fCzna;spxgpXm^6QU0?)Dn=s1&#}^PZqqmt+2NO zMg|T;@LrtvU7%}_ya^lUv(tcGkh%_Ex1qEN?;b$@k$_bJ-+=W+8*CTEu0mrA4qTAi zfXXw_gmiV`t@UBP;K^k}6!i}*KLzy~temsKvrCjO{t!jM`htMZ+TdC1FW!;(>5E|& Q>;M1&07*qoM6N<$g6~Z9eE1 zZ%7ky7zglPM)WEI-vmXku6LEu5t$UZoVm66=XToMwXF?xNh^$Kbvj3DGBL-Dk~t%# zZX2zbFS0rI$L7p!u-%|Yp`xOoD~=%OMGzdnp0gVWC;8&@=6Jr}-#x#(EeN4CY^V!o z!&Hn7oA^q^BCsK|P?|CDg()(&e6J0c=4Aeb!vZE=pxR(lZMn=LZ#7+M|*e6d&mM z{6xFBf>H|Fq_7p72S!jIzoDS#osIGpmIFHY&IBu76wpaQ3ouDx4cL`%HT{0>I9Zex zq(>REwJStwitdzT1 zhz~aYOuAI)-NG>X_U0k_zRIAt$srWA91|ku!!^}{|C+s2Z^({yppP$oh + + + + + + + RDoc Documentation + + + + + + + + + + + + +

RDoc Documentation

+ + +

This is the API documentation for 'RDoc Documentation'.

+ + + + + +

Classes/Modules

+ + +

Methods

+ + +
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 2.

+
+ + diff --git a/doc/rdoc/m/ReadFile_rb.html b/doc/rdoc/m/ReadFile_rb.html new file mode 100644 index 0000000..78ce7a0 --- /dev/null +++ b/doc/rdoc/m/ReadFile_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: ReadFile.rb [RDoc Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-01-17 09:15:38 +0100
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +

Classe permettant l’acces et la recuperation des données dans les fichiers

+ +
+ +
+ + + diff --git a/doc/rdoc/rdoc.css b/doc/rdoc/rdoc.css new file mode 100644 index 0000000..ea91421 --- /dev/null +++ b/doc/rdoc/rdoc.css @@ -0,0 +1,763 @@ +/* + * "Darkfish" Rdoc CSS + * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $ + * + * Author: Michael Granger + * + */ + +/* Base Green is: #6C8C22 */ + +*{ padding: 0; margin: 0; } + +body { + background: #efefef; + font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif; +} +body.class, body.module, body.file { + margin-left: 40px; +} +body.file-popup { + font-size: 90%; + margin-left: 0; +} + +h1 { + font-size: 300%; + text-shadow: rgba(135,145,135,0.65) 2px 2px 3px; + color: #6C8C22; +} +h2,h3,h4 { margin-top: 1.5em; } + +:link, +:visited { + color: #6C8C22; + text-decoration: none; +} +:link:hover, +:visited:hover { + border-bottom: 1px dotted #6C8C22; +} + +pre { + background: #ddd; + padding: 0.5em 0; +} + + +/* @group Generic Classes */ + +.initially-hidden { + display: none; +} + +.quicksearch-field { + width: 98%; + background: #ddd; + border: 1px solid #aaa; + height: 1.5em; + -webkit-border-radius: 4px; +} +.quicksearch-field:focus { + background: #f1edba; +} + +.missing-docs { + font-size: 120%; + background: white url(images/wrench_orange.png) no-repeat 4px center; + color: #ccc; + line-height: 2em; + border: 1px solid #d00; + opacity: 1; + padding-left: 20px; + text-indent: 24px; + letter-spacing: 3px; + font-weight: bold; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; +} + +.target-section { + border: 2px solid #dcce90; + border-left-width: 8px; + padding: 0 1em; + background: #fff3c2; +} + +/* @end */ + + +/* @group Index Page, Standalone file pages */ +body.indexpage { + margin: 1em 3em; +} +body.indexpage p, +body.indexpage div, +body.file p { + margin: 1em 0; +} + +.indexpage .rdoc-list p, .file .rdoc-list p { + margin: 0em 0; +} + +.indexpage ol, +.file #documentation ol { + line-height: 160%; +} + +.indexpage ul, +.file #documentation ul { + line-height: 160%; + list-style: none; +} +.indexpage ul :link, +.indexpage ul :visited { + font-size: 16px; +} + +.indexpage li, +.file #documentation li { + padding-left: 20px; +} + +.indexpage ol, +.file #documentation ol { + margin-left: 20px; +} + +.indexpage ol > li, +.file #documentation ol > li { + padding-left: 0; +} + +.indexpage ul > li, +.file #documentation ul > li { + background: url(images/bullet_black.png) no-repeat left 4px; +} +.indexpage li.module { + background: url(images/package.png) no-repeat left 4px; +} +.indexpage li.class { + background: url(images/ruby.png) no-repeat left 4px; +} +.indexpage li.file { + background: url(images/page_white_text.png) no-repeat left 4px; +} +.file li p, +.indexpage li p { + margin: 0 0; +} + +/* @end */ + +/* @group Top-Level Structure */ + +.class #metadata, +.file #metadata, +.module #metadata { + float: left; + width: 260px; +} + +.class #documentation, +.file #documentation, +.module #documentation { + margin: 2em 1em 5em 300px; + min-width: 340px; +} + +.file #metadata { + margin: 0.8em; +} + +#validator-badges { + clear: both; + margin: 1em 1em 2em; +} + +/* @end */ + +/* @group Metadata Section */ +#metadata .section { + background-color: #dedede; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border: 1px solid #aaa; + margin: 0 8px 16px; + font-size: 90%; + overflow: hidden; +} +#metadata h3.section-header { + margin: 0; + padding: 2px 8px; + background: #ccc; + color: #666; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-bottom: 1px solid #aaa; +} +#metadata #home-section h3.section-header { + border-bottom: 0; +} + +#metadata ul, +#metadata dl, +#metadata p { + padding: 8px; + list-style: none; +} + +#file-metadata ul { + padding-left: 28px; + list-style-image: url(images/page_green.png); +} + +dl.svninfo { + color: #666; + margin: 0; +} +dl.svninfo dt { + font-weight: bold; +} + +ul.link-list li { + white-space: nowrap; +} +ul.link-list .type { + font-size: 8px; + text-transform: uppercase; + color: white; + background: #969696; + padding: 2px 4px; + -webkit-border-radius: 5px; +} + +/* @end */ + + +/* @group Project Metadata Section */ +#project-metadata { + margin-top: 3em; +} + +.file #project-metadata { + margin-top: 0em; +} + +#project-metadata .section { + border: 1px solid #aaa; +} +#project-metadata h3.section-header { + border-bottom: 1px solid #aaa; + position: relative; +} +#project-metadata h3.section-header .search-toggle { + position: absolute; + right: 5px; +} + + +#project-metadata form { + color: #777; + background: #ccc; + padding: 8px 8px 16px; + border-bottom: 1px solid #bbb; +} +#project-metadata fieldset { + border: 0; +} + +#no-class-search-results { + margin: 0 auto 1em; + text-align: center; + font-size: 14px; + font-weight: bold; + color: #aaa; +} + +/* @end */ + + +/* @group Documentation Section */ +.description { + font-size: 100%; + color: #333; +} + +.description p { + margin: 1em 0.4em; +} + +.description li p { + margin: 0; +} + +.description ul { + margin-left: 1.5em; +} +.description ul li { + line-height: 1.4em; +} + +.description dl, +#documentation dl { + margin: 8px 1.5em; + border: 1px solid #ccc; +} +.description dl { + font-size: 14px; +} + +.description dt, +#documentation dt { + padding: 2px 4px; + font-weight: bold; + background: #ddd; +} +.description dd, +#documentation dd { + padding: 2px 12px; +} +.description dd + dt, +#documentation dd + dt { + margin-top: 0.7em; +} + +#documentation .section { + font-size: 90%; +} + +#documentation h2.section-header { + margin-top: 2em; + padding: 0.75em 0.5em; + background: #ccc; + color: #333; + font-size: 175%; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +#documentation h3.section-header { + margin-top: 2em; + padding: 0.25em 0.5em; + background-color: #dedede; + color: #333; + font-size: 150%; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +#constants-list > dl, +#attributes-list > dl { + margin: 1em 0 2em; + border: 0; +} +#constants-list > dl dt, +#attributes-list > dl dt { + padding-left: 0; + font-weight: bold; + font-family: Monaco, "Andale Mono"; + background: inherit; +} +#constants-list > dl dt a, +#attributes-list > dl dt a { + color: inherit; +} +#constants-list > dl dd, +#attributes-list > dl dd { + margin: 0 0 1em 0; + padding: 0; + color: #666; +} + +.documentation-section h2 { + position: relative; +} + +.documentation-section h2 a { + position: absolute; + top: 8px; + right: 10px; + font-size: 12px; + color: #9b9877; + visibility: hidden; +} + +.documentation-section h2:hover a { + visibility: visible; +} + +/* @group Method Details */ + +#documentation .method-source-code { + display: none; +} + +#documentation .method-detail { + margin: 0.5em 0; + padding: 0.5em 0; + cursor: pointer; +} +#documentation .method-detail:hover { + background-color: #f1edba; +} +#documentation .method-heading { + position: relative; + padding: 2px 4px 0 20px; + font-size: 125%; + font-weight: bold; + color: #333; + background: url(images/brick.png) no-repeat left bottom; +} +#documentation .method-heading :link, +#documentation .method-heading :visited { + color: inherit; +} +#documentation .method-click-advice { + position: absolute; + top: 2px; + right: 5px; + font-size: 10px; + color: #9b9877; + visibility: hidden; + padding-right: 20px; + line-height: 20px; + background: url(images/zoom.png) no-repeat right top; +} +#documentation .method-detail:hover .method-click-advice { + visibility: visible; +} + +#documentation .method-alias .method-heading { + color: #666; + background: url(images/brick_link.png) no-repeat left bottom; +} + +#documentation .method-description, +#documentation .aliases { + margin: 0 20px; + color: #666; +} + +#documentation .method-description p, +#documentation .aliases p { + line-height: 1.2em; +} + +#documentation .aliases { + padding-top: 4px; + font-style: italic; + cursor: default; +} +#documentation .method-description p { + padding: 0; +} +#documentation .method-description p + p { + margin-bottom: 0.5em; +} +#documentation .method-description ul { + margin-left: 1.5em; +} + +#documentation .attribute-method-heading { + background: url(images/tag_green.png) no-repeat left bottom; +} +#documentation #attribute-method-details .method-detail:hover { + background-color: transparent; + cursor: default; +} +#documentation .attribute-access-type { + font-size: 60%; + text-transform: uppercase; + vertical-align: super; + padding: 0 2px; +} +/* @end */ + +/* @end */ + + + +/* @group Source Code */ + +div.method-source-code { + background: #262626; + color: #efefef; + margin: 1em; + padding: 0.5em; + border: 1px dashed #999; + overflow: hidden; +} + +div.method-source-code pre { + background: inherit; + padding: 0; + color: white; + overflow: auto; +} + +/* @group Ruby keyword styles */ + +.ruby-constant { color: #7fffd4; background: transparent; } +.ruby-keyword { color: #00ffff; background: transparent; } +.ruby-ivar { color: #eedd82; background: transparent; } +.ruby-operator { color: #00ffee; background: transparent; } +.ruby-identifier { color: #ffdead; background: transparent; } +.ruby-node { color: #ffa07a; background: transparent; } +.ruby-comment { color: #b22222; font-weight: bold; background: transparent; } +.ruby-regexp { color: #ffa07a; background: transparent; } +.ruby-value { color: #7fffd4; background: transparent; } + +/* @end */ +/* @end */ + + +/* @group File Popup Contents */ + +.file #metadata, +.file-popup #metadata { +} + +.file-popup dl { + font-size: 80%; + padding: 0.75em; + background-color: #dedede; + color: #333; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} +.file dt { + font-weight: bold; + padding-left: 22px; + line-height: 20px; + background: url(images/page_white_width.png) no-repeat left top; +} +.file dt.modified-date { + background: url(images/date.png) no-repeat left top; +} +.file dt.requires { + background: url(images/plugin.png) no-repeat left top; +} +.file dt.scs-url { + background: url(images/wrench.png) no-repeat left top; +} + +.file dl dd { + margin: 0 0 1em 0; +} +.file #metadata dl dd ul { + list-style: circle; + margin-left: 20px; + padding-top: 0; +} +.file #metadata dl dd ul li { +} + + +.file h2 { + margin-top: 2em; + padding: 0.75em 0.5em; + background-color: #dedede; + color: #333; + font-size: 120%; + border: 1px solid #bbb; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +/* @end */ + + + + +/* @group ThickBox Styles */ +#TB_window { + font: 12px Arial, Helvetica, sans-serif; + color: #333333; +} + +#TB_secondLine { + font: 10px Arial, Helvetica, sans-serif; + color:#666666; +} + +#TB_window :link, +#TB_window :visited { color: #666666; } +#TB_window :link:hover, +#TB_window :visited:hover { color: #000; } +#TB_window :link:active, +#TB_window :visited:active { color: #666666; } +#TB_window :link:focus, +#TB_window :visited:focus { color: #666666; } + +#TB_overlay { + position: fixed; + z-index:100; + top: 0px; + left: 0px; + height:100%; + width:100%; +} + +.TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;} +.TB_overlayBG { + background-color:#000; + filter:alpha(opacity=75); + -moz-opacity: 0.75; + opacity: 0.75; +} + +* html #TB_overlay { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_window { + position: fixed; + background: #ffffff; + z-index: 102; + color:#000000; + display:none; + border: 4px solid #525252; + text-align:left; + top:50%; + left:50%; +} + +* html #TB_window { /* ie6 hack */ + position: absolute; + margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_window img#TB_Image { + display:block; + margin: 15px 0 0 15px; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + border-top: 1px solid #666; + border-left: 1px solid #666; +} + +#TB_caption{ + height:25px; + padding:7px 30px 10px 25px; + float:left; +} + +#TB_closeWindow{ + height:25px; + padding:11px 25px 10px 0; + float:right; +} + +#TB_closeAjaxWindow{ + padding:7px 10px 5px 0; + margin-bottom:1px; + text-align:right; + float:right; +} + +#TB_ajaxWindowTitle{ + float:left; + padding:7px 0 5px 10px; + margin-bottom:1px; + font-size: 22px; +} + +#TB_title{ + background-color: #6C8C22; + color: #dedede; + height:40px; +} +#TB_title :link, +#TB_title :visited { + color: white !important; + border-bottom: 1px dotted #dedede; +} + +#TB_ajaxContent{ + clear:both; + padding:2px 15px 15px 15px; + overflow:auto; + text-align:left; + line-height:1.4em; +} + +#TB_ajaxContent.TB_modal{ + padding:15px; +} + +#TB_ajaxContent p{ + padding:5px 0px 5px 0px; +} + +#TB_load{ + position: fixed; + display:none; + height:13px; + width:208px; + z-index:103; + top: 50%; + left: 50%; + margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ +} + +* html #TB_load { /* ie6 hack */ + position: absolute; + margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_HideSelect{ + z-index:99; + position:fixed; + top: 0; + left: 0; + background-color:#fff; + border:none; + filter:alpha(opacity=0); + -moz-opacity: 0; + opacity: 0; + height:100%; + width:100%; +} + +* html #TB_HideSelect { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_iframeContent{ + clear:both; + border:none; + margin-bottom:-1px; + margin-top:1px; + _margin-bottom:1px; +} + +/* @end */ + +/* @group Debugging Section */ + +#debugging-toggle { + text-align: center; +} +#debugging-toggle img { + cursor: pointer; +} + +#rdoc-debugging-section-dump { + display: none; + margin: 0 2em 2em; + background: #ccc; + border: 1px solid #999; +} + + + +/* @end */ diff --git a/doc/rdoc/v/Vue1_rb.html b/doc/rdoc/v/Vue1_rb.html new file mode 100644 index 0000000..37813c7 --- /dev/null +++ b/doc/rdoc/v/Vue1_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: Vue1.rb [RDoc Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-01-17 09:16:01 +0100
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +

Classe creation de la vue de sélection de fichier ou dossier

+ +
+ +
+ + + diff --git a/doc/rdoc/v/VueHisto_rb.html b/doc/rdoc/v/VueHisto_rb.html new file mode 100644 index 0000000..a9e5848 --- /dev/null +++ b/doc/rdoc/v/VueHisto_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: VueHisto.rb [RDoc Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-01-17 09:16:27 +0100
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +

Classe creation de la vue permettant d’aceder a l’historique

+ +
+ +
+ + + diff --git a/doc/rdoc/v/VueMenu_rb.html b/doc/rdoc/v/VueMenu_rb.html new file mode 100644 index 0000000..7a9509a --- /dev/null +++ b/doc/rdoc/v/VueMenu_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: VueMenu.rb [RDoc Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-01-17 09:16:56 +0100
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +

Classe creation vue du menu

+ +
+ +
+ + + diff --git a/doc/rdoc/v/VueResult_rb.html b/doc/rdoc/v/VueResult_rb.html new file mode 100644 index 0000000..e59362f --- /dev/null +++ b/doc/rdoc/v/VueResult_rb.html @@ -0,0 +1,54 @@ + + + + + + + + File: VueResult.rb [RDoc Documentation] + + + + + + + + + + +
+
+
Last Modified
+
2014-01-17 09:17:09 +0100
+ + +
Requires
+
+
    + +
+
+ + + +
+
+ +
+ +
+

Description

+ +

Classe creation de la vue des resultats

+ +
+ +
+ + + diff --git a/m/ReadFile.rb b/m/ReadFile.rb index e6af677..34892aa 100644 --- a/m/ReadFile.rb +++ b/m/ReadFile.rb @@ -1,15 +1,18 @@ #Classe permettant l'acces et la recuperation des données dans les fichiers class ReadFile - #Ouverture d'un fichier en lecture + # Ouverture d'un fichier en lecture + # * String pFic : chemin de fichier à ouvrir def initialize(pFic) @fic = File.open(pFic, "r") end - #Revoit tout le contenu d'un fichier sous forme d'une chaine de caractere + # Revoit tout le contenu d'un fichier sous forme d'une chaine de caractere + # * return : string contenant tout le texte du fichier def getALL all = @fic.read return all end - #Sort les URLs d'un fichier + # Sort les URLs d'un fichier + # * return : string[] contenant tout les liens http/https du fichier def getUrls txt = self.getALL url = URI::extract(txt, /http(s)?/) diff --git a/v/Vue1.rb b/v/Vue1.rb index 673609a..53229bf 100644 --- a/v/Vue1.rb +++ b/v/Vue1.rb @@ -1,6 +1,9 @@ # Classe creation de la vue de sélection de fichier ou dossier class Vue1 - # Creation de la vue + # Creation de la vue + # * CtrlCheckLinks ctrl : controleur de la vue + # * String title : titre de la vue + # * int type : vue pour un fichier (==1) sinon pour un dossier def initialize(ctrl, title, type) @ctrl = ctrl #fenenetre generale @@ -11,11 +14,11 @@ class Vue1 vb = Gtk::VBox.new(true, 6) bot = Gtk::HBox.new(false, 6) - #creation label pour la saisie + #creation de label pour la saisie lab = Gtk::Label.new('Chemin :') bot.pack_start(lab, false, true, 6) - #creation champ de saisie + #creation du champ de saisie #@nom = Gtk::Entry.new if (type == 1) @nom = Gtk::FileChooserButton.new("choisir un fichier", Gtk::FileChooser::ACTION_OPEN) @@ -46,14 +49,14 @@ class Vue1 return @chaine end - # Listener fermeture fenetre + # Listener fermeture fenetre def listenerDestroy @window.signal_connect('destroy') { @ctrl.destructionFen } end - #Listener appuie bouton validation + # Listener appuie bouton validation -> test liens fichier def listenerBouton @chaine = " " @b.signal_connect('clicked'){ @@ -66,10 +69,10 @@ class Vue1 m.run m.destroy else - if(File.directory?(@chaine)) #si c'est un dossier utilisation du controleur adéquat + if(File.directory?(@chaine)) #si c'est un dossier -> utilisation du controleur adéquat @ctrl.recupUrlsDoss(@chaine) else - if(File.exist?(@chaine)) #si c'est un fichier existant utilisation du controleur adéquat + if(File.exist?(@chaine)) #si c'est un fichier -> existant utilisation du controleur adéquat @ctrl.recupUrls(@chaine) else #gestion saisie invalide d = Gtk::MessageDialog.new(Gtk::Window.new, Gtk::Dialog::DESTROY_WITH_PARENT, diff --git a/v/VueHisto.rb b/v/VueHisto.rb index aec9486..990c30d 100644 --- a/v/VueHisto.rb +++ b/v/VueHisto.rb @@ -1,6 +1,8 @@ # Classe creation de la vue permettant d'aceder a l'historique class VueHisto - # Creation de la vue + # Creation de la vue + # * CtrlCheckHisto ctrl : controleur de la vue + # * String title : titre de la vue def initialize(ctrl, title) @ctrl = ctrl #fenenetre generale @@ -41,14 +43,14 @@ class VueHisto return @chaine end - # Listener fermeture fenetre + # Listener fermeture fenetre def listenerDestroy @window.signal_connect('destroy') { @ctrl.destructionFen } end - #Listener appuie bouton validation + # Listener appuie bouton validation -> test liens fichier def listenerBouton @chaine = " " @b.signal_connect('clicked'){ diff --git a/v/VueMenu.rb b/v/VueMenu.rb index 179c0b8..3d65f48 100644 --- a/v/VueMenu.rb +++ b/v/VueMenu.rb @@ -1,6 +1,8 @@ #Classe creation vue du menu class VueMenu - # Creation de la vue + # Creation de la vue + # * Menu ctrl : controleur de la vue + # * String title : titre de la vue def initialize(ctrl, title) @ctrl = ctrl #fenenetre generale @@ -36,25 +38,25 @@ class VueMenu def getWindow #:nodoc:# return @window end - #Listener appuie bouton nouvelle vérification de 1 fichier + # Listener appuie bouton nouvelle vérification de 1 fichier def listenerBoutonNewFile @newFile.signal_connect('clicked'){ @ctrl.newVerifFile } end - #Listener appuie bouton validation nouvelle vérification de 1 dossier + # Listener appuie bouton validation nouvelle vérification de 1 dossier def listenerBoutonNewDossier @newDoss.signal_connect('clicked'){ @ctrl.newVerifDossier } end - #Listener appuie bouton validation pour rejouer un fichier dans de l'historique + # Listener appuie bouton validation pour rejouer un fichier dans de l'historique def listenerBoutonHisto - @histo.signal_connect('clicke d'){ + @histo.signal_connect('clicked'){ @ctrl.histo } end - # Listener fermeture fenetre Menu + # Listener fermeture fenetre Menu def listenerDestroy @window.signal_connect('destroy') { @ctrl.destructionMenu diff --git a/v/VueResult.rb b/v/VueResult.rb index 41dd848..78d7761 100644 --- a/v/VueResult.rb +++ b/v/VueResult.rb @@ -1,10 +1,12 @@ # Classe creation de la vue des resultats class VueResult - # Creation de la vue - def initialize(liste_result, nom) + # Creation de la vue + # * String liste_result : contient les resultats a afficher + # * String title : titre de la vue + def initialize(liste_result, title) #fenenetre generale @window = Gtk::Window.new - @window.set_title(nom) + @window.set_title(title) #declaration des differents widgets vb = Gtk::VBox.new(true, 6) @@ -28,7 +30,7 @@ return @window end - # Listener fermeture Resultat + # Listener fermeture Resultat def listenerDestroy @window.signal_connect('destroy') { @window.destroy