[Libreoffice-commits] core.git: Changes to 'feature/unitver'

Andrzej Hunt andrzej at ahunt.org
Wed Jan 28 11:04:38 PST 2015


New branch 'feature/unitver' available with the following commits:
commit adcc18ed7e545c44b44f1f12fa50671047adbe45
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Wed Jan 28 18:18:27 2015 +0000

    Implement operators * and / for UtUnit.
    
    This will save more convoluted calls to ut_multiply/divide
    when implementing further opcodes.
    
    Change-Id: I022bd8aad4a8165a68534730447a0c8b9c8f4aba

commit 0e9adc9835025a7821d60a7d7f37a4c98ff38301
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Wed Jan 28 17:48:47 2015 +0000

    Implement operator== for UtUnit
    
    (Although this only replaces one call to ut_compare, implementation
     of further opcodes/further functionality will likely require much
     more comparison. We should probably also have an operator* and operator/
     in future.)
    
    Change-Id: Ib31d4dec753823260e9905446ac3d5cd7eb720c8

commit 0e0e5910b3da5f32159b3cf20d45ca3bf5f7adf1
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Tue Jan 27 13:29:21 2015 +0000

    Implement tests for unit verification.
    
    Change-Id: I1fc97b2eeed404e897f4816fe65f05e14150de28

commit b6151d8e5a13ef8de18337b5cbdf820f2f83a0f5
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Mon Jan 26 17:25:33 2015 +0000

    No need to pass in unit system anymore.
    
    getUnitForRef is now a member that can access our unit system
    so we don't need to pass it in.
    
    Change-Id: I31f7ebed98dda3e3573866c36ee84e631c8f6de8

commit c62b4b2c075686428fdcbc7194cd37adb25189f0
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Mon Jan 26 17:21:50 2015 +0000

    Implement setUp/tearDown for units test.
    
    In preparation for adding more tests.
    
    Change-Id: I63ba844d0b2b39df975abb6d4043e88fba9137dd

commit 7351065a2227868bf6d338424ca8bca935e41a6e
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Mon Jan 26 17:13:53 2015 +0000

    Add support for unary opcodes to unit verification.
    
    Change-Id: I802079e6ee61a6807e97cd87df3b4bf3223d9b03

commit aa33deb9ab68d3cbdca7ef667cdfac008333f0d1
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Mon Jan 26 16:41:29 2015 +0000

    Allow access to whole stack for opcode processing.
    
    An opcode can operate on 0, 1, 2 or n values/units, hence
    we need to be able to access the whole stack in order to be
    able to implement support for all opcodes.
    
    Change-Id: I145d430ef412825ac4437a5049c955b2d7eb0bfb

commit ab9fc5fad42da286cb25650efe6b26db7666eda7
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Mon Jan 26 16:25:26 2015 +0000

    Update UnitsTest to use the refactored design.
    
    Change-Id: I37c8d0c44612519e01e7c62353c395fbe4cf3116

commit 63233713e131d4d75abfa661e1a05a2933e91a3c
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Mon Jan 26 15:52:30 2015 +0000

    Split up / refactor unit verification.
    
    Change-Id: Ic188cf4046ed6d3f1e705f7fe97a26a7914ab4d8

commit 94b117a0b77351b74e50c4b418ffd33bd9f9c414
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Wed Jan 28 18:49:39 2015 +0000

    Add unit-verification unit test skeleton.
    
    Change-Id: I6375c2d7a3c7328edfcd4890c0a7111bfe845a3d

commit d3c627b2356cf77aed87542169eac87b87ed765e
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Wed Jan 28 18:49:24 2015 +0000

    Implement actual unit verification.
    
    Change-Id: I490939270c0ff6099c8bf2e4ec5c771ed8bb65c3

commit b63bc17b839ffba78593ce94317416973d1ead3a
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Wed Jan 28 18:48:49 2015 +0000

    Verify formula's input units on entry.
    
    This is probably the best way to do things for now,
    larger scale verification of existing files could be something
    to look into in future.
    
    Change-Id: I0dd43d081ee786bd48e20793af275790d2a47951

commit f48ab1ca83e110c9deb7bca2f80c9d6728fc7129
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Wed Jan 28 18:48:38 2015 +0000

    Incomplete: udunit integration.
    
    We still need to check how to find the system udunits installation
    in configure.ac.
    
    Unfortunately openSuse has no official packages. Fedora, debian and
    ubuntu do.
    
    Change-Id: If7937e0a4113602a6b5dda2d70bde1ad4b0b83eb

commit e406b94e1a1769d4741836776064664efcb72fab
Author: Andrzej Hunt <andrzej at ahunt.org>
Date:   Tue Nov 25 11:16:26 2014 +0000

    Add sc.units to log area.
    
    Change-Id: Ia921b3e7aef905b3132f59be35282357bf5ec3b7



More information about the Libreoffice-commits mailing list