2011-05-20 15:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbexpat/hbexpat.ch
    + added constants for attr array element positions
  * contrib/hbexpat/tests/test.prg
  * contrib/hbexpat/tests/tohash.prg
    + using them

  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmzip/hbmzip.hbp
    * C std-level related tweaks [Tamas Tevesz]
This commit is contained in:
Viktor Szakats
2011-05-20 13:52:06 +00:00
parent 503a6c82e1
commit 89cad21d1e
6 changed files with 28 additions and 11 deletions

View File

@@ -16,9 +16,20 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-05-20 15:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.ch
+ added constants for attr array element positions
* contrib/hbexpat/tests/test.prg
* contrib/hbexpat/tests/tohash.prg
+ using them
* contrib/hbmxml/3rd/minixml/mxml.hbp
* contrib/hbmzip/hbmzip.hbp
* C std-level related tweaks [Tamas Tevesz]
2011-05-19 16:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
! Fixed: regression where RTE was generated while closing
! Fixed: regression where RTE was generated while closing
hbIDE after MDI default has been changed to FALSE.
2011-05-19 16:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
@@ -35,20 +46,20 @@
This facilitates better visual experience in the editor.
* contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
+ Added: consider a source line as a comment if starts with "*".
+ Added: consider a source line as a comment if starts with "*".
2011-05-20 00:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idesaveload.prg
* turned off MDI mode by default
reasons:
- MDI is a concept is off the map these days
- in MDI mode it's not possible (at least I could not find one)
- MDI as a concept is off the map these days
- in MDI mode it's not possible (at least I could not find a way)
or not easily to disable the "stats" window
- in MDI mode it's not possible to disable the editor related
toolsbars
toolbars
- in MDI mode the window positions are not kept
- it's very confusing as default state even if above are fixed
if groups thinks that MDI is the future and it makes
if group thinks that MDI is the future and it makes
HBIDE a much better tool, pls shout.
2011-05-20 00:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

View File

@@ -110,4 +110,7 @@
#define HB_XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE 1
#define HB_XML_PARAM_ENTITY_PARSING_ALWAYS 2
#define HB_XML_ATTR_cName 1
#define HB_XML_ATTR_cValue 2
#endif /* HBEXPAT_CH_ */

View File

@@ -59,7 +59,7 @@ PROCEDURE start( xData, cElement, aAttr )
IF ! Empty( aAttr )
FOR EACH aItem IN aAttr
OutStd( " " + aItem[ 1 ] + "='" + aItem[ 2 ] + "'" )
OutStd( " " + aItem[ HB_XML_ATTR_cName ] + "='" + aItem[ HB_XML_ATTR_cValue ] + "'" )
NEXT
ENDIF

View File

@@ -23,9 +23,6 @@
#define _N_hAttr 4
#define _N_MAX_ 4
#define _A_cName 1
#define _A_cValue 2
PROCEDURE Main( cFileName )
LOCAL p := XML_ParserCreate()
LOCAL aUserData
@@ -139,7 +136,7 @@ PROCEDURE cb_start( aUserData, cElement, aAttrList )
ENDIF
FOR EACH aAttr IN aAttrList
aNewNode[ _N_hAttr ][ aAttr[ _A_cName ] ] := aAttr[ _A_cValue ]
aNewNode[ _N_hAttr ][ aAttr[ HB_XML_ATTR_cName ] ] := aAttr[ HB_XML_ATTR_cValue ]
NEXT
aUserData[ _D_aNode ] := aNewNode

View File

@@ -13,6 +13,9 @@
-cpp=no
-pic
# __inline__ keyword
{sunos}-c=gnu90
{win}-cflag=-DWIN32 -DWIN
{win|dos|os2}-cflag=-D_EOL_CRLF

View File

@@ -9,6 +9,9 @@
-w3 -es2
# localtime_r, gmtime_r
-c=gnu90
# component named libzip also has a header
# named zip.h, so we look for unzip.h to detect minizip
-depkeyhead=minizip:unzip.h