Commit Graph

3598 Commits

Author SHA1 Message Date
Alexander Tsybulsky
f2f82278e7 Serialize master lang only + settings UI improvements (#2954)
* repo settings ui improvements

* serialize_master_lang_only UI

* downport

* connect settings and serialization (MSAG)

* dtel doma tran prog fugr

* linter fixes
2019-10-07 23:03:57 -07:00
Lars Hvam
bed6050437
abaplint: add extra rules (#2953) 2019-10-07 23:00:12 -07:00
Lars Hvam
49df948007
update deps (#2952) 2019-10-07 22:51:15 -07:00
Lars Hvam
d7fd8af1d5
docs: add anchored links, closes #2756 (#2951) 2019-10-07 22:48:28 -07:00
Lars Hvam
28e052dbce
serialization, FORM fixes (#2950)
* FORM, tdlines duplicated, closes #2949

* FORM, set TDVERSION to constant, closes #2935
2019-10-07 22:44:50 -07:00
larshp
90e012a1ae for low number of obj run single thread 2019-10-07 22:41:36 -07:00
Lars Hvam
2b9f7d30c7
1.90.0 (#2946)
* 1.90.0

* v1.90.0
2019-10-06 23:43:48 -07:00
Alexander Tsybulsky
2270b625f7 deploy release tag (#2919) 2019-10-06 23:30:01 -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
Alexander Tsybulsky
f99ee448c3 ci cleanups (#2918)
* ci cleanups

* npm lint -> npm abaplint
2019-09-28 23:36:41 -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
Frederik Hudák
3ae7e3ad66 Shorten abaplint.json by omitting optional properties (#2915)
Due to recent changes in abaplint, the config can now be shortened by removing properties equal to their default values.
2019-09-12 07:39:56 -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
h13m9
880f6a8b28 Add information about support for INTF objects 2019-09-12 05:08:05 -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
Lars Hvam
14f01f64d5 enable additional rules 2019-08-30 05:36:36 -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
Lars Hvam
573cfb7e06
update to abaplint 2.0.0 (#2898)
* Update abaplint.json

* Update package.json

* Update package.json
2019-08-30 04:05:09 -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
hf-kklein
ffb832a4ff fix URL formatting, add note on **api**.github.com certificates (#2886)
* fix URL formatting, add note on private repos & certificates

* fix TLS / TSL typo

* clarify when api.github.com certificates are needed

according to https://github.com/larshp/abapGit/pull/2886#discussion_r316257182
2019-08-21 22:29:40 -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
d19ce7c4e3
docs: add link to blog by Frederik Hudak (#2878) 2019-08-19 21:39:34 -07:00
Lars Hvam
cb341e778f
increase serialization parallel timeout #2874 (#2876) 2019-08-19 21:33:57 -07:00
Lars Hvam
8696cd9b0d docs: add link to APACK presentation 2019-08-19 21:28:40 -07:00
Lars Hvam
563ed2b799
docs: add link to new blog post (#2872) 2019-08-16 02:11:25 -07:00
Alexander Tsybulsky
7133ae4b29 UT fix #2863 (#2871) 2019-08-15 22:23:56 -07:00
Lars Hvam
4b84d0ae0a
Lint (#2870)
* rewrite

* Update abaplint.json

* Update abaplint.json

* move to include where its used

* Update .gitignore

* Update package.json

* update to latest
2019-08-15 05:52:02 -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
971efbfaac Update abaplint.json 2019-08-09 04:13:04 -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