1. 28 Oct, 2015 1 commit
    • Anders Lindgren's avatar
      Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame. · 590449f3
      Anders Lindgren authored
      * nsterm.h (struct ns_output): New flag, in_animation.
      * nsfns.m (Fx_create_frame): Initialize in_animation flag.
      * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
      in_animation flag around call to "setVisible". Set new tool bar
      height before call to setVisible.
      * nsterm.m (x_set_window_size): Don't call [view setRow:
      andColumns:] as this fools the subsequent call to updateFrameSize
      from performing the real resize.
      (windowDidResize): Don't update anything when in_animation is
      Trace output.
      * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
      * nsterm.m (x_set_window_size, updateFrameSize)
      ([EmacsView setRows: andColumns:])
  2. 26 Oct, 2015 7 commits
  3. 25 Oct, 2015 16 commits
    • Thomas Fitzsimmons's avatar
      Sync with soap-client repository, version 3.0.1 · 61640f6f
      Thomas Fitzsimmons authored
      * soap-client.el, soap-inspect.el: Bump version to 3.0.1.
      * soap-client.el, soap-inspect.el: Update home page.
      * soap-client.el, soap-inspect.el: Bump version to 3.0.0.
      * soap-inspect.el: Merge in changes from Emacs master branch.
      * soap-client.el: Merge in changes from Emacs master branch.
      * soap-inspect.el: Shorten first line description.
      * soap-client.el: Make a small whitespace fix.
      * soap-inspect.el: Update copyright years.
      * soap-client.el (soap-encoded-namespaces): Move above first use
      in soap-encode-xs-element.
      * soap-client.el (soap-type-is-array?): new defun
      (soap-encode-xs-element): handle array elements in this function
      (soap-encode-xs-complex-type): flag error if asked to encode an
      array type, this is handled in `soap-encode-xs-element'
      * soap-inspect.el (soap-inspect-xs-attribute-group): Do not print
      type for attribute group.
      * soap-inspect.el (soap-sample-value-for-xs-attribute-group): New
      (soap-inspect-xs-attribute-group): Likewise.
      * soap-inspect.el
      (soap-resolve-references-for-xs-attribute-group): Resolve
      references of attributes in an attribute group.
      * soap-client.el (soap-decode-xs-attributes): Process attribute
      type directly, not through soap-wsdl-get.
      * soap-client.el (soap-xs-parse-attribute): Leave reference nil if
      reference attribute is nil.
      * soap-client.el (soap-resolve-references-for-xs-attribute):
      Convert XML schema attributes to xsd:string.
      * soap-inspect.el (soap-sample-value-for-xs-attribute): New
      (soap-sample-value-for-xs-simple-type): Prepend attributes to
      (soap-sample-value-for-xs-complex-type): Likewise.
      (soap-inspect-xs-attribute): New function.
      (soap-inspect-xs-simple-type): Print attributes.
      (soap-inspect-xs-complex-type): Likewise.
      * soap-inspect.el (soap-resolve-references-for-xs-simple-type):
      Resolve references for attributes.
      (soap-resolve-references-for-xs-complex-type): Likewise.
      * soap-client.el (soap-xml-node-find-matching-child): Rename from
      (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
      (soap-xs-parse-simple-type): Likewise.
      * soap-client.el (soap-invoke-async): Add error checking.
      * soap-client.el (soap-invoke-internal): New function.
      (soap-invoke-async): Call soap-invoke-internal.
      (soap-invoke): Likewise.
      * soap-client.el (soap-invoke-async): Ensure buffer passed to
      url-retrieve callback is killed.
      * soap-client.el (soap-parse-wsdl-phase-validate-node): Rename
      (soap-parse-wsdl-phase-fetch-imports): Likewise.
      (soap-parse-wsdl-phase-parse-schema): Likewise.
      (soap-parse-wsdl-phase-fetch-schema): Likewise.
      (soap-parse-wsdl-phase-finish-parsing): Likewise.
      (soap-parse-wsdl): Update calls.
      * soap-client.el (soap-invoke-async): Fix callback invocation.
      * soap-client.el (soap-invoke-async): New function.
      (soap-invoke): Reimplement using soap-invoke-async.
      * soap-client.el (soap-parse-server-response): Improve docstring.
      (soap-invoke): Inline call to soap-parse-server-response.
      * soap-client.el (soap-decode-xs-complex-type): Prevent incorrect
      * soap-client.el (soap-parse-server-response): Rename
      soap-process-url-response.  Destroy the mime part.
      (soap-invoke): Call soap-parse-server-response.
      * soap-client.el: Update copyright date.
      * soap-client.el: Fix checkdoc issues.
      * soap-client.el: Fix indentation and long lines.
      * soap-client.el (soap-time-format): Remove variable.
      (soap-encode-xs-basic-type): Simplify date-time format detection.
      (soap-decode-xs-basic-type): Remove soap-time-format support.
      * soap-client.el (soap-process-url-response): New function.
      (soap-fetch-xml-from-url): Call soap-process-url-response.
      (soap-parse-wsdl-phase-1): New function.
      (soap-parse-wsdl-phase-2): Likewise.
      (soap-parse-wsdl-phase-3): Likewise.
      (soap-parse-wsdl-phase-4): Likewise.
      (soap-parse-wsdl-phase-5): Likewise.
      (soap-parse-wsdl): Call phase functions.
      * soap-client.el (soap-decode-xs-basic-type): Remove one-argument
      and call.
      * soap-client.el (soap-decode-date-time): Improve docstring.
      * soap-client.el (soap-xmlschema-imports): Remove variable.
      (soap-parse-schema): Add wsdl argument.  Look up XML schema
      imports from wsdl.
      (soap-load-wsdl): Do not set soap-xmlschema-imports.
      (soap-parse-wsdl): Get XML schema imports from wsdl.
      * soap-client.el (soap-current-file): Remove variable.
      (soap-wsdl): Add current-file slot.
      (soap-fetch-xml-from-url): Add wsdl argument.  Look up current
      file from wsdl.
      (soap-fetch-xml-from-file): Likewise.
      (soap-fetch-xml): Likewise.
      (soap-load-wsdl): Always create wsdl object first.
      (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
      * soap-client.el (soap-xs-element): Add is-group slot.
      (soap-xs-parse-element): Set is-group slot.
      (soap-resolve-references-for-xs-element): Skip is-group elements.
      (soap-xs-complex-type): Add is-group slot.
      (soap-xs-parse-complex-type): Set is-group slot.
      (soap-xs-parse-sequence): Parse xsd:group elements.
      (soap-resolve-references-for-xs-complex-type): Inline elements
      from referenced xsd:group nodes.
      (soap-parse-schema): Parse xsd:group nodes.
      * soap-client.el (soap-invoke): Don't set url-http-version to 1.0.
      * soap-client.el (soap-decode-xs-complex-type): Allow choice nodes
      to accept multiple values.
      * soap-client.el (soap-encode-body): Check parameters argument for
      extra header values.
      * soap-client.el (soap-well-known-xmlns): Add wsa and wsaw tags.
      (soap-operation): Add input-action and output-action slots.
      (soap-parse-operation): Parse wsaw:Action nodes.
      (soap-encode-body): Encode service-url for WS-Addressing.
      (soap-create-envelope): Likewise.
      (soap-invoke): Update soap-create-envelope call to provide
      service-url argument.
      * soap-client.el (soap-decode-xs-complex-type): Support xsi:type
      override attribute.
      (soap-decode-array): Likewise.
      * soap-client.el (soap-parse-schema): Handle location attribute.
      * soap-client.el (soap-decode-type): Check that multiRef matched
      validation regexp.
      * soap-client.el (soap-encode-xs-simple-type): Encode xsd:list
      (soap-decode-xs-simple-type): Decode xsd:list nodes.
      * soap-client.el (soap-get-candidate-elements): Fix reference
      * soap-client.el (soap-xs-simple-type): Add is-list slot.
      (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list
      (soap-xs-add-list): New function.
      * soap-client.el (soap-encode-xs-element): When a boolean is
      expected, interpret nil as "false".
      * soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
      gYear, gMonthDay, gDay and gMonth.
      * soap-client.el (soap-time-format): New variable.
      (soap-encode-xs-basic-type): Handle dateTime, time, date,
      gYearMonth, gYear, gMonthDay, gDay and gMonth.
      (soap-decode-date-time): New function.
      (soap-decode-xs-basic-type): Use soap-decode-date-time.
      * soap-client.el (soap-encode-xs-basic-type): Validate value after
      (soap-decode-xs-basic-type): Validate value before decoding.
      * soap-client.el (soap-validate-xs-basic-type): New function.
      (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
      * soap-client.el (soap-xs-add-union): Append result to base
      instead of overwriting it.
      (soap-validate-xs-simple-type): Add union support.
      * soap-client.el (soap-xs-add-restriction): Translate pattern to
      Emacs regexp using xsdre-translate.
      (soap-validate-xs-simple-type): Validate value against pattern.
      * soap-client.el (soap-xs-add-union): Preserve WSDL order of
      inline simpleType nodes.
      (soap-decode-type): Handle union types.
      * soap-client.el (soap-decode-xs-attributes): Decode basic-type
      * soap-client.el (soap-get-xs-attributes-from-groups): renamed
      from soap-xs-attribute-group-consolidate, all callers updated
      (soap-get-xs-attributes): renamed from
      soap-xs-attributes-consolidate, all callers updated
      * soap-client.el (soap-xs-type): Add attribute-group slot.
      (soap-xs-attribute-group): New type.
      (soap-xs-parse-attribute-group): New function.
      (soap-resolve-references-for-xs-attribute-group): Likewise.
      (soap-xs-add-extension): Handle attribute groups.
      (soap-resolve-references-for-xs-simple-type): Likewise.
      (soap-xs-parse-complex-type): Likewise.
      (soap-xs-parse-extension-or-restriction): Likewise.
      (soap-resolve-references-for-xs-complex-type): Likewise.
      (soap-xs-attribute-group-consolidate): New function.
      (soap-xs-attributes-consolidate): Handle attribute groups.
      (soap-parse-schema): Likewise.
      * soap-client.el (soap-encode-xs-basic-type): Fix boolean
      * soap-client.el (soap-encode-xs-complex-type): Print ref element
      names in warnings.
      * soap-client.el (soap-decode-xs-complex-type): Fix splicing.
      * soap-client.el (soap-decode-xs-complex-type): Eliminate invalid
      warnings for choice types.
      * soap-client.el (soap-encode-xs-complex-type-attributes): Also
      encode base type attributes.
      * soap-client.el (soap-encode-xs-complex-type): Fix compilation
      warning.  Print e-name in warnings, or element if e-name is nil.
      * soap-client.el (soap-xs-element): Add alternatives slot.
      (soap-xs-parse-element): Set substitution-group.
      (soap-resolve-references-for-xs-element): Populate alternatives
      (soap-get-candidate-elements): New function.
      (soap-encode-xs-complex-type): Iterate through all candidate
      elements.  Handle types with nil type indicator.  Fix warning
      * soap-client.el (soap-current-wsdl): moved declaration earlier in
      the file to prevent compiler warning.
      * soap-client.el (soap-node-optional): New function.
      (soap-node-multiple): Likewise.
      (soap-xs-parse-element): Call soap-node-optional and
      (soap-xs-complex-type): Add optional? and multiple? slots.
      (soap-xml-get-children-fq): New function.
      (soap-xs-element-get-fq-name): Likewise.
      (soap-xs-complex-type-optional-p): Likewise.
      (soap-xs-complex-type-multiple-p): Likewise.
      (soap-xs-attributes-consolidate): Likewise.
      (soap-decode-xs-attributes): Likewise.
      (soap-decode-xs-complex-type): Decode types with nil type
      indicator.  Support children that use local namespaces.  Decode
      attributes.  Add type considerations to optional? and multiple?
      * soap-client.el (soap-xs-parse-extension-or-restriction): Store
      parsed attributes.
      (soap-encode-xs-complex-type-attributes): Encode custom
      * soap-client.el (soap-encode-xs-complex-type-attributes): don't
      add the xsi:type attribute (Exchange refuses requests which have
      this attribute)
      * soap-client.el, soap-inspect.el: converted to lexical binding,
      corrected compiler warnings about unused function arguments and
      local variables.
      * soap-client.el (soap-decode-xs-complex-type): Handle nil type
      (soap-parse-envelope): Handle response headers.
      (soap-parse-response): Likewise.  Only return non-nil decoded
      * soap-client.el (soap-validate-xs-simple-type): Return validated
      * soap-client.el (soap-xs-parse-element)
      (soap-parse-operation): add the current namespace to the element
      being created
      (soap-resolve-references-for-operation): resolve the namespace to
      the namespace tag
      (soap-make-wsdl): specify a namespace tag when creating the xsd
      and soapenc namespaces
      (soap-wsdl-resolve-references): don't update namespace tags in
      elements here
      (soap-parse-port-type): bind the urn: to soap-target-xmlns
      (soap-encode-body): don't add nil namespace tags to
      * soap-inspect.el: use `soap-make-wsdl` to construct the object
      for registering the soap-inspect method.Make debbugs tests pass
      * soap-client.el (soap-decode-any-type): use soap-l2fq on the type
      name, also skip string only nodes when decoding a structure.
      (soap-xs-parse-complex-type): (BUG) dispatch parsing for choice
      types too
      (soap-encode-body): grab the header value from the param table
      * soap-client.el (soap-should-encode-value-for-xs-element): new
      (soap-encode-xs-element): don't encode nil value unless needed
      * soap-client.el (soap-bound-operation): new slot `soap-body`
      (soap-parse-binding): parse the message parts required in the body
      (soap-encode-body): encode only the parts that are declared to be
      part of the body
      * soap-client.el (soap-encode-xs-element): use the fq name when
      writing out the tag.
      (soap-encode-body): remove hack that inserts the xmlns in the
      element attributes list.
      * soap-client.el (soap-xs-attribute): add "default" slot
      (soap-xs-parse-attribute): default slot is set from the XML
      "fixed" attribute.
      (soap-encode-xs-complex-type-attributes): encode any attributes
      that have a default value.  Also, don't put the xsi:nil attribute
      when the complex type has no content anyway.
      * soap-client.el (soap-well-known-xmlns): add the xml namespace
      (soap-local-xmlns): start with the xml namespace
      (soap-xml-node-first-child): skip xsd:annotation nodes too
      (soap-make-xs-basic-types): more xsd types added
      (soap-encode-xs-basic-type, soap-decode-xs-basic-type): handle
      "language", "time", "date", "nonNegativeInteger"
      (soap-resolve-references-for-xs-element): don't signal an error if
      the element does not have a type.
      (soap-xs-parse-simple-type): subtypes are handled with ecase,
      added stum for xsd:list
      (soap-xs-add-union): call soap-l2fq on all union members
      (soap-xs-add-extension): call soap-l2fq on the base member
      (soap-resolve-references-for-xs-simple-type): don't signal an
      error if the simple type has no base.
      (soap-resolve-references-for-xs-simple-type): bugfix, call
      soap-wsdl-get on each type of the base
      * soap-client.el (soap-resolve-references-for-xs-attribute):
      referenced type can be eiher a simple type or a basic type
      (soap-xs-parse-extension-or-restriction): use `soap-l2fq' on base
      (soap-encode-xs-basic-type, soap-decode-xs-basic-type): add
      support for more XMLSchema basic types
      (soap-current-file, soap-xmlschema-imports): new defvars
      (soap-parse-schema): add locations from xsd:import tags to
      (soap-wsdl): make destructor private
      (soap-make-wsdl): new defun, SOAP-WSDL object constructor
      (soap-wsdl-add-alias): check if we try to replace aliases
      (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
      (soap-fetch-xml): new defuns
      (soap-load-wsdl): updated to load the WSDL from either a file or
      an url
      (soap-load-wsdl-from-url): now an alias to `soap-load-wsdl'
      (soap-parse-wsdl): process wsdl:import tags and imports from
      * soap-client.el (soap-l2wk): bugfix: call symbolp instead of
      (soap-l2fq): make the name part always a string
      (soap-name-p): new defun, used for name tests
      * soap-inspect.el (soap-sample-value-for-xs-complex-type): supply
      sample values for choice types with a special tag
      * soap-client.el (soap-encode-xs-complex-type): handle anonymous
      elements correctly
      (soap-encode-value): accept nodes that have no namespace tag
      * soap-client.el (soap-invoke): encode the string for
      `url-request-data' as UTF-8. Fixes issue 16
      Co-authored-by: default avatarAlexandru Harsanyi <AlexHarsanyi@gmail.com>
    • Eli Zaretskii's avatar
    • Artur Malabarba's avatar
      * src/keyboard.c (post-command-hook): Extend the docstring · 12941b99
      Artur Malabarba authored
      Mainly, explain how to use it without hanging Emacs, or giving the
      impression that it is hanging.  Also mention `pre-command-hook'.
      (pre-command-hook): Mention `post-command-hook'.
    • Artur Malabarba's avatar
      * lisp/custom.el (custom-declare-variable): Shorten code again · 2a85bf6a
      Artur Malabarba authored
      Without using pcase this time.  We can't use pcase because it is loaded
      after custom in loadup.el.  Also add a comment explaining this to future
      dummies like me.
    • Juanma Barranquero's avatar
      ; ChangeLog.2 fixes · 55156251
      Juanma Barranquero authored
    • Michael Albinus's avatar
      Document file notification `stopped' event · 80dd76a8
      Michael Albinus authored
      * doc/lispref/os.texi (File Notifications): Document `stopped event'.
    • Michael Albinus's avatar
      Introduce `stopped' event in file notification · ab116b19
      Michael Albinus authored
      * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
      (file-notify-rm-watch): Use it.
      (file-notify-callback): Implement `stopped' event.
      (file-notify-add-watch): Mention `stopped' in the docstring.
      Check, that upper directory exists.
      * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
      Add two test cases.
      (file-notify-test02-events): Handle also `stopped' event.
      (file-notify-test04-file-validity): Add another test case.
    • Glenn Morris's avatar
      ; Auto-commit of ChangeLog files. · 92c63c65
      Glenn Morris authored
    • Paul Eggert's avatar
      Revert commit that broke 'make bootstrap' · 0afbc5b2
      Paul Eggert authored
      * lisp/custom.el (custom-declare-variable): Revert commit
      79fac080.  custom.el needs to work
      even when pcase has not been defined yet, when doing bootstrapping.
    • Paul Eggert's avatar
      Port recent inline functions fix to Standard C · d8589ad4
      Paul Eggert authored
      * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
      All uses rewritten to define the function directly rather than to
      use a macro to define the function.  This conforms to Standard C,
      which does not allow stray semicolons at the top level.  I hope it
      also avoids the problems with TAGS.  Those macros, though clever,
      were pretty confusing anyway, and it wasn’t clear they were worth
      the aggravation even without the TAGS problem.
    • Artur Malabarba's avatar
    • Artur Malabarba's avatar
      * lisp/character-fold.el: Many improvements · f5f18f95
      Artur Malabarba authored
      (character-fold-search-forward, character-fold-search-backward):
      New command
      (character-fold-to-regexp): Remove lax-whitespace hack.
      (character-fold-search): Remove variable.  Only isearch and
      query-replace use char-folding, and they both have their own
      variables to configure that.
    • Artur Malabarba's avatar
      * lisp/isearch.el: Generalize definition of regexp-function toggles · c5f9ccfc
      Artur Malabarba authored
      (isearch-specify-regexp-function): New macro for specifying
      possible values of `isearch-regexp-function'.
      (isearch-toggle-character-fold, isearch-toggle-symbol)
      (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
    • Artur Malabarba's avatar
      * lisp/isearch.el (search-default-regexp-mode): New variable · cfd9ef52
      Artur Malabarba authored
      (isearch-mode): Use it.
    • Artur Malabarba's avatar
      * lisp/isearch.el: Delete redundant :group entries · fa647ecd
      Artur Malabarba authored
      (search-exit-option, search-slow-window-lines)
      (search-slow-speed, search-upper-case)
      (search-nonincremental-instead, search-whitespace-regexp)
      (search-invisible, isearch-hide-immediately)
      (isearch-resume-in-command-history, search-ring-max)
      (regexp-search-ring-max, search-ring-update, search-highlight)
      (isearch-fail): Delete :group entries.
    • Artur Malabarba's avatar
  4. 24 Oct, 2015 16 commits