Commit Graph

3856 Commits

Author SHA1 Message Date
Alexander Tsybulsky
5024a085bd add abap package version shield (#3177)
* add abap package version shield

* version label

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-26 11:12:08 +01:00
larshp
d8047ccad6 use built-in type 2020-01-25 17:47:33 +01:00
Christian Günter
9805cce0af fix: ignore not supp. objects during lock check (#3176)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-25 09:51:46 +01:00
Lars Hvam
9872f28d1d
GUI_PAGE_MERGE: refactor DEFINE (#3173)
* GUI_PAGE_MERGE: refactor DEFINE

* fix
2020-01-25 09:48:26 +01:00
Lars Hvam
2c7f325ecb
merge: refactor DEFINE _visit to method (#3171) 2020-01-25 09:44:05 +01:00
Lars Hvam
847a8d9444
branch_overview: refactor DEFINE to private method (#3168) 2020-01-25 09:38:13 +01:00
Jakub Filak
3314e00069 fugr: do not uncoditionally add T00 include (#3164)
I know don't why but on our systems the "include for generated
maintenance views" is returned from the function module
RS_GET_ALL_INCLUDES, so when we add it in the method
zcl_abapgit_object_fugr=>includes we have the file twice which cause
duplicate errors on our systems.

I didn't remove the code because we are supposed to run on all ABAP
rutime versions and the problem with duplicates for the T00 includes has
started occurring only recently, so the older versions need this
artificial include (I guess).

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-24 16:02:01 +01:00
Lars Hvam
3e0b0505b1
remove commented code (#3166)
* update abaplint.json

* remove commented code

* remove 2 unused variables
2020-01-24 14:31:04 +01:00
Christian Günter
78980f2d25 Update ref-supported.md 2020-01-19 14:24:27 +01:00
Paweł Wiejkut
fa07c370a6 ODSO Support - new (#3146)
* IOBJ fix #3105

* Variable fix

* BW function modules check

* ODSO Support

* update

* Data type fixes

* check fix

* refactoring, variables simplification

* IOBJ support extension

Extension of current IOBJ support by handling of:
-attributes
-compondings
-hierarchy

* IOBJ downgrade

* Dynamic method fix

* lint fixes

* space fix

* Remove unused variables

* table type fix

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
2020-01-19 08:39:39 +01:00
Christian Günter
92f8ee0d62 DOCT: consider all versions (#3161)
* DOCT: consider version - use ZCL_ABAPGIT_LONGTEXTS

* fix linter

* switch to factory

* fix linter
2020-01-19 08:34:48 +01:00
Valdir Mendes
f02ae98504 Update package.json 2020-01-15 13:12:59 +01:00
Fabian Lupa
c4f4c713b6 Handle spaces in stage filter (#3153)
* Handle spaces in stage filter

#3073

* Fix JS lint issue

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-14 17:01:56 +01:00
Valdir Mendes
753d66cad3 Changing report name to zabapgit_full in merge (#3154)
* Changing report name to zabapgit_full in merge

* Fixing sh merge command

* Fixing abapmerge version

* Update package.json

Co-Authored-By: Lars Hvam <larshp@hotmail.com>

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-14 16:54:24 +01:00
Christian Günter
2df559ebdd IOBJ: Refactoring - remove RTTC + cleanup (#3156)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-13 18:48:58 +01:00
Christian Guenter
bae1e21c5b Refactoring: Delete unused variables 2020-01-13 18:41:52 +01:00
Paweł Wiejkut
c9e8ca2c93 IOBJ support enhancement (#3147)
* IOBJ fix #3105

* Variable fix

* BW function modules check

* Enhancement of iobj support

Enhancement of iobj support which enable handling of:
-attributes,
-compoundings,
-hierarchies

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-11 10:11:57 +01:00
Christian Günter
f9dfa6c22a MSAG: fix, order by primary key (#3149)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-11 10:04:28 +01:00
larshp
54f8f41c22 update abaplint.json 2020-01-11 09:41:52 +01:00
Lars Hvam
75812fb17b
less prefixes (#3144) 2020-01-11 09:24:36 +01:00
Jaime Rodriguez Capote
1a896613b4 Issue #3136 ATC Check - GEN_INCLUDE_NOT_EXEC dump (#3145)
* Issue #3136 ATC Check - GEN_INCLUDE_NOT_EXEC dump

* abaplint checks

* Raname method check_obj_before_add to skip_object

* change skip_object logic

* CASE for objecttype
2020-01-08 12:21:44 +01:00
Jaime Rodriguez Capote
9e3c73b277 Issue 3066: Class text elements translation (#3078)
* Issue 3066: Class text elements translation

* Removed comments for Issue 3066

* Pull request checks

* Travis-CI checks fixes

* Travis-CI checks fixes - Identation

* Interfaces pretty printed

* Travis-CI identation check

* Travis-CI identation check

* Changes type tt_langu and serialization

Type tt_langu moved from zif_abapgit_definitions to ZCL_ABAPGIT_OBJECTS_PROGRAM
Encapsulated code to serialize DOCU, TPOOL and SOTR for classes

* abaplint corrections

* abaplint corrections

* Encapsulated serialization %26 new IF lang def.

* zif_abapgit_definitions types indentation

* Restore zif_abapgit_definitions

* Revert zcl_abapgit_object_clas

* Revert zcl_abapgit_object_clas

* Revert zcl_abapgit_objects_program

* Revert zif_abapgit_oo_object_fnc.intf.abap

* Revert zcl_abapgit_object_clas.clas.abap

* Class text language

* Class text language

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-08 07:36:36 +01:00
Lars Hvam
363baf7733
Update abaplint.json (#3143)
* Update abaplint.json

* Update abaplint.json
2020-01-08 07:24:26 +01:00
mariusraht2
1f49f7a76d Issue 3130: TYPE: Type Group/Pool isn't being recognized (#3131)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Delete pull.yml

* Remove select for exists check

Due to the language flag-specific select a type group/pool couldn't be found. Removed the select at all because the following FM also recognizes unexistent type groups/pools and sets sy-subrc to something <> 0.

* Fill description if available in login language

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-08 07:14:21 +01:00
Christian Günter
baac63ce87 IOBJ: Downport BAPI* structures (#3142)
* IOBJ: Downport BAPI* structures

* fix linter

* Update zcl_abapgit_object_iobj.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-08 07:10:34 +01:00
Geert-Jan Klaps
1bed3ba6e7 Fix activation error 7.40 EhP 4 (IARP/IASP) #3139 (#3140) 2020-01-07 11:47:04 +01:00
Lars Hvam
e201bf566f
remove class prefixes if its current class (#3137)
* remove class prefixes if its current class

* Update abaplint.json
2020-01-06 13:20:19 +01:00
Christian Günter
a256a0b406 Refactor IARP + IASP API calls (#3135)
* Refactor IARP

* Refactor IARP

* Refactor IASP

* Update zcl_abapgit_object_iasp.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2019-12-28 12:23:54 +01:00
Lars Hvam
b42f3bc485
Refactoring (#3134)
* fully type constants

* moving to single line

* move to single line

* enable keep_single_parameter_on_one_line
2019-12-28 12:11:32 +01:00
Lars Hvam
819a26527c update to latest lint version 2019-12-27 08:02:40 +01:00
Christian Guenter
ade359ecd3 Implement jump for IWMO, IWPR, IWSV and IWVB 2019-12-19 13:58:38 +01:00
Christian Günter
56e2ef3983 Fix: Preserve spaces in error messages (#3128)
* Fix: Preserve spaces in error messages

* cleanup + fix linter
2019-12-19 10:30:22 +01:00
mariusraht2
5bee54fff3 Commit icon added (#3124)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Delete pull.yml

* Added new icon code-commit via SMW0
2019-12-19 06:20:22 +01:00
Christian Günter
82486ec350 IOBJ: Use RSD_S_VIOBJ instead of RSD_S_VI_OBJ (#3121) 2019-12-17 08:44:17 +01:00
Michael Schneider
2ae0e1e4cf Fix protected redefinitions
During creation of classes with redefinitions in the protected section, entries in table SEOREDEF are not updated properly.

Reason: The buffer of Class Builder does not recognize the creation of the inheritance in the active version.  During the creation of the super class relationship in SEO_INHERITANCE_CREATE_F_DATA only the inactive buffer is updated. The buffer for the active version has still the state that the class has no super class.

Therefore, SEOREDEF is filled with an empty super class name. 

If the buffer is refreshed before the metadata is updated, the super class is read correctly before SEOREDEF entries are created.
2019-12-17 08:41:21 +01:00
Christian Günter
4f47fa64a7 zcl_abapgit_code_inspector: Remove duplication (#3117)
* zcl_abapgit_code_inspector: Remove duplication 

Removes duplication of subpackage determination in zcl_abapgit_code_inspector

* add current package
2019-12-12 11:01:29 +01:00
Christian Günter
60a57cf356 Add package parameter to zif_abapgit_object~delete (#3114) 2019-12-11 10:42:45 +01:00
Paweł Wiejkut
01b6d9d92a IOBJ fix - issue 3105 (#3108)
* IOBJ fix #3105

* Variable fix

* BW function modules check
2019-12-11 07:10:15 +01:00
Johan Wigert
57d199b4ed Can't transport Report Program Application Variant (#3111)
See #3107
2019-12-11 07:03:44 +01:00
mariusraht2
71b3b0b5e0 Issue 3112: +Online instead of +Clone Button (#3115)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Delete pull.yml

* Updated images

* Update guide-moving-package.md

* Add files via upload

* Add files via upload

* Delete existing_package.png

* Add files via upload

* Delete existing_package.png

* Add files via upload
2019-12-11 06:47:13 +01:00
Lars Hvam
7e15c7a844
1.92.0 (#3103)
* 1.92.0

* 1.92.0
2019-12-05 15:34:27 +01:00
Frederik Hudák
c686a7dd3b Unescape '=' character (#3102)
* Unescape '=' character

* fix abaplint
2019-12-05 15:23:47 +01:00
Frederik Hudák
c846801d19 Add adt link to objects on diff page (#3095)
* Add adt link to object name on diff page

* Fix abaplint, improve error handling

* abaplint

* Remove superflous method
2019-12-05 08:59:15 +01:00
Lars Hvam
a616f5d3f5
fix protected redef #3053 (#3100) 2019-12-04 10:21:12 +01:00
sandraros
175f2fabec Code selection by column on DIFF screen (#3091)
* Code selection by column on DIFF screen

Fix of #3089

Two ways to select a text:

1. Position the mouse at the start of the text, press mouse left button, keep pressed, drag to the end of the text, release the button

2. Position the mouse at the start of the text, press mouse left button, release the button, position the mouse to the end of the text, press shift key + mouse left button.

Two ways to copy the selected text:

1. Press Ctrl + C or Ctrl + Ins

2. Mouse right button on the text to display the context menu and choose Copy

SPLIT VIEW (code at the left is the LOCAL code and code at the right is the REMOTE code):
- Text can be selected only at the left side, or only at the right side.
- The dummy empty lines which show the place of lines which exist only at the other side are not copied.

UNIFIED VIEW (LOCAL and REMOTE are mixed in the same column, "green plus" lines correspond to lines only in the LOCAL code, "red minus" lines correspond to lines only in the REMOTE code.
- Only the lines from the REMOTE code are copied

PATCH VIEW (split view + one extra column on the left)
- Same features as the SPLIT VIEW

* corrections lint javascript

* merge latest abapgit changes

* corrections lint javascript

* JS refactor functions to prototyped fns (classes)

* JS lint corrections + minor last minute changes

* conform current common.js standards

* LINT conform to common.js standards

* unused lines removed
2019-12-02 09:32:15 +01:00
mariusraht2
02204d07b4 Improved time conversion (#3096)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Delete pull.yml

* Improved time conversion

Preparation for #3040

> rename time%3D>get to time%3D>get_unix
> added time conversion from unix to real (get_real)
> added unit tests for time conversion

* abapLint

* Raise cx_static_check and removed exc handling
2019-12-02 09:28:41 +01:00
Paweł Wiejkut
0b5b1b60df InfoObject support (#3058)
* InfoObject support

* Checks fixes

* Code corrections - return and lock check

* Check fix

* addend infoobjects information

* transport and package support

* check fix

* Update ref-supported.md

* metadata change

* Transport fixes
2019-11-27 06:23:54 +01:00
Alexander Tsybulsky
39ee3c961f fix #3048, remote only stage js error (#3086) 2019-11-27 06:19:01 +01:00
Italo N
0f379b950a DOMA: consider clearing VALPOS (#3083) 2019-11-26 07:39:25 +01:00
g-back
965082510b Exchange sy-langu usage with mv_language for consistency (#3082) 2019-11-26 07:29:59 +01:00