Commit Graph

3032 Commits

Author SHA1 Message Date
FunMustBe
b45a51eedf
Update CLAS ZCL_ABAPGIT_OBJECT_PINF (#3455)
Fixes the dump and import error for package interfaces. Even if the package interface is in a different package than the referencedpackage itself.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-06-08 06:10:54 +02:00
Rakshith Gore
14b9c7d864
Deserialize postprocess (#3461)
* Update 3 objects

* Update zcl_abapgit_exit.clas.abap

Pretty printer didnt work in JAVA GUI, so had to manually change the file

* IS_STEP as input parameter

* Issue in JAVA based GUI

Pretty printer not working for class name in implementation

* Move TY_STEP_DATA to ZIF_ABAPGIT_DEFINITIONS

* try moving ty_deserialization_step

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-06-08 06:05:49 +02:00
Lars Hvam
9af61c99c6
fully type sydatum and syuzeit (#3457) 2020-06-07 09:01:08 +02:00
g-back
da9fcd673f
downport loop statement (#3456)
* downport loop statement

* whitespace fix
2020-06-05 15:45:41 +02:00
Lars Hvam
d36b43defe
line break parameters (#3444)
* line break parameters

* Update zcl_abapgit_gui_page_repo_sett.clas.abap

* Update zcl_abapgit_gui_page_repo_sett.clas.abap

* fix
2020-06-04 15:10:35 +02:00
KDS42
f8f6241890
Issue 3324: WDA Texts are not taken into account (#3352)
* Issue 3324: WDA Texta are not taken into accout

* Remove the not allowed Web Dynpro component

* Correct ABAB CHECKS 702 for SOTR_HANDLER

* ABAP Check 702 SOTR_HANDLER II

* ABAP Check 702 SOTR_HANDLER III: AUnit Exception

* ABAP Check 702 compliant IV

* ABAB Check 702 compliance V

* ABAP Check Compliance 702 VI

* ABAP Check 702 compliance VII

* ABAP Check 702 compliance VIII: delete comment

* ABAP Check compliance 702 IX : conv #

* Commit X: Improvements of ABAP Unit tests

-Test uses a 100% existing wd component and TEST(!) checks it
-Test enhanced with a non existing component -> no exception is raised nor existence is checked inside the PRODUCTIVE ROUTINE(!) via WDR_REPOSITORY_INFO as this check should have been done earlier not in this last phase to append the texts, labels, etc... to the component archive

* C XI: ABAP Unit Tests(2)

* C XII : ABAP Checks 702 for ABAP Unit Tests

* C XIII : ABAP CHECKS 702

* C XIV : ABAP CHECKS 702

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-06-04 14:57:06 +02:00
Marc Bernard
40b45f6221
Add master language and ignore files to repo settings (#3415)
Closes https://github.com/larshp/abapGit/issues/3413

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-06-03 09:17:57 +02:00
Marc Bernard
87241e9f07
Fix for proxy bypass setting (#3439)
Closes https://github.com/larshp/abapGit/issues/3435
2020-05-31 10:30:53 +02:00
Lars Hvam
ea03cc5e4a
Fewer DDIC type references (#3434)
* Fewer DDIC type references

* Update abaplint.json
2020-05-29 06:30:24 +02:00
mariusraht2
b5d40ca2a3
Build commit popup (#3400)
* 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 method checkout_commit_build_popup

* abapLint

* Use hash to identify selected popup row

* Moved definitions

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-28 07:23:05 +02:00
Lars Hvam
9e56c03117
propagate exception (#3431)
closes https://github.com/larshp/abapGit/issues/3430
2020-05-27 18:35:48 +02:00
Marc Bernard
6d0861a7bd
Fix "repo not found" error (#3416)
Fix for https://github.com/larshp/abapGit/issues/2938

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-27 15:06:52 +02:00
Marc Bernard
63ab2d276c
INTF: 702: Fix for missing suppress_dialog parameter (#3427)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-26 18:18:06 +02:00
Marc Bernard
853e4ed98d
CLAS: 702: Fix for missing suppress_dialog parameter (#3426)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-26 10:13:46 +02:00
Frederik Hudák
657405433d
Add master language setting to new repo popups (#3409)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-26 06:29:31 +02:00
Christian Günter
caf7c92eaf
SAP Package: Replace ASSERT with RAISE (#3421)
* Package read_parent: RAISE instead of ASSERT

* remove pseudo comment

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-26 06:09:17 +02:00
Marc Bernard
f1c249b073
Fix detection of abapGit installation (#3425)
Old logic was failing if transaction ZABAPGIT already existed - typically because it was created manually for the merged version. Testing for program ZABAPGIT would not be any better since that might have been used for the merged version as well. It's more reliable to check a class.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-26 06:05:10 +02:00
Christian Günter
0cc10cd44f
SRVD: Downport (#3424)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-26 06:01:09 +02:00
Marc Bernard
2185da3034
CLAS: 702: Type CX_OO_CLIF_SCAN_ERROR_DETAIL is unknown (#3423)
Downport of https://github.com/larshp/abapGit/pull/3314

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-26 05:58:10 +02:00
Lars Hvam
aec7468aad
Type Hunting (#3414)
* Type Hunting

* update

* update

* flag
2020-05-26 05:55:28 +02:00
Marc Bernard
2e2b8584fb
New syntax-highlighters for CSS, JS, JSON (#3381)
* Add syntax-highlighters for CSS, JS, JSON

* Update W3MI ZABAPGIT_CSS_THEME_DEFAULT

* Fix line size and case statement

* Fix line size

* Update styles, removed operators

* Added highlight for comments in HTML/XML

* Fix menu hover background

This makes the selected menu more visible. 

Also includes color fix for repo name and url in dark theme.

* Fix for W3xx objects with "." in name

* Reverse fix for W3xx

* Remove hover style changes

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-25 06:29:03 +02:00
Lars Hvam
5a21bbba7d
remove self interface references (#3412) 2020-05-24 15:28:25 +02:00
mariusraht2
4421cdc209
Issue 3399: Use c or char instead of sychar (#3410)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Update pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Delete pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Use char or c instead of sychar

* Replaced char with type of c

Co-authored-by: mariusraht1 <mariusraht+1@gmail.com>
2020-05-24 11:23:50 +02:00
Alexander Tsybulsky
5c4c0b882e
Gui refactoring - part 5 (#3403)
* refactor mi_gui_services to getter

* zif_html->set_title (for debug of postponed parts)

* add set_title to all postponed parts

* gui optional rollback on error

* forgotten gui_services call

* docs

* remove gui_page redirect #3404

* forgotten html~set_title in hotkey class

also renamed render_js_part into render_scripts for unification and reuse register_deferred_script - this is why I lost it int the first place

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-24 10:42:06 +02:00
Lars Hvam
411c703e0e
replace use of stringtab with builtin (#3407) 2020-05-24 10:30:51 +02:00
Lars Hvam
bbba9a612d
remove self prefixes (#3406) 2020-05-24 10:27:42 +02:00
Frederik Hudák
b12c811159
Master lang only - clear descriptions for clas, intf (#3388)
* Master lang only - descriptions for clas, intf

* Use master language instead of logon language

* sy-langu to master language - fix cus0, cus1, cus2

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-23 12:59:54 +02:00
Marc Bernard
1ef0aa9e74
Fix related to textpools of includes (#3389)
Reference: 0b4809de6d

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-23 11:55:46 +02:00
Marc Bernard
3620e12ee9
Fix CX_SY_RANGE_OUT_OF_BOUNDS dump (#3394)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-23 11:53:02 +02:00
Frederik Hudák
0a67f95c11
Replace assert in gui_page_stage with check (#3392)
* Update zcl_abapgit_gui_page_stage.clas.abap

* Change to exception

* add reference to issue as comment in code

* Update zcl_abapgit_gui_page_stage.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-23 11:42:41 +02:00
Marc Bernard
6d2deece76
Add missing TH closing tag (#3393) 2020-05-23 06:32:34 +02:00
Maxim Engel
f20e13d3ab
Fix for missing-field-popup (#3391)
Fix for missing-field-popup during cloning online repos, due to missing description.

Closes #3390
2020-05-22 17:43:23 +02:00
Frederik Hudák
5d34284805
Highlight hovered line (#3347)
* Highlight hovered line

* Better hover color

* Remove hover border in diffs

* Change bacgkround color

* Fix unrelated syntax errors in css
2020-05-22 10:10:41 +02:00
Marc Bernard
aa204c1e8f
Map blank "last changed by" to "unknown" (#3387)
* Map blank "last changed by" to "unknown" 

Fix blank entry in filter dropdown

* Whitespace
2020-05-22 10:02:33 +02:00
Lars Hvam
353b813683
1.95.0 (#3384)
* 1.95.0

* Update changelog.txt
2020-05-21 07:39:32 +02:00
larshp
2d168e170b move stage structures to interface #3377 2020-05-21 07:25:54 +02:00
Frederik Hudák
2886c00592 Fix syntax error in gui_router
Somehow lost this change from #3378. The class no longer exists.
2020-05-21 06:58:26 +02:00
Frederik Hudák
be260435f5
Move explore link (#3378)
* Move explore link

* Update zcl_abapgit_services_abapgit.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-20 19:47:42 +02:00
Frederik Hudák
3335317278
Remove page playground (#3375)
* Remove page playground

* Remove constant
2020-05-20 18:28:03 +02:00
Alexander Tsybulsky
8eae18c0f5
Gui refactoring part 4 (#3362)
* refactoring and remove get_events from gui_page

* cleanups

* more cleanups

* register_deferred_script

* refactor page_stage

* refactor page_diff

* refactor page_commit

* refactor page_debuginfo

* linter fixes

* refactor page_tag

* refactor rage_repo_over

* refactor page_patch

* make gui_page->scripts private
2020-05-20 17:50:00 +02:00
germanysources
47a2332cc7
encode and decode signed commits (#3373)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-20 12:42:38 +02:00
Marc Bernard
aa71ed52ae
Set filter for file open and save dialogs / Add new setting for default commit comment (#3371)
* Set filter for file open and save dialogs

Set the file filter dropdown and default to *.ZIP in file open and save dialogs

* Add new setting for default commit comment

New abapGit setting to define a default for the comment used for commits. Object and/or filename can added to the comment automatically, which works similar to GitHub if a single file is changed. If multiple objects are changed, then object/file count is included in the default for the comment.

* Update CLAS ZCL_ABAPGIT_GUI_PAGE_COMMIT

* Fix text for $object

Fixed case when one object with multiple files was changed

* Pretty print

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-20 12:37:58 +02:00
Marc Bernard
840d818b2d
Minor improvement for debug info (#3372)
- Full SAP GUI patch
- APACK version
2020-05-19 17:46:07 +02:00
Frederik Hudák
202e2d0239
Unify different wordings of 'Diff' (#3367)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-19 07:30:51 +02:00
Alexander Tsybulsky
310d8673dd
Gui refactoring, chapter 3 (#3355)
* zcl_abapgit_html_parts primitive

* integrate parts in GUI

* bughunting and renames

* scripts collection, move hotkeys js to parts

* linter fixes

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-13 12:58:43 +02:00
Marc Bernard
40a1ef3a13
Allow setting of display name for offline repos (#3359)
Minor improvement to enable "Display Name" setting for offline projects which is shown in favorites for example
2020-05-13 12:42:23 +02:00
Lars Hvam
0944649ffd
CHAR downport (#3354)
closes #3353
2020-05-08 12:05:51 +02:00
Alexander Tsybulsky
c056076170
Gui refactoring 2 (#3338)
* hotkeys refactoring: draft logic

- new interfaces
- gui services binding
- move render to zcl_hotkeys
- move global hotkeys to hotkeys class
- remove unnecessary stuff from gui_page

* implement zif_abapgit_gui_hotkeys in rel.pages

* settings page draft

* remove zif_abapgit_gui_page_hotkey

* linter fixes

* finalize rendering logic

* finalize settings

* linter fix

* sorting tweak

* fix abapgit_full work

Co-authored-by: Christian Günter <christianguenter@googlemail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Frederik Hudák <frederik.hudak@sap.com>
2020-05-08 10:26:54 +02:00
Frederik Hudák
a64b6d96f8
Don't run code inspector in parallel when disabled (#3348)
* Don't run code inspector in parallel when disabled

* Restructure if

* Fix spacing

* Fix comment position
2020-05-07 11:30:35 +02:00
Frederik Hudák
14a2820d30
Filter msag longtexts by master language in database (#3344)
* Serialize master lang only - DTEL, DOCT

* Filter msag longtext in database
2020-05-05 08:40:01 +02:00
Jakub Filak
ccba5c0286
CHAR fixes (#3346)
* char: deserialize missing attribute hide_icons

* char: unlock upon all errors

It's very annoying when I have to go to SM12 to unlock CHAR
objects which could not be activated due to a missing OTGR.
2020-05-05 06:43:56 +02:00
Frederik Hudák
055d1b8591
Serialize master lang only - DTEL, DOCT (#3343) 2020-05-04 18:09:54 +02:00
Frederik Hudák
240fc1ed06
CUS0, CUS1, CUS2 - Serialize master lang only (#3342)
The "serialize master language only" setting is not respected everywhere. This PR fixes CUS0, CUS1, CUS2 object types.
2020-05-04 16:02:49 +02:00
Christian Günter
1cf1a30e81
Downport (#3341)
* downport DTDC

* downport DRUL

* Downport AMSD

* downport BDEF

* more downport

Co-authored-by: Christian Günter <christian.guenter@emineo.ch>
2020-05-04 11:34:32 +02:00
mariusraht2
b91043a270
Refactor Popup (#3310)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Update pull.yml

* Delete pull.yml

* Refactored popup logic

Related to #3040

Refactoring of popup logic/calling to be able to reuse it as commit list.

* Removed reset flag

Removed reset flag cause it doesn't belong to this PR (will be readded later)

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-04 08:36:24 +02:00
Christian Günter
5234a25c35
DTDC: Dynamic Cache (#3335)
* DTDC: Dynamic Cache

* Update ref-supported.md

Co-authored-by: Christian Günter <christian.guenter@emineo.ch>
2020-05-02 17:04:08 +02:00
Christian Günter
2d991b2315
DRUL: Dependency Rule (#3336)
* DRUL: Dependency Rule

* Update ref-supported.md

Co-authored-by: Christian Günter <christian.guenter@emineo.ch>
2020-05-02 17:01:00 +02:00
Christian Günter
a785bcdb99
DDLS: Ignore baseinfo file not exists error (#3334)
Co-authored-by: Christian Günter <christian.guenter@emineo.ch>
2020-05-02 16:51:52 +02:00
Jaime Rodriguez Capote
6b74fb5d33
Check table SEOMETAREL (#3322)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-02 16:45:47 +02:00
Christian Günter
1f536b3225
SRVD: Service Definition (#3329)
* SRVD: Service Definition

* Update ref-supported.md

* cleanup

* change file extension to assrvd

Co-authored-by: Christian Günter <christian.guenter@emineo.ch>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-02 16:39:31 +02:00
Jakub Filak
4be0dd14ba
Move misplaced object handler to their correct package (#3327)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-02 16:32:48 +02:00
Christian Günter
02b208487c
AMSD: Logical Database Schema (#3337)
* AMSD: Logical Database Schema

* Update ref-supported.md

Co-authored-by: Christian Günter <christian.guenter@emineo.ch>
2020-05-02 16:26:14 +02:00
Christian Günter
eacfe8a2b7
BDEF: Behaviour Definition (#3331)
* BDEF: Behaviour Definition

add transport handling

* Update ref-supported.md

* refactor

* remove DDLS activation

Co-authored-by: Christian Günter <christian.guenter@emineo.ch>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-02 16:15:55 +02:00
Christian Günter
e2b64d83c6
SRVB: Service Binding (#3330)
* SRVB: Service Binding

* cleanup

* Update ref-supported.md

* Update ref-supported.md

Co-authored-by: Christian Günter <christian.guenter@emineo.ch>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-05-02 16:07:12 +02:00
abapChaoLiu
90bf633b8f
Add support to object OA2P - OAuth2 Profile (#3302)
* add support to object OA2P - OAuth2 Profile

* remove some comments

* fix abaplint errors

* docs: OAP2 supported

* Update ref-supported.md

* Update .abapgit.xml

* remove system specific information in SERIALIZE()

* Add support to method JUMP()

* Avoid manipulating DB tables directly

* fix abapLint errors

* fix abapLint errors

* fix abapLint error

* code object and APIs dynamically

Co-authored-by: Chao Liu <abapChaoLiu@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
2020-04-26 09:00:56 +02:00
Jaime Rodriguez Capote
1b36d98ef8
(de)serialization (z)if_apack_manifest (#3311)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-04-26 08:54:50 +02:00
Rakshith Gore
b0d54f97e3
STVI, Transaction variants (#3307)
* Screen Variants Support

* Update package.devc.xml

* Checks Corrected

* Package Description Change

* Transaction Variant Supported

* Delete zcl_abapgit_object_stvi.clas.xml

* Delete zcl_abapgit_object_stvi.clas.abap

* Transaction Variants Supported

* Checks Corrected

* Clean Code

* Handle User Details

* Delete zcl_abapgit_object_scvi.clas.abap

Delete Conflicting files

* Delete zcl_abapgit_object_scvi.clas.xml

Deleting conflicting files

* docs, STVI, Transaction variant

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-04-23 07:09:51 +02:00
Rakshith Gore
f0641a7292
SCVI: Screen Variants Support (#3306)
* Screen Variants Support

* Update package.devc.xml

* Checks Corrected

* Package Description Change

* Transaction Variant Supported

* Delete zcl_abapgit_object_stvi.clas.xml

* Delete zcl_abapgit_object_stvi.clas.abap

* Clean Code

* Handle User Details

* docs, SCVI supported

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-04-22 07:29:26 +02:00
abapChaoLiu
4ab4abcc6b
fix - handle exception cx_oo_clif_scan_error_detai (#3314)
fix issue 3313

Co-authored-by: Chao Liu <abapChaoLiu@gmail.com>
2020-04-22 07:24:07 +02:00
mariusraht2
c2fc8f00fe
Issue 3294: ZCL_ABAPGIT_TIME: Unit Test fails on AS ABAP 752, SP04 (#3295)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Update pull.yml

* Updated testclass for util_time

* abaplint, get_utc

* Delete pull.yml

* Made time tests method more simple

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-04-15 14:15:03 +02:00
Christian Günter
48454c5922
fix page diff dump: use repo instead of repo_online (#3304)
* fix page diff dump: use repo instead of repo_onlin

* make repo online an attribute
2020-04-14 18:57:21 +02:00
Christian Günter
c9241e7cff
Fix zcl_abapgit_gui_component definition (#3299)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-04-09 09:39:35 +02:00
Christian Günter
decc2d4863
Page Patch: fix unit test (#3293) 2020-04-08 15:58:22 +02:00
Jaime Rodriguez Capote
0bc7e6bde7
Clean code (#3292)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-04-07 18:49:09 +02:00
Alexander Tsybulsky
0eb22a0c87
Gui refactor, part 1 (#3289)
* gui component and event registering

* remove iv_prev_page from event_handler if

* constructors raising zcx_abapgit_exception

* get_gui_services - UT friendly

* linter fixes

* more linter fixes

* zif_gui_services stub all methods

* linter fix

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-04-07 10:30:43 +02:00
Jaime Rodriguez Capote
fce71de4d1
Use constants for Y/N/P (#3291)
* Use constants

* Pretty Printer
2020-04-05 10:55:24 +02:00
Jaime Rodriguez Capote
27ac61e95d
Apack dependencies (#3285)
* Support APACK dependencies

Check installed apack package dependencies for current repository
Display a popup with dependencies

* abaplint checks

* abaplint checks

* abaplint checks

* Popup only when dependency not met

* abaplint checks

* abaplint checks

* Optimization

* abaplint checks

* abaplint checks

* Fix typo "dependeNcies"

* Remove address from dependency check

* Dependencies popup title

* Dependencies popup enhanced

* EXCEPTION column replacing MET
* Enable Git URL hiperlink

* APACK doc - Version dependency support

* Dependencies version check support

* abaplint checks

* abaplint checks

* Version utils

* fix syntax warning

* move set_dot_apack to protected

Co-authored-by: larshp <larshp@hotmail.com>
2020-04-05 08:57:59 +02:00
Christian Günter
803ca23176
Refactor page diff: Introduce subclass for patch (#3283)
* Introduce zcl_abapgit_gui_page_patch as subclass of zcl_abapgit_gui_page_diff

introduce pop-method on GUI stack

fix linter + raising exception when gui stack emp

introduce zcl_abapgit_gui_page_patch

more

add

fix linter

remove go back to patch after commit

fix linter

remove bookmark for stage page

remove pop

src/ui/core/zcl_abapgit_gui.clas.abap

 src/zcl_abapgit_repo_online.clas.abap

* refactor: move more logic to  render_line_split_ro

* refactor move logic to render_diff_head_after_stat

* add logic to render_table_head_non_unified

* extract render_table_head_unified

* extract of is_patch_possible calculation

* fix linter

* move hotkey to patch

* refactor and rename to get_normalized_fname_with_p

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-31 17:14:13 +02:00
Lars Hvam
6957f6e9fb
1.94.0 (#3279)
* 1.94.0

* v1.94.0
2020-03-29 14:16:36 +02:00
Jaime Rodriguez Capote
90e3208163
Skip dom. appends serialization (#3275) 2020-03-29 09:16:54 +02:00
Christian Günter
1e4560b32a
Patch: new refresh functions (#3271)
* Patch: Refresh object first working version

* Patch: add refresh local and refresh repo + refact

* add missing stuff

* fix lint

* refactoring and cleanup

* add missing stuff

* refactor

* refactor

* refactor

* add title for menu bar

* Save and restore scroll position

* refactoring and cleanup

* refactor

* cleanup

* cleanup

* cleanup

* remove new hotkey

* disable object refresh for non-object files

* remove restore scrollposition

* cleanup

* refactor

* cleanup

* save scroll position

* Fix: refresh of deleted objects

* Fix dump: refresh new objects

* add hotkey support for refresh all local objects

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-26 12:30:22 +01:00
Frederik Hudák
63640bb3fc
Minor ux improvements (#3253)
* Resize stage list to full width

* Move patch button to the top menu

* Center stage list, increase line width in repo, stage

* Repo page - Increase line height for path column

* Stage list to full size

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-21 09:56:53 +01:00
Jaime Rodriguez Capote
7bf443d7a8
SHA1 for file zcl_abapgit_object_chdo.clas.abap (#3264) 2020-03-15 07:34:22 +01:00
Marcello Urbani
68117adb97
CHDO: clear UZEIT and UTIME dynamically (#3256) bis (#3260)
* CHDO: clear UZEIT and UTIME dynamically (#3256) bis

* fix variable name
2020-03-14 11:14:30 +01:00
Christian Günter
5c65f3411d
CHDO: clear UZEIT and UTIME dynamically (#3256)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-13 10:46:49 +01:00
Eduardo Ferrari Copat
e74d40516c
Diff - Add option to collapse files (#3248)
* Update zcl_abapgit_gui_page_diff.clas.abap

* Update zcl_abapgit_gui_page_diff.clas.abap

* Update zabapgit_css_common.w3mi.data.css

* Update zabapgit_css_common.w3mi.data.css

* test

* Update zabapgit_css_theme_default.w3mi.data.css

* Add collapse to css

* Add user select

* onDiffCollapse

* show source

* src

* Tries text

* hide/show

* uses nodisplay instead of hidden

* good hide

* ===

* Add button

* lint

* lint

* set function as global

* lint

* Exclude gui page diff

* remove extra space

* chevron

* pointer

* class

* Icons

* lint

* lint

* hide

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-12 17:09:00 +01:00
Frederik Hudák
31a912b124
Use xml syntax highlighter for html as well (#3251)
I came upon a `w3ht.data.html` object without syntax highlighting. We can reuse the xml highlighter for html.

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-11 16:46:21 +01:00
g-back
79a1a667c6
Switch branch protected (#3250)
* add write-protect check for switch branch

* disable link for disabled toolbar functions

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-11 12:54:24 +01:00
Paweł Wiejkut
b0741dd419
AREA Object support (#3235)
* IOBJ fix #3105

* Variable fix

* BW function modules check

* AREA support

AREA support

* update, comment fix

* update

* iobj update

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-11 12:47:31 +01:00
g-back
07c87edd03
PINF: Exporting to Returning Parameter (#3252)
* change exporting to returning parameter

* enable prefer_returning_to_exporting
2020-03-11 11:42:15 +01:00
larshp
e638e6065a ZCL_ABAPGIT_GUI_PAGE_DIFF propagate exception 2020-03-10 08:17:12 +01:00
Jaime Rodriguez Capote
543114963f
abapOpenCheck - Naming Conventions revision #3239 (#3240)
* abapOpenChecks config file

* Ignore SCI config folder

* checks revision

* Revert "checks revision"

This reverts commit 56a12289df.

* Renaming non-constants

Pending:

* Remove SCI configuration

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-09 17:34:26 +01:00
larshp
8fcf072917 remove call to super->constructor
there is no super class
2020-03-09 17:19:34 +01:00
Lars Hvam
c227d473df
Authorization objects in transactions #3233 (#3237)
* Support authorization in TRAN

* abaplint checks

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-05 18:43:58 +01:00
Jaime Rodriguez Capote
c9ae5ac122
Transaction, unknown cinfo #3223 (#3232)
* Determination transaction type

* Determine TX type

* abaplint checks
2020-03-04 06:41:04 +01:00
Lars Hvam
a85db8c8b8
SRFC: clear some admin fields (#3225)
* SRFC: clear some admin fields

* fix lock problem and delete problem
2020-03-04 06:34:58 +01:00
Jaime Rodriguez Capote
2ca3a3da91
CHDO change document object #802 (#3207)
* Support for CHDO

* Remove dependency from GENERIC

* Skip gen. objects by CHDO

* abaplint checks

* Moved filter to zcl_abapgit_repo

* Adjusted filter logic

* Delete unused methods

* Extract apply filter methods

New class zcl_abapgit_repo_filter generated with apply filter methods

* docs: update supported with CHDO

* Clear serialization fields

* Set package at deserialize

* Check errors at deserialize
2020-03-04 06:29:31 +01:00
Lars Hvam
4b35ecffb3
FUGR: Give proper error messages for RFC parameter (#3222)
* FUGR: Give proper error messages for RFC parameter

* reduce line length
2020-03-03 10:21:33 +01:00
larshp
b4b3414009 non existing package: fix dump #3224 2020-03-03 10:10:35 +01:00
Daniel Wegner
eb10fae8ef
Proxy bypass (#3221)
* add proxy bypass option in settings

* add proxy bypass popup and persist settings

* add proxy bypass to proxy config class

* Fix Proxy Bypass Button HTML

* Fix indentation

* Implement Method popup_proxy_bypass

* Fix behaviour in case of empty range tab

* Fix behaviour in case of empty range tab 2
2020-03-02 15:30:23 +01:00
Christian Günter
cec926e954
Diff: Only add beacon at beginning while patching (#3218) 2020-02-20 16:43:02 +01:00
Christian Günter
a8d474fab4
Patch: add path to jump target (#3216)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-02-20 09:39:56 +01:00
Alexander Tsybulsky
0961429903
#3209 DOCU master lang only (#3217) 2020-02-20 08:28:12 +01:00
Christian Günter
1668e670cf
Fix patch: multiple files with same name (#3213)
- unify id generation
- generate unique filenames

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-02-19 14:24:04 +01:00
Christian Günter
109c8c3be4
Patch: Remember patched lines when cancel Commit (#3212)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-02-19 13:55:19 +01:00
Christian Günter
5067e403b7
Patch: add beacon at beginning of objects (#3210)
* Patch: add beacon at beginning of objects

* extract constant + fix unit test
2020-02-19 12:48:26 +01:00
Johan Wigert
e57037e12c
Stage of IWMO, IWSG, IWSV (#3205)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-02-11 10:23:28 +01:00
Mauricio Lauffer
a9a505faf4
Prefer RETURNING to EXPORTING (#3204)
* refactor: Prefer RETURNING to EXPORTING

* refactor: Prefer RETURNING to EXPORTING
2020-02-11 10:20:45 +01:00
Lars Hvam
eb7e819b25 refactoring, delete unused variables and methods (#3203)
* zlib

* xml

* processor

* shi5

* remove unused filter parameter

* pinf cleanup

* ssfo delete empty method

* highlighter

* gui page res, remove unused

* remove unused in diff class

* adt link

* gui, remove 2 unused parameters

* branch overview
2020-02-09 09:38:17 +01:00
Jaime Rodriguez Capote
d5bc9b89c6
Img structure enhancement (#3200)
* Structure sequence extension

* Selection ORDER BY PRIMARY KEY
2020-02-08 09:02:51 +01:00
Jaime Rodriguez Capote
701f83ec2d
Travis-CI Error (#3201)
./src/ui/zcl_abapgit_gui_page_merge.clas.abap[187, 18] - Keep single parameter on one line (keep_single_parameter_on_one_line)

https://travis-ci.org/jrodriguez-rc/abapGit/builds/647280505?utm_medium=notification%26utm_source=github_status
2020-02-07 12:34:59 +01:00
g-back
48032207a8
remove macro, replace with method calls (#3198)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-02-03 09:16:36 +01:00
GB
4b35d98e5d remove macro, replace with method calls 2020-02-03 09:13:31 +01:00
Lars Hvam
7aea72f63a
git pack, remove macros #3170 (#3191) 2020-02-03 06:57:53 +01:00
larshp
a9b3ed7ac3 SUPPORTED_LIST, return sorted table 2020-02-02 10:12:05 +01:00
Alexander Tsybulsky
1be907bd73
remove DEFINE from zcl_abapgit_news (#3194)
* remove DEFINE from zcl_abapgit_news

* linter fix

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-02-02 09:48:07 +01:00
Lars Hvam
ab0d1a3fa6
remove DEFINE from merge class #3170 (#3192)
heh, this code is a mess, and need to add unit tests for it sometime
2020-02-02 09:25:12 +01:00
Lars Hvam
38837c3268
zlib, remove macros, #3170 (#3190)
* zlib, remove macros, #3170

* sneaky update to abaplint.json

* sneaky sneaky

* Update abaplint.json
2020-02-02 07:01:56 +01:00
Lars Hvam
52bd0795be
v1.93.0 (#3189)
* 1.93.0

* v1.93.0
2020-02-01 07:53:08 +01:00
Jens Schwarz
9285dd29b3
Fix for issue #1044 (#3167)
* Fix for issue #1044

* Change of local variable names

* fix of bad indentation

* Update src/objects/zcl_abapgit_objects_files.clas.abap

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

* Update zcl_abapgit_objects_files.clas.abap

* Also always add BOM in abapgit.xml file

* Update zcl_abapgit_dot_abapgit.clas.abap

* Update zcl_abapgit_objects_files.clas.abap

* Update zcl_abapgit_convert.clas.abap

* Update zcl_abapgit_convert.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-02-01 07:43:08 +01:00
g-back
985d569f30
DIFF: Remove macros (#3188)
* remove macros

* change 740 syntax, move method call outside loop

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-02-01 07:38:05 +01:00
Alexander Tsybulsky
0dba9e5af3
remove DEFINE from zcl_abapgit_gui_view_repo (#3186)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-30 08:10:53 +01:00
Alexander Tsybulsky
0c3cdf639e
remove DEFINED from zcl_abapgit_gui_page_repo_over (#3185)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-30 08:03:19 +01:00
Alexander Tsybulsky
dc96e3b3ef
remove DEFINE from zcl_abapgit_ui_factory (#3184)
* remove DEFINE from zcl_abapgit_ui_factory

* linter fixes

* better approach

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-01-30 07:57:53 +01:00
g-back
3f00ed06d7
replace macros with methods (#3183) 2020-01-30 07:48:40 +01:00
mariusraht2
a1699302a6 Beautify (#3179)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Delete pull.yml

* Beautify

[OPT] Executed Pretty Printer
[OPT] Moved some types to definitions interface to be global

* Beautify

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
2020-01-26 14:32:48 +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
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
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
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
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
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
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
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
Lars Hvam
29cb891d23
remove obsolete NO_HANDLER pragmas (#3085)
* remove obsolete NO_HANDLER pragmas

* update lint to latest
2019-11-25 07:35:41 +01:00
mariusraht2
064e006c88 Issue 3042: Error author regex (#3070)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Delete pull.yml

* Tags: Error author regex

> Regex couldn't match with string "pull[bot] <39814207+pull[bot]@users.noreply.github.com> 1573216988 +0000" because "[]" weren't allowed

* abapLint

* Added unit test for author_regex

#3042

* Any character in author name and Unit Tests

#3042
#3069

* Unit Tests and utils method for author regex

#3042
#3069

> Unit Tests for author_regex (zif_abapgit_definitions)
> New utils method for regex check as utils method in zcl_abapgit_utils
> Regex for author expects now at least one character for the author name ('^(.+)'...)
> Use zif_abapgit_definitions%3D>ty_commit_tt  instead of local type of the same type in class zcl_abapgit_branch_overview

* Changed utils method/tests and moved unit tests

#3042 - Error author regex
#3069 - Add unit tests

> Renamed is_author to extract_author_data and moved related source code from branch_overview to utils class
> Changed related unit tests to handle exception or not
> Moved unit tests to local class of zcl_abapgit_utils

* abapLint

* abapLint

* abapLint

* abapLint

* exclude 7bit test for testclass
2019-11-21 06:40:25 +01:00
mariusraht2
6491967d76 Issue 3029: TABL: SAPGUI data preview doesn't work when opened (#3059)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* TABL: SAPGUI data preview doesn't work when opened

Fixes #3029

> Call RS_TOOL_ACCESS instead of ABAP4_CALL_TRANSACTION

* Delete pull.yml
2019-11-17 10:42:21 +01:00
mariusraht2
5fa3057c48 Issue 3042: Error author regex on Tag switch (#3067)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Delete pull.yml

* Tags: Error author regex

> Regex couldn't match with string "pull[bot] <39814207+pull[bot]@users.noreply.github.com> 1573216988 +0000" because "[]" weren't allowed

* abapLint
2019-11-17 10:38:09 +01:00
mariusraht2
89dfeb69f8 Issue 3060: Check repo URLs before creating a new online repo (#3063)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Delete pull.yml

* Check repo URLs before creating a new online repo

Fixes #3060

* Check repo URLs before creating a new online repo

Use method zcl_abapgit_url%3D>name and replace the assert with an exception
2019-11-17 10:31:27 +01:00
mariusraht2
8df12d34e0 Issue 3061: Change default value for creation of playground page (#3062)
* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Delete pull.yml

* Change def. value for creation of playground page

Closes #3061

* Update zcl_abapgit_popups.clas.abap
2019-11-17 10:18:40 +01:00
Christian Günter
83a781e1d7 IWVB: SAP Gateway Business Suite Enablement -Vocab (#3049) 2019-11-12 11:03:04 +01:00
Alexander Tsybulsky
5edea3acda quick fix unicode char in js (ctrl+enter) #3035 (#3052) 2019-11-11 09:21:22 +01:00
Christian Günter
93f5186b1d Object serializer descriptions (#3050) 2019-11-11 09:15:03 +01:00
Christian Günter
061245a33b IAXU: downport no static call of CL_W3_API_XML3 (#3047)
* IAXU: downport no static call of CL_W3_API_XML3

* downport check_duplicates
2019-11-08 13:02:12 +01:00
Lars Hvam
3776ac353a
Get all branches, including pull request refs (#3031)
* update example for listing branches

* do not ignore any branches

* add new get_all method

* Update zcl_abapgit_git_branch_list.clas.testclasses.abap
2019-11-06 09:51:34 +01:00
mariusraht2
4f1ed3b8b6 Exception Handling: IATU refactored (#3043)
* Create pull.yml

* Refactored IATU

* Delete pull.yml

* abapLint
2019-11-06 09:46:35 +01:00
mariusraht2
fb527126ef Fix applied (#3037) 2019-11-06 09:42:47 +01:00
Lars Hvam
04a6d7e484
Update abaplint.json to latest (#3045)
* Update abaplint.json

* chain mainly declarations
2019-11-06 09:35:18 +01:00
mariusraht2
e014efd3f4 log viewer: refactor types (#3041) 2019-11-06 09:30:21 +01:00
Lars Hvam
678b3bebd5
pretty print class (#3032) 2019-11-06 08:53:28 +01:00
g-back
7c05815437 Small refactorings (#3033)
* remove unusued variables

* surround "recover_version" calls with try-catch
2019-11-05 08:09:47 +01:00
Italo N
be9b57a0f2 Commit form should not be cleared on error (#3015)
* Commit form should not be cleared on error

* move the type definition to ZIF_ABAPGIT_DEFINITION

* Move type definition to new interface
2019-11-04 11:48:53 +01:00
Alexander Tsybulsky
f0bb81f04a #3022 patch commit state 2019-11-03 07:57:28 +01:00
Alexander Tsybulsky
d501afdf83 downport (#3026) 2019-11-01 17:25:44 +01:00
Frederik Hudák
509a69e480 'Duplicates' error: show duplicate object names (#3024)
* 'Duplicates' error: show duplicate object names

* Update zcl_abapgit_objects.clas.abap

* Update zcl_abapgit_objects.clas.abap
2019-11-01 17:22:04 +01:00
Lars Hvam
dca54d2590
refactoring public attributes (#3023)
* testclass for testing and remove public attr

* refactor public vars in local class

* rename
2019-11-01 17:07:17 +01:00
Lars Hvam
9c6bba620c
1.91.0 (#3019)
* 1.91.0

* Update changelog.txt
2019-10-31 15:16:45 +01:00
Italo N
7d587e1a1a Issue #2957 (#2975)
But It's generate a lot of DIFF, when XML remote has the INDEX filled.
2019-10-31 15:07:59 +01:00
Frederik Hudák
04e196b816 Improve branching messages (#3018)
Mention name of branch which was just deleted/switched to.
2019-10-31 14:35:29 +01:00
Alexander Tsybulsky
4f3bd19a8b stage UX improvements: ctrl-enter, autoadd deleted, remote state bugfix (#3007)
* stage: ctrl-enter, autoadd deleted

* linter fix

* eslint fix

* review fixes
2019-10-31 14:29:23 +01:00
Christian Guenter
99761e37c9 Links: add tooltip with hotkey 2019-10-31 08:42:37 +01:00
Johan Wigert
df303d2cc6 Object should be removed, but has NO deletion flag in transport (#3009)
* Update zcl_abapgit_transport_objects.clas.abap

* Update zcl_abapgit_transport_objects.clas.testclasses.abap
2019-10-30 06:50:16 +01:00
Alexander Tsybulsky
1af5648e5f Diff state at stage and commit pages (#3003)
* state at stage and commit pages

* review fix
2019-10-27 11:26:59 +01:00
Italo N
f4c8d13a2c Bug - PROG name contain '%3D' (#2980)
Issue #2923
2019-10-27 11:19:32 +01:00
Christian Günter
c99ff03253 FTGL: feature toggle (#3004)
* FTGL: feature toggle

* update ref-supported

* Update ref-supported.md
2019-10-27 08:46:57 +01:00
Alexander Tsybulsky
af97a51fa5 commit selected button (#2993) 2019-10-25 06:46:01 +02:00
mariusraht2
3900842392 Add object type IAXU (#2978)
* Possible Solution #1

* Update zcl_abapgit_objects_super.clas.xml

* abapLint

* Removed german language flag

* Fixes

* Removed flag for german language

* Removed test code

* abapLint

* Implemented suggestions from PR

> mo_xml_api is just local now
> li_service removed
> implemented exception handling for calls of xml api methods set_changeable, delete and save
> integrated sy-subrc into all exception calls
> wrote update routine if IAXU object already exists (object will be deleted first and after that local method save is called)

* abapLint

* abapLint

* String template, restructured api methods

* Remove descriptions

* abapLint

* Fixed issues after restructuring api methods calls

* Alternative error handling for existence check

* Use api existence check instead of load

* Fixed some bugs
2019-10-24 05:53:12 +02:00
Alexander Tsybulsky
fc2c803be5 me filter 2019-10-22 15:27:28 +02:00
larshp
523ab5c862 refactor CONSTANT definition 2019-10-20 14:51:34 +02:00
David Scheiklies
f4e33039d6 Add commit success message (#2979)
* New version of #2973

* Update zcl_abapgit_gui_page_commit.clas.abap
2019-10-16 21:40:17 -07:00
Christian Günter
b7d0f2115e SMTG: OM: Email Template implementation (#2976) 2019-10-15 22:32:03 -07:00
g-back
033b32de7d Repository-Validation: More specific Error Message (#2965)
* add additional read to better specifiy error msg

issue #2914

* add line break in error message
2019-10-15 22:23:23 -07:00
Alexander Tsybulsky
5c10415b28 possibility to export pkg with master lang only (#2966) 2019-10-13 23:02:42 -07:00
Christian Günter
bc082b15b0 Link Hints: fix start value calculation (#2970)
* Link Hints: fix start value calculation

* fix comment
2019-10-13 22:39:56 -07:00
Marcello Urbani
b8cc55ec3f Fixes #2904 dump importing zip (#2963)
* Fixes #2904 dump importing zip

* Fix linting issues
2019-10-12 04:00:10 -07:00
Alex
17a67933e3 Fix for issue #2922 (#2960)
* added a picture for pull from zip

it can then be used in guide-import-zip.md

* Fix for Issue 2922

https://github.com/larshp/abapGit/issues/2922

Added a new test method find_head_closing_tag.
Implemented fix in method zcl_abapgit_gui_html_processor->find_head_offset.

* Removed dont needed Pull_from_zip.png 

Removed dont needed Pull_from_zip.png

* Restored NewLines handling in patch_html

Restored NewLines handling in patch_html

* Fixed some abapLint Warnings

Fixed some abapLint Warnings

* Fixed some abapLint messages

Fixed some abapLint messages
2019-10-12 03:56:28 -07:00
ThomasPloski
dcb4d94275 Support of Baseinfo String for DDLS Object Handler (#2967)
* support of baseinfo string in ddls

* fixes abaplint findings

* fixes abaplint issues
2019-10-11 05:41:01 -07:00
Lars Hvam
714fe7202d
whitespace fixes (#2964)
* whitespace fixes

* fix sql compare operators
2019-10-11 02:50:16 -07:00
Christian Guenter
8bf4b5df4c Page overview: fix order by column mismatch 2019-10-09 21:14:12 -07:00
Lars Hvam
ef0d149fa3
SCP1, sets of sets (#2945)
* SCP1, first few bits

* try this

* fix transport
2019-10-09 01:59:48 -07:00
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
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
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
sandraros
3f05693262 UI Dark Theme #2610 (#2787)
* UI Dark Theme #2610

Proposal - Right now, only the first obvious screens were checked, and there are still a few issues with them.

* CSS cleanup of unused elements
2019-08-01 00:57:30 -07:00
Lars Hvam
6f37ba37dd
fixes #2822 (#2824) 2019-07-31 00:55:08 -07:00
Lars Hvam
48222ca050
indentation fixes (#2820)
* indentation fixes

* fixes
2019-07-31 00:49:10 -07:00
Alexander Tsybulsky
d8b3034a30 close button css fixes (#2819) 2019-07-31 00:44:59 -07:00
Lars Hvam
d42bb98662
fixes #2808 (#2818)
fixes #2808
2019-07-31 00:41:01 -07:00
Alexander Tsybulsky
29c45a7e7c more convenient html pp comment (#2817) 2019-07-31 00:36:51 -07:00
Christian Günter
50a6cf8ac9 Improve error information - follow up Part I (#2813)
* Improve error information - follow up Part I

- Bug: remove errorenous regex
- Add tooltip for message id and message class

* Replace text of message link
2019-07-30 05:04:00 -07:00
Christian Guenter
50cc8b810f Better error message 2019-07-30 03:05:39 -07:00
Christian Günter
5081ddf7d0 Improve error information - HTML error message (#2775)
* Improve error information

With this commit errors that are raised with zcx_abapgit_exception=>raise
and issued with message are enriched with two additional functions.

1) Go to source
Navigates to the source code position where zcx_abapgit_exception=>raise
is called

2) Callstack
Shows a popup with the full callstack and the possibility to navigate to
the source of each line with double click

This feature requires the full abapGit repository. Without nothing
changes.

* issue messages directly

* zcx_abapgit_exception: adapt callstack handling

- callstack as attribute
- export callstack to ABAP memory only when SAPGui is available

* rename memory id

* Add comment why we don't delete callstack from MEM

* cleanup

* first try html error display

* add some comments

* add longtext

* goto_source and callstack implemented

* part 2

* remove

* fix

* add close button

* fix long classname

* fix linter

* add jump to SE91

* fix lintmr

* fix and cleanup

* fix linter

* fix linter

* fix eslint

* fix linter

* remove message class

* remove superfluous constant

* add missing method implementation

* refactor

* add hotkey for message longtext toggling

* hotkey 2

* refactor + resize callstack popup

* Refactoring: simplify control flow

* fix goto callstack for merged abapGit

* refactor: simplify control flow

* Refactoring: introduce message helper

* fix linter

* remove TODO pragmas

* ren. render meth + move zcl_abapgit_gui_chunk_lib

* refactoring: simplify control flow

* simplify exception handling

* refactor

* refactor

* refactor

* remove duplication

* Rename method

* rename method

* remove superfluous constant

* call ZCL_ABAPGIT_MESSAGE_HELPER dynamically

* cleanup

* Improve UX

* fix linter

* remove hotkey
2019-07-28 03:46:53 -07:00
Johan Wigert
b068ddcaa3 Fix for issue #2772 (#2806)
* Update zcl_abapgit_transport_objects.clas.abap

* Update zcl_abapgit_transport_objects.clas.testclasses.abap

* Update zcl_abapgit_transport_objects.clas.testclasses.abap

* Update zcl_abapgit_transport_objects.clas.abap

* Update zcl_abapgit_transport_objects.clas.abap

* Update zcl_abapgit_transport_objects.clas.abap
2019-07-21 21:30:17 -07:00
Hector Martinez
6b5fbd52fd adds serialization of FUGR text pool translations (#2780) (#2790)
* fix for issue #2747

* fixes issue #2746

* adds serialization of function groups text pool translations

* whitespace fixes
2019-07-21 03:35:11 -07:00
Sdfraga
ddcc1ee3c6 Proxy port length (#2800)
* Ensure Proxy Port has 4 digit length

* Ensure Proxy Port has 4 digit length
2019-07-18 07:12:25 -07:00
Christian Guenter
24e319cc68 Downport 2019-07-18 07:07:20 -07:00
Łukasz Pęgiel
63c8e4808c add log for Offline install (#2798)
* add log for Offline install

* white space
2019-07-17 08:17:09 -07:00
Lars Hvam
998815f6fb
closes #2791 (#2792)
another quick fix for the staus codes, #2791
2019-07-17 01:06:12 -07:00
Christian Guenter
1a9d1b3d08 Patch: delete all lines removes the file 2019-07-17 00:58:31 -07:00
Lars Hvam
1dbd4d1912
Refactoring types (#2785)
* align use less different types

* refactor

* updates
2019-07-15 09:33:37 -07:00
larshp
2db46137fc #2783, update error description 2019-07-14 23:31:33 -07:00
Hector Martinez
699e4fd65c fixes issue #2746 (#2776)
* fix for issue #2747

* fixes issue #2746
2019-07-12 02:00:17 -07:00
Frederik Hudák
777445002a Revert behavior of second back button (#2779)
* Revert behavior of second back button

* Leave clearing of stack on go home
2019-07-10 21:28:20 -07:00
Frederik Hudák
0299fb61c7 Consistent sort ordering of files (#2778) 2019-07-10 00:37:09 -07:00
Lars Hvam
ce84d2455f
additional gateway support (#2771)
* additional gateway support

* Update ref-supported.md
2019-07-07 23:38:55 -07:00
Lars Hvam
f88237f411
remove double spaces (#2770)
* remove double spaces

* whitespace
2019-07-02 20:54:35 -07:00
Lars Hvam
c84b209944
Minor lint updates (#2766)
* remove some double space

* update abaplint to latest

* fixes
2019-07-01 22:08:54 -07:00
Alexander Tsybulsky
df0aca8272 Improve css preprocessing (#2765)
* improve assetman get_text_asset

* move css_processor to ui_core, reuse get_text_asse

* fix %26 refactor UTs

* zcl_abapgit_gui_html_processor

* if fix

* replace core logic

* comment finetuning

* linter fixes

* more linter fixes

* fix UTs, based on review
2019-07-01 20:53:43 -07:00
Christian Guenter
1f52d8b2c7 TR request jump: fallback to SAPGUI 2019-07-01 20:50:06 -07:00
Hector Martinez
3e53360722 fix for issue #2747 (#2760) 2019-06-28 23:06:07 -07:00
Frederik Hudák
f5d421e399 ADT jump for package link and transports (#2758)
* ADT jump for package links

* Also handle transport requests/tasks

* fix abaplint
2019-06-28 23:02:37 -07:00
Lars Hvam
f6e8332754
Cleanup (#2753)
* refactor IF

* fix some indentation

* indentation fixes

* indentation fixes

* indentation

* indentation
2019-06-25 03:02:51 -07:00
Fabian Lupa
7f04d59bf9 Belize theme (#2733)
* Add Belize theme

* Implement polyfill for CSS variables

* Fix CSS variables with spaces in values

* Always load default theme and add others on top

* Adjust theme CSS for use with variables

* Support variables referencing variables in CSS

* Adjust themes

* Add font size to theme

* Skip asset registration for unused themes

* Unify theme greyscale

* Refactor CSS preprocessor

* Refactor CSS preprocessor, add basic tests

* Fix linter issues

* Always load theme asset

Otherwise switching does not work
2019-06-25 03:02:40 -07:00
Lars Hvam
500f469835
1.88.0 (#2751)
* 1.88.0

* v1.88.0
2019-06-21 23:19:02 -07:00
Martin Fuchs
4aab0166ac Pass log to deserialization API and show log (#2729)
* Pass log interface for de-serialization

Interface ZIF_ABAPGIT_LOG is now passed for deseriaization API.
This includes:
- Log messages for FUGR: Imported function modules and includes
- Improved error messages for TABL compare
- Log objects w/o changes
- Log is shown in the UI if available ("Log" entry appears if a log exists, no persistence!)
This PR enhances #2534 and #2694

Another important change: In case an object fails (or a single function module in a group fails), the import continues with the next object!

* small pretty printer changes

small pretty printer changes

* fix abaplint issues

reduce line sizes and ensure 7.02 compatibility

* show errors and warnings from pull

Errors and warnings after a pull are now part of the "message list" above the object list in the main screen and will be shown immediately. The new"Log" button shows errors, warnings and success messages on demand.
The log title is now part of the ZIF_ABAPGIT_LOG interface.

* fix abaplint issue

fix abaplint issue
2019-06-21 23:05:10 -07:00
Hector Martinez
a69e313090 fix for issue #2745 (#2749)
* solves issue #2745

* format

* format, now with abaplint
2019-06-21 23:00:05 -07:00
Christian Günter
6b7e4d62dd Improve error handling for delete_tadir (#2741)
* Improve error handling for delete_tadir

* add TODO comment for delete tadir
2019-06-16 09:01:53 -07:00
Frederik Hudák
abc43d4e5a With 'show changes only' enabled, also filter changed files, not just objects (#2740)
* When 'show changes only' enabled, also filter changed files, not just objects

Fixes #2739

* fix whitespace

* Fix syntax error
2019-06-16 04:53:37 -07:00
Christian Guenter
0b78d4c1a8 Downport 2019-06-13 23:18:03 -07:00
Christian Günter
ffc411b8f1 use remote .abapgit if local repo is empty (#2736)
* use remote .abapgit if repo is empty

* use method find_remote_dot_abapgit

* cleanup

* cleanup /2
2019-06-13 23:01:22 -07:00
Frederik Hudák
c679d11d7b Change behavior of second back button to go home (#2679)
* Change behavior of second back button to go home

* Change logic as proposed

* Don't go to tutorial page on exit

* Final changes

* Fix abaplint
2019-06-13 22:59:18 -07:00
larshp
f8c017a8de replace conversion exit usage #2716 2019-06-11 10:46:15 -07:00
Lars Hvam
5fb5dc552f
workaround #2737
this should make it give a warning instead of a syntax error
2019-06-11 19:29:03 +02:00
Christian Guenter
1d1ab1db18 TOBJ: delete tadir 2019-06-11 08:58:09 -07:00
Christian Guenter
b5a1b343ca W3HT + W3MI: delete tadir 2019-06-11 08:57:51 -07:00
Fabian Lupa
3f01361d13 Check other dev clients in user master record (#2710)
* Fallback check other clients in user master record

* Replace SELECT...ENDSELECT with SELECT SINGLE
2019-06-11 08:57:28 -07:00
Thomas B
84042f1370 Enhance 'Transport to ZIP' to process multiple transport requests (#2683)
* New Program : Mass Transport to local zip file

Create new program ZMASSGIT in order to convert multiple tranport request to local zip files ( by giving output folder ).
Timestamped subfolder will be created in the input folder.

* Add files via upload

* Update zmassgit.prog.abap

* Add files via upload

* Add files via upload

* Delete zmassgit.prog.xml

* Delete zmassgit.prog.abap

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipf01.abap

* Delete zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipf01.xml

* Delete zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipplc.abap

* Delete zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipplc.xml

* Delete zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipscr.abap

* Rename zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipscr.xml to src/zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipscr.xml

* Rename zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2ziptop.abap to src/zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2ziptop.abap

* Rename zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2ziptop.xml to src/zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2ziptop.xml

* Rename zabapgit_masstransp2zip.fugr.saplzabapgit_masstransp2zip.abap to src/zabapgit_masstransp2zip.fugr.saplzabapgit_masstransp2zip.abap

* Rename zabapgit_masstransp2zip.fugr.saplzabapgit_masstransp2zip.xml to src/zabapgit_masstransp2zip.fugr.saplzabapgit_masstransp2zip.xml

* Rename zabapgit_masstransp2zip.fugr.xml to src/zabapgit_masstransp2zip.fugr.xml

* Rename zabapgit_masstransp2zip.fugr.z_abapgit_transports_2_zip.abap to src/zabapgit_masstransp2zip.fugr.z_abapgit_transports_2_zip.abap

* Rename zcl_abapgit_transport_mass.clas.abap to src/zcl_abapgit_transport_mass.clas.abap

* Rename zcl_abapgit_transport_mass.clas.xml to src/zcl_abapgit_transport_mass.clas.xml

* Delete zcl_abapgit_zip.clas.abap

* Delete zcl_abapgit_zip.clas.xml

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update zcl_abapgit_zip.clas.abap

* Update zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipf01.abap

* Update zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipf01.abap

* Update zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipf01.abap

* Update zcl_abapgit_transport_mass.clas.xml

* Update zcl_abapgit_transport_mass.clas.abap

* Update zabapgit_masstransp2zip.fugr.saplzabapgit_masstransp2zip.abap

* Update zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipplc.abap

* Update zabapgit_masstransp2zip.fugr.saplzabapgit_masstransp2zip.xml

* Update zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipplc.abap

* Update zabapgit_masstransp2zip.fugr.lzabapgit_masstransp2zipplc.abap

* Update zabapgit_masstransp2zip.fugr.saplzabapgit_masstransp2zip.abap

* New version without function group

* Cleanup

* Abaplint

* AbapLint Fixes

* Remove plugins objects from master

* Skip log flag in ZIP export

* Popup to ask the Export logic ( FULL / PREFIX ..)

* line length for abaplint

* Refactoring of code

Avoid redundancy of code and remove unused constant.

* Reduce line 50 length for abaplint ( < 120 )

* Change by the review of code

Refactoring of code

* AbapLint Fix
2019-06-11 08:57:08 -07:00
Alexander Tsybulsky
6845fe3ea4 Ui themes support (#2700)
* settings ui_theme

* theme css rendering

* theme split

* linetr fix
2019-06-07 03:36:44 -07:00
larshp
f9f8adcf9e remove use of CONVERSION_EXIT_RSDAT_INPUT 2019-06-03 22:24:55 -07:00
Lars Hvam
58235f1e6a
do not skip descriptions check for exception classes (#2714)
* do not skip descriptions check for exception classes

* remove description

* remove description

* remove description

* remove description

* remove description

* remove description

* remove description

* remove description
2019-05-29 23:54:06 -07:00
larshp
4169d1045a generic serializer: order by primary key #2682 2019-05-29 23:53:50 -07:00
larshp
939d30ed3b odatav4 first draft, #2704 2019-05-29 23:53:19 -07:00
Martin Fuchs
42a3e7dfbb
fix_log_get_status (#2715)
Fix error in status calculation for ZCL_ABAPGIT_LOG for whole log and message table.
This PR belongs to #2694.
2019-05-29 09:10:06 +02:00
Lars Hvam
0f7fb3658a
Align code, compare operators #2670 (#2702)
* Update abaplint.json

* UDMO change compare operator
2019-05-26 03:38:54 -07:00
arcanist
9f11c3d563 enabling the overwrite for WEBI
BEFORE:
In case the webi already existed in the receiving system a dump occured that prevent the import from happening
AFTER
The old webi object will be overwritten with the new changes.
2019-05-26 03:26:24 -07:00
Martin Fuchs
2e781b316a ZIF_ABAPGIT_LOG: extend and move UI methods to new class (#2694)
* log: move show functions to new class

Enhance ZIF_ABAPGIT_LOG
- add IS_ITEM structure (object) to message adding functions
- add method "add_exception"
- add method "add_info"
- relocate methods "show", "to_html" and "write" to new class ZCL_ABAPGIT_LOG_VIEWER
Introduction of new log viewer class ZCL_ABAPGIT_LOG_VIEWER
Replacement of relocated methods where used
-> This is the next step providing a log for serialzation/de-serialization (see #2534)

* fix abaplint issues

fix abaplint issues

* fix abaplint issues (2)

fix abaplint issues
2019-05-26 03:16:03 -07:00
Domi Bigl
b6b3551238 downport assert_true()/false() #2698
702 don't know cl_abap_unit_assert%3D>assert_true() and assert_false()
2019-05-25 22:44:28 -07:00
Srinivasu Reddy
2f43ee4591 Changes to compare operators to align code 2019-05-24 06:50:15 -07:00
Christian Guenter
d10d922c06 Patch refactoring: remove duplication + meth order 2019-05-24 03:03:36 -07:00
Christian Guenter
cc501d1f9f Branch Overview: Fix author regex 2019-05-21 07:20:18 -07:00
Christian Günter
9429a3e13b Patch: make cell around checkbox clickable (#2687)
* Patch: make cell around checkbox clickable

* Fixed minor cursor issue
2019-05-21 07:19:27 -07:00
Christian Günter
53dd60c07b Patch: replace links with checkboxes #2673 (#2684)
* Patch: replace links with checkboxes

With this commit we replace the links on the patch page
with checkboxes.
This has several advantages:
- better performance
- simplified and less cluttered UI
- less and easier to understand code

* refactor

* refactoring: introduce new method add_checkbox

* fix linter

* enable link hint navigation

* Refactoring: remove duplication

* refactor: remove duplication

* fix: link hint activate section/lines
2019-05-20 08:44:49 -07:00
Christian Guenter
c61b3f9138 some UI cleanup 2019-05-20 08:43:52 -07:00
Christian Guenter
0d54997b44 Fix jump for VIEW and TOBJ 2019-05-16 23:20:23 -07:00
Lars Hvam
9fade89856
change constructors to public (#2677)
* enable abaplint constructor check

* change constructor to public

* change constructor to public

* change constructors to public
2019-05-16 23:20:10 -07:00
Frederik Hudák
5cfb166d87 Change how table maintenance includes are excluded from serialization
Non-generated includes can also have author 'SAP'. Fixes #2674.
2019-05-16 23:19:54 -07:00
Srinivasu Reddy
d1c5e332d4 Added client check to add the ability to run abapGit in production/QA environments (#2668)
* Added client check 

Check if repository objects are modifiable in client. If not make write_protected setting active for all repos and make this setting disabled in repo setting page.

* fix abaplint errors

fix for abaplint errors

* code changes as suggested in review

1) Remove zcl_abapgit_client_check class
2) Add is_repo_object_changes_allowed method to zcl_abapgit_environment class

* Delete zcl_abapgit_client_check class

Delete zcl_abapgit_client_check class
2019-05-15 11:32:56 -07:00
Hector Martinez
a41382352c Activation on ABAP 7.02 ( #2665) (#2666)
* fixed error when activating on ABAP 7.02

* implemented suggestion, direct assignment instead of casting

* implemented suggestion (now using the interface)

* changed lr_popups to li_popups
2019-05-13 23:49:11 -07:00
Frederik Hudák
02a1a27178 Fix diff filter
@sbcgua  Fixes #2613
2019-05-07 08:02:00 -07:00
Martin Fuchs
9f2db446b1 simplified GET_DESERIALIZE_STEPS
Since all object handler contains exactly the same CASE statement for STEP definition, I would recommend that each object handler simply returns the STEP he belongs to.
This fix should "simply" issue #2499.
2019-05-05 00:57:52 -07:00
larshp
38a127caee parallel serialization: show errors #2657 2019-04-30 23:06:27 -07:00
Lars Hvam
e36b907d03
v1.87.0 (#2659)
* 1.87.0

* v1.87.0
2019-04-28 01:44:41 -07:00
Thomas B
76b48e63a7 RS_CUA_INTERNAL_WRITE another fix (#2656)
* Update zcl_abapgit_objects_program.clas.abap

Found a situation on my project where on pulling code from a zip file, the error RS_CUA_INTERNAL_WRITE sy-subrc = 2 popped.
The error was due to the content of XML file exported : <CUA><ADM>ACTCODE was containing an 'X' value for a single file. I corrected the file putting it blank and it worked. But it's a fastidious task so I fixed the method ZCL_ABAPGIT_OBJECTS_PROGRAM->auto_correct_cua_adm in order to fix this field also when it contains only an 'X'. Tested ok on my system so I propose this small change.

* Update zcl_abapgit_objects_program.clas.abap

* Update zcl_abapgit_objects_program.clas.abap

Use the same check SAP does in form check_adm of include LSMPIF03 for the CUA values.
2019-04-28 01:09:49 -07:00
Alexander Tsybulsky
2fdff035be unify convert utils, part1 2019-04-24 07:59:06 -07:00
larshp
4a4f556e21 Generic: only unique tables 2019-04-24 07:58:07 -07:00
larshp
73b5ddc276 downport 2019-04-23 03:48:34 -07:00
Christian Guenter
7050093986 Downport xstring_to_string conversion 2019-04-23 00:35:58 -07:00
Christian Guenter
4799230514 XINX delete: remove UI call 2019-04-22 22:46:51 -07:00
Srinivasu Reddy
94604a7db5 syntax page "no errors" more neat
Display no errors message in syntax check with green check and no syntax errors message
2019-04-22 22:45:59 -07:00
larshp
3084bb2c60 SSFO fixes for leading spaces #2640 2019-04-22 22:45:33 -07:00
Christian Guenter
b7a80b0aa7 Downport string template in FM call 2019-04-22 01:45:19 -07:00
sandraros
5a6e6ee2f6 Leading spaces are lost when pulling bug #2571 (#2597)
* Leading spaces are lost when pulling bug #2571

Reason: during the pull (deserialization), the method `PARSE` of `ZCL_ABAPGIT_XML` does a `li_parser->set_normalizing( iv_normalize )` whose parameter has the default value "true", which strips leading and trailing spaces.

Solution: use `li_parser->add_strip_space_element( )` instead of using the normalization, which seems to work in elementary objects (clas, devc, doma, dtel, enho, enqu, fugr, intf, prog, scp1, tabl, tran, ttyp), but I fear of side effects throughout all abapGit features.

* #2571 zcl_abapgit_xml iv_normalize removed+AU

- Removal of useless parameter IV_NORMALIZE of method PARSE
- Abap Unit test added for testing the method PARSE for an XML valuecontaining leading and trailing spaces

* renaming attribute lo_xml to mo_xml
2019-04-19 02:49:15 -07:00
Christian Günter
02647d77c6 Hotkeys no longer depend on abapGit installation #2629 (#2633)
* Hotkeys no longer depend on abapGit installation

When this commit is applied hotkeys also work with
the single abapGit report. Limitation is still that users
only can override hotkeys with the installed abapGit repo.

* Fix hotkey display when no user def. hotkeys

* New: Override hotkeys within one file abapGit report

When this commit is applied it's possible to override the default
shortcut also in the one file abapGit report. It's no longer necessary
to installe the full abapGit repo to use this feature

* Extract is_merged + check in hotkey logic
2019-04-19 00:21:36 -07:00
Christian Guenter
e246ae7ac1 Code Inspector: Downport 2019-04-19 00:21:10 -07:00
Martin Fuchs
1d58d5a0ed Allow access to private repos when using ADT (#2635)
* Allow access to private repos when using ADT

In case of using a private repository in ADT (aka ABAP in Eclipse), username and password are passed to the backend system. The ADT backend coding currently handles this via class ZCL_ABAPGIT_DEFAULT_AUTH_INFO. To avoid sending a password dialog in the backend system, class CL_ABAPGIT_PASSWORD_DIALOG needs to be adjusted to take over user/pw from ZCL_ABAPGIT_DEFAULT_AUTH_INFO in a generic way. I know this is not nice and it would be better to have ZCL_ABAPGIT_DEFAULT_AUTH_INFO in ZABAPGIT. Even the best solution would be to re-use ZCL_ABAPGIT_LOGIN_MANAGER instead, but I would recommend to refactor this in a new pull request later on...

* Add comment

Add comment for temporary solution and link to PR#2635
2019-04-19 00:20:54 -07:00
Martin Fuchs
6e860f53da Avoid DYNPRO_SEND_IN_BACKGROUND while ADT Pull (#2634)
* Avoid DYNPRO_SEND_IN_BACKGROUND while ADT Pull

When ADT (aka ABAP in Eclipse) is used to trigger a pull request, there is no SAPGUI available in the backend system. Whenever a dynpro is called, a DYNPRO_SEND_IN_BACKGROUND short dump occurs.
This commit fixes issue #2632.
Additional remark: In case of a private repository, username and password are passed to the backend system. The ADT backend coding handles this via class ZCL_ABAPGIT_DEFAULT_AUTH_INFO. To avoid sending a password dialog in the backend system (class CL_ABAPGIT_PASSWORD_DIALOG), ZABAPGIT coding needs to be adjusted to take over user/pw from ZCL_ABAPGIT_DEFAULT_AUTH_INFO. I know this is not nice and it would be better to have ZCL_ABAPGIT_DEFAULT_AUTH_INFO in ZABAPGIT. Even the best solution would be to re-use ZCL_ABAPGIT_LOGIN_MANAGER, but I would recommend to refactor this in a new pull request later on...

* Fix abaplint identiation failure 

Fix abaplint identiation failure

* Rest ZCL_ABAPGIT_PASSWORD_DIALOG

Rest ZCL_ABAPGIT_PASSWORD_DIALOG to prelimiary version. 
To be changed in a different pull request....
2019-04-16 22:21:46 -07:00
Fabian Lupa
d6dfa424ae Add exit for CLAS CLIF source serialization (#2630)
* Add user exit for serialize_abap_clif_source

* Document CLIF serializer exit

* Add exit redirection for CLIF serializer

* Add link to example for CLIF serialization exit
2019-04-16 05:14:15 -07:00
larshp
2dd157570d fix syntax error 2019-04-14 07:30:22 +00:00
Martin Fuchs
6560cbe539 report name of xml file in case of format error (#2626)
* report name of xml file in case of format error

In case of an error in the XML file, for support reason I want to know which file causes the error. The file name is mentioned if the XML itself is corrupt or if there is an XML version mismatch.
This PR fixes issue #2619.

* fix abaplint issues

fix abaplint issues
2019-04-14 00:14:22 -07:00
Alexander Tsybulsky
272925fff7 Floating save buttons (#2608)
* floating save buttons

* hover hand cursor
2019-04-09 11:44:52 -07:00
Alexander Tsybulsky
f39aab3244 fix display name in attache/change remote 2019-04-08 07:21:09 -07:00
Martin Fuchs
4029cab9f6 Ignore XTI includes in FUGR
Do not serialize XTI includes (simple transformations) for function groups. In case they exist in the remote repositiory, do not import them.
2019-04-05 03:48:06 -07:00
Christian Günter
860896abd2 SFPI deserialization: delete if exists 2019-04-05 03:47:26 -07:00
Alexander Tsybulsky
3c80012b37 HDPI icon scaling (#2609)
* setting for icon scaling

* enforce icon scaling

* linter fixes
2019-04-05 03:47:09 -07:00
Lars Hvam
604c68200e
1.86.2 (#2606)
* 1.86.2

* Update changelog.txt
2019-03-31 01:31:26 -07:00
Lars Hvam
7bbaf069e2
File format update collection (#2605)
* File format update - changed object handler

I removed the following fields:

CLAS
VSEOCLASS-VERSION

INTF
VSEOINTERF-VERSION

PROG
PROGDIR-STATE

DCLS
AS4LOCAL
ABAP_LANGUAGE_VERSION (if exists)

DDLS
ABAP_LANGUAGE_VERSION (if exists)

DDLX
VERSION
RESPONSIBLE
MASTER_SYSTEM

MSAG
DOKIL-DOKSTATE

ENQU
DD25V-AS4LOCAL
DD25V-AS4VERS

* fix syntax error

* also clear PROG VARCL

* update XML files
2019-03-31 01:17:46 -07:00
sandra rossi
6839f81c93 DIFF shown after pull ENHO of implicit enh. #2579
Issue #2579: diff still shown after pull of ENHO hooks (implicit enhancements i.e. code added at start/end of existing methods, etc.)

Reason: if the author has created and deleted implicit enhancements in the original system, the numbering doesn't start from 1 (this is the numbering we can see for the statement ENHANCEMENT, for instance ENHANCEMENT 1. ... ENDENHANCEMENT.) When pulling in another system, the numbering will start from 1, so it will differ from the source. As this enhancement number is serialized by abapGit in the XML, it will detect a difference.

Correction: the method SERIALIZE of class ZCL_ABAPGIT_OBJECT_ENHO_HOOK is changed so that to not serialize the enhancement number.
2019-03-30 03:23:26 -07:00
sandra rossi
0a84d7c830 #2580 enhancement events+ (NEW)enhancement methods
Three issues are corrected:
- Enhancement events are not serialized at all, nor deserialized (missing feature).
- The codeof new enhancement methods (not the implicit enhancements of existing methods, the code for methods added) are serialized but not deserialized (incomplete feature).
- DIFF may also appear after pulling ENHO objects, concerning attributes (OTR text ID being different) and method parameters (author, date, etc.)

Corrections: 
- Add serialization/deserialization of events in class ZCL_ABAPGIT_OBJECT_ENHO_CLIF
- Add deserialization of method implementations in class ZCL_ABAPGIT_OBJECT_ENHO_CLASS
- I havealso moved the existing method SERIALIZE_INCLUDES from ZCL_ABAPGIT_OBJECT_ENHO_CLIF to ZCL_ABAPGIT_OBJECT_ENHO_CLASS and created DESERIALIZE_INCLUDES in the latter class because method implementations exist only for classes, not for interfaces, so it should be done in "CLASS", not in "CLIF".
- DIFF criteria cleared in method SERIALIZE of class ZCL_ABAPGIT_OBJECT_ENHO_CLIF
2019-03-30 03:22:56 -07:00
sandra rossi
8f681e88dd 2 unit tests in ZCL_ABAPGIT_GUI_PAGE_DIFF failing
#2498 Two unit tests in ZCL_ABAPGIT_GUI_PAGE_DIFF failing

It concerns two test methods which test zcl_abapgit_gui_page_diff%3D>get_patch_data. The parameter IV_PATCH is passed with an incorrect value.

This issue is due to commit 389512f690 on Feb 26, 2019

Correction of method get_patch_data_add: 
- Before: |add_patch_zcl_test_git_add_p.clas.abap_19| 
- After: |patch_line_add_zcl_test_git_add_p.clas.abap_0_19| 

Correction of method get_patch_data_remove:
- Before: |remove_patch_ztest_patch.prog.abap_39| 
- After: |patch_line_remove_ztest_patch.prog.abap_0_39|
2019-03-30 03:20:31 -07:00
sandraros
8e2e2f13fc shortdump ZCL_ABAPGIT_ZLIB->Decompress #2483 (#2600)
* shortdump ZCL_ABAPGIT_ZLIB->Decompress #2483

Short dump ASSERTION_FAILED while pulling from a Git repository.

It's because of block type '00' (variable `lv_btype`) not handled at all.

00 is "non-compressed blocks", see https://www.ietf.org/rfc/rfc1951.txt section 3.2.4

The issue used to happen with Azure DevOps website, for "tree" objects (100644...) but not all tree objects.

Correction : algorithm added to handle non-compressed blocks. Test method added to complete the current test for blocks with fixed Huffman codes (01). Also one test method added for testing blocks with dynamic Huffman codes (10), test data taken from ZAZLIB.

* Lint code alignment issue
2019-03-30 03:19:55 -07:00
larshp
882e104f48 add azure-pipelines.yml to default ignore 2019-03-30 03:18:34 -07:00
Machado
ca1011d107 Solve issue - Error determining the main package #2547 2019-03-30 03:16:25 -07:00
sandra rossi
f603147bd1 #2577 shortdump ENHO object with new type
Short dump GETWA_NOT_ASSIGNED because of stupid copy/paste error in method SERIALIZE of ZCL_ABAPGIT_OBJECT_ENHO_CLIF:

    LOOP AT lt_tab_types ASSIGNING <ls_type>.
      CLEAR: <ls_attr>-author,
             <ls_attr>-createdon,
             <ls_attr>-changedby,
             <ls_attr>-changedon.
    ENDLOOP.

Replace all <ls_attr> with <ls_type>.

+ clearing of <ls_type>-descript_id (OTR text ID) so that the DIFF ignores this field (new OTR texts, with new IDs, are always created while pulling so the ID must not be compared).
2019-03-29 03:32:51 -07:00
Lars Hvam
cbbcd2f5e3
v1.86.1 (#2596)
* 1.86.1

* v1.86.1
2019-03-28 23:49:02 -07:00
Jakub Filak
01b855467a clas: use exception instead of assert for not found file
For easier debugging.
2019-03-28 23:11:41 -07:00
Sdfraga
de8618af32 Fixing Page Branch Overview Hierarchy (#2594)
* Divide determine_branch for simplicity

* Separate Branches and Commits

* Sort branches by Commit Time

* Fixing abaplint errors
2019-03-28 23:10:23 -07:00
Alexander Tsybulsky
f8347636a0 GUI remove zif_abapgit_gui_page (#2582)
* remove usage of zif_abapgit_gui_page

* reorderings

* delete zif_abapgit_gui_page
2019-03-28 23:08:04 -07:00
Alexander Tsybulsky
d22f5af1ab rewrite gui error handler 2019-03-28 22:57:39 -07:00
ThomasPloski
e47eddd353 Renaming method name in environment class (#2589)
* Renaming method name in environment class

* Rework after abaplint check
2019-03-28 22:56:09 -07:00
Jakub Filak
00a378a42b A pair of SFPF and PROG error messages with more details (#2588)
* sfpf: make deserialization errors more verbose

Just to make debugging a little be easier.

* prog: make updating errors more verbose

For simpler debugging.
2019-03-28 22:55:55 -07:00
Kjetil Kilhavn
c7f21c2a5b Unknown action url -- fix for issue #2566 (#2567)
* Handle calls to repository URL on all pages

Call super class' for unhandled events in all classes displaying repository (identified from where-used list for zcl_abapgit_gui_chunk_lib%3D>render_repo_top).

I suppose it should be safe to add the 'super' call everywhere, but for now this will solve the bug.

* Revert "Merge branch 'unknown-action-url' into 'master'"

This reverts merge request !1

* Handle calls to repository URL on all pages

Call super class' for unhandled events in all classes displaying repository to handle URL click.
Relevant classes were identified by the where-used list for method render_repo_top in class zcl_abapgit_gui_chunk_lib.

I suppose it should be safe to add the 'super' call everywhere, but for now this will solve the bug.
2019-03-27 00:03:29 -07:00
Alexander Tsybulsky
ecc1c85ee7 GUI subclass zcx_abapgit_cancel from zcx_abapgit_exception (#2576)
* subclass zcx_abapgit_cancel from zcx_abapgit_excep

* upper case
2019-03-26 23:51:38 -07:00
sandra rossi
578ac4ce17 NEW: enho clif handle "types" 2019-03-25 01:40:18 -07:00
Jakub Filak
21e252b5a4 sfpf: save layout in solo XDP file (#2555)
* objects: add a method checking presence of a file

The method is called 'contains' because then you can write:

  if mo_files->contains( iv_ext = 'abap' ) = abap_true.

In newer system, you can even leave out the suffix '= abap_true'.

I am not sure how to make the logic deciding how to the select
shared with the method read_file.

For future developers: if you change the type of raised exception of the
method read_file when the passed file is not found, you can stop using
the method contains and you can save some time in the cases where it is
highly unexpected that the file is missing. You could also remove the
method contains which will have the benefit of having one place with the
select statement.

* sfpf: save layout in solo XDP file

Manually tested pushing and pulling but it still might cause some
problems.

This commit adds a new file with the suffix XDP for every XFPF object.
The new file contains the form layout which can be edited in Adobe
LiveCycle Designer. During debugging I learned that we put layouts in
all supported languages to the serialized SFPF XML file but the new
layout file contains only the layout of the Form's language.

I am not sure if removing the layout data make sense because thelayout
object contains layout data for all supported languages and the call
set_layout_data changes only the form's language.

--- v2

Removed the statement:

  li_fp_form->get_layout( )->set_layout_data( i_layout_data = conv #('') ).

Because it did not save any space in the SFPF XML file (because there
are layouts for other languages) and the statement instantly removes
the layout from caches and breaks forms.

--- v3

Added a check for the presence of the XDP file to make this change
backward compatible with already existing repositories where the XDP
file does not exist. Pointed out by Lars in the review.

In this version, I also "beautified" the code by a constant for the
layout file extension.

--- v4

Re-added the statement:

  li_fp_form->get_layout( )->set_layout_data( i_layout_data = conv #('')
                                              i_set_xliff_ids = abap_false ).

and added the re-cover layout data statement:

  li_fp_form->get_layout( )->set_layout_data( i_layout_data = lv_layout_bck
                                              i_set_xliff_ids = abap_false ).

The parameter i_set_xliff_ids is required by the layout type 'XFA'. It
is not possible to set layout data to an empty string without that
parameter, if you do, an exception is thrown.

The layout type 'XFA2' uses the parameter by default.
---

Closes #2554
2019-03-25 01:40:01 -07:00
Jakub Filak
77cea9c92a New repo with Folder Logic and Ignore Sub-packages params (#2561)
* repo: do not validate sub-packages when ignored

In our landscape, we often need to version a package which has
sub-packages and those sub-packages have own repositories - the super
package provides framework and the sub-packages provides production
functionality.

When adding a new repository for these "framework" super-packages,
we need want to configure "Ignore sub-packages" because they are
already versioned in standalone repositories.

We also need to turn of the sub-package repo package check which is done
by this patch.

Dependency of #2395

* repo: allow creating with folder logic and ignore package

I need to enable users to add a new online repo with ignored
sub-packages and PREFIX folder logic because we often deal with
framework + implementations packages hierarchies.

Dependency of #2395

* repo: add folder logic and ign. sub.pkg to the new repo popup

This patch adds the parameters Folder logic and Ignore subpackages to
the new online repo popup to help us deal with old package which do not
follow the prefix approach for subpackages and to allow us to version
superpackages (which are shared by many developers) in separate
repositories.

I am not sure how to add a check-box to the popup window. I think I need
to find the right table with the righ column of the type char(1).

Closes #2395
2019-03-22 05:50:46 -07:00
Alexander Tsybulsky
80f86bd005 free, go_page, ext error handler 2019-03-22 05:49:33 -07:00
Frederik Hudák
79905ccd82 Escape slashes in branch overview commit messages 2019-03-20 11:46:45 -07:00
Christian Günter
9e2f7e7caf TABL: Simplify control flow (#2552)
* TABL: Simplify control flow

When this commit is applied the control flow in object serializer TABL
is eased. The idoc check returns now a boolean instead of raising an exception. Main purpose is to ease debugging due to reducing the use of 
zcx_abapgit_exception%3D>raise.

* TABL: fill rv_deleted on early exit
2019-03-19 10:05:15 -07:00
Christian Guenter
a3c69433fb Fix: repo sett. display_name ony for online repos 2019-03-18 08:11:15 -07:00
Alexander Tsybulsky
1248319d82 UI move to core package (#2543)
* move to core package

* zcx_cancel to ui_core
2019-03-18 07:58:48 -07:00
Alexander Tsybulsky
1ad16a03fe SCI page deisgn (#2542)
* codeinsp design, phase 1

* fix alpha_output

* final design
2019-03-18 07:58:34 -07:00
Alexander Tsybulsky
85085b6434 improve list css 2019-03-17 01:42:55 -07:00
Alexander Tsybulsky
2ab4ae9f26 Refactor GUI interfaces (#2540)
* refactor gui interfaces

* delete zif_abapgit_gui_router

* move zif_abapgit_gui_page_hotkey to ui

* linter fixes
2019-03-17 01:42:41 -07:00
larshp
ff6725e759 replace uses of log with interface 2019-03-17 01:39:52 -07:00
Jakub Filak
903b794aa2 ux: help users to get that package is versioned
I was approached by a colleague of mine who was not sure how to deal
with the message:

- 'Package $FOO_BAR already in use'

I thought it was caused by the fact that some super or sub-package was
already watched by abapgit but whenI found the message in source codes I
figured out that there is already a repo for that package.

This patch should make the message easier to understand, so the new
version is:

- 'Package $FOO_BAR already versioned as FOO by DEVELOPER'
2019-03-16 03:52:17 -07:00
Alexander Tsybulsky
17dc2501eb GUI, asset manager refactoring (#2536)
* refactor asset manager

* assets man tests

* linter fixes

* linter fix
2019-03-16 03:44:55 -07:00
Martin Fuchs
a1c626ddce Introduce ZIF_ABAPGIT_LOG (#2534)
* ZIF_ABAPGIT_LOG

Introducing the log interface ZIF_ABAPGIT_LOG

* Add ZIF_ABAPGIT_LOG to ZCL_ABAPGIT_LOG

Add ZIF_ABAPGIT_LOG to ZCL_ABAPGIT_LOG
2019-03-16 03:33:58 -07:00
Lars Hvam
5b6cc04159
use RETURNING instead of EXPORTING (#2533)
* READ_FILE use returning instead of exporting

* PARSE_LINE, use returning instead of exporting
2019-03-16 03:33:17 -07:00
Lars Hvam
f9318305e9
Minor fixes (#2532)
* minor fixes regarding unused variables

* minor code inspector fixes
2019-03-15 05:54:39 -07:00
Lars Hvam
a3b3399a8e
v1.86.0 (#2531) 2019-03-15 04:46:42 -07:00
Alexander Tsybulsky
9b38d79cce GUI CORE, move constants (#2526)
* zcl_abapgit_gui constants

* renames in all classes

* zif_abapgit_html

* zif_abapgit_html related renames

* remove gui->free for now
2019-03-15 02:22:08 -07:00
larshp
dcaf585d47 move file_download to ui package
move file_download to ui package, part of #2510

the zip class should ideally work without frontend interaction, and just provide/parse the raw xstrings, this way it can be reused across different frontend technologies
2019-03-15 01:52:42 -07:00
larshp
6dc56433ab allow injection of progress indicator 2019-03-15 01:14:45 -07:00
larshp
4e780068c7 DTEL, skip TPARA
DTEL, skip TPARA #2520
2019-03-15 01:13:15 -07:00
Sdfraga
7c8b2228fb Branch Overview Page gitGraph Horizontal Top scrollbar (#2492)
* Adding HTML new elements to BOverview Page

* Adding gitGraph CSS propertires

* Adding gitGraph scroller function

* Set gitGraph Scroller css width dynamically

* Initialize Top Horizontal Scroller on GitGraph

* Adding setGitGraphScroller() to BOverview HTML

* Fixed HTML wrong TAG

* Adding some comments

* Fixing abaplint messages

* Refactoring Indentation for Travis

* Refactoring for Travis

* Removing trailing spaces for Travis
2019-03-14 02:52:40 -07:00
larshp
c93998abe0 Add auth check exit for repo creation 2019-03-14 10:45:38 +01:00
Martin Fuchs
31fc55af56 fix filter_files_to_deserialize
in method zcl_abap_objects->filter_files_to_deserialize the object condense is done too early, need to be done at the end
2019-03-14 10:14:49 +01:00
Lars Hvam
48f6cb1bb1
move ZCL_ABAPGIT_FRONTEND_SERVICES to UI (#2516)
* move ZCL_ABAPGIT_FRONTEND_SERVICES to UI

move ZCL_ABAPGIT_FRONTEND_SERVICES to UI package

* move factory and interface

* fix errors found by linter
2019-03-14 01:34:19 -07:00
Lars Hvam
88822bb735
add method to determine if running in cloud (#2515)
* add method to determine if running in cloud

add new class and method to determine if abapGit is running on ABAP cloud/Steampunk systems, part of an effort to align codelines #2511

* fix naming

* add simple unit test
2019-03-14 01:33:39 -07:00
larshp
a0a8131db4 fix syntax warning for missing method impl 2019-03-14 00:21:27 -07:00
Lars Hvam
13213e2f2f
decode object name #2504 (#2507)
* decode object name #2504

* fix

* fix
2019-03-14 00:21:02 -07:00
larshp
d8da05b8bc tutorial, show correct abapgit package
tutorial, show correct abapgit package

#2461
2019-03-12 21:49:36 -07:00
GoWa
21527528c6 call redefined method of IF 2019-03-12 21:49:15 -07:00
larshp
25f6284493 implement GET_DESERIALIZE_STEPS
this is a quick fix, field LATE_DESER will be removed in future
2019-03-12 07:37:56 -07:00
GoWale
6b7b2ba5c5 Implement deserialize steps and swap DDIC/ABAP order (#2449)
* Implement deserialize steps swap DDIC/ÁBAP order

* fix for wapa and abaplint

* bugfix in falback logic and type definition

* fixed constant usage

* fixed abaplint and constant usage

* focus only on design change of deserialze

* focus only on design change of deserialze

* Bugfix for CI because of changes of the order

* cleanup

* cleanup

* minor changes

* move types to IF
2019-03-12 02:08:00 -07:00
Sebastian Wolf
a5de7a8769 Add serialization for APACK manifests (#2485)
* Add serialization for APACK manifests

* Add documentation for APACK serialization

* APACK docs: Add more information about dependency format

* APACK: Some words about transporting ZIF_APACK_MANIFEST

* APACK: Move definitions in own interface

* APACK: Don't build the manifest file twice...
2019-03-11 23:34:32 -07:00
Christian Guenter
c7093e753e Remove "disable octicons" user settings 2019-03-06 22:37:05 -08:00
Alexander Tsybulsky
c03bb681b3 Offline icons (#2454)
* font

* css fix and icon rendering

* assets and font link in html head

* more icons

* more css fixes

* replace icon names

* dev docs

* Fonts update

* icons rename

* doc update

* linter fixes

* fix for abapmerge
2019-03-06 00:49:04 -08:00
Lars Hvam
fc167ff3cd
update abaplint config to latest (#2480)
* update abaplint config to latest

* remove some descriptions

* remove more descriptions

* fixes

* fixes
2019-03-04 07:12:42 -08:00
larshp
9b9417b094 remove empty lines in statements #2474 2019-03-03 02:43:03 -08:00
Gregor Wolf
24486c7d56 Add subrc before the value 2019-03-03 00:23:29 -08:00
Christian Guenter
963ff52dab Link hints: disable when no tooltips are visible
- Disable link hints mode when no tooltips are visible, e.g. when we pressed a non-existing combination.
- Smaller refactorings
2019-03-01 00:06:53 -08:00
Gregor Wolf
b04226e8f1 Add missing sy-subrc to exception 2019-03-01 00:06:41 -08:00
larshp
14beb8cfac refactor nested IF to single IF 2019-03-01 00:06:29 -08:00
larshp
7da7327f36 SPRX downport 2019-02-27 21:56:30 -08:00
Gregor Wolf
06097f9614 Add missing Subrc %3D { sy-subrc } 2019-02-27 21:52:30 -08:00
larshp
afa63c8f3b IWPR basic version #75
IWPR basic version #75

can later be extended with implementations of IS_LOCKED, JUMP, and CHANGED_BY

this uses the generic serializer via OBJH, like abapGit-Plugins
2019-02-27 05:34:39 -08:00
Christian Guenter
8cc6567d40 rename zcl_abapgit_tag to zcl_abapgit_git_tag 2019-02-26 21:29:41 -08:00
Gregor Wolf
c22cacb197 Add sy-subrc to exception 2019-02-26 21:29:01 -08:00
Lars Hvam
af3b59b3f0
v1.85.0 (#2458) 2019-02-25 21:55:05 -08:00
Christian Günter
389512f690 Patch / git add -p: Add and remove sections
After this commit is applied it is possible to add and remove
sections of code on the stage/patch page.
2019-02-25 21:29:24 -08:00
larshp
9225e0ea0d More error information, RS_CORR_INSERT 2019-02-25 21:28:23 -08:00
Christian Guenter
f73e18d587 Online repo "display name" to overrule default name 2019-02-25 07:20:01 -08:00
larshp
2011be5696 SICF fixes
save data to field ICFALTNME

clear ICFALTNME_ORIG as the api sets it automagically
2019-02-24 22:46:23 -08:00
Lars Hvam
34e8e0bb69
Uninstall, fix some error messages (#2451)
* SUSO, fix error message

* DDLS error message

instead of "Object could not be deleted"
2019-02-24 22:46:02 -08:00
larshp
ea40225d1c ZCL_ABAPGIT_REPO_ONLINE add testclass include
add testclass include in order to avoid evil dumps while upgrading/reset local
2019-02-24 09:25:50 +00:00
larshp
452c72d6ce move contents of ZCL_ABAPGIT_OBJECT_TABL_VALID to
move contents of ZCL_ABAPGIT_OBJECT_TABL_VALID to ZCL_ABAPGIT_OBJECT_TABL_COMPAR

#2436
2019-02-21 23:05:12 -08:00
larshp
7ff994dd03 fix VCLS diffs in VCLSTRUDEP_TAB #2432 2019-02-21 23:04:56 -08:00
Christian Guenter
e19c54d3a1 New user setting: Disable parallel processing 2019-02-20 22:20:39 -08:00
Lars Hvam
3213d0c2dd
Deserialization performance, refactor COMPARE_TO_REMOTE_VERSION (#2438)
* core part refactored #2436

* indentation

* fix implementations

* delete ZCL_ABAPGIT_COMPARISON_NULL

* pretty print

* Update serializers.md

* downport
2019-02-20 22:20:24 -08:00
larshp
0c0cf96e9e bugfix 2019-02-21 06:15:05 +00:00
larshp
75ee96bce0 Activate parallel DDIC activation #1055
Activate parallel DDIC activation #1055

With this more activation errors will be shown, plus better performance
2019-02-20 22:01:03 -08:00
larshp
897755a0eb SOTR skip creation if already exists #2209 2019-02-20 22:00:51 -08:00
larshp
5b44d8e89b REPO, remove method RUN_CODE_INSPECTOR
the successful flag is now saved in code inspector class instead
2019-02-20 22:00:36 -08:00
Lars Hvam
3cc38cdf90
SPRX, change serialization logic (#2431)
* SPRX, change serialization logic

* some progress

* delete method dequeue_proxy

* move deserialize_proxy to INTF
2019-02-20 22:00:22 -08:00
Lars Hvam
ae5cf8ccc5
PROG + CLAS, suppress popup (#2428)
* PROG, suppress popup

* CLAS, suppress dialog
2019-02-19 21:38:28 -08:00
Christian Günter
a821944e57 Fix filename constr.: Add ext. only if not initial
With this commit we fix the filename construction so that for
objects without file extension the correct filename is constructed.
Before this commit is applied these objects create file names with
an additional dot at the end.
2019-02-19 21:38:16 -08:00
Lars Hvam
ffcd6c82ed
Refactor code inspector (#2412)
* delete method GET_INSPECTION

delete method GET_INSPECTION, not called from anywhere

* delete class ZCL_ABAPGIT_ABAP_UNIT_TESTS

* delete class ZCL_ABAPGIT_SYNTAX_CHECK

* delete class ZCL_ABAPGIT_ADHOC_CODE_INSP

* move VARIANT to importing in RUN

instead of in the constructor

* one variable containing the name

instaed of 2 with same contents

* linting
2019-02-19 21:37:40 -08:00
Christian Guenter
e91697e4e2 New global user settings 'Disable octicons'
With this commit a new user setting called 'disable octicons' is
introduced. Octicons should be disabled when the client doesn't have
internet access or the abapGit UI hangs sometimes.
By default this option isn't active.
2019-02-18 06:31:06 -08:00
larshp
73c3c787ba tadir, delete unused parameter io_folder_logic 2019-02-18 05:28:31 -08:00
Christian Günter
4cdcb53c2b ENHO: check existence before deletion
With this commit we add an existence check the delete method
of ENHO serializer because some enhancements, like implicit source code
enhancements of classes, are deleted implicitly.
2019-02-18 05:28:12 -08:00
Lars Hvam
d0a721b2cf
Move methods to private (#2416)
* ZCL_ABAPGIT_GUI_CHUNK_LIB move 2 methods private

* HTML_ACTION_UTILS move two methods private

* move calculate_skip_testclass to private

* move BUILD_ASX_NODE to private
2019-02-18 05:27:49 -08:00
larshp
d09b97749f delete type tty_lines, not used anywhere 2019-02-18 01:30:42 -08:00
Lars Hvam
9c38004422
Zip refactoring (#2413)
* move method UNZIP_FILE to private

* use LIKE LINE OF
2019-02-18 01:30:26 -08:00
Christian Günter
b588daf5f7 ECATT: remove dynamic method calls #2407 (#2411)
* ECATT: remove dynamic method calls

This commit introduces two new interfaces to remove dynamic method calls.
- ZIF_ABAPGIT_ECATT_DOWNLOAD
- ZIF_ABAPGIT_ECATT_UPLOAD

* ECATT: Rename method

Rename method z_set_stream_for_upload to set_stream_for_upload
as we now use our own interface and there's no risk that SAP 
standard introduces a method with the same name
2019-02-18 01:30:14 -08:00
larshp
c02aa72e99 move get_local_checksums method to private 2019-02-17 01:29:11 -08:00
Lars Hvam
9d4436822e
Cleanup (#2408)
* delete method CHECK_PROG_CHANGED_SINCE

not in use anymore

* delete method ADD_XML_FROM_PLUGIN

looks like it is not used anywhere, also not in plugins

* naming conventions
2019-02-17 01:28:58 -08:00
Lars Hvam
97ca88e909
1.84.0 (#2405)
* update version

* Update changelog.txt
2019-02-15 07:22:06 -08:00
Mattias Johansson
add9450d37 Ignore files not in local repo (#2404)
* Changed default text in branch popup

* Downgrade to Abap 7.02 syntax

* Reduce line length of commit (for abaplint)

* Ignore files that are not in local repo

Ignore files that are not in local repo when doing transport to branch

* Changed line indent

* More indentation fixes
2019-02-15 06:52:36 -08:00
Lars Hvam
e42fa60841
git minor changes (#2403)
* git minor changes

code inspector changes

* pretty print
2019-02-15 06:52:11 -08:00
Lars Hvam
25d4c9ea07
Remove HAS_CHANGED_SINCE #1021 (#2401)
* core part removed

* remove method implementations
2019-02-15 06:51:57 -08:00
larshp
a58652954f limit max threads to 32 2019-02-15 03:27:14 -08:00
Martin Fuchs
94c95d46cb Refactoring of CORR_INSERT and adjustment for object types (#2392)
* Refactoring of CORR_INSERT and adjustment for object types

* CORR_INSERT without CORR_CHECK

* Z exception
2019-02-15 03:26:42 -08:00
larshp
426f815bee downport #2389 2019-02-14 21:10:07 -08:00
Boris Sachsenberg
6cc5e63dfd Exclude reusable includes in FUGR deserialization
Function groups can use includes that were separately created as programs of type include. Those includes could be reusedin various other programs and function groups. They might even be created in a different package. This type of include is an object of it's own that get serialized with it's package as a separate object. Therefore it should not be included in serialization of any function group that uses it. This fix checks for which includes TADIR entries of type PROG exists and excludes them from serialization in FUGR serializer.
2019-02-14 21:09:32 -08:00
larshp
2a3cab2b78 ACID, delete after where-used objects 2019-02-14 07:18:06 -08:00
larshp
de41791d27 background mode, deletion, fix commit message
the message now lists the deleted files, and not all objects that have previously been updated
2019-02-14 07:17:46 -08:00
p-dmitrij
de4c92fb73 SFPF, SFPI: Error by import (issue #2353) (#2388)
* SFPF, SFPI: Error by import (issue #2353)

The renumbering of the attributes "id" and "href" is reworked

* Pretty printer of the full class source

* indentation
2019-02-13 04:49:35 -08:00
Lars Hvam
4e40705350
Downport (#2390)
* SHI3, remove unused variable

* SUSC, constant, plus no need to pass attributes
2019-02-12 21:46:10 -08:00
larshp
e2e703a0bd DOMA do not serialize texts without language #2311 2019-02-12 21:45:53 -08:00
larshp
01f1af8b7f PINF fix deserialization sequence 2019-02-12 21:45:39 -08:00
Lars Hvam
777fabea14
1.83.0 (#2381)
* SPRX supported

* update version

* Update changelog.txt
2019-02-11 22:31:41 -08:00
Dmitry Pisarev
de7dfea3d3 SCP1: Text tables are not imported #2348
The field "recnumber" of the internal table "cs_scp1-scprvall" is condensed now in xml
2019-02-11 22:17:58 -08:00
larshp
5018eae46c refactor public attributes #2369
refactor public attributes #2369
2019-02-09 23:28:22 -08:00
Lars Hvam
e54cac4bdc
fix for user exit SSL ID (#2373)
* fix for user exit SSL ID

* also pass url to HTTP_CLIENT exit
2019-02-09 23:28:09 -08:00
larshp
82296484d4 allow changing remote and branch for write protect
allow changing remote and branch for write protected repos. In the old days changing remote and branch triggered a pull, this is decoupled, so there should be no changes to the local code when switching remote or branch
2019-02-07 03:08:39 -08:00
Lars Hvam
3e1de36861
PINF downport (#2367)
* PINF downport

PINF downport, #2365

* update
2019-02-07 00:56:13 -08:00
larshp
f68c3c244e SPRX: refactor
SPRX: refactor, issue #2365
2019-02-07 00:55:59 -08:00
larshp
474a4b9051 include "SPRX" in SPRX error description 2019-02-05 23:11:34 -08:00
Lars Hvam
30547792dd
use built in types (#2363)
* replace use of x255

* use same type as field source

* remove use of text25

* remove use of numc4

* remove use of DATUM
2019-02-05 23:08:04 -08:00
larshp
6c3e6b85ed SFPF: Error by pulling of an existing object
SFPF: Error by pulling of an existing object #2352
2019-02-05 23:07:38 -08:00
Lars Hvam
cb4479b95b
Cleanup (#2361)
* pretty print

* move identical code outside IF

* remove space before .

* remove unreferenced variables

* remove unreferenced variables

* remove unreferenced variables

* fix pseudo comment

* remove unreferenced field symbols
2019-02-04 23:08:29 -08:00
GoWale
4dceb54758 Flag SET-/GET_PARAM bug - move fix to deserialize (#2360)
* add missing functions in plugin VCLS

* fix pretty print

* fix check usage for abaplint

* adjust detection of locks

* german type

* move fix to deserialize

* fix syntax for 7.02
2019-02-03 22:06:33 -08:00
Christian Guenter
8219acf73b SPRX: improve exception handling 2019-02-03 21:43:32 -08:00
Christian Guenter
f0c8375dbd SOTS: fix code inspector errors 2019-02-03 21:32:38 -08:00
larshp
c6c45baa90 Additional default ignores
Additional default ignores #2347
2019-02-03 21:32:11 -08:00
Christian Guenter
2c8a3f3b17 SPRX: fix class definition 2019-02-03 21:15:44 +01:00
Mattias Johansson
0467707a5b Changed default text in branch popup (#2344)
* Changed default text in branch popup

* Downgrade to Abap 7.02 syntax

* Reduce line length of commit (for abaplint)
2019-02-02 03:52:14 -08:00
Christian Günter
6cc064d794 SPRX: Proxy Object
Proxy objects are quite complex. With this commit we add basic SPRX support.

Working scenarios are:
- Service Consumer
- Service Provider
2019-02-02 03:06:11 -08:00
GoWale
96edce7e96 fix for serialize view cluster inactive/not exits (#2339)
* add missing functions in plugin VCLS

* fix pretty print

* fix check usage for abaplint

* adjust detection of locks

* german type
2019-01-31 01:41:33 -08:00
Christian Guenter
ad7809e4f2 Offline repo: Folder logic in create popup 2019-01-28 00:57:50 -08:00
Christian Günter
d63686c442
SOTS: Fix class definition (#2332) 2019-01-24 16:07:33 +01:00
Christian Günter
ed54ff43a1
SOTS: remove create public (#2331) 2019-01-24 15:55:39 +01:00
Lars Hvam
158b0185e4
1.82.0 (#2329)
* 1.82.0

* v1.82.0
2019-01-24 15:15:39 +01:00
Christian Günter
262e178407 PINF: Improve error handling #2317 (#2326)
* PINF: Improve error handling

This commit introduces a facade for IF_PACKAGE_INTERFACE which
unifies the exception handling from classic exceptions to
new class based exceptions. Thereby we ensure that all classic
exceptions are catched.

* fix lint errors
2019-01-24 15:01:10 +01:00
Christian Günter
f2e5672678 SOTS: All Concepts (OTR) of a Package - Long Texts #792 (#2323)
* SOTS: All Concepts (OTR) of a Package - Long Texts

* Update supported objects - SOTS
2019-01-24 15:00:37 +01:00
larshp
7313722452 lower case 2019-01-24 14:32:32 +01:00
Christian Günter
7b0a687d4a PINF: Implement is_locked 2019-01-24 08:54:50 +01:00
larshp
263a6a5f13 PINF, set package
single statement 'set_default_package( iv_package ).' added

rest is reordering by SE80
2019-01-23 06:31:34 +01:00
Lars Hvam
e8b6b0020d
Add interface for ZCL_ABAPGIT_PROGRESS #2303 (#2316)
* interface for progress class

* adjust branch overview

* adjust git pack

* adjust diff page

* adjust objects class

* adjust activation class

* adjust repo online class

* adjust serialize class

few methods moved

* adjust tadir class
2019-01-23 06:28:54 +01:00
Lars Hvam
1a60384e84
move method get_unnecessary_local_objs #2127 (#2315)
* move method get_unnecessary_local_objs #2127

move method get_unnecessary_local_objs #2127

* interface for progress class

* oops, rollback previous commit
2019-01-23 06:27:29 +01:00
larshp
46d0bf7298 remove REBUILD_LOCAL_CHECKSUMS_161112 #2127
remove REBUILD_LOCAL_CHECKSUMS_161112 #2127
2019-01-23 06:25:44 +01:00
larshp
57d0d5ff96 move c_version to USCA class
as it is not used anywhere else
2019-01-23 06:17:54 +01:00
larshp
4b3d2334cc rollback #2312 2019-01-21 15:09:12 +01:00
Lars Hvam
3f494f091f
Use built-in types (#2306)
* remove uses of DTEL BOOLEAN

* remove uses of DTEL BOOLE_D

* remove uses of DTEL FLAG

* remove uses of DTEL SAP_BOOL

* remove uses of DTEL XFELD

* Update zcl_abapgit_popups.clas.abap
2019-01-20 07:59:24 +01:00
GoWale
3a20f2cf73 fix dynpro set/get parameter (#2312)
* fix dynpro set/get parameter

* Dynpro Generation - Flag SET-/GET_PARAM

* Update zif_abapgit_definitions.intf.abap

* Update zif_abapgit_definitions.intf.xml

* add byte order mark back

* rename local constant to LC_
2019-01-20 07:52:11 +01:00
Lars Hvam
ba9968123f
limit shown code inspector findings #2271 (#2307)
* codi_base will now render the full list

* limit list to show first 500
2019-01-20 07:51:41 +01:00
larshp
c1bf6bac20 show sy-subrc from SEO_CLASS_CREATE_COMPLETE 2019-01-18 07:07:13 +01:00
larshp
ee76ec1f45 update to latest abaplint 2019-01-18 07:06:55 +01:00
Christian Guenter
4b96b7469d Check if package exists before pack.create popup 2019-01-18 07:06:33 +01:00
Christian Günter
8377759216 Implement SQSC: Database Procedure Proxy 2019-01-17 14:12:35 +01:00
Fabian Lupa
1bef6949f2 Delete missing TVIMF entries on reset local (TOBJ)
Fixes #2267
2019-01-17 13:22:52 +01:00
Christian Guenter
1913b7eaeb AdHoc code inspection: ask user for check variant 2019-01-16 09:33:13 +01:00
larshp
3509df80ae add class descriptions 2019-01-14 20:06:33 +01:00
Lars Hvam
610c48d51f
Remove commented code (#2285)
* delete commented code

* delete commented code

* commented code
2019-01-13 10:28:18 +01:00
Christian Guenter
d4cd7e2639 ZCL_ABAPGIT_OBJECTS: optimize with sec.key 2019-01-13 10:28:06 +01:00
Christian Guenter
67068136e1 UI: Replace 'Overwrite object' popup with sellist 2019-01-13 07:29:01 +01:00
Christian Guenter
0b36ce0c88 move js and css to UI 2019-01-13 07:23:07 +01:00
Andre Becker
da600fa2d3 Improve error handling of ttyp object handler (#2272)
* improve error handling of function modules

* fix abaplint errors

* refactor to hardcoded error strings

* refactor fm error handling to string templates

* removing msag class
2019-01-12 12:44:24 +01:00
Domi Bigl
cb15695570 switch to css class mega-octicon for HiDPI #2275 (#2276)
* switch to css class mega-octicon for HiDPI

* change css repo overview icon
2019-01-12 10:24:11 +01:00
Lars Hvam
7628af4a9f
1.81.1 (#2266)
* 1.81.1

* Update changelog.txt

* Update changelog.txt
2019-01-05 12:05:34 +01:00
Christian Guenter
87e95e454b disable save button 2019-01-05 07:35:23 +01:00
Jan Pascal Tschudy
ef0f6e631a fix remove inline method call 2019-01-04 14:35:47 +01:00
larshp
9a935d2a14 TABL: use sy-subrc instead of syst_subrc 2019-01-04 14:19:33 +01:00
Christian Guenter
ca41c7d783 Better error message when repo isn't opened in ML
Better error message when repo isn't opened in master language
2019-01-04 05:40:24 +01:00
sambarza
2fc8087de1 In the popup for the creation of a new offline project the OK button is missing or better is there but without a text, it's a quite difficult to find it ;-)
Fixed with label "OK"
2019-01-03 06:36:34 +01:00
Christian Guenter
20be1e7eef Page branch overview: skip orphaned commits 2019-01-03 06:36:00 +01:00
Christian Günter
e0c0610bad Group overview page functions + remove window functions 2019-01-03 06:35:48 +01:00
Christian Guenter
1de9456567 Fix TABL regression 2019-01-02 11:50:08 +01:00
Christian Günter
111c4d29cf eslint: fix no-unused-vars warnings 2019-01-02 06:06:29 +01:00
pokrakam
5f694c561f Prevent parallel mode with merged build - #2208 (#2247)
* Prevent parallel mode with merged build - #2208

Reguires abapmerge PR #74

Also renamed gv_max to gv_max_threads

* Prevent parallel mode with merged build - #2208

Reguires abapmerge PR #74

Also renamed gv_max to gv_max_threads
2019-01-02 06:06:14 +01:00
Domi Bigl
311efc0d20 add IDoc Segment support as part of TABL (#2246)
* add IDoc Segement support as part of TABL

IDoc Segement type/definition is just customizing and has no own transport object but it generates a structure and is coupled to it

The segment type/definitions have their own XML at the TABL object

* fix abaplint errors

* move segment type/defintion to TABL xml
2019-01-02 06:05:49 +01:00
sbcgua
95b8120ef0 Repo overview UX/design (#2245)
* reorderings

* moving around disarranged tags

* draft

* toggleDetail js and tuning

* remove unnecessary firstrow

* tunings
2018-12-31 06:30:53 +01:00
Alexander Tsybulsky
dd52f33497 move isola to zcl_abapgit_convert 2018-12-30 08:07:19 +01:00
sbcgua
60bf29dd38 refactor zcl_abapgit_zip (#2241)
* zip->load

* remove import and file_upload

* linter fix

* minor fix
2018-12-30 08:06:16 +01:00
sbcgua
ceb7a6d02a Eslint (#2240)
* configs

* fix lint errors
2018-12-30 08:05:17 +01:00
larshp
f1a0307fa9 VCLS clear CHANGEDATE #2227
VCLS clear CHANGEDATE #2227
2018-12-30 08:03:55 +01:00
larshp
c37ce5ff06 Cleanup classes package assignment #2217 2018-12-30 08:03:38 +01:00
pokrakam
d3e75796ab Fix #2171 - removed dependency on field order (#2226)
* Fix #2171 - removed dependency on field order

* Fix #2171 - removed dependency on field order
2018-12-26 06:36:16 +01:00
larshp
e0841e3bec indentation and se80 reorderings
no logic changes
2018-12-26 06:35:55 +01:00
larshp
f9749776d8 fix naming 2018-12-25 09:10:15 +00:00
larshp
08c6ef3dbb fix names, close #2222 2018-12-24 09:19:01 +01:00
Christian Guenter
66fa31e0aa Fix zcl_abapgit_frontend_services xml - newformat 2018-12-22 11:42:40 +01:00
Alexander Tsybulsky
09e23ce5b4 remove toolbar 2018-12-22 11:36:10 +01:00
sbcgua
2b887bb7c3 Frontend services util (#2219)
* extract file system calls from zip

* fs to utils package

* rename fs to frontend services

* linter fix

* fix zip class

* review fixes
2018-12-22 11:35:49 +01:00
Jakub Filak
11a175d467 stage: remove also ignored local files
Ignored files posses the property that they do not exist in remotes but do exist in local
repositories.

Before this patch, local ignored files were displayed in the Stage.
2018-12-20 09:23:13 +01:00
larshp
6385caade6 fix whitespace and other minor changes 2018-12-20 09:23:01 +01:00
Lars Hvam
5f9df74463
reduce method length, #2146 (#2212)
* TRAN: refactor method SPLIT_PARAMETERS

new method SHIFT_PARAM added

* settings page: refactoring

rename BUILD_SETTINGS to POST
split contents into smaller methods
2018-12-20 09:22:33 +01:00
larshp
d838dce879 align test class naming #2210 2018-12-20 09:21:11 +01:00
Lars Hvam
35f1462d3a
updates to experimental DDIC activation logic (#2206)
* updates to experimental ddic activation logic

* deleted too much

* special handling for INDX

* fixored, this seems to work
2018-12-17 08:17:53 +01:00
Lars Hvam
c9252b1b2a
CLAS cleanup (#2204)
* cleanup old experimental CLAS

* Move ZCL_ABAPGIT_OO_CLASS_NEW to _CLASS
2018-12-17 08:17:07 +01:00
Lars Hvam
79f7a82235
v1.81.0 (#2203)
* 1.81.0

* v1.81.0
2018-12-12 14:57:02 +01:00
Christian Guenter
39ffda345d Fix: Patch querySelector with numeric IDs 2018-12-12 14:32:26 +01:00
Eduardo Ferrari Copat
d47027ad6c Remove redundant class and interface metadata (#2195)
* Remove CLSFINAL from VSEOCLASS serialization

* Remove EXPOSURE from VSEOCLASS serialization

* Remove clsabstrct from VSEOCLASS serialization

* Remove EXPOSURE from VSEOINTERF serialization

* Revert "Remove EXPOSURE from VSEOINTERF serialization"

This reverts commit 4036b7d015.
2018-12-12 14:31:42 +01:00
Christian Guenter
729c009747 Fix: Stage > Patch ignore binary files 2018-12-12 13:11:16 +01:00
Christian Guenter
c7f0576d60 Fix Patch: escape namespaces properly 2018-12-11 11:54:30 +01:00