Commit Graph

2315 Commits

Author SHA1 Message Date
Lars Hvam
2b9f7d30c7
1.90.0 (#2946)
* 1.90.0

* v1.90.0
2019-10-06 23:43:48 -07:00
Jakub Filak
4c3c4e8ea8 objects: work around the protected redefinition shortdump (#2891)
The methods CL_OO_CLASS_SECTION_SOURCE=>SCAN_SECTION_SOURCE calls the
function SCAN_ABAP_OBJECTS_SECTION without the parameter superclsname
which causes that variable scan_result (vse_tabs) holds a broken table of
redefinitions for protected methods which leads into a short dump during
CL_OO_CLASS_SECTION_SOURCE=>REVERT_SCAN_RESULTS.

The problem does not occur for public section because the public section
contains "CLASS ... INHERITING FROM ...", so superclsname gets
populated. It's obvious that the class definition statement is not
present in the protected section.

The crash is reported as DBSQL_DUPLICATE_KEY_ERROR in the program
SAPLSEOR at INSERT_REDEFINITIONS.

The code is the following:

    * first refresh db table
        perform delete_redefinitions
          using inhkey.
        delete adjacent duplicates from redefinitions.
    * insert again
        insert seoredef from table redefinitions.

One might think that the delete statement form clears the table seoredef
but the problem is that the variable inhkey contains the super class
name so no redefinitions are actually removed and the insert statement
attempts to insert the redefinitions without parent class again.

The proper solution is to enhance CL_OO_CLASS_SECTION_SOURCE=>SCAN_SECTION_SOURCE
to pass the super class name to SCAN_ABAP_OBJECTS_SECTION - at least for
the protected section.

However, I am not patient and I am not going to wait for the proper fix
(which the maintainers may refuse).
2019-10-06 23:18:44 -07:00
Christian Guenter
d7e2833483 Warning at stage when not logged on in master lang 2019-10-06 01:12:33 -07:00
Christian Günter
a40e7f1bbc new function 'add all objects to transport request' (#2942)
* new function 'add all objects to transport req'

* enable cancel
2019-10-06 00:21:51 -07:00
Christian Günter
6decda9c07 Refactor zcl_abapgit_gui_view_repo (#2939)
* refactor build branch/tag dropdown

* refactor build advanced dropdown

* refactor build main toolbar

* cleanup

* cleanup

* post merge conflict fixes
2019-10-05 23:17:27 -07:00
BlackmanCC
b49eaab687 fix errorhandling bug #2940 (#2941) 2019-10-05 22:58:52 -07:00
Christian Günter
3905c67edd Order by on repo page (#2933)
* Order by on repo page

* move render_cols_pec to zcl_abapgit_gui_chunk_lib

* cleanup

* cleanup

* first new working version

* fix lint

* add OrderByHelper

* add new feature clear

* rename ICON to CLEAR

* cleanup

* refactor actions

* fix typo in method name

* remove duplication

* rename render_col_spec to render_order_by_table_he

* refactor type

* fix eslint warning

* isoltate repo_tab CSS

* fix non-code and metadata files at the top

* refactor

* cleanup

* new features "diffs first" + remove clear

* refactor

* take directories into account

* cleanup
2019-10-05 22:54:04 -07:00
Martin Fuchs
67ebff3b7c No log messages for local objects after pull (#2932)
* No log messages for local objects after pull

In case a package contains objects that are are not part of the remote repository, the pull log contains messages like "Object (type ) only exists local; no import required". It is not necessary that messages for local object appears in the log. For pull requests, messages for the affected objects (objects to be imported) are sufficient.
This change ir related to issue #2931.

* rename (z)if_abapgit_definitions

rename (z)if_abapgit_definitions
2019-10-05 22:41:02 -07:00
Christian Günter
22d19023e4 NROB: write transport request entry (#2926)
* NROB-serialization: write transport request entry

* switch to corr_insert

* cleanup
2019-09-28 23:41:43 -07:00
Christian Günter
680dbd6b74 DDLS-Serialization: Write transport request entry (#2927) 2019-09-26 01:41:38 -07:00
Christian Guenter
d086bc1623 PERS: downport 2019-09-26 01:32:55 -07:00
Andrew Barnard
98ca315dac UENO: Entity Type Implementation (#1906) (#2911)
* UENO: Entity Type Implementation (#1906)

* Resolve ABAPlint issues

Resolve ABAPlint issues

* UENO - Use zcl_abapgit_objects_generic

Removal of many unnecessary methods due to use of zcl_abapgit_objects_generic
2019-09-18 22:02:35 -07:00
Christian Günter
ee6d488a07 Branch Overview: fix support for branches with # (#2920) 2019-09-16 04:36:47 -07:00
CASAG-MariusRaht
9ad8973ab6 #2725 (#2907)
* #2725

> Bottom logo is now clickable and links to the repository page on GitHub
> New menu item 'Changelog' under 'Help' which links to the changelog.txt

Special Notes: 
> Link to documentation was already implemented
> Link for menu item 'Tutorials' isn't linked to anything. But that seems to be right, because there isn't a tutorial site separated from the documentation website

* abaplint: Normalization

* Update zcl_abapgit_services_abapgit.clas.abap

* Update zcl_abapgit_services_abapgit.clas.abap

* abaplint: fix max line length error

* abaplint

* Removed "|{}|"
2019-09-15 01:09:27 -07:00
CASAG-MariusRaht
0fd851c8d2 #2723 (#2909)
#2723
> Implemented re-run button for syntax check
2019-09-12 07:33:24 -07:00
Christian Günter
b6f82aa8cf Command palette: Jump to files on Diff/Stage page (#2913)
* Patch/Diff: Command palette for file jump

* change hotkey to F2

* cleanup

* Improve JS func call
2019-09-12 05:29:52 -07:00
CASAG-MariusRaht
0e27d90212 Fix for #2896 (#2906)
> Error message for missing development object
> Reopen "Object to File"-PopUp when object was not found
> Spelling correction for error message
2019-09-09 22:02:12 -07:00
Alexander Tsybulsky
739b14ab6a Command palette: Git actions (#2908)
* enumerateToolbarActions

* command prefix

* docs
2019-09-09 21:34:30 -07:00
Christian Günter
780856c212 PERS: Personalization object implementation (#2905)
* PERS: Personalization object implementation

* Update ref-supported.md
2019-09-08 00:25:05 -07:00
Alexander Tsybulsky
587f792026 Command palette (Ctrl+P): Go to repo ... (#2897)
* command palette

* support for Ctrl; case insensitive search

* some wip

* refactor KeyNavigation

* eslint

* commandPalette key navigation improved

* last backspace hides the palette

* minor cleanups and ids
2019-09-07 23:12:49 -07:00
Christian Günter
cb00442062 Diff/Patch: Add Jump to file (#2895)
* Diff/Patch: Add Jump to file

* Patch/Diff: Add bottom margin for scrolling

* Remove filtered files from jump list
2019-08-30 04:17:17 -07:00
Sebastian Wolf
e5e63e089b APACK: Introduce versioned dependencies (#2894)
* APACK: Introduce versioned dependencies

* APACK: Make docs more precise wrt support
2019-08-29 00:53:09 -07:00
Alexander Tsybulsky
883c39bd25 column sorting in repo overview (#2887)
* column sorting draft

* linter fix

* remove old code

* fix toggleDetails - remember state

* eslint fix

* remove unused JS functions

* add column header for macro call
2019-08-26 22:06:27 -07:00
Christian Günter
2d143b081a fix CI result CSS (#2884) 2019-08-21 22:25:09 -07:00
Christian Günter
13c227359a Fix code inspector page navigation (#2883) 2019-08-21 22:22:11 -07:00
Jakub Filak
9a6e6e8b24 ui: add a workaround for JavaGUI dyn form bug (#2873)
JavaGUI does not pass values of options from forms generated via
JavaScript.

This commit adds enhances the base page class to render stub forms
(empty form elements), so the page's JavaScript does not need to create
the form element on its own.

It is an optional behavior and can be enabled by redefining the method
get_events which should return table of required events and the base
page object will add the empty form elements for them. Every table line
will be converted to a form with id = "form_" + the event's name.

On the action submit SAP event in the common JavaScript, the method
checks if there is the stub form and if so, the method uses it instead
of creating the dynamic one. Otherwise, it follows the old approach that
creates the form at run-time.

--- v2

Use 'null' instead of 'undefined' to check the form was not found in
the JavaScript code.

---

Issues: #1866, #2769
2019-08-21 22:18:45 -07:00
Lars Hvam
cb341e778f
increase serialization parallel timeout #2874 (#2876) 2019-08-19 21:33:57 -07:00
Alexander Tsybulsky
7133ae4b29 UT fix #2863 (#2871) 2019-08-15 22:23:56 -07:00
Lars Hvam
817aa7e718
optimize skip logic #2864 (#2868) 2019-08-13 22:39:41 -07:00
larshp
cf5630cbce ecatt, show error instead of dumping #2862 2019-08-13 22:34:43 -07:00
Lars Hvam
27f712a47b
linting (#2861)
* rewrite

* Update abaplint.json

* Update abaplint.json

* move to include where its used

* Update .gitignore

* Update abaplint.json

* Update package.json

* Update package.json
2019-08-11 23:16:10 -07:00
Lars Hvam
c173458e39
avoid use of STATICS #2828 (#2858)
* enable check for STATICS

* refactor to CLASS-DATA

* rename
2019-08-08 01:30:13 -07:00
Fabian Lupa
d72028a1e8 Progress indicator minimum percentage (#2855)
Fixes #2762
2019-08-07 21:25:57 -07:00
Fabian Lupa
cb80f78a6e Cancel branch creation if branch already exists (#2854) 2019-08-07 21:22:11 -07:00
Fabian Lupa
f5f9f6dc6a AUTH jump check FM existence
#1167
2019-08-07 19:20:39 -07:00
Lars Hvam
9de609ef2a
refactor seox (#2850) 2019-08-06 23:24:48 -07:00
Christian Günter
e9c4a5e63a FUGR: Fix transport request recording (#2848)
* FUGR: Fix transport request recording

* Move corrnum retrieval to methods

* cleanup
2019-08-06 01:06:31 -07:00
Lars Hvam
c3229f65d4
v1.89.0 (#2846)
* 1.89.0

* v1.89.0
2019-08-05 03:00:38 -07:00
Christian Günter
cacf02d285 warning when SAPGUI for Java is used (#2841) 2019-08-05 02:02:42 -07:00
Christian Günter
c008788b9b Improve error information - follow up Part 3 (#2837)
*  Improve tooltip of "Goto source" link

* add another test
2019-08-05 01:57:30 -07:00
Christian Günter
77d3ff885f Fix hint position for checkboxes (#2834) 2019-08-04 09:47:58 -07:00
Christian Günter
4c4fae820f Patch: Disable unified view (#2836) 2019-08-03 04:34:49 -07:00
Christian Günter
99a6716f32 Log viewer: Add more exception information + actions (#2832) 2019-08-03 04:29:32 -07:00
Christian Günter
b994382f78 Improve error information - follow up Part 2 (#2814)
- Cleanup JS
- Delete superflous functions and methods
2019-08-03 04:24:03 -07:00
Christian Günter
5cd2044745 Serialzie: Improve exception handling (#2831) 2019-08-02 22:06:23 -07:00
Alexander Tsybulsky
e379dd3cfe Completely dynamic JS hints (#2825)
* draft rewrite hint to be dynamic

* linter fixes

* remove color setting

* remove backspace and esc handling

* close dropdowns

* return some comments in JS

* linter fixes

* Fix hint for dropdown first time + alw close drdwn
2019-08-02 07:45:27 -07:00
ThomasPloski
d623d20d03 Improve object handler for CDS metadata extension (DDLX) (#2816)
* fixes issue #2815

The existing object handler for CDS metadata extension (DDLX) has been reviewed by an expert.
Doing this, the following feedback has been provided:

enable existing logging capability
include environment specific logic (e.g. import of an inactive version)
improve exception handling so that the related object information can be displayed in log
assign package information to handle abap language version ina proper way
adapt lock object

* fixes saplint issues

* fixes saplint issues

* fixes saplint issues

* extract dependency injection for TADIR_INSERT

* fixes saplint issues

* zcl_abapgit_environment.clas.testclasses.abap set to master version

* changes related to code review

* redo changes

* redo changes

* back to master version
2019-08-02 07:26:55 -07:00
Lars Hvam
cd87c97be7
environment, add tests and fix dump (#2827) 2019-08-02 01:21:03 -07:00
Lars Hvam
8d87beea60
tutorial is just a view, no need to implement intf (#2823) 2019-08-01 03:17:59 -07:00
ThomasPloski
a5ebe60642 Refactoring of ZCL_ABAPGIT_ENVIRONMENT (#2826)
* Refactoring of ZCL_ABAPGIT_ENVIRONMENT #2810

* fixes saplint issues

* fixes saplint isues

* fixes saplint issues

* fixes issue based on review

* align zcl_abapgit_objects.clas.abap to master

* add the test class again
2019-08-01 02:49:59 -07:00