Commit Graph

4148 Commits

Author SHA1 Message Date
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
Lars Hvam
4bd0239263
rollback to previous version of abapmerge (#3419)
ref https://github.com/larshp/abapGit/issues/3418
2020-05-25 07:18:06 +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
f431d30140
setup linting of the compiled report (#3408)
* lint the compiled report

* change

* Update ci.yml
2020-05-24 10:36:14 +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
Lars Hvam
66ca33b03e
docs: another blog by Marcello (#3397) 2020-05-23 11:50:02 +02:00
Lars Hvam
f17eddfd6b linting, update error namespace 2020-05-23 11:46:36 +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
larshp
323789836e add icons 2020-05-18 07:20:06 +02:00
larshp
0308182f81 update lint config 2020-05-16 10:39:15 +02:00
Lars Hvam
0dcc6af897 docs, formatting 2020-05-15 14:02:09 +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
Lars Hvam
69bd4efd45
docs: update ref-supported (#3339) 2020-05-04 11:36:56 +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