1. 15 Jun, 2021 4 commits
    • sparonuz's avatar
    • sparonuz's avatar
      [run_@r14986]: Typo in comment · 7ca73ca4
      sparonuz authored
      7ca73ca4
    • sparonuz's avatar
    • sparonuz's avatar
      [Issue#77]: # This is a combination of 42 commits. · cd939da3
      sparonuz authored
      [Issue#77]: Fix bug in update_blocks: the father block was not correctely set
      
      [Issue#77]: Remove CodeCleaner.py
      
      [Issue#77]: function read_file removed from ReadSourceFile class. class ReadSourceFile moved to SourceFile
      
      [Issue#77]: Removed SourceManager: it was containing functions that belonged somwhere else.
      
      [Issue#77]: Fix for issue sparonuz/AutoRPE#147: these scripts are now useless
      
      [Issue#77]: Added parameter working precision to function that checks if two types are equivalent
      
      [Issue#77]: FIX: get_type_of_content was giving char for argument that are function with char argument, but the function per se was not char
      
      [Issue#77]: Module class was loading again lines from source file, which is kind of overkill, since this is already done by SourceFile class. This is moreover wrong is some changes were done in between
      
      [Issue#77]: SubprogramCall has now a member to store the block were the call is done
      
      [Issue#77]: Functions to add cast to non coherent calls: for the moment has been tested on the firs calls found
      
      [Issue#77]: Added function to create a regex for name occurrence: was failing if name contained parenthesis
      
      [Issue#77]: Now adds the #  include \"single_precision_substitute.h90\" clause
      
      [Issue#77]: Added fix for reshapes
      
      [Issue#77]: Dependece were not propagated correctely because the id property was used: it did't make much sense
      
      [Issue#77]: For the moment commented out the part that should suggest to create an interface
      
      [Issue#77]: added function to escape string to put them in regex
      cd939da3
  2. 18 May, 2021 2 commits
    • sparonuz's avatar
      [Issue#147]: # This is a combination of 49 commits. · c1f97764
      sparonuz authored
      [Issue#147]: Added flag to mark variables used in external calls
      
      [Issue#147]: Function to fill vault has been excorporated. Now makeVault assigns ids to all real variables: these were lines that got lost in refactoring.
      
      [Issue#147]: Modified main of Modify code. Now 1) read the banned_var list + vault 2) add var used in external calls to ban list 3) propagate dependency of the ban list
      
      [Issue#147]: Moved function change_code form inserter to ModifyCode
      
      [Issue#147]: Moved function from Inseter + var used in external have to be banned just if they are RPE type
      
      [Issue#147]: Added additional parameter "var_type" for tracking function
      
      [Issue#147]: Added incremental_id to variables, to be used during tracking.
      
      [Issue#147]: Added var_type to function that propagate dependency. Now var_identifier uses var.incremental_number
      
      [Issue#147]: Added tracking of RPE variables
      
      [Issue#147]: Modified function load_sources to take extension as input, and to be able to read files in subdirectories
      
      [Issue#147]: Extension is now passed to create ReadSourceFile objects, to properly set module_name
      
      [Issue#147]: Updated rebuild_text, so as to split lines with \n marker in module.lines
      
      [Issue#147]: Moved all function to deal with non preprocessed code into a single file
      
      [Issue#147]: Added parameter to read file to avoid removing spaces when reading. Fixed bug in write_file that was adding a last empty line to every file.
      
      [Issue#147]: Check that, when looking for allocation of a var  we did not match a member with the same name: a_i will also match %a_i
      
      [Issue#147]: Storing precision with and without KIND keyword specification was useless: removed
      c1f97764
    • sparonuz's avatar
      [(nobranch,rebasingrun_with_ICE)]: # This is a combination of 14 commits. · 966cb1c2
      sparonuz authored
      [run_with_ICE]:  Issue sparonuz/AutoRPE#150, now fix_parameter_declaration has been refactored in somethin comprehensible
      
      [run_with_ICE]:  Added ret val to EPSILON intrinsic
      
      [run_with_ICE]: Added escape for . in numbers in function replace variables exact match
      966cb1c2
  3. 10 May, 2021 1 commit
  4. 29 Apr, 2021 1 commit
  5. 16 Apr, 2021 5 commits
  6. 08 Apr, 2021 1 commit
  7. 07 Apr, 2021 1 commit
  8. 01 Apr, 2021 2 commits
  9. 31 Mar, 2021 2 commits
    • sparonuz's avatar
      # This is a combination of 7 commits. · 1ea7f85b
      sparonuz authored
      [Issue#130]:  Fixed error in assignation of rpe with an array reshape.
      
      [Issue#130]: Removing multiple spaces from code makes it easier to fix things afterwards
      
      [Issue#130]: Fix for intrinsic used as array indexing
      
      [Issue#130]: Fixed problem of wrong subtitution with parameter declaration with reshape assignment.
      1ea7f85b
    • erodrigu's avatar
      This is a combination of 2 commits. · 2428ac2b
      erodrigu authored
      Put sbits correctly for members after ALLOCATE and removed func find_module_and_line_of_allocation
      
      Fixed error with getting the variable name and simplified functions
      2428ac2b
  10. 30 Mar, 2021 1 commit
  11. 25 Mar, 2021 1 commit
    • sparonuz's avatar
      # This is a combination of 20 commits. · 1ddc023b
      sparonuz authored and sparonuz's avatar sparonuz committed
      [Issue#125]: Now the end of the sbr is searched by name, this implies changes in some source files: https://earth.bsc.es/gitlab/svn/nemo-mirror/-/issues/37
      
      [Issue#125]:  Register if a subroutine is defining other subroutine, and if so add public var of this sbr to defined sbr accessible variables
      
      [Issue#125]: get_variable does not have to find variables if they are inside intrinsics, we have to clean string in advance if we want the var to be found.
      
      [Issue#125]: Fix for Issue sparonuz/AutoRPE#126
      
      [Issue#125]: Fix for keyword argument which have the same name of the actual argument Issue sparonuz/AutoRPE#127
      1ddc023b
  12. 17 Mar, 2021 1 commit
  13. 16 Mar, 2021 4 commits
  14. 15 Mar, 2021 4 commits
  15. 12 Mar, 2021 1 commit
  16. 11 Mar, 2021 2 commits
  17. 10 Mar, 2021 2 commits
    • sparonuz's avatar
    • sparonuz's avatar
      # This is a combination of 9 commits. · 1f8e6935
      sparonuz authored
      [Issue#114]: Variable's precision was not setted correctly: removed most of the array declared in VariablePrecision.py. Now  just a dictionary and a lookup table to encode the types defined in the code
      
      [Issue#114]:  Added type to function that add cast to reals
      
      [Issue#114]: Fixed codeChecker to work again, it was needed to change get_real_inline function to check for all INTENT type
      
      [Issue#114]: BugFix: get_procedure_inline failed to indentify the call if a variable with a name similar to the called procedure preceded the call (x_solfrack(i,j) = solfrac([...]))
      
      [Issue#114]: Removed horrible workaround to calculate type result of operation. There is now a dictionary containing the results
      1f8e6935
  18. 09 Mar, 2021 1 commit
  19. 05 Mar, 2021 4 commits