Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge remote-tracking branch 'origin/master'

  • Loading branch information...
commit 31bbc94515e0b9fecdbf970f3ee52d0a7c243512 2 parents fd94f11 + c66e77e
Enda Mannion authored
Showing with 39,596 additions and 1,892 deletions.
  1. +12 −0 README
  2. +6 −0 SConstruct
  3. +1,058 −0 native/alder/config/system-headers
  4. +1,058 −0 native/alder/js/src/config/system-headers
  5. +607 −0 native/alder/toolkit/library/Makefile.in
  6. +0 −99 src/sipcc/core/common/xml_util.c
  7. +0 −982 src/sipcc/plat/common/libxml_parser.c
  8. +410 −0 tests/roapproxy/SConstruct
  9. +8,981 −0 tests/roapproxy/libwebsockets-roap-server/jquery-1.6.2.js
  10. +556 −0 tests/roapproxy/libwebsockets-roap-server/jquery-ui-1.8.16.custom.min.js
  11. +482 −0 tests/roapproxy/libwebsockets-roap-server/json2.js
  12. +436 −0 tests/roapproxy/libwebsockets-roap-server/roap.html
  13. +82 −0 tests/roapproxy/roap/Logger.cpp
  14. +14 −9 src/sipcc/core/includes/xml_util.h → tests/roapproxy/roap/Logger.h
  15. +13 −0 tests/roapproxy/roap/common.h
  16. +144 −0 tests/roapproxy/roap/incomingroap.cpp
  17. +54 −0 tests/roapproxy/roap/incomingroap.h
  18. +212 −0 tests/roapproxy/roap/jsonparser.cpp
  19. +53 −0 tests/roapproxy/roap/jsonparser.h
  20. +190 −0 tests/roapproxy/roap/outgoingroap.cpp
  21. +74 −0 tests/roapproxy/roap/outgoingroap.h
  22. +603 −0 tests/roapproxy/roap/roapapp.cpp
  23. +47 −0 tests/roapproxy/roap/roapapp.h
  24. +652 −0 tests/roapproxy/roap/sipcc_controller.cpp
  25. +178 −0 tests/roapproxy/roap/sipcc_controller.h
  26. +71 −82 src/sipcc/include/xml_parser.h → tests/roapproxy/roap/sockporting.cpp
  27. +68 −0 tests/roapproxy/roap/sockporting.h
  28. +82 −0 third_party/libwebsocket/SConstruct_libwebsocket
  29. +200 −0 third_party/libwebsocket/libwebsocketswin32/base64-decode.c
  30. +339 −0 third_party/libwebsocket/libwebsocketswin32/client-handshake.c
  31. +150 −0 third_party/libwebsocket/libwebsocketswin32/extension-deflate-stream.c
  32. +18 −0 third_party/libwebsocket/libwebsocketswin32/extension-deflate-stream.h
  33. +1,223 −0 third_party/libwebsocket/libwebsocketswin32/extension-x-google-mux.c
  34. +96 −0 third_party/libwebsocket/libwebsocketswin32/extension-x-google-mux.h
  35. +22 −0 third_party/libwebsocket/libwebsocketswin32/extension.c
  36. +733 −0 third_party/libwebsocket/libwebsocketswin32/handshake.c
  37. +3,108 −0 third_party/libwebsocket/libwebsocketswin32/libwebsockets.c
  38. +707 −0 third_party/libwebsocket/libwebsocketswin32/libwebsockets.h
  39. +217 −0 third_party/libwebsocket/libwebsocketswin32/md5.c
  40. +1,944 −0 third_party/libwebsocket/libwebsocketswin32/parsers.c
  41. +430 −0 third_party/libwebsocket/libwebsocketswin32/private-libwebsockets.h
  42. +329 −0 third_party/libwebsocket/libwebsocketswin32/sha-1.c
  43. +149 −0 third_party/libwebsocket/win32port/win32helpers/getopt.c
  44. +36 −0 third_party/libwebsocket/win32port/win32helpers/getopt.h
  45. +228 −0 third_party/libwebsocket/win32port/win32helpers/getopt_long.c
  46. +48 −0 third_party/libwebsocket/win32port/win32helpers/gettimeofday.c
  47. +21 −0 third_party/libwebsocket/win32port/win32helpers/gettimeofday.h
  48. +1 −0  third_party/libwebsocket/win32port/win32helpers/netdb.h
  49. 0  third_party/libwebsocket/win32port/win32helpers/strings.h
  50. +1 −0  third_party/libwebsocket/win32port/win32helpers/sys/time.h
  51. 0  third_party/libwebsocket/win32port/win32helpers/unistd.h
  52. +95 −0 third_party/libwebsocket/win32port/win32helpers/websock-w32.c
  53. +32 −0 third_party/libwebsocket/win32port/win32helpers/websock-w32.h
  54. +169 −0 third_party/libwebsocket/zlib/adler32.c
  55. +80 −0 third_party/libwebsocket/zlib/compress.c
  56. +442 −0 third_party/libwebsocket/zlib/crc32.c
  57. +441 −0 third_party/libwebsocket/zlib/crc32.h
  58. +1,834 −0 third_party/libwebsocket/zlib/deflate.c
  59. +342 −0 third_party/libwebsocket/zlib/deflate.h
  60. +25 −0 third_party/libwebsocket/zlib/gzclose.c
  61. +132 −0 third_party/libwebsocket/zlib/gzguts.h
  62. +1,005 −0 third_party/libwebsocket/zlib/gzio.c
  63. +537 −0 third_party/libwebsocket/zlib/gzlib.c
  64. +653 −0 third_party/libwebsocket/zlib/gzread.c
  65. +531 −0 third_party/libwebsocket/zlib/gzwrite.c
  66. +632 −0 third_party/libwebsocket/zlib/infback.c
  67. +340 −0 third_party/libwebsocket/zlib/inffast.c
  68. +11 −0 third_party/libwebsocket/zlib/inffast.h
  69. +94 −0 third_party/libwebsocket/zlib/inffixed.h
  70. +1,480 −0 third_party/libwebsocket/zlib/inflate.c
  71. +122 −0 third_party/libwebsocket/zlib/inflate.h
  72. +330 −0 third_party/libwebsocket/zlib/inftrees.c
  73. +62 −0 third_party/libwebsocket/zlib/inftrees.h
  74. +1,244 −0 third_party/libwebsocket/zlib/trees.c
  75. +128 −0 third_party/libwebsocket/zlib/trees.h
  76. +59 −0 third_party/libwebsocket/zlib/uncompr.c
  77. +428 −0 third_party/libwebsocket/zlib/zconf.h
  78. +1,613 −0 third_party/libwebsocket/zlib/zlib.h
  79. +318 −0 third_party/libwebsocket/zlib/zutil.c
  80. +274 −0 third_party/libwebsocket/zlib/zutil.h
  81. +0 −96 third_party/libxml2/include/libxml/DOCBparser.h
  82. +0 −304 third_party/libxml2/include/libxml/HTMLparser.h
  83. +0 −147 third_party/libxml2/include/libxml/HTMLtree.h
  84. +0 −173 third_party/libxml2/include/libxml/SAX.h
Sorry, we could not display the entire diff because it was too big.
12 README
View
@@ -297,3 +297,15 @@ python setup.py install
Windows
From http://www.scons.org/ download and install the scons windows installer
+ ---------------------------------------------------
+14. Using Ikran with websocket-based ROAP Proxy
+---------------------------------------------------
+
+1. Start the roap proxy firstly.
+
+2. Start firefox with ikran add-on. Enter IP:7681 in address bar to load page. the IP is roap proxy ip.
+
+3. On page load you should see the RoapProxy register and then it will do the SIP conversation
+on behalf of your browser. It currently only works for 1 call and needs to be reset between
+each call.
+
6 SConstruct
View
@@ -287,6 +287,12 @@ SCRIPT_FILES += [
'tests/testapp_softphone/SConstruct',
]
+if sys.platform in ['win32']:
+ SCRIPT_FILES += [
+ 'third_party/libwebsocket/SConstruct_libwebsocket',
+ 'tests/roapproxy/SConstruct',
+ ]
+
if sys.platform in [ 'win32', 'linux2','darwin']:
SCRIPT_FILES += [
'third_party/gtest/SConstruct_gtestd',
1,058 native/alder/config/system-headers
View
@@ -0,0 +1,1058 @@
+A4Stuff.h
+activscp.h
+AEDataModel.h
+AEObjects.h
+AEPackObject.h
+AERegistry.h
+AEUtils.h
+afxcmn.h
+afxcoll.h
+afxcview.h
+afxdisp.h
+afxdtctl.h
+afxext.h
+afxmt.h
+afxpriv.h
+afxtempl.h
+afxwin.h
+algorithm
+Aliases.h
+all.h
+alloca.h
+alloc.h
+alsa/asoundlib.h
+alsa/pcm.h
+alsa/mixer.h
+android/log.h
+ansi_parms.h
+a.out.h
+app/Cursor.h
+Appearance.h
+AppFileInfo.h
+AppKit.h
+AppleEvents.h
+Application.h
+app/Message.h
+app/MessageRunner.h
+arpa/inet.h
+arpa/nameser.h
+asm/sigcontext.h
+asm/signal.h
+ASRegistry.h
+assert.h
+atk/atk.h
+atlcom.h
+atlconv.h
+atlctl.cpp
+atlctl.h
+ATLCTL.H
+atlhost.h
+atlimpl.cpp
+atlwin.cpp
+ATSTypes.h
+ATSUnicode.h
+Balloons.h
+base/pblock.h
+base/PCR_Base.h
+base/session.h
+basetyps.h
+be/app/Application.h
+Beep.h
+be/kernel/image.h
+be/kernel/OS.h
+bfd.h
+Bitmap.h
+bitset
+blapi.h
+bsd/libc.h
+bsd/syscall.h
+bstring.h
+builtin.h
+Button.h
+byteswap.h
+#if MOZ_TREE_CAIRO!=1
+#define WRAP_CAIRO_HEADERS
+#endif
+#ifdef WRAP_CAIRO_HEADERS
+pixman.h
+cairo.h
+cairo-atsui.h
+cairo-beos.h
+cairo-ft.h
+cairo-glitz.h
+cairo-os2.h
+cairo-pdf.h
+cairo-ps.h
+cairo-tee.h
+cairo-quartz.h
+cairo-win32.h
+cairo-xlib.h
+cairo-xlib-xrender.h
+cairo-directfb.h
+cairo-qpainter.h
+#endif
+dfiff.h
+exception
+ffi.h
+fusion/reactor.h
+fusion/property.h
+fusion/conf.h
+fusion/build.h
+fusion/hash.h
+fusion/shm/shm.h
+fusion/shm/shm_internal.h
+fusion/shm/pool.h
+fusion/ref.h
+fusion/fusion_internal.h
+fusion/lock.h
+fusion/types.h
+fusion/vector.h
+fusion/call.h
+fusion/shmalloc.h
+fusion/protocol.h
+fusion/fusion.h
+fusion/arena.h
+fusion/object.h
+dgiff.h
+direct/util.h
+direct/memcpy.h
+direct/interface.h
+direct/conf.h
+direct/tree.h
+direct/signals.h
+direct/build.h
+direct/interface_implementation.h
+direct/utf8.h
+direct/serial.h
+direct/hash.h
+direct/direct.h
+direct/clock.h
+direct/types.h
+direct/mem.h
+direct/thread.h
+direct/debug.h
+direct/stream.h
+direct/messages.h
+direct/trace.h
+direct/modules.h
+direct/log.h
+direct/system.h
+direct/list.h
+dfb_types.h
+directfb_strings.h
+directfb_keyboard.h
+callconv.h
+Carbon/Carbon.h
+CarbonEvents.h
+Carbon.h
+cassert
+c_asm.h
+cctype
+cderr.h
+cerrno
+cert.h
+CFBase.h
+CFBundle.h
+CFData.h
+CFDictionary.h
+cf.h
+CFNumber.h
+CFPlugIn.h
+CFPreferences.h
+CFString.h
+CFURL.h
+CGAffineTransform.h
+CheckBox.h
+climits
+Clipboard.h
+cmplrs/stsupport.h
+Cocoa/Cocoa.h
+CodeFragments.h
+comdef.h
+commctrl.h
+COMMCTRL.H
+commdlg.h
+compat.h
+condapi.h
+ConditionalMacros.h
+config.h
+conio.h
+console.h
+ControlDefinitions.h
+Controls.h
+CoreFoundation/CoreFoundation.h
+CoreServices/CoreServices.h
+CPalmRec.cpp
+Cpalmrec.h
+CPCatgry.cpp
+CPDbBMgr.h
+CPString.cpp
+CPString.h
+crtdbg.h
+crt_externs.h
+crypt.h
+cstddef
+cstdio
+cstdlib
+cstring
+ctime
+ctype.h
+curl/curl.h
+curl/easy.h
+curses.h
+cxxabi.h
+DateTimeUtils.h
+dbus/dbus.h
+dbus/dbus-glib.h
+dbus/dbus-glib-lowlevel.h
+ddeml.h
+Debug.h
+deque
+dem.h
+descrip.h
+Devices.h
+Dialogs.h
+direct.h
+dirent.h
+DiskInit.h
+dlfcn.h
+dlgs.h
+dl.h
+docobj.h
+dos/dosextens.h
+dos.h
+Drag.h
+DriverServices.h
+DriverSynchronization.h
+DropInPanel.h
+dvidef.h
+elf.h
+endian.h
+Entry.h
+errno.h
+Errors.h
+Events.h
+exdisp.h
+ExDisp.h
+exe386.h
+execinfo.h
+extras.h
+fabdef.h
+fcntl.h
+features.h
+fibdef.h
+File.h
+filehdr.h
+files.h
+Files.h
+FindDirectory.h
+Finder.h
+FinderRegistry.h
+FixMath.h
+float.h
+fnmatch.h
+Folders.h
+fontconfig/fontconfig.h
+fontconfig/fcfreetype.h
+Font.h
+Fonts.h
+fp.h
+fpieee.h
+frame/log.h
+frame/req.h
+freetype/freetype.h
+freetype/ftcache.h
+freetype/ftglyph.h
+freetype/ftsynth.h
+freetype/ftoutln.h
+freetype/ttnameid.h
+freetype/tttables.h
+freetype/t1tables.h
+freetype/ftlcdfil.h
+freetype/ftsizes.h
+freetype/ftadvanc.h
+freetype/ftbitmap.h
+freetype/ftxf86.h
+fribidi/fribidi.h
+FSp_fopen.h
+fstream
+fstream.h
+ft2build.h
+fts.h
+gconf/gconf-client.h
+Gdiplus.h
+gdk/gdk.h
+gdk/gdkkeysyms.h
+gdk/gdkprivate.h
+gdk/gdkx.h
+gdk/gdkdirectfb.h
+gdk-pixbuf/gdk-pixbuf.h
+Gestalt.h
+getopt.h
+glibconfig.h
+glib.h
+glib-object.h
+gmodule.h
+gnome.h
+gnu/libc-version.h
+grp.h
+gssapi_generic.h
+gssapi/gssapi_generic.h
+gssapi/gssapi.h
+gssapi.h
+gtk/gtk.h
+gtk/gtkprinter.h
+gtk/gtkprintjob.h
+gtk/gtkprintunixdialog.h
+HIToolbox/HIToolbox.h
+hlink.h
+ia64/sys/inline.h
+Icons.h
+iconv.h
+ieeefp.h
+ifaddrs.h
+image.h
+imagehlp.h
+imm.h
+initguid.h
+InterfaceDefs.h
+InternetConfig.h
+IntlResources.h
+ints.h
+intshcut.h
+inttypes.h
+iodef.h
+io.h
+IOKit/IOKitLib.h
+IOKit/IOMessage.h
+IOKit/pwr_mgt/IOPMLib.h
+iomanip
+iostream
+iostream.h
+iterator
+jar.h
+JavaControl.h
+JavaEmbedding/JavaControl.h
+JavaVM/jni.h
+jemalloc.h
+JManager.h
+JNIEnvTests.h
+jni.h
+#if MOZ_NATIVE_JPEG==1
+jpeglib.h
+#endif
+JVMManagerTests.h
+Kerberos/Kerberos.h
+kernel/image.h
+kernel/OS.h
+key.h
+keyt.h
+keythi.h
+LAction.h
+langinfo.h
+LApplication.h
+LArray.h
+LArrayIterator.h
+LAttachable.h
+LAttachment.h
+LaunchServices.h
+lber.h
+LBroadcaster.h
+LButton.h
+lcache.h
+LCaption.h
+LCheckBox.h
+LCicnButton.h
+LClipboard.h
+LCommander.h
+LComparator.h
+LControl.h
+ldap.h
+ldaplog.h
+ldappr.h
+ldap_ssl.h
+LDataStream.h
+ldfcn.h
+LDialogBox.h
+ldif.h
+LDocApplication.h
+LDocument.h
+LDragAndDrop.h
+LDragTask.h
+LEditField.h
+LEditText.h
+LEventDispatcher.h
+LFile.h
+LFileStream.h
+LFileTypeList.h
+LFocusBox.h
+LGrafPortView.h
+LHandleStream.h
+libc_r.h
+libelf.h
+libelf/libelf.h
+libgen.h
+libgnome/gnome-url.h
+libgnome/libgnome.h
+libgnomeui/gnome-icon-lookup.h
+libgnomeui/gnome-icon-theme.h
+libgnomeui/gnome-ui-init.h
+libgnomevfs/gnome-vfs-file-info.h
+libgnomevfs/gnome-vfs.h
+libgnomevfs/gnome-vfs-init.h
+libgnomevfs/gnome-vfs-mime.h
+libgnomevfs/gnome-vfs-mime-handlers.h
+libgnomevfs/gnome-vfs-mime-utils.h
+libgnomevfs/gnome-vfs-ops.h
+libgnomevfs/gnome-vfs-standard-callbacks.h
+lib$routines.h
+libnotify/notify.h
+limits
+limits.h
+link.h
+linux/kernel.h
+linux/limits.h
+linux/rtc.h
+linux/version.h
+list
+List.h
+Lists.h
+LListBox.h
+LListener.h
+LMenuBar.h
+LMenu.h
+LModelDirector.h
+LModelObject.h
+LModelProperty.h
+loader.h
+locale
+locale.h
+LOffscreenView.h
+logkeys.h
+logstrng.h
+Looper.h
+LowMem.h
+LPane.h
+LPeriodical.h
+LPicture.h
+LPlaceHolder.h
+LPrintout.h
+LProgressBar.h
+LPushButton.h
+LRadioGroup.h
+LRadioGroupView.h
+LRunArray.h
+LScroller.h
+LSharable.h
+LSingleDoc.h
+LStaticText.h
+LStdControl.h
+LStream.h
+LString.h
+LTabGroup.h
+LTabGroupView.h
+LTableArrayStorage.h
+LTableMonoGeometry.h
+LTableSingleSelector.h
+LTableView.h
+LTextEditView.h
+LTextTableView.h
+LUndoer.h
+LVariableArray.h
+LView.h
+LWindow.h
+m68881.h
+MacErrors.h
+MacHeadersCarbon.h
+machine/ansi.h
+machine/builtins.h
+machine/clock.h
+machine/endian.h
+machine/frame.h
+machine/inline.h
+machine/limits.h
+machine/signal.h
+machine/trap.h
+mach/mach_host.h
+mach/mach_init.h
+mach/mach_interface.h
+mach/mach_port.h
+mach-o/dyld.h
+MacLocales.h
+MacMemory.h
+MacTCP.h
+MacTypes.h
+MacWindows.h
+malloc.h
+map
+mapicode.h
+mapidefs.h
+mapiguid.h
+mapi.h
+mapitags.h
+mapiutil.h
+mapix.h
+Math64.h
+math.h
+mbstring.h
+mem.h
+memory
+memory.h
+Memory.h
+MenuBar.h
+Menu.h
+Menus.h
+Message.h
+Mime.h
+MixedMode.h
+mlang.h
+mmsystem.h
+model.h
+Movies.h
+mpw/errno.h
+mshtmhst.h
+mshtml.h
+mswsock.h
+Multiprocessing.h
+mutex.h
+Navigation.h
+ncompat.h
+ncurses.h
+netCore.h
+netdb.h
+net/if.h
+netinet/in.h
+netinet/in_systm.h
+netinet/tcp.h
+new
+newexe.h
+new.h
+nl_types.h
+NodeInfo.h
+nss.h
+nssilock.h
+nsswitch.h
+objbase.h
+objidl.h
+Objsafe.h
+ojiapitests.h
+ole2.h
+oleidl.h
+OpenGL/OpenGL.h
+OpenTptInternet.h
+OpenTransport.h
+os2.h
+OS.h
+osreldate.h
+OSUtils.h
+Packages.h
+Palettes.h
+PALM_CMN.H
+pango/pango-modules.h
+pango/pangocairo.h
+pango/pangofc-decoder.h
+pango/pangofc-font.h
+pango/pangofc-fontmap.h
+pango/pango-break.h
+pango/pango-fontmap.h
+pango/pango.h
+pango/pangoxft.h
+pango/pango-utils.h
+pascal.h
+Patches.h
+Path.h
+pcfs/pc_dir.h
+Pgenerr.h
+PGenErr.h
+Ph.h
+pk11func.h
+pk11pub.h
+pkcs11t.h
+PLStringFuncs.h
+PMApplication.h
+pmddim.h
+poll.h
+Polygon.h
+portable.h
+Power.h
+PP_ClassHeaders.cp
+PP_Constants.h
+PPCToolbox.h
+PP_DebugHeaders.cp
+PP_KeyCodes.h
+PP_Macros.h
+PP_Messages.h
+PP_Prefix.h
+PP_Resources.h
+PP_Types.h
+Printing.h
+Print/PMPrintingDialogExtensions.h
+private/qucomextra_p.h
+Processes.h
+process.h
+Process.h
+proto/dos.h
+proto/exec.h
+psap.h
+Pt.h
+pthread.h
+pwd.h
+Python.h
+QDOffscreen.h
+queue
+Quickdraw.h
+QuickDraw.h
+QuickTimeComponents.h
+quipu/attr.h
+rasdlg.h
+raserror.h
+ras.h
+regex.h
+Region.h
+resolv.h
+Resources.h
+Retrace.h
+rld_interface.h
+rmsdef.h
+Roster.h
+rpc.h
+rpcproxy.h
+rpc/types.h
+sane/sane.h
+sane/sanei.h
+sane/saneopts.h
+Scrap.h
+Screen.h
+Script.h
+ScrollBar.h
+seccomon.h
+sec.h
+secmod.h
+secmodt.h
+secrng.h
+security.h
+secutil.h
+semaphore.h
+servprov.h
+set
+setjmp.h
+SFNTLayoutTypes.h
+SFNTTypes.h
+share.h
+shellapi.h
+shlguid.h
+shlobj.h
+sigcontext.h
+signal.h
+SimpleGameSound.h
+SIOUX.h
+size_t.h
+someincludefile.h
+Sound.h
+sqlite3.h
+ssdef.h
+sslerr.h
+ssl.h
+sslproto.h
+sstream
+stack
+StandardFile.h
+starlet.h
+stat.h
+statreg.cpp
+statreg.h
+stdarg.h
+stdbool.h
+stddef.h
+stdint.h
+stdio.h
+stdlib.h
+storage/FindDirectory.h
+StorageKit.h
+string
+StringCompare.h
+string.h
+String.h
+strings.h
+Strings.h
+StringView.h
+stropts.h
+strstrea.h
+structs.h
+stsdef.h
+SupportDefs.h
+support/String.h
+support/SupportDefs.h
+support/TLS.h
+svrcore.h
+symconst.h
+sym.h
+synch.h
+syncmgr.h
+sys/atomic_op.h
+sys/bitypes.h
+sys/byteorder.h
+syscall.h
+sys/cdefs.h
+sys/cfgodm.h
+sys/elf.h
+sys/endian.h
+sys/errno.h
+sys/fault.h
+sys/fcntl.h
+sys/file.h
+sys/filio.h
+sys/frame.h
+sys/immu.h
+sys/inttypes.h
+sys/ioccom.h
+sys/ioctl.h
+sys/ipc.h
+sys/ldr.h
+sys/link.h
+sys/locking.h
+syslog.h
+sys/lwp.h
+sys/machine.h
+sys/mman.h
+sys/mmu.h
+sys/mount.h
+sys/mpctl.h
+sys/param.h
+sys/pda.h
+sys/poll.h
+sys/ppc.h
+sys/prctl.h
+sys/priv.h
+sys/procfs.h
+sys/pstat.h
+sys/ptrace.h
+sys/queue.h
+sys/quota.h
+sys/reboot.h
+sys/reg.h
+sys/regset.h
+sys/resource.h
+sys/sched.h
+sys/select.h
+sys/sem.h
+sys/sendfile.h
+sys/shm.h
+sys/siginfo.h
+sys/signal.h
+sys/socket.h
+sys/sockio.h
+sys/sparc/frame.h
+sys/stack.h
+sys/statfs.h
+sys/stat.h
+sys/statvfs.h
+sys/syscall.h
+sys/sysctl.h
+sys/sysinfo.h
+sys/sysmp.h
+sys/syssgi.h
+sys/system_properties.h
+sys/systeminfo.h
+sys/timeb.h
+sys/time.h
+sys/times.h
+sys/ttycom.h
+sys/types.h
+sys/ucontext.h
+sys/uio.h
+sys/un.h
+sys/unistd.h
+sys/utsname.h
+sys/vfs.h
+sys/wait.h
+tables.h
+TArray.h
+TArrayIterator.h
+task.h
+tchar.h
+TCHAR.H
+termios.h
+TextCommon.h
+TextEdit.h
+TextEncodingConverter.h
+TextServices.h
+TextUtils.h
+TextView.h
+th/PCR_Th.h
+thread.h
+ThreadManagerTests.h
+Threads.h
+time.h
+Timer.h
+tlhelp32.h
+ToolUtils.h
+tr1/functional
+trace.h
+Traps.h
+typeinfo
+types.h
+Types.h
+UAppleEventsMgr.h
+UAttachments.h
+ucontext.h
+uconv.h
+UCursor.h
+ucx$inetdef.h
+UDebugging.h
+UDesktop.h
+UDrawingState.h
+UDrawingUtils.h
+UEnvironment.h
+UEventMgr.h
+UException.h
+UExtractFromAEDesc.h
+UGWorld.h
+UKeyFilters.h
+ulocks.h
+ulserrno.h
+UMemoryMgr.h
+UModalDialogs.h
+UNavServicesDialogs.h
+UnicodeBlockObjects.h
+UnicodeConverter.h
+UnicodeUtilities.h
+unidef.h
+unikbd.h
+unistd.h
+unix.h
+unixio.h
+unixlib.h
+unknwn.h
+UPrinting.h
+UQuickTime.h
+UReanimator.h
+URegions.h
+URegistrar.h
+UResourceMgr.h
+utility
+urlhist.h
+urlmon.h
+UScrap.h
+UScreenPort.h
+UTCUtils.h
+UTETextAction.h
+UTEViewTextAction.h
+UTextEdit.h
+UTextTraits.h
+utility
+utime.h
+UWindows.h
+values.h
+varargs.h
+vcclr.h
+vector
+View.h
+Volume.h
+wab.h
+wait.h
+wchar.h
+wctype.h
+winbase.h
+win/compobj.h
+windef.h
+Window.h
+windows.h
+Windows.h
+windowsx.h
+Wininet.h
+winnls.h
+winperf.h
+winreg.h
+Winreg.h
+winsock2.h
+winsock.h
+winspool.h
+winsvc.h
+winuser.h
+winver.h
+wmem.h
+workbench/startup.h
+wtypes.h
+wx/image.h
+wx/listctrl.h
+wx/log.h
+wx/toolbar.h
+wx/wx.h
+wx/xrc/xmlres.h
+X11/cursorfont.h
+X11/extensions/Print.h
+X11/extensions/shape.h
+X11/extensions/scrnsaver.h
+X11/extensions/XShm.h
+X11/extensions/Xrender.h
+X11/extensions/Xdamage.h
+X11/extensions/Xcomposite.h
+X11/Intrinsic.h
+X11/keysymdef.h
+X11/keysym.h
+X11/Shell.h
+X11/StringDefs.h
+X11/Xatom.h
+X11/Xft/Xft.h
+X11/Xfuncproto.h
+X11/X.h
+X11/XKBlib.h
+X11/Xlib.h
+X11/Xlibint.h
+X11/Xlocale.h
+X11/Xos.h
+X11/Xutil.h
+xpt_struct.h
+xpt_xdr.h
+zmouse.h
+sslt.h
+smime.h
+cms.h
+sechash.h
+secoidt.h
+certdb.h
+secerr.h
+nssb64.h
+secasn1.h
+secder.h
+certt.h
+ocsp.h
+keyhi.h
+cryptohi.h
+crmf.h
+pk11pqg.h
+cmmf.h
+base64.h
+secdert.h
+secitem.h
+secmime.h
+nssckbi.h
+pkcs12.h
+p12plcy.h
+pk11sdr.h
+nspr.h
+pratom.h
+prbit.h
+prclist.h
+prcmon.h
+prcountr.h
+prcvar.h
+prdtoa.h
+prenv.h
+prerr.h
+prerror.h
+prinet.h
+prinit.h
+prinrval.h
+prio.h
+pripcsem.h
+prlink.h
+prlock.h
+prlog.h
+prlong.h
+prmem.h
+prmon.h
+prmwait.h
+prnetdb.h
+prolock.h
+prpdce.h
+prprf.h
+prproces.h
+prrng.h
+prrwlock.h
+prshm.h
+prshma.h
+prsystem.h
+prthread.h
+prtime.h
+prtpool.h
+prtrace.h
+prtypes.h
+prvrsion.h
+plbase64.h
+plerror.h
+plgetopt.h
+plresolv.h
+plstr.h
+plarenas.h
+plarena.h
+plhash.h
+#if MOZ_NATIVE_PNG==1
+png.h
+#endif
+#if MOZ_NATIVE_ZLIB==1
+zlib.h
+#endif
+#ifdef MOZ_ENABLE_STARTUP_NOTIFICATION
+libsn/sn.h
+libsn/sn-common.h
+libsn/sn-launchee.h
+libsn/sn-launcher.h
+libsn/sn-monitor.h
+libsn/sn-util.h
+#endif
+#if MOZ_NATIVE_HUNSPELL==1
+hunspell.hxx
+#endif
+#if MOZ_NATIVE_BZ2==1
+bzlib.h
+#endif
+#if MOZ_PLATFORM_MAEMO==5
+hildon-uri.h
+hildon-mime.h
+hildon-file-chooser-dialog.h
+libosso.h
+osso-mem.h
+#endif
+#ifdef MOZ_ENABLE_GIO
+gio/gio.h
+#endif
+#ifdef MOZ_ENABLE_LIBCONIC
+conic/conicconnection.h
+conic/conicconnectionevent.h
+conic/conicstatisticsevent.h
+#endif
+#if MOZ_NATIVE_LIBEVENT==1
+event.h
+#endif
+#ifdef MOZ_ENABLE_LIBPROXY
+proxy.h
+#endif
+#if MOZ_PLATFORM_MAEMO==6
+contentaction/contentaction.h
+#endif
+#ifdef MOZ_ENABLE_CONTENTMANAGER
+SelectSingleContentItemPage.h
+SelectMultipleContentItemsPage.h
+QtSparql/qsparqlconnection.h
+QtSparql/qsparqlquery.h
+QtSparql/qsparqlresult.h
+#endif
+
+#if MOZ_TREE_PIXMAN!=1
+pixman.h
+#endif
+#if MOZ_ENABLE_MEEGOTOUCHSHARE
+shareuiinterface.h
+#endif
+#if MOZ_NATIVE_LIBVPX==1
+vpx/vpx_decoder.h
+vpx/vp8dx.h
+#endif
+#ifdef XP_WIN
+vpx/vpx_decoder.h
+vpx/vp8dx.h
+sydneyaudio/sydney_audio.h
+vorbis/codec.h
+theora/theoradec.h
+tremor/ivorbiscodec.h
+ogg/ogg.h
+ogg/os_types.h
+nestegg/nestegg.h
+cubeb/cubeb.h
+#endif
+sys/msg.h
+sys/ipc.h
+libxml/parser.h
+libxml/tree.h
1,058 native/alder/js/src/config/system-headers
View
@@ -0,0 +1,1058 @@
+A4Stuff.h
+activscp.h
+AEDataModel.h
+AEObjects.h
+AEPackObject.h
+AERegistry.h
+AEUtils.h
+afxcmn.h
+afxcoll.h
+afxcview.h
+afxdisp.h
+afxdtctl.h
+afxext.h
+afxmt.h
+afxpriv.h
+afxtempl.h
+afxwin.h
+algorithm
+Aliases.h
+all.h
+alloca.h
+alloc.h
+alsa/asoundlib.h
+alsa/pcm.h
+alsa/mixer.h
+android/log.h
+ansi_parms.h
+a.out.h
+app/Cursor.h
+Appearance.h
+AppFileInfo.h
+AppKit.h
+AppleEvents.h
+Application.h
+app/Message.h
+app/MessageRunner.h
+arpa/inet.h
+arpa/nameser.h
+asm/sigcontext.h
+asm/signal.h
+ASRegistry.h
+assert.h
+atk/atk.h
+atlcom.h
+atlconv.h
+atlctl.cpp
+atlctl.h
+ATLCTL.H
+atlhost.h
+atlimpl.cpp
+atlwin.cpp
+ATSTypes.h
+ATSUnicode.h
+Balloons.h
+base/pblock.h
+base/PCR_Base.h
+base/session.h
+basetyps.h
+be/app/Application.h
+Beep.h
+be/kernel/image.h
+be/kernel/OS.h
+bfd.h
+Bitmap.h
+bitset
+blapi.h
+bsd/libc.h
+bsd/syscall.h
+bstring.h
+builtin.h
+Button.h
+byteswap.h
+#if MOZ_TREE_CAIRO!=1
+#define WRAP_CAIRO_HEADERS
+#endif
+#ifdef WRAP_CAIRO_HEADERS
+pixman.h
+cairo.h
+cairo-atsui.h
+cairo-beos.h
+cairo-ft.h
+cairo-glitz.h
+cairo-os2.h
+cairo-pdf.h
+cairo-ps.h
+cairo-tee.h
+cairo-quartz.h
+cairo-win32.h
+cairo-xlib.h
+cairo-xlib-xrender.h
+cairo-directfb.h
+cairo-qpainter.h
+#endif
+dfiff.h
+exception
+ffi.h
+fusion/reactor.h
+fusion/property.h
+fusion/conf.h
+fusion/build.h
+fusion/hash.h
+fusion/shm/shm.h
+fusion/shm/shm_internal.h
+fusion/shm/pool.h
+fusion/ref.h
+fusion/fusion_internal.h
+fusion/lock.h
+fusion/types.h
+fusion/vector.h
+fusion/call.h
+fusion/shmalloc.h
+fusion/protocol.h
+fusion/fusion.h
+fusion/arena.h
+fusion/object.h
+dgiff.h
+direct/util.h
+direct/memcpy.h
+direct/interface.h
+direct/conf.h
+direct/tree.h
+direct/signals.h
+direct/build.h
+direct/interface_implementation.h
+direct/utf8.h
+direct/serial.h
+direct/hash.h
+direct/direct.h
+direct/clock.h
+direct/types.h
+direct/mem.h
+direct/thread.h
+direct/debug.h
+direct/stream.h
+direct/messages.h
+direct/trace.h
+direct/modules.h
+direct/log.h
+direct/system.h
+direct/list.h
+dfb_types.h
+directfb_strings.h
+directfb_keyboard.h
+callconv.h
+Carbon/Carbon.h
+CarbonEvents.h
+Carbon.h
+cassert
+c_asm.h
+cctype
+cderr.h
+cerrno
+cert.h
+CFBase.h
+CFBundle.h
+CFData.h
+CFDictionary.h
+cf.h
+CFNumber.h
+CFPlugIn.h
+CFPreferences.h
+CFString.h
+CFURL.h
+CGAffineTransform.h
+CheckBox.h
+climits
+Clipboard.h
+cmplrs/stsupport.h
+Cocoa/Cocoa.h
+CodeFragments.h
+comdef.h
+commctrl.h
+COMMCTRL.H
+commdlg.h
+compat.h
+condapi.h
+ConditionalMacros.h
+config.h
+conio.h
+console.h
+ControlDefinitions.h
+Controls.h
+CoreFoundation/CoreFoundation.h
+CoreServices/CoreServices.h
+CPalmRec.cpp
+Cpalmrec.h
+CPCatgry.cpp
+CPDbBMgr.h
+CPString.cpp
+CPString.h
+crtdbg.h
+crt_externs.h
+crypt.h
+cstddef
+cstdio
+cstdlib
+cstring
+ctime
+ctype.h
+curl/curl.h
+curl/easy.h
+curses.h
+cxxabi.h
+DateTimeUtils.h
+dbus/dbus.h
+dbus/dbus-glib.h
+dbus/dbus-glib-lowlevel.h
+ddeml.h
+Debug.h
+deque
+dem.h
+descrip.h
+Devices.h
+Dialogs.h
+direct.h
+dirent.h
+DiskInit.h
+dlfcn.h
+dlgs.h
+dl.h
+docobj.h
+dos/dosextens.h
+dos.h
+Drag.h
+DriverServices.h
+DriverSynchronization.h
+DropInPanel.h
+dvidef.h
+elf.h
+endian.h
+Entry.h
+errno.h
+Errors.h
+Events.h
+exdisp.h
+ExDisp.h
+exe386.h
+execinfo.h
+extras.h
+fabdef.h
+fcntl.h
+features.h
+fibdef.h
+File.h
+filehdr.h
+files.h
+Files.h
+FindDirectory.h
+Finder.h
+FinderRegistry.h
+FixMath.h
+float.h
+fnmatch.h
+Folders.h
+fontconfig/fontconfig.h
+fontconfig/fcfreetype.h
+Font.h
+Fonts.h
+fp.h
+fpieee.h
+frame/log.h
+frame/req.h
+freetype/freetype.h
+freetype/ftcache.h
+freetype/ftglyph.h
+freetype/ftsynth.h
+freetype/ftoutln.h
+freetype/ttnameid.h
+freetype/tttables.h
+freetype/t1tables.h
+freetype/ftlcdfil.h
+freetype/ftsizes.h
+freetype/ftadvanc.h
+freetype/ftbitmap.h
+freetype/ftxf86.h
+fribidi/fribidi.h
+FSp_fopen.h
+fstream
+fstream.h
+ft2build.h
+fts.h
+gconf/gconf-client.h
+Gdiplus.h
+gdk/gdk.h
+gdk/gdkkeysyms.h
+gdk/gdkprivate.h
+gdk/gdkx.h
+gdk/gdkdirectfb.h
+gdk-pixbuf/gdk-pixbuf.h
+Gestalt.h
+getopt.h
+glibconfig.h
+glib.h
+glib-object.h
+gmodule.h
+gnome.h
+gnu/libc-version.h
+grp.h
+gssapi_generic.h
+gssapi/gssapi_generic.h
+gssapi/gssapi.h
+gssapi.h
+gtk/gtk.h
+gtk/gtkprinter.h
+gtk/gtkprintjob.h
+gtk/gtkprintunixdialog.h
+HIToolbox/HIToolbox.h
+hlink.h
+ia64/sys/inline.h
+Icons.h
+iconv.h
+ieeefp.h
+ifaddrs.h
+image.h
+imagehlp.h
+imm.h
+initguid.h
+InterfaceDefs.h
+InternetConfig.h
+IntlResources.h
+ints.h
+intshcut.h
+inttypes.h
+iodef.h
+io.h
+IOKit/IOKitLib.h
+IOKit/IOMessage.h
+IOKit/pwr_mgt/IOPMLib.h
+iomanip
+iostream
+iostream.h
+iterator
+jar.h
+JavaControl.h
+JavaEmbedding/JavaControl.h
+JavaVM/jni.h
+jemalloc.h
+JManager.h
+JNIEnvTests.h
+jni.h
+#if MOZ_NATIVE_JPEG==1
+jpeglib.h
+#endif
+JVMManagerTests.h
+Kerberos/Kerberos.h
+kernel/image.h
+kernel/OS.h
+key.h
+keyt.h
+keythi.h
+LAction.h
+langinfo.h
+LApplication.h
+LArray.h
+LArrayIterator.h
+LAttachable.h
+LAttachment.h
+LaunchServices.h
+lber.h
+LBroadcaster.h
+LButton.h
+lcache.h
+LCaption.h
+LCheckBox.h
+LCicnButton.h
+LClipboard.h
+LCommander.h
+LComparator.h
+LControl.h
+ldap.h
+ldaplog.h
+ldappr.h
+ldap_ssl.h
+LDataStream.h
+ldfcn.h
+LDialogBox.h
+ldif.h
+LDocApplication.h
+LDocument.h
+LDragAndDrop.h
+LDragTask.h
+LEditField.h
+LEditText.h
+LEventDispatcher.h
+LFile.h
+LFileStream.h
+LFileTypeList.h
+LFocusBox.h
+LGrafPortView.h
+LHandleStream.h
+libc_r.h
+libelf.h
+libelf/libelf.h
+libgen.h
+libgnome/gnome-url.h
+libgnome/libgnome.h
+libgnomeui/gnome-icon-lookup.h
+libgnomeui/gnome-icon-theme.h
+libgnomeui/gnome-ui-init.h
+libgnomevfs/gnome-vfs-file-info.h
+libgnomevfs/gnome-vfs.h
+libgnomevfs/gnome-vfs-init.h
+libgnomevfs/gnome-vfs-mime.h
+libgnomevfs/gnome-vfs-mime-handlers.h
+libgnomevfs/gnome-vfs-mime-utils.h
+libgnomevfs/gnome-vfs-ops.h
+libgnomevfs/gnome-vfs-standard-callbacks.h
+lib$routines.h
+libnotify/notify.h
+limits
+limits.h
+link.h
+linux/kernel.h
+linux/limits.h
+linux/rtc.h
+linux/version.h
+list
+List.h
+Lists.h
+LListBox.h
+LListener.h
+LMenuBar.h
+LMenu.h
+LModelDirector.h
+LModelObject.h
+LModelProperty.h
+loader.h
+locale
+locale.h
+LOffscreenView.h
+logkeys.h
+logstrng.h
+Looper.h
+LowMem.h
+LPane.h
+LPeriodical.h
+LPicture.h
+LPlaceHolder.h
+LPrintout.h
+LProgressBar.h
+LPushButton.h
+LRadioGroup.h
+LRadioGroupView.h
+LRunArray.h
+LScroller.h
+LSharable.h
+LSingleDoc.h
+LStaticText.h
+LStdControl.h
+LStream.h
+LString.h
+LTabGroup.h
+LTabGroupView.h
+LTableArrayStorage.h
+LTableMonoGeometry.h
+LTableSingleSelector.h
+LTableView.h
+LTextEditView.h
+LTextTableView.h
+LUndoer.h
+LVariableArray.h
+LView.h
+LWindow.h
+m68881.h
+MacErrors.h
+MacHeadersCarbon.h
+machine/ansi.h
+machine/builtins.h
+machine/clock.h
+machine/endian.h
+machine/frame.h
+machine/inline.h
+machine/limits.h
+machine/signal.h
+machine/trap.h
+mach/mach_host.h
+mach/mach_init.h
+mach/mach_interface.h
+mach/mach_port.h
+mach-o/dyld.h
+MacLocales.h
+MacMemory.h
+MacTCP.h
+MacTypes.h
+MacWindows.h
+malloc.h
+map
+mapicode.h
+mapidefs.h
+mapiguid.h
+mapi.h
+mapitags.h
+mapiutil.h
+mapix.h
+Math64.h
+math.h
+mbstring.h
+mem.h
+memory
+memory.h
+Memory.h
+MenuBar.h
+Menu.h
+Menus.h
+Message.h
+Mime.h
+MixedMode.h
+mlang.h
+mmsystem.h
+model.h
+Movies.h
+mpw/errno.h
+mshtmhst.h
+mshtml.h
+mswsock.h
+Multiprocessing.h
+mutex.h
+Navigation.h
+ncompat.h
+ncurses.h
+netCore.h
+netdb.h
+net/if.h
+netinet/in.h
+netinet/in_systm.h
+netinet/tcp.h
+new
+newexe.h
+new.h
+nl_types.h
+NodeInfo.h
+nss.h
+nssilock.h
+nsswitch.h
+objbase.h
+objidl.h
+Objsafe.h
+ojiapitests.h
+ole2.h
+oleidl.h
+OpenGL/OpenGL.h
+OpenTptInternet.h
+OpenTransport.h
+os2.h
+OS.h
+osreldate.h
+OSUtils.h
+Packages.h
+Palettes.h
+PALM_CMN.H
+pango/pango-modules.h
+pango/pangocairo.h
+pango/pangofc-decoder.h
+pango/pangofc-font.h
+pango/pangofc-fontmap.h
+pango/pango-break.h
+pango/pango-fontmap.h
+pango/pango.h
+pango/pangoxft.h
+pango/pango-utils.h
+pascal.h
+Patches.h
+Path.h
+pcfs/pc_dir.h
+Pgenerr.h
+PGenErr.h
+Ph.h
+pk11func.h
+pk11pub.h
+pkcs11t.h
+PLStringFuncs.h
+PMApplication.h
+pmddim.h
+poll.h
+Polygon.h
+portable.h
+Power.h
+PP_ClassHeaders.cp
+PP_Constants.h
+PPCToolbox.h
+PP_DebugHeaders.cp
+PP_KeyCodes.h
+PP_Macros.h
+PP_Messages.h
+PP_Prefix.h
+PP_Resources.h
+PP_Types.h
+Printing.h
+Print/PMPrintingDialogExtensions.h
+private/qucomextra_p.h
+Processes.h
+process.h
+Process.h
+proto/dos.h
+proto/exec.h
+psap.h
+Pt.h
+pthread.h
+pwd.h
+Python.h
+QDOffscreen.h
+queue
+Quickdraw.h
+QuickDraw.h
+QuickTimeComponents.h
+quipu/attr.h
+rasdlg.h
+raserror.h
+ras.h
+regex.h
+Region.h
+resolv.h
+Resources.h
+Retrace.h
+rld_interface.h
+rmsdef.h
+Roster.h
+rpc.h
+rpcproxy.h
+rpc/types.h
+sane/sane.h
+sane/sanei.h
+sane/saneopts.h
+Scrap.h
+Screen.h
+Script.h
+ScrollBar.h
+seccomon.h
+sec.h
+secmod.h
+secmodt.h
+secrng.h
+security.h
+secutil.h
+semaphore.h
+servprov.h
+set
+setjmp.h
+SFNTLayoutTypes.h
+SFNTTypes.h
+share.h
+shellapi.h
+shlguid.h
+shlobj.h
+sigcontext.h
+signal.h
+SimpleGameSound.h
+SIOUX.h
+size_t.h
+someincludefile.h
+Sound.h
+sqlite3.h
+ssdef.h
+sslerr.h
+ssl.h
+sslproto.h
+sstream
+stack
+StandardFile.h
+starlet.h
+stat.h
+statreg.cpp
+statreg.h
+stdarg.h
+stdbool.h
+stddef.h
+stdint.h
+stdio.h
+stdlib.h
+storage/FindDirectory.h
+StorageKit.h
+string
+StringCompare.h
+string.h
+String.h
+strings.h
+Strings.h
+StringView.h
+stropts.h
+strstrea.h
+structs.h
+stsdef.h
+SupportDefs.h
+support/String.h
+support/SupportDefs.h
+support/TLS.h
+svrcore.h
+symconst.h
+sym.h
+synch.h
+syncmgr.h
+sys/atomic_op.h
+sys/bitypes.h
+sys/byteorder.h
+syscall.h
+sys/cdefs.h
+sys/cfgodm.h
+sys/elf.h
+sys/endian.h
+sys/errno.h
+sys/fault.h
+sys/fcntl.h
+sys/file.h
+sys/filio.h
+sys/frame.h
+sys/immu.h
+sys/inttypes.h
+sys/ioccom.h
+sys/ioctl.h
+sys/ipc.h
+sys/ldr.h
+sys/link.h
+sys/locking.h
+syslog.h
+sys/lwp.h
+sys/machine.h
+sys/mman.h
+sys/mmu.h
+sys/mount.h
+sys/mpctl.h
+sys/param.h
+sys/pda.h
+sys/poll.h
+sys/ppc.h
+sys/prctl.h
+sys/priv.h
+sys/procfs.h
+sys/pstat.h
+sys/ptrace.h
+sys/queue.h
+sys/quota.h
+sys/reboot.h
+sys/reg.h
+sys/regset.h
+sys/resource.h
+sys/sched.h
+sys/select.h
+sys/sem.h
+sys/sendfile.h
+sys/shm.h
+sys/siginfo.h
+sys/signal.h
+sys/socket.h
+sys/sockio.h
+sys/sparc/frame.h
+sys/stack.h
+sys/statfs.h
+sys/stat.h
+sys/statvfs.h
+sys/syscall.h
+sys/sysctl.h
+sys/sysinfo.h
+sys/sysmp.h
+sys/syssgi.h
+sys/system_properties.h
+sys/systeminfo.h
+sys/timeb.h
+sys/time.h
+sys/times.h
+sys/ttycom.h
+sys/types.h
+sys/ucontext.h
+sys/uio.h
+sys/un.h
+sys/unistd.h
+sys/utsname.h
+sys/vfs.h
+sys/wait.h
+tables.h
+TArray.h
+TArrayIterator.h
+task.h
+tchar.h
+TCHAR.H
+termios.h
+TextCommon.h
+TextEdit.h
+TextEncodingConverter.h
+TextServices.h
+TextUtils.h
+TextView.h
+th/PCR_Th.h
+thread.h
+ThreadManagerTests.h
+Threads.h
+time.h
+Timer.h
+tlhelp32.h
+ToolUtils.h
+tr1/functional
+trace.h
+Traps.h
+typeinfo
+types.h
+Types.h
+UAppleEventsMgr.h
+UAttachments.h
+ucontext.h
+uconv.h
+UCursor.h
+ucx$inetdef.h
+UDebugging.h
+UDesktop.h
+UDrawingState.h
+UDrawingUtils.h
+UEnvironment.h
+UEventMgr.h
+UException.h
+UExtractFromAEDesc.h
+UGWorld.h
+UKeyFilters.h
+ulocks.h
+ulserrno.h
+UMemoryMgr.h
+UModalDialogs.h
+UNavServicesDialogs.h
+UnicodeBlockObjects.h
+UnicodeConverter.h
+UnicodeUtilities.h
+unidef.h
+unikbd.h
+unistd.h
+unix.h
+unixio.h
+unixlib.h
+unknwn.h
+UPrinting.h
+UQuickTime.h
+UReanimator.h
+URegions.h
+URegistrar.h
+UResourceMgr.h
+utility
+urlhist.h
+urlmon.h
+UScrap.h
+UScreenPort.h
+UTCUtils.h
+UTETextAction.h
+UTEViewTextAction.h
+UTextEdit.h
+UTextTraits.h
+utility
+utime.h
+UWindows.h
+values.h
+varargs.h
+vcclr.h
+vector
+View.h
+Volume.h
+wab.h
+wait.h
+wchar.h
+wctype.h
+winbase.h
+win/compobj.h
+windef.h
+Window.h
+windows.h
+Windows.h
+windowsx.h
+Wininet.h
+winnls.h
+winperf.h
+winreg.h
+Winreg.h
+winsock2.h
+winsock.h
+winspool.h
+winsvc.h
+winuser.h
+winver.h
+wmem.h
+workbench/startup.h
+wtypes.h
+wx/image.h
+wx/listctrl.h
+wx/log.h
+wx/toolbar.h
+wx/wx.h
+wx/xrc/xmlres.h
+X11/cursorfont.h
+X11/extensions/Print.h
+X11/extensions/shape.h
+X11/extensions/scrnsaver.h
+X11/extensions/XShm.h
+X11/extensions/Xrender.h
+X11/extensions/Xdamage.h
+X11/extensions/Xcomposite.h
+X11/Intrinsic.h
+X11/keysymdef.h
+X11/keysym.h
+X11/Shell.h
+X11/StringDefs.h
+X11/Xatom.h
+X11/Xft/Xft.h
+X11/Xfuncproto.h
+X11/X.h
+X11/XKBlib.h
+X11/Xlib.h
+X11/Xlibint.h
+X11/Xlocale.h
+X11/Xos.h
+X11/Xutil.h
+xpt_struct.h
+xpt_xdr.h
+zmouse.h
+sslt.h
+smime.h
+cms.h
+sechash.h
+secoidt.h
+certdb.h
+secerr.h
+nssb64.h
+secasn1.h
+secder.h
+certt.h
+ocsp.h
+keyhi.h
+cryptohi.h
+crmf.h
+pk11pqg.h
+cmmf.h
+base64.h
+secdert.h
+secitem.h
+secmime.h
+nssckbi.h
+pkcs12.h
+p12plcy.h
+pk11sdr.h
+nspr.h
+pratom.h
+prbit.h
+prclist.h
+prcmon.h
+prcountr.h
+prcvar.h
+prdtoa.h
+prenv.h
+prerr.h
+prerror.h
+prinet.h
+prinit.h
+prinrval.h
+prio.h
+pripcsem.h
+prlink.h
+prlock.h
+prlog.h
+prlong.h
+prmem.h
+prmon.h
+prmwait.h
+prnetdb.h
+prolock.h
+prpdce.h
+prprf.h
+prproces.h
+prrng.h
+prrwlock.h
+prshm.h
+prshma.h
+prsystem.h
+prthread.h
+prtime.h
+prtpool.h
+prtrace.h
+prtypes.h
+prvrsion.h
+plbase64.h
+plerror.h
+plgetopt.h
+plresolv.h
+plstr.h
+plarenas.h
+plarena.h
+plhash.h
+#if MOZ_NATIVE_PNG==1
+png.h
+#endif
+#if MOZ_NATIVE_ZLIB==1
+zlib.h
+#endif
+#ifdef MOZ_ENABLE_STARTUP_NOTIFICATION
+libsn/sn.h
+libsn/sn-common.h
+libsn/sn-launchee.h
+libsn/sn-launcher.h
+libsn/sn-monitor.h
+libsn/sn-util.h
+#endif
+#if MOZ_NATIVE_HUNSPELL==1
+hunspell.hxx
+#endif
+#if MOZ_NATIVE_BZ2==1
+bzlib.h
+#endif
+#if MOZ_PLATFORM_MAEMO==5
+hildon-uri.h
+hildon-mime.h
+hildon-file-chooser-dialog.h
+libosso.h
+osso-mem.h
+#endif
+#ifdef MOZ_ENABLE_GIO
+gio/gio.h
+#endif
+#ifdef MOZ_ENABLE_LIBCONIC
+conic/conicconnection.h
+conic/conicconnectionevent.h
+conic/conicstatisticsevent.h
+#endif
+#if MOZ_NATIVE_LIBEVENT==1
+event.h
+#endif
+#ifdef MOZ_ENABLE_LIBPROXY
+proxy.h
+#endif
+#if MOZ_PLATFORM_MAEMO==6
+contentaction/contentaction.h
+#endif
+#ifdef MOZ_ENABLE_CONTENTMANAGER
+SelectSingleContentItemPage.h
+SelectMultipleContentItemsPage.h
+QtSparql/qsparqlconnection.h
+QtSparql/qsparqlquery.h
+QtSparql/qsparqlresult.h
+#endif
+
+#if MOZ_TREE_PIXMAN!=1
+pixman.h
+#endif
+#if MOZ_ENABLE_MEEGOTOUCHSHARE
+shareuiinterface.h
+#endif
+#if MOZ_NATIVE_LIBVPX==1
+vpx/vpx_decoder.h
+vpx/vp8dx.h
+#endif
+#ifdef XP_WIN
+vpx/vpx_decoder.h
+vpx/vp8dx.h
+sydneyaudio/sydney_audio.h
+vorbis/codec.h
+theora/theoradec.h
+tremor/ivorbiscodec.h
+ogg/ogg.h
+ogg/os_types.h
+nestegg/nestegg.h
+cubeb/cubeb.h
+#endif
+sys/msg.h
+sys/ipc.h
+libxml/parser.h
+libxml/tree.h
607 native/alder/toolkit/library/Makefile.in
View
@@ -0,0 +1,607 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this file,
+# You can obtain one at http://mozilla.org/MPL/2.0/.
+
+DEPTH = ../..
+topsrcdir = @top_srcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+include $(DEPTH)/config/autoconf.mk
+
+include $(topsrcdir)/rdf/util/src/objs.mk
+include $(topsrcdir)/intl/unicharutil/util/objs.mk
+
+MODULE = libxul
+LIBRARY_NAME = xul
+FORCE_SHARED_LIB = 1
+MOZILLA_INTERNAL_API = 1
+
+ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
+# This is going to be a framework named "XUL", not an ordinary library named
+# "libxul.dylib"
+LIBRARY_NAME=XUL
+# Setting MAKE_FRAMEWORK makes DLL_PREFIX and DLL_SUFFIX be ignored when
+# setting SHARED_LIBRARY; we need to leave DLL_PREFIX and DLL_SUFFIX
+# as-is so that dependencies of the form -ltracemalloc still work.
+MAKE_FRAMEWORK=1
+endif
+
+VPATH += $(topsrcdir)/build/
+CPPSRCS += $(STDCXX_COMPAT)
+
+ifeq ($(OS_ARCH)_$(GNU_CC),WINNT_)
+CPPSRCS += dlldeps-xul.cpp
+endif
+
+ifeq ($(OS_ARCH),OS2)
+CPPSRCS += dlldeps-xul.cpp
+endif
+
+ifneq (,$(MOZ_ENABLE_GTK2))
+DEFINES += -DMOZ_ENABLE_GTK2
+endif
+
+SHARED_LIBRARY_LIBS += \
+ $(DEPTH)/toolkit/xre/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
+ $(NULL)
+
+SHARED_LIBRARY_LIBS += \
+ $(foreach component,$(COMPONENT_LIBS),$(DEPTH)/staticlib/components/$(LIB_PREFIX)$(component).$(LIB_SUFFIX)) \
+ $(foreach lib,$(STATIC_LIBS),$(DEPTH)/staticlib/$(LIB_PREFIX)$(lib).$(LIB_SUFFIX)) \
+ $(NULL)
+
+CPPSRCS += \
+ nsStaticXULComponents.cpp \
+ $(NULL)
+
+ifeq ($(OS_ARCH),WINNT)
+REQUIRES += widget gfx
+CPPSRCS += \
+ nsDllMain.cpp \
+ $(NULL)
+endif
+
+ifeq ($(OS_ARCH)_$(GNU_CC),WINNT_)
+CPPSRCS += \
+ nsGFXDeps.cpp \
+ $(NULL)
+
+RCINCLUDE = xulrunner.rc
+
+ifndef MOZ_NATIVE_ZLIB
+CPPSRCS += dlldeps-zlib.cpp
+endif
+
+LOCAL_INCLUDES += -I$(topsrcdir)/widget/windows
+LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/base
+endif
+
+ifneq (,$(filter WINNT OS2,$(OS_ARCH)))
+DEFINES += -DZLIB_DLL=1
+endif
+
+ifeq ($(OS_ARCH),OS2)
+REQUIRES += widget gfx
+
+CPPSRCS += \
+ nsGFXDeps.cpp \
+ $(NULL)
+
+ifndef MOZ_NATIVE_ZLIB
+CPPSRCS += dlldeps-zlib.cpp
+endif
+
+RESFILE = xulrunos2.res
+RCFLAGS += -i $(topsrcdir)/widget/os2
+
+LOCAL_INCLUDES += -I$(topsrcdir)/widget/os2
+LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/base
+endif
+
+# dependent libraries
+STATIC_LIBS += \
+ jsipc_s \
+ domipc_s \
+ domplugins_s \
+ mozipc_s \
+ mozipdlgen_s \
+ ipcshell_s \
+ gfx2d \
+ gfxipc_s \
+ hal_s \
+ $(NULL)
+
+ifdef MOZ_B2G_RIL #{
+STATIC_LIBS += mozril_s
+endif #}
+
+ifdef MOZ_IPDL_TESTS
+STATIC_LIBS += ipdlunittest_s
+endif
+
+ifeq (Linux,$(OS_ARCH))
+ifneq (Android,$(OS_TARGET))
+OS_LIBS += -lrt
+endif
+endif
+
+STATIC_LIBS += \
+ xpcom_core \
+ ucvutil_s \
+ chromium_s \
+ snappy_s \
+ $(NULL)
+
+# component libraries
+COMPONENT_LIBS += \
+ necko \
+ uconv \
+ i18n \
+ chardet \
+ jar$(VERSION_NUMBER) \
+ startupcache \
+ pref \
+ htmlpars \
+ imglib2 \
+ gkgfx \
+ gklayout \
+ docshell \
+ embedcomponents \
+ webbrwsr \
+ nsappshell \
+ txmgr \
+ commandlines \
+ toolkitcomps \
+ pipboot \
+ pipnss \
+ appcomps \
+ jsreflect \
+ composer \
+ telemetry \
+ jsinspector \
+ jsdebugger \
+ storagecomps \
+ rdf \
+ windowds \
+ $(NULL)
+
+ifdef BUILD_CTYPES
+COMPONENT_LIBS += \
+ jsctypes \
+ $(NULL)
+endif
+
+COMPONENT_LIBS += \
+ jsperf \
+ gkplugin \
+ $(NULL)
+
+ifdef MOZ_XUL
+ifdef MOZ_ENABLE_GTK2
+COMPONENT_LIBS += \
+ unixproxy \
+ $(NULL)
+endif
+endif
+
+ifneq (,$(filter cocoa,$(MOZ_WIDGET_TOOLKIT)))
+COMPONENT_LIBS += \
+ osxproxy \
+ $(NULL)
+endif
+
+ifdef MOZ_XUL
+ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
+COMPONENT_LIBS += \
+ unixproxy \
+ $(NULL)
+endif
+endif
+
+ifneq (,$(filter windows,$(MOZ_WIDGET_TOOLKIT)))
+COMPONENT_LIBS += \
+ windowsproxy \
+ $(NULL)
+endif
+
+ifdef MOZ_JSDEBUGGER
+DEFINES += -DMOZ_JSDEBUGGER
+COMPONENT_LIBS += \
+ jsd \
+ $(NULL)
+endif
+
+ifdef MOZ_PREF_EXTENSIONS
+DEFINES += -DMOZ_PREF_EXTENSIONS
+COMPONENT_LIBS += \
+ autoconfig \
+ $(NULL)
+endif
+
+ifdef MOZ_AUTH_EXTENSION
+COMPONENT_LIBS += auth
+DEFINES += -DMOZ_AUTH_EXTENSION
+endif
+
+ifdef MOZ_PERMISSIONS
+COMPONENT_LIBS += cookie permissions
+DEFINES += -DMOZ_PERMISSIONS
+endif
+
+ifdef MOZ_UNIVERSALCHARDET
+COMPONENT_LIBS += universalchardet
+DEFINES += -DMOZ_UNIVERSALCHARDET
+endif
+
+ifeq (,$(filter android gonk qt os2 cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
+ifdef MOZ_XUL
+COMPONENT_LIBS += fileview
+DEFINES += -DMOZ_FILEVIEW
+endif
+endif
+
+ifdef MOZ_PLACES
+COMPONENT_LIBS += \
+ places \
+ $(NULL)
+endif
+
+ifdef MOZ_XUL
+COMPONENT_LIBS += \
+ tkautocomplete \
+ satchel \
+ pippki \
+ $(NULL)
+endif
+
+ifdef MOZ_ENABLE_GTK2
+COMPONENT_LIBS += widget_gtk2
+endif
+
+ifdef MOZ_ENABLE_GTK2
+ifdef MOZ_X11
+STATIC_LIBS += gtkxtbin
+endif
+endif
+
+# Platform-specific icon channel stuff - supported mostly-everywhere
+ifneq (,$(filter windows os2 mac cocoa gtk2 qt android,$(MOZ_WIDGET_TOOLKIT)))
+DEFINES += -DICON_DECODER
+COMPONENT_LIBS += imgicon
+endif
+
+ifeq ($(MOZ_WIDGET_TOOLKIT),android)
+COMPONENT_LIBS += widget_android
+STATIC_LIBS += skia_npapi
+endif
+
+ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
+COMPONENT_LIBS += widget_gonk
+endif
+
+STATIC_LIBS += thebes gl ycbcr
+
+COMPONENT_LIBS += profiler
+
+ifeq (windows,$(MOZ_WIDGET_TOOLKIT))
+COMPONENT_LIBS += widget_windows
+endif
+ifeq (os2,$(MOZ_WIDGET_TOOLKIT))
+COMPONENT_LIBS += wdgtos2
+endif
+ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
+COMPONENT_LIBS += widget_mac
+endif
+ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
+COMPONENT_LIBS += widget_qt
+endif
+
+ifdef ACCESSIBILITY
+COMPONENT_LIBS += accessibility
+endif
+
+ifdef MOZ_ENABLE_XREMOTE
+COMPONENT_LIBS += remoteservice
+endif
+
+ifdef MOZ_SPELLCHECK
+DEFINES += -DMOZ_SPELLCHECK
+COMPONENT_LIBS += spellchecker
+endif
+
+ifdef MOZ_ZIPWRITER
+DEFINES += -DMOZ_ZIPWRITER
+COMPONENT_LIBS += zipwriter
+endif
+
+COMPONENT_LIBS += services-crypto
+
+ifdef MOZ_DEBUG
+ifdef ENABLE_TESTS
+COMPONENT_LIBS += gkdebug
+endif
+endif
+
+ifdef MOZ_APP_COMPONENT_LIBS
+COMPONENT_LIBS += $(MOZ_APP_COMPONENT_LIBS)
+endif
+
+ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
+OS_LIBS += -framework OpenGL -lcups
+endif
+
+EXTRA_DSO_LDOPTS += \
+ $(LIBS_DIR) \
+ $(JPEG_LIBS) \
+ $(PNG_LIBS) \
+ $(QCMS_LIBS) \
+ $(MOZ_JS_LIBS) \
+ $(NSS_LIBS) \
+ $(MOZ_CAIRO_LIBS) \
+ $(MOZ_HARFBUZZ_LIBS) \
+ $(MOZ_APP_EXTRA_LIBS) \
+ $(SQLITE_LIBS) \
+ -lxml2 \
+ $(NULL)
+
+ifdef MOZ_GRAPHITE
+EXTRA_DSO_LDOPTS += $(MOZ_GRAPHITE_LIBS)
+endif
+
+ifdef MOZ_NATIVE_ZLIB
+EXTRA_DSO_LDOPTS += $(ZLIB_LIBS)
+else
+EXTRA_DSO_LDOPTS += $(MOZ_ZLIB_LIBS)
+endif
+
+ifdef MOZ_NATIVE_HUNSPELL
+EXTRA_DSO_LDOPTS += $(MOZ_HUNSPELL_LIBS)
+endif
+
+ifdef MOZ_NATIVE_LIBEVENT
+EXTRA_DSO_LDOPTS += $(MOZ_LIBEVENT_LIBS)
+endif
+
+ifdef MOZ_NATIVE_LIBVPX
+EXTRA_DSO_LDOPTS += $(MOZ_LIBVPX_LIBS)
+endif
+
+EXTRA_DSO_LDOPTS += $(call EXPAND_LIBNAME_PATH,gkmedias,$(DIST)/lib)
+
+ifdef MOZ_SYDNEYAUDIO
+ifeq ($(OS_ARCH),Linux)
+EXTRA_DSO_LDOPTS += $(MOZ_ALSA_LIBS)
+endif
+endif
+
+ifdef HAVE_CLOCK_MONOTONIC
+EXTRA_DSO_LDOPTS += $(REALTIME_LIBS)
+endif
+
+ifdef MOZ_ENABLE_SKIA
+EXTRA_DSO_LDOPTS += $(MOZ_SKIA_LIBS)
+endif
+
+ifeq (android,$(MOZ_WIDGET_TOOLKIT))
+OS_LIBS += -lGLESv2
+endif
+
+ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
+OS_LIBS += \
+ -lui \
+ -lmedia \
+ -lhardware_legacy \
+ -lhardware \
+ -lutils \
+ -lcutils \
+ -lcamera_client \
+ -lbinder \
+ -lsensorservice \
+ $(NULL)
+ifdef MOZ_B2G_BT
+OS_LIBS += -lbluedroid
+endif
+endif
+
+EXTRA_DEPS += \
+ $(topsrcdir)/intl/unicharutil/util/objs.mk \
+ $(topsrcdir)/rdf/util/src/objs.mk \
+ $(NULL)
+
+CPPSRCS += \
+ $(INTL_UNICHARUTIL_UTIL_LCPPSRCS) \
+ $(RDF_UTIL_SRC_LCPPSRCS) \
+ $(NULL)
+
+GARBAGE += \
+ $(INTL_UNICHARUTIL_UTIL_LCPPSRCS) \
+ $(wildcard *.$(OBJ_SUFFIX)) \
+ $(RDF_UTIL_SRC_LCPPSRCS) \
+ $(NULL)
+
+LOCAL_INCLUDES += -I$(topsrcdir)/intl/unicharutil/util \
+ -I$(topsrcdir)/intl/unicharutil/src
+
+ifneq (,$(filter OS2 WINNT,$(OS_ARCH)))
+SDK_LIBRARY = $(IMPORT_LIBRARY)
+else
+SDK_LIBRARY = $(SHARED_LIBRARY)
+endif
+
+# See bug 653662 - some builders are hitting an internal size limit on
+# incremental builds. Disable incremental linking for debug builds on VC8 or
+# on 32-bit hosts.
+# See: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c34d5c37-ca4a-4580-9c7c-4379a8c76d1f/
+ifeq ($(OS_ARCH),WINNT)
+IS_32BIT_HOST := $(if $(filter AMD64,$(PROCESSOR_ARCHITECTURE) $(PROCESSOR_ARCHITEW6432)),,yes)
+ifneq (,$(or $(filter 1400,$(_MSC_VER)),$(IS_32BIT_HOST)))
+ifdef MOZ_DEBUG
+EXTRA_DSO_LDOPTS += -INCREMENTAL:NO
+endif
+endif
+endif
+
+EXTRA_DSO_LDOPTS += $(LIBS_DIR) $(EXTRA_DSO_LIBS)
+
+DEFINES += -DIMPL_XREAPI
+
+EXTRA_DSO_LDOPTS += $(NSPR_LIBS) $(MOZALLOC_LIB)
+
+ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
+CXXFLAGS += $(TK_CFLAGS)
+OS_LIBS += \
+ -framework SystemConfiguration \
+ -framework QTKit \
+ -framework IOKit \
+ -F/System/Library/PrivateFrameworks -framework CoreUI \
+ $(TK_LIBS) \
+ $(NULL)
+endif
+
+ifeq ($(OS_ARCH),Darwin)
+ifdef MOZ_SYDNEYAUDIO
+OS_LIBS += \
+ -framework Carbon \
+ -framework CoreAudio \
+ -framework AudioToolbox \
+ -framework AudioUnit \
+ -framework IOKit \
+ -framework Foundation \
+ -framework AppKit \
+ $(NULL)
+endif
+endif
+
+ifneq (,$(filter NetBSD OpenBSD,$(OS_ARCH)))
+ifdef MOZ_SYDNEYAUDIO
+EXTRA_DSO_LDOPTS += -lossaudio
+endif
+endif
+
+ifdef MOZ_PLATFORM_MAEMO
+EXTRA_DSO_LDOPTS += $(MOZ_PLATFORM_MAEMO_LIBS)
+endif
+
+ifdef MOZ_ENABLE_LIBCONIC
+EXTRA_DSO_LDOPTS += $(LIBCONIC_LIBS)
+endif
+
+ifdef MOZ_ENABLE_DBUS
+EXTRA_DSO_LDOPTS += $(MOZ_DBUS_GLIB_LIBS)
+endif
+
+ifeq (gtk2,$(MOZ_WIDGET_TOOLKIT))
+EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(XEXT_LIBS) $(XCOMPOSITE_LIBS) $(MOZ_PANGO_LIBS) $(MOZ_GTK2_LIBS) $(XT_LIBS) -lgthread-2.0
+EXTRA_DSO_LDOPTS += $(FT2_LIBS)
+endif
+
+ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
+EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(XT_LIBS) $(MOZ_QT_LIBS) -lgthread-2.0
+EXTRA_DSO_LDOPTS += $(FT2_LIBS) $(MOZ_PANGO_LIBS)
+EXTRA_DSO_LDOPTS += $(LIBXUL_DIST)/../widget/qt/faststartupqt/$(LIB_PREFIX)faststartupqt.$(LIB_SUFFIX)
+endif
+
+ifdef MOZ_TREE_FREETYPE
+ifndef MOZ_TREE_CAIRO
+EXTRA_DSO_LDOPTS += $(FT2_LIBS)
+endif
+endif
+
+ifdef MOZ_ENABLE_STARTUP_NOTIFICATION
+EXTRA_DSO_LDOPTS += $(MOZ_STARTUP_NOTIFICATION_LIBS)
+endif
+
+ifdef MOZ_ENABLE_LIBPROXY
+EXTRA_DSO_LDOPTS += $(MOZ_LIBPROXY_LIBS)
+endif
+
+ifeq ($(OS_ARCH),SunOS)
+ifdef GNU_CC
+EXTRA_DSO_LDOPTS += -lelf
+else
+EXTRA_DSO_LDOPTS += -lelf -ldemangle
+endif
+endif
+
+ifeq ($(OS_ARCH),WINNT)
+OS_LIBS += $(call EXPAND_LIBNAME,shell32 ole32 uuid version winspool comdlg32 imm32 winmm wsock32 msimg32 shlwapi psapi ws2_32 dbghelp rasapi32 rasdlg)
+ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC))
+OS_LIBS += $(call EXPAND_LIBNAME,imagehlp)
+endif
+ifdef MOZ_CRASHREPORTER
+OS_LIBS += $(call EXPAND_LIBNAME,wininet)
+endif
+ifdef ACCESSIBILITY
+OS_LIBS += $(call EXPAND_LIBNAME,oleacc)
+endif
+ifdef _MSC_VER
+OS_LIBS += $(call EXPAND_LIBNAME,delayimp)
+EXTRA_DSO_LDOPTS += \
+ -DELAYLOAD:gkmedias.dll \
+ -DELAYLOAD:rasapi32.dll \
+ -DELAYLOAD:rasdlg.dll \
+ -DELAYLOAD:comdlg32.dll \
+ -DELAYLOAD:winspool.drv \
+ $(NULL)
+ifdef ACCESSIBILITY
+EXTRA_DSO_LDOPTS += -DELAYLOAD:oleacc.dll
+endif
+endif
+endif # WINNT
+
+ifdef MOZ_JPROF
+EXTRA_DSO_LDOPTS += -ljprof
+endif
+
+ifdef MOZ_ENABLE_QT
+EXTRA_DSO_LDOPTS += $(MOZ_QT_LDFLAGS) $(XEXT_LIBS)
+endif
+
+include $(topsrcdir)/config/rules.mk
+
+export:: $(RDF_UTIL_SRC_CPPSRCS) $(INTL_UNICHARUTIL_UTIL_CPPSRCS)
+ $(INSTALL) $^ .
+
+# need widget/windows for resource.h (included from widget.rc)
+LOCAL_INCLUDES += \
+ -I$(topsrcdir)/config \
+ -I$(topsrcdir)/widget/windows \
+ $(NULL)
+
+OS_LIBS += $(LIBICONV)
+
+DEFINES += \
+ -D_IMPL_NS_COM \
+ -D_IMPL_NS_STRINGAPI \
+ -DEXPORT_XPT_API \
+ -DEXPORT_XPTC_API \
+ -D_IMPL_NS_GFX \
+ -D_IMPL_NS_WIDGET \
+ $(NULL)
+
+ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
+OS_LIBS += $(call EXPAND_LIBNAME,usp10 oleaut32)
+endif
+
+ifdef MOZ_WEBRTC
+ifeq ($(OS_TARGET),Linux)
+OS_LIBS += -lexpat
+endif
+endif
+
+ifeq ($(OS_ARCH),OpenBSD)
+# Needed by nsAuthGSSAPI
+EXTRA_DSO_LDOPTS += -lkrb5 -lcrypto
+endif
+
+ifdef MOZ_DEBUG
+ifdef ENABLE_TESTS
+DEFINES += -DENABLE_LAYOUTDEBUG
+endif
+endif
+
+ifeq (WINNT_1,$(OS_TARGET)_$(MOZ_PROFILE_USE))
+# Wrap linker to measure peak virtual memory usage.
+LD := $(PYTHON) $(topsrcdir)/build/link.py $(CURDIR)/linker-vsize $(LD)
+endif
99 src/sipcc/core/common/xml_util.c
View
@@ -1,99 +0,0 @@
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is the Cisco Systems SIP Stack.
- *
- * The Initial Developer of the Original Code is
- * Cisco Systems (CSCO).
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Enda Mannion <emannion@cisco.com>
- * Suhas Nandakumar <snandaku@cisco.com>
- * Ethan Hugg <ehugg@cisco.com>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-#include "xml_parser.h"
-#include "cpr_stdlib.h"
-#include "phone_debug.h"
-#include "xml_util.h"
-
-static void *xml_parser_handle = NULL;
-
-int xmlInit() {
- if (ccxmlInitialize(&xml_parser_handle) == CC_FAILURE) {
- return CC_FAILURE;
- }
- return CC_SUCCESS;
-}
-
-void xmlDeInit() {
- ccxmlDeInitialize(&xml_parser_handle);
-}
-
-char * xmlEncodeEventData(ccsip_event_data_t *event_datap) {
- const char *fname = "xmlEncodeEventData";
- char *buffer;
- uint32_t nbytes = 0;
-
- CCSIP_DEBUG_MESSAGE(DEB_F_PREFIX"Encode event data: entered,\n",
- DEB_F_PREFIX_ARGS(SIP_SUB, fname));
- //For RAW data, no encoding is needed, just copy back.
- if (event_datap->type == EVENT_DATA_RAW) {
- nbytes = event_datap->u.raw_data.length;
- buffer = (char *) ccAllocXML(nbytes + 1);
- if (buffer) {
- memcpy(buffer, event_datap->u.raw_data.data, nbytes);
- CCSIP_DEBUG_MESSAGE(DEB_F_PREFIX"Framed raw buffer: length = %d,\n",
- DEB_F_PREFIX_ARGS(SIP_SUB, fname), nbytes);
- }
- return (buffer);
-
- }
- buffer = ccxmlEncodeEventData(xml_parser_handle, event_datap);
- DEF_DEBUG(DEB_F_PREFIX"returned content after encoding:\n%s\n", DEB_F_PREFIX_ARGS(SIP_REG, fname), buffer);
- return (buffer);
-
- //return ccxmlEncodeEventData(xml_parser_handle, event_datap);
-}
-
-int xmlDecodeEventData (cc_subscriptions_ext_t msg_type, const char *msg_body, int msg_length, ccsip_event_data_t ** event_datap) {
- const char *fname = "xmlDecodeEventData";
- CCSIP_DEBUG_MESSAGE(DEB_F_PREFIX"Decode event data: entered,\n",
- DEB_F_PREFIX_ARGS(SIP_SUB, fname));
-
- return ccxmlDecodeEventData(xml_parser_handle, msg_type, msg_body, msg_length, event_datap );
-}
-
-void *ccAllocXML(cc_size_t size) {
- return cpr_calloc(1, size);
-}
-
-void ccFreeXML(void *mem) {
- cpr_free(mem);
-}
-
982 src/sipcc/plat/common/libxml_parser.c
View
@@ -1,982 +0,0 @@
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is the Cisco Systems SIP Stack.
- *
- * The Initial Developer of the Original Code is
- * Cisco Systems (CSCO).
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Enda Mannion <emannion@cisco.com>
- * Suhas Nandakumar <snandaku@cisco.com>
- * Ethan Hugg <ehugg@cisco.com>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-#include <libxml/parser.h>
-#include <libxml/tree.h>
-#include "xml_parser.h"
-#include "ccsip_subsmanager.h"
-#include "ccsip_common_cb.h"
-
-#define MAX_BODY_SIZE 2047
-/*KPML REQUEST DEFAULT VALUES*/
-#define DEFAULT_KPML_INTERDIGITTIMER_VALUE 4000
-#define DEFAULT_KPML_CRITICALDIGITTIMER_VALUE 1000
-#define DEFAULT_KPML_EXTRADIGITTIMER_VALUE 500
-#define DEFAULT_KPML_LONGREPEAT_VALUE 0
-#define DEFAULT_KPML_NOPARTIAL_VALUE 0
-#define DEFAULT_KPML_PERSIST_VALUE 0 //one-shot
-
-#define DEFAULT_LINE_NUMBER 1
-#define DEFAULT_LINEKEY_EVENT 0
-
-#define XML_SUCCESS 1
-#define XML_FAILURE 0
-
-unsigned char offenderText[128] = {0};
-
-int persistType (char *str) {
-
- if (strcmp(str, "one-shot") == 0 ) {
- return XML_PERSIST_TYPE_ONE_SHOT;
- }
- if (strcmp(str, "persist") == 0 ) {
- return XML_PERSIST_TYPE_PERSIST;
- }
- if (strcmp(str, "single-notify") == 0 ) {
- return XML_PERSIST_TYPE_SINGLE_NOTIFY;
- }
- return XML_PERSIST_TYPE_ONE_SHOT;
-}
-
-int stateValues(char *str) {
-
- if (strcmp(str, "partial") == 0 ) {
- return XML_STATE_PARTIAL;
- }
- if (strcmp(str, "full") == 0 ) {
- return XML_STATE_FULL;
- }
- return XML_STATE_FULL;
-}
-int eventValues(char *str) {
-
- if (strcmp(str, "cancelled") == 0 ) {
- return XML_EVENT_CANCELLED;
- }
- if (strcmp(str, "rejected") == 0 ) {
- return XML_EVENT_REJECTED;
- }
- if (strcmp(str, "replaced") == 0 ) {
- return XML_EVENT_REPLACED;
- }
- if (strcmp(str, "local-bye") == 0 ) {
- return XML_EVENT_LOCAL_BYE;
- }
- if (strcmp(str, "remote-bye") == 0 ) {
- return XML_EVENT_REMOTE_BYE;
- }
- if (strcmp(str, "error") == 0 ) {
- return XML_EVENT_ERROR;
- }
- if (strcmp(str, "timeout") == 0 ) {
- return XML_EVENT_TIMEOUT;
- }
- return XML_EVENT_CANCELLED;
-}
-
-int callOrientation(char *str) {
-
- if (strcmp(str, "Unspecified") == 0 ) {
- return XML_CALL_ORIENTATION_UNSPECIFIED;
- }
- if (strcmp(str, "To") == 0 ) {
- return XML_CALL_ORIENTATION_TO;
- }
- if (strcmp(str, "From") == 0 ) {
- return XML_CALL_ORIENTATION_FROM;
- }
- return XML_CALL_ORIENTATION_UNSPECIFIED;
-}
-
-int callLock(char *str) {
-