diff options
author | Valentin <Poulpator> | 2020-09-30 13:09:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-30 13:11:06 +0300 |
commit | 5ac477805637f20b8ac5e742457fa8f304066d83 (patch) | |
tree | 6e0ccbf01192495fe030a2ac6c05edaf33e0376c /source/blender/windowmanager | |
parent | c0a563ffe814f227411f6b6ce6276a780245ccea (diff) |
Cleanup: convert gforge task ID's to phabricator format
Cleanup old tracker task format to the new. e.g: [#34039] to T34039
Ref D8718
Diffstat (limited to 'source/blender/windowmanager')
9 files changed, 18 insertions, 17 deletions
diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c index 6233df356dd..b3185f57577 100644 --- a/source/blender/windowmanager/intern/wm_cursors.c +++ b/source/blender/windowmanager/intern/wm_cursors.c @@ -302,7 +302,7 @@ void WM_cursor_grab_disable(wmWindow *win, const int mouse_ungrab_xy[2]) static void wm_cursor_warp_relative(wmWindow *win, int x, int y) { - /* note: don't use wmEvent coords because of continuous grab [#36409] */ + /* note: don't use wmEvent coords because of continuous grab T36409. */ int cx, cy; wm_get_cursor_position(win, &cx, &cy); WM_cursor_warp(win, cx + x, cy + y); diff --git a/source/blender/windowmanager/intern/wm_event_query.c b/source/blender/windowmanager/intern/wm_event_query.c index 381c06983a8..db80296bdb8 100644 --- a/source/blender/windowmanager/intern/wm_event_query.c +++ b/source/blender/windowmanager/intern/wm_event_query.c @@ -222,7 +222,7 @@ bool WM_event_is_modal_tweak_exit(const wmEvent *event, int tweak_event) } else { /* if the initial event wasn't a tweak event then - * ignore USER_RELEASECONFIRM setting: see [#26756] */ + * ignore USER_RELEASECONFIRM setting: see T26756. */ if (ELEM(tweak_event, EVT_TWEAK_L, EVT_TWEAK_M, EVT_TWEAK_R) == 0) { return 1; } diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index c89eac815d5..76ec3bba368 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -328,7 +328,7 @@ void wm_event_do_depsgraph(bContext *C, bool is_after_open_file) if (wm->is_interface_locked) { return; } - /* Combine datamasks so 1 win doesn't disable UV's in another [#26448]. */ + /* Combine datamasks so 1 win doesn't disable UV's in another T26448. */ CustomData_MeshMasks win_combine_v3d_datamask = {0}; LISTBASE_FOREACH (wmWindow *, win, &wm->windows) { const Scene *scene = WM_window_get_active_scene(win); @@ -343,7 +343,7 @@ void wm_event_do_depsgraph(bContext *C, bool is_after_open_file) Main *bmain = CTX_data_main(C); /* Copied to set's in scene_update_tagged_recursive() */ scene->customdata_mask = win_combine_v3d_datamask; - /* XXX, hack so operators can enforce datamasks [#26482], gl render */ + /* XXX, hack so operators can enforce datamasks T26482, gl render */ CustomData_MeshMasks_update(&scene->customdata_mask, &scene->customdata_mask_modal); /* TODO(sergey): For now all dependency graphs which are evaluated from * workspace are considered active. This will work all fine with "locked" @@ -461,7 +461,7 @@ void wm_event_do_notifiers(bContext *C) else if (note->data == ND_LAYOUTBROWSE) { bScreen *ref_screen = BKE_workspace_layout_screen_get(note->reference); - /* free popup handlers only [#35434] */ + /* free popup handlers only T35434. */ UI_popup_handlers_remove_all(C, &win->modalhandlers); ED_screen_change(C, ref_screen); /* XXX hrms, think this over! */ @@ -1061,7 +1061,8 @@ static int wm_operator_exec_notest(bContext *C, wmOperator *op) * * \param store: Store settings for re-use. * - * warning: do not use this within an operator to call its self! [#29537] */ + * \warning do not use this within an operator to call its self! T29537. + */ int WM_operator_call_ex(bContext *C, wmOperator *op, const bool store) { return wm_operator_exec(C, op, false, store); @@ -1817,7 +1818,7 @@ static bool wm_eventmatch(const wmEvent *winevent, const wmKeyMapItem *kmi) if (kmitype == KM_TEXTINPUT) { if (winevent->val == KM_PRESS) { /* prevent double clicks */ /* NOT using ISTEXTINPUT anymore because (at least on Windows) some key codes above 255 - * could have printable ascii keys - BUG [#30479] */ + * could have printable ascii keys - BUG T30479. */ if (ISKEYBOARD(winevent->type) && (winevent->ascii || winevent->utf8_buf[0])) { return true; } @@ -2713,7 +2714,7 @@ static int wm_handlers_do_intern(bContext *C, wmEvent *event, ListBase *handlers * note: check 'handlers->first' because in rare cases the handlers can be cleared * by the event that's called, for eg: * - * Calling a python script which changes the area.type, see [#32232] */ + * Calling a python script which changes the area.type, see T32232. */ for (wmEventHandler *handler_base = handlers->first, *handler_base_next; handler_base && handlers->first; handler_base = handler_base_next) { @@ -3363,7 +3364,7 @@ void wm_event_do_handlers(bContext *C) action |= wm_handlers_do(C, event, ®ion->handlers); - /* fileread case (python), [#29489] */ + /* fileread case (python), T29489. */ if (CTX_wm_window(C) == NULL) { wm_event_free_and_remove_from_queue_if_valid(event); return; diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 561e27f933d..7382a784ae0 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -394,7 +394,7 @@ static void wm_init_userdef(Main *bmain) /* versioning is here */ UI_init_userdef(bmain); - /* needed so loading a file from the command line respects user-pref [#26156] */ + /* needed so loading a file from the command line respects user-pref T26156. */ SET_FLAG_FROM_TEST(G.fileflags, U.flag & USER_FILENOUI, G_FILE_NO_UI); /* set the python auto-execute setting from user prefs */ diff --git a/source/blender/windowmanager/intern/wm_operator_type.c b/source/blender/windowmanager/intern/wm_operator_type.c index 7cc20baf606..cde0cb77678 100644 --- a/source/blender/windowmanager/intern/wm_operator_type.c +++ b/source/blender/windowmanager/intern/wm_operator_type.c @@ -401,7 +401,7 @@ static int wm_macro_modal(bContext *C, wmOperator *op, const wmEvent *event) retval = opm->type->modal(C, opm, event); OPERATOR_RETVAL_CHECK(retval); - /* if we're halfway through using a tool and cancel it, clear the options [#37149] */ + /* if we're halfway through using a tool and cancel it, clear the options T37149. */ if (retval & OPERATOR_CANCELLED) { WM_operator_properties_clear(opm->ptr); } diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 9592a0bfd35..e6142f85342 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -1408,7 +1408,7 @@ static uiBlock *wm_block_dialog_create(bContext *C, ARegion *region, void *userD /* clear so the OK button is left alone */ UI_block_func_set(block, NULL, NULL, NULL); - /* new column so as not to interfere with custom layouts [#26436] */ + /* new column so as not to interfere with custom layouts T26436. */ { uiBlock *col_block; uiLayout *col; diff --git a/source/blender/windowmanager/intern/wm_splash_screen.c b/source/blender/windowmanager/intern/wm_splash_screen.c index b75609fd28f..e9be0c33735 100644 --- a/source/blender/windowmanager/intern/wm_splash_screen.c +++ b/source/blender/windowmanager/intern/wm_splash_screen.c @@ -203,7 +203,7 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *region, void *UNUSE /* note on UI_BLOCK_NO_WIN_CLIP, the window size is not always synchronized * with the OS when the splash shows, window clipping in this case gives - * ugly results and clipping the splash isn't useful anyway, just disable it [#32938] */ + * ugly results and clipping the splash isn't useful anyway, just disable it T32938. */ UI_block_flag_enable(block, UI_BLOCK_LOOP | UI_BLOCK_KEEP_OPEN | UI_BLOCK_NO_WIN_CLIP); UI_block_theme_style_set(block, UI_BLOCK_THEME_STYLE_POPUP); diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 795205b8200..610a06690cc 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -196,8 +196,8 @@ static void wm_window_check_position(rcti *rect) static void wm_ghostwindow_destroy(wmWindowManager *wm, wmWindow *win) { if (win->ghostwin) { - /* Prevents non-drawable state of main windows (bugs #22967, - * #25071 and possibly #22477 too). Always clear it even if + /* Prevents non-drawable state of main windows (bugs T22967, + * T25071 and possibly T22477 too). Always clear it even if * this window was not the drawable one, because we mess with * drawing context to discard the GW context. */ wm_window_clear_drawable(wm); @@ -1239,7 +1239,7 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr /* bad ghost support for modifier keys... so on activate we set the modifiers again */ /* TODO: This is not correct since a modifier may be held when a window is activated... - * better solve this at ghost level. attempted fix r54450 but it caused bug [#34255] + * better solve this at ghost level. attempted fix r54450 but it caused bug T34255. * * For now don't send GHOST_kEventKeyDown events, just set the 'eventstate'. */ diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h index ed8f39fea48..c8f282e678f 100644 --- a/source/blender/windowmanager/wm_event_types.h +++ b/source/blender/windowmanager/wm_event_types.h @@ -351,7 +351,7 @@ enum { /* for event checks */ /* only used for KM_TEXTINPUT, so assume that we want all user-inputtable ascii codes included */ -/* UNUSED - see wm_eventmatch - BUG [#30479] */ +/* UNUSED - see wm_eventmatch - BUG T30479. */ /* #define ISTEXTINPUT(event_type) ((event_type) >= ' ' && (event_type) <= 255) */ /* note, an alternative could be to check 'event->utf8_buf' */ |