home *** CD-ROM | disk | FTP | other *** search
/ ftp.fox-toolkit.org / 2014.05.ftp.fox-toolkit.org.tar / ftp.fox-toolkit.org / pub / fox-patch-1.0.9-fox-1.0.11 < prev    next >
Text File  |  2002-05-11  |  28KB  |  872 lines

  1. diff -P -c -r fox-1.0.9/Makefile.am fox-1.0.11/Makefile.am
  2. *** fox-1.0.9/Makefile.am    Mon Oct 22 01:20:10 2001
  3. --- fox-1.0.11/Makefile.am    Tue Apr 30 08:24:13 2002
  4. ***************
  5. *** 24,29 ****
  6. --- 24,32 ----
  7.       cd /home/ftp/pub && ln -sf $(distdir).zip fox-latest.zip
  8.   
  9.   
  10. + diff: distdir
  11. +     -diff -P -c -r fox-1.0.9 $(distdir) > fox-patch-1.0.9-$(distdir)
  12.   bak:
  13.       tar cvzf fox-cvs.tar.gz /mnt/zip/FOX
  14.   
  15. diff -P -c -r fox-1.0.9/Makefile.in fox-1.0.11/Makefile.in
  16. *** fox-1.0.9/Makefile.in    Wed Apr 24 08:26:52 2002
  17. --- fox-1.0.11/Makefile.in    Sun May 12 15:57:58 2002
  18. ***************
  19. *** 366,371 ****
  20. --- 366,374 ----
  21.       cd /home/ftp/pub && ln -sf $(distdir).tar.gz fox-latest.tar.gz
  22.       cd /home/ftp/pub && ln -sf $(distdir).zip fox-latest.zip
  23.   
  24. + diff: distdir
  25. +     -diff -P -c -r fox-1.0.9 $(distdir) > fox-patch-1.0.9-$(distdir)
  26.   bak:
  27.       tar cvzf fox-cvs.tar.gz /mnt/zip/FOX
  28.   
  29. diff -P -c -r fox-1.0.9/adie/Adie.h fox-1.0.11/adie/Adie.h
  30. *** fox-1.0.9/adie/Adie.h    Thu Feb 21 10:16:08 2002
  31. --- fox-1.0.11/adie/Adie.h    Tue Apr 30 08:13:07 2002
  32. ***************
  33. *** 19,25 ****
  34.   * License along with this library; if not, write to the Free Software           *
  35.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  36.   *********************************************************************************
  37. ! * $Id: Adie.h,v 1.26 2002/02/21 16:16:08 fox Exp $                              *
  38.   ********************************************************************************/
  39.   #ifndef ADIE_H
  40.   #define ADIE_H
  41. --- 19,25 ----
  42.   * License along with this library; if not, write to the Free Software           *
  43.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  44.   *********************************************************************************
  45. ! * $Id: Adie.h,v 1.26.4.1 2002/04/30 13:13:07 fox Exp $                              *
  46.   ********************************************************************************/
  47.   #ifndef ADIE_H
  48.   #define ADIE_H
  49. ***************
  50. *** 37,43 ****
  51.   
  52.   
  53.   // Mini application object
  54. ! class FXAPI TextWindow : public FXMainWindow {
  55.     FXDECLARE(TextWindow)
  56.   protected:
  57.     struct Bookmark {
  58. --- 37,43 ----
  59.   
  60.   
  61.   // Mini application object
  62. ! class TextWindow : public FXMainWindow {
  63.     FXDECLARE(TextWindow)
  64.   protected:
  65.     struct Bookmark {
  66. ***************
  67. *** 353,359 ****
  68.   
  69.     // Determine language from filename
  70.     FXString getLanguage(const FXString& filename);
  71. !   
  72.     // Read syntax for language
  73.     void readSyntax(const FXString& language);
  74.   
  75. --- 353,359 ----
  76.   
  77.     // Determine language from filename
  78.     FXString getLanguage(const FXString& filename);
  79.     // Read syntax for language
  80.     void readSyntax(const FXString& language);
  81.   
  82. ***************
  83. *** 362,368 ****
  84.   
  85.     // Delete style
  86.     void deleteStyle(FXint index);
  87. !   
  88.     // Append style
  89.     void appendStyle(const FXString& name,const FXHiliteStyle& style);
  90.   
  91. --- 362,368 ----
  92.   
  93.     // Delete style
  94.     void deleteStyle(FXint index);
  95.     // Append style
  96.     void appendStyle(const FXString& name,const FXHiliteStyle& style);
  97.   
  98. diff -P -c -r fox-1.0.9/adie/Commands.h fox-1.0.11/adie/Commands.h
  99. *** fox-1.0.9/adie/Commands.h    Tue Feb 26 23:12:45 2002
  100. --- fox-1.0.11/adie/Commands.h    Tue Apr 30 08:13:07 2002
  101. ***************
  102. *** 19,25 ****
  103.   * License along with this library; if not, write to the Free Software           *
  104.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  105.   *********************************************************************************
  106. ! * $Id: Commands.h,v 1.5 2002/02/27 05:12:45 fox Exp $                           *
  107.   ********************************************************************************/
  108.   #ifndef COMMANDS_H
  109.   #define COMMANDS_H
  110. --- 19,25 ----
  111.   * License along with this library; if not, write to the Free Software           *
  112.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  113.   *********************************************************************************
  114. ! * $Id: Commands.h,v 1.5.4.1 2002/04/30 13:13:07 fox Exp $                           *
  115.   ********************************************************************************/
  116.   #ifndef COMMANDS_H
  117.   #define COMMANDS_H
  118. ***************
  119. *** 31,37 ****
  120.   
  121.   
  122.   // Undo record for text fragment
  123. ! class FXAPI FXTextCommand : public FXCommand {
  124.   protected:
  125.     FXText *text;     // Text widget
  126.     FXchar *buffer;   // Character buffer
  127. --- 31,37 ----
  128.   
  129.   
  130.   // Undo record for text fragment
  131. ! class FXTextCommand : public FXCommand {
  132.   protected:
  133.     FXText *text;     // Text widget
  134.     FXchar *buffer;   // Character buffer
  135. ***************
  136. *** 46,52 ****
  137.   
  138.   
  139.   // Insert command
  140. ! class FXAPI FXTextInsert : public FXTextCommand {
  141.   public:
  142.     FXTextInsert(FXText* txt,FXint p,FXint ni);
  143.     virtual FXString undoName() const { return "Undo insert"; }
  144. --- 46,52 ----
  145.   
  146.   
  147.   // Insert command
  148. ! class FXTextInsert : public FXTextCommand {
  149.   public:
  150.     FXTextInsert(FXText* txt,FXint p,FXint ni);
  151.     virtual FXString undoName() const { return "Undo insert"; }
  152. ***************
  153. *** 57,63 ****
  154.   
  155.   
  156.   // Delete command
  157. ! class FXAPI FXTextDelete : public FXTextCommand {
  158.   public:
  159.     FXTextDelete(FXText* txt,FXint p,FXint nd);
  160.     virtual FXString undoName() const { return "Undo delete"; }
  161. --- 57,63 ----
  162.   
  163.   
  164.   // Delete command
  165. ! class FXTextDelete : public FXTextCommand {
  166.   public:
  167.     FXTextDelete(FXText* txt,FXint p,FXint nd);
  168.     virtual FXString undoName() const { return "Undo delete"; }
  169. diff -P -c -r fox-1.0.9/adie/HelpWindow.h fox-1.0.11/adie/HelpWindow.h
  170. *** fox-1.0.9/adie/HelpWindow.h    Tue Aug 21 23:01:50 2001
  171. --- fox-1.0.11/adie/HelpWindow.h    Tue Apr 30 08:13:07 2002
  172. ***************
  173. *** 19,35 ****
  174.   * License along with this library; if not, write to the Free Software           *
  175.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  176.   *********************************************************************************
  177. ! * $Id: HelpWindow.h,v 1.1 2001/08/22 04:01:50 jeroen Exp $                      *
  178.   ********************************************************************************/
  179.   #ifndef HELPWINDOW_H
  180.   #define HELPWINDOW_H
  181.   
  182. !   
  183.   class FXText;
  184.   
  185.   
  186. ! /// Online help dialog box 
  187. ! class FXAPI HelpWindow : public FXDialogBox {
  188.     FXDECLARE(HelpWindow)
  189.   protected:
  190.     FXText *helptext;         // Help display
  191. --- 19,35 ----
  192.   * License along with this library; if not, write to the Free Software           *
  193.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  194.   *********************************************************************************
  195. ! * $Id: HelpWindow.h,v 1.1.4.1 2002/04/30 13:13:07 fox Exp $                      *
  196.   ********************************************************************************/
  197.   #ifndef HELPWINDOW_H
  198.   #define HELPWINDOW_H
  199.   
  200.   class FXText;
  201.   
  202.   
  203. ! /// Online help dialog box
  204. ! class HelpWindow : public FXDialogBox {
  205.     FXDECLARE(HelpWindow)
  206.   protected:
  207.     FXText *helptext;         // Help display
  208. diff -P -c -r fox-1.0.9/adie/Hilite.h fox-1.0.11/adie/Hilite.h
  209. *** fox-1.0.9/adie/Hilite.h    Fri Jan 25 08:23:10 2002
  210. --- fox-1.0.11/adie/Hilite.h    Tue Apr 30 08:13:07 2002
  211. ***************
  212. *** 19,25 ****
  213.   * License along with this library; if not, write to the Free Software           *
  214.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  215.   *********************************************************************************
  216. ! * $Id: Hilite.h,v 1.11 2002/01/25 14:23:10 jeroen Exp $                         *
  217.   ********************************************************************************/
  218.   #ifndef HILITE_H
  219.   #define HILITE_H
  220. --- 19,25 ----
  221.   * License along with this library; if not, write to the Free Software           *
  222.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  223.   *********************************************************************************
  224. ! * $Id: Hilite.h,v 1.11.4.1 2002/04/30 13:13:07 fox Exp $                         *
  225.   ********************************************************************************/
  226.   #ifndef HILITE_H
  227.   #define HILITE_H
  228. ***************
  229. *** 31,37 ****
  230.   
  231.   
  232.   // Highlight engine
  233. ! class FXAPI Hilite {
  234.   private:
  235.     HLNode  *root;  // Root of all syntax nodes
  236.   private:
  237. --- 31,37 ----
  238.   
  239.   
  240.   // Highlight engine
  241. ! class Hilite {
  242.   private:
  243.     HLNode  *root;  // Root of all syntax nodes
  244.   private:
  245. ***************
  246. *** 44,56 ****
  247.   
  248.     // Stylize text
  249.     void stylize(const FXchar* text,FXchar *style,FXint fm,FXint to) const;
  250. !   
  251.     // Stylize text from given node
  252.     void stylize(const FXchar* text,FXchar *style,FXint fm,FXint to,const HLNode* start) const;
  253.   
  254.     // Append highlight pattern
  255.     HLNode *append(const FXchar* pattern,FXint style,FXint priority=0,FXint context=0,HLNode *parent=NULL);
  256. !   
  257.     // Remove highlight pattern
  258.     void remove(HLNode* node);
  259.   
  260. --- 44,56 ----
  261.   
  262.     // Stylize text
  263.     void stylize(const FXchar* text,FXchar *style,FXint fm,FXint to) const;
  264.     // Stylize text from given node
  265.     void stylize(const FXchar* text,FXchar *style,FXint fm,FXint to,const HLNode* start) const;
  266.   
  267.     // Append highlight pattern
  268.     HLNode *append(const FXchar* pattern,FXint style,FXint priority=0,FXint context=0,HLNode *parent=NULL);
  269.     // Remove highlight pattern
  270.     void remove(HLNode* node);
  271.   
  272. ***************
  273. *** 59,83 ****
  274.   
  275.     // Find pattern node by style
  276.     HLNode *find(FXint style) const;
  277. !   
  278.     // Get top node
  279.     HLNode *top() const { return root; }
  280.   
  281.     // Style of the pattern node
  282.     FXint style(HLNode *node) const;
  283. !   
  284.     // Context of the pattern node
  285.     FXint context(HLNode *node) const;
  286. !   
  287.     // Get parent of pattern node
  288.     HLNode *parent(HLNode *node) const;
  289. !   
  290.     // Get first alternative of pattern node
  291.     HLNode *alternative(HLNode *node) const;
  292. !   
  293.     // Get subnode of pattern node
  294.     HLNode *sub(HLNode *node) const;
  295. !   
  296.     // Clean up
  297.     ~Hilite();
  298.     };
  299. --- 59,83 ----
  300.   
  301.     // Find pattern node by style
  302.     HLNode *find(FXint style) const;
  303.     // Get top node
  304.     HLNode *top() const { return root; }
  305.   
  306.     // Style of the pattern node
  307.     FXint style(HLNode *node) const;
  308.     // Context of the pattern node
  309.     FXint context(HLNode *node) const;
  310.     // Get parent of pattern node
  311.     HLNode *parent(HLNode *node) const;
  312.     // Get first alternative of pattern node
  313.     HLNode *alternative(HLNode *node) const;
  314.     // Get subnode of pattern node
  315.     HLNode *sub(HLNode *node) const;
  316.     // Clean up
  317.     ~Hilite();
  318.     };
  319. diff -P -c -r fox-1.0.9/adie/Preferences.h fox-1.0.11/adie/Preferences.h
  320. *** fox-1.0.9/adie/Preferences.h    Wed Feb 20 01:02:12 2002
  321. --- fox-1.0.11/adie/Preferences.h    Tue Apr 30 08:13:07 2002
  322. ***************
  323. *** 19,25 ****
  324.   * License along with this library; if not, write to the Free Software           *
  325.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  326.   *********************************************************************************
  327. ! * $Id: Preferences.h,v 1.21 2002/02/20 07:02:12 fox Exp $                       *
  328.   ********************************************************************************/
  329.   #ifndef PREFERENCES_H
  330.   #define PREFERENCES_H
  331. --- 19,25 ----
  332.   * License along with this library; if not, write to the Free Software           *
  333.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  334.   *********************************************************************************
  335. ! * $Id: Preferences.h,v 1.21.4.1 2002/04/30 13:13:07 fox Exp $                       *
  336.   ********************************************************************************/
  337.   #ifndef PREFERENCES_H
  338.   #define PREFERENCES_H
  339. ***************
  340. *** 31,37 ****
  341.   class TextWindow;
  342.   
  343.   
  344. ! class FXAPI Preferences : public FXDialogBox {
  345.     FXDECLARE(Preferences)
  346.   protected:
  347.     FXText          *filepattext;
  348. --- 31,37 ----
  349.   class TextWindow;
  350.   
  351.   
  352. ! class Preferences : public FXDialogBox {
  353.     FXDECLARE(Preferences)
  354.   protected:
  355.     FXText          *filepattext;
  356. ***************
  357. *** 69,81 ****
  358.     long onUpdStyleDelete(FXObject*,FXSelector,void*);
  359.     long onCmdStyleColor(FXObject*,FXSelector,void*);
  360.     long onUpdStyleColor(FXObject*,FXSelector,void*);
  361. !   
  362.     long onCmdLangIndex(FXObject*,FXSelector,void*);
  363.     long onCmdLangNew(FXObject*,FXSelector,void*);
  364.     long onCmdLangDelete(FXObject*,FXSelector,void*);
  365.     long onCmdLangChanged(FXObject*,FXSelector,void*);
  366.     long onUpdLangSelected(FXObject*,FXSelector,void*);
  367. !   
  368.     long onCmdSyntaxLang(FXObject*,FXSelector,void*);
  369.     long onCmdSyntaxIndex(FXObject*,FXSelector,void*);
  370.     long onCmdSyntaxNew(FXObject*,FXSelector,void*);
  371. --- 69,81 ----
  372.     long onUpdStyleDelete(FXObject*,FXSelector,void*);
  373.     long onCmdStyleColor(FXObject*,FXSelector,void*);
  374.     long onUpdStyleColor(FXObject*,FXSelector,void*);
  375.     long onCmdLangIndex(FXObject*,FXSelector,void*);
  376.     long onCmdLangNew(FXObject*,FXSelector,void*);
  377.     long onCmdLangDelete(FXObject*,FXSelector,void*);
  378.     long onCmdLangChanged(FXObject*,FXSelector,void*);
  379.     long onUpdLangSelected(FXObject*,FXSelector,void*);
  380.     long onCmdSyntaxLang(FXObject*,FXSelector,void*);
  381.     long onCmdSyntaxIndex(FXObject*,FXSelector,void*);
  382.     long onCmdSyntaxNew(FXObject*,FXSelector,void*);
  383. ***************
  384. *** 102,108 ****
  385.       ID_LANG_NEW,
  386.       ID_LANG_DELETE,
  387.       ID_LANG_CHANGED,
  388. !     
  389.       ID_SYNTAX_LANG,
  390.       ID_SYNTAX_INDEX,
  391.       ID_SYNTAX_NEW,
  392. --- 102,108 ----
  393.       ID_LANG_NEW,
  394.       ID_LANG_DELETE,
  395.       ID_LANG_CHANGED,
  396.       ID_SYNTAX_LANG,
  397.       ID_SYNTAX_INDEX,
  398.       ID_SYNTAX_NEW,
  399. ***************
  400. *** 112,130 ****
  401.       ID_LAST
  402.       };
  403.   public:
  404. !   
  405.     // Create preferences dialog
  406.     Preferences(TextWindow *owner);
  407.   
  408.     // Owner is text window
  409.     TextWindow* getOwner() const { return (TextWindow*)FXDialogBox::getOwner(); }
  410. !   
  411.     // Set filename patterns
  412.     void setPatterns(const FXString& patterns);
  413. !   
  414.     // Get filename patterns
  415.     FXString getPatterns() const;
  416. !   
  417.     // Clean up
  418.     virtual ~Preferences();
  419.     };
  420. --- 112,130 ----
  421.       ID_LAST
  422.       };
  423.   public:
  424.     // Create preferences dialog
  425.     Preferences(TextWindow *owner);
  426.   
  427.     // Owner is text window
  428.     TextWindow* getOwner() const { return (TextWindow*)FXDialogBox::getOwner(); }
  429.     // Set filename patterns
  430.     void setPatterns(const FXString& patterns);
  431.     // Get filename patterns
  432.     FXString getPatterns() const;
  433.     // Clean up
  434.     virtual ~Preferences();
  435.     };
  436. diff -P -c -r fox-1.0.9/calculator/HelpWindow.h fox-1.0.11/calculator/HelpWindow.h
  437. *** fox-1.0.9/calculator/HelpWindow.h    Tue Mar 13 22:10:24 2001
  438. --- fox-1.0.11/calculator/HelpWindow.h    Tue Apr 30 08:13:07 2002
  439. ***************
  440. *** 19,35 ****
  441.   * License along with this library; if not, write to the Free Software           *
  442.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  443.   *********************************************************************************
  444. ! * $Id: HelpWindow.h,v 1.1 2001/03/14 04:10:24 jeroen Exp $                      *
  445.   ********************************************************************************/
  446.   #ifndef HELPWINDOW_H
  447.   #define HELPWINDOW_H
  448.   
  449. !   
  450.   class FXText;
  451.   
  452.   
  453. ! /// Online help dialog box 
  454. ! class FXAPI HelpWindow : public FXDialogBox {
  455.     FXDECLARE(HelpWindow)
  456.   protected:
  457.     FXText *helptext;         // Help display
  458. --- 19,35 ----
  459.   * License along with this library; if not, write to the Free Software           *
  460.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  461.   *********************************************************************************
  462. ! * $Id: HelpWindow.h,v 1.1.4.1 2002/04/30 13:13:07 fox Exp $                      *
  463.   ********************************************************************************/
  464.   #ifndef HELPWINDOW_H
  465.   #define HELPWINDOW_H
  466.   
  467.   class FXText;
  468.   
  469.   
  470. ! /// Online help dialog box
  471. ! class HelpWindow : public FXDialogBox {
  472.     FXDECLARE(HelpWindow)
  473.   protected:
  474.     FXText *helptext;         // Help display
  475. diff -P -c -r fox-1.0.9/calculator/Preferences.h fox-1.0.11/calculator/Preferences.h
  476. *** fox-1.0.9/calculator/Preferences.h    Wed Mar 14 23:11:05 2001
  477. --- fox-1.0.11/calculator/Preferences.h    Tue Apr 30 08:13:07 2002
  478. ***************
  479. *** 19,32 ****
  480.   * License along with this library; if not, write to the Free Software           *
  481.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  482.   *********************************************************************************
  483. ! * $Id: Preferences.h,v 1.2 2001/03/15 05:11:05 jeroen Exp $                     *
  484.   ********************************************************************************/
  485.   #ifndef PREFERENCES_H
  486.   #define PREFERENCES_H
  487.   
  488.   class Calculator;
  489.   
  490. ! class FXAPI Preferences : public FXDialogBox {
  491.     FXDECLARE(Preferences)
  492.   protected:
  493.     FXIcon *palette;
  494. --- 19,32 ----
  495.   * License along with this library; if not, write to the Free Software           *
  496.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  497.   *********************************************************************************
  498. ! * $Id: Preferences.h,v 1.2.4.1 2002/04/30 13:13:07 fox Exp $                     *
  499.   ********************************************************************************/
  500.   #ifndef PREFERENCES_H
  501.   #define PREFERENCES_H
  502.   
  503.   class Calculator;
  504.   
  505. ! class Preferences : public FXDialogBox {
  506.     FXDECLARE(Preferences)
  507.   protected:
  508.     FXIcon *palette;
  509. diff -P -c -r fox-1.0.9/configure fox-1.0.11/configure
  510. *** fox-1.0.9/configure    Wed Apr 24 01:16:13 2002
  511. --- fox-1.0.11/configure    Sun May 12 15:39:21 2002
  512. ***************
  513. *** 720,726 ****
  514.   
  515.   FOX_MINOR_VERSION=0
  516.   
  517. ! FOX_PATCH_LEVEL=9
  518.   
  519.   FOX_INTERFACE_VERSION=0
  520.   
  521. --- 720,726 ----
  522.   
  523.   FOX_MINOR_VERSION=0
  524.   
  525. ! FOX_PATCH_LEVEL=11
  526.   
  527.   FOX_INTERFACE_VERSION=0
  528.   
  529. diff -P -c -r fox-1.0.9/configure.in fox-1.0.11/configure.in
  530. *** fox-1.0.9/configure.in    Wed Apr 24 01:15:26 2002
  531. --- fox-1.0.11/configure.in    Tue Apr 30 08:25:32 2002
  532. ***************
  533. *** 8,14 ****
  534.   FOX_MINOR_VERSION=0
  535.   
  536.   dnl Increment after every source code change
  537. ! FOX_PATCH_LEVEL=9
  538.   
  539.   dnl Binaries compiled with this patchlevel of FOX will need at least
  540.   dnl version MAJOR.MINOR.INTERFACE_VERSION to run. The assertion
  541. --- 8,14 ----
  542.   FOX_MINOR_VERSION=0
  543.   
  544.   dnl Increment after every source code change
  545. ! FOX_PATCH_LEVEL=11
  546.   
  547.   dnl Binaries compiled with this patchlevel of FOX will need at least
  548.   dnl version MAJOR.MINOR.INTERFACE_VERSION to run. The assertion
  549. diff -P -c -r fox-1.0.9/fox.spec fox-1.0.11/fox.spec
  550. *** fox-1.0.9/fox.spec    Wed Apr 24 08:26:58 2002
  551. --- fox-1.0.11/fox.spec    Sun May 12 15:58:04 2002
  552. ***************
  553. *** 1,11 ****
  554.   Summary: The FOX C++ GUI Toolkit
  555.   Name: fox
  556. ! Version: 1.0.9
  557.   Release: 3
  558.   Copyright: GNU LGPL
  559.   Group: System Environment/Libraries
  560.   URL: http://www.fox-toolkit.org/fox.html
  561. ! Source0: ftp://ftp.fox-toolkit.org/pub/fox-1.0.9.tar.gz
  562.   BuildRoot: %{_tmppath}/%{name}-buildroot
  563.   Requires: Mesa
  564.   
  565. --- 1,11 ----
  566.   Summary: The FOX C++ GUI Toolkit
  567.   Name: fox
  568. ! Version: 1.0.11
  569.   Release: 3
  570.   Copyright: GNU LGPL
  571.   Group: System Environment/Libraries
  572.   URL: http://www.fox-toolkit.org/fox.html
  573. ! Source0: ftp://ftp.fox-toolkit.org/pub/fox-1.0.11.tar.gz
  574.   BuildRoot: %{_tmppath}/%{name}-buildroot
  575.   Requires: Mesa
  576.   
  577. diff -P -c -r fox-1.0.9/include/fxver.h fox-1.0.11/include/fxver.h
  578. *** fox-1.0.9/include/fxver.h    Wed Apr 24 01:16:34 2002
  579. --- fox-1.0.11/include/fxver.h    Sun May 12 15:39:34 2002
  580. ***************
  581. *** 5,11 ****
  582.   // FOX version
  583.   #define FOX_MAJOR  1
  584.   #define FOX_MINOR  0
  585. ! #define FOX_LEVEL  9
  586.   
  587.   
  588.   
  589. --- 5,11 ----
  590.   // FOX version
  591.   #define FOX_MAJOR  1
  592.   #define FOX_MINOR  0
  593. ! #define FOX_LEVEL  11
  594.   
  595.   
  596.   
  597. diff -P -c -r fox-1.0.9/src/FXFileList.cpp fox-1.0.11/src/FXFileList.cpp
  598. *** fox-1.0.9/src/FXFileList.cpp    Wed Feb 20 01:02:12 2002
  599. --- fox-1.0.11/src/FXFileList.cpp    Thu Apr 25 18:06:25 2002
  600. ***************
  601. *** 19,25 ****
  602.   * License along with this library; if not, write to the Free Software           *
  603.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  604.   *********************************************************************************
  605. ! * $Id: FXFileList.cpp,v 1.89 2002/02/20 07:02:12 fox Exp $                      *
  606.   ********************************************************************************/
  607.   #include "xincs.h"
  608.   #include "fxver.h"
  609. --- 19,25 ----
  610.   * License along with this library; if not, write to the Free Software           *
  611.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  612.   *********************************************************************************
  613. ! * $Id: FXFileList.cpp,v 1.89.4.1 2002/04/25 23:06:25 fox Exp $                      *
  614.   ********************************************************************************/
  615.   #include "xincs.h"
  616.   #include "fxver.h"
  617. ***************
  618. *** 1313,1319 ****
  619.     FXIcon *big,*mini;
  620.     FXFileItem **hashlist;
  621.     int nhashlist,i,x,p,h;
  622. !   long filetime,modtime;
  623.     struct stat info;
  624.     struct dirent *dp;
  625.     DIR *dirp;
  626. --- 1313,1319 ----
  627.     FXIcon *big,*mini;
  628.     FXFileItem **hashlist;
  629.     int nhashlist,i,x,p,h;
  630. !   long filetime;
  631.     struct stat info;
  632.     struct dirent *dp;
  633.     DIR *dirp;
  634. ***************
  635. *** 1382,1390 ****
  636.           // Anything about file has changed
  637.           filetime=FXMAX(info.st_mtime,info.st_ctime);
  638.   
  639. -         // File mod time
  640. -         modtime=info.st_mtime;
  641.           // Take item from hash table if found
  642.           h=hash(name);
  643.           for(p=HASH1(h,nhashlist),x=HASH2(h,nhashlist); hashlist[p]; p=(p+x)%nhashlist){
  644. --- 1382,1387 ----
  645. ***************
  646. *** 1405,1411 ****
  647.           nitems++;
  648.   
  649.           // Anything about the file changed?
  650. !         if((item->date!=modtime) || (timestamp<filetime) || (filetime==0)){
  651.   
  652.             // Obtain user name
  653.             fxgetusername(usrid,info.st_uid);
  654. --- 1402,1408 ----
  655.           nitems++;
  656.   
  657.           // Anything about the file changed?
  658. !         if((item->date!=filetime) || (filetime==0)){
  659.   
  660.             // Obtain user name
  661.             fxgetusername(usrid,info.st_uid);
  662. ***************
  663. *** 1473,1479 ****
  664.             item->miniIcon=mini;
  665.             item->size=(unsigned long)info.st_size;
  666.             item->assoc=fileassoc;
  667. !           item->date=modtime;
  668.   
  669.             // Create item
  670.             if(id()) item->create();
  671. --- 1470,1476 ----
  672.             item->miniIcon=mini;
  673.             item->size=(unsigned long)info.st_size;
  674.             item->assoc=fileassoc;
  675. !           item->date=filetime;
  676.   
  677.             // Create item
  678.             if(id()) item->create();
  679. ***************
  680. *** 1538,1544 ****
  681.     WIN32_FIND_DATA ffData;
  682.     HANDLE hFindFile;
  683.     SHFILEINFO sfi;
  684. !   time_t filetime,modtime;
  685.   
  686.     // Remember current item
  687.     if(0<=current){ curitem=(FXFileItem*)items[current]; }
  688. --- 1535,1541 ----
  689.     WIN32_FIND_DATA ffData;
  690.     HANDLE hFindFile;
  691.     SHFILEINFO sfi;
  692. !   time_t filetime;
  693.   
  694.     // Remember current item
  695.     if(0<=current){ curitem=(FXFileItem*)items[current]; }
  696. ***************
  697. *** 1599,1607 ****
  698.           // Convert it
  699.           filetime=fxfiletime(ffData.ftLastWriteTime);
  700.   
  701. -         // Modified time
  702. -         modtime=filetime;
  703.           // Take item from hash table if found
  704.           h=hash(name);
  705.           for(p=HASH1(h,nhashlist),x=HASH2(h,nhashlist); hashlist[p]; p=(p+x)%nhashlist){
  706. --- 1596,1601 ----
  707. ***************
  708. *** 1622,1628 ****
  709.           nitems++;
  710.   
  711.           // Anything about the file changed?
  712. !         if((item->date!=modtime) || (timestamp<filetime) || (filetime==0)){
  713.   
  714.             // Obtain user name (no Win95 equivalent?)
  715.             fxgetusername(usrid,0);
  716. --- 1616,1622 ----
  717.           nitems++;
  718.   
  719.           // Anything about the file changed?
  720. !         if((item->date!=filetime) || (filetime==0)){
  721.   
  722.             // Obtain user name (no Win95 equivalent?)
  723.             fxgetusername(usrid,0);
  724. ***************
  725. *** 1699,1705 ****
  726.             item->miniIcon=mini;
  727.             item->size=(unsigned long)ffData.nFileSizeLow;
  728.             item->assoc=fileassoc;
  729. !           item->date=modtime;
  730.   
  731.             // Create item
  732.             if(id()) item->create();
  733. --- 1693,1699 ----
  734.             item->miniIcon=mini;
  735.             item->size=(unsigned long)ffData.nFileSizeLow;
  736.             item->assoc=fileassoc;
  737. !           item->date=filetime;
  738.   
  739.             // Create item
  740.             if(id()) item->create();
  741. diff -P -c -r fox-1.0.9/src/FXTextField.cpp fox-1.0.11/src/FXTextField.cpp
  742. *** fox-1.0.9/src/FXTextField.cpp    Fri Feb 22 00:50:41 2002
  743. --- fox-1.0.11/src/FXTextField.cpp    Fri Apr 26 08:06:36 2002
  744. ***************
  745. *** 19,25 ****
  746.   * License along with this library; if not, write to the Free Software           *
  747.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  748.   *********************************************************************************
  749. ! * $Id: FXTextField.cpp,v 1.79 2002/02/22 06:50:41 fox Exp $                  *
  750.   ********************************************************************************/
  751.   #include "xincs.h"
  752.   #include "fxver.h"
  753. --- 19,25 ----
  754.   * License along with this library; if not, write to the Free Software           *
  755.   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
  756.   *********************************************************************************
  757. ! * $Id: FXTextField.cpp,v 1.79.4.1 2002/04/26 13:06:36 fox Exp $                  *
  758.   ********************************************************************************/
  759.   #include "xincs.h"
  760.   #include "fxver.h"
  761. ***************
  762. *** 1093,1098 ****
  763. --- 1093,1107 ----
  764.     // Draw text, clipped against frame interior
  765.     dc.setClipRectangle(border,border,width-(border<<1),height-(border<<1));
  766.     drawTextRange(dc,0,contents.length());
  767. +   // Draw caret
  768. +   if(flags&FLAG_CARET){
  769. +     int xx=coord(cursor)-1;
  770. +     dc.setForeground(textColor);
  771. +     dc.fillRectangle(xx,padtop+border,1,height-padbottom-padtop-(border<<1));
  772. +     dc.fillRectangle(xx-2,padtop+border,5,1);
  773. +     dc.fillRectangle(xx-2,height-border-padbottom-1,5,1);
  774. +     }
  775.     return 1;
  776.     }
  777.   
  778. diff -P -c -r fox-1.0.9/src/version.rc fox-1.0.11/src/version.rc
  779. *** fox-1.0.9/src/version.rc    Wed Apr 24 01:16:34 2002
  780. --- fox-1.0.11/src/version.rc    Sun May 12 15:39:34 2002
  781. ***************
  782. *** 1,5 ****
  783.   1 VERSIONINFO
  784. ! FILEVERSION 1,0,9,0
  785.   FILEFLAGSMASK 0x3fL
  786.   #ifdef _DEBUG
  787.   FILEFLAGS 0x1L
  788. --- 1,5 ----
  789.   1 VERSIONINFO
  790. ! FILEVERSION 1,0,11,0
  791.   FILEFLAGSMASK 0x3fL
  792.   #ifdef _DEBUG
  793.   FILEFLAGS 0x1L
  794. ***************
  795. *** 15,21 ****
  796.   BLOCK "040904b0"
  797.   BEGIN
  798.   VALUE "FileDescription", "FOX GUI Library\0"
  799. ! VALUE "FileVersion", "1,0,9.0\0"
  800.   VALUE "LegalCopyright", "GNU Library General Public License\0"
  801.   END
  802.   END
  803. --- 15,21 ----
  804.   BLOCK "040904b0"
  805.   BEGIN
  806.   VALUE "FileDescription", "FOX GUI Library\0"
  807. ! VALUE "FileVersion", "1,0,11.0\0"
  808.   VALUE "LegalCopyright", "GNU Library General Public License\0"
  809.   END
  810.   END
  811. diff -P -c -r fox-1.0.9/tests/gltest.cpp fox-1.0.11/tests/gltest.cpp
  812. *** fox-1.0.9/tests/gltest.cpp    Fri Jan  4 16:50:31 2002
  813. --- fox-1.0.11/tests/gltest.cpp    Tue Apr 30 08:12:00 2002
  814. ***************
  815. *** 18,24 ****
  816.   
  817.   
  818.   // Settings dialog thanks to Sander Jansen <sxj@cfdrc.com>
  819. ! class FXAPI SettingsDialog : public FXDialogBox {
  820.     FXDECLARE(SettingsDialog)
  821.   private:
  822.     SettingsDialog(){}
  823. --- 18,24 ----
  824.   
  825.   
  826.   // Settings dialog thanks to Sander Jansen <sxj@cfdrc.com>
  827. ! class SettingsDialog : public FXDialogBox {
  828.     FXDECLARE(SettingsDialog)
  829.   private:
  830.     SettingsDialog(){}
  831. ***************
  832. *** 149,155 ****
  833.   
  834.   
  835.   // Event Handler Object
  836. ! class FXAPI GLTestWindow : public FXMainWindow {
  837.     FXDECLARE(GLTestWindow)
  838.   
  839.   private:
  840. --- 149,155 ----
  841.   
  842.   
  843.   // Event Handler Object
  844. ! class GLTestWindow : public FXMainWindow {
  845.     FXDECLARE(GLTestWindow)
  846.   
  847.   private:
  848.