1. 03 3月, 2010 8 次提交
    • K
    • M
      e325bee5
    • M
      Add back readResolve() that I removed in r28147 (branch r27997).. · 8359f5d8
      mindless 提交于
      in the other removed cases readResolve was redundant with the XStream Converter,
      but in this case it is needed when deserializing a Result sent from a slave node
      (XStream is not used in remoting).
      
      
      git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28157 71c3de6d-444a-0410-be80-ed276b4c234a
      8359f5d8
    • M
      fix: skip update from SaveableListener during doUpgrade/doDiscard · 9fb65a99
      mindless 提交于
      to avoid ConcurrentModificationException.
      
      
      git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28155 71c3de6d-444a-0410-be80-ed276b4c234a
      9fb65a99
    • M
      Merge r27590:28071 and r28073 from branches/old-data-monitor into trunk. · 07f0405f
      mindless 提交于
      --Merged-in:------------------------------------------------------------
      r27601 | mindless | 2010-02-16 20:21:50 -0800 (Tue, 16 Feb 2010) | 8 lines
      
      Add OldDataMonitor for tracking loaded data that contained old deprecated data,
      the Saveable objects that can be save()'ed to persist the data in its new format,
      and the Hudson releases where these structure changes took place.
      A "Manage Old Data" form explains how Hudson deals with migrating old data
      (keeping downgrades possible), lists the old data, and allows upgrade of the data
      files with changes up through a selected Hudson release.
      Added calls of OldDataMonitor.report() for six old deprecated fields/data changes.
      
      --Merged-in:------------------------------------------------------------
      r27683 | mindless | 2010-02-19 11:43:40 -0800 (Fri, 19 Feb 2010) | 5 lines
      
      Expand OldDataMonitor to also track unreadable data found while loading.
      These are reported from util.RobustReflectionConverter and RobustCollectionConverter.
      "Manage Old Data" screen has additional text about unreadable data, and a form
      to resave those files which will discard that data.
      
      --Merged-in:------------------------------------------------------------
      r27715 | mindless | 2010-02-20 08:56:51 -0800 (Sat, 20 Feb 2010) | 3 lines
      
      Add Saveable/Item/Run listeners to remove entries tracked by OldDataMonitor
      if they are resaved or deleted.
      
      --Merged-in:------------------------------------------------------------
      r27970 | mindless | 2010-02-26 09:02:43 -0800 (Fri, 26 Feb 2010) | 6 lines
      
      Add OldDataMonitor reporting for deprecated fields in Mailer and HudsonPrivateSecurityRealm.
      Includes fix in RobustReflectionConverter to report against outermost Saveable object
      (User object can contain MyViewsProperty which is also Saveable).
      Also added XStream2.PassthruConverter which is used to report old data during
      unmarshalling when the containing Saveable is not known.
      
      --Merged-in:------------------------------------------------------------
      r27982 | mindless | 2010-02-26 11:35:41 -0800 (Fri, 26 Feb 2010) | 3 lines
      
      Fix to show username for User objects instead of "fullDisplayName".
      Also increased threshold for possible compatibility removal from 100 to 150 releases.
      
      --Merged-in:------------------------------------------------------------
      r27983 | mindless | 2010-02-26 11:43:06 -0800 (Fri, 26 Feb 2010) | 5 lines
      
      Add OldDataMonitor reporting for ParametersAction.build, CauseAction.cause
      and UpstreamCause.upstreamCause.
      Note: these will make the list of objects on the OldData/manage screen very long
      for Hudson installs with lots of builds run on Hudson 1.283 to 1.287.
      
      --Merged-in:------------------------------------------------------------
      r27987 | mindless | 2010-02-26 12:33:59 -0800 (Fri, 26 Feb 2010) | 4 lines
      
      Refactored XStream2.PassthruConverter so uses do not need to be registered with
      the XStream2 instance, but work for all XStream2 (using ConverterImpl subclass
      found by AssociatedConverterImpl).
      
      --Merged-in:------------------------------------------------------------
      r27989 | mindless | 2010-02-26 13:38:35 -0800 (Fri, 26 Feb 2010) | 3 lines
      
      Add a cache of ConverterImpl instances in AssociatedConverterImpl to avoid
      repeated work in findConverter every time such an object is marshalled/unmarshalled.
      
      --Merged-in:------------------------------------------------------------
      r27996 | mindless | 2010-02-26 16:47:19 -0800 (Fri, 26 Feb 2010) | 2 lines
      
      Add OldDataMonitor reporting for HealthReport.description
      
      --Merged-in:------------------------------------------------------------
      r27997 | mindless | 2010-02-26 16:49:28 -0800 (Fri, 26 Feb 2010) | 5 lines
      
      Remove readResolve() in 3 classes where a Converter now does that work.
      In GlobalMatrixAuthorizationStrategy and AuthorizationMatrixProperty also
      add unreadable-data reporting when unable to parse a permission type,
      and report when Item.READ permission is added for migration from < 1.301
      
      --Merged-in:------------------------------------------------------------
      r28073 | mindless | 2010-02-28 23:18:06 -0800 (Sun, 28 Feb 2010) | 5 lines
      
      Report any old XStream 1.1.x serialized (files from Hudson before 1.106)
      to OldDataMonitor, using a ThreadLocal since the unmarshal context is not
      available in the mapper.  These use "-" to encode "$" in a class name
      instead of "_-" used now.
      
      +-End-of-merged-revisions----------------------------------------------+
      
      
      
      git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28147 71c3de6d-444a-0410-be80-ed276b4c234a
      07f0405f
    • K
    • K
      normalization needs to avoid producing empty string. · 9d63c022
      kohsuke 提交于
      git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28142 71c3de6d-444a-0410-be80-ed276b4c234a
      9d63c022
    • M
      [FIXED HUDSON-5769] Update to XStream 1.3.1-hudson-6 where I added · 48df625a
      mindless 提交于
      protected Converter createDefaultConverter().  This allows a subclass
      to override the default converter (was hardcoded to ReflectionConverter)
      which is also given to the constructor of a few other converters,
      most notably ThrowableConverter.  Override this method in XStream2 to
      provide a RobustReflectionConverter so missing fields in classes
      extending Throwable are handled properly.
      
      
      git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28141 71c3de6d-444a-0410-be80-ed276b4c234a
      48df625a
  2. 02 3月, 2010 3 次提交
  3. 01 3月, 2010 1 次提交
  4. 28 2月, 2010 2 次提交
  5. 27 2月, 2010 6 次提交
  6. 26 2月, 2010 6 次提交
  7. 25 2月, 2010 2 次提交
  8. 24 2月, 2010 2 次提交
  9. 23 2月, 2010 1 次提交
  10. 20 2月, 2010 7 次提交
  11. 19 2月, 2010 2 次提交