forked from meduketto/iksemel
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ChangeLog: Version: 1.6.2 * Retain old piksemel behaviour * Fixes on artifacts * Fixes related with attribute style for ' to " * Python testes fixed for attributes * Fixed generate message * Fixes for valgrind test * Possible memory leaks analyzed using valgrind and fixed.
- Loading branch information
Showing
16 changed files
with
68 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[project] | ||
name = "iksemel" | ||
version = "1.6.1" | ||
version = "1.6.2" | ||
authors = [ | ||
{ name="Suleyman Poyraz", email="[email protected]" }, | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,11 +31,13 @@ document (char *xml) | |
break; | ||
case IKS_NOMEM: | ||
PR_TEST; | ||
iks_parser_delete(p); | ||
puts ("Not enough memory."); | ||
exit (1); | ||
case IKS_BADXML: | ||
PR_TEST; | ||
printf ("Invalid xml at byte %ld in\n[%s]\n", iks_nr_bytes (p), xml); | ||
iks_parser_delete(p); | ||
exit (1); | ||
case IKS_HOOK: | ||
PR_TEST; | ||
|
@@ -44,6 +46,10 @@ document (char *xml) | |
iks_parser_delete (p); | ||
} | ||
|
||
void finalize() { | ||
if (my_x) iks_delete(my_x); | ||
} | ||
|
||
void | ||
tag (char *name, ...) | ||
{ | ||
|
@@ -140,8 +146,8 @@ string (char *xml) | |
} | ||
|
||
static char buf[] = | ||
"<presence id='JCOM_11' to='[email protected]' type='available'><status>" | ||
"" <online&dangerous> "</status>meow<a><b c='d'/>" | ||
"<presence id=\"JCOM_11\" to=\"[email protected]\" type=\"available\"><status>" | ||
"" <online&dangerous> "</status>meow<a><b c=\"d\"/>" | ||
"</a><test/></presence>"; | ||
|
||
int main (int argc, char *argv[]) | ||
|
@@ -160,5 +166,6 @@ int main (int argc, char *argv[]) | |
tag ("test", 0); | ||
string (buf); | ||
|
||
finalize(); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ | |
int main (int argc, char *argv[]) | ||
{ | ||
static char xml[] = | ||
"<iq type='result' to='[email protected]'><query xmlns='jabber:iq:version'>" | ||
"<name>TestClient</name><os>SuxOS 2000</os><version><stable solidity='rock'/>" | ||
"<iq type=\"result\" to=\"[email protected]\"><query xmlns=\"jabber:iq:version\">" | ||
"<name>TestClient</name><os>SuxOS 2000</os><version><stable solidity=\"rock\"/>" | ||
"1.2.0 patchlevel 2</version></query></iq>"; | ||
static char xml2[] = | ||
"<Ni><C/>lala<br/><A/>Hello World<B/></Ni>"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters