Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Cairo-Dock cafe | Café Cairo-Dock necropotame test l'erreur 500
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Cairo-Dock cafe | Café Cairo-Dock

Subjects Author Language Messages Last message
[Locked] necropotame test l'erreur 500
necropotame Français 9 parAdOxxx_ZeRo [Read]
26 May 2008 à 19:05

necropotame, Monday 26 May 2008 à 10:44


Subscription date : 29 November 2007
Messages : 1583
2 petits truc à faire il me semble pour avoir un code plus propre :

1> Ne faudrait-il pas remplacer les type c par les types gtk car là les deux cohabitent c'est pas propre (int >> gint, double >> gdouble, etc...)

2> Il y a quand meme quelques warnings dans le code, c'est pas très grave mais c'est pas propre. Comme je suis super sympa je les poste :

cairo-dock ...
cairo-dock-config.c:1280: attention : assignment discards qualifiers from pointer target type
cairo-dock-applications-manager.c:218: attention : déclaration implicite de la fonction « «kill» »
cairo-dock-menu.c:632: attention : déclaration implicite de la fonction « «localtime_r» »
cairo-dock-file-manager.c:357: attention : déclaration implicite de la fonction « «cairo_dock_remove_html_spaces» »
cairo-dock-file-manager.c:369: attention : assignment from incompatible pointer type
cairo-dock-file-manager.c:421: attention : passing argument 3 of «cairo_dock_show_temporary_dialog» from incompatible pointer type
cairo-dock-file-manager.c:435: attention : assignment from incompatible pointer type
cairo-dock-file-manager.c:469: attention : passing argument 3 of «cairo_dock_show_temporary_dialog» from incompatible pointer type
cairo-dock-file-manager.c:490: attention : passing argument 3 of «cairo_dock_show_temporary_dialog» from incompatible pointer type
cairo-dock-file-manager.c:511: attention : passing argument 3 of «cairo_dock_show_temporary_dialog» from incompatible pointer type
cairo-dock-keybinder.c:383: attention : initialization discards qualifiers from pointer target type

module rendering ...
rendering-desklet-caroussel.c:382: attention : assignment from incompatible pointer type
rendering-desklet-caroussel.c:383: attention : assignment from incompatible pointer type
rendering-desklet-tree.c:178: attention : assignment from incompatible pointer type
rendering-desklet-tree.c:179: attention : assignment from incompatible pointer type
rendering-desklet-simple.c:147: attention : assignment from incompatible pointer type
rendering-desklet-controler.c:314: attention : assignment from incompatible pointer type
rendering-desklet-controler.c:315: attention : assignment from incompatible pointer type

module gnome-integration-old ...
/usr/include/cairo-dock/cairo-dock/cairo-dock-applet-facility.h:1191:1: attention : « D_ » redéfini
/usr/include/libgnomeui-2.0/libgnomeui/gnome-app-helper.h:545:1: attention : ceci est la localisation d'une précédente définition

module gnome-integration ...
applet-gvfs.c:64: attention : passing argument 1 of «cairo_dock_search_icon_s_path» discards qualifiers from pointer target type

module xfce-integration ...
applet-thunar-vfs.c:586: attention : passing argument 1 of «thunar_vfs_mime_handler_get_command» from incompatible pointer type
applet-thunar-vfs.c:587: attention : passing argument 1 of «thunar_vfs_mime_handler_exec» from incompatible pointer type
applet-thunar-vfs.c:715: attention : assignment discards qualifiers from pointer target type
applet-thunar-vfs.c:755: attention : assignment discards qualifiers from pointer target type

module clock ...
applet-draw.c:47: attention : déclaration implicite de la fonction « «localtime_r» »
applet-draw.c:125: attention : déclaration implicite de la fonction « «kill» »
applet-notifications.c:80: attention : déclaration implicite de la fonction « «kill» »

module dustbin ...
applet-notifications.c:91: attention : passing argument 5 of «cairo_dock_fm_unmount_full» from incompatible pointer type
applet-trashes-manager.c:299: attention : déclaration implicite de la fonction « «lstat» »

module Xgamma ...
applet-init.c:50: attention : passing argument 1 of «XF86VidModeQueryVersion» discards qualifiers from pointer target type
applet-init.c:57: attention : passing argument 1 of «XF86VidModeQueryExtension» discards qualifiers from pointer target type
applet-xgamma.c:24: attention : passing argument 1 of «XF86VidModeGetGamma» discards qualifiers from pointer target type
applet-xgamma.c:38: attention : passing argument 1 of «XF86VidModeSetGamma» discards qualifiers from pointer target type
applet-xgamma.c:164: attention : passing argument 3 of «cairo_dock_build_dialog» from incompatible pointer type

module weather ...
applet-read-data.c:148:39: attention : constante caractère multi-caractères
applet-read-data.c:148: attention : comparaison est toujours vraie en raison d'une gamme limitée de type de données

La plus part des warnings sont juste des casts absents c'est facile à corriger...

necropotame, Monday 26 May 2008 à 10:50


Subscription date : 29 November 2007
Messages : 1583
Conclusion, c'est la syntaxe qui fout la merde.

nochka85, Monday 26 May 2008 à 13:01


Subscription date : 29 November 2007
Messages : 7408
????

fabounet, Monday 26 May 2008 à 15:35


Subscription date : 30 November 2007
Messages : 17118
comprend pas la conclusion mais oui j'essaye de corriger les warnings au plus possible (la plupart c'est à cause des "const")

necropotame, Monday 26 May 2008 à 17:03


Subscription date : 29 November 2007
Messages : 1583
non, ce morceau de texte, c'est paradoxxx.zero qui l'a écrit. Ça a provoqué une erreur 500 du serveur. Donc j'ai désactivé la syntaxe dans son message en utilisant des balises code et hop, comme par magoe, plus d'erreur 500.

ppmt, Monday 26 May 2008 à 17:19


Subscription date : 29 November 2007
Messages : 3520
c'est pas le dock qu'il essaye de troubleshooter....c'est le forum et pourquoi il y a des erreur de serveur des fois

fabounet, Monday 26 May 2008 à 18:17


Subscription date : 30 November 2007
Messages : 17118
ah oki j'avais pas suivi
moi ça me le faisait à tous les messages y'a une semaine et puis petit à petit j'en ai plus eu

parAdOxxx_ZeRo, Monday 26 May 2008 à 18:25


Subscription date : 14 January 2008
Messages : 1122
bon ben alors je poste ici vu qu'on me vole mes posts
Alors tu penses quoi du passage intégral aux types gtk ?
J'ai listé les warnings car nous les développeurs du dimanche (pas toi fab hein) quand nos applets compilent on se fout des warnings c'était pour montrer aux différents dev qu'il y a des warnings un peu partout et que c'est mal... (C'est juste les warnings des applets stables !)

fabounet, Monday 26 May 2008 à 18:34


Subscription date : 30 November 2007
Messages : 17118
euh oui bah en fait les types de la glib c'est les mêmes que ceux du C (gint <=> int, etc)
je sais pas si y'a vraiment une architecture sur laquelle ça fait une différence.
le truc c'est que la coloration syntaxique marche pas pour eux dans Kate ...

parAdOxxx_ZeRo, Monday 26 May 2008 à 19:05


Subscription date : 14 January 2008
Messages : 1122
oui c'est les meme mais ca fait un peu bordel

Cairo-Dock cafe | Café Cairo-Dock

Subjects Author Language Messages Last message
[Locked] necropotame test l'erreur 500
necropotame Français 9 parAdOxxx_ZeRo [Read]
26 May 2008 à 19:05


Glx-Dock / Cairo-Dock List of forums Cairo-Dock cafe | Café Cairo-Dock necropotame test l'erreur 500 Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.