diff options
author | lexborisov <lex.borisov@gmail.com> | 2016-10-30 03:09:14 +0300 |
---|---|---|
committer | lexborisov <lex.borisov@gmail.com> | 2016-10-30 03:09:14 +0300 |
commit | 3a2c8cf8b0abb8eb83e0499167c2facef08179d6 (patch) | |
tree | 5c0ce448a05d8ff73d7763cbb5e503f43bcd8012 /devel | |
parent | 1d33b196fafd45ff1a98c623367aa58faa0a46fd (diff) |
Added destroy functions by type of declarations
Diffstat (limited to 'devel')
-rw-r--r-- | devel/osx/Modest.xcodeproj/project.pbxproj | 16 | ||||
-rw-r--r-- | devel/osx/Modest.xcodeproj/project.xcworkspace/xcuserdata/alexanderborisov.xcuserdatad/UserInterfaceState.xcuserstate | bin | 101951 -> 105090 bytes | |||
-rw-r--r-- | devel/osx/Modest.xcodeproj/xcuserdata/alexanderborisov.xcuserdatad/xcschemes/Modest.xcscheme | 1 | ||||
-rw-r--r-- | devel/osx/Modest/main.c | 4 |
4 files changed, 18 insertions, 3 deletions
diff --git a/devel/osx/Modest.xcodeproj/project.pbxproj b/devel/osx/Modest.xcodeproj/project.pbxproj index a52986f..1c526f6 100644 --- a/devel/osx/Modest.xcodeproj/project.pbxproj +++ b/devel/osx/Modest.xcodeproj/project.pbxproj @@ -20,6 +20,8 @@ 0E0C919C1DB10866007A0501 /* raw_property.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0C919A1DB10866007A0501 /* raw_property.c */; }; 0E4B525C1DC13BBB0095026A /* parser_text_decoration.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E4B525A1DC13BBB0095026A /* parser_text_decoration.c */; }; 0E5AA4BD1DA9689700FF5358 /* shared.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E5AA4BB1DA9689700FF5358 /* shared.c */; }; + 0E5E2AAB1DC53CC1007836AB /* entry_destroy.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E5E2AA91DC53CC1007836AB /* entry_destroy.c */; }; + 0E5E2AAE1DC5406C007836AB /* destroy.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E5E2AAD1DC5406C007836AB /* destroy.c */; }; 0E750EE31D9AF1D500337E9B /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E750EE21D9AF1D500337E9B /* main.c */; }; 0E750EF81D9AF25300337E9B /* finder.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E750EEE1D9AF25300337E9B /* finder.c */; }; 0E750EF91D9AF25300337E9B /* match.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E750EF01D9AF25300337E9B /* match.c */; }; @@ -152,6 +154,11 @@ 0E4B525A1DC13BBB0095026A /* parser_text_decoration.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = parser_text_decoration.c; sourceTree = "<group>"; }; 0E5AA4BB1DA9689700FF5358 /* shared.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = shared.c; sourceTree = "<group>"; }; 0E5AA4BC1DA9689700FF5358 /* shared.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = shared.h; sourceTree = "<group>"; }; + 0E5E2AA81DC53C5A007836AB /* entry_destroy_resources.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = entry_destroy_resources.h; sourceTree = "<group>"; }; + 0E5E2AA91DC53CC1007836AB /* entry_destroy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = entry_destroy.c; sourceTree = "<group>"; }; + 0E5E2AAA1DC53CC1007836AB /* entry_destroy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = entry_destroy.h; sourceTree = "<group>"; }; + 0E5E2AAC1DC54067007836AB /* destroy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = destroy.h; sourceTree = "<group>"; }; + 0E5E2AAD1DC5406C007836AB /* destroy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = destroy.c; sourceTree = "<group>"; }; 0E750EDF1D9AF1D500337E9B /* Modest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Modest; sourceTree = BUILT_PRODUCTS_DIR; }; 0E750EE21D9AF1D500337E9B /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = main.c; path = Modest/main.c; sourceTree = "<group>"; }; 0E750EEC1D9AF25300337E9B /* myosi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = myosi.h; path = ../../../source/modest/myosi.h; sourceTree = "<group>"; }; @@ -599,6 +606,9 @@ 0E750F301D9AF27200337E9B /* init.c */, 0E750F2F1D9AF27200337E9B /* entry.h */, 0E750F2E1D9AF27200337E9B /* entry.c */, + 0E5E2AAA1DC53CC1007836AB /* entry_destroy.h */, + 0E5E2AA91DC53CC1007836AB /* entry_destroy.c */, + 0E5E2AA81DC53C5A007836AB /* entry_destroy_resources.h */, 0E750F341D9AF27200337E9B /* parser.h */, 0E750F331D9AF27200337E9B /* parser.c */, 0E750F361D9AF27200337E9B /* state.h */, @@ -698,6 +708,8 @@ children = ( 0E750F7F1D9AF27200337E9B /* values.h */, 0E750F7E1D9AF27200337E9B /* values.c */, + 0E5E2AAC1DC54067007836AB /* destroy.h */, + 0E5E2AAD1DC5406C007836AB /* destroy.c */, 0E750F771D9AF27200337E9B /* consume.h */, 0E750F761D9AF27200337E9B /* consume.c */, 0E0460211DBE1B0D00685A80 /* color.h */, @@ -831,7 +843,9 @@ 0E0C91961DB1064E007A0501 /* serialization.c in Sources */, 0E750F901D9AF27200337E9B /* init.c in Sources */, 0E750F921D9AF27200337E9B /* function.c in Sources */, + 0E5E2AAE1DC5406C007836AB /* destroy.c in Sources */, 0E750FFA1D9AF27F00337E9B /* tokenizer_doctype.c in Sources */, + 0E5E2AAB1DC53CC1007836AB /* entry_destroy.c in Sources */, 0E750FF61D9AF27F00337E9B /* tag_init.c in Sources */, 0E750F8E1D9AF27200337E9B /* state.c in Sources */, 0EF808A31D9FF3BC001AF6EF /* sheet.c in Sources */, @@ -993,7 +1007,7 @@ 0E750EE71D9AF1D500337E9B /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - GCC_OPTIMIZATION_LEVEL = 2; + GCC_OPTIMIZATION_LEVEL = 0; HEADER_SEARCH_PATHS = ../../source; OTHER_CFLAGS = ( "-DMyHTML_WITH_PERF", diff --git a/devel/osx/Modest.xcodeproj/project.xcworkspace/xcuserdata/alexanderborisov.xcuserdatad/UserInterfaceState.xcuserstate b/devel/osx/Modest.xcodeproj/project.xcworkspace/xcuserdata/alexanderborisov.xcuserdatad/UserInterfaceState.xcuserstate Binary files differindex 719d971..ddf2feb 100644 --- a/devel/osx/Modest.xcodeproj/project.xcworkspace/xcuserdata/alexanderborisov.xcuserdatad/UserInterfaceState.xcuserstate +++ b/devel/osx/Modest.xcodeproj/project.xcworkspace/xcuserdata/alexanderborisov.xcuserdatad/UserInterfaceState.xcuserstate diff --git a/devel/osx/Modest.xcodeproj/xcuserdata/alexanderborisov.xcuserdatad/xcschemes/Modest.xcscheme b/devel/osx/Modest.xcodeproj/xcuserdata/alexanderborisov.xcuserdatad/xcschemes/Modest.xcscheme index 1489c6a..02b36c5 100644 --- a/devel/osx/Modest.xcodeproj/xcuserdata/alexanderborisov.xcuserdatad/xcschemes/Modest.xcscheme +++ b/devel/osx/Modest.xcodeproj/xcuserdata/alexanderborisov.xcuserdatad/xcschemes/Modest.xcscheme @@ -49,6 +49,7 @@ useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" + enableAddressSanitizer = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> <BuildableProductRunnable diff --git a/devel/osx/Modest/main.c b/devel/osx/Modest/main.c index 76924e1..29e6a01 100644 --- a/devel/osx/Modest/main.c +++ b/devel/osx/Modest/main.c @@ -64,7 +64,7 @@ myhtml_tree_t * myhtml(const char* data, size_t data_size, bool is_file, bool pr setbuf(stdout, NULL); myhtml_t* myhtml = myhtml_create(); - myhtml_init(myhtml, MyHTML_OPTIONS_DEFAULT, 1, 0); + myhtml_init(myhtml, MyHTML_OPTIONS_PARSE_MODE_SINGLE, 1, 0); uint64_t all_start = myhtml_hperf_clock(NULL); uint64_t tree_init_start = myhtml_hperf_clock(NULL); @@ -204,7 +204,7 @@ int main(int argc, const char * argv[]) { //char *css_f = "/new/C-git/bootstrap.css"; char *html = "<fff>sdsd<aaaa id=hash class=best><div a1><menu class=\"lalala\" id=\"menu-id\" b1><span span1><div a2></div></div><menu class=\"be\" id=\"menu\" b1><span span2></aaaa><a href=\"\" sec></a><div div1><div div2></div><div div3></div><div div4></div></div><p p1><p p2><p p3><p p4>"; - char *css = "div {font: italic 20px/1.667 Helvetica, Verdana, \"sans\"-serif, ultra-condensed bolder ;}"; + char *css = "div {font-family:Trebuchet MS}"; char *selector = "menu"; |