PIPS
|
#include <stdio.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <xview/xview.h>
#include <xview/panel.h>
#include <xview/text.h>
#include "genC.h"
#include "constants.h"
#include "misc.h"
#include "linear.h"
#include "ri.h"
#include "ri-util.h"
#include "top-level.h"
#include "database.h"
#include "pipsmake.h"
#include "pipsdbm.h"
#include "wpips.h"
#include "wpips-labels.h"
#include "resources.h"
#include "phases.h"
#include "wpips_transform_menu_layout.h"
Go to the source code of this file.
Functions | |
void | apply_on_each_transform_item (void(*function_to_apply_on_each_menu_item)(Menu_item)) |
void | disable_transform_selection () |
void | enable_transform_selection () |
void | execute_safe_apply_outside_the_notifyer () |
void | safe_apply_outside_the_notifyer (string transformation_name_to_apply, string module_name) |
static void | transform_notify (Menu menu, Menu_item menu_item) |
void | create_transform_menu () |
Variables | |
wpips_transform_menu_layout_line | wpips_transform_menu_layout [] |
Include the label names: More... | |
static string | execute_safe_apply_outside_the_notifyer_transformation_name_to_apply = NULL |
To pass arguments to execute_safe_apply_outside_the_notifyer(): More... | |
static string | execute_safe_apply_outside_the_notifyer_module_name = NULL |
Menu | transform_menu |
The transform menu: More... | |
void apply_on_each_transform_item | ( | void(*)(Menu_item) | function_to_apply_on_each_menu_item | ) |
Walk through items of
Skip the title item:
Definition at line 81 of file xv_transform.c.
References transform_menu.
Referenced by disable_transform_selection(), and enable_transform_selection().
void create_transform_menu | ( | ) |
Now add all the transformation entries:
Just a separator:
Add the Edit entry as the last one:
Just a separator:
Definition at line 172 of file xv_transform.c.
References edit_menu_item, edit_notify(), EDIT_VIEW, main_frame, main_panel, wpips_transform_menu_layout_line::menu_entry_string, transform_menu, transform_notify(), WPIPS_MENU_SEPARATOR, WPIPS_MENU_SEPARATOR_ID, and wpips_transform_menu_layout.
void disable_transform_selection | ( | ) |
Definition at line 97 of file xv_transform.c.
References apply_on_each_transform_item(), and disable_menu_item().
void enable_transform_selection | ( | ) |
Definition at line 104 of file xv_transform.c.
References apply_on_each_transform_item(), and enable_menu_item().
void execute_safe_apply_outside_the_notifyer | ( | ) |
The module list may have changed:
Definition at line 111 of file xv_transform.c.
References display_memory_usage(), execute_safe_apply_outside_the_notifyer_module_name, execute_safe_apply_outside_the_notifyer_transformation_name_to_apply, free(), safe_apply(), and send_the_names_of_the_available_modules_to_emacs().
Referenced by wpips_main_loop().
Ask to execute the execute_safe_apply_outside_the_notifyer():
I guess the function above does not return...
Definition at line 124 of file xv_transform.c.
References execute_main_loop_command(), execute_safe_apply_outside_the_notifyer_module_name, execute_safe_apply_outside_the_notifyer_transformation_name_to_apply, module_name(), strdup(), and WPIPS_SAFE_APPLY.
Referenced by transform_notify().
|
static |
FI: borrowed from edit_notify()
Find the transformation to apply:
Apply the transformation:
I guess the function above does not return...
Definition at line 138 of file xv_transform.c.
References db_get_current_module_name(), display_memory_usage(), wpips_transform_menu_layout_line::menu_entry_string, pips_internal_error, prompt_user(), safe_apply_outside_the_notifyer(), wpips_transform_menu_layout_line::transformation_name_to_apply, and wpips_transform_menu_layout.
Referenced by create_transform_menu().
|
static |
Definition at line 74 of file xv_transform.c.
Referenced by execute_safe_apply_outside_the_notifyer(), and safe_apply_outside_the_notifyer().
|
static |
To pass arguments to execute_safe_apply_outside_the_notifyer():
Definition at line 73 of file xv_transform.c.
Referenced by execute_safe_apply_outside_the_notifyer(), and safe_apply_outside_the_notifyer().
Menu transform_menu |
The transform menu:
Definition at line 78 of file xv_transform.c.
Referenced by apply_on_each_transform_item(), and create_transform_menu().
wpips_transform_menu_layout_line wpips_transform_menu_layout[] |
Include the label names:
Definition at line 63 of file xv_transform.c.
Referenced by create_transform_menu(), and transform_notify().