ווטסאפ - לינוקס, BSD, קוד פתוח ותוכנה חופשית בעברית. Whatsup - Linux, BSD, open source and free software in Hebrew

 
 
  כניסת חברים · רישום · שכחתי סיסמה  
tux the penguin
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
whoisלא בפורום כעת ת.הצטרפות: 25/09/2004 · הודעות: 54 · מיקום: הרצליה
 

הודעה פורסם: 11/05/2005 - 13:19
נושא ההודעה: מישהו צריך לוח שנה עברי ?

שלום לכולם, לכבוד יום העצמאות וגם כי משעמם לי כתבתי לוח שנה עברי שמראה את התאריכים העבריים של חודשים לועזיים וכמו כן את החגים והמועדים לשמחה...

להלן הקישור:

https://sourceforge.net/projects/hcal/

פשוט להוריד את ה- tarball ולעשות make לא מתבסס על שום ספריה חוץ מ- GTK+-2.0 (שיש בכל הפצה לדעתי). ניתן גם להריץ על KDE וכן ב- Locale עברי הכל מופיע בעברית ומימין לשמאל.

להלן תמונת מסך:

https://sourceforge.net/project/screenshots.php?group_id=138614

אני מקווה שיהיה שימושי וזאת התרומה הקטנה שלי לקהילה.
אם משהו רוצה לעשות חבילה בינארית או להוסיף להפצת לינוקס עברית אשמח מאוד לעזור.

רשיון: GPL .

חג שמח לכולם.
אסף.
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
Koalaלא בפורום כעתSite Moderator ת.הצטרפות: 11/08/2003 · הודעות: 2843 · מיקום: רחובות
 

הודעה פורסם: 11/05/2005 - 13:33
נושא ההודעה:

חמוד !!! אבל למה הבינארי שלו לא הולך ל-usr/bin/ ? למה אין make install ?

_________________
Re:Automation
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 11/05/2005 - 13:46
נושא ההודעה:

תודה, אין בעיה לעשות make install חשבתי להשאיר את זה לחבילה בינארית.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
Koalaלא בפורום כעתSite Moderator ת.הצטרפות: 11/08/2003 · הודעות: 2843 · מיקום: רחובות
 

הודעה פורסם: 11/05/2005 - 13:51
נושא ההודעה:

אה, סבבה. יישומון נחמד, מועיל באמת.

_________________
Re:Automation
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
meoreroלא בפורום כעת ת.הצטרפות: 22/04/2003 · הודעות: 686 · מיקום: גוש דן, ירושלים
 

הודעה פורסם: 11/05/2005 - 14:11
נושא ההודעה: האם זה נבדל מ- HDate apple ובמה?

האם זה נבדל מ- HDate apple ובמה?


ניסיתי את HDate applet אבל זה היה ממש מזמן. ולפי הכתוב באתר שלו, נעשה שימוש ב- LibHDate.

אני מודה, "טרם הספיקותי" לעיין ביישום שהוצג ולנסות אותו או להביט בקוד שלו.

אך האם היישום עושה אותו דבר? על מה הוא מבוסס? על משהו שונה?

ברכות, בכל אופן. Wink

_________________
יום אחד, אולי אפרוש כנפיים
http://oren.maurer.org.il
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
whoisaאורח · ·
 

הודעה פורסם: 11/05/2005 - 14:59
נושא ההודעה:

אין שום קשר ל- hdate. לפי מה שראיתי ב- hdate אין אפשרות לראות לוח שנה מלא אלא רק את היום בחודש. למרות זאת אם משהו רוצה לעשות binding בין ה- gui שכתבתי ל- hdate מוזמן.

ותודה על הברכות Smile .

אגב זה מתבסס על קוד c++ שתורגם מ- LISP לנושא חישוב התאריך העברי והלועזי. הכל רשום בקוד.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
VicTorלא בפורום כעת ת.הצטרפות: 19/04/2005 · הודעות: 416 · מיקום: ^^(o)-(o)^^
 

הודעה פורסם: 11/05/2005 - 17:12
נושא ההודעה:

כל הכבוד על היוזמה !

אבל אצלי זה עדיין לא עובד.

לפי הפלט חסרה לי חבילה בשם gtk+-2.0 .
אני משתמש באובנטו (דביאן) ולא מצאתי חבילה שכזו במאגר החבילות.

מה חסר לי ?

הנה הפלט לאחר הרצת פקודת ה make :
קוד:


g++ `pkg-config gtk+-2.0 --cflags`   -c -o main.o main.c
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
main.c:22:21: gtk/gtk.h: No such file or directory
In file included from main.c:23:
hebmonthgui.h:26: error: syntax error before `*' token
main.c:31: error: syntax error before `(' token
main.c:39: error: `GtkWidget' was not declared in this scope
main.c:39: error: `widget' was not declared in this scope
main.c:39: error: `gpointer' was not declared in this scope
main.c:39: error: parse error before `)' token
main.c: In function `void destroy(...)':
main.c:41: error: `gtk_main_quit' undeclared (first use this function)
main.c:41: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
main.c: At global scope:
main.c:45: error: `GtkSpinButton' was not declared in this scope
main.c:45: error: `spinbutton' was not declared in this scope
main.c:45: error: `GtkWidget' was not declared in this scope
main.c:45: error: `window' was not declared in this scope
main.c:46: error: variable or field `year_change' declared void
main.c:46: error: initializer list being treated as compound expression
main.c:46: error: syntax error before `{' token
main.c:50: error: syntax error before `*' token
main.c:52: error: ISO C++ forbids declaration of `value' with no type
main.c:52: error: `spinbutton' was not declared in this scope
main.c:52: error: `gtk_spin_button_get_value' was not declared in this scope
main.c:55: error: ISO C++ forbids declaration of `currentmonth' with no type
main.c:55: error: conflicting types for `int currentmonth'
main.c:49: error: previous declaration as `Hebmonth*currentmonth'
main.c:55: error: `spinbutton' was not declared in this scope
main.c:55: error: `G_OBJECT' was not declared in this scope
main.c:55: error: `g_object_get_data' was not declared in this scope
main.c:56: error: ISO C++ forbids declaration of `table' with no type
main.c:56: error: base operand of `->' is not a pointer
main.c:56: error: `GTK_WIDGET' was not declared in this scope
main.c:57: error: base operand of `->' is not a pointer
main.c:57: error: base operand of `->' is not a pointer
main.c:57: error: ISO C++ forbids declaration of `hebmonth_init' with no type
main.c:57: error: `int hebmonth_init' redeclared as different kind of symbol
hebmonth.h:50: error: previous declaration of `void hebmonth_init(Hebmonth*,
   int, int, int)'
main.c:57: error: initializer list being treated as compound expression
main.c:59: error: parse error before `if'
main.c:62: error: `window' was not declared in this scope
main.c:62: error: `GTK_DIALOG' was not declared in this scope
main.c:62: error: `GTK_CONTAINER' was not declared in this scope
main.c:62: error: `createmonthgui' was not declared in this scope
main.c:62: error: ISO C++ forbids declaration of `gtk_container_add' with no
   type
main.c:62: error: initializer list being treated as compound expression
main.c:64: error: parse error before `}' token
main.c:68: error: `GtkComboBox' was not declared in this scope
main.c:68: error: `combobox' was not declared in this scope
main.c:68: error: `GtkWidget' was not declared in this scope
main.c:68: error: `window' was not declared in this scope
main.c:69: error: variable or field `month_change' declared void
main.c:69: error: initializer list being treated as compound expression
main.c:69: error: syntax error before `{' token
main.c:72: error: conflicting types for `Hebmonth*currentmonth'
main.c:55: error: previous declaration as `int currentmonth'
main.c:73: error: syntax error before `*' token
main.c:75: error: ISO C++ forbids declaration of `currentmonth' with no type
main.c:75: error: conflicting types for `int currentmonth'
main.c:72: error: previous declaration as `Hebmonth*currentmonth'
main.c:75: error: `combobox' was not declared in this scope
main.c:75: error: `G_OBJECT' was not declared in this scope
main.c:75: error: `g_object_get_data' was not declared in this scope
main.c:76: error: ISO C++ forbids declaration of `table' with no type
main.c:76: error: redefinition of `int table'
main.c:56: error: `int table' previously defined here
main.c:76: error: base operand of `->' is not a pointer
main.c:76: error: `GTK_WIDGET' was not declared in this scope
main.c:78: error: ISO C++ forbids declaration of `index' with no type
main.c:78: error: `int index' redeclared as different kind of symbol
/usr/include/string.h:267: error: previous declaration of `char* index(const
   char*, int)'
main.c:78: error: `combobox' was not declared in this scope
main.c:78: error: `GTK_COMBO_BOX' was not declared in this scope
main.c:78: error: `gtk_combo_box_get_active' was not declared in this scope
main.c:79: error: base operand of `->' is not a pointer
main.c:79: error: base operand of `->' is not a pointer
main.c:79: error: ISO C++ forbids declaration of `hebmonth_init' with no type
main.c:79: error: redefinition of `int hebmonth_init'
main.c:57: error: `int hebmonth_init' previously defined here
main.c:79: error: initializer list being treated as compound expression
main.c:81: error: parse error before `if'
main.c:84: error: `window' was not declared in this scope
main.c:84: error: `GTK_DIALOG' was not declared in this scope
main.c:84: error: `GTK_CONTAINER' was not declared in this scope
main.c:84: error: `createmonthgui' was not declared in this scope
main.c:84: error: ISO C++ forbids declaration of `gtk_container_add' with no
   type
main.c:84: error: redefinition of `int gtk_container_add'
main.c:62: error: `int gtk_container_add' previously defined here
main.c:84: error: initializer list being treated as compound expression
main.c:86: error: parse error before `}' token
main.c:89: error: syntax error before `*' token
main.c:93: error: ISO C++ forbids declaration of `textcombo' with no type
main.c:93: error: `gtk_combo_box_new_text' was not declared in this scope
main.c:96: error: parse error before `for'
main.c:96: error: parse error before `;' token
main.c:96: error: syntax error before `++' token
main.c:99: error: `GTK_COMBO_BOX' was not declared in this scope
main.c:99: error: `i' was not declared in this scope
main.c:99: error: ISO C++ forbids declaration of `gtk_combo_box_append_text'
   with no type
main.c:99: error: initializer list being treated as compound expression
main.c:100: error: parse error before `}' token
main.c:102: error: ISO C++ forbids declaration of `gtk_widget_show' with no
   type
main.c:103: error: parse error before `return'
main.c: In function `int main(int, char**)':
main.c:110: error: `GtkWidget' undeclared (first use this function)
main.c:110: error: `window' undeclared (first use this function)
main.c:111: error: `monthcombo' undeclared (first use this function)
main.c:112: error: `yearspin' undeclared (first use this function)
main.c:113: error: `hbox' undeclared (first use this function)
main.c:131: error: `hebmonth_init' cannot be used as a function
main.c:133: error: `gtk_init' undeclared (first use this function)
main.c:136: error: `gtk_dialog_new' undeclared (first use this function)
main.c:138: error: `FALSE' undeclared (first use this function)
main.c:138: error: `gtk_hbox_new' undeclared (first use this function)
main.c:140: error: `createmonthscombo' undeclared (first use this function)
main.c:141: error: `GTK_COMBO_BOX' undeclared (first use this function)
main.c:141: error: `gtk_combo_box_set_active' undeclared (first use this
   function)
main.c:142: error: `G_OBJECT' undeclared (first use this function)
main.c:142: error: `gpointer' undeclared (first use this function)
main.c:142: error: `g_object_set_data' undeclared (first use this function)
main.c:143: error: `G_CALLBACK' undeclared (first use this function)
main.c:143: error: `g_signal_connect' undeclared (first use this function)
main.c:144: error: `GTK_BOX' undeclared (first use this function)
main.c:144: error: `gtk_box_pack_start' undeclared (first use this function)
main.c:146: error: `gtk_spin_button_new_with_range' undeclared (first use this
   function)
main.c:147: error: `GTK_SPIN_BUTTON' undeclared (first use this function)
main.c:147: error: `gtk_spin_button_set_value' undeclared (first use this
   function)
main.c:152: error: `gtk_widget_show_all' undeclared (first use this function)
main.c:155: error: `GTK_WINDOW' undeclared (first use this function)
main.c:155: error: `gtk_window_set_title' undeclared (first use this function)
main.c:157: error: `delete_event' undeclared (first use this function)
main.c:159: error: `GTK_DIALOG' undeclared (first use this function)
main.c:160: error: `GTK_CONTAINER' undeclared (first use this function)
main.c:160: error: `createmonthgui' undeclared (first use this function)
main.c:160: error: `gtk_container_add' cannot be used as a function
main.c:162: error: `gtk_widget_show' cannot be used as a function
main.c:164: error: `gtk_main' undeclared (first use this function)
make: *** [main.o] 1 הלקת
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
צפריראורח · ·
 

הודעה פורסם: 11/05/2005 - 17:13
נושא ההודעה:

חישוב לוח השנה העברי אינו כה פשוט. למה לא השתמשת ב־libhdate הקיים?

(אם חסר לו ממשק C++‎ נוח אולי זה מה שצריך להוסיף?)

בכל מקרה, תמיכה ב־make install נשלחה אליך
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
צפריראורח · ·
 

הודעה פורסם: 11/05/2005 - 17:16
נושא ההודעה:

VicTor‏:
apt-get install libgtk2.0-dev

(לפחות במערכת דביין Sarge)
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
VicTorלא בפורום כעת ת.הצטרפות: 19/04/2005 · הודעות: 416 · מיקום: ^^(o)-(o)^^
 

הודעה פורסם: 11/05/2005 - 17:30
נושא ההודעה:

צפריר :
VicTor‏:
apt-get install libgtk2.0-dev

(לפחות במערכת דביין Sarge)



תודה. עכשיו עובד.

ושוב, כל הכבוד !
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
whoisaאורח · ·
 

הודעה פורסם: 11/05/2005 - 18:11
נושא ההודעה:

תודה צפריר, אני אכניס את השינויים.

לגבי hdate זה לא רק התמיכה ב- C++ , זה בכלל המעבר בין תאריך לועזי ועברי נעשה לדעתי בצורה קצת לא ברורה, בעוד שבקוד שאני בחרתי אפשר לעבור בצורה ישירה בין כל סוגי התאריכים, לדעתי יותר פשוט לפחות לי זה היה ככה.
בכל מקרה מי שרוצה יכול לעשות binding ל- hdate כמו שאמרתי זה לא אמור להיות בעיה גדולה למי שמכיר טוב את הקוד.

שוב תודה על ה- makefile אני אכניס אותו לפרוייקט ב- sourceforge.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
Yellow_Dogלא בפורום כעת ת.הצטרפות: 05/01/2005 · הודעות: 139 · מיקום: הרצליה
 

הודעה פורסם: 11/05/2005 - 18:52
נושא ההודעה: כל הכבוד אסף

כל הכבוד אסף ...תמשיך כך

זה MUST .!!! Shocked


נערך לאחרונה על-ידי Yellow_Dog בתאריך 11/05/2005 - 19:08, סך-הכל נערך פעם אחת
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 11/05/2005 - 19:04
נושא ההודעה:

תודה רבה.

צפריר ה- makefile הועבר לדף ההורדה ב- sourceforge.
אפשר לעשות make install - ו- uninstall.

שוב תודה.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
kzamirלא בפורום כעת ת.הצטרפות: 25/12/2004 · הודעות: 76 ·
 

הודעה פורסם: 11/05/2005 - 19:17
נושא ההודעה:

whoisa :
תודה צפריר, אני אכניס את השינויים.

לגבי hdate זה לא רק התמיכה ב- C++ , זה בכלל המעבר בין תאריך לועזי ועברי נעשה לדעתי בצורה קצת לא ברורה, בעוד שבקוד שאני בחרתי אפשר לעבור בצורה ישירה בין כל סוגי התאריכים, לדעתי יותר פשוט לפחות לי זה היה ככה.
בכל מקרה מי שרוצה יכול לעשות binding ל- hdate כמו שאמרתי זה לא אמור להיות בעיה גדולה למי שמכיר טוב את הקוד.

שוב תודה על ה- makefile אני אכניס אותו לפרוייקט ב- sourceforge.


הי,

מאוד אהבתי את התכנית,

בנוגע ל libhdate
libhdate נועדה להיות קלה לשימוש ב cpp בפיטון פרל וגם ב c ופסקל,
אים היא לא קלה לשימוש, אז אני צריך לתקן אותה Smile .

מאוד אהבתי את התכנית שלך ואני לא חושב שאתה צריך להישתמש ב libhdate,
אבל אני רוצה להדגים שזה לא כך כך מסובך.

הינה קטע קוד שהופך תאריך עברי ללועזי ולהפך בעזרת libhdate

קוד:

#include <iostream>
#include <hdatepp.h>

using namespace std;
using namespace hdate;

int
gregorian_to_hebrew (int d, int m, int y, int* heb_d, int* heb_m, int* heb_y)
{
   // create a new Hdate object
   Hdate h;
   
   // set the gregorian date
   h.set_gdate (d, m, y);
   
   // get the hebrew date
   *heb_d = h.get_hday();
   *heb_m = h.get_hmonth();
   *heb_y = h.get_hyear();
   
   return 0;
}

int
hebrew_to_gregorian (int heb_d, int heb_m, int heb_y, int* d, int* m, int* y)
{
   // create a new Hdate object
   Hdate h;
   
   // set the gregorian date
   h.set_hdate (heb_d, heb_m, heb_y);
   
   // get the hebrew date
   *d = h.get_gday();
   *m = h.get_gmonth();
   *y = h.get_gyear();
   
   return 0;
}

int
main (int argc, char* argv[])
{
   int d, m, y;
   int heb_d, heb_m, heb_y;
   
   // get the gregorian date from user
   cout << "Enter gregorian date: ";
   cin >> d >> m >> y;
   
   // compute hebrew date
   gregorian_to_hebrew (d, m, y, &heb_d, &heb_m, &heb_y);
   
   // print hebrew year
   cout << "Hebrew date is : ";
   cout << heb_d << " " << heb_m << " " << heb_y;
   cout << endl;
   
   return 0;
{


הידור התכנית יתבצע כך:
קוד:
g++ `pkg-config --cflags --libs libhdate` hdate.cc


חג שמח,
קובי
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
Nirroלא בפורום כעת ת.הצטרפות: 14/12/2002 · הודעות: 1597 ·
 

הודעה פורסם: 11/05/2005 - 20:02
נושא ההודעה:

אסף, אחלה תוכנה. אהבתי.

אבל, בחייאת רבאק, זה קוד פתוח, תתעד קצת!!!

ניר.

_________________
In theory, there is no difference between theory and practice.
In practice, there is.
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
whoisaאורח · ·
 

הודעה פורסם: 11/05/2005 - 20:02
נושא ההודעה:

kzamir :
whoisa :
תודה צפריר, אני אכניס את השינויים.

לגבי hdate זה לא רק התמיכה ב- C++ , זה בכלל המעבר בין תאריך לועזי ועברי נעשה לדעתי בצורה קצת לא ברורה, בעוד שבקוד שאני בחרתי אפשר לעבור בצורה ישירה בין כל סוגי התאריכים, לדעתי יותר פשוט לפחות לי זה היה ככה.
בכל מקרה מי שרוצה יכול לעשות binding ל- hdate כמו שאמרתי זה לא אמור להיות בעיה גדולה למי שמכיר טוב את הקוד.

שוב תודה על ה- makefile אני אכניס אותו לפרוייקט ב- sourceforge.


הי,

מאוד אהבתי את התכנית,

בנוגע ל libhdate
libhdate נועדה להיות קלה לשימוש ב cpp בפיטון פרל וגם ב c ופסקל,
אים היא לא קלה לשימוש, אז אני צריך לתקן אותה Smile .

מאוד אהבתי את התכנית שלך ואני לא חושב שאתה צריך להישתמש ב libhdate,
אבל אני רוצה להדגים שזה לא כך כך מסובך.

הינה קטע קוד שהופך תאריך עברי ללועזי ולהפך בעזרת libhdate

קוד:

#include <iostream>
#include <hdatepp.h>

using namespace std;
using namespace hdate;

int
gregorian_to_hebrew (int d, int m, int y, int* heb_d, int* heb_m, int* heb_y)
{
   // create a new Hdate object
   Hdate h;
   
   // set the gregorian date
   h.set_gdate (d, m, y);
   
   // get the hebrew date
   *heb_d = h.get_hday();
   *heb_m = h.get_hmonth();
   *heb_y = h.get_hyear();
   
   return 0;
}

int
hebrew_to_gregorian (int heb_d, int heb_m, int heb_y, int* d, int* m, int* y)
{
   // create a new Hdate object
   Hdate h;
   
   // set the gregorian date
   h.set_hdate (heb_d, heb_m, heb_y);
   
   // get the hebrew date
   *d = h.get_gday();
   *m = h.get_gmonth();
   *y = h.get_gyear();
   
   return 0;
}

int
main (int argc, char* argv[])
{
   int d, m, y;
   int heb_d, heb_m, heb_y;
   
   // get the gregorian date from user
   cout << "Enter gregorian date: ";
   cin >> d >> m >> y;
   
   // compute hebrew date
   gregorian_to_hebrew (d, m, y, &heb_d, &heb_m, &heb_y);
   
   // print hebrew year
   cout << "Hebrew date is : ";
   cout << heb_d << " " << heb_m << " " << heb_y;
   cout << endl;
   
   return 0;
{


הידור התכנית יתבצע כך:
קוד:
g++ `pkg-config --cflags --libs libhdate` hdate.cc


חג שמח,
קובי



קודם כל תודה רבה רבה על המחמאות.
תראה די ברור לי איך אתה הופך מתאריך עברי ללועזי ב- hdate אני לא ממש רוצה להיכנס כאן לפרטי האימפלמנטציה שלי אבל בכללי הקוד שאני השתמשתי בו לחישוב התאריכים (שאגב לא אני כתבתי רק שיניתי קצת כדי שיתאים לי והוא נמצא ב- public domain) הופך כל תאריך (בין אם לעוזי עברי או מוסלמי) למספר הימים שעברו מתאריך התחלה מסויים. כך ניתן בקלות לחשב הפרשי ימים (למשל בשביל לחשב חגים וכו') וגם לעבור מתאריך מסוים לתאריך אחר. אם זה ממש מעניין אותך תסתכל בקוד, ובכל מקרה אתה מוזמן לקחת את הקוד שלי ולהריץ אותו עם hdate אתה בטוח מכיר את זה יותר טוב ממני, אני אשמח.
בכל מקרה תודה שוב וחג שמח גם לך.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
kzamirלא בפורום כעת ת.הצטרפות: 25/12/2004 · הודעות: 76 ·
 

הודעה פורסם: 11/05/2005 - 20:28
נושא ההודעה:

הי,

אני חושב שהרבה דרכים לבצע את אותו דבר זה טוב, ולכן אני אוהב את הישום שלך.

אבל:
libhdate מבצעת את כל הדברים שאתה טוען שהישום שלך עושה, באופן עקרוני כמעט
כל ספריה לתאריכים מבצעת אותם כולל glib ו kde.

אני חושב שהתכנית שלך טובה מאוד, אבל בבקשה אל תביע דעה על libhdate בלי ללמוד אותה
קודם. דרך אגב גם ל kde יש פונקציות חמודות למעבר בין לוחות שנה.

חג שמח
קובי.
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 11/05/2005 - 20:32
נושא ההודעה:

תודה ניר. קובי לא הבעתי דעה על libhdate אני בטוח שהיא ספרייה מצויינת. סליחה אם זה נשמע כאילו אני מעביר ביקורת לא זו כוונתי ההיפך.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
whoisaאורח · ·
 

הודעה פורסם: 12/05/2005 - 19:22
נושא ההודעה:

הוספתי גירסה חדשה לפי בקשותיהם של צפריר וניר (שיניתי את שם הספריה והוספתי קצת תיעוד אם כי אין לי יותר מדי כוח לתעד...)

תהנו.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
kzamirלא בפורום כעת ת.הצטרפות: 25/12/2004 · הודעות: 76 ·
 

הודעה פורסם: 13/05/2005 - 11:17
נושא ההודעה:

הי אסף,

שלחתי לך גירסה עם קישור ל libhdate, אני מקווה שתהנה לשחק איתה Smile.

בי, קובי.
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 13/05/2005 - 11:26
נושא ההודעה:

אי אפשר בלי תמונה אז:

מימין הלוח של אסף עם חישוב תאריך פנימי.
משמאל הלוח של אסף עם חישוב תאריך לפי libhdate.
למעלה gdesklet לחישוב תאריך עברי.

Image
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
ILANSלא בפורום כעת ת.הצטרפות: 12/10/2003 · הודעות: 347 ·
 

הודעה פורסם: 13/05/2005 - 13:17
נושא ההודעה:

למה לי התאריך הנוכחי וכותרות הימים לא מודגשים?


Image[/img]
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם מספר ICQ 
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
whoisלא בפורום כעת ת.הצטרפות: 25/09/2004 · הודעות: 54 · מיקום: הרצליה
 

הודעה פורסם: 13/05/2005 - 15:17
נושא ההודעה:

תודה לקובי על הקישור ל- libhdate. הגירסה שלו הועלתה בשם:
hcal-libhdate .

אילן: אין לי שמץ של מושג. יכול להיות הגדרות של צבעים במערכת שלך?

אסף.
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
ILANSלא בפורום כעת ת.הצטרפות: 12/10/2003 · הודעות: 347 ·
 

הודעה פורסם: 13/05/2005 - 16:49
נושא ההודעה:

whois :
תודה לקובי על הקישור ל- libhdate. הגירסה שלו הועלתה בשם:
hcal-libhdate .

אילן: אין לי שמץ של מושג. יכול להיות הגדרות של צבעים במערכת שלך?




קשה לי להאמין שמדובר בצבעים, מפני שמדובר בהתקנה חדשה של סוסה 9.3 ולא נגעתי בהגדרות המערכת. בכל מקרה ניסיתי עכשיו לשנות ערכות צבעים וזה לא מסתדר לי עדיין (עדיין שורת הכותרת של הימים בחודש + היום הנוכחי באותו הצבע של הרקע, כך שאין לי אפשרות לדעת באיזה יום אני נמצא היום)

יתכן שמדובר בבאג בתכנית שכתבת?
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם מספר ICQ 
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 13/05/2005 - 18:03
נושא ההודעה:

הי,

בסוסה בררת המחדל היא kde כך שרוב הסיכויים ששינתה את ערכת הצבעים ל kde.

אתה צריך למצא דרך לשנות את ה theme של gtk (אני לא יודע איך לעשות את זה מ kde) ואז רוב הסיכויים שזה יסתדר
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
ILANSלא בפורום כעת ת.הצטרפות: 12/10/2003 · הודעות: 347 ·
 

הודעה פורסם: 13/05/2005 - 18:54
נושא ההודעה:

Anonymous :
הי,

אתה צריך למצא דרך לשנות את ה theme של gtk (אני לא יודע איך לעשות את זה מ kde) ואז רוב הסיכויים שזה יסתדר


טוב... הבעיה כנראה לא במחשב שלי. התופעה לא מתרחשת
בלוח השנה של kde ולכן כנראה שהבעיה לא ב- theme.
אני מצרף צילום מסך של המחשב שלי בו ניתן לצפות בשני לוחות השנה:


Image
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם מספר ICQ 
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
whoisaאורח · ·
 

הודעה פורסם: 14/05/2005 - 00:56
נושא ההודעה:

ILANS :
Anonymous :
הי,

אתה צריך למצא דרך לשנות את ה theme של gtk (אני לא יודע איך לעשות את זה מ kde) ואז רוב הסיכויים שזה יסתדר


טוב... הבעיה כנראה לא במחשב שלי. התופעה לא מתרחשת
בלוח השנה של kde ולכן כנראה שהבעיה לא ב- theme.
אני מצרף צילום מסך של המחשב שלי בו ניתן לצפות בשני לוחות השנה:


Image


תראה אתה לא יכול להשוות כי זה יישום KDE
והיישום שלי הוא מבוסס GTK שכנראה יש לו ערכת צבעים משלו.
בכל מקרה לא מדובר בבאג משום שעל מערכות אחרות זה עובד...
לכן רוב הסיכויים שמדובר במשהו שהוא ספציפי לסוסה ומכיוון שאינני
מכיר את ההפצה הזאת כלל לצערי אין באפשרותי לעזור לך.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 14/05/2005 - 01:49
נושא ההודעה:

מה הקטע הבא אומר לכם?
קוד:
g++ `pkg-config gtk+-2.0 --cflags` -Wall -g `pkg-config gtk+-2.0 --cflags` -Wall -g  -c -o hcal.o hcal.c
hcal.c:27: `MON_1' was not declared in this scope
hcal.c:27: `MON_2' was not declared in this scope
hcal.c:27: `MON_3' was not declared in this scope
hcal.c:27: `MON_4' was not declared in this scope
hcal.c:27: `MON_5' was not declared in this scope
hcal.c:27: `MON_6' was not declared in this scope
hcal.c:27: `MON_7' was not declared in this scope
hcal.c:27: `MON_8' was not declared in this scope
hcal.c:27: `MON_9' was not declared in this scope
hcal.c:27: `MON_10' was not declared in this scope
hcal.c:27: `MON_11' was not declared in this scope
hcal.c:27: `MON_12' was not declared in this scope
hcal.c: In function `GtkWidget *createmonthscombo (GtkWidget *)':
hcal.c:99: `nl_langinfo' undeclared (first use this function)
hcal.c:99: (Each undeclared identifier is reported only once for each
function it appears in.)
hcal.c: In function `int main (int, char **)':
hcal.c:156: no matches converting function `destroy' to type `void (*)
()'
/usr/include/g++-3/stl_construct.h:42: candidates are: template <class
_Tp> void destroy (_Tp *)
/usr/include/g++-3/stl_construct.h:77:                 template <class
_ForwardIterator> void destroy (_ForwardIterator, _ForwardIterator)
/usr/include/g++-3/stl_construct.h:81:                 void destroy
(char *, char *)
/usr/include/g++-3/stl_construct.h:82:                 void destroy
(__wchar_t *, __wchar_t *)
hcal.c:40:                 void destroy (GtkWidget *, void *)
/usr/include/g++-3/stl_map.h: At top level:
hcal.c:40: warning: `void destroy (GtkWidget *, void *)' defined but
not used
make: *** [hcal.o] Error 1
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 14/05/2005 - 09:24
נושא ההודעה:

תבקש מאסף את הגירסאות האחרונות (עים ובלי libhdate), הוא עשה די הרבה תיקונים
וגם הוסיף כפתורים לדיפדוף בחודשים, אולי השגיאות נעלמו בגירסה החדשה ?

זו הגירסה האחרונה, עם libhdate
Image
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
whoisaאורח · ·
 

הודעה פורסם: 14/05/2005 - 13:33
נושא ההודעה:

לא עשיתי שום תיקונים עדיין. אכן הוספתי כפתורים בגירסת בדיקה ששלחתי לקובי...

לגבי MON_1... MON_2 זה אמור להיות חלק מהספריה הסטנדרטית של glib יכול להיות שלא מותקן אצלך?

אסף.
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
הצגת הודעות מלפני:     
מעבר אל:  
כל הזמנים הם GMT + 2 שעות
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
PNphpBB2 © 2003-2004 

תוכן הדיון

  1. whois
  2. Koala
  3. אורח
  4. Koala
  5. meorero
  6. אורח [whoisa]
  7. VicTor
  8. אורח [צפריר]
  9. אורח [צפריר]
  10. VicTor
  11. אורח [whoisa]
  12. Yellow_Dog
  13. אורח
  14. kzamir
  15. Nirro
  16. אורח [whoisa]
  17. kzamir
  18. אורח
  19. אורח [whoisa]
  20. kzamir
  21. אורח
  22. ILANS
  23. whois
  24. ILANS
  25. אורח
  26. ILANS
  27. אורח [whoisa]
  28. אורח
  29. אורח
  30. אורח [whoisa]
  31. אורח
  32. אורח [whoisa]
  33. אורח
  34. אורח
  35. אורח [מנחם (לא מחובר)]
  36. אורח [אורח 2]
  37. אורח [מנחם (לא מחובר)]
  38. אורח [צפריר]
  39. אורח
  40. אורח
  41. אורח
  42. אורח [whoisa]
  43. אורח
  44. אורח [whoisa]
  45. אורח
  46. whois
  47. אורח
  48. אורח [whoisa]
  49. kahn
  50. אורח