Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LibreOffice/loeclipse
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.4
Choose a base ref
...
head repository: LibreOffice/loeclipse
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Mar 14, 2017

  1. Update README.md

    smehrbrodt authored Mar 14, 2017
    Copy the full SHA
    0063bf2 View commit details

Commits on Mar 28, 2017

  1. Copy the full SHA
    6acd9c7 View commit details

Commits on Jul 11, 2017

  1. Copy the full SHA
    bd115eb View commit details
  2. Release 2.2.5

    smehrbrodt committed Jul 11, 2017
    Copy the full SHA
    d9d2167 View commit details
  3. Copy the full SHA
    c1b807d View commit details

Commits on Sep 4, 2017

  1. Copy the full SHA
    0c5d7e1 View commit details
  2. Fix Indentation

    smehrbrodt committed Sep 4, 2017
    Copy the full SHA
    1d25fbd View commit details
  3. Release 2.2.6

    smehrbrodt committed Sep 4, 2017
    Copy the full SHA
    ac7e3a9 View commit details

Commits on Feb 27, 2018

  1. Add irc channel

    smehrbrodt authored Feb 27, 2018
    Copy the full SHA
    ab928e4 View commit details

Commits on Feb 28, 2018

  1. Copy the full SHA
    277a317 View commit details

Commits on Mar 1, 2018

  1. Copy the full SHA
    b135838 View commit details
  2. Improve README

    smehrbrodt authored Mar 1, 2018
    Copy the full SHA
    c6d932a View commit details
  3. Fix #62 Null Pointer Exception when trying to export Extension Projec…

    …ts (#64)
    
    * Fix #62 Null Pointer Exception when trying to export Extension Projects
    shobhanmandal authored and smehrbrodt committed Mar 1, 2018
    Copy the full SHA
    b8a247d View commit details

Commits on Mar 5, 2018

  1. Fix #8 Adding UNO service/interface UX fail (#65)

    Make sure we have an active LibreOffice project before generating an interface / a service file
    shobhanmandal authored and smehrbrodt committed Mar 5, 2018
    Copy the full SHA
    b24b0fd View commit details

Commits on Mar 26, 2018

  1. Fix #52 Create a separate export Ant script option (#66)

    Before this was hidden in the export package dialog and hard to discover
    shobhanmandal authored and smehrbrodt committed Mar 26, 2018
    Copy the full SHA
    7842ff7 View commit details

Commits on May 14, 2018

  1. Fix #21: Show error when RegistrationHandler.classes empty (#67)

    show an error message when RegistrationHandler.classes is empty
    shobhanmandal authored and smehrbrodt committed May 14, 2018
    Copy the full SHA
    3113b24 View commit details
  2. Release 2.3.0

    smehrbrodt committed May 14, 2018
    Copy the full SHA
    8727a00 View commit details

Commits on May 17, 2018

  1. Revert changes: OXT Export: Automatically add .oxt extension #51 (#69)

    The changes made was not required since during the creation of the UnoPackage which ultimately results in the ".oxt" file this has been handled in org.libreoffice.plugin.core.model.UnoPackage.java
    shobhanmandal authored and smehrbrodt committed May 17, 2018
    Copy the full SHA
    1322576 View commit details

Commits on Oct 26, 2018

  1. Copy the full SHA
    6db3402 View commit details
  2. A new Module is created for placing the codes for Python and a new

    nearly empty Python project is created under New Extension Wizard.
    shobhanmandal authored and smehrbrodt committed Oct 26, 2018
    Copy the full SHA
    c704ba9 View commit details
  3. Copy the full SHA
    bdbf3dc View commit details
  4. Removed certain redundant code

    shobhanmandal authored and smehrbrodt committed Oct 26, 2018
    Copy the full SHA
    1e3870a View commit details
  5. Copy the full SHA
    d9f6345 View commit details
  6. Copy the full SHA
    4289807 View commit details
  7. Copy the full SHA
    99cba30 View commit details
  8. Copy the full SHA
    0f07210 View commit details
  9. Copy the full SHA
    635bd9b View commit details
  10. Starting the debug server of PyDev when we go for debugging and throwing

    error if space is in Project name
    shobhanmandal authored and smehrbrodt committed Oct 26, 2018
    Copy the full SHA
    68c3d1a View commit details
  11. Copy the full SHA
    b064812 View commit details
  12. The Service Page and the Interface page show in Extension

    Project(Python)
    shobhanmandal authored and smehrbrodt committed Oct 26, 2018
    Copy the full SHA
    4388233 View commit details
  13. Code Cleaning, stuff not required in creation/Running/Export of Python

    Project have been removed
    shobhanmandal authored and smehrbrodt committed Oct 26, 2018
    Copy the full SHA
    8a369ad View commit details
  14. Copy the full SHA
    6aed7df View commit details
  15. Copy the full SHA
    fa33404 View commit details
  16. Convert tabs to spaces

    smehrbrodt committed Oct 26, 2018
    Copy the full SHA
    d89220e View commit details
  17. Update changelog

    smehrbrodt committed Oct 26, 2018
    Copy the full SHA
    374e5fe View commit details
  18. Update feature.xml

    smehrbrodt committed Oct 26, 2018
    Copy the full SHA
    110d0b6 View commit details
  19. typo

    smehrbrodt committed Oct 26, 2018
    Copy the full SHA
    014fac6 View commit details
  20. Copy the full SHA
    7178d3b View commit details
  21. Copy the full SHA
    b09d2c7 View commit details

Commits on Oct 27, 2018

  1. Update readme

    smehrbrodt committed Oct 27, 2018
    Copy the full SHA
    37c6fb7 View commit details
  2. gitignore: Add site.tar.gz

    smehrbrodt committed Oct 27, 2018
    Copy the full SHA
    f3c3a8e View commit details
  3. Add docs folder

    smehrbrodt committed Oct 27, 2018
    Copy the full SHA
    b11a9bc View commit details
  4. Copy the full SHA
    5688677 View commit details
  5. Add basic jekyll site

    smehrbrodt committed Oct 27, 2018
    Copy the full SHA
    676fe29 View commit details
  6. Move user docs to website

    smehrbrodt committed Oct 27, 2018
    Copy the full SHA
    be2d756 View commit details
  7. Change links to https

    smehrbrodt committed Oct 27, 2018
    Copy the full SHA
    02d5eff View commit details
  8. More website stuff

    smehrbrodt committed Oct 27, 2018
    Copy the full SHA
    92bde1d View commit details
  9. Move docs to docs/ folder

    In preparation to have this stuff online
    smehrbrodt committed Oct 27, 2018
    Copy the full SHA
    a2e2b27 View commit details
  10. Release 3.0.0

    smehrbrodt committed Oct 27, 2018
    Copy the full SHA
    e72f1e9 View commit details

Commits on Dec 12, 2018

  1. Add logo

    Thanks to Andreas Kainz for creating it
    
    See also https://bugs.documentfoundation.org/show_bug.cgi?id=121003
    smehrbrodt committed Dec 12, 2018
    Copy the full SHA
    087be89 View commit details
Showing 373 changed files with 10,970 additions and 6,374 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -2,5 +2,7 @@
/*/bin
/site
/*.zip
/core/doc/help/html/api/
/docs/loeclipse-doc/help/html/api/
/java/jodconnector.jar
/site.tar.gz
/.metadata/
55 changes: 54 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,58 @@
# Changelog

## 4.2.0
* #57 Allow passive component registration
* #145 Fix SDK detection on Windows
* #146 Update build.properties when classpath changes
* #137 Allow generating ant script from non-UNO project
* #142 Improve non-UNO project management
* #136, #140 Recognize modular projects
* #147 Fix for ant build with non-modular projects
* #149 Don't empty build/ directory when building with ant

## 4.1.0
* #130 Support LibreOffice SDK >= 24.2
* #104 Improve error handling for RegistrationHandler.classes file
* #117, #119: Improved management of package.properties file
* #127 Improvements to ant build

## 4.0.2
* #98 Support LibreOffice >= 7.5
* #85 Detect subfolders in `lib` directory

## 4.0.1
* Improved Python project support
* Fixed run configuration
* Correctly add multiple python files to build

## 4.0.0
* New Java baseline: Java 8 now required (instead of Java 7)
* Support LibreOffice 7.0 (recognize new libreoffice.jar)
* Gradle/Buildship support:
* Jars in "libs" directory in Project root dir are treated as external libs

## 3.0.1
* #72 Fix running javamaker with spaces in project path
* Load description.xml editor even when locale is missing
* Remove crashreport service (Service no longer exists)
* Fix build with empty `build` directory

## 3.0.0
* Python support for extension development

## 2.3.0
* #52 Ant export is now a separate export option
* #51 Automatically add .oxt extension for OXT export
* #21 An error message is shown when RegistrationHandler.classes is empty
* #8 Making sure a project is selected before generating an interface/a service file
* #62 Fix Null Pointer Exception when trying to export Extension Project

## 2.2.6
* Enabled Automated error reporting

## 2.2.5
* #58 Fix build without idl/ directory

## 2.2.4
* #38 Prefill build.properties with current LO&SDK installation
* #43 Java version selector has been removed from the extension wizard
@@ -25,7 +78,7 @@
* #32 Include jodconnector.jar in the build

## 2.1.2
* #28: Start LibreOffice with --norestore
* #28: Start LibreOffice with --norestore
* #31: Create dist folder when needed

## 2.1.1
90 changes: 42 additions & 48 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,61 @@
# LOEclipse

This plugin helps with developing and debugging LibreOffice extensions/components from Eclipse.

This release supports only LibreOffice 5.0 and upwards (due to some changed internal paths).
It was tested with Eclipse Mars (4.5). Older versions might still work, but are untested.

For historic releases supporting older versions of LibreOffice (and OpenOffice) visit [this site](http://bosdonnat.fr/pages/libreoffice-eclipse.html).

## Installation

Install this plugin via the [Eclipse Marketplace](https://marketplace.eclipse.org/content/loeclipse). Drag the button below to your running Eclipse instance.

<a href="http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=2881446" class="drag" title="Drag to your running Eclipse workspace to install LOEclipse"><img class="img-responsive" src="https://marketplace.eclipse.org/sites/all/themes/solstice/public/images/marketplace/btn-install.png" alt="Drag to your running Eclipse workspace to install LOEclipse" /></a>

After installing the plugin, you can create new extensions/components by using *File->New->Project->LibreOffice*.
## Introduction

You can also have a look at the [LibreOffice Starter Extension](https://github.com/smehrbrodt/libreoffice-starter-extension). It contains a step-by-step guide to get started with extension development.
This plugin helps with developing and debugging LibreOffice extensions/components from Eclipse.

## Documentation
Please visit the https://libreoffice.github.io/loeclipse/ for installation instructions and user documentation.

Developer and User Documentation is found in [core/doc/help/html](https://github.com/LibreOffice/loeclipse/tree/master/core/doc/help/html).
Only read further if you want to work on LOEclipse itself.

## Development

### Prerequisites
In order to build LOEclipseIntegration to produce an update site, you need to have LibreOffice, the LibreOffice SDK and Eclipse installed.

*LibreOffice 7.0 or newer is required.*

* Ubuntu: Install `libreoffice`,`libreoffice-dev` and `libreoffice-java-common`.
* Windows/macOS: Install LibreOffice and the LibreOffice SDK from http://www.libreoffice.org/download
* Windows: Install LibreOffice and the LibreOffice SDK from https://www.libreoffice.org/download
* macOS: No support for macOS currently (see [bug #54](https://github.com/LibreOffice/loeclipse/issues/54))

### Setup Eclipse for development

1. Install *Eclipse IDE for Eclipse Committers*. The *Eclipse IDE for Java Developers* will **not** work.
2. Clone this repository
3. Import the three projects `build`, `core` and `java` (using *File->Import->General->Existing projects into workspace*)
4. Add the LibreOffice jars to the build path
* Go to *Preferences* in Eclipse and open the *Java->Build path->User Library* configuration page.
* Add a new library named `LO-Classes`
* Select the Library, click *Add External Jars*
* Search for the LibreOffice jars `unoil.jar juh.jar jurt.jar ridl.jar unoloader.jar`. You find them here:
* macOS: `/Applications/LibreOffice.app/Contents/Resources/java`
* Ubuntu: `/usr/lib/libreoffice/program/classes`
* Windows: `C:\Program Files\LibreOffice 5\program\classes\`
* Now there should be no more project errors.
5. Go to *Run->Run Configurations*, and create a new run configuration of the type *Eclipse Application*. Now you can run or debug the LOEclipse plugin using this run configuration.
1. Install *[Eclipse IDE for Eclipse Committers](https://www.eclipse.org/downloads/packages/)*. The *Eclipse IDE for Java Developers* will **not** work.
2. Install [PyDev](https://marketplace.eclipse.org/content/pydev-python-ide-eclipse) (from Help->Eclipse Marketplace)
3. Clone this repository
4. Import the three projects `build`, `core` and `java` (using *File->Import->General->Existing projects into workspace*)
5. Add the LibreOffice jars to the build path
* Go to *Window->Preferences* in Eclipse and open the *Java->Build path->User Libraries* configuration page.
* Add a new library named `LO-Classes`
* Select the Library, click *Add External Jars*
* Add the LibreOffice jars `libreoffice.jar unoil.jar`. You find them here:
* macOS: `/Applications/LibreOffice.app/Contents/Resources/java`
* Ubuntu: `/usr/lib/libreoffice/program/classes`
* Windows: `C:\Program Files[ (x86)]\LibreOffice 5\program\classes\`
* Now there should be no more project errors.
6. Go to *Run->Run Configurations*, and create a new run configuration of the type *Eclipse Application*. Now you can run or debug the LOEclipse plugin using this run configuration.

### Getting help

Please open an issue if you experience any problems while working on this project.

## Release Management

### Release new version

* Update `CHANGELOG.md`
* Bump version in `core/META-INF/MANIFEST.MF` `java/META-INF/MANIFEST.MF` `python/META-INF/MANIFEST.MF`
* Use [Semantic Versioning](https://semver.org/) for version number bumps
* Commit changes with message "Release x.y.z"
* Create a tag: `git tag vX.Y.Z` (e.g. `git tag v4.0.2`)
* Push changes: `git push && git push --tags`
* Create a new release on https://github.com/LibreOffice/loeclipse/releases
* Choose previously created tag
* Release title is `vx.y.z` (e.g. v4.0.2)
* Copy the changelog as release notes

### Publish new version

After releasing a new version, we need to build the update site. To do that, run the following command in the `build` folder:

`ant -Dlibreoffice.home=... -Declipse.home=...`
@@ -58,20 +67,5 @@ You can also persist the options by setting the `ANT_ARGS` variable to
`-Dlibreoffice.home=... -Declipse.home=...`.

### Available build targets
Run `ant help` to see the available build targets.

## Features
* UNO-IDL syntax highlighting
* SDK and LibreOffice Configuration
* Java code generation
* New UNO project wizard
* New UNO file wizard
* New UNO service wizard
* New UNO interface wizard
* Skeleton-maker integration for basic components creation
* URE configuration
* New URE application wizard
* Automatic component build and packaging
* Automatic deployment to an existing LibreOffice installation
* Remote debugging using the Eclipse debugger
* Generate ant build script to build the extension without Eclipse
Run `ant help` to see the available build targets.
2 changes: 2 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
java_source = 1.8
java_target = 1.8
10 changes: 10 additions & 0 deletions build/.checkstyle
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
<local-check-config name="loeclipseintegration style" location="checkstyle.xml" type="project" description="">
<additional-data name="protect-config-file" value="false"/>
</local-check-config>
<fileset name="all" enabled="true" check-config-name="loeclipseintegration style" local="true">
<file-match-pattern match-pattern="." include-pattern="true"/>
</fileset>
</fileset-config>
6 changes: 6 additions & 0 deletions build/.project
Original file line number Diff line number Diff line change
@@ -5,7 +5,13 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
2 changes: 2 additions & 0 deletions build/.settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
Loading