From 0345245e860375a32c9a437c4a9d9cae807134e9 Mon Sep 17 00:00:00 2001
From: Shashank
Date: Mon, 29 May 2017 12:40:26 +0530
Subject: CMSCOPE changed

---
 .../.libs/libscihistory_manager-algo.a             |  Bin 0 -> 951444 bytes
 .../.libs/libscihistory_manager-algo.la            |    1 +
 .../history_manager/.libs/libscihistory_manager.la |    1 +
 .../.libs/libscihistory_manager.lai                |   41 +
 .../history_manager/.libs/libscihistory_manager.so |    1 +
 .../.libs/libscihistory_manager.so.5               |    1 +
 .../.libs/libscihistory_manager.so.5.5.2           |  Bin 0 -> 483200 bytes
 modules/history_manager/Makefile                   | 1684 ++++++++++++++++++++
 modules/history_manager/Makefile.am                |  114 ++
 modules/history_manager/Makefile.in                | 1684 ++++++++++++++++++++
 modules/history_manager/build.xml                  |   20 +
 .../history_manager/HistoryManagement.class        |  Bin 0 -> 2441 bytes
 .../history_manager/HistoryManagementJNI.class     |  Bin 0 -> 2150 bytes
 .../HistoryPrefs$HistoryOption.class               |  Bin 0 -> 788 bytes
 .../modules/history_manager/HistoryPrefs.class     |  Bin 0 -> 1714 bytes
 .../history_manager/etc/XConfiguration-history.xml |    7 +
 .../history_manager/etc/XConfiguration-history.xsl |   50 +
 modules/history_manager/etc/history_manager.quit   |   19 +
 modules/history_manager/etc/history_manager.start  |   23 +
 modules/history_manager/help/en_US/addchapter.sce  |   11 +
 modules/history_manager/help/en_US/addhistory.xml  |   52 +
 .../history_manager/help/en_US/browsehistory.xml   |   95 ++
 .../history_manager/help/en_US/displayhistory.xml  |   41 +
 modules/history_manager/help/en_US/gethistory.xml  |   75 +
 .../history_manager/help/en_US/gethistoryfile.xml  |   54 +
 .../history_manager/help/en_US/historymanager.xml  |   70 +
 modules/history_manager/help/en_US/historysize.xml |   62 +
 modules/history_manager/help/en_US/loadhistory.xml |   80 +
 .../help/en_US/removelinehistory.xml               |   45 +
 .../history_manager/help/en_US/resethistory.xml    |   45 +
 .../help/en_US/saveafterncommands.xml              |   59 +
 .../help/en_US/saveconsecutivecommands.xml         |   62 +
 modules/history_manager/help/en_US/savehistory.xml |   71 +
 .../history_manager/help/en_US/sethistoryfile.xml  |   60 +
 modules/history_manager/help/fr_FR/addchapter.sce  |   11 +
 modules/history_manager/help/fr_FR/gethistory.xml  |   51 +
 modules/history_manager/help/fr_FR/loadhistory.xml |   71 +
 .../history_manager/help/fr_FR/resethistory.xml    |   37 +
 modules/history_manager/help/fr_FR/savehistory.xml |   71 +
 .../help/images/browsehistory_action.png           |  Bin 0 -> 9605 bytes
 .../help/images/browsehistory_list.png             |  Bin 0 -> 7852 bytes
 .../help/images/browsehistory_multiple.png         |  Bin 0 -> 6252 bytes
 modules/history_manager/help/ja_JP/addchapter.sce  |   11 +
 modules/history_manager/help/ja_JP/addhistory.xml  |   52 +
 .../history_manager/help/ja_JP/browsehistory.xml   |   98 ++
 .../history_manager/help/ja_JP/displayhistory.xml  |   34 +
 modules/history_manager/help/ja_JP/gethistory.xml  |   66 +
 .../history_manager/help/ja_JP/gethistoryfile.xml  |   55 +
 .../history_manager/help/ja_JP/historymanager.xml  |   70 +
 modules/history_manager/help/ja_JP/historysize.xml |   62 +
 modules/history_manager/help/ja_JP/loadhistory.xml |   82 +
 .../help/ja_JP/removelinehistory.xml               |   45 +
 .../history_manager/help/ja_JP/resethistory.xml    |   37 +
 .../help/ja_JP/saveafterncommands.xml              |   68 +
 .../help/ja_JP/saveconsecutivecommands.xml         |   65 +
 modules/history_manager/help/ja_JP/savehistory.xml |   72 +
 .../history_manager/help/ja_JP/sethistoryfile.xml  |   62 +
 modules/history_manager/help/pt_BR/addchapter.sce  |   11 +
 modules/history_manager/help/ru_RU/addchapter.sce  |   11 +
 modules/history_manager/history_manager.iss        |   51 +
 modules/history_manager/includes/HistoryManager.h  |  209 +++
 .../includes/InitializeHistoryManager.h            |   23 +
 .../includes/TerminateHistoryManager.h             |   23 +
 .../includes/dynlib_history_manager.h              |   28 +
 .../history_manager/includes/gw_history_manager.h  |   37 +
 .../jar/org.scilab.modules.history_manager.jar     |  Bin 0 -> 4898 bytes
 .../history_manager/libscihistory_manager-algo.la  |   41 +
 modules/history_manager/libscihistory_manager.la   |   41 +
 modules/history_manager/license.txt                |   11 +
 modules/history_manager/locales/ca_ES.po           |  160 ++
 modules/history_manager/locales/cs_CZ.po           |  153 ++
 modules/history_manager/locales/de_DE.po           |  158 ++
 modules/history_manager/locales/es_ES.po           |  160 ++
 modules/history_manager/locales/fr_FR.po           |  158 ++
 .../history_manager/locales/history_manager.pot    |  234 +++
 modules/history_manager/locales/it_IT.po           |  163 ++
 modules/history_manager/locales/ja_JP.po           |  196 +++
 modules/history_manager/locales/pl_PL.po           |  162 ++
 modules/history_manager/locales/pt_BR.po           |  161 ++
 modules/history_manager/locales/ru_RU.po           |  156 ++
 modules/history_manager/locales/uk_UA.po           |  164 ++
 modules/history_manager/locales/zh_CN.po           |  152 ++
 modules/history_manager/locales/zh_TW.po           |  152 ++
 modules/history_manager/macros/buildmacros.bat     |   21 +
 modules/history_manager/macros/buildmacros.sce     |   15 +
 modules/history_manager/macros/cleanmacros.bat     |   23 +
 .../history_manager/sci_gateway/c/.deps/.dirstamp  |    0
 ...libscihistory_manager_la-gw_history_manager.Plo |  275 ++++
 .../libscihistory_manager_la-sci_addhistory.Plo    |  298 ++++
 ...libscihistory_manager_la-sci_displayhistory.Plo |  276 ++++
 .../libscihistory_manager_la-sci_gethistory.Plo    |  238 +++
 ...libscihistory_manager_la-sci_gethistoryfile.Plo |  226 +++
 ...libscihistory_manager_la-sci_historymanager.Plo |  234 +++
 .../libscihistory_manager_la-sci_historysize.Plo   |  289 ++++
 .../libscihistory_manager_la-sci_loadhistory.Plo   |  240 +++
 ...scihistory_manager_la-sci_removelinehistory.Plo |  220 +++
 .../libscihistory_manager_la-sci_resethistory.Plo  |  197 +++
 ...cihistory_manager_la-sci_saveafterncommands.Plo |  226 +++
 ...tory_manager_la-sci_saveconsecutivecommands.Plo |  226 +++
 .../libscihistory_manager_la-sci_savehistory.Plo   |  221 +++
 ...libscihistory_manager_la-sci_sethistoryfile.Plo |  203 +++
 modules/history_manager/sci_gateway/c/.dirstamp    |    0
 .../libscihistory_manager_la-gw_history_manager.o  |  Bin 0 -> 7744 bytes
 .../libscihistory_manager_la-sci_addhistory.o      |  Bin 0 -> 10680 bytes
 .../libscihistory_manager_la-sci_displayhistory.o  |  Bin 0 -> 5080 bytes
 .../libscihistory_manager_la-sci_gethistory.o      |  Bin 0 -> 15144 bytes
 .../libscihistory_manager_la-sci_gethistoryfile.o  |  Bin 0 -> 8712 bytes
 .../libscihistory_manager_la-sci_historymanager.o  |  Bin 0 -> 17632 bytes
 .../libscihistory_manager_la-sci_historysize.o     |  Bin 0 -> 12768 bytes
 .../libscihistory_manager_la-sci_loadhistory.o     |  Bin 0 -> 9128 bytes
 ...ibscihistory_manager_la-sci_removelinehistory.o |  Bin 0 -> 11160 bytes
 .../libscihistory_manager_la-sci_resethistory.o    |  Bin 0 -> 6464 bytes
 ...bscihistory_manager_la-sci_saveafterncommands.o |  Bin 0 -> 12320 bytes
 ...istory_manager_la-sci_saveconsecutivecommands.o |  Bin 0 -> 11704 bytes
 .../libscihistory_manager_la-sci_savehistory.o     |  Bin 0 -> 10968 bytes
 .../libscihistory_manager_la-sci_sethistoryfile.o  |  Bin 0 -> 8248 bytes
 .../sci_gateway/c/gw_history_manager.c             |   55 +
 .../libscihistory_manager_la-gw_history_manager.lo |   12 +
 .../c/libscihistory_manager_la-sci_addhistory.lo   |   12 +
 .../libscihistory_manager_la-sci_displayhistory.lo |   12 +
 .../c/libscihistory_manager_la-sci_gethistory.lo   |   12 +
 .../libscihistory_manager_la-sci_gethistoryfile.lo |   12 +
 .../libscihistory_manager_la-sci_historymanager.lo |   12 +
 .../c/libscihistory_manager_la-sci_historysize.lo  |   12 +
 .../c/libscihistory_manager_la-sci_loadhistory.lo  |   12 +
 ...bscihistory_manager_la-sci_removelinehistory.lo |   12 +
 .../c/libscihistory_manager_la-sci_resethistory.lo |   12 +
 ...scihistory_manager_la-sci_saveafterncommands.lo |   12 +
 ...story_manager_la-sci_saveconsecutivecommands.lo |   12 +
 .../c/libscihistory_manager_la-sci_savehistory.lo  |   12 +
 .../libscihistory_manager_la-sci_sethistoryfile.lo |   12 +
 .../history_manager/sci_gateway/c/sci_addhistory.c |   98 ++
 .../sci_gateway/c/sci_displayhistory.c             |   26 +
 .../history_manager/sci_gateway/c/sci_gethistory.c |   97 ++
 .../sci_gateway/c/sci_gethistoryfile.c             |   50 +
 .../sci_gateway/c/sci_historymanager.c             |  107 ++
 .../sci_gateway/c/sci_historysize.c                |  114 ++
 .../sci_gateway/c/sci_loadhistory.c                |   67 +
 .../sci_gateway/c/sci_removelinehistory.c          |   56 +
 .../sci_gateway/c/sci_resethistory.c               |   29 +
 .../sci_gateway/c/sci_saveafterncommands.c         |   64 +
 .../sci_gateway/c/sci_saveconsecutivecommands.c    |   62 +
 .../sci_gateway/c/sci_savehistory.c                |   59 +
 .../sci_gateway/c/sci_sethistoryfile.c             |   42 +
 .../sci_gateway/history_manager_gateway.xml        |   45 +
 modules/history_manager/src/c/.deps/.dirstamp      |    0
 ...story_manager_algo_la-getCommentDateSession.Plo |  157 ++
 modules/history_manager/src/c/.dirstamp            |    0
 ...history_manager_algo_la-getCommentDateSession.o |  Bin 0 -> 21064 bytes
 .../history_manager/src/c/DllmainHistory_Manager.c |   34 +
 .../src/c/History_browser_Import.def               |   12 +
 .../src/c/Scilab_windows_Import.def                |    7 +
 modules/history_manager/src/c/core_Import.def      |   22 +
 modules/history_manager/src/c/fileio_Import.def    |   10 +
 .../history_manager/src/c/getCommentDateSession.c  |  174 ++
 .../history_manager/src/c/getCommentDateSession.h  |   35 +
 modules/history_manager/src/c/history_manager.rc   |   97 ++
 .../history_manager/src/c/history_manager.vcxproj  |  281 ++++
 .../src/c/history_manager.vcxproj.filters          |  156 ++
 modules/history_manager/src/c/jvm_Import.def       |    8 +
 ...istory_manager_algo_la-getCommentDateSession.lo |   12 +
 .../history_manager/src/c/localization_Import.def  |    5 +
 modules/history_manager/src/cpp/.deps/.dirstamp    |    0
 .../libscihistory_manager_algo_la-CommandLine.Plo  |  266 ++++
 .../libscihistory_manager_algo_la-HistoryFile.Plo  |  348 ++++
 ...ibscihistory_manager_algo_la-HistoryManager.Plo |  336 ++++
 ...libscihistory_manager_algo_la-HistorySearch.Plo |  280 ++++
 modules/history_manager/src/cpp/.dirstamp          |    0
 .../libscihistory_manager_algo_la-CommandLine.o    |  Bin 0 -> 71152 bytes
 .../libscihistory_manager_algo_la-HistoryFile.o    |  Bin 0 -> 223480 bytes
 .../libscihistory_manager_algo_la-HistoryManager.o |  Bin 0 -> 399888 bytes
 .../libscihistory_manager_algo_la-HistorySearch.o  |  Bin 0 -> 158720 bytes
 modules/history_manager/src/cpp/CommandLine.cpp    |   44 +
 modules/history_manager/src/cpp/CommandLine.hxx    |   64 +
 modules/history_manager/src/cpp/HistoryFile.cpp    |  278 ++++
 modules/history_manager/src/cpp/HistoryFile.hxx    |  121 ++
 modules/history_manager/src/cpp/HistoryManager.cpp |  967 +++++++++++
 modules/history_manager/src/cpp/HistoryManager.hxx |  249 +++
 modules/history_manager/src/cpp/HistorySearch.cpp  |  340 ++++
 modules/history_manager/src/cpp/HistorySearch.hxx  |   92 ++
 .../libscihistory_manager_algo_la-CommandLine.lo   |   12 +
 .../libscihistory_manager_algo_la-HistoryFile.lo   |   12 +
 ...libscihistory_manager_algo_la-HistoryManager.lo |   12 +
 .../libscihistory_manager_algo_la-HistorySearch.lo |   12 +
 .../modules/history_manager/HistoryManagement.java |  291 ++++
 .../history_manager/HistoryManagementJNI.java      |   71 +
 .../modules/history_manager/HistoryPrefs.java      |   63 +
 modules/history_manager/src/jni/.deps/.dirstamp    |    0
 ...tory_manager_algo_la-HistoryManagement_wrap.Plo |  147 ++
 modules/history_manager/src/jni/.dirstamp          |    0
 ...istory_manager_algo_la-HistoryManagement_wrap.o |  Bin 0 -> 69008 bytes
 .../history_manager/src/jni/HistoryManagement.i    |  314 ++++
 .../src/jni/HistoryManagement_wrap.c               |  696 ++++++++
 ...story_manager_algo_la-HistoryManagement_wrap.lo |   12 +
 .../tests/nonreg_tests/bug_10415.dia.ref           |   24 +
 .../tests/nonreg_tests/bug_10415.tst               |   27 +
 .../tests/nonreg_tests/bug_12333.dia.ref           |   28 +
 .../tests/nonreg_tests/bug_12333.tst               |   31 +
 .../tests/nonreg_tests/bug_4012.tst                |   22 +
 .../tests/nonreg_tests/bug_9498.tst                |   21 +
 .../tests/unit_tests/historyfile.encoding.dia.ref  |   21 +
 .../tests/unit_tests/historyfile.encoding.tst      |   26 +
 .../tests/unit_tests/historysize.dia.ref           |   25 +
 .../tests/unit_tests/historysize.tst               |   33 +
 .../tests/unit_tests/removelinehistory.dia.ref     |   57 +
 .../tests/unit_tests/removelinehistory.tst         |   72 +
 206 files changed, 19454 insertions(+)
 create mode 100755 modules/history_manager/.libs/libscihistory_manager-algo.a
 create mode 120000 modules/history_manager/.libs/libscihistory_manager-algo.la
 create mode 120000 modules/history_manager/.libs/libscihistory_manager.la
 create mode 100755 modules/history_manager/.libs/libscihistory_manager.lai
 create mode 120000 modules/history_manager/.libs/libscihistory_manager.so
 create mode 120000 modules/history_manager/.libs/libscihistory_manager.so.5
 create mode 100755 modules/history_manager/.libs/libscihistory_manager.so.5.5.2
 create mode 100755 modules/history_manager/Makefile
 create mode 100755 modules/history_manager/Makefile.am
 create mode 100755 modules/history_manager/Makefile.in
 create mode 100755 modules/history_manager/build.xml
 create mode 100755 modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryManagement.class
 create mode 100755 modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryManagementJNI.class
 create mode 100755 modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryPrefs$HistoryOption.class
 create mode 100755 modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryPrefs.class
 create mode 100755 modules/history_manager/etc/XConfiguration-history.xml
 create mode 100755 modules/history_manager/etc/XConfiguration-history.xsl
 create mode 100755 modules/history_manager/etc/history_manager.quit
 create mode 100755 modules/history_manager/etc/history_manager.start
 create mode 100755 modules/history_manager/help/en_US/addchapter.sce
 create mode 100755 modules/history_manager/help/en_US/addhistory.xml
 create mode 100755 modules/history_manager/help/en_US/browsehistory.xml
 create mode 100755 modules/history_manager/help/en_US/displayhistory.xml
 create mode 100755 modules/history_manager/help/en_US/gethistory.xml
 create mode 100755 modules/history_manager/help/en_US/gethistoryfile.xml
 create mode 100755 modules/history_manager/help/en_US/historymanager.xml
 create mode 100755 modules/history_manager/help/en_US/historysize.xml
 create mode 100755 modules/history_manager/help/en_US/loadhistory.xml
 create mode 100755 modules/history_manager/help/en_US/removelinehistory.xml
 create mode 100755 modules/history_manager/help/en_US/resethistory.xml
 create mode 100755 modules/history_manager/help/en_US/saveafterncommands.xml
 create mode 100755 modules/history_manager/help/en_US/saveconsecutivecommands.xml
 create mode 100755 modules/history_manager/help/en_US/savehistory.xml
 create mode 100755 modules/history_manager/help/en_US/sethistoryfile.xml
 create mode 100755 modules/history_manager/help/fr_FR/addchapter.sce
 create mode 100755 modules/history_manager/help/fr_FR/gethistory.xml
 create mode 100755 modules/history_manager/help/fr_FR/loadhistory.xml
 create mode 100755 modules/history_manager/help/fr_FR/resethistory.xml
 create mode 100755 modules/history_manager/help/fr_FR/savehistory.xml
 create mode 100755 modules/history_manager/help/images/browsehistory_action.png
 create mode 100755 modules/history_manager/help/images/browsehistory_list.png
 create mode 100755 modules/history_manager/help/images/browsehistory_multiple.png
 create mode 100755 modules/history_manager/help/ja_JP/addchapter.sce
 create mode 100755 modules/history_manager/help/ja_JP/addhistory.xml
 create mode 100755 modules/history_manager/help/ja_JP/browsehistory.xml
 create mode 100755 modules/history_manager/help/ja_JP/displayhistory.xml
 create mode 100755 modules/history_manager/help/ja_JP/gethistory.xml
 create mode 100755 modules/history_manager/help/ja_JP/gethistoryfile.xml
 create mode 100755 modules/history_manager/help/ja_JP/historymanager.xml
 create mode 100755 modules/history_manager/help/ja_JP/historysize.xml
 create mode 100755 modules/history_manager/help/ja_JP/loadhistory.xml
 create mode 100755 modules/history_manager/help/ja_JP/removelinehistory.xml
 create mode 100755 modules/history_manager/help/ja_JP/resethistory.xml
 create mode 100755 modules/history_manager/help/ja_JP/saveafterncommands.xml
 create mode 100755 modules/history_manager/help/ja_JP/saveconsecutivecommands.xml
 create mode 100755 modules/history_manager/help/ja_JP/savehistory.xml
 create mode 100755 modules/history_manager/help/ja_JP/sethistoryfile.xml
 create mode 100755 modules/history_manager/help/pt_BR/addchapter.sce
 create mode 100755 modules/history_manager/help/ru_RU/addchapter.sce
 create mode 100755 modules/history_manager/history_manager.iss
 create mode 100755 modules/history_manager/includes/HistoryManager.h
 create mode 100755 modules/history_manager/includes/InitializeHistoryManager.h
 create mode 100755 modules/history_manager/includes/TerminateHistoryManager.h
 create mode 100755 modules/history_manager/includes/dynlib_history_manager.h
 create mode 100755 modules/history_manager/includes/gw_history_manager.h
 create mode 100755 modules/history_manager/jar/org.scilab.modules.history_manager.jar
 create mode 100755 modules/history_manager/libscihistory_manager-algo.la
 create mode 100755 modules/history_manager/libscihistory_manager.la
 create mode 100755 modules/history_manager/license.txt
 create mode 100755 modules/history_manager/locales/ca_ES.po
 create mode 100755 modules/history_manager/locales/cs_CZ.po
 create mode 100755 modules/history_manager/locales/de_DE.po
 create mode 100755 modules/history_manager/locales/es_ES.po
 create mode 100755 modules/history_manager/locales/fr_FR.po
 create mode 100755 modules/history_manager/locales/history_manager.pot
 create mode 100755 modules/history_manager/locales/it_IT.po
 create mode 100755 modules/history_manager/locales/ja_JP.po
 create mode 100755 modules/history_manager/locales/pl_PL.po
 create mode 100755 modules/history_manager/locales/pt_BR.po
 create mode 100755 modules/history_manager/locales/ru_RU.po
 create mode 100755 modules/history_manager/locales/uk_UA.po
 create mode 100755 modules/history_manager/locales/zh_CN.po
 create mode 100755 modules/history_manager/locales/zh_TW.po
 create mode 100755 modules/history_manager/macros/buildmacros.bat
 create mode 100755 modules/history_manager/macros/buildmacros.sce
 create mode 100755 modules/history_manager/macros/cleanmacros.bat
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/.dirstamp
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-gw_history_manager.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_addhistory.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_displayhistory.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_gethistory.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_gethistoryfile.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_historymanager.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_historysize.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_loadhistory.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_removelinehistory.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_resethistory.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_saveafterncommands.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_saveconsecutivecommands.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_savehistory.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_sethistoryfile.Plo
 create mode 100755 modules/history_manager/sci_gateway/c/.dirstamp
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-gw_history_manager.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_addhistory.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_displayhistory.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_gethistory.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_gethistoryfile.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_historymanager.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_historysize.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_loadhistory.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_removelinehistory.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_resethistory.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_saveafterncommands.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_saveconsecutivecommands.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_savehistory.o
 create mode 100755 modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_sethistoryfile.o
 create mode 100755 modules/history_manager/sci_gateway/c/gw_history_manager.c
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_historysize.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo
 create mode 100755 modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo
 create mode 100755 modules/history_manager/sci_gateway/c/sci_addhistory.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_displayhistory.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_gethistory.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_gethistoryfile.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_historymanager.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_historysize.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_loadhistory.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_removelinehistory.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_resethistory.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_saveafterncommands.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_saveconsecutivecommands.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_savehistory.c
 create mode 100755 modules/history_manager/sci_gateway/c/sci_sethistoryfile.c
 create mode 100755 modules/history_manager/sci_gateway/history_manager_gateway.xml
 create mode 100755 modules/history_manager/src/c/.deps/.dirstamp
 create mode 100755 modules/history_manager/src/c/.deps/libscihistory_manager_algo_la-getCommentDateSession.Plo
 create mode 100755 modules/history_manager/src/c/.dirstamp
 create mode 100755 modules/history_manager/src/c/.libs/libscihistory_manager_algo_la-getCommentDateSession.o
 create mode 100755 modules/history_manager/src/c/DllmainHistory_Manager.c
 create mode 100755 modules/history_manager/src/c/History_browser_Import.def
 create mode 100755 modules/history_manager/src/c/Scilab_windows_Import.def
 create mode 100755 modules/history_manager/src/c/core_Import.def
 create mode 100755 modules/history_manager/src/c/fileio_Import.def
 create mode 100755 modules/history_manager/src/c/getCommentDateSession.c
 create mode 100755 modules/history_manager/src/c/getCommentDateSession.h
 create mode 100755 modules/history_manager/src/c/history_manager.rc
 create mode 100755 modules/history_manager/src/c/history_manager.vcxproj
 create mode 100755 modules/history_manager/src/c/history_manager.vcxproj.filters
 create mode 100755 modules/history_manager/src/c/jvm_Import.def
 create mode 100755 modules/history_manager/src/c/libscihistory_manager_algo_la-getCommentDateSession.lo
 create mode 100755 modules/history_manager/src/c/localization_Import.def
 create mode 100755 modules/history_manager/src/cpp/.deps/.dirstamp
 create mode 100755 modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-CommandLine.Plo
 create mode 100755 modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistoryFile.Plo
 create mode 100755 modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistoryManager.Plo
 create mode 100755 modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistorySearch.Plo
 create mode 100755 modules/history_manager/src/cpp/.dirstamp
 create mode 100755 modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-CommandLine.o
 create mode 100755 modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistoryFile.o
 create mode 100755 modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistoryManager.o
 create mode 100755 modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistorySearch.o
 create mode 100755 modules/history_manager/src/cpp/CommandLine.cpp
 create mode 100755 modules/history_manager/src/cpp/CommandLine.hxx
 create mode 100755 modules/history_manager/src/cpp/HistoryFile.cpp
 create mode 100755 modules/history_manager/src/cpp/HistoryFile.hxx
 create mode 100755 modules/history_manager/src/cpp/HistoryManager.cpp
 create mode 100755 modules/history_manager/src/cpp/HistoryManager.hxx
 create mode 100755 modules/history_manager/src/cpp/HistorySearch.cpp
 create mode 100755 modules/history_manager/src/cpp/HistorySearch.hxx
 create mode 100755 modules/history_manager/src/cpp/libscihistory_manager_algo_la-CommandLine.lo
 create mode 100755 modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistoryFile.lo
 create mode 100755 modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistoryManager.lo
 create mode 100755 modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistorySearch.lo
 create mode 100755 modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryManagement.java
 create mode 100755 modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryManagementJNI.java
 create mode 100755 modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryPrefs.java
 create mode 100755 modules/history_manager/src/jni/.deps/.dirstamp
 create mode 100755 modules/history_manager/src/jni/.deps/libscihistory_manager_algo_la-HistoryManagement_wrap.Plo
 create mode 100755 modules/history_manager/src/jni/.dirstamp
 create mode 100755 modules/history_manager/src/jni/.libs/libscihistory_manager_algo_la-HistoryManagement_wrap.o
 create mode 100755 modules/history_manager/src/jni/HistoryManagement.i
 create mode 100755 modules/history_manager/src/jni/HistoryManagement_wrap.c
 create mode 100755 modules/history_manager/src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo
 create mode 100755 modules/history_manager/tests/nonreg_tests/bug_10415.dia.ref
 create mode 100755 modules/history_manager/tests/nonreg_tests/bug_10415.tst
 create mode 100755 modules/history_manager/tests/nonreg_tests/bug_12333.dia.ref
 create mode 100755 modules/history_manager/tests/nonreg_tests/bug_12333.tst
 create mode 100755 modules/history_manager/tests/nonreg_tests/bug_4012.tst
 create mode 100755 modules/history_manager/tests/nonreg_tests/bug_9498.tst
 create mode 100755 modules/history_manager/tests/unit_tests/historyfile.encoding.dia.ref
 create mode 100755 modules/history_manager/tests/unit_tests/historyfile.encoding.tst
 create mode 100755 modules/history_manager/tests/unit_tests/historysize.dia.ref
 create mode 100755 modules/history_manager/tests/unit_tests/historysize.tst
 create mode 100755 modules/history_manager/tests/unit_tests/removelinehistory.dia.ref
 create mode 100755 modules/history_manager/tests/unit_tests/removelinehistory.tst

(limited to 'modules/history_manager')

diff --git a/modules/history_manager/.libs/libscihistory_manager-algo.a b/modules/history_manager/.libs/libscihistory_manager-algo.a
new file mode 100755
index 000000000..aa787826a
Binary files /dev/null and b/modules/history_manager/.libs/libscihistory_manager-algo.a differ
diff --git a/modules/history_manager/.libs/libscihistory_manager-algo.la b/modules/history_manager/.libs/libscihistory_manager-algo.la
new file mode 120000
index 000000000..b54071ba5
--- /dev/null
+++ b/modules/history_manager/.libs/libscihistory_manager-algo.la
@@ -0,0 +1 @@
+../libscihistory_manager-algo.la
\ No newline at end of file
diff --git a/modules/history_manager/.libs/libscihistory_manager.la b/modules/history_manager/.libs/libscihistory_manager.la
new file mode 120000
index 000000000..f0d343c47
--- /dev/null
+++ b/modules/history_manager/.libs/libscihistory_manager.la
@@ -0,0 +1 @@
+../libscihistory_manager.la
\ No newline at end of file
diff --git a/modules/history_manager/.libs/libscihistory_manager.lai b/modules/history_manager/.libs/libscihistory_manager.lai
new file mode 100755
index 000000000..897e11565
--- /dev/null
+++ b/modules/history_manager/.libs/libscihistory_manager.lai
@@ -0,0 +1,41 @@
+# libscihistory_manager.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libscihistory_manager.so.5'
+
+# Names of this library.
+library_names='libscihistory_manager.so.5.5.2 libscihistory_manager.so.5 libscihistory_manager.so'
+
+# The name of the static archive.
+old_library=''
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=''
+
+# Libraries that this one depends upon.
+dependency_libs=' -lpthread -ldl -lcurses -lm'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libscihistory_manager.
+current=10
+age=5
+revision=2
+
+# Is this an already installed library?
+installed=yes
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/usr/local/lib/scilab'
diff --git a/modules/history_manager/.libs/libscihistory_manager.so b/modules/history_manager/.libs/libscihistory_manager.so
new file mode 120000
index 000000000..23e12345d
--- /dev/null
+++ b/modules/history_manager/.libs/libscihistory_manager.so
@@ -0,0 +1 @@
+libscihistory_manager.so.5.5.2
\ No newline at end of file
diff --git a/modules/history_manager/.libs/libscihistory_manager.so.5 b/modules/history_manager/.libs/libscihistory_manager.so.5
new file mode 120000
index 000000000..23e12345d
--- /dev/null
+++ b/modules/history_manager/.libs/libscihistory_manager.so.5
@@ -0,0 +1 @@
+libscihistory_manager.so.5.5.2
\ No newline at end of file
diff --git a/modules/history_manager/.libs/libscihistory_manager.so.5.5.2 b/modules/history_manager/.libs/libscihistory_manager.so.5.5.2
new file mode 100755
index 000000000..96c742d01
Binary files /dev/null and b/modules/history_manager/.libs/libscihistory_manager.so.5.5.2 differ
diff --git a/modules/history_manager/Makefile b/modules/history_manager/Makefile
new file mode 100755
index 000000000..d1f723a4e
--- /dev/null
+++ b/modules/history_manager/Makefile
@@ -0,0 +1,1684 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# modules/history_manager/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2007 - INRIA - Allan CORNET
+#
+# This file is distributed under the same license as the Scilab package.
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
+# Copyright (C) 2008      - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution.  The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+#
+
+##########
+### Makefile included stuff
+### Target, variable, suffixes which are supposed to be useful in every makefile.am
+##########
+
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
+    case $$MAKEFLAGS in \
+      *\\[\ \	]*) \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/scilab
+pkgincludedir = $(includedir)/scilab
+pkglibdir = $(libdir)/scilab
+pkglibexecdir = $(libexecdir)/scilab
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+
+# List of the c files
+am__append_1 = src/jni/HistoryManagement_wrap.c
+DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
+	$(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \
+	$(top_srcdir)/config/depcomp \
+	$(libscihistory_manager_la_include_HEADERS)
+am__append_2 = java
+subdir = modules/history_manager
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
+	$(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
+	$(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
+	$(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
+	$(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
+	$(top_srcdir)/m4/intel_compiler.m4 \
+	$(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
+	$(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
+	$(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
+	$(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
+	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+	$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
+	$(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
+	$(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
+	$(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
+	$(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
+	$(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(pkglibdir)" \
+	"$(DESTDIR)$(libscihistory_manager_la_etcdir)" \
+	"$(DESTDIR)$(libscihistory_manager_la_rootdir)" \
+	"$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)" \
+	"$(DESTDIR)$(libscihistory_manager_la_includedir)"
+LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
+libscihistory_manager_algo_la_LIBADD =
+am__libscihistory_manager_algo_la_SOURCES_DIST =  \
+	src/c/getCommentDateSession.c src/jni/HistoryManagement_wrap.c \
+	src/cpp/CommandLine.cpp src/cpp/HistoryFile.cpp \
+	src/cpp/HistoryManager.cpp src/cpp/HistorySearch.cpp
+am__dirstamp = $(am__leading_dot)dirstamp
+am__objects_1 = src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo
+am__objects_2 =  \
+	src/c/libscihistory_manager_algo_la-getCommentDateSession.lo \
+	$(am__objects_1)
+am__objects_3 = src/cpp/libscihistory_manager_algo_la-CommandLine.lo \
+	src/cpp/libscihistory_manager_algo_la-HistoryFile.lo \
+	src/cpp/libscihistory_manager_algo_la-HistoryManager.lo \
+	src/cpp/libscihistory_manager_algo_la-HistorySearch.lo
+am_libscihistory_manager_algo_la_OBJECTS = $(am__objects_2) \
+	$(am__objects_3)
+libscihistory_manager_algo_la_OBJECTS =  \
+	$(am_libscihistory_manager_algo_la_OBJECTS)
+AM_V_lt = $(am__v_lt_$(V))
+am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
+am__v_lt_0 = --silent
+am__v_lt_1 = 
+libscihistory_manager_la_DEPENDENCIES = libscihistory_manager-algo.la
+am__objects_4 =  \
+	sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_historysize.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo
+am_libscihistory_manager_la_OBJECTS = $(am__objects_4)
+libscihistory_manager_la_OBJECTS =  \
+	$(am_libscihistory_manager_la_OBJECTS)
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 = 
+DEFAULT_INCLUDES = -I. -I$(top_builddir)/modules/core/includes
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_$(V))
+am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
+am__v_CC_0 = @echo "  CC      " $@;
+am__v_CC_1 = 
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_$(V))
+am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
+am__v_CCLD_0 = @echo "  CCLD    " $@;
+am__v_CCLD_1 = 
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
+	$(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CXXFLAGS) $(CXXFLAGS)
+AM_V_CXX = $(am__v_CXX_$(V))
+am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY))
+am__v_CXX_0 = @echo "  CXX     " $@;
+am__v_CXX_1 = 
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
+	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+	$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CXXLD = $(am__v_CXXLD_$(V))
+am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY))
+am__v_CXXLD_0 = @echo "  CXXLD   " $@;
+am__v_CXXLD_1 = 
+SOURCES = $(libscihistory_manager_algo_la_SOURCES) \
+	$(libscihistory_manager_la_SOURCES)
+DIST_SOURCES = $(am__libscihistory_manager_algo_la_SOURCES_DIST) \
+	$(libscihistory_manager_la_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+DATA = $(libscihistory_manager_la_etc_DATA) \
+	$(libscihistory_manager_la_root_DATA) \
+	$(libscihistory_manager_la_sci_gateway_DATA)
+HEADERS = $(libscihistory_manager_la_include_HEADERS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing aclocal-1.14
+ALL_LINGUAS = en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA pl_PL cs_CZ
+ALL_LINGUAS_DOC = en_US fr_FR pt_BR ja_JP ru_RU
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+ANT = /usr/bin/ant
+ANTLR = /usr/share/java/antlr.jar
+AR = ar
+ARPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -larpack
+ASM3 = /usr/share/java/asm3-3.3.2.jar
+AUTOCONF = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoconf
+AUTOHEADER = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoheader
+AUTOMAKE = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing automake-1.14
+AVALON_FRAMEWORK = /home/shashank/scilab-master_5.5.2/thirdparty/avalon-framework.jar
+AWK = mawk
+BATIK = /home/shashank/scilab-master_5.5.2/thirdparty/batik-all-1.7.jar
+BLAS_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lblas
+CC = gcc
+CCACHE = 
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CHECKSTYLE = 
+COBERTURA = /usr/share/java/cobertura.jar
+COMMONS_BEANUTILS = 
+COMMONS_IO = /home/shashank/scilab-master_5.5.2/thirdparty/commons-io.jar
+COMMONS_LOGGING = /home/shashank/scilab-master_5.5.2/thirdparty/commons-logging.jar
+CPP = gcc -E
+CPPFLAGS = 
+CURL_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+CURL_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/curl-config
+CURL_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lcurl -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lssl -lcrypto -lrt -lz
+CURL_VERSION = libcurl 7.19.7
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEMOTOOLS_ENABLE = yes
+DEPDIR = .deps
+DLLTOOL = false
+DOCBOOK_ROOT = /home/shashank/scilab-master_5.5.2/thirdparty/docbook/
+DOXYGEN_BIN = 
+DSYMUTIL = 
+DUMPBIN = 
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+ECJ = /home/shashank/scilab-master_5.5.2/thirdparty/ecj.jar
+EGREP = /bin/grep -E
+EXEEXT = 
+F77 = gfortran
+FFLAGS = -g -O2
+FFTW3_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lfftw3
+FFTW_ENABLE = yes
+FGREP = /bin/grep -F
+FLEXDOCK = /home/shashank/scilab-master_5.5.2/thirdparty/flexdock-1.2.4.jar
+FLIBS =  -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath
+FOP = /home/shashank/scilab-master_5.5.2/thirdparty/fop.jar
+FREEHEP_GRAPHICS2D = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphics2d.jar
+FREEHEP_GRAPHICSIO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio.jar
+FREEHEP_GRAPHICSIO_EMF = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio-emf.jar
+FREEHEP_IO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-io.jar
+FREEHEP_UTIL = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-util.jar
+GENHTML = 
+GETTEXT_MACRO_VERSION = 0.19
+GIWS_BIN = 
+GLUEGEN2_RT = /home/shashank/scilab-master_5.5.2/thirdparty/gluegen2-rt.jar
+GMSGFMT = /usr/bin/msgfmt
+GMSGFMT_015 = /usr/bin/msgfmt
+GRAPHICS_ENABLE = yes
+GREP = /bin/grep
+GUI_ENABLE = yes
+HDF5_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+HDF5_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lhdf5 -lhdf5_hl
+HELP_ENABLE = yes
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+INTLLIBS = 
+INTL_MACOSX_LIBS = 
+JAR = /usr/lib/jvm/java-8-openjdk-amd64/bin/jar
+JAVA = /usr/lib/jvm/java-8-openjdk-amd64/bin/java
+JAVAC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
+JAVAC_DEBUG = off
+JAVADOC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc
+JAVAH = /usr/lib/jvm/java-8-openjdk-amd64/bin/javah
+JAVASCI_ENABLE = yes
+JAVA_ENABLE = yes
+JAVA_G = /usr/lib/jvm/java-8-openjdk-amd64/bin/java
+JAVA_HOME = /usr/lib/jvm/java-8-openjdk-amd64
+JAVA_JNI_INCLUDE = -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux
+JAVA_JNI_LIBS = -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava -lverify -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm
+JDB = /usr/lib/jvm/java-8-openjdk-amd64/bin/jdb
+JEUCLID_CORE = /home/shashank/scilab-master_5.5.2/thirdparty/jeuclid-core.jar
+JGRAPHX = /home/shashank/scilab-master_5.5.2/thirdparty/jgraphx.jar
+JHALL = /home/shashank/scilab-master_5.5.2/thirdparty/jhall.jar
+JLATEXMATH = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-1.0.3.jar
+JLATEXMATH_FOP = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-fop-1.0.3.jar
+JOGL2 = /home/shashank/scilab-master_5.5.2/thirdparty/jogl2.jar
+JROSETTA_API = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-API.jar
+JROSETTA_ENGINE = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-engine.jar
+JUNIT4 = /usr/share/java/junit4.jar
+LAPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -llapack
+LCOV = 
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =  -Wl,--no-as-needed
+LIBICONV = -liconv
+LIBINTL = 
+LIBM = -lm
+LIBOBJS = 
+LIBS = -lpthread -ldl -lcurses  -lm
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIPO = 
+LN_S = ln -s
+LOGGING_LEVEL = SEVERE
+LOOKS = /home/shashank/scilab-master_5.5.2/thirdparty/looks-2.1.1.jar
+LTLIBICONV = -liconv
+LTLIBINTL = 
+LTLIBOBJS = 
+MAINT = #
+MAKEINFO = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing makeinfo
+MANIFEST_TOOL = :
+MATIO_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+MATIO_ENABLE = yes
+MATIO_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lm -lz -lmatio -lhdf5
+MKDIR_P = /bin/mkdir -p
+MPI_ENABLE = no
+MSGCAT = /usr/bin/msgcat
+MSGFMT = /usr/bin/msgfmt
+MSGFMT_015 = /usr/bin/msgfmt
+MSGMERGE = /usr/bin/msgmerge
+NM = nm
+NMEDIT = 
+OBJDUMP = objdump
+OBJEXT = o
+OCAMLC = ocamlc
+OCAMLDEP = ocamldep
+OCAMLLEX = ocamllex
+OCAMLOPT = ocamlopt
+OCAMLYACC = ocamlyacc
+OPENMPI_CC = 
+OPENMPI_CFLAGS = 
+OPENMPI_CXX = 
+OPENMPI_CXXFLAGS = 
+OPENMPI_LIBS = 
+OPENMP_CFLAGS = -fopenmp
+OPENMP_CXXFLAGS = -fopenmp
+OPENMP_ENABLE = yes
+OPENMP_LIBS = -lgomp -lstdc++
+OTOOL = 
+OTOOL64 = 
+PACKAGE = scilab
+PACKAGE_BUGREPORT = http://bugzilla.scilab.org/
+PACKAGE_NAME = Scilab
+PACKAGE_STRING = Scilab 5
+PACKAGE_TARNAME = scilab
+PACKAGE_URL = 
+PACKAGE_VERSION = 5
+PATH_SEPARATOR = :
+PCRE_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+PCRE_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/pcre-config
+PCRE_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lpcreposix -lpcre
+PCRE_VERSION = 8.35
+PKG_CONFIG = /usr/bin/pkg-config
+POSUB = po
+POW_LIB = 
+PYTHON = 
+RANLIB = ranlib
+RELOCATABLE = no
+RT_LIB = -lrt
+SAXON = /home/shashank/scilab-master_5.5.2/thirdparty/saxon9he.jar
+SCILAB_BINARY_VERSION = 5.5.2
+SCILAB_LIBRARY_VERSION = 5:5:2
+SCILAB_VERSION_MAINTENANCE = 2
+SCILAB_VERSION_MAJOR = 5
+SCILAB_VERSION_MINOR = 5
+SCIRENDERER = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar
+SCIRENDERER_CP = $SCILAB/modules/scirenderer/jar/scirenderer.jar
+SCI_CFLAGS = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector
+SCI_CXXFLAGS = -DNDEBUG -fno-stack-protector
+SCI_FFLAGS = -DNDEBUG -m64 -fPIC
+SCI_LDFLAGS = 
+SED = /bin/sed
+SET_MAKE = 
+SET_RELOCATABLE = 
+SHELL = /bin/bash
+SKINLF = /home/shashank/scilab-master_5.5.2/thirdparty/skinlf.jar
+SPLINT = no
+STRIP = strip
+SWIG_BIN = 
+SWIG_JAVA = 
+SWIG_RUNTIME_LIBS_DIR = 
+SWIG_SCILAB = 
+TCLTK_LIBS =  -L/home/shashank/scilab-master_5.5.2/usr/lib -ltk8.5   -L/home/shashank/scilab-master_5.5.2/usr/lib -ltcl8.5  -ldl
+TCL_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include
+TK_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include
+UMFPACK_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+UMFPACK_ENABLE = yes
+UMFPACK_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lumfpack -lamd
+USE_NLS = yes
+VERSION = 5
+WITH_OCAML = 
+WITH_TKSCI = yes
+XCOS_ENABLE = yes
+XGETTEXT = /usr/bin/xgettext
+XGETTEXT_015 = /usr/bin/xgettext
+XGETTEXT_EXTRA_OPTIONS = 
+XMKMF = 
+XMLGRAPHICS_COMMONS = /home/shashank/scilab-master_5.5.2/thirdparty/xmlgraphics-commons-1.4.jar
+XML_APIS_EXT = /home/shashank/scilab-master_5.5.2/thirdparty/xml-apis-ext.jar
+XML_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/xml2-config
+XML_FLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include/libxml2
+XML_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lxml2 -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lz -lm -ldl
+XML_VERSION = 2.9.1
+X_CFLAGS = 
+X_EXTRA_LIBS = 
+X_LIBS = 
+X_PRE_LIBS = 
+abs_builddir = /home/shashank/scilab-master_5.5.2/modules/history_manager
+abs_srcdir = /home/shashank/scilab-master_5.5.2/modules/history_manager
+abs_top_builddir = /home/shashank/scilab-master_5.5.2
+abs_top_srcdir = /home/shashank/scilab-master_5.5.2
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN = 
+ac_ct_F77 = gfortran
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+cxx_present = yes
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /home/shashank/scilab-master_5.5.2/config/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias = 
+top_build_prefix = ../../
+top_builddir = ../..
+top_srcdir = ../..
+
+# List of the cpp files
+HISTORY_MANAGER_CXX_SOURCES = src/cpp/CommandLine.cpp \
+src/cpp/HistoryFile.cpp \
+src/cpp/HistoryManager.cpp \
+src/cpp/HistorySearch.cpp
+
+# List of the c files
+HISTORY_MANAGER_C_SOURCES = src/c/getCommentDateSession.c \
+	$(am__append_1)
+
+# List of the gateway c files
+GATEWAY_C_SOURCES = sci_gateway/c/gw_history_manager.c \
+sci_gateway/c/sci_addhistory.c  \
+sci_gateway/c/sci_displayhistory.c  \
+sci_gateway/c/sci_gethistory.c  \
+sci_gateway/c/sci_gethistoryfile.c  \
+sci_gateway/c/sci_historysize.c  \
+sci_gateway/c/sci_loadhistory.c  \
+sci_gateway/c/sci_removelinehistory.c  \
+sci_gateway/c/sci_resethistory.c  \
+sci_gateway/c/sci_saveafterncommands.c  \
+sci_gateway/c/sci_saveconsecutivecommands.c  \
+sci_gateway/c/sci_savehistory.c  \
+sci_gateway/c/sci_sethistoryfile.c  \
+sci_gateway/c/sci_historymanager.c
+
+USEANT = 1
+GIWS_WRAPPERS = 
+#BUILT_SOURCES = giws
+#BUILT_SOURCES = swig
+
+# Includes need for the compilation
+libscihistory_manager_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \
+-I$(srcdir)/includes/ \
+-I$(srcdir)/src/cpp/ \
+-I$(srcdir)/src/c/ \
+-I$(srcdir)/src/jni/ \
+-I$(top_srcdir)/modules/api_scilab/includes/ \
+-I$(top_srcdir)/modules/console/includes/ \
+-I$(top_srcdir)/modules/fileio/includes/ \
+-I$(top_srcdir)/modules/history_browser/includes/ \
+-I$(top_srcdir)/modules/history_manager/includes/ \
+-I$(top_srcdir)/modules/preferences/includes/ \
+-I$(top_srcdir)/modules/localization/includes/ \
+-I$(top_srcdir)/modules/output_stream/includes/ \
+$(AM_CPPFLAGS)
+
+
+# Name of the future library (.la will be replace by .so, .a, etc regarding
+# the system)
+pkglib_LTLIBRARIES = libscihistory_manager.la
+noinst_LTLIBRARIES = libscihistory_manager-algo.la
+
+# All the sources needed by libscihistory_manager.la
+libscihistory_manager_algo_la_SOURCES = $(HISTORY_MANAGER_C_SOURCES) $(HISTORY_MANAGER_CXX_SOURCES)
+libscihistory_manager_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscihistory_manager_algo_la_CPPFLAGS = $(libscihistory_manager_la_CPPFLAGS)
+
+# For the code check (splint)
+CHECK_SRC = $(HISTORY_MANAGER_C_SOURCES) $(GATEWAY_C_SOURCES)
+INCLUDE_FLAGS = $(libscihistory_manager_la_CPPFLAGS)
+libscihistory_manager_la_LIBADD = libscihistory_manager-algo.la
+modulename = history_manager
+
+#### history_manager : Conf files ####
+libscihistory_manager_la_rootdir = $(mydatadir)
+libscihistory_manager_la_root_DATA = license.txt
+
+#### history_manager : init scripts ####
+libscihistory_manager_la_etcdir = $(mydatadir)/etc
+libscihistory_manager_la_etc_DATA = \
+	etc/history_manager.quit \
+	etc/history_manager.start \
+	etc/XConfiguration-history.xml \
+	etc/XConfiguration-history.xsl
+
+
+#### history_manager : gateway declaration ####
+libscihistory_manager_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libscihistory_manager_la_sci_gateway_DATA = sci_gateway/history_manager_gateway.xml
+
+#### history_manager : include files ####
+libscihistory_manager_la_includedir = $(pkgincludedir)
+libscihistory_manager_la_include_HEADERS = includes/gw_history_manager.h \
+includes/HistoryManager.h \
+includes/InitializeHistoryManager.h \
+includes/TerminateHistoryManager.h \
+includes/dynlib_history_manager.h
+
+
+#### SWIG Declaration ####
+SWIG_WRAPPERS = src/jni/HistoryManagement.i
+
+# Where all the Scilab stuff is installed (macros, help, ...)
+mydatadir = $(pkgdatadir)/modules/$(modulename)
+
+# Set AM_* SCI detected settings
+AM_CPPFLAGS = $(SCI_CPPFLAGS)
+AM_CFLAGS = $(SCI_CFLAGS)
+AM_CXXFLAGS = $(SCI_CXXFLAGS)
+# append includes to AM_FFLAGS to manage fortran includes
+AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
+
+# Tag shared libraries with the Scilab version
+AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
+
+# splint options
+SPLINT_OPTIONS = -weak -booltype BOOL
+
+########################### JAVA ######################################
+#### We are delegating java compilation to ant... Thanks to that
+#### the procedure will be the same with Microsoft Windows (C)
+#### and Linux/Unix
+#######################################################################
+TARGETS_ALL = $(am__append_2)
+
+################ MACROS ######################
+# Rule to build a macro
+# NOT USED  AT THE MOMENT
+SUFFIXES = .sci 
+
+########### INSTALL DOCUMENTATION ###################
+
+# Install documentation files into the right target
+# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
+# automake needs the html files to be present which is not the case when
+# we are building Scilab
+
+# Where it should be installed
+pkgdocdir = $(mydatadir)
+
+# What is the mask of the help source
+DOCMASKXML = *.xml
+
+# What is the mask of the MathML sources
+DOCMASKMML = *.mml
+
+########### INSTALL DATA ###################
+# Install macros, help & demos
+# Where it should be installed
+pkgmacrosdir = $(mydatadir)
+# Which directory we process
+MACRODIRS = macros/
+# Mask of the Scilab sources macros
+MACROMASK = *.sci
+# Mask of the Scilab executable sources macros
+MACROBUILDMASK = *.sce
+# Mask of the Scilab compiled macros
+MACROBINMASK = *.bin
+# List of the standard directory for tests
+TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
+# Where the demos should be installed
+pkgdemosdir = $(mydatadir)
+# List of the standard directory for demos
+DEMOS_DIR = demos
+# List of the standard directory for examples
+EXAMPLES_DIR = examples
+# Where to export JAVA archives (.jar)
+JARDIR = jar/
+# JAR files mask
+JARMASK = *.jar
+# Chapter file 
+HELP_CHAPTERDIR = help/
+HELP_CHAPTERFILE = addchapter.sce
+HELP_CHAPTERLANG = en_US fr_FR pt_BR
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .sci .bin .c .cpp .lo .o .obj
+$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+	        && { if test -f $@; then exit 0; else break; fi; }; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/history_manager/Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign modules/history_manager/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+$(top_srcdir)/Makefile.incl.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: # $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-noinstLTLIBRARIES:
+	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+	@list='$(noinst_LTLIBRARIES)'; \
+	locs=`for p in $$list; do echo $$p; done | \
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+	      sort -u`; \
+	test -z "$$locs" || { \
+	  echo rm -f $${locs}; \
+	  rm -f $${locs}; \
+	}
+
+install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
+	@$(NORMAL_INSTALL)
+	@list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+	list2=; for p in $$list; do \
+	  if test -f $$p; then \
+	    list2="$$list2 $$p"; \
+	  else :; fi; \
+	done; \
+	test -z "$$list2" || { \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
+	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
+	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
+	}
+
+uninstall-pkglibLTLIBRARIES:
+	@$(NORMAL_UNINSTALL)
+	@list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+	for p in $$list; do \
+	  $(am__strip_dir) \
+	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
+	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
+	done
+
+clean-pkglibLTLIBRARIES:
+	-test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
+	@list='$(pkglib_LTLIBRARIES)'; \
+	locs=`for p in $$list; do echo $$p; done | \
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+	      sort -u`; \
+	test -z "$$locs" || { \
+	  echo rm -f $${locs}; \
+	  rm -f $${locs}; \
+	}
+src/c/$(am__dirstamp):
+	@$(MKDIR_P) src/c
+	@: > src/c/$(am__dirstamp)
+src/c/$(DEPDIR)/$(am__dirstamp):
+	@$(MKDIR_P) src/c/$(DEPDIR)
+	@: > src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscihistory_manager_algo_la-getCommentDateSession.lo:  \
+	src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp)
+src/jni/$(am__dirstamp):
+	@$(MKDIR_P) src/jni
+	@: > src/jni/$(am__dirstamp)
+src/jni/$(DEPDIR)/$(am__dirstamp):
+	@$(MKDIR_P) src/jni/$(DEPDIR)
+	@: > src/jni/$(DEPDIR)/$(am__dirstamp)
+src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo:  \
+	src/jni/$(am__dirstamp) src/jni/$(DEPDIR)/$(am__dirstamp)
+src/cpp/$(am__dirstamp):
+	@$(MKDIR_P) src/cpp
+	@: > src/cpp/$(am__dirstamp)
+src/cpp/$(DEPDIR)/$(am__dirstamp):
+	@$(MKDIR_P) src/cpp/$(DEPDIR)
+	@: > src/cpp/$(DEPDIR)/$(am__dirstamp)
+src/cpp/libscihistory_manager_algo_la-CommandLine.lo:  \
+	src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp)
+src/cpp/libscihistory_manager_algo_la-HistoryFile.lo:  \
+	src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp)
+src/cpp/libscihistory_manager_algo_la-HistoryManager.lo:  \
+	src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp)
+src/cpp/libscihistory_manager_algo_la-HistorySearch.lo:  \
+	src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp)
+
+libscihistory_manager-algo.la: $(libscihistory_manager_algo_la_OBJECTS) $(libscihistory_manager_algo_la_DEPENDENCIES) $(EXTRA_libscihistory_manager_algo_la_DEPENDENCIES) 
+	$(AM_V_CXXLD)$(CXXLINK)  $(libscihistory_manager_algo_la_OBJECTS) $(libscihistory_manager_algo_la_LIBADD) $(LIBS)
+sci_gateway/c/$(am__dirstamp):
+	@$(MKDIR_P) sci_gateway/c
+	@: > sci_gateway/c/$(am__dirstamp)
+sci_gateway/c/$(DEPDIR)/$(am__dirstamp):
+	@$(MKDIR_P) sci_gateway/c/$(DEPDIR)
+	@: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_historysize.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+
+libscihistory_manager.la: $(libscihistory_manager_la_OBJECTS) $(libscihistory_manager_la_DEPENDENCIES) $(EXTRA_libscihistory_manager_la_DEPENDENCIES) 
+	$(AM_V_CCLD)$(LINK) -rpath $(pkglibdir) $(libscihistory_manager_la_OBJECTS) $(libscihistory_manager_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+	-rm -f sci_gateway/c/*.$(OBJEXT)
+	-rm -f sci_gateway/c/*.lo
+	-rm -f src/c/*.$(OBJEXT)
+	-rm -f src/c/*.lo
+	-rm -f src/cpp/*.$(OBJEXT)
+	-rm -f src/cpp/*.lo
+	-rm -f src/jni/*.$(OBJEXT)
+	-rm -f src/jni/*.lo
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-gw_history_manager.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_addhistory.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_displayhistory.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistory.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistoryfile.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historymanager.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historysize.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_loadhistory.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_removelinehistory.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_resethistory.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveafterncommands.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveconsecutivecommands.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_savehistory.Plo
+include sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_sethistoryfile.Plo
+include src/c/$(DEPDIR)/libscihistory_manager_algo_la-getCommentDateSession.Plo
+include src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-CommandLine.Plo
+include src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryFile.Plo
+include src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManager.Plo
+include src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistorySearch.Plo
+include src/jni/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManagement_wrap.Plo
+
+.c.o:
+	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+	$(am__mv) $$depbase.Tpo $$depbase.Po
+#	$(AM_V_CC)source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+	$(am__mv) $$depbase.Tpo $$depbase.Po
+#	$(AM_V_CC)source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+	$(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+	$(am__mv) $$depbase.Tpo $$depbase.Plo
+#	$(AM_V_CC)source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LTCOMPILE) -c -o $@ $<
+
+src/c/libscihistory_manager_algo_la-getCommentDateSession.lo: src/c/getCommentDateSession.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscihistory_manager_algo_la-getCommentDateSession.lo -MD -MP -MF src/c/$(DEPDIR)/libscihistory_manager_algo_la-getCommentDateSession.Tpo -c -o src/c/libscihistory_manager_algo_la-getCommentDateSession.lo `test -f 'src/c/getCommentDateSession.c' || echo '$(srcdir)/'`src/c/getCommentDateSession.c
+	$(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscihistory_manager_algo_la-getCommentDateSession.Tpo src/c/$(DEPDIR)/libscihistory_manager_algo_la-getCommentDateSession.Plo
+#	$(AM_V_CC)source='src/c/getCommentDateSession.c' object='src/c/libscihistory_manager_algo_la-getCommentDateSession.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscihistory_manager_algo_la-getCommentDateSession.lo `test -f 'src/c/getCommentDateSession.c' || echo '$(srcdir)/'`src/c/getCommentDateSession.c
+
+src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo: src/jni/HistoryManagement_wrap.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo -MD -MP -MF src/jni/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManagement_wrap.Tpo -c -o src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo `test -f 'src/jni/HistoryManagement_wrap.c' || echo '$(srcdir)/'`src/jni/HistoryManagement_wrap.c
+	$(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManagement_wrap.Tpo src/jni/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManagement_wrap.Plo
+#	$(AM_V_CC)source='src/jni/HistoryManagement_wrap.c' object='src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo `test -f 'src/jni/HistoryManagement_wrap.c' || echo '$(srcdir)/'`src/jni/HistoryManagement_wrap.c
+
+sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo: sci_gateway/c/gw_history_manager.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-gw_history_manager.Tpo -c -o sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo `test -f 'sci_gateway/c/gw_history_manager.c' || echo '$(srcdir)/'`sci_gateway/c/gw_history_manager.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-gw_history_manager.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-gw_history_manager.Plo
+#	$(AM_V_CC)source='sci_gateway/c/gw_history_manager.c' object='sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo `test -f 'sci_gateway/c/gw_history_manager.c' || echo '$(srcdir)/'`sci_gateway/c/gw_history_manager.c
+
+sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo: sci_gateway/c/sci_addhistory.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_addhistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo `test -f 'sci_gateway/c/sci_addhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_addhistory.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_addhistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_addhistory.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_addhistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo `test -f 'sci_gateway/c/sci_addhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_addhistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo: sci_gateway/c/sci_displayhistory.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_displayhistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo `test -f 'sci_gateway/c/sci_displayhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_displayhistory.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_displayhistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_displayhistory.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_displayhistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo `test -f 'sci_gateway/c/sci_displayhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_displayhistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo: sci_gateway/c/sci_gethistory.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo `test -f 'sci_gateway/c/sci_gethistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_gethistory.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistory.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_gethistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo `test -f 'sci_gateway/c/sci_gethistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_gethistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo: sci_gateway/c/sci_gethistoryfile.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistoryfile.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo `test -f 'sci_gateway/c/sci_gethistoryfile.c' || echo '$(srcdir)/'`sci_gateway/c/sci_gethistoryfile.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistoryfile.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistoryfile.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_gethistoryfile.c' object='sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo `test -f 'sci_gateway/c/sci_gethistoryfile.c' || echo '$(srcdir)/'`sci_gateway/c/sci_gethistoryfile.c
+
+sci_gateway/c/libscihistory_manager_la-sci_historysize.lo: sci_gateway/c/sci_historysize.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_historysize.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historysize.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_historysize.lo `test -f 'sci_gateway/c/sci_historysize.c' || echo '$(srcdir)/'`sci_gateway/c/sci_historysize.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historysize.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historysize.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_historysize.c' object='sci_gateway/c/libscihistory_manager_la-sci_historysize.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_historysize.lo `test -f 'sci_gateway/c/sci_historysize.c' || echo '$(srcdir)/'`sci_gateway/c/sci_historysize.c
+
+sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo: sci_gateway/c/sci_loadhistory.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_loadhistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo `test -f 'sci_gateway/c/sci_loadhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_loadhistory.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_loadhistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_loadhistory.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_loadhistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo `test -f 'sci_gateway/c/sci_loadhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_loadhistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo: sci_gateway/c/sci_removelinehistory.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_removelinehistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo `test -f 'sci_gateway/c/sci_removelinehistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_removelinehistory.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_removelinehistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_removelinehistory.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_removelinehistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo `test -f 'sci_gateway/c/sci_removelinehistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_removelinehistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo: sci_gateway/c/sci_resethistory.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_resethistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo `test -f 'sci_gateway/c/sci_resethistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_resethistory.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_resethistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_resethistory.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_resethistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo `test -f 'sci_gateway/c/sci_resethistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_resethistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo: sci_gateway/c/sci_saveafterncommands.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveafterncommands.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo `test -f 'sci_gateway/c/sci_saveafterncommands.c' || echo '$(srcdir)/'`sci_gateway/c/sci_saveafterncommands.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveafterncommands.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveafterncommands.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_saveafterncommands.c' object='sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo `test -f 'sci_gateway/c/sci_saveafterncommands.c' || echo '$(srcdir)/'`sci_gateway/c/sci_saveafterncommands.c
+
+sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo: sci_gateway/c/sci_saveconsecutivecommands.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveconsecutivecommands.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo `test -f 'sci_gateway/c/sci_saveconsecutivecommands.c' || echo '$(srcdir)/'`sci_gateway/c/sci_saveconsecutivecommands.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveconsecutivecommands.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveconsecutivecommands.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_saveconsecutivecommands.c' object='sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo `test -f 'sci_gateway/c/sci_saveconsecutivecommands.c' || echo '$(srcdir)/'`sci_gateway/c/sci_saveconsecutivecommands.c
+
+sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo: sci_gateway/c/sci_savehistory.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_savehistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo `test -f 'sci_gateway/c/sci_savehistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_savehistory.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_savehistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_savehistory.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_savehistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo `test -f 'sci_gateway/c/sci_savehistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_savehistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo: sci_gateway/c/sci_sethistoryfile.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_sethistoryfile.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo `test -f 'sci_gateway/c/sci_sethistoryfile.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sethistoryfile.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_sethistoryfile.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_sethistoryfile.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_sethistoryfile.c' object='sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo `test -f 'sci_gateway/c/sci_sethistoryfile.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sethistoryfile.c
+
+sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo: sci_gateway/c/sci_historymanager.c
+	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historymanager.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo `test -f 'sci_gateway/c/sci_historymanager.c' || echo '$(srcdir)/'`sci_gateway/c/sci_historymanager.c
+	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historymanager.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historymanager.Plo
+#	$(AM_V_CC)source='sci_gateway/c/sci_historymanager.c' object='sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo `test -f 'sci_gateway/c/sci_historymanager.c' || echo '$(srcdir)/'`sci_gateway/c/sci_historymanager.c
+
+.cpp.o:
+	$(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+	$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+	$(am__mv) $$depbase.Tpo $$depbase.Po
+#	$(AM_V_CXX)source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+#	$(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+	$(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+	$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+	$(am__mv) $$depbase.Tpo $$depbase.Po
+#	$(AM_V_CXX)source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+#	$(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+	$(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+	$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+	$(am__mv) $$depbase.Tpo $$depbase.Plo
+#	$(AM_V_CXX)source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+#	$(AM_V_CXX_no)$(LTCXXCOMPILE) -c -o $@ $<
+
+src/cpp/libscihistory_manager_algo_la-CommandLine.lo: src/cpp/CommandLine.cpp
+	$(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscihistory_manager_algo_la-CommandLine.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-CommandLine.Tpo -c -o src/cpp/libscihistory_manager_algo_la-CommandLine.lo `test -f 'src/cpp/CommandLine.cpp' || echo '$(srcdir)/'`src/cpp/CommandLine.cpp
+	$(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-CommandLine.Tpo src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-CommandLine.Plo
+#	$(AM_V_CXX)source='src/cpp/CommandLine.cpp' object='src/cpp/libscihistory_manager_algo_la-CommandLine.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+#	$(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscihistory_manager_algo_la-CommandLine.lo `test -f 'src/cpp/CommandLine.cpp' || echo '$(srcdir)/'`src/cpp/CommandLine.cpp
+
+src/cpp/libscihistory_manager_algo_la-HistoryFile.lo: src/cpp/HistoryFile.cpp
+	$(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscihistory_manager_algo_la-HistoryFile.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryFile.Tpo -c -o src/cpp/libscihistory_manager_algo_la-HistoryFile.lo `test -f 'src/cpp/HistoryFile.cpp' || echo '$(srcdir)/'`src/cpp/HistoryFile.cpp
+	$(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryFile.Tpo src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryFile.Plo
+#	$(AM_V_CXX)source='src/cpp/HistoryFile.cpp' object='src/cpp/libscihistory_manager_algo_la-HistoryFile.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+#	$(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscihistory_manager_algo_la-HistoryFile.lo `test -f 'src/cpp/HistoryFile.cpp' || echo '$(srcdir)/'`src/cpp/HistoryFile.cpp
+
+src/cpp/libscihistory_manager_algo_la-HistoryManager.lo: src/cpp/HistoryManager.cpp
+	$(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscihistory_manager_algo_la-HistoryManager.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManager.Tpo -c -o src/cpp/libscihistory_manager_algo_la-HistoryManager.lo `test -f 'src/cpp/HistoryManager.cpp' || echo '$(srcdir)/'`src/cpp/HistoryManager.cpp
+	$(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManager.Tpo src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManager.Plo
+#	$(AM_V_CXX)source='src/cpp/HistoryManager.cpp' object='src/cpp/libscihistory_manager_algo_la-HistoryManager.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+#	$(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscihistory_manager_algo_la-HistoryManager.lo `test -f 'src/cpp/HistoryManager.cpp' || echo '$(srcdir)/'`src/cpp/HistoryManager.cpp
+
+src/cpp/libscihistory_manager_algo_la-HistorySearch.lo: src/cpp/HistorySearch.cpp
+	$(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscihistory_manager_algo_la-HistorySearch.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistorySearch.Tpo -c -o src/cpp/libscihistory_manager_algo_la-HistorySearch.lo `test -f 'src/cpp/HistorySearch.cpp' || echo '$(srcdir)/'`src/cpp/HistorySearch.cpp
+	$(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistorySearch.Tpo src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistorySearch.Plo
+#	$(AM_V_CXX)source='src/cpp/HistorySearch.cpp' object='src/cpp/libscihistory_manager_algo_la-HistorySearch.lo' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+#	$(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscihistory_manager_algo_la-HistorySearch.lo `test -f 'src/cpp/HistorySearch.cpp' || echo '$(srcdir)/'`src/cpp/HistorySearch.cpp
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+	-rm -rf sci_gateway/c/.libs sci_gateway/c/_libs
+	-rm -rf src/c/.libs src/c/_libs
+	-rm -rf src/cpp/.libs src/cpp/_libs
+	-rm -rf src/jni/.libs src/jni/_libs
+install-libscihistory_manager_la_etcDATA: $(libscihistory_manager_la_etc_DATA)
+	@$(NORMAL_INSTALL)
+	@list='$(libscihistory_manager_la_etc_DATA)'; test -n "$(libscihistory_manager_la_etcdir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(libscihistory_manager_la_etcdir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(libscihistory_manager_la_etcdir)" || exit 1; \
+	fi; \
+	for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  echo "$$d$$p"; \
+	done | $(am__base_list) | \
+	while read files; do \
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscihistory_manager_la_etcdir)'"; \
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(libscihistory_manager_la_etcdir)" || exit $$?; \
+	done
+
+uninstall-libscihistory_manager_la_etcDATA:
+	@$(NORMAL_UNINSTALL)
+	@list='$(libscihistory_manager_la_etc_DATA)'; test -n "$(libscihistory_manager_la_etcdir)" || list=; \
+	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+	dir='$(DESTDIR)$(libscihistory_manager_la_etcdir)'; $(am__uninstall_files_from_dir)
+install-libscihistory_manager_la_rootDATA: $(libscihistory_manager_la_root_DATA)
+	@$(NORMAL_INSTALL)
+	@list='$(libscihistory_manager_la_root_DATA)'; test -n "$(libscihistory_manager_la_rootdir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(libscihistory_manager_la_rootdir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(libscihistory_manager_la_rootdir)" || exit 1; \
+	fi; \
+	for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  echo "$$d$$p"; \
+	done | $(am__base_list) | \
+	while read files; do \
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscihistory_manager_la_rootdir)'"; \
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(libscihistory_manager_la_rootdir)" || exit $$?; \
+	done
+
+uninstall-libscihistory_manager_la_rootDATA:
+	@$(NORMAL_UNINSTALL)
+	@list='$(libscihistory_manager_la_root_DATA)'; test -n "$(libscihistory_manager_la_rootdir)" || list=; \
+	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+	dir='$(DESTDIR)$(libscihistory_manager_la_rootdir)'; $(am__uninstall_files_from_dir)
+install-libscihistory_manager_la_sci_gatewayDATA: $(libscihistory_manager_la_sci_gateway_DATA)
+	@$(NORMAL_INSTALL)
+	@list='$(libscihistory_manager_la_sci_gateway_DATA)'; test -n "$(libscihistory_manager_la_sci_gatewaydir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)" || exit 1; \
+	fi; \
+	for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  echo "$$d$$p"; \
+	done | $(am__base_list) | \
+	while read files; do \
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)'"; \
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)" || exit $$?; \
+	done
+
+uninstall-libscihistory_manager_la_sci_gatewayDATA:
+	@$(NORMAL_UNINSTALL)
+	@list='$(libscihistory_manager_la_sci_gateway_DATA)'; test -n "$(libscihistory_manager_la_sci_gatewaydir)" || list=; \
+	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+	dir='$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir)
+install-libscihistory_manager_la_includeHEADERS: $(libscihistory_manager_la_include_HEADERS)
+	@$(NORMAL_INSTALL)
+	@list='$(libscihistory_manager_la_include_HEADERS)'; test -n "$(libscihistory_manager_la_includedir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(libscihistory_manager_la_includedir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(libscihistory_manager_la_includedir)" || exit 1; \
+	fi; \
+	for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  echo "$$d$$p"; \
+	done | $(am__base_list) | \
+	while read files; do \
+	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscihistory_manager_la_includedir)'"; \
+	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscihistory_manager_la_includedir)" || exit $$?; \
+	done
+
+uninstall-libscihistory_manager_la_includeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(libscihistory_manager_la_include_HEADERS)'; test -n "$(libscihistory_manager_la_includedir)" || list=; \
+	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+	dir='$(DESTDIR)$(libscihistory_manager_la_includedir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+	set x; \
+	here=`pwd`; \
+	$(am__define_uniq_tagged_files); \
+	shift; \
+	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  if test $$# -gt 0; then \
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	      "$$@" $$unique; \
+	  else \
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	      $$unique; \
+	  fi; \
+	fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+	$(am__define_uniq_tagged_files); \
+	test -z "$(CTAGS_ARGS)$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && $(am__cd) $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+	list='$(am__tagged_files)'; \
+	case "$(srcdir)" in \
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+	  *) sdir=$(subdir)/$(srcdir) ;; \
+	esac; \
+	for i in $$list; do \
+	  if test -f "$$i"; then \
+	    echo "$(subdir)/$$i"; \
+	  else \
+	    echo "$$sdir/$$i"; \
+	  fi; \
+	done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	list='$(DISTFILES)'; \
+	  dist_files=`for file in $$list; do echo $$file; done | \
+	  sed -e "s|^$$srcdirstrip/||;t" \
+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+	case $$dist_files in \
+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+			   sort -u` ;; \
+	esac; \
+	for file in $$dist_files; do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  if test -d $$d/$$file; then \
+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d "$(distdir)/$$file"; then \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+	  else \
+	    test -f "$(distdir)/$$file" \
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) check-local
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
+installdirs:
+	for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscihistory_manager_la_etcdir)" "$(DESTDIR)$(libscihistory_manager_la_rootdir)" "$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)" "$(DESTDIR)$(libscihistory_manager_la_includedir)"; do \
+	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+	done
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	if test -z '$(STRIP)'; then \
+	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	      install; \
+	else \
+	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+	fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+	-rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+	-rm -f sci_gateway/c/$(am__dirstamp)
+	-rm -f src/c/$(DEPDIR)/$(am__dirstamp)
+	-rm -f src/c/$(am__dirstamp)
+	-rm -f src/cpp/$(DEPDIR)/$(am__dirstamp)
+	-rm -f src/cpp/$(am__dirstamp)
+	-rm -f src/jni/$(DEPDIR)/$(am__dirstamp)
+	-rm -f src/jni/$(am__dirstamp)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local \
+	clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-local distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local \
+	install-libscihistory_manager_la_etcDATA \
+	install-libscihistory_manager_la_includeHEADERS \
+	install-libscihistory_manager_la_rootDATA \
+	install-libscihistory_manager_la_sci_gatewayDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-pkglibLTLIBRARIES
+
+install-html: install-html-am
+
+install-html-am: install-html-local
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libscihistory_manager_la_etcDATA \
+	uninstall-libscihistory_manager_la_includeHEADERS \
+	uninstall-libscihistory_manager_la_rootDATA \
+	uninstall-libscihistory_manager_la_sci_gatewayDATA \
+	uninstall-pkglibLTLIBRARIES
+
+.MAKE: all check check-am install install-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \
+	check-local clean clean-generic clean-libtool clean-local \
+	clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \
+	ctags ctags-am distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-local distclean-tags distdir dvi \
+	dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-data-local install-dvi \
+	install-dvi-am install-exec install-exec-am install-html \
+	install-html-am install-html-local install-info \
+	install-info-am install-libscihistory_manager_la_etcDATA \
+	install-libscihistory_manager_la_includeHEADERS \
+	install-libscihistory_manager_la_rootDATA \
+	install-libscihistory_manager_la_sci_gatewayDATA install-man \
+	install-pdf install-pdf-am install-pkglibLTLIBRARIES \
+	install-ps install-ps-am install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags tags-am uninstall uninstall-am \
+	uninstall-libscihistory_manager_la_etcDATA \
+	uninstall-libscihistory_manager_la_includeHEADERS \
+	uninstall-libscihistory_manager_la_rootDATA \
+	uninstall-libscihistory_manager_la_sci_gatewayDATA \
+	uninstall-pkglibLTLIBRARIES
+
+
+# This target enables tests for Scilab
+check-local: $(top_builddir)/scilab-bin test
+	if test -d $(mydatadir)/tests; then \
+	  @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
+	fi
+check-code:
+	if test -f build.xml; then \
+		$(ANT) checkstyle; \
+	fi
+	if test -x "$(SPLINT)"; then \
+		$(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
+	fi
+java:
+# Some configurations needs to export JAVA_HOME in the current env
+	@if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+	if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+	if test -f build.xml -a $$USEANT -eq 1; then \
+		$(ANT); \
+	fi
+
+clean-java:
+# Some configurations needs to export JAVA_HOME in the current env
+	@if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+	if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+	if test -f build.xml -a $$USEANT -eq 1; then \
+		$(ANT) clean; \
+	fi;
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++ 
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+#swig: $(SWIG_WRAPPERS)
+#	@SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
+#	SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
+#	if test -n "$(SWIG_WRAPPERS)"; then \
+#		for file in $(SWIG_WRAPPERS) ; do \
+#			echo "Swig process of $$file (Java) ..."; \
+#			$(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
+#		done; \
+#	fi
+
+#swig-scilab: $(SWIG_SCILAB_WRAPPERS)
+#	@SWIG_OUTDIR=src/swig/; \
+#	if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
+#		for file in $(SWIG_SCILAB_WRAPPERS) ; do \
+#			echo "Swig process of $$file (Scilab) ..."; \
+#			$(SWIG_BIN) $(SWIG_SCILAB)  -outdir $$SWIG_OUTDIR $$file; \
+#		done; \
+#	fi
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++ 
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+#giws: $(GIWS_WRAPPERS)
+#	@GIWS_OUTPUTDIR=src/jni/; \
+#	MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
+#	if test -n "$(GIWS_WRAPPERS)"; then \
+#		for file in $(GIWS_WRAPPERS) ; do \
+#			echo "GIWS process of $$file ..."; \
+#			if test -z "$(GIWS_OPTIONS)"; then \
+#				$(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+#			else \
+#				echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
+#				$(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+#			fi \
+#		done; \
+#	fi
+
+#giws-exception:
+#	@GIWS_OUTPUTDIR=src/jni/;\
+#	echo "GIWS: Generation of exception class ..."; \
+#	$(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
+
+macros:
+	-@( if test ! -x $(top_builddir)/scilab-bin; then \
+		echo "Error : Cannot build $< : Scilab has not been built"; \
+	else \
+		$(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
+	fi)
+
+# Removes the macros
+clean-macros:
+# Removes macros (*.bin generated from .sci)
+	@for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+		echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
+		rm -f $(builddir)/$$dir/$(MACROBINMASK); \
+	done
+
+test:
+# More tests could be added here
+	@if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+	if test -f build.xml -a $$USEANT -eq 1; then \
+		$(ANT) test; \
+	fi
+
+all-local: $(TARGETS_ALL)
+
+.sci.bin:
+	-@( if test ! -x $(top_builddir)/scilab-bin; then \
+	echo "Error : Cannot build $< : Scilab has not been build"; \
+	else \
+	echo "Creating $@"; \
+	$(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
+	fi )
+
+install-html-local:
+
+install-data-local-local:
+# Mainly for javasci
+	@if test -d $(srcdir)/javadoc; then \
+		cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
+	fi
+# If the user wants the help sources to be installed
+	@echo "-------- Install of XML sources of help files --------"; \
+	for lang in $(ALL_LINGUAS); do \
+	 if test -d $(srcdir)/help/$$lang; then \
+	  $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
+		if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
+		  for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
+		    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
+	    	$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
+		  done ; \
+		fi; \
+	 fi; \
+	done; \
+	@echo "-------- Install of MathML sources --------"; \
+	 if test -d $(srcdir)/help/mml/; then \
+	  $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
+		if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
+		  for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
+		    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
+	    	$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
+		  done ; \
+		fi; \
+	fi
+install-data-local:
+# Install the tests
+	@echo "-------- Install tests (if any) --------"; \
+	for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
+	  if test -d $(srcdir)/$$dir/; then \
+	    $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+		  for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+		    if test -d "$(srcdir)/$$dir/$$file"; then \
+			  echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
+			  $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
+		    else \
+		      echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+	    	  $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+		    fi \
+		  done; \
+	  fi; \
+	done
+# Install the help chapter
+	@echo "-------- Install the help chapter (if any) --------"; \
+	for lang in $(HELP_CHAPTERLANG); do \
+		HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
+		if test -f $$HELPFILE; then \
+			echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+			$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+			echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+			$(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+		fi; \
+	done
+# Install the demos & examples
+	@echo "-------- Install demos & examples (if any) --------"; \
+	for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
+	  if test -d $(srcdir)/$$dir/; then \
+	    $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+		  for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+		    if test -d "$(srcdir)/$$dir/$$file"; then \
+			  echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
+			  $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
+		    else \
+		      echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+	    	  $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+		    fi \
+		  done; \
+	  fi; \
+	done
+# Install the macros
+	@echo "-------- Install macros (if any) --------"; \
+	for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+	  $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+		if test -d $(srcdir)/$$dir/; then \
+			FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
+			if test -n "$(MACROSSPECIALEXT)"; then \
+				specialExtDir=""; \
+				for specialExt in $(MACROSSPECIALEXT); do \
+					specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+				done; \
+				FILELIST="$$FILELIST $$specialExtDir"; \
+			fi; \
+		  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
+		    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
+	    	$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
+		  done; \
+		fi; \
+	done
+# Install java files (.jar)
+	@if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
+	echo "-------- Install jar files --------"; \
+    $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
+	  for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
+		    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
+	    	$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
+	  done ; \
+	fi
+
+########### CLEAN ###################
+# Clean help (generated automatically by Scilab)
+# It used to clean the macro (clean-macros) but this was causing
+# make clean && make to fail Scilab startup
+clean-local: clean-java
+#clean-local:
+
+distclean-local:
+	rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
+
+.PHONY: macros java swig giws
+
+# Provides macros compilation, Java compilation, cleaning
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/modules/history_manager/Makefile.am b/modules/history_manager/Makefile.am
new file mode 100755
index 000000000..23bd172eb
--- /dev/null
+++ b/modules/history_manager/Makefile.am
@@ -0,0 +1,114 @@
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2007 - INRIA - Allan CORNET
+#
+# This file is distributed under the same license as the Scilab package.
+
+# List of the cpp files
+HISTORY_MANAGER_CXX_SOURCES = src/cpp/CommandLine.cpp \
+src/cpp/HistoryFile.cpp \
+src/cpp/HistoryManager.cpp \
+src/cpp/HistorySearch.cpp
+# List of the c files
+HISTORY_MANAGER_C_SOURCES = src/c/getCommentDateSession.c
+
+# List of the gateway c files
+GATEWAY_C_SOURCES = sci_gateway/c/gw_history_manager.c \
+sci_gateway/c/sci_addhistory.c  \
+sci_gateway/c/sci_displayhistory.c  \
+sci_gateway/c/sci_gethistory.c  \
+sci_gateway/c/sci_gethistoryfile.c  \
+sci_gateway/c/sci_historysize.c  \
+sci_gateway/c/sci_loadhistory.c  \
+sci_gateway/c/sci_removelinehistory.c  \
+sci_gateway/c/sci_resethistory.c  \
+sci_gateway/c/sci_saveafterncommands.c  \
+sci_gateway/c/sci_saveconsecutivecommands.c  \
+sci_gateway/c/sci_savehistory.c  \
+sci_gateway/c/sci_sethistoryfile.c  \
+sci_gateway/c/sci_historymanager.c
+
+if GUI
+
+# List of the c files
+HISTORY_MANAGER_C_SOURCES += src/jni/HistoryManagement_wrap.c
+
+USEANT=1
+
+GIWS_WRAPPERS =
+
+if GIWS
+BUILT_SOURCES=giws
+endif
+
+endif
+
+
+
+# Includes need for the compilation
+libscihistory_manager_la_CPPFLAGS =  $(JAVA_JNI_INCLUDE) \
+-I$(srcdir)/includes/ \
+-I$(srcdir)/src/cpp/ \
+-I$(srcdir)/src/c/ \
+-I$(srcdir)/src/jni/ \
+-I$(top_srcdir)/modules/api_scilab/includes/ \
+-I$(top_srcdir)/modules/console/includes/ \
+-I$(top_srcdir)/modules/fileio/includes/ \
+-I$(top_srcdir)/modules/history_browser/includes/ \
+-I$(top_srcdir)/modules/history_manager/includes/ \
+-I$(top_srcdir)/modules/preferences/includes/ \
+-I$(top_srcdir)/modules/localization/includes/ \
+-I$(top_srcdir)/modules/output_stream/includes/ \
+$(AM_CPPFLAGS)
+
+# Name of the future library (.la will be replace by .so, .a, etc regarding
+# the system)
+pkglib_LTLIBRARIES = libscihistory_manager.la
+noinst_LTLIBRARIES = libscihistory_manager-algo.la
+
+
+# All the sources needed by libscihistory_manager.la
+libscihistory_manager_algo_la_SOURCES = $(HISTORY_MANAGER_C_SOURCES) $(HISTORY_MANAGER_CXX_SOURCES)
+libscihistory_manager_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscihistory_manager_algo_la_CPPFLAGS = $(libscihistory_manager_la_CPPFLAGS)
+
+# For the code check (splint)
+CHECK_SRC= $(HISTORY_MANAGER_C_SOURCES) $(GATEWAY_C_SOURCES)
+INCLUDE_FLAGS = $(libscihistory_manager_la_CPPFLAGS)
+
+## Libraries necessary
+libscihistory_manager_la_LIBADD = libscihistory_manager-algo.la
+modulename=history_manager
+
+#### history_manager : Conf files ####
+libscihistory_manager_la_rootdir = $(mydatadir)
+libscihistory_manager_la_root_DATA =  license.txt
+
+#### history_manager : init scripts ####
+libscihistory_manager_la_etcdir = $(mydatadir)/etc
+libscihistory_manager_la_etc_DATA = \
+	etc/history_manager.quit \
+	etc/history_manager.start \
+	etc/XConfiguration-history.xml \
+	etc/XConfiguration-history.xsl
+
+#### history_manager : gateway declaration ####
+libscihistory_manager_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libscihistory_manager_la_sci_gateway_DATA = sci_gateway/history_manager_gateway.xml
+
+#### history_manager : include files ####
+libscihistory_manager_la_includedir=$(pkgincludedir)
+libscihistory_manager_la_include_HEADERS = includes/gw_history_manager.h \
+includes/HistoryManager.h \
+includes/InitializeHistoryManager.h \
+includes/TerminateHistoryManager.h \
+includes/dynlib_history_manager.h
+
+#### SWIG Declaration ####
+SWIG_WRAPPERS = src/jni/HistoryManagement.i
+
+if SWIG
+BUILT_SOURCES = swig
+endif
+
+# Provides macros compilation, Java compilation, cleaning
+include $(top_srcdir)/Makefile.incl.am
diff --git a/modules/history_manager/Makefile.in b/modules/history_manager/Makefile.in
new file mode 100755
index 000000000..860b62426
--- /dev/null
+++ b/modules/history_manager/Makefile.in
@@ -0,0 +1,1684 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2007 - INRIA - Allan CORNET
+#
+# This file is distributed under the same license as the Scilab package.
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
+# Copyright (C) 2008      - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution.  The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+#
+
+##########
+### Makefile included stuff
+### Target, variable, suffixes which are supposed to be useful in every makefile.am
+##########
+
+
+
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
+    case $$MAKEFLAGS in \
+      *\\[\ \	]*) \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+
+# List of the c files
+@GUI_TRUE@am__append_1 = src/jni/HistoryManagement_wrap.c
+DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
+	$(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \
+	$(top_srcdir)/config/depcomp \
+	$(libscihistory_manager_la_include_HEADERS)
+@NEED_JAVA_TRUE@am__append_2 = java
+subdir = modules/history_manager
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
+	$(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
+	$(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
+	$(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
+	$(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
+	$(top_srcdir)/m4/intel_compiler.m4 \
+	$(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
+	$(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
+	$(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
+	$(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
+	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+	$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
+	$(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
+	$(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
+	$(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
+	$(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
+	$(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(pkglibdir)" \
+	"$(DESTDIR)$(libscihistory_manager_la_etcdir)" \
+	"$(DESTDIR)$(libscihistory_manager_la_rootdir)" \
+	"$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)" \
+	"$(DESTDIR)$(libscihistory_manager_la_includedir)"
+LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
+libscihistory_manager_algo_la_LIBADD =
+am__libscihistory_manager_algo_la_SOURCES_DIST =  \
+	src/c/getCommentDateSession.c src/jni/HistoryManagement_wrap.c \
+	src/cpp/CommandLine.cpp src/cpp/HistoryFile.cpp \
+	src/cpp/HistoryManager.cpp src/cpp/HistorySearch.cpp
+am__dirstamp = $(am__leading_dot)dirstamp
+@GUI_TRUE@am__objects_1 = src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo
+am__objects_2 =  \
+	src/c/libscihistory_manager_algo_la-getCommentDateSession.lo \
+	$(am__objects_1)
+am__objects_3 = src/cpp/libscihistory_manager_algo_la-CommandLine.lo \
+	src/cpp/libscihistory_manager_algo_la-HistoryFile.lo \
+	src/cpp/libscihistory_manager_algo_la-HistoryManager.lo \
+	src/cpp/libscihistory_manager_algo_la-HistorySearch.lo
+am_libscihistory_manager_algo_la_OBJECTS = $(am__objects_2) \
+	$(am__objects_3)
+libscihistory_manager_algo_la_OBJECTS =  \
+	$(am_libscihistory_manager_algo_la_OBJECTS)
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+am__v_lt_1 = 
+libscihistory_manager_la_DEPENDENCIES = libscihistory_manager-algo.la
+am__objects_4 =  \
+	sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_historysize.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo \
+	sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo
+am_libscihistory_manager_la_OBJECTS = $(am__objects_4)
+libscihistory_manager_la_OBJECTS =  \
+	$(am_libscihistory_manager_la_OBJECTS)
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo "  CC      " $@;
+am__v_CC_1 = 
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo "  CCLD    " $@;
+am__v_CCLD_1 = 
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
+	$(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CXXFLAGS) $(CXXFLAGS)
+AM_V_CXX = $(am__v_CXX_@AM_V@)
+am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
+am__v_CXX_0 = @echo "  CXX     " $@;
+am__v_CXX_1 = 
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
+	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+	$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
+am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
+am__v_CXXLD_0 = @echo "  CXXLD   " $@;
+am__v_CXXLD_1 = 
+SOURCES = $(libscihistory_manager_algo_la_SOURCES) \
+	$(libscihistory_manager_la_SOURCES)
+DIST_SOURCES = $(am__libscihistory_manager_algo_la_SOURCES_DIST) \
+	$(libscihistory_manager_la_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+DATA = $(libscihistory_manager_la_etc_DATA) \
+	$(libscihistory_manager_la_root_DATA) \
+	$(libscihistory_manager_la_sci_gateway_DATA)
+HEADERS = $(libscihistory_manager_la_include_HEADERS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+ALL_LINGUAS = @ALL_LINGUAS@
+ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+ANT = @ANT@
+ANTLR = @ANTLR@
+AR = @AR@
+ARPACK_LIBS = @ARPACK_LIBS@
+ASM3 = @ASM3@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
+AWK = @AWK@
+BATIK = @BATIK@
+BLAS_LIBS = @BLAS_LIBS@
+CC = @CC@
+CCACHE = @CCACHE@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CHECKSTYLE = @CHECKSTYLE@
+COBERTURA = @COBERTURA@
+COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
+COMMONS_IO = @COMMONS_IO@
+COMMONS_LOGGING = @COMMONS_LOGGING@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CURL_CFLAGS = @CURL_CFLAGS@
+CURL_CONFIG = @CURL_CONFIG@
+CURL_LIBS = @CURL_LIBS@
+CURL_VERSION = @CURL_VERSION@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOCBOOK_ROOT = @DOCBOOK_ROOT@
+DOXYGEN_BIN = @DOXYGEN_BIN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+ECJ = @ECJ@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FFTW3_LIB = @FFTW3_LIB@
+FFTW_ENABLE = @FFTW_ENABLE@
+FGREP = @FGREP@
+FLEXDOCK = @FLEXDOCK@
+FLIBS = @FLIBS@
+FOP = @FOP@
+FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@
+FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@
+FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@
+FREEHEP_IO = @FREEHEP_IO@
+FREEHEP_UTIL = @FREEHEP_UTIL@
+GENHTML = @GENHTML@
+GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
+GIWS_BIN = @GIWS_BIN@
+GLUEGEN2_RT = @GLUEGEN2_RT@
+GMSGFMT = @GMSGFMT@
+GMSGFMT_015 = @GMSGFMT_015@
+GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
+GREP = @GREP@
+GUI_ENABLE = @GUI_ENABLE@
+HDF5_CFLAGS = @HDF5_CFLAGS@
+HDF5_LIBS = @HDF5_LIBS@
+HELP_ENABLE = @HELP_ENABLE@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTLLIBS = @INTLLIBS@
+INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
+JAR = @JAR@
+JAVA = @JAVA@
+JAVAC = @JAVAC@
+JAVAC_DEBUG = @JAVAC_DEBUG@
+JAVADOC = @JAVADOC@
+JAVAH = @JAVAH@
+JAVASCI_ENABLE = @JAVASCI_ENABLE@
+JAVA_ENABLE = @JAVA_ENABLE@
+JAVA_G = @JAVA_G@
+JAVA_HOME = @JAVA_HOME@
+JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
+JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
+JDB = @JDB@
+JEUCLID_CORE = @JEUCLID_CORE@
+JGRAPHX = @JGRAPHX@
+JHALL = @JHALL@
+JLATEXMATH = @JLATEXMATH@
+JLATEXMATH_FOP = @JLATEXMATH_FOP@
+JOGL2 = @JOGL2@
+JROSETTA_API = @JROSETTA_API@
+JROSETTA_ENGINE = @JROSETTA_ENGINE@
+JUNIT4 = @JUNIT4@
+LAPACK_LIBS = @LAPACK_LIBS@
+LCOV = @LCOV@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBM = @LIBM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LOGGING_LEVEL = @LOGGING_LEVEL@
+LOOKS = @LOOKS@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MATIO_CFLAGS = @MATIO_CFLAGS@
+MATIO_ENABLE = @MATIO_ENABLE@
+MATIO_LIBS = @MATIO_LIBS@
+MKDIR_P = @MKDIR_P@
+MPI_ENABLE = @MPI_ENABLE@
+MSGCAT = @MSGCAT@
+MSGFMT = @MSGFMT@
+MSGFMT_015 = @MSGFMT_015@
+MSGMERGE = @MSGMERGE@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OCAMLC = @OCAMLC@
+OCAMLDEP = @OCAMLDEP@
+OCAMLLEX = @OCAMLLEX@
+OCAMLOPT = @OCAMLOPT@
+OCAMLYACC = @OCAMLYACC@
+OPENMPI_CC = @OPENMPI_CC@
+OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
+OPENMPI_CXX = @OPENMPI_CXX@
+OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
+OPENMPI_LIBS = @OPENMPI_LIBS@
+OPENMP_CFLAGS = @OPENMP_CFLAGS@
+OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
+OPENMP_ENABLE = @OPENMP_ENABLE@
+OPENMP_LIBS = @OPENMP_LIBS@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PCRE_CFLAGS = @PCRE_CFLAGS@
+PCRE_CONFIG = @PCRE_CONFIG@
+PCRE_LIBS = @PCRE_LIBS@
+PCRE_VERSION = @PCRE_VERSION@
+PKG_CONFIG = @PKG_CONFIG@
+POSUB = @POSUB@
+POW_LIB = @POW_LIB@
+PYTHON = @PYTHON@
+RANLIB = @RANLIB@
+RELOCATABLE = @RELOCATABLE@
+RT_LIB = @RT_LIB@
+SAXON = @SAXON@
+SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
+SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
+SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
+SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
+SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
+SCIRENDERER = @SCIRENDERER@
+SCIRENDERER_CP = @SCIRENDERER_CP@
+SCI_CFLAGS = @SCI_CFLAGS@
+SCI_CXXFLAGS = @SCI_CXXFLAGS@
+SCI_FFLAGS = @SCI_FFLAGS@
+SCI_LDFLAGS = @SCI_LDFLAGS@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SET_RELOCATABLE = @SET_RELOCATABLE@
+SHELL = @SHELL@
+SKINLF = @SKINLF@
+SPLINT = @SPLINT@
+STRIP = @STRIP@
+SWIG_BIN = @SWIG_BIN@
+SWIG_JAVA = @SWIG_JAVA@
+SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
+SWIG_SCILAB = @SWIG_SCILAB@
+TCLTK_LIBS = @TCLTK_LIBS@
+TCL_INC_PATH = @TCL_INC_PATH@
+TK_INC_PATH = @TK_INC_PATH@
+UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
+UMFPACK_ENABLE = @UMFPACK_ENABLE@
+UMFPACK_LIB = @UMFPACK_LIB@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+WITH_OCAML = @WITH_OCAML@
+WITH_TKSCI = @WITH_TKSCI@
+XCOS_ENABLE = @XCOS_ENABLE@
+XGETTEXT = @XGETTEXT@
+XGETTEXT_015 = @XGETTEXT_015@
+XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
+XMKMF = @XMKMF@
+XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
+XML_APIS_EXT = @XML_APIS_EXT@
+XML_CONFIG = @XML_CONFIG@
+XML_FLAGS = @XML_FLAGS@
+XML_LIBS = @XML_LIBS@
+XML_VERSION = @XML_VERSION@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+cxx_present = @cxx_present@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+
+# List of the cpp files
+HISTORY_MANAGER_CXX_SOURCES = src/cpp/CommandLine.cpp \
+src/cpp/HistoryFile.cpp \
+src/cpp/HistoryManager.cpp \
+src/cpp/HistorySearch.cpp
+
+# List of the c files
+HISTORY_MANAGER_C_SOURCES = src/c/getCommentDateSession.c \
+	$(am__append_1)
+
+# List of the gateway c files
+GATEWAY_C_SOURCES = sci_gateway/c/gw_history_manager.c \
+sci_gateway/c/sci_addhistory.c  \
+sci_gateway/c/sci_displayhistory.c  \
+sci_gateway/c/sci_gethistory.c  \
+sci_gateway/c/sci_gethistoryfile.c  \
+sci_gateway/c/sci_historysize.c  \
+sci_gateway/c/sci_loadhistory.c  \
+sci_gateway/c/sci_removelinehistory.c  \
+sci_gateway/c/sci_resethistory.c  \
+sci_gateway/c/sci_saveafterncommands.c  \
+sci_gateway/c/sci_saveconsecutivecommands.c  \
+sci_gateway/c/sci_savehistory.c  \
+sci_gateway/c/sci_sethistoryfile.c  \
+sci_gateway/c/sci_historymanager.c
+
+@GUI_TRUE@USEANT = 1
+@GUI_TRUE@GIWS_WRAPPERS = 
+@GIWS_TRUE@@GUI_TRUE@BUILT_SOURCES = giws
+@SWIG_TRUE@BUILT_SOURCES = swig
+
+# Includes need for the compilation
+libscihistory_manager_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \
+-I$(srcdir)/includes/ \
+-I$(srcdir)/src/cpp/ \
+-I$(srcdir)/src/c/ \
+-I$(srcdir)/src/jni/ \
+-I$(top_srcdir)/modules/api_scilab/includes/ \
+-I$(top_srcdir)/modules/console/includes/ \
+-I$(top_srcdir)/modules/fileio/includes/ \
+-I$(top_srcdir)/modules/history_browser/includes/ \
+-I$(top_srcdir)/modules/history_manager/includes/ \
+-I$(top_srcdir)/modules/preferences/includes/ \
+-I$(top_srcdir)/modules/localization/includes/ \
+-I$(top_srcdir)/modules/output_stream/includes/ \
+$(AM_CPPFLAGS)
+
+
+# Name of the future library (.la will be replace by .so, .a, etc regarding
+# the system)
+pkglib_LTLIBRARIES = libscihistory_manager.la
+noinst_LTLIBRARIES = libscihistory_manager-algo.la
+
+# All the sources needed by libscihistory_manager.la
+libscihistory_manager_algo_la_SOURCES = $(HISTORY_MANAGER_C_SOURCES) $(HISTORY_MANAGER_CXX_SOURCES)
+libscihistory_manager_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscihistory_manager_algo_la_CPPFLAGS = $(libscihistory_manager_la_CPPFLAGS)
+
+# For the code check (splint)
+CHECK_SRC = $(HISTORY_MANAGER_C_SOURCES) $(GATEWAY_C_SOURCES)
+INCLUDE_FLAGS = $(libscihistory_manager_la_CPPFLAGS)
+libscihistory_manager_la_LIBADD = libscihistory_manager-algo.la
+modulename = history_manager
+
+#### history_manager : Conf files ####
+libscihistory_manager_la_rootdir = $(mydatadir)
+libscihistory_manager_la_root_DATA = license.txt
+
+#### history_manager : init scripts ####
+libscihistory_manager_la_etcdir = $(mydatadir)/etc
+libscihistory_manager_la_etc_DATA = \
+	etc/history_manager.quit \
+	etc/history_manager.start \
+	etc/XConfiguration-history.xml \
+	etc/XConfiguration-history.xsl
+
+
+#### history_manager : gateway declaration ####
+libscihistory_manager_la_sci_gatewaydir = $(mydatadir)/sci_gateway
+libscihistory_manager_la_sci_gateway_DATA = sci_gateway/history_manager_gateway.xml
+
+#### history_manager : include files ####
+libscihistory_manager_la_includedir = $(pkgincludedir)
+libscihistory_manager_la_include_HEADERS = includes/gw_history_manager.h \
+includes/HistoryManager.h \
+includes/InitializeHistoryManager.h \
+includes/TerminateHistoryManager.h \
+includes/dynlib_history_manager.h
+
+
+#### SWIG Declaration ####
+SWIG_WRAPPERS = src/jni/HistoryManagement.i
+
+# Where all the Scilab stuff is installed (macros, help, ...)
+mydatadir = $(pkgdatadir)/modules/$(modulename)
+
+# Set AM_* SCI detected settings
+AM_CPPFLAGS = $(SCI_CPPFLAGS)
+AM_CFLAGS = $(SCI_CFLAGS)
+AM_CXXFLAGS = $(SCI_CXXFLAGS)
+# append includes to AM_FFLAGS to manage fortran includes
+AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
+
+# Tag shared libraries with the Scilab version
+AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
+
+# splint options
+SPLINT_OPTIONS = -weak -booltype BOOL
+
+########################### JAVA ######################################
+#### We are delegating java compilation to ant... Thanks to that
+#### the procedure will be the same with Microsoft Windows (C)
+#### and Linux/Unix
+#######################################################################
+TARGETS_ALL = $(am__append_2)
+
+################ MACROS ######################
+# Rule to build a macro
+# NOT USED  AT THE MOMENT
+SUFFIXES = .sci 
+
+########### INSTALL DOCUMENTATION ###################
+
+# Install documentation files into the right target
+# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
+# automake needs the html files to be present which is not the case when
+# we are building Scilab
+
+# Where it should be installed
+pkgdocdir = $(mydatadir)
+
+# What is the mask of the help source
+DOCMASKXML = *.xml
+
+# What is the mask of the MathML sources
+DOCMASKMML = *.mml
+
+########### INSTALL DATA ###################
+# Install macros, help & demos
+# Where it should be installed
+pkgmacrosdir = $(mydatadir)
+# Which directory we process
+MACRODIRS = macros/
+# Mask of the Scilab sources macros
+MACROMASK = *.sci
+# Mask of the Scilab executable sources macros
+MACROBUILDMASK = *.sce
+# Mask of the Scilab compiled macros
+MACROBINMASK = *.bin
+# List of the standard directory for tests
+TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
+# Where the demos should be installed
+pkgdemosdir = $(mydatadir)
+# List of the standard directory for demos
+DEMOS_DIR = demos
+# List of the standard directory for examples
+EXAMPLES_DIR = examples
+# Where to export JAVA archives (.jar)
+JARDIR = jar/
+# JAR files mask
+JARMASK = *.jar
+# Chapter file 
+HELP_CHAPTERDIR = help/
+HELP_CHAPTERFILE = addchapter.sce
+HELP_CHAPTERLANG = en_US fr_FR pt_BR
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .sci .bin .c .cpp .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+	        && { if test -f $@; then exit 0; else break; fi; }; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/history_manager/Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign modules/history_manager/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+$(top_srcdir)/Makefile.incl.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-noinstLTLIBRARIES:
+	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+	@list='$(noinst_LTLIBRARIES)'; \
+	locs=`for p in $$list; do echo $$p; done | \
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+	      sort -u`; \
+	test -z "$$locs" || { \
+	  echo rm -f $${locs}; \
+	  rm -f $${locs}; \
+	}
+
+install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
+	@$(NORMAL_INSTALL)
+	@list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+	list2=; for p in $$list; do \
+	  if test -f $$p; then \
+	    list2="$$list2 $$p"; \
+	  else :; fi; \
+	done; \
+	test -z "$$list2" || { \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
+	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
+	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
+	}
+
+uninstall-pkglibLTLIBRARIES:
+	@$(NORMAL_UNINSTALL)
+	@list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
+	for p in $$list; do \
+	  $(am__strip_dir) \
+	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
+	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
+	done
+
+clean-pkglibLTLIBRARIES:
+	-test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
+	@list='$(pkglib_LTLIBRARIES)'; \
+	locs=`for p in $$list; do echo $$p; done | \
+	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+	      sort -u`; \
+	test -z "$$locs" || { \
+	  echo rm -f $${locs}; \
+	  rm -f $${locs}; \
+	}
+src/c/$(am__dirstamp):
+	@$(MKDIR_P) src/c
+	@: > src/c/$(am__dirstamp)
+src/c/$(DEPDIR)/$(am__dirstamp):
+	@$(MKDIR_P) src/c/$(DEPDIR)
+	@: > src/c/$(DEPDIR)/$(am__dirstamp)
+src/c/libscihistory_manager_algo_la-getCommentDateSession.lo:  \
+	src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp)
+src/jni/$(am__dirstamp):
+	@$(MKDIR_P) src/jni
+	@: > src/jni/$(am__dirstamp)
+src/jni/$(DEPDIR)/$(am__dirstamp):
+	@$(MKDIR_P) src/jni/$(DEPDIR)
+	@: > src/jni/$(DEPDIR)/$(am__dirstamp)
+src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo:  \
+	src/jni/$(am__dirstamp) src/jni/$(DEPDIR)/$(am__dirstamp)
+src/cpp/$(am__dirstamp):
+	@$(MKDIR_P) src/cpp
+	@: > src/cpp/$(am__dirstamp)
+src/cpp/$(DEPDIR)/$(am__dirstamp):
+	@$(MKDIR_P) src/cpp/$(DEPDIR)
+	@: > src/cpp/$(DEPDIR)/$(am__dirstamp)
+src/cpp/libscihistory_manager_algo_la-CommandLine.lo:  \
+	src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp)
+src/cpp/libscihistory_manager_algo_la-HistoryFile.lo:  \
+	src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp)
+src/cpp/libscihistory_manager_algo_la-HistoryManager.lo:  \
+	src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp)
+src/cpp/libscihistory_manager_algo_la-HistorySearch.lo:  \
+	src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp)
+
+libscihistory_manager-algo.la: $(libscihistory_manager_algo_la_OBJECTS) $(libscihistory_manager_algo_la_DEPENDENCIES) $(EXTRA_libscihistory_manager_algo_la_DEPENDENCIES) 
+	$(AM_V_CXXLD)$(CXXLINK)  $(libscihistory_manager_algo_la_OBJECTS) $(libscihistory_manager_algo_la_LIBADD) $(LIBS)
+sci_gateway/c/$(am__dirstamp):
+	@$(MKDIR_P) sci_gateway/c
+	@: > sci_gateway/c/$(am__dirstamp)
+sci_gateway/c/$(DEPDIR)/$(am__dirstamp):
+	@$(MKDIR_P) sci_gateway/c/$(DEPDIR)
+	@: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_historysize.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo:  \
+	sci_gateway/c/$(am__dirstamp) \
+	sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+
+libscihistory_manager.la: $(libscihistory_manager_la_OBJECTS) $(libscihistory_manager_la_DEPENDENCIES) $(EXTRA_libscihistory_manager_la_DEPENDENCIES) 
+	$(AM_V_CCLD)$(LINK) -rpath $(pkglibdir) $(libscihistory_manager_la_OBJECTS) $(libscihistory_manager_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+	-rm -f sci_gateway/c/*.$(OBJEXT)
+	-rm -f sci_gateway/c/*.lo
+	-rm -f src/c/*.$(OBJEXT)
+	-rm -f src/c/*.lo
+	-rm -f src/cpp/*.$(OBJEXT)
+	-rm -f src/cpp/*.lo
+	-rm -f src/jni/*.$(OBJEXT)
+	-rm -f src/jni/*.lo
+
+distclean-compile:
+	-rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-gw_history_manager.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_addhistory.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_displayhistory.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistory.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistoryfile.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historymanager.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historysize.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_loadhistory.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_removelinehistory.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_resethistory.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveafterncommands.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveconsecutivecommands.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_savehistory.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_sethistoryfile.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscihistory_manager_algo_la-getCommentDateSession.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-CommandLine.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryFile.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManager.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistorySearch.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/jni/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManagement_wrap.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+src/c/libscihistory_manager_algo_la-getCommentDateSession.lo: src/c/getCommentDateSession.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscihistory_manager_algo_la-getCommentDateSession.lo -MD -MP -MF src/c/$(DEPDIR)/libscihistory_manager_algo_la-getCommentDateSession.Tpo -c -o src/c/libscihistory_manager_algo_la-getCommentDateSession.lo `test -f 'src/c/getCommentDateSession.c' || echo '$(srcdir)/'`src/c/getCommentDateSession.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscihistory_manager_algo_la-getCommentDateSession.Tpo src/c/$(DEPDIR)/libscihistory_manager_algo_la-getCommentDateSession.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/c/getCommentDateSession.c' object='src/c/libscihistory_manager_algo_la-getCommentDateSession.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscihistory_manager_algo_la-getCommentDateSession.lo `test -f 'src/c/getCommentDateSession.c' || echo '$(srcdir)/'`src/c/getCommentDateSession.c
+
+src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo: src/jni/HistoryManagement_wrap.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo -MD -MP -MF src/jni/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManagement_wrap.Tpo -c -o src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo `test -f 'src/jni/HistoryManagement_wrap.c' || echo '$(srcdir)/'`src/jni/HistoryManagement_wrap.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManagement_wrap.Tpo src/jni/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManagement_wrap.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/jni/HistoryManagement_wrap.c' object='src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo `test -f 'src/jni/HistoryManagement_wrap.c' || echo '$(srcdir)/'`src/jni/HistoryManagement_wrap.c
+
+sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo: sci_gateway/c/gw_history_manager.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-gw_history_manager.Tpo -c -o sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo `test -f 'sci_gateway/c/gw_history_manager.c' || echo '$(srcdir)/'`sci_gateway/c/gw_history_manager.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-gw_history_manager.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-gw_history_manager.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/gw_history_manager.c' object='sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo `test -f 'sci_gateway/c/gw_history_manager.c' || echo '$(srcdir)/'`sci_gateway/c/gw_history_manager.c
+
+sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo: sci_gateway/c/sci_addhistory.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_addhistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo `test -f 'sci_gateway/c/sci_addhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_addhistory.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_addhistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_addhistory.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_addhistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo `test -f 'sci_gateway/c/sci_addhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_addhistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo: sci_gateway/c/sci_displayhistory.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_displayhistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo `test -f 'sci_gateway/c/sci_displayhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_displayhistory.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_displayhistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_displayhistory.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_displayhistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo `test -f 'sci_gateway/c/sci_displayhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_displayhistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo: sci_gateway/c/sci_gethistory.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo `test -f 'sci_gateway/c/sci_gethistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_gethistory.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistory.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_gethistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo `test -f 'sci_gateway/c/sci_gethistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_gethistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo: sci_gateway/c/sci_gethistoryfile.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistoryfile.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo `test -f 'sci_gateway/c/sci_gethistoryfile.c' || echo '$(srcdir)/'`sci_gateway/c/sci_gethistoryfile.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistoryfile.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_gethistoryfile.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_gethistoryfile.c' object='sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo `test -f 'sci_gateway/c/sci_gethistoryfile.c' || echo '$(srcdir)/'`sci_gateway/c/sci_gethistoryfile.c
+
+sci_gateway/c/libscihistory_manager_la-sci_historysize.lo: sci_gateway/c/sci_historysize.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_historysize.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historysize.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_historysize.lo `test -f 'sci_gateway/c/sci_historysize.c' || echo '$(srcdir)/'`sci_gateway/c/sci_historysize.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historysize.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historysize.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_historysize.c' object='sci_gateway/c/libscihistory_manager_la-sci_historysize.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_historysize.lo `test -f 'sci_gateway/c/sci_historysize.c' || echo '$(srcdir)/'`sci_gateway/c/sci_historysize.c
+
+sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo: sci_gateway/c/sci_loadhistory.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_loadhistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo `test -f 'sci_gateway/c/sci_loadhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_loadhistory.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_loadhistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_loadhistory.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_loadhistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo `test -f 'sci_gateway/c/sci_loadhistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_loadhistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo: sci_gateway/c/sci_removelinehistory.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_removelinehistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo `test -f 'sci_gateway/c/sci_removelinehistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_removelinehistory.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_removelinehistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_removelinehistory.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_removelinehistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo `test -f 'sci_gateway/c/sci_removelinehistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_removelinehistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo: sci_gateway/c/sci_resethistory.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_resethistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo `test -f 'sci_gateway/c/sci_resethistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_resethistory.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_resethistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_resethistory.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_resethistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo `test -f 'sci_gateway/c/sci_resethistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_resethistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo: sci_gateway/c/sci_saveafterncommands.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveafterncommands.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo `test -f 'sci_gateway/c/sci_saveafterncommands.c' || echo '$(srcdir)/'`sci_gateway/c/sci_saveafterncommands.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveafterncommands.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveafterncommands.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_saveafterncommands.c' object='sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo `test -f 'sci_gateway/c/sci_saveafterncommands.c' || echo '$(srcdir)/'`sci_gateway/c/sci_saveafterncommands.c
+
+sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo: sci_gateway/c/sci_saveconsecutivecommands.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveconsecutivecommands.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo `test -f 'sci_gateway/c/sci_saveconsecutivecommands.c' || echo '$(srcdir)/'`sci_gateway/c/sci_saveconsecutivecommands.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveconsecutivecommands.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_saveconsecutivecommands.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_saveconsecutivecommands.c' object='sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo `test -f 'sci_gateway/c/sci_saveconsecutivecommands.c' || echo '$(srcdir)/'`sci_gateway/c/sci_saveconsecutivecommands.c
+
+sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo: sci_gateway/c/sci_savehistory.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_savehistory.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo `test -f 'sci_gateway/c/sci_savehistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_savehistory.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_savehistory.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_savehistory.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_savehistory.c' object='sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo `test -f 'sci_gateway/c/sci_savehistory.c' || echo '$(srcdir)/'`sci_gateway/c/sci_savehistory.c
+
+sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo: sci_gateway/c/sci_sethistoryfile.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_sethistoryfile.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo `test -f 'sci_gateway/c/sci_sethistoryfile.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sethistoryfile.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_sethistoryfile.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_sethistoryfile.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_sethistoryfile.c' object='sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo `test -f 'sci_gateway/c/sci_sethistoryfile.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sethistoryfile.c
+
+sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo: sci_gateway/c/sci_historymanager.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historymanager.Tpo -c -o sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo `test -f 'sci_gateway/c/sci_historymanager.c' || echo '$(srcdir)/'`sci_gateway/c/sci_historymanager.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historymanager.Tpo sci_gateway/c/$(DEPDIR)/libscihistory_manager_la-sci_historymanager.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='sci_gateway/c/sci_historymanager.c' object='sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo `test -f 'sci_gateway/c/sci_historymanager.c' || echo '$(srcdir)/'`sci_gateway/c/sci_historymanager.c
+
+.cpp.o:
+@am__fastdepCXX_TRUE@	$(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@	$(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+@am__fastdepCXX_TRUE@	$(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCXX_TRUE@	$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
+
+src/cpp/libscihistory_manager_algo_la-CommandLine.lo: src/cpp/CommandLine.cpp
+@am__fastdepCXX_TRUE@	$(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscihistory_manager_algo_la-CommandLine.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-CommandLine.Tpo -c -o src/cpp/libscihistory_manager_algo_la-CommandLine.lo `test -f 'src/cpp/CommandLine.cpp' || echo '$(srcdir)/'`src/cpp/CommandLine.cpp
+@am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-CommandLine.Tpo src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-CommandLine.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='src/cpp/CommandLine.cpp' object='src/cpp/libscihistory_manager_algo_la-CommandLine.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscihistory_manager_algo_la-CommandLine.lo `test -f 'src/cpp/CommandLine.cpp' || echo '$(srcdir)/'`src/cpp/CommandLine.cpp
+
+src/cpp/libscihistory_manager_algo_la-HistoryFile.lo: src/cpp/HistoryFile.cpp
+@am__fastdepCXX_TRUE@	$(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscihistory_manager_algo_la-HistoryFile.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryFile.Tpo -c -o src/cpp/libscihistory_manager_algo_la-HistoryFile.lo `test -f 'src/cpp/HistoryFile.cpp' || echo '$(srcdir)/'`src/cpp/HistoryFile.cpp
+@am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryFile.Tpo src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryFile.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='src/cpp/HistoryFile.cpp' object='src/cpp/libscihistory_manager_algo_la-HistoryFile.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscihistory_manager_algo_la-HistoryFile.lo `test -f 'src/cpp/HistoryFile.cpp' || echo '$(srcdir)/'`src/cpp/HistoryFile.cpp
+
+src/cpp/libscihistory_manager_algo_la-HistoryManager.lo: src/cpp/HistoryManager.cpp
+@am__fastdepCXX_TRUE@	$(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscihistory_manager_algo_la-HistoryManager.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManager.Tpo -c -o src/cpp/libscihistory_manager_algo_la-HistoryManager.lo `test -f 'src/cpp/HistoryManager.cpp' || echo '$(srcdir)/'`src/cpp/HistoryManager.cpp
+@am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManager.Tpo src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistoryManager.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='src/cpp/HistoryManager.cpp' object='src/cpp/libscihistory_manager_algo_la-HistoryManager.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscihistory_manager_algo_la-HistoryManager.lo `test -f 'src/cpp/HistoryManager.cpp' || echo '$(srcdir)/'`src/cpp/HistoryManager.cpp
+
+src/cpp/libscihistory_manager_algo_la-HistorySearch.lo: src/cpp/HistorySearch.cpp
+@am__fastdepCXX_TRUE@	$(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscihistory_manager_algo_la-HistorySearch.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistorySearch.Tpo -c -o src/cpp/libscihistory_manager_algo_la-HistorySearch.lo `test -f 'src/cpp/HistorySearch.cpp' || echo '$(srcdir)/'`src/cpp/HistorySearch.cpp
+@am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistorySearch.Tpo src/cpp/$(DEPDIR)/libscihistory_manager_algo_la-HistorySearch.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='src/cpp/HistorySearch.cpp' object='src/cpp/libscihistory_manager_algo_la-HistorySearch.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscihistory_manager_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscihistory_manager_algo_la-HistorySearch.lo `test -f 'src/cpp/HistorySearch.cpp' || echo '$(srcdir)/'`src/cpp/HistorySearch.cpp
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+	-rm -rf sci_gateway/c/.libs sci_gateway/c/_libs
+	-rm -rf src/c/.libs src/c/_libs
+	-rm -rf src/cpp/.libs src/cpp/_libs
+	-rm -rf src/jni/.libs src/jni/_libs
+install-libscihistory_manager_la_etcDATA: $(libscihistory_manager_la_etc_DATA)
+	@$(NORMAL_INSTALL)
+	@list='$(libscihistory_manager_la_etc_DATA)'; test -n "$(libscihistory_manager_la_etcdir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(libscihistory_manager_la_etcdir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(libscihistory_manager_la_etcdir)" || exit 1; \
+	fi; \
+	for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  echo "$$d$$p"; \
+	done | $(am__base_list) | \
+	while read files; do \
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscihistory_manager_la_etcdir)'"; \
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(libscihistory_manager_la_etcdir)" || exit $$?; \
+	done
+
+uninstall-libscihistory_manager_la_etcDATA:
+	@$(NORMAL_UNINSTALL)
+	@list='$(libscihistory_manager_la_etc_DATA)'; test -n "$(libscihistory_manager_la_etcdir)" || list=; \
+	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+	dir='$(DESTDIR)$(libscihistory_manager_la_etcdir)'; $(am__uninstall_files_from_dir)
+install-libscihistory_manager_la_rootDATA: $(libscihistory_manager_la_root_DATA)
+	@$(NORMAL_INSTALL)
+	@list='$(libscihistory_manager_la_root_DATA)'; test -n "$(libscihistory_manager_la_rootdir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(libscihistory_manager_la_rootdir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(libscihistory_manager_la_rootdir)" || exit 1; \
+	fi; \
+	for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  echo "$$d$$p"; \
+	done | $(am__base_list) | \
+	while read files; do \
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscihistory_manager_la_rootdir)'"; \
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(libscihistory_manager_la_rootdir)" || exit $$?; \
+	done
+
+uninstall-libscihistory_manager_la_rootDATA:
+	@$(NORMAL_UNINSTALL)
+	@list='$(libscihistory_manager_la_root_DATA)'; test -n "$(libscihistory_manager_la_rootdir)" || list=; \
+	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+	dir='$(DESTDIR)$(libscihistory_manager_la_rootdir)'; $(am__uninstall_files_from_dir)
+install-libscihistory_manager_la_sci_gatewayDATA: $(libscihistory_manager_la_sci_gateway_DATA)
+	@$(NORMAL_INSTALL)
+	@list='$(libscihistory_manager_la_sci_gateway_DATA)'; test -n "$(libscihistory_manager_la_sci_gatewaydir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)" || exit 1; \
+	fi; \
+	for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  echo "$$d$$p"; \
+	done | $(am__base_list) | \
+	while read files; do \
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)'"; \
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)" || exit $$?; \
+	done
+
+uninstall-libscihistory_manager_la_sci_gatewayDATA:
+	@$(NORMAL_UNINSTALL)
+	@list='$(libscihistory_manager_la_sci_gateway_DATA)'; test -n "$(libscihistory_manager_la_sci_gatewaydir)" || list=; \
+	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+	dir='$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir)
+install-libscihistory_manager_la_includeHEADERS: $(libscihistory_manager_la_include_HEADERS)
+	@$(NORMAL_INSTALL)
+	@list='$(libscihistory_manager_la_include_HEADERS)'; test -n "$(libscihistory_manager_la_includedir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(libscihistory_manager_la_includedir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(libscihistory_manager_la_includedir)" || exit 1; \
+	fi; \
+	for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  echo "$$d$$p"; \
+	done | $(am__base_list) | \
+	while read files; do \
+	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscihistory_manager_la_includedir)'"; \
+	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscihistory_manager_la_includedir)" || exit $$?; \
+	done
+
+uninstall-libscihistory_manager_la_includeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(libscihistory_manager_la_include_HEADERS)'; test -n "$(libscihistory_manager_la_includedir)" || list=; \
+	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+	dir='$(DESTDIR)$(libscihistory_manager_la_includedir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+	set x; \
+	here=`pwd`; \
+	$(am__define_uniq_tagged_files); \
+	shift; \
+	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  if test $$# -gt 0; then \
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	      "$$@" $$unique; \
+	  else \
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	      $$unique; \
+	  fi; \
+	fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+	$(am__define_uniq_tagged_files); \
+	test -z "$(CTAGS_ARGS)$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && $(am__cd) $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+	list='$(am__tagged_files)'; \
+	case "$(srcdir)" in \
+	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+	  *) sdir=$(subdir)/$(srcdir) ;; \
+	esac; \
+	for i in $$list; do \
+	  if test -f "$$i"; then \
+	    echo "$(subdir)/$$i"; \
+	  else \
+	    echo "$$sdir/$$i"; \
+	  fi; \
+	done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	list='$(DISTFILES)'; \
+	  dist_files=`for file in $$list; do echo $$file; done | \
+	  sed -e "s|^$$srcdirstrip/||;t" \
+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+	case $$dist_files in \
+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+			   sort -u` ;; \
+	esac; \
+	for file in $$dist_files; do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  if test -d $$d/$$file; then \
+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d "$(distdir)/$$file"; then \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+	  else \
+	    test -f "$(distdir)/$$file" \
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) check-local
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
+installdirs:
+	for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscihistory_manager_la_etcdir)" "$(DESTDIR)$(libscihistory_manager_la_rootdir)" "$(DESTDIR)$(libscihistory_manager_la_sci_gatewaydir)" "$(DESTDIR)$(libscihistory_manager_la_includedir)"; do \
+	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+	done
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	if test -z '$(STRIP)'; then \
+	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	      install; \
+	else \
+	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+	fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+	-rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
+	-rm -f sci_gateway/c/$(am__dirstamp)
+	-rm -f src/c/$(DEPDIR)/$(am__dirstamp)
+	-rm -f src/c/$(am__dirstamp)
+	-rm -f src/cpp/$(DEPDIR)/$(am__dirstamp)
+	-rm -f src/cpp/$(am__dirstamp)
+	-rm -f src/jni/$(DEPDIR)/$(am__dirstamp)
+	-rm -f src/jni/$(am__dirstamp)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local \
+	clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-local distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local \
+	install-libscihistory_manager_la_etcDATA \
+	install-libscihistory_manager_la_includeHEADERS \
+	install-libscihistory_manager_la_rootDATA \
+	install-libscihistory_manager_la_sci_gatewayDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-pkglibLTLIBRARIES
+
+install-html: install-html-am
+
+install-html-am: install-html-local
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libscihistory_manager_la_etcDATA \
+	uninstall-libscihistory_manager_la_includeHEADERS \
+	uninstall-libscihistory_manager_la_rootDATA \
+	uninstall-libscihistory_manager_la_sci_gatewayDATA \
+	uninstall-pkglibLTLIBRARIES
+
+.MAKE: all check check-am install install-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \
+	check-local clean clean-generic clean-libtool clean-local \
+	clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \
+	ctags ctags-am distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-local distclean-tags distdir dvi \
+	dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-data-local install-dvi \
+	install-dvi-am install-exec install-exec-am install-html \
+	install-html-am install-html-local install-info \
+	install-info-am install-libscihistory_manager_la_etcDATA \
+	install-libscihistory_manager_la_includeHEADERS \
+	install-libscihistory_manager_la_rootDATA \
+	install-libscihistory_manager_la_sci_gatewayDATA install-man \
+	install-pdf install-pdf-am install-pkglibLTLIBRARIES \
+	install-ps install-ps-am install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags tags-am uninstall uninstall-am \
+	uninstall-libscihistory_manager_la_etcDATA \
+	uninstall-libscihistory_manager_la_includeHEADERS \
+	uninstall-libscihistory_manager_la_rootDATA \
+	uninstall-libscihistory_manager_la_sci_gatewayDATA \
+	uninstall-pkglibLTLIBRARIES
+
+
+# This target enables tests for Scilab
+check-local: $(top_builddir)/scilab-bin test
+	if test -d $(mydatadir)/tests; then \
+	  @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
+	fi
+check-code:
+	if test -f build.xml; then \
+		$(ANT) checkstyle; \
+	fi
+	if test -x "$(SPLINT)"; then \
+		$(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
+	fi
+@NEED_JAVA_TRUE@java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@	@if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@	if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@	if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@		$(ANT); \
+@NEED_JAVA_TRUE@	fi
+
+@NEED_JAVA_TRUE@clean-java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@	@if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@	if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@	if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@		$(ANT) clean; \
+@NEED_JAVA_TRUE@	fi;
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++ 
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
+@SWIG_TRUE@	@SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
+@SWIG_TRUE@	SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
+@SWIG_TRUE@	if test -n "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@		for file in $(SWIG_WRAPPERS) ; do \
+@SWIG_TRUE@			echo "Swig process of $$file (Java) ..."; \
+@SWIG_TRUE@			$(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
+@SWIG_TRUE@		done; \
+@SWIG_TRUE@	fi
+
+@SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
+@SWIG_TRUE@	@SWIG_OUTDIR=src/swig/; \
+@SWIG_TRUE@	if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
+@SWIG_TRUE@		for file in $(SWIG_SCILAB_WRAPPERS) ; do \
+@SWIG_TRUE@			echo "Swig process of $$file (Scilab) ..."; \
+@SWIG_TRUE@			$(SWIG_BIN) $(SWIG_SCILAB)  -outdir $$SWIG_OUTDIR $$file; \
+@SWIG_TRUE@		done; \
+@SWIG_TRUE@	fi
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++ 
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@GIWS_TRUE@giws: $(GIWS_WRAPPERS)
+@GIWS_TRUE@	@GIWS_OUTPUTDIR=src/jni/; \
+@GIWS_TRUE@	MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
+@GIWS_TRUE@	if test -n "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@		for file in $(GIWS_WRAPPERS) ; do \
+@GIWS_TRUE@			echo "GIWS process of $$file ..."; \
+@GIWS_TRUE@			if test -z "$(GIWS_OPTIONS)"; then \
+@GIWS_TRUE@				$(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+@GIWS_TRUE@			else \
+@GIWS_TRUE@				echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
+@GIWS_TRUE@				$(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+@GIWS_TRUE@			fi \
+@GIWS_TRUE@		done; \
+@GIWS_TRUE@	fi
+
+@GIWS_TRUE@giws-exception:
+@GIWS_TRUE@	@GIWS_OUTPUTDIR=src/jni/;\
+@GIWS_TRUE@	echo "GIWS: Generation of exception class ..."; \
+@GIWS_TRUE@	$(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
+
+macros:
+	-@( if test ! -x $(top_builddir)/scilab-bin; then \
+		echo "Error : Cannot build $< : Scilab has not been built"; \
+	else \
+		$(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
+	fi)
+
+# Removes the macros
+clean-macros:
+# Removes macros (*.bin generated from .sci)
+	@for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+		echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
+		rm -f $(builddir)/$$dir/$(MACROBINMASK); \
+	done
+
+test:
+# More tests could be added here
+	@if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+	if test -f build.xml -a $$USEANT -eq 1; then \
+		$(ANT) test; \
+	fi
+
+all-local: $(TARGETS_ALL)
+
+.sci.bin:
+	-@( if test ! -x $(top_builddir)/scilab-bin; then \
+	echo "Error : Cannot build $< : Scilab has not been build"; \
+	else \
+	echo "Creating $@"; \
+	$(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
+	fi )
+
+install-html-local:
+
+install-data-local-local:
+# Mainly for javasci
+	@if test -d $(srcdir)/javadoc; then \
+		cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
+	fi
+# If the user wants the help sources to be installed
+@INSTALL_HELP_XML_TRUE@	@echo "-------- Install of XML sources of help files --------"; \
+@INSTALL_HELP_XML_TRUE@	for lang in $(ALL_LINGUAS); do \
+@INSTALL_HELP_XML_TRUE@	 if test -d $(srcdir)/help/$$lang; then \
+@INSTALL_HELP_XML_TRUE@	  $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
+@INSTALL_HELP_XML_TRUE@		if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@		  for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
+@INSTALL_HELP_XML_TRUE@		    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
+@INSTALL_HELP_XML_TRUE@	    	$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
+@INSTALL_HELP_XML_TRUE@		  done ; \
+@INSTALL_HELP_XML_TRUE@		fi; \
+@INSTALL_HELP_XML_TRUE@	 fi; \
+@INSTALL_HELP_XML_TRUE@	done; \
+@INSTALL_HELP_XML_TRUE@	@echo "-------- Install of MathML sources --------"; \
+@INSTALL_HELP_XML_TRUE@	 if test -d $(srcdir)/help/mml/; then \
+@INSTALL_HELP_XML_TRUE@	  $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
+@INSTALL_HELP_XML_TRUE@		if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@		  for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
+@INSTALL_HELP_XML_TRUE@		    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
+@INSTALL_HELP_XML_TRUE@	    	$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
+@INSTALL_HELP_XML_TRUE@		  done ; \
+@INSTALL_HELP_XML_TRUE@		fi; \
+@INSTALL_HELP_XML_TRUE@	fi
+install-data-local:
+# Install the tests
+	@echo "-------- Install tests (if any) --------"; \
+	for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
+	  if test -d $(srcdir)/$$dir/; then \
+	    $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+		  for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+		    if test -d "$(srcdir)/$$dir/$$file"; then \
+			  echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
+			  $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
+		    else \
+		      echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+	    	  $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+		    fi \
+		  done; \
+	  fi; \
+	done
+# Install the help chapter
+	@echo "-------- Install the help chapter (if any) --------"; \
+	for lang in $(HELP_CHAPTERLANG); do \
+		HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
+		if test -f $$HELPFILE; then \
+			echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+			$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+			echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+			$(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+		fi; \
+	done
+# Install the demos & examples
+	@echo "-------- Install demos & examples (if any) --------"; \
+	for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
+	  if test -d $(srcdir)/$$dir/; then \
+	    $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+		  for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+		    if test -d "$(srcdir)/$$dir/$$file"; then \
+			  echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
+			  $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
+		    else \
+		      echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+	    	  $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+		    fi \
+		  done; \
+	  fi; \
+	done
+# Install the macros
+	@echo "-------- Install macros (if any) --------"; \
+	for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+	  $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+		if test -d $(srcdir)/$$dir/; then \
+			FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
+			if test -n "$(MACROSSPECIALEXT)"; then \
+				specialExtDir=""; \
+				for specialExt in $(MACROSSPECIALEXT); do \
+					specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+				done; \
+				FILELIST="$$FILELIST $$specialExtDir"; \
+			fi; \
+		  for file in `ls -1 $$FILELIST 2>/dev/null`; do \
+		    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
+	    	$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
+		  done; \
+		fi; \
+	done
+# Install java files (.jar)
+	@if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
+	echo "-------- Install jar files --------"; \
+    $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
+	  for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
+		    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
+	    	$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
+	  done ; \
+	fi
+
+########### CLEAN ###################
+# Clean help (generated automatically by Scilab)
+# It used to clean the macro (clean-macros) but this was causing
+# make clean && make to fail Scilab startup
+@NEED_JAVA_TRUE@clean-local: clean-java
+@NEED_JAVA_FALSE@clean-local:
+
+distclean-local:
+	rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
+
+.PHONY: macros java swig giws
+
+# Provides macros compilation, Java compilation, cleaning
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/modules/history_manager/build.xml b/modules/history_manager/build.xml
new file mode 100755
index 000000000..cb3305c26
--- /dev/null
+++ b/modules/history_manager/build.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<project name="history_manager" default="jar">
+    <import file="../../build.incl.xml"/>
+    <property name="library.name" value="${library.history_manager.name}"/>
+    <property name="library.title" value="Scilab history manager"/>
+    <description>
+        Build "history_manager" Scilab module
+    </description>
+</project>
diff --git a/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryManagement.class b/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryManagement.class
new file mode 100755
index 000000000..30f239fd1
Binary files /dev/null and b/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryManagement.class differ
diff --git a/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryManagementJNI.class b/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryManagementJNI.class
new file mode 100755
index 000000000..9c1e31609
Binary files /dev/null and b/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryManagementJNI.class differ
diff --git a/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryPrefs$HistoryOption.class b/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryPrefs$HistoryOption.class
new file mode 100755
index 000000000..f9daf2232
Binary files /dev/null and b/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryPrefs$HistoryOption.class differ
diff --git a/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryPrefs.class b/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryPrefs.class
new file mode 100755
index 000000000..7d12c5d66
Binary files /dev/null and b/modules/history_manager/build/classes/org/scilab/modules/history_manager/HistoryPrefs.class differ
diff --git a/modules/history_manager/etc/XConfiguration-history.xml b/modules/history_manager/etc/XConfiguration-history.xml
new file mode 100755
index 000000000..9a438b0c7
--- /dev/null
+++ b/modules/history_manager/etc/XConfiguration-history.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<command-history title="_(Command history)">
+    <body>
+        <history-settings history-file="SCIHOME/history" history-lines="20000" enable="true"/>
+        <history-save kind="quit" after="1"/>
+    </body>
+</command-history>
diff --git a/modules/history_manager/etc/XConfiguration-history.xsl b/modules/history_manager/etc/XConfiguration-history.xsl
new file mode 100755
index 000000000..f8f63c0e4
--- /dev/null
+++ b/modules/history_manager/etc/XConfiguration-history.xsl
@@ -0,0 +1,50 @@
+<?xml version='1.0' encoding='utf-8'?>
+<xsl:stylesheet version ="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                >
+
+  <xsl:template match="history-save"/>
+
+  <xsl:template match="history-settings">
+    <Title text="_(History Management Settings)">
+        <Grid>
+	  <Checkbox checked="{@enable}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Enable history management)" gridx="1" gridy="1" fill="none" weightx="0" anchor="west">
+	    <actionPerformed choose="enable">
+	      <xsl:call-template name="context"/>
+	    </actionPerformed>
+	  </Checkbox>
+	  <Label gridx="1" gridy="2" text="_(History file: )" enable="{@enable}"/>
+	  <Panel gridx="2" gridy="2" gridheight="2" fill="both"/>
+          <FileSelector gridx="3" gridy="2" weightx="1" anchor="above_baseline"
+                        listener="EntryListener"
+			enable="{@enable}"
+                        href="{@history-file}"
+			mask="*.*"
+			desc="_(History files)"
+                        dir-selection="false"
+			check-entry="false">
+	    <entryChanged choose="history-file">
+              <xsl:call-template name="context"/>
+            </entryChanged>
+          </FileSelector>
+	  <Label gridx="1" gridy="3" text="_(History lines: )" enable="{@enable}"/>
+	  <NumericalSpinner gridx="3"
+                          gridy="3"
+                          weightx="0"
+			  enable="{@enable}"
+                          min-value = "0"
+                          increment = "1000"
+                          length = "4"
+                          listener = "ActionListener"
+                          value = "{@history-lines}">
+          <actionPerformed choose="history-lines">
+            <xsl:call-template name="context"/>
+          </actionPerformed>
+        </NumericalSpinner>
+      </Grid>	  
+    </Title>
+  </xsl:template>
+
+
+</xsl:stylesheet>
+
diff --git a/modules/history_manager/etc/history_manager.quit b/modules/history_manager/etc/history_manager.quit
new file mode 100755
index 000000000..7151cfcb0
--- /dev/null
+++ b/modules/history_manager/etc/history_manager.quit
@@ -0,0 +1,19 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// save history file
+// =============================================================================
+if (sciargs() <> '-nouserstartup') & ~fromjava() & ~fromc() then
+  // save history file
+  savehistory();
+  // disable history manager
+  historymanager('off');
+end
+
diff --git a/modules/history_manager/etc/history_manager.start b/modules/history_manager/etc/history_manager.start
new file mode 100755
index 000000000..68bcf9e06
--- /dev/null
+++ b/modules/history_manager/etc/history_manager.start
@@ -0,0 +1,23 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2006-2008 - INRIA
+// Copyright (C) 2009-2011 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+function startModule()
+
+  if (sciargs() <> "-nouserstartup") & ~fromjava() & ~fromc() then
+    // enable history manager
+    historymanager("on");
+    // load history file
+    loadhistory();
+  end
+
+endfunction
+
+startModule();
+clear startModule;
diff --git a/modules/history_manager/help/en_US/addchapter.sce b/modules/history_manager/help/en_US/addchapter.sce
new file mode 100755
index 000000000..e5230ba3e
--- /dev/null
+++ b/modules/history_manager/help/en_US/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("History manager",SCI+"/modules/history_manager/help/en_US",%T);
+
diff --git a/modules/history_manager/help/en_US/addhistory.xml b/modules/history_manager/help/en_US/addhistory.xml
new file mode 100755
index 000000000..be0df454d
--- /dev/null
+++ b/modules/history_manager/help/en_US/addhistory.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="addhistory">
+    <refnamediv>
+        <refname>addhistory</refname>
+        <refpurpose>add lines to current history.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>addhistory(string)
+            addhistory(string_matrix)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>string</term>
+                <listitem>
+                    <para>a string</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>string_matrix</term>
+                <listitem>
+                    <para>a string matrix</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>add lines to current history.</para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[ 
+addhistory('hello')
+addhistory(['hello','Scilab'])
+ ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/browsehistory.xml b/modules/history_manager/help/en_US/browsehistory.xml
new file mode 100755
index 000000000..2ee330640
--- /dev/null
+++ b/modules/history_manager/help/en_US/browsehistory.xml
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="browsehistory">
+    <refnamediv>
+        <refname>browsehistory</refname>
+        <refpurpose>Open the Scilab history browser</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>browsehistory()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Description</title>
+        <para>Open the history browser</para>
+        <para>
+            <literal>browsehistory</literal> lists all the commands typed by the user during its various Scilab sessions.
+        </para>
+        <para>
+            <literal>browsehistory</literal> has several features: 
+            <itemizedlist>
+                <listitem><para>
+                        A simple and comprehensive list
+                        <para/>
+                        <para>
+                            <inlinemediaobject>
+                                <imageobject>
+                                    <imagedata fileref="../images/browsehistory_list.png"/>
+                                </imageobject>
+                            </inlinemediaobject>
+                        </para>
+                        <para/>
+                    </para>
+                </listitem>
+                <listitem><para>
+                        Quick actions on the history items (copy / paste, evaluation, edition in SciNotes, etc)
+                        <para/>
+                        <para>
+                            <inlinemediaobject>
+                                <imageobject>
+                                    <imagedata fileref="../images/browsehistory_action.png"/>
+                                </imageobject>
+                            </inlinemediaobject>
+                        </para>
+                        <para/>
+                    </para>
+                </listitem>
+                <listitem><para>
+                        Multiple selection on history items<para/>
+                        <para>
+                            <inlinemediaobject>
+                                <imageobject>
+                                    <imagedata fileref="../images/browsehistory_multiple.png"/>
+                                </imageobject>
+                            </inlinemediaobject>
+                        </para>
+                        <para/>
+                    </para>
+                </listitem>
+                <listitem><para>
+                        Copy and paste from the history browser to the other Scilab components (console, SciNotes, etc)
+                    </para>
+                </listitem>
+                <listitem><para>
+                        Real time refresh
+                    </para>
+                </listitem>
+            </itemizedlist>
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+browsehistory()
+]]></programlisting>
+    </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.0</revnumber>
+                <revremark>Function browsehistory introduced.</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/displayhistory.xml b/modules/history_manager/help/en_US/displayhistory.xml
new file mode 100755
index 000000000..9e9c75c2b
--- /dev/null
+++ b/modules/history_manager/help/en_US/displayhistory.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="displayhistory">
+    <refnamediv>
+        <refname>displayhistory</refname>
+        <refpurpose>displays current scilab history</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>displayhistory()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Description</title>
+        <para>displays current scilab history.</para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+displayhistory()
+]]></programlisting>
+    </refsection>
+    
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="gethistory">gethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/gethistory.xml b/modules/history_manager/help/en_US/gethistory.xml
new file mode 100755
index 000000000..7e1cff4b9
--- /dev/null
+++ b/modules/history_manager/help/en_US/gethistory.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="gethistory">
+    <refnamediv>
+        <refname>gethistory</refname>
+        <refpurpose>returns current scilab history in a
+            string matrix 
+        </refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>matstr=gethistory()
+            line=gethistory(N)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>matstr</term>
+                <listitem>
+                    <para>a string matrix</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>N</term>
+                <listitem>
+                    <para>Nth line in scilab's history</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>line</term>
+                <listitem>
+                    <para>a string</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>returns current scilab history in a string matrix.</para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+gethistory(1) // Return the last line
+gethistory() // Return all the line
+]]></programlisting>
+    </refsection>
+    
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="savehistory">savehistory</link>
+            </member>
+            <member>
+                <link linkend="loadhistory">loadhistory</link>
+            </member>
+            <member>
+                <link linkend="resethistory">resethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/gethistoryfile.xml b/modules/history_manager/help/en_US/gethistoryfile.xml
new file mode 100755
index 000000000..be5eea516
--- /dev/null
+++ b/modules/history_manager/help/en_US/gethistoryfile.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="gethistoryfile">
+    <refnamediv>
+        <refname>gethistoryfile</refname>
+        <refpurpose>get filename used for scilab's history</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>filename = gethistoryfile()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>filename</term>
+                <listitem>
+                    <para>file name used for history</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>get filename for scilab's history</para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+gethistoryfile()
+ ]]></programlisting>
+    </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    Default history file is SCIHOME/history (instead of SCIHOME/.history.scilab).
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/historymanager.xml b/modules/history_manager/help/en_US/historymanager.xml
new file mode 100755
index 000000000..247558d0c
--- /dev/null
+++ b/modules/history_manager/help/en_US/historymanager.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="historymanager">
+    <refnamediv>
+        <refname>historymanager</refname>
+        <refpurpose>enable or disable history manager</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>state1=historymanager(state2)
+            state1=historymanager()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>state1</term>
+                <listitem>
+                    <para>returns history manager state 'on' or 'off'</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>state2</term>
+                <listitem>
+                    <para>'on' or 'off' set history manager's state</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>enable or disable history manager.</para>
+        <para>in 'API' mode, history manager is disabled.</para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[ 
+displayhistory()
+backupstate=historymanager()
+historymanager('off')
+displayhistory()
+historymanager('on')
+loadhistory()
+displayhistory()
+historymanager(backupstate)
+ ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="getscilabmode">getscilabmode</link>
+            </member>
+            <member>
+                <link linkend="call_scilab">call_scilab</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/historysize.xml b/modules/history_manager/help/en_US/historysize.xml
new file mode 100755
index 000000000..d9a0f6941
--- /dev/null
+++ b/modules/history_manager/help/en_US/historysize.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ * Copyright (C) 2011 - DIGITEO - Allan CORNET 
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="historysize" xml:lang="en">
+    <refnamediv>
+        <refname>historysize</refname>
+        <refpurpose>get number of lines in history</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>nb = historysize()</synopsis>
+        <synopsis>nbMax = historysize("max")</synopsis>
+        <synopsis>nbMax = historysize(newMax)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>nb</term>
+                <listitem>
+                    <para>number of lines in current history.</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>nbMax</term>
+                <listitem>
+                    <para>number of lines maximum in history file.</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>newMax</term>
+                <listitem>
+                    <para>set number of lines maximum in history file.</para>
+                    <para>by default this value is 20000 lines max.</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>get number of lines in history.</para>
+        <para>This function can also used to set maximun number of lines in
+            history file.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example">historysize()
+            historysize("max")
+        </programlisting>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/loadhistory.xml b/modules/history_manager/help/en_US/loadhistory.xml
new file mode 100755
index 000000000..78e986dca
--- /dev/null
+++ b/modules/history_manager/help/en_US/loadhistory.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ * Copyright (C) 2011 - DIGITEO - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="loadhistory" xml:lang="en">
+    <refnamediv>
+        <refname>loadhistory</refname>
+        <refpurpose>load a history file</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>loadhistory()
+            loadhistory(f)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>f</term>
+                <listitem>
+                    <para>file pathname</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>load a history file.</para>
+        <para>by default, history filename is SCIHOME/history</para>
+        <para>by default, loadhistory read last 20000 lines of history file(to
+            reduce time loading).
+        </para>
+        <para>
+            see <link linkend="historysize">historysize(value)</link> to modify
+            this value.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"> loadhistory(SCI+'/session.scilab')  </programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="savehistory">savehistory</link>
+            </member>
+            <member>
+                <link linkend="resethistory">resethistory</link>
+            </member>
+            <member>
+                <link linkend="historysize">historysize</link>
+            </member>
+            <member>
+                <link linkend="gethistory">gethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    Default history file is SCIHOME/history (instead of SCIHOME/.history.scilab).
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/removelinehistory.xml b/modules/history_manager/help/en_US/removelinehistory.xml
new file mode 100755
index 000000000..b59a56ce2
--- /dev/null
+++ b/modules/history_manager/help/en_US/removelinehistory.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="removelinehistory">
+    <refnamediv>
+        <refname>removelinehistory</refname>
+        <refpurpose>remove the Nth line in history.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>removelinehistory(N)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>N</term>
+                <listitem>
+                    <para>a line number</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>remove the Nth line in history.</para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[ 
+displayhistory()
+removelinehistory(historysize()-2)
+displayhistory()
+ ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/resethistory.xml b/modules/history_manager/help/en_US/resethistory.xml
new file mode 100755
index 000000000..519c88bd0
--- /dev/null
+++ b/modules/history_manager/help/en_US/resethistory.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="resethistory">
+    <refnamediv>
+        <refname>resethistory</refname>
+        <refpurpose>Deletes all entries in the Scilab history.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>resethistory()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Description</title>
+        <para>Deletes all entries in the current Scilab history.</para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+// !This will clear the full history!
+resethistory()
+]]></programlisting>
+    </refsection>
+    
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="savehistory">savehistory</link>
+            </member>
+            <member>
+                <link linkend="loadhistory">loadhistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/saveafterncommands.xml b/modules/history_manager/help/en_US/saveafterncommands.xml
new file mode 100755
index 000000000..7ac9e1933
--- /dev/null
+++ b/modules/history_manager/help/en_US/saveafterncommands.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="saveafterncommands">
+    <refnamediv>
+        <refname>saveafterncommands</refname>
+        <refpurpose>Save the history file after n statements are added to the file.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>saveafterncommands(n)
+            v = saveafterncommands()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>n</term>
+                <listitem>
+                    <para>an integer, n statements</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>v</term>
+                <listitem>
+                    <para>current value</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>Save the history file after n statements are added to the file.</para>
+        <para>For example, when you select the option and set n to 5, after every 5 statements are added,
+            the history file is automatically saved.
+        </para>
+        <para>Use this option if you do not want to risk losing entries to the saved history because of an abnormal termination,
+            such as a power failure.
+        </para>
+        <para>saveafterncommands() returns current value.</para>
+        <para>default value is 0. History file saved at the end of scilab session.</para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[ 
+saveafterncommands(3)
+ ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/saveconsecutivecommands.xml b/modules/history_manager/help/en_US/saveconsecutivecommands.xml
new file mode 100755
index 000000000..3d1041d2c
--- /dev/null
+++ b/modules/history_manager/help/en_US/saveconsecutivecommands.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="saveconsecutivecommands">
+    <refnamediv>
+        <refname>saveconsecutivecommands</refname>
+        <refpurpose>Save consecutive duplicate commands.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>saveconsecutivecommands(boolean_in)
+            boolean_out = saveconsecutivecommands()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>boolean_in</term>
+                <listitem>
+                    <para>a boolean (%t or %f)</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>boolean_out</term>
+                <listitem>
+                    <para>current value</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>Save consecutive duplicate commands.</para>
+        <para>saveconsecutivecommands(%t) if you want consecutive executions of the
+            same statement to be saved to the history file.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[ 
+saveconsecutivecommands()
+saveconsecutivecommands(%t)
+1
+1
+2
+saveconsecutivecommands(%f)
+1
+1
+2
+ ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/savehistory.xml b/modules/history_manager/help/en_US/savehistory.xml
new file mode 100755
index 000000000..df4f74f4c
--- /dev/null
+++ b/modules/history_manager/help/en_US/savehistory.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="savehistory">
+    <refnamediv>
+        <refname>savehistory</refname>
+        <refpurpose>save the current history in a file</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>savehistory()
+            savehistory(f)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>f</term>
+                <listitem>
+                    <para>file pathname</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>save the current history in a file.</para>
+        <para>by default, history filename is SCIHOME/history</para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+savehistory(SCI+'/session.scilab')
+ ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="loadhistory">loadhistory</link>
+            </member>
+            <member>
+                <link linkend="resethistory">resethistory</link>
+            </member>
+            <member>
+                <link linkend="gethistory">gethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    Default history file is SCIHOME/history (instead of SCIHOME/.history.scilab).
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/en_US/sethistoryfile.xml b/modules/history_manager/help/en_US/sethistoryfile.xml
new file mode 100755
index 000000000..2bba8ed5f
--- /dev/null
+++ b/modules/history_manager/help/en_US/sethistoryfile.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="sethistoryfile">
+    <refnamediv>
+        <refname>sethistoryfile</refname>
+        <refpurpose>set filename for scilab history</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>sethistoryfile(filename)
+            sethistoryfile()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>filename</term>
+                <listitem>
+                    <para>filename for history</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>set filename for scilab history.</para>
+        <para>sethistoryfile() without parameters will use the default filename
+            (SCIHOME/history)
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+gethistoryfile()
+sethistoryfile(gethistoryfile())
+ ]]></programlisting>
+    </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    Default history file is SCIHOME/history (instead of SCIHOME/.history.scilab).
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/fr_FR/addchapter.sce b/modules/history_manager/help/fr_FR/addchapter.sce
new file mode 100755
index 000000000..07dcdc5c0
--- /dev/null
+++ b/modules/history_manager/help/fr_FR/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Gestion de l''historique",SCI+"/modules/history_manager/help/fr_FR",%T);
+
diff --git a/modules/history_manager/help/fr_FR/gethistory.xml b/modules/history_manager/help/fr_FR/gethistory.xml
new file mode 100755
index 000000000..596f1140a
--- /dev/null
+++ b/modules/history_manager/help/fr_FR/gethistory.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="gethistory">
+    <refnamediv>
+        <refname>gethistory</refname>
+        <refpurpose>retourne dans une matrice de type chaine de caracteres l'historique de scilab. </refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Séquence d'appel</title>
+        <synopsis>matstr=gethistory()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Paramètres</title>
+        <variablelist>
+            <varlistentry>
+                <term>matstr</term>
+                <listitem>
+                    <para>une matrice de type chaine de caracteres</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>retourne dans une matrice de type chaine de caracteres l'historique de scilab.</para>
+    </refsection>
+    <refsection role="see also">
+        <title>Voir aussi</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="savehistory">savehistory</link>
+            </member>
+            <member>
+                <link linkend="loadhistory">loadhistory</link>
+            </member>
+            <member>
+                <link linkend="resethistory">resethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/fr_FR/loadhistory.xml b/modules/history_manager/help/fr_FR/loadhistory.xml
new file mode 100755
index 000000000..7cdb78bd5
--- /dev/null
+++ b/modules/history_manager/help/fr_FR/loadhistory.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="loadhistory">
+    <refnamediv>
+        <refname>loadhistory</refname>
+        <refpurpose>charge un fichier contenant l'historique</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Séquence d'appel</title>
+        <synopsis>loadhistory()
+            loadhistory(f)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Paramètres</title>
+        <variablelist>
+            <varlistentry>
+                <term>f</term>
+                <listitem>
+                    <para>chemin du fichier à charger</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>charge un fichier contenant l'historique</para>
+        <para>Par défaut, le nom du fichier contenant l'historique est SCIHOME/history</para>
+    </refsection>
+    <refsection>
+        <title>Exemples</title>
+        <programlisting role="example"><![CDATA[
+loadhistory(SCI+'/session.scilab')
+]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>Voir aussi</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="savehistory">savehistory</link>
+            </member>
+            <member>
+                <link linkend="resethistory">resethistory</link>
+            </member>
+            <member>
+                <link linkend="gethistory">gethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    Le fichier par défaut pour stocker l'historique est SCIHOME/history (au lieu de SCIHOME/.history.scilab).
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/fr_FR/resethistory.xml b/modules/history_manager/help/fr_FR/resethistory.xml
new file mode 100755
index 000000000..f2eaa9b0e
--- /dev/null
+++ b/modules/history_manager/help/fr_FR/resethistory.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="resethistory">
+    <refnamediv>
+        <refname>resethistory</refname>
+        <refpurpose>Efface toutes les entrées dans l'historique courant.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Séquence d'appel</title>
+        <synopsis>resethistory()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Description</title>
+        <para>Efface toutes les entrées dans l'historique courant.</para>
+    </refsection>
+    <refsection role="see also">
+        <title>Voir aussi</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="savehistory">savehistory</link>
+            </member>
+            <member>
+                <link linkend="loadhistory">loadhistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/fr_FR/savehistory.xml b/modules/history_manager/help/fr_FR/savehistory.xml
new file mode 100755
index 000000000..63dbf3fd0
--- /dev/null
+++ b/modules/history_manager/help/fr_FR/savehistory.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="savehistory">
+    <refnamediv>
+        <refname>savehistory</refname>
+        <refpurpose>sauvegarde l'historique de scilab dans un fichier.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Séquence d'appel</title>
+        <synopsis>savehistory()
+            savehistory(f)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Paramètres</title>
+        <variablelist>
+            <varlistentry>
+                <term>f</term>
+                <listitem>
+                    <para>chemin du fichier dans lequel sera sauvegardé l'historique de scilab</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>sauvegarde l'historique de scilab dans un fichier.</para>
+        <para>Par défaut, l'historique est sauvegardé dans SCIHOME/history</para>
+    </refsection>
+    <refsection>
+        <title>Exemples</title>
+        <programlisting role="example"><![CDATA[
+savehistory(SCI+'/session.scilab')
+]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>Voir aussi</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="loadhistory">loadhistory</link>
+            </member>
+            <member>
+                <link linkend="resethistory">resethistory</link>
+            </member>
+            <member>
+                <link linkend="gethistory">gethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    Le fichier par défaut pour stocker l'historique est SCIHOME/history (au lieu de SCIHOME/.history.scilab).
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/images/browsehistory_action.png b/modules/history_manager/help/images/browsehistory_action.png
new file mode 100755
index 000000000..b5526726c
Binary files /dev/null and b/modules/history_manager/help/images/browsehistory_action.png differ
diff --git a/modules/history_manager/help/images/browsehistory_list.png b/modules/history_manager/help/images/browsehistory_list.png
new file mode 100755
index 000000000..6972073ba
Binary files /dev/null and b/modules/history_manager/help/images/browsehistory_list.png differ
diff --git a/modules/history_manager/help/images/browsehistory_multiple.png b/modules/history_manager/help/images/browsehistory_multiple.png
new file mode 100755
index 000000000..6f20de29c
Binary files /dev/null and b/modules/history_manager/help/images/browsehistory_multiple.png differ
diff --git a/modules/history_manager/help/ja_JP/addchapter.sce b/modules/history_manager/help/ja_JP/addchapter.sce
new file mode 100755
index 000000000..f7285b634
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("History manager",SCI+"/modules/history_manager/help/ja_JP",%T);
+
diff --git a/modules/history_manager/help/ja_JP/addhistory.xml b/modules/history_manager/help/ja_JP/addhistory.xml
new file mode 100755
index 000000000..0fda04e0a
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/addhistory.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="addhistory">
+    <refnamediv>
+        <refname>addhistory</refname>
+        <refpurpose>現在の履歴に行を追加する.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>addhistory(string)
+            addhistory(string_matrix)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>string</term>
+                <listitem>
+                    <para>文字列</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>string_matrix</term>
+                <listitem>
+                    <para>文字列の行列</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>現在の履歴に行を追加します.</para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"><![CDATA[ 
+addhistory('hello')
+addhistory(['hello','Scilab'])
+ ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/browsehistory.xml b/modules/history_manager/help/ja_JP/browsehistory.xml
new file mode 100755
index 000000000..511d037dd
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/browsehistory.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="browsehistory">
+    <refnamediv>
+        <refname>browsehistory</refname>
+        <refpurpose>Scilab履歴ブラウザを開く</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>browsehistory()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>説明</title>
+        <para>履歴ブラウザを開きます.</para>
+        <para>
+            <literal>browsehistory</literal> は様々なScilabセッション
+            においてユーザにより入力されたコマンドの一覧を出力します.
+        </para>
+        <para>
+            <literal>browsehistory</literal> には以下の機能があります: 
+            <itemizedlist>
+                <listitem>
+                    <para>
+                        簡潔で分かりやすい一覧出力
+                        <para/>
+                        <para>
+                            <inlinemediaobject>
+                                <imageobject>
+                                    <imagedata fileref="../images/browsehistory_list.png"/>
+                                </imageobject>
+                            </inlinemediaobject>
+                        </para>
+                        <para/>
+                    </para>
+                </listitem>
+                <listitem>
+                    <para>
+                        履歴の各項目に処理(コピー/ペースト, 評価,
+                        SciNotesで編集, 等)を容易に実行
+                        <para/>
+                        <para>
+                            <inlinemediaobject>
+                                <imageobject>
+                                    <imagedata fileref="../images/browsehistory_action.png"/>
+                                </imageobject>
+                            </inlinemediaobject>
+                        </para>
+                        <para/>
+                    </para>
+                </listitem>
+                <listitem>
+                    <para>
+                        履歴の各項目を複数選択
+                        <para/>
+                        <para>
+                            <inlinemediaobject>
+                                <imageobject>
+                                    <imagedata fileref="../images/browsehistory_multiple.png"/>
+                                </imageobject>
+                            </inlinemediaobject>
+                        </para>
+                        <para/>
+                    </para>
+                </listitem>
+                <listitem>
+                    <para>
+                        履歴ブラウザから他のScilab要素(コンソール, SciNotes,など)に
+                        コピー/ペースト
+                    </para>
+                </listitem>
+                <listitem>
+                    <para>
+                        即時画面更新
+                    </para>
+                </listitem>
+            </itemizedlist>
+        </para>
+    </refsection>
+    <refsection>
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.0</revnumber>
+                <revremark>関数 browsehistory が導入されました.</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/displayhistory.xml b/modules/history_manager/help/ja_JP/displayhistory.xml
new file mode 100755
index 000000000..2199107e8
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/displayhistory.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="displayhistory">
+    <refnamediv>
+        <refname>displayhistory</refname>
+        <refpurpose>Scilab履歴を表示</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>displayhistory()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>説明</title>
+        <para>Scilab履歴を表示します.</para>
+    </refsection>
+    <refsection role="see also">
+        <title>参照</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="gethistory">gethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/gethistory.xml b/modules/history_manager/help/ja_JP/gethistory.xml
new file mode 100755
index 000000000..860a8d5ed
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/gethistory.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="gethistory">
+    <refnamediv>
+        <refname>gethistory</refname>
+        <refpurpose>Scilab履歴を文字列行列に取得
+        </refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>matstr=gethistory()
+            line=gethistory(N)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>matstr</term>
+                <listitem>
+                    <para>文字列行列</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>N</term>
+                <listitem>
+                    <para>Scilab履歴のN番目の行</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>line</term>
+                <listitem>
+                    <para>文字列</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>Scilab履歴を文字列行列に取得します.</para>
+    </refsection>
+    <refsection role="see also">
+        <title>参照</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="savehistory">savehistory</link>
+            </member>
+            <member>
+                <link linkend="loadhistory">loadhistory</link>
+            </member>
+            <member>
+                <link linkend="resethistory">resethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/gethistoryfile.xml b/modules/history_manager/help/ja_JP/gethistoryfile.xml
new file mode 100755
index 000000000..7072b343e
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/gethistoryfile.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="gethistoryfile">
+    <refnamediv>
+        <refname>gethistoryfile</refname>
+        <refpurpose>Scilab履歴に使用されるファイルの名前を取得</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>filename = gethistoryfile()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>filename</term>
+                <listitem>
+                    <para>履歴に使用されるファイルの名前</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>Scilabの履歴に使用されるファイルの名前を取得します.</para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"><![CDATA[ 
+gethistoryfile()
+ ]]></programlisting>
+    </refsection>
+    <refsection>
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    デフォルトの履歴ファイルは(SCIHOME/.history.scilabではなく)
+                    SCIHOME/history です.
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/historymanager.xml b/modules/history_manager/help/ja_JP/historymanager.xml
new file mode 100755
index 000000000..1a6ad0588
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/historymanager.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="historymanager">
+    <refnamediv>
+        <refname>historymanager</refname>
+        <refpurpose>履歴マネージャを有効/無効にする</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>state1=historymanager(state2)
+            state1=historymanager()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>state1</term>
+                <listitem>
+                    <para>履歴マネージャの状態('on' または 'off')を返す</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>state2</term>
+                <listitem>
+                    <para>履歴マネージャの状態を'on' または 'off'に設定</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>履歴マネージャを有効/無効にします.</para>
+        <para>'API'モードでは, 履歴マネージャは無効になります.</para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"><![CDATA[ 
+displayhistory()
+backupstate=historymanager()
+historymanager('off')
+displayhistory()
+historymanager('on')
+loadhistory()
+displayhistory()
+historymanager(backupstate)
+ ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>参照</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="getscilabmode">getscilabmode</link>
+            </member>
+            <member>
+                <link linkend="call_scilab">call_scilab</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/historysize.xml b/modules/history_manager/help/ja_JP/historysize.xml
new file mode 100755
index 000000000..996c8fedb
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/historysize.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ * Copyright (C) 2011 - DIGITEO - Allan CORNET 
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="historysize" xml:lang="ja">
+    <refnamediv>
+        <refname>historysize</refname>
+        <refpurpose>履歴の行数を取得</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>nb = historysize()</synopsis>
+        <synopsis>nbMax = historysize("max")</synopsis>
+        <synopsis>nbMax = historysize(newMax)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>nb</term>
+                <listitem>
+                    <para>履歴の行数.</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>nbMax</term>
+                <listitem>
+                    <para>履歴ファイルの最大行数.</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>newMax</term>
+                <listitem>
+                    <para>履歴ファイルの最大行数を設定します.</para>
+                    <para>デフォルトでこの値は最大20000行です.</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>履歴の行数を取得します.</para>
+        <para>この関数は履歴ファイルの最大行数を設定する際にも
+            使用できます.
+        </para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example">historysize()
+            historysize("max")
+        </programlisting>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/loadhistory.xml b/modules/history_manager/help/ja_JP/loadhistory.xml
new file mode 100755
index 000000000..f6e960bab
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/loadhistory.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ * Copyright (C) 2011 - DIGITEO - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="loadhistory" xml:lang="ja">
+    <refnamediv>
+        <refname>loadhistory</refname>
+        <refpurpose>履歴ファイルを読み込む</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>loadhistory()
+            loadhistory(f)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>f</term>
+                <listitem>
+                    <para>ファイルのパス名</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>履歴ファイルを読み込みます.</para>
+        <para>デフォルトで,履歴ファイル名は SCIHOME/history です.</para>
+        <para>デフォルトで, loadhistory は(読込時間を減らすために)
+            履歴ファイルの末尾 20000行を読み込みます.
+        </para>
+        <para>
+            この値を修正するには,
+            <link linkend="historysize">historysize(value)</link>
+            を参照してください.
+        </para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"> loadhistory(SCI+'/session.scilab')  </programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>参照</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="savehistory">savehistory</link>
+            </member>
+            <member>
+                <link linkend="resethistory">resethistory</link>
+            </member>
+            <member>
+                <link linkend="historysize">historysize</link>
+            </member>
+            <member>
+                <link linkend="gethistory">gethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    デフォルトの履歴ファイルは(SCIHOME/.history.scilabではなく)
+                    SCIHOME/history です.
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/removelinehistory.xml b/modules/history_manager/help/ja_JP/removelinehistory.xml
new file mode 100755
index 000000000..73434f997
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/removelinehistory.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="removelinehistory">
+    <refnamediv>
+        <refname>removelinehistory</refname>
+        <refpurpose>履歴のN行目を削除.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>removelinehistory(N)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>N</term>
+                <listitem>
+                    <para>行番号</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>履歴のN行目を削除します.</para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"><![CDATA[ 
+displayhistory()
+removelinehistory(historysize()-2)
+displayhistory()
+ ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/resethistory.xml b/modules/history_manager/help/ja_JP/resethistory.xml
new file mode 100755
index 000000000..42db75e07
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/resethistory.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="resethistory">
+    <refnamediv>
+        <refname>resethistory</refname>
+        <refpurpose>Scilab履歴の全エントリを削除する.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>resethistory()</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>説明</title>
+        <para>Scilab履歴の全てのエントリを削除します.</para>
+    </refsection>
+    <refsection role="see also">
+        <title>参照</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="savehistory">savehistory</link>
+            </member>
+            <member>
+                <link linkend="loadhistory">loadhistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/saveafterncommands.xml b/modules/history_manager/help/ja_JP/saveafterncommands.xml
new file mode 100755
index 000000000..c8ea7adc7
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/saveafterncommands.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="saveafterncommands">
+    <refnamediv>
+        <refname>saveafterncommands</refname>
+        <refpurpose>
+            ファイルにn個の命令を追加した後,履歴ファイルを保存する.
+        </refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>saveafterncommands(n)
+            v = saveafterncommands()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>n</term>
+                <listitem>
+                    <para>整数, n 命令</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>v</term>
+                <listitem>
+                    <para>カレントの値</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>
+            ファイルにn個の命令を追加した後,履歴ファイルを保存します.
+        </para>
+        <para>
+            例えば, オプションを選択し, n に 5を設定した場合,
+            5個の命令が追加される度に,履歴ファイルが自動的に保存されます.
+        </para>
+        <para>
+            電源異常のような異常終了により保存された履歴のエントリを
+            失ないたくない場合には,このオプションを使用してください.
+        </para>
+        <para>saveafterncommands() はカレントの値を返します.</para>
+        <para>
+            デフォルト値は0です. 履歴ファイルは
+            Scilabセッションの最後に保存されます.
+        </para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"><![CDATA[ 
+saveafterncommands(3)
+ ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/saveconsecutivecommands.xml b/modules/history_manager/help/ja_JP/saveconsecutivecommands.xml
new file mode 100755
index 000000000..51159ae98
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/saveconsecutivecommands.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="saveconsecutivecommands">
+    <refnamediv>
+        <refname>saveconsecutivecommands</refname>
+        <refpurpose>連続する冗長なコマンドを保存する.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>saveconsecutivecommands(boolean_in)
+            boolean_out = saveconsecutivecommands()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>boolean_in</term>
+                <listitem>
+                    <para>論理値 (%t または %f)</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>boolean_out</term>
+                <listitem>
+                    <para>カレントの値</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>
+            連続した冗長なコマンドを保存します.
+        </para>
+        <para>
+            連続した同じ命令の実行を履歴ファイルに保存したい場合,
+            saveconsecutivecommands(%t) としてください.
+        </para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"><![CDATA[ 
+saveconsecutivecommands()
+saveconsecutivecommands(%t)
+1
+1
+2
+saveconsecutivecommands(%f)
+1
+1
+2
+ ]]></programlisting>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/savehistory.xml b/modules/history_manager/help/ja_JP/savehistory.xml
new file mode 100755
index 000000000..4795ccea5
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/savehistory.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="savehistory">
+    <refnamediv>
+        <refname>savehistory</refname>
+        <refpurpose>履歴をファイルに保存</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>savehistory()
+            savehistory(f)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>f</term>
+                <listitem>
+                    <para>ファイルのパス名</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>履歴をファイルに保存します.</para>
+        <para>デフォルトの履歴ファイルは SCIHOME/history です.</para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"><![CDATA[
+savehistory(SCI+'/session.scilab')
+ ]]></programlisting>
+    </refsection>
+    <refsection role="see also">
+        <title>参照</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="loadhistory">loadhistory</link>
+            </member>
+            <member>
+                <link linkend="resethistory">resethistory</link>
+            </member>
+            <member>
+                <link linkend="gethistory">gethistory</link>
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    デフォルトの履歴ファイルは(SCIHOME/.history.scilabではなく)
+                    SCIHOME/history です.
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/ja_JP/sethistoryfile.xml b/modules/history_manager/help/ja_JP/sethistoryfile.xml
new file mode 100755
index 000000000..394990a90
--- /dev/null
+++ b/modules/history_manager/help/ja_JP/sethistoryfile.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="sethistoryfile">
+    <refnamediv>
+        <refname>sethistoryfile</refname>
+        <refpurpose>Scilab履歴のファイル名を設定</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>呼び出し手順</title>
+        <synopsis>sethistoryfile(filename)
+            sethistoryfile()
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>引数</title>
+        <variablelist>
+            <varlistentry>
+                <term>filename</term>
+                <listitem>
+                    <para>履歴のファイル名</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>説明</title>
+        <para>Scilab履歴のファイル名を設定します.</para>
+        <para>パラメータ無しのsethistoryfile() は
+            デフォルトのファイル名
+            (SCIHOME/history)を使用します.
+        </para>
+    </refsection>
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"><![CDATA[
+gethistoryfile()
+sethistoryfile(gethistoryfile())
+ ]]></programlisting>
+    </refsection>
+    <refsection>
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    デフォルトの履歴ファイルは(SCIHOME/.history.scilabではなく)
+                    SCIHOME/history です.
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
diff --git a/modules/history_manager/help/pt_BR/addchapter.sce b/modules/history_manager/help/pt_BR/addchapter.sce
new file mode 100755
index 000000000..8a75bfa8d
--- /dev/null
+++ b/modules/history_manager/help/pt_BR/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Gerenciador de histórico",SCI+"/modules/history_manager/help/pt_BR",%T);
+
diff --git a/modules/history_manager/help/ru_RU/addchapter.sce b/modules/history_manager/help/ru_RU/addchapter.sce
new file mode 100755
index 000000000..2ff244e5e
--- /dev/null
+++ b/modules/history_manager/help/ru_RU/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("History manager",SCI+"/modules/history_manager/help/ru_RU",%T);
+
diff --git a/modules/history_manager/history_manager.iss b/modules/history_manager/history_manager.iss
new file mode 100755
index 000000000..467f2d64e
--- /dev/null
+++ b/modules/history_manager/history_manager.iss
@@ -0,0 +1,51 @@
+;
+; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+; Copyright (C) INRIA - Allan CORNET
+; Copyright (C) DIGITEO - 2010 - Allan CORNET
+;
+; This file must be used under the terms of the CeCILL.
+; This source file is licensed as described in the file COPYING, which
+; you should have received as part of this distribution.  The terms
+; are also available at
+; http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+;
+;--------------------------------------------------------------------------------------------------------------
+; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required)
+;
+;--------------------------------------------------------------------------------------------------------------
+; history_manager module
+;--------------------------------------------------------------------------------------------------------------
+;
+#define HISTORY_MANAGER "history_manager"
+;
+Source: bin\sci{#HISTORY_MANAGER}.dll; DestDir: {app}\bin; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#HISTORY_MANAGER}\jar\org.scilab.modules.{#HISTORY_MANAGER}.jar;DestDir: {app}\modules\{#HISTORY_MANAGER}\jar; Components: {#COMPN_SCILAB}
+;
+;Source: bin\nosci{#HISTORY_MANAGER}.dll; DestDir: {app}\bin; DestName: sci{#HISTORY_MANAGER}.dll; Components: not ({#COMPN_SCILAB})
+;
+Source: modules\{#HISTORY_MANAGER}\license.txt; DestDir: {app}\modules\{#HISTORY_MANAGER}; Components: {#COMPN_SCILAB}
+
+;
+Source: modules\{#HISTORY_MANAGER}\sci_gateway\{#HISTORY_MANAGER}_gateway.xml; DestDir: {app}\modules\{#HISTORY_MANAGER}\sci_gateway; Components: {#COMPN_SCILAB}
+;
+;Source: modules\{#HISTORY_MANAGER}\includes\*.h; DestDir: {app}\modules\{#HISTORY_MANAGER}\includes; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#HISTORY_MANAGER}\etc\{#HISTORY_MANAGER}.quit; DestDir: {app}\modules\{#HISTORY_MANAGER}\etc; Components: {#COMPN_SCILAB}
+Source: modules\{#HISTORY_MANAGER}\etc\{#HISTORY_MANAGER}.start; DestDir: {app}\modules\{#HISTORY_MANAGER}\etc; Components: {#COMPN_SCILAB}
+Source: modules\{#HISTORY_MANAGER}\etc\*.xml; DestDir: {app}\modules\{#HISTORY_MANAGER}\etc; Components: {#COMPN_SCILAB}
+Source: modules\{#HISTORY_MANAGER}\etc\*.xsl; DestDir: {app}\modules\{#HISTORY_MANAGER}\etc; Components: {#COMPN_SCILAB}
+;
+;Source: modules\{#HISTORY_MANAGER}\macros\buildmacros.sce; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#HISTORY_MANAGER}\macros\buildmacros.bat; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#HISTORY_MANAGER}\macros\cleanmacros.bat; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
+;Source: modules\{#HISTORY_MANAGER}\macros\*.bin; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
+;Source: modules\{#HISTORY_MANAGER}\macros\*.sci; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
+;Source: modules\{#HISTORY_MANAGER}\macros\lib; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
+;Source: modules\{#HISTORY_MANAGER}\macros\names; DestDir: {app}\modules\{#HISTORY_MANAGER}\macros; Components: {#COMPN_SCILAB}
+;
+;Source: modules\{#HISTORY_MANAGER}\demos\*.*; DestDir: {app}\modules\{#HISTORY_MANAGER}\demos; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#HISTORY_MANAGER}\tests\*.*; DestDir: {app}\modules\{#HISTORY_MANAGER}\tests; Flags: recursesubdirs; Components: {#COMPN_SCILAB} and {#COMPN_TESTS}
+;
+;--------------------------------------------------------------------------------------------------------------
diff --git a/modules/history_manager/includes/HistoryManager.h b/modules/history_manager/includes/HistoryManager.h
new file mode 100755
index 000000000..68b08be8e
--- /dev/null
+++ b/modules/history_manager/includes/HistoryManager.h
@@ -0,0 +1,209 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2007-2008 - INRIA - Allan CORNET
+* Copyright (C) 2010 - DIGITEO - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*------------------------------------------------------------------------*/
+#ifndef __HISTORYMANAGER_C_H__
+#define __HISTORYMANAGER_C_H__
+#include "BOOL.h"
+#include "dynlib_history_manager.h"
+/*------------------------------------------------------------------------*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+    /*------------------------------------------------------------------------*/
+    /**
+    * get history manager state
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL historyIsEnabled(void);
+
+    /**
+    * append lines to History manager
+    * @param array of string
+    * @param size of the array of string
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL appendLinesToScilabHistory(char **lines_, int numberoflines);
+    // Note it is lines_ because line is a keyword for term stuff
+
+    /**
+    * add a line to History manager
+    * @param a line to add
+    * line isn't added if it is the same as previous (FALSE)
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL appendLineToScilabHistory(char *line);
+
+    /**
+    * Display history
+    */
+    HISTORY_MANAGER_IMPEXP void displayScilabHistory(void);
+
+    /**
+    * save history in a file
+    * @param a filename if NULL saves in default filename
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL writeScilabHistoryToFile(char *filename);
+
+    /**
+    * load history from a file
+    * @param a filename if NULL load from default filename
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL loadScilabHistoryFromFile(char *filename);
+
+    /**
+    * set filename of history
+    * @param filename of history
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL setFilenameScilabHistory(char *filename);
+
+    /**
+    * get filename of history
+    * @return a filename
+    */
+    HISTORY_MANAGER_IMPEXP char *getFilenameScilabHistory(void);
+
+    /**
+    * set default filename of history
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL setDefaultFilenameScilabHistory(void);
+
+    /**
+    * get info about history file was or not truncated (too big)
+    * @return TRUE (truncated) or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL isScilabHistoryTruncated(void);
+
+    /**
+    * reset history manager
+    */
+    HISTORY_MANAGER_IMPEXP void resetScilabHistory(void);
+
+    /**
+    * Get all lines in history
+    * @return an array of string
+    */
+    HISTORY_MANAGER_IMPEXP char **getAllLinesOfScilabHistory(void);
+
+    /**
+    * Get numbers of lines in history
+    * size of array returned by getAllLinesOfScilabHistory
+    * @return int
+    */
+    HISTORY_MANAGER_IMPEXP int getSizeAllLinesOfScilabHistory(void);
+
+    /**
+    * set new token to search in history
+    * @param token (a string)
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL setSearchedTokenInScilabHistory(char *token);
+
+    /**
+    * reset search in history
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL resetSearchedTokenInScilabHistory(void);
+
+    /**
+    * get token searched in history
+    * @return token (a string)
+    */
+    HISTORY_MANAGER_IMPEXP char *getSearchedTokenInScilabHistory(void);
+
+    /**
+    * Get the previous line in Scilab history
+    * @return a line or NULL
+    * after an appendLine iterator go to end
+    */
+    HISTORY_MANAGER_IMPEXP char *getPreviousLineInScilabHistory(void);
+
+    /**
+    * Get the next line in Scilab history
+    * @return a line or NULL
+    * after an appendLine iterator go to end
+    */
+    HISTORY_MANAGER_IMPEXP char *getNextLineInScilabHistory(void);
+
+    /**
+    * Get numbers of lines in history
+    * @return number of lines
+    */
+    HISTORY_MANAGER_IMPEXP int getNumberOfLinesInScilabHistory(void);
+
+    /**
+    * set consecutive duplicate lines are added
+    * @param doit (TRUE or FALSE)
+    */
+    HISTORY_MANAGER_IMPEXP void setSaveConsecutiveDuplicateLinesInScilabHistory(BOOL doit);
+
+    /**
+    * indicate if consecutive duplicate lines are added
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL getSaveConsecutiveDuplicateLinesInScilabHistory(void);
+
+    /**
+    * Set after how many lines history is saved
+    * @param number between 0 and Max
+    * default value is 0 (disabled)
+    */
+    HISTORY_MANAGER_IMPEXP void setAfterHowManyLinesScilabHistoryIsSaved(int num);
+
+    /**
+    * Get after how many lines history is saved
+    * @return number between 0 and Max
+    * default value is 0 (disabled)
+    */
+    HISTORY_MANAGER_IMPEXP int getAfterHowManyLinesScilabHistoryIsSaved(void);
+
+    /**
+    * Get the Nth Line in history
+    * @param N
+    * @return the Nth Line
+    */
+    HISTORY_MANAGER_IMPEXP char *getNthLineInScilabHistory(int N);
+
+    /**
+    * delete the Nth Line in history
+    * @param N
+    * @return TRUE or FALSE
+    */
+    HISTORY_MANAGER_IMPEXP BOOL deleteNthLineScilabHistory(int N);
+
+    /**
+    * get number of lines of history
+    * @return a number >= 0
+    */
+    HISTORY_MANAGER_IMPEXP int getSizeScilabHistory(void);
+
+    /**
+    */
+    HISTORY_MANAGER_IMPEXP BOOL setSizeMaxScilabHistory(int nbLinesMax);
+
+    /**
+    */
+    int getSizeMaxScilabHistory(void);
+
+
+    /*------------------------------------------------------------------------*/
+#ifdef __cplusplus
+}
+#endif
+/*------------------------------------------------------------------------*/
+#endif /* __HISTORYMANAGER_C_H__ */
+/*------------------------------------------------------------------------*/
diff --git a/modules/history_manager/includes/InitializeHistoryManager.h b/modules/history_manager/includes/InitializeHistoryManager.h
new file mode 100755
index 000000000..a51c3fe67
--- /dev/null
+++ b/modules/history_manager/includes/InitializeHistoryManager.h
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __INITIALIZEHISTORYMANAGER_H__
+#define __INITIALIZEHISTORYMANAGER_H__
+
+#include "dynlib_history_manager.h"
+#include "BOOL.h" /* BOOL */
+
+HISTORY_MANAGER_IMPEXP BOOL InitializeHistoryManager(void);
+
+#endif /* __INITIALIZEHISTORYMANAGER_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/includes/TerminateHistoryManager.h b/modules/history_manager/includes/TerminateHistoryManager.h
new file mode 100755
index 000000000..fb6aaeeb9
--- /dev/null
+++ b/modules/history_manager/includes/TerminateHistoryManager.h
@@ -0,0 +1,23 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __TERMINATHISTORYMANAGER_H__
+#define __TERMINATHISTORYMANAGER_H__
+
+#include "dynlib_history_manager.h"
+#include "BOOL.h" /* BOOL */
+
+HISTORY_MANAGER_IMPEXP BOOL TerminateHistoryManager(void);
+
+#endif /* __TERMINATHISTORYMANAGER_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/includes/dynlib_history_manager.h b/modules/history_manager/includes/dynlib_history_manager.h
new file mode 100755
index 000000000..39f110739
--- /dev/null
+++ b/modules/history_manager/includes/dynlib_history_manager.h
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) DIGITEO - 2009 - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#ifndef __DYNLIB_HISTORY_MANAGER_H__
+#define __DYNLIB_HISTORY_MANAGER_H__
+
+#ifdef _MSC_VER
+#ifdef HISTORY_MANAGER_EXPORTS
+#define HISTORY_MANAGER_IMPEXP __declspec(dllexport)
+#else
+#define HISTORY_MANAGER_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define HISTORY_MANAGER_IMPEXP
+#endif
+
+#endif /* __DYNLIB_HISTORY_MANAGER_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/includes/gw_history_manager.h b/modules/history_manager/includes/gw_history_manager.h
new file mode 100755
index 000000000..498c0cdd2
--- /dev/null
+++ b/modules/history_manager/includes/gw_history_manager.h
@@ -0,0 +1,37 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#ifndef __GW_HISTORY_MANAGER_H__
+#define __GW_HISTORY_MANAGER_H__
+/*--------------------------------------------------------------------------*/
+#include "dynlib_history_manager.h"
+/*--------------------------------------------------------------------------*/
+HISTORY_MANAGER_IMPEXP int gw_history_manager(void);
+/*--------------------------------------------------------------------------*/
+/* Declaration of all the profile function declared and */
+/* used in sci_gateway */
+HISTORY_MANAGER_IMPEXP int sci_loadhistory(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_savehistory(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_gethistory(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_resethistory(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_displayhistory(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_addhistory(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_saveafterncommands(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_saveconsecutivecommands(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_gethistoryfile(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_sethistoryfile(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_removelinehistory(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_historysize(char *fname, unsigned long fname_len);
+HISTORY_MANAGER_IMPEXP int sci_historymanager(char *fname, unsigned long fname_len);
+/*--------------------------------------------------------------------------*/
+#endif /*  __GW_HISTORY_MANAGER_H__ */
diff --git a/modules/history_manager/jar/org.scilab.modules.history_manager.jar b/modules/history_manager/jar/org.scilab.modules.history_manager.jar
new file mode 100755
index 000000000..82486b42a
Binary files /dev/null and b/modules/history_manager/jar/org.scilab.modules.history_manager.jar differ
diff --git a/modules/history_manager/libscihistory_manager-algo.la b/modules/history_manager/libscihistory_manager-algo.la
new file mode 100755
index 000000000..b02fe1c93
--- /dev/null
+++ b/modules/history_manager/libscihistory_manager-algo.la
@@ -0,0 +1,41 @@
+# libscihistory_manager-algo.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname=''
+
+# Names of this library.
+library_names=''
+
+# The name of the static archive.
+old_library='libscihistory_manager-algo.a'
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=''
+
+# Libraries that this one depends upon.
+dependency_libs=' -lpthread -ldl -lcurses'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libscihistory_manager-algo.
+current=
+age=
+revision=
+
+# Is this an already installed library?
+installed=no
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir=''
diff --git a/modules/history_manager/libscihistory_manager.la b/modules/history_manager/libscihistory_manager.la
new file mode 100755
index 000000000..0ffe811f5
--- /dev/null
+++ b/modules/history_manager/libscihistory_manager.la
@@ -0,0 +1,41 @@
+# libscihistory_manager.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libscihistory_manager.so.5'
+
+# Names of this library.
+library_names='libscihistory_manager.so.5.5.2 libscihistory_manager.so.5 libscihistory_manager.so'
+
+# The name of the static archive.
+old_library=''
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=''
+
+# Libraries that this one depends upon.
+dependency_libs=' -lpthread -ldl -lcurses -lm'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libscihistory_manager.
+current=10
+age=5
+revision=2
+
+# Is this an already installed library?
+installed=no
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/usr/local/lib/scilab'
diff --git a/modules/history_manager/license.txt b/modules/history_manager/license.txt
new file mode 100755
index 000000000..ceaa946a2
--- /dev/null
+++ b/modules/history_manager/license.txt
@@ -0,0 +1,11 @@
+Copyright:
+Copyright (c) 2008 - DIGITEO
+Copyright (c) 1989-2008 - INRIA
+
+License:
+This module must be used under the terms of the CeCILL.
+This module file is licensed as described in the file COPYING, which
+you should have received as part of this distribution.  The terms
+are also available at
+http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
diff --git a/modules/history_manager/locales/ca_ES.po b/modules/history_manager/locales/ca_ES.po
new file mode 100755
index 000000000..df77d2eac
--- /dev/null
+++ b/modules/history_manager/locales/ca_ES.po
@@ -0,0 +1,160 @@
+# Catalan translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2009-02-13 09:49+0000\n"
+"Last-Translator: oriolsbd <oriolsbd@yahoo.es>\n"
+"Language-Team: Catalan <ca@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: ca\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d és d'un tipus incorrecte: Ha de ser un vector "
+"de cadenes de text.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d és d'un tipus incorrecte: Ha de ser un "
+"escalar.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: Hi ha hagut un error: %s\n"
+
+msgid "filename not defined."
+msgstr "No s'ha definit el nom del fitxer."
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d té un valor incorrecte: Ha de ser '%s' o '%s'.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+"%s: L'argument d'entrada #%d té un valor incorrecte. Ha d'estar a l'interval "
+"[%d,%d].\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: L'argument d'entrada #%d és d'un tipus incorrecte: Ha de ser un booleà.\n"
+
+msgid "Command history"
+msgstr ""
+
+msgid "History Management Settings"
+msgstr ""
+
+msgid "Enable history management"
+msgstr ""
+
+msgid "History file: "
+msgstr ""
+
+msgid "History files"
+msgstr ""
+
+msgid "History lines: "
+msgstr ""
+
+msgid "Begin Session : "
+msgstr ""
+
+msgid "Sun"
+msgstr "Dg"
+
+msgid "Mon"
+msgstr "Dl"
+
+msgid "Tue"
+msgstr "Dt"
+
+msgid "Wed"
+msgstr "Dc"
+
+msgid "Thu"
+msgstr "Dj"
+
+msgid "Fri"
+msgstr "Dv"
+
+msgid "Sat"
+msgstr "Ds"
+
+msgid "Jan"
+msgstr "Gen"
+
+msgid "Feb"
+msgstr "Feb"
+
+msgid "Mar"
+msgstr "Mar"
+
+msgid "Apr"
+msgstr "Abr"
+
+msgid "May"
+msgstr "Mai"
+
+msgid "Jun"
+msgstr "Jun"
+
+msgid "Jul"
+msgstr "Jul"
+
+msgid "Aug"
+msgstr "Ago"
+
+msgid "Sep"
+msgstr "Set"
+
+msgid "Oct"
+msgstr "Oct"
+
+msgid "Nov"
+msgstr "Nov"
+
+msgid "Dec"
+msgstr "Des"
diff --git a/modules/history_manager/locales/cs_CZ.po b/modules/history_manager/locales/cs_CZ.po
new file mode 100755
index 000000000..6494db95a
--- /dev/null
+++ b/modules/history_manager/locales/cs_CZ.po
@@ -0,0 +1,153 @@
+# Czech translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-23 20:00+0000\n"
+"Last-Translator: Zbyněk Schwarz <Unknown>\n"
+"Language-Team: Czech <cs@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr "%s: Nelze přidat řádek do historie.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr "%s: Špatný typ vstupního argumentu #%d: Očekáváno pole řetězců.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr "%s: Špatný typ vstupního argumentu #%d: Očekáván skalár.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: Vyskytla se chyba: %s\n"
+
+msgid "filename not defined."
+msgstr "jméno souboru není definováno."
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+"%s: Špatná hodnota vstupního argumentu #%d:  Musí být '%s' nebo '%s'.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Nelze přečíst vstupní argument #%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr "%s: Špatná hodnota vstupního argumentu #%d: očekáváno \"%s\".\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Chyba při přidělování paměti.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s: Špatná velikost vstupního argumentu #%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s: Špatná hodnota vstupního argumentu #%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s: Špatný typ vstupního argumentu #%d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+"%s: Špatná hodnota vstupního argumentu #%d:  Musí být v intervalu [%d, %d].\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr "%s: Špatný typ vstupního argumentu #%d: Očekáván boolean.\n"
+
+msgid "Command history"
+msgstr "Historie příkazů"
+
+msgid "History Management Settings"
+msgstr "Nastavení správy historie"
+
+msgid "Enable history management"
+msgstr "Povolit správu historie"
+
+msgid "History file: "
+msgstr "Soubor historie: "
+
+msgid "History files"
+msgstr "Soubory historie"
+
+msgid "History lines: "
+msgstr "Řádky historie: "
+
+msgid "Begin Session : "
+msgstr "Začít Sezení : "
+
+msgid "Sun"
+msgstr "Ne"
+
+msgid "Mon"
+msgstr "Po"
+
+msgid "Tue"
+msgstr "Út"
+
+msgid "Wed"
+msgstr "St"
+
+msgid "Thu"
+msgstr "Čt"
+
+msgid "Fri"
+msgstr "Pá"
+
+msgid "Sat"
+msgstr "So"
+
+msgid "Jan"
+msgstr "Led"
+
+msgid "Feb"
+msgstr "Úno"
+
+msgid "Mar"
+msgstr "Bře"
+
+msgid "Apr"
+msgstr "Dub"
+
+msgid "May"
+msgstr "Kvě"
+
+msgid "Jun"
+msgstr "Čer"
+
+msgid "Jul"
+msgstr "Čvc"
+
+msgid "Aug"
+msgstr "Srp"
+
+msgid "Sep"
+msgstr "Zář"
+
+msgid "Oct"
+msgstr "Říj"
+
+msgid "Nov"
+msgstr "Lis"
+
+msgid "Dec"
+msgstr "Pro"
diff --git a/modules/history_manager/locales/de_DE.po b/modules/history_manager/locales/de_DE.po
new file mode 100755
index 000000000..7a033a3a6
--- /dev/null
+++ b/modules/history_manager/locales/de_DE.po
@@ -0,0 +1,158 @@
+# German translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2010-12-29 10:11+0000\n"
+"Last-Translator: Jens Maucher <Unknown>\n"
+"Language-Team: German <de@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: de\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr ""
+"%s: falscher Typ für Eingangsargument #%d: Matrix mit Zeichenketten "
+"erwartet.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr "%s: falscher Typ für Eingangsargument #%d: ein Skalar erwartet.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: ein Fehler ist aufgetreten: %s\n"
+
+msgid "filename not defined."
+msgstr "Dateiname nicht definiert."
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+"%s: falscher Wert für Eingangsargument #%d: muß sich in '%s' oder '%s' "
+"befinden.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+"%s: falscher Wert für Eingangsargument #%d: muß sich im Intervall [%d, %d].\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: falscher Typ für Eingangsargument #%d: ein boolscher Wert erwartet.\n"
+
+msgid "Command history"
+msgstr ""
+
+msgid "History Management Settings"
+msgstr ""
+
+msgid "Enable history management"
+msgstr ""
+
+msgid "History file: "
+msgstr ""
+
+msgid "History files"
+msgstr ""
+
+msgid "History lines: "
+msgstr ""
+
+msgid "Begin Session : "
+msgstr "Beginne Sitzung : "
+
+msgid "Sun"
+msgstr "Sonne"
+
+msgid "Mon"
+msgstr "Montag"
+
+msgid "Tue"
+msgstr "Dienstag"
+
+msgid "Wed"
+msgstr "Mittwoch"
+
+msgid "Thu"
+msgstr "Donnerstag"
+
+msgid "Fri"
+msgstr "Freitag"
+
+msgid "Sat"
+msgstr "Samstag"
+
+msgid "Jan"
+msgstr "Januar"
+
+msgid "Feb"
+msgstr "Februar"
+
+msgid "Mar"
+msgstr "März"
+
+msgid "Apr"
+msgstr "April"
+
+msgid "May"
+msgstr "Mai"
+
+msgid "Jun"
+msgstr "Juni"
+
+msgid "Jul"
+msgstr "Juli"
+
+msgid "Aug"
+msgstr "August"
+
+msgid "Sep"
+msgstr "September"
+
+msgid "Oct"
+msgstr "Oktober"
+
+msgid "Nov"
+msgstr "November"
+
+msgid "Dec"
+msgstr "Dezember"
diff --git a/modules/history_manager/locales/es_ES.po b/modules/history_manager/locales/es_ES.po
new file mode 100755
index 000000000..b6f027b9e
--- /dev/null
+++ b/modules/history_manager/locales/es_ES.po
@@ -0,0 +1,160 @@
+# Spanish translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2011-10-21 22:43+0000\n"
+"Last-Translator: Fido <Unknown>\n"
+"Language-Team: Spanish <es@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: es\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un arreglo de "
+"strings.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un escalar.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: Ocurrió un error: %s\n"
+
+msgid "filename not defined."
+msgstr "Nombre de archivo no definido."
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+"%s: Valor incorrecto del argumento de entrada #%d: Debe ser '%s' o '%s'.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr ""
+"%s: Valor incorrecto del argumento de entrada #%d: Se esperaba \"%s\".\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Error de asignación de memoria.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s: Tamaño incorrecto para el argumento de entrada #%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s: Valor incorrecto del argumento de entrada #%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s: Tipo incorrecto del argumento de entrada #%d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+"%s: Valor incorrecto del argumento de entrada #%d: Debe estar en el "
+"intervalo [%d, %d].\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un booleano.\n"
+
+msgid "Command history"
+msgstr ""
+
+msgid "History Management Settings"
+msgstr ""
+
+msgid "Enable history management"
+msgstr ""
+
+msgid "History file: "
+msgstr ""
+
+msgid "History files"
+msgstr ""
+
+msgid "History lines: "
+msgstr ""
+
+msgid "Begin Session : "
+msgstr "Iniciar Sesión: "
+
+msgid "Sun"
+msgstr "Dom"
+
+msgid "Mon"
+msgstr "Lun"
+
+msgid "Tue"
+msgstr "Mar"
+
+msgid "Wed"
+msgstr "Mié"
+
+msgid "Thu"
+msgstr "Jue"
+
+msgid "Fri"
+msgstr "Vie"
+
+msgid "Sat"
+msgstr "Sáb"
+
+msgid "Jan"
+msgstr "Ene"
+
+msgid "Feb"
+msgstr "Feb"
+
+msgid "Mar"
+msgstr "Mar"
+
+msgid "Apr"
+msgstr "Abr"
+
+msgid "May"
+msgstr "May"
+
+msgid "Jun"
+msgstr "Jun"
+
+msgid "Jul"
+msgstr "Jul"
+
+msgid "Aug"
+msgstr "Ago"
+
+msgid "Sep"
+msgstr "Sep"
+
+msgid "Oct"
+msgstr "Oct"
+
+msgid "Nov"
+msgstr "Nov"
+
+msgid "Dec"
+msgstr "Dic"
diff --git a/modules/history_manager/locales/fr_FR.po b/modules/history_manager/locales/fr_FR.po
new file mode 100755
index 000000000..cedea6d45
--- /dev/null
+++ b/modules/history_manager/locales/fr_FR.po
@@ -0,0 +1,158 @@
+# French translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-23 09:17+0000\n"
+"Last-Translator: Julie PAUL <Unknown>\n"
+"Language-Team: French <fr@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: fr\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr "%s : Impossible d'ajouter une ligne à l'historique.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d : Une table de chaîne de "
+"caractères attendue.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d : Un scalaire attendu.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s : Une erreur s'est produite : %s\n"
+
+msgid "filename not defined."
+msgstr "Nom de fichier non défini."
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+"%s : Valeur erronée de l'argument d'entrée n°%d : Doit être '%s' ou '%s'.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s : Impossible de lire l'argument d'entrée n°%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr "%s : Valeur erronée de l'argument d'entrée %d : \"%s\" attendu.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s : Erreur d'allocation mémoire.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s : Dimension erronée de l'argument d'entrée n°%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s : Valeur erronée de l'argument d'entrée n°%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s : Type erroné de l'argument d'entrée n°%d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+"%s : Valeur erronée de l'argument d'entrée n°%d : Doit être dans "
+"l'intervalle [%d, %d].\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr "%s : Type erroné de l'argument d'entrée n°%d : Un booléen attendu.\n"
+
+msgid "Command history"
+msgstr "Historique de commandes"
+
+msgid "History Management Settings"
+msgstr "Paramètres de l'historique"
+
+msgid "Enable history management"
+msgstr "Activer l'historique"
+
+msgid "History file: "
+msgstr "Fichier d'historique : "
+
+msgid "History files"
+msgstr "Fichiers d'historique"
+
+msgid "History lines: "
+msgstr "Lignes d'historique : "
+
+msgid "Begin Session : "
+msgstr "Début de session : "
+
+msgid "Sun"
+msgstr "Dim."
+
+msgid "Mon"
+msgstr "Lun."
+
+msgid "Tue"
+msgstr "Mar."
+
+msgid "Wed"
+msgstr "Mer."
+
+msgid "Thu"
+msgstr "Jeu."
+
+msgid "Fri"
+msgstr "Ven."
+
+msgid "Sat"
+msgstr "Sam."
+
+msgid "Jan"
+msgstr "Jan."
+
+msgid "Feb"
+msgstr "Fév."
+
+msgid "Mar"
+msgstr "Mars"
+
+msgid "Apr"
+msgstr "Avr."
+
+msgid "May"
+msgstr "Mai"
+
+msgid "Jun"
+msgstr "Juin"
+
+msgid "Jul"
+msgstr "Juil."
+
+msgid "Aug"
+msgstr "Août"
+
+msgid "Sep"
+msgstr "Sept."
+
+msgid "Oct"
+msgstr "Oct."
+
+msgid "Nov"
+msgstr "Nov."
+
+msgid "Dec"
+msgstr "Déc."
diff --git a/modules/history_manager/locales/history_manager.pot b/modules/history_manager/locales/history_manager.pot
new file mode 100755
index 000000000..2a6e1fe29
--- /dev/null
+++ b/modules/history_manager/locales/history_manager.pot
@@ -0,0 +1,234 @@
+# Localization of the module history_manager
+# Please see in SCI/tools/localization for localization management
+# Copyright (C) 2007-2008 - INRIA
+# Copyright (C) 2008-2011 - DIGITEO
+# Copyright (C) 2012-2014 - Scilab-Enterprises
+# This file is distributed under the same license as the Scilab package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"Last-Translator: Vincent COUVERT <vincent.couvert@scilab-enterprises.com>\n"
+"Language-Team: Scilab Localization <localization@lists.scilab.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Revision-Date: 2015-03-27 13:54+0100\n"
+
+# File: sci_gateway/c/sci_addhistory.c, line: 83
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_addhistory.c, line: 92
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_gethistory.c, line: 62
+# File: sci_gateway/c/sci_removelinehistory.c, line: 47
+# File: sci_gateway/c/sci_saveafterncommands.c, line: 55
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_gethistoryfile.c, line: 46
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_gethistoryfile.c, line: 46
+msgid "filename not defined."
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_historymanager.c, line: 89
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_historysize.c, line: 37
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_historysize.c, line: 56
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_historysize.c, line: 64
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_historysize.c, line: 70
+# File: sci_gateway/c/sci_historysize.c, line: 93
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_historysize.c, line: 86
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_historysize.c, line: 99
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_removelinehistory.c, line: 37
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+
+#
+# File: sci_gateway/c/sci_saveconsecutivecommands.c, line: 54
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+
+#
+# File: scilab_fake_localization_file.c, line: 2
+msgid "Command history"
+msgstr ""
+
+#
+# File: scilab_fake_localization_file.c, line: 16
+msgid "History Management Settings"
+msgstr ""
+
+#
+# File: scilab_fake_localization_file.c, line: 18
+msgid "Enable history management"
+msgstr ""
+
+#
+# File: scilab_fake_localization_file.c, line: 23
+msgid "History file: "
+msgstr ""
+
+#
+# File: scilab_fake_localization_file.c, line: 30
+msgid "History files"
+msgstr ""
+
+#
+# File: scilab_fake_localization_file.c, line: 37
+msgid "History lines: "
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 27
+msgid "Begin Session : "
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 122
+msgid "Sun"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 123
+msgid "Mon"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 124
+msgid "Tue"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 125
+msgid "Wed"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 126
+msgid "Thu"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 127
+msgid "Fri"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 128
+msgid "Sat"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 142
+msgid "Jan"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 143
+msgid "Feb"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 144
+msgid "Mar"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 145
+msgid "Apr"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 146
+msgid "May"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 147
+msgid "Jun"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 148
+msgid "Jul"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 149
+msgid "Aug"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 150
+msgid "Sep"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 151
+msgid "Oct"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 152
+msgid "Nov"
+msgstr ""
+
+#
+# File: src/c/getCommentDateSession.c, line: 153
+msgid "Dec"
+msgstr ""
diff --git a/modules/history_manager/locales/it_IT.po b/modules/history_manager/locales/it_IT.po
new file mode 100755
index 000000000..d4459c028
--- /dev/null
+++ b/modules/history_manager/locales/it_IT.po
@@ -0,0 +1,163 @@
+# Italian translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-09-30 16:57+0000\n"
+"Last-Translator: Carml <mighty.carml@gmail.com>\n"
+"Language-Team: Italian <it@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: it\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr "%s: Impossile aggiungere una riga alla cronologia.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso un array di "
+"stringhe.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso uno "
+"scalare.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: Si è verificato il seg. errore: %s\n"
+
+msgid "filename not defined."
+msgstr "nomefile non è definito."
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+"%s L'argomento in ingresso #%d ha un valore sbagliato: deve essere '%s' o "
+"'%s'.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Impossibile leggere l'argomento in ingresso #%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha un valore sbagliato: era atteso \"%s\".\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Errore di allocazione della memoria.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s: L'argomento in ingresso #%d ha una dimensione sbagliata.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s: L'argomento in ingresso #%d ha un valore sbagliato.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s: L'argomento in ingresso #%d è di tipo sbagliato.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha un valore sbagliato: deve essere "
+"nell'intervallo [%d,%d].\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso un valore "
+"booleano.\n"
+
+msgid "Command history"
+msgstr "Cronologia dei comandi"
+
+msgid "History Management Settings"
+msgstr "Impostazioni di gestione della cronologia"
+
+msgid "Enable history management"
+msgstr "Abilita la gestione della cronologia"
+
+msgid "History file: "
+msgstr "File della cronologia: "
+
+msgid "History files"
+msgstr "I file della cronologia"
+
+msgid "History lines: "
+msgstr "Righe della cronologia: "
+
+msgid "Begin Session : "
+msgstr "Inizia una sessione: "
+
+msgid "Sun"
+msgstr "Dom"
+
+msgid "Mon"
+msgstr "Lun"
+
+msgid "Tue"
+msgstr "Mar"
+
+msgid "Wed"
+msgstr "Mer"
+
+msgid "Thu"
+msgstr "Gio"
+
+msgid "Fri"
+msgstr "Ven"
+
+msgid "Sat"
+msgstr "Sab"
+
+msgid "Jan"
+msgstr "Gen"
+
+msgid "Feb"
+msgstr "Feb"
+
+msgid "Mar"
+msgstr "Mar"
+
+msgid "Apr"
+msgstr "Apr"
+
+msgid "May"
+msgstr "Mag"
+
+msgid "Jun"
+msgstr "Giu"
+
+msgid "Jul"
+msgstr "Lug"
+
+msgid "Aug"
+msgstr "Ago"
+
+msgid "Sep"
+msgstr "Set"
+
+msgid "Oct"
+msgstr "Ott"
+
+msgid "Nov"
+msgstr "Nov"
+
+msgid "Dec"
+msgstr "Dic"
diff --git a/modules/history_manager/locales/ja_JP.po b/modules/history_manager/locales/ja_JP.po
new file mode 100755
index 000000000..1d5c42b7e
--- /dev/null
+++ b/modules/history_manager/locales/ja_JP.po
@@ -0,0 +1,196 @@
+# Japanese translation for scilab
+# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-22 14:26+0000\n"
+"Last-Translator: Rui Hirokawa <Unknown>\n"
+"Language-Team: Japanese <z-saito@guitar.ocn.ne.jp>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"X-Poedit-Country: Japan\n"
+"Language: ja\n"
+"X-Poedit-Language: Japanese\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr "%s: 履歴に線を追加できませんでした.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr "%s: 入力引数 #%d の型が正しくありません: 文字配列を指定してください.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr "%s: 入力引数 #%d の型が間違っています: スカラーを指定してください.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: エラーが発生しました: %s\n"
+
+#
+# File: sci_gateway/c/sci_gethistoryfile.c, line: 41
+msgid "filename not defined."
+msgstr "ファイル名が定義されていません。"
+
+#
+# File: sci_gateway/c/sci_historymanager.c, line: 76
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr "%s: 入力引数 #%d で不正な値: '%s' または '%s'であるべきです。\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: 入力引数 #%d を読み込めません.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr "%s: 入力引数 #%d の値が間違っています: \"%s\" を指定してください.\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: メモリ確保エラー.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s: 入力引数 #%d の大きさが間違っています.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s: 入力引数 #%d の値が間違っています.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s: 入力引数 #%d の型が間違っています.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr "%s: 入力引数 #%d の値が間違っています: [%d,%d] の範囲としてください.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr "%s: 入力引数 #%d の型が間違っています: 論理値を指定してください.\n"
+
+msgid "Command history"
+msgstr "コマンド履歴"
+
+msgid "History Management Settings"
+msgstr "履歴管理の設定"
+
+msgid "Enable history management"
+msgstr "履歴管理を有効にする"
+
+msgid "History file: "
+msgstr "履歴ファイル: "
+
+msgid "History files"
+msgstr "履歴ファイル"
+
+msgid "History lines: "
+msgstr "履歴の行: "
+
+msgid "Begin Session : "
+msgstr "セッションを開始: "
+
+#
+# File: src/c/getCommentDateSession.c, line: 108
+msgid "Sun"
+msgstr "日"
+
+#
+# File: src/c/getCommentDateSession.c, line: 109
+msgid "Mon"
+msgstr "月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 110
+msgid "Tue"
+msgstr "火"
+
+#
+# File: src/c/getCommentDateSession.c, line: 111
+msgid "Wed"
+msgstr "水"
+
+#
+# File: src/c/getCommentDateSession.c, line: 112
+msgid "Thu"
+msgstr "木"
+
+#
+# File: src/c/getCommentDateSession.c, line: 113
+msgid "Fri"
+msgstr "金"
+
+#
+# File: src/c/getCommentDateSession.c, line: 114
+msgid "Sat"
+msgstr "土"
+
+#
+# File: src/c/getCommentDateSession.c, line: 126
+msgid "Jan"
+msgstr "1月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 127
+msgid "Feb"
+msgstr "2月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 128
+msgid "Mar"
+msgstr "3月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 129
+msgid "Apr"
+msgstr "4月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 130
+msgid "May"
+msgstr "5月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 131
+msgid "Jun"
+msgstr "6月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 132
+msgid "Jul"
+msgstr "7月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 133
+msgid "Aug"
+msgstr "8月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 134
+msgid "Sep"
+msgstr "9月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 135
+msgid "Oct"
+msgstr "10月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 136
+msgid "Nov"
+msgstr "11月"
+
+#
+# File: src/c/getCommentDateSession.c, line: 137
+msgid "Dec"
+msgstr "12月"
diff --git a/modules/history_manager/locales/pl_PL.po b/modules/history_manager/locales/pl_PL.po
new file mode 100755
index 000000000..82c1feac1
--- /dev/null
+++ b/modules/history_manager/locales/pl_PL.po
@@ -0,0 +1,162 @@
+# Polish translation for scilab
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2011-12-03 13:25+0000\n"
+"Last-Translator: I.Rokach <Unknown>\n"
+"Language-Team: Polish <pl@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: pl\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr ""
+"%s: Nieprawidłowy typ argumentu wejściowego nr %d: oczekiwano tablicy ciągów "
+"znaków.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr ""
+"%s: Nieprawidłowy typ argumentu wejściowego nr %d: oczekiwano skalara.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: Wystąpił błąd: %s\n"
+
+msgid "filename not defined."
+msgstr "nie określona nazwa pliku."
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+"%s: Nieprawidłowa wartość dla argumentu wejściowego nr %d: Musi być '%s' lub "
+"'%s'.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr ""
+"%s: Nieprawidłowa wartość argumentu wejściowego nr %d: Oczekiwano \"%s\".\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Błąd alokacji pamięci.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s: Nieprawidłowy rozmiar argumentu wejściowego nr %d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s: Nieprawidłowa wartość argumentu wejściowego nr %d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s: Nieprawidłowy typ dla argumentu wejściowego nr %d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+"%s: Nieprawidłowa wartość parametru wejściowego nr %d: Musi być w przedziale "
+"[%d, %d].\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Nieprawidłowy typ parametru wejściowego nr %d: Oczekiwano wartości "
+"logicznej.\n"
+
+msgid "Command history"
+msgstr ""
+
+msgid "History Management Settings"
+msgstr ""
+
+msgid "Enable history management"
+msgstr ""
+
+msgid "History file: "
+msgstr ""
+
+msgid "History files"
+msgstr ""
+
+msgid "History lines: "
+msgstr ""
+
+msgid "Begin Session : "
+msgstr "Rozpocznij sesję : "
+
+msgid "Sun"
+msgstr "nd"
+
+msgid "Mon"
+msgstr "pn"
+
+msgid "Tue"
+msgstr "wt"
+
+msgid "Wed"
+msgstr "śr"
+
+msgid "Thu"
+msgstr "Cz"
+
+msgid "Fri"
+msgstr "pt"
+
+msgid "Sat"
+msgstr "sb"
+
+msgid "Jan"
+msgstr "Sty"
+
+msgid "Feb"
+msgstr "Lut"
+
+msgid "Mar"
+msgstr "Mar"
+
+msgid "Apr"
+msgstr "Kwi"
+
+msgid "May"
+msgstr "Maj"
+
+msgid "Jun"
+msgstr "Cze"
+
+msgid "Jul"
+msgstr "Lip"
+
+msgid "Aug"
+msgstr "Sie"
+
+msgid "Sep"
+msgstr "Wrz"
+
+msgid "Oct"
+msgstr "Paź"
+
+msgid "Nov"
+msgstr "Lis"
+
+msgid "Dec"
+msgstr "Gru"
diff --git a/modules/history_manager/locales/pt_BR.po b/modules/history_manager/locales/pt_BR.po
new file mode 100755
index 000000000..59c7a7f8a
--- /dev/null
+++ b/modules/history_manager/locales/pt_BR.po
@@ -0,0 +1,161 @@
+# Brazilian Portuguese translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-01-06 15:42+0000\n"
+"Last-Translator: RodolfoRG <rodolforg@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: pt_BR\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr ""
+"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se uma matriz "
+"de textos.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr ""
+"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um escalar.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: Ocorreu um erro: %s\n"
+
+msgid "filename not defined."
+msgstr "Nome de arquivo não definido."
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada #%d: deve ser '%s' ou '%s'.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada #%d: esperava-se \"%s\".\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Erro de alocação de memória.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s: Tamanho incorreto para o argumento de entrada #%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s: Valor incorreto para o argumento de entrada #%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s: Tipo incorreto para o argumento de entrada #%d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada #%d: deve estar no intervalo "
+"[%d, %d].\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um "
+"booleano.\n"
+
+msgid "Command history"
+msgstr ""
+
+msgid "History Management Settings"
+msgstr ""
+
+msgid "Enable history management"
+msgstr ""
+
+msgid "History file: "
+msgstr ""
+
+msgid "History files"
+msgstr ""
+
+msgid "History lines: "
+msgstr ""
+
+msgid "Begin Session : "
+msgstr "Início da sessão: "
+
+msgid "Sun"
+msgstr "Dom"
+
+msgid "Mon"
+msgstr "Seg"
+
+msgid "Tue"
+msgstr "Ter"
+
+msgid "Wed"
+msgstr "Qua"
+
+msgid "Thu"
+msgstr "Qui"
+
+msgid "Fri"
+msgstr "Sex"
+
+msgid "Sat"
+msgstr "Sáb"
+
+msgid "Jan"
+msgstr "Jan"
+
+msgid "Feb"
+msgstr "Fev"
+
+msgid "Mar"
+msgstr "Mar"
+
+msgid "Apr"
+msgstr "Abr"
+
+msgid "May"
+msgstr "Mai"
+
+msgid "Jun"
+msgstr "Jun"
+
+msgid "Jul"
+msgstr "Jul"
+
+msgid "Aug"
+msgstr "Ago"
+
+msgid "Sep"
+msgstr "Set"
+
+msgid "Oct"
+msgstr "Out"
+
+msgid "Nov"
+msgstr "Nov"
+
+msgid "Dec"
+msgstr "Dez"
diff --git a/modules/history_manager/locales/ru_RU.po b/modules/history_manager/locales/ru_RU.po
new file mode 100755
index 000000000..e9a063f4d
--- /dev/null
+++ b/modules/history_manager/locales/ru_RU.po
@@ -0,0 +1,156 @@
+# Russian translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-22 12:11+0000\n"
+"Last-Translator: Stanislav V. Kroter <krotersv@gmail.com>\n"
+"Language-Team: Russian <ru@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: ru\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr "%s: Не удалось добавить строчку в историю.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr "%s: Неверный тип входного параметра №%d: ожидался массив строк.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr "%s: Неверный тип входного параметра №%d: ожидался скаляр.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: Произошла ошибка: %s\n"
+
+msgid "filename not defined."
+msgstr "имя файла не задано."
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+"%s: Неверное значение входного параметра №%d: должно быть «%s» или «%s».\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: Не могу прочитать входной аргумент №%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr "%s: Неверное значение входного параметра №%d: ожидалось «%s».\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: Ошибка выделения памяти.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s: Неверный размер входного параметра №%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s: Неверное значение входного параметра №%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s: Неверный тип входного параметра №%d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+"%s: Неверное значение входного параметра №%d: должно быть в интервале [%d, "
+"%d].\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Неверный тип входного параметра №%d: ожидалось логическое значение.\n"
+
+msgid "Command history"
+msgstr "Журнал команд"
+
+msgid "History Management Settings"
+msgstr "Настройки управления журналом команд"
+
+msgid "Enable history management"
+msgstr "Включить управление журналом команд"
+
+msgid "History file: "
+msgstr "Файл журнала команд: "
+
+msgid "History files"
+msgstr "Файлы журнала команд"
+
+msgid "History lines: "
+msgstr "Строки журнала команд: "
+
+msgid "Begin Session : "
+msgstr "Начало сессии : "
+
+msgid "Sun"
+msgstr "Вск"
+
+msgid "Mon"
+msgstr "Пнд"
+
+msgid "Tue"
+msgstr "Втр"
+
+msgid "Wed"
+msgstr "Срд"
+
+msgid "Thu"
+msgstr "Чтв"
+
+msgid "Fri"
+msgstr "Птн"
+
+msgid "Sat"
+msgstr "Сбт"
+
+msgid "Jan"
+msgstr "Янв"
+
+msgid "Feb"
+msgstr "Фев"
+
+msgid "Mar"
+msgstr "Мар"
+
+msgid "Apr"
+msgstr "Апр"
+
+msgid "May"
+msgstr "Май"
+
+msgid "Jun"
+msgstr "Июн"
+
+msgid "Jul"
+msgstr "Июл"
+
+msgid "Aug"
+msgstr "Авг"
+
+msgid "Sep"
+msgstr "Сен"
+
+msgid "Oct"
+msgstr "Окт"
+
+msgid "Nov"
+msgstr "Ноя"
+
+msgid "Dec"
+msgstr "Дек"
diff --git a/modules/history_manager/locales/uk_UA.po b/modules/history_manager/locales/uk_UA.po
new file mode 100755
index 000000000..f1203eaef
--- /dev/null
+++ b/modules/history_manager/locales/uk_UA.po
@@ -0,0 +1,164 @@
+# Ukrainian translation for scilab
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the scilab package.
+#
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+# Yuri Chornoivan <yurchor@gmail.com>, 2010.
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-07-22 21:53+0000\n"
+"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n"
+"Language-Team: Ukrainian <translation@linux.org.ua>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: uk\n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr "%s: не вдалося додати рядок до журналу.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра №%d: слід використовувати масив "
+"значень типу «string».\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра №%d: слід використовувати скалярний "
+"тип.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: сталася помилка: %s\n"
+
+msgid "filename not defined."
+msgstr "назву файла не визначено."
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr ""
+"%s: помилкове значення вхідного параметра №%d: слід використовувати «%s» або "
+"«%s».\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: не вдалося прочитати вхідний параметр №%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr ""
+"%s: помилкове значення вхідного параметра №%d: слід використовувати «%s».\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: помилка під час спроби виділення пам’яті.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s: помилкова розмірність вхідного параметра №%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s: помилкове значення вхідного параметра №%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s: помилковий тип вхідного параметра №%d.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr ""
+"%s: помилкове значення вхідного параметра №%d: слід використовувати значення "
+"у інтервалі [%d, %d]\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра №%d: слід використовувати тип "
+"«boolean».\n"
+
+msgid "Command history"
+msgstr "Журнал команд"
+
+msgid "History Management Settings"
+msgstr "Параметри керування журналом"
+
+msgid "Enable history management"
+msgstr "Увімкнути керування журналом"
+
+msgid "History file: "
+msgstr "Файл журналу: "
+
+msgid "History files"
+msgstr "Файли журналу"
+
+msgid "History lines: "
+msgstr "К-ть рядків журналу: "
+
+msgid "Begin Session : "
+msgstr "Початок сеансу: "
+
+msgid "Sun"
+msgstr "Ндл"
+
+msgid "Mon"
+msgstr "Пнд"
+
+msgid "Tue"
+msgstr "Втр"
+
+msgid "Wed"
+msgstr "Срд"
+
+msgid "Thu"
+msgstr "Чтв"
+
+msgid "Fri"
+msgstr "Птн"
+
+msgid "Sat"
+msgstr "Сбт"
+
+msgid "Jan"
+msgstr "січ"
+
+msgid "Feb"
+msgstr "лют"
+
+msgid "Mar"
+msgstr "бер"
+
+msgid "Apr"
+msgstr "кві"
+
+msgid "May"
+msgstr "тра"
+
+msgid "Jun"
+msgstr "чер"
+
+msgid "Jul"
+msgstr "лип"
+
+msgid "Aug"
+msgstr "сер"
+
+msgid "Sep"
+msgstr "вер"
+
+msgid "Oct"
+msgstr "жов"
+
+msgid "Nov"
+msgstr "лис"
+
+msgid "Dec"
+msgstr "гру"
diff --git a/modules/history_manager/locales/zh_CN.po b/modules/history_manager/locales/zh_CN.po
new file mode 100755
index 000000000..39d44b3ca
--- /dev/null
+++ b/modules/history_manager/locales/zh_CN.po
@@ -0,0 +1,152 @@
+# Simplified Chinese translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-03-06 11:31+0000\n"
+"Last-Translator: Wesh <Unknown>\n"
+"Language-Team: Simplified Chinese <zh_CN@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: \n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr "%s:输入参数#%d的类型错误:应该为字符串数组。\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr "%s:输入参数#%d的类型错误:应该为一个标量。\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s:出现错误:%s\n"
+
+msgid "filename not defined."
+msgstr "文件名filename未定义。"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr "%s:输入参数#%d的值错误:必须为'%s'或'%s'。\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s:不能读取第%d个输入参数。\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr "%s:第%d个输入参数的值错误:应该为“%s”。\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s:内存分配错误。\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s:第%d个输入参数的大小错误。\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s:第%d个输入参数的值错误。\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s:第%d个输入参数的类型错误。\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr "%s:输入参数#%d的值错误:必须位于[%d, %d]区间中。\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr "%s:输入参数#%d的类型错误:应该为一个布尔值。\n"
+
+msgid "Command history"
+msgstr ""
+
+msgid "History Management Settings"
+msgstr ""
+
+msgid "Enable history management"
+msgstr ""
+
+msgid "History file: "
+msgstr ""
+
+msgid "History files"
+msgstr ""
+
+msgid "History lines: "
+msgstr ""
+
+msgid "Begin Session : "
+msgstr "会话开始: "
+
+msgid "Sun"
+msgstr "星期日"
+
+msgid "Mon"
+msgstr "星期一"
+
+msgid "Tue"
+msgstr "星期二"
+
+msgid "Wed"
+msgstr "星期三"
+
+msgid "Thu"
+msgstr "星期四"
+
+msgid "Fri"
+msgstr "星期五"
+
+msgid "Sat"
+msgstr "星期六"
+
+msgid "Jan"
+msgstr "1月"
+
+msgid "Feb"
+msgstr "2月"
+
+msgid "Mar"
+msgstr "3月"
+
+msgid "Apr"
+msgstr "4月"
+
+msgid "May"
+msgstr "5月"
+
+msgid "Jun"
+msgstr "6月"
+
+msgid "Jul"
+msgstr "7月"
+
+msgid "Aug"
+msgstr "8月"
+
+msgid "Sep"
+msgstr "9月"
+
+msgid "Oct"
+msgstr "10月"
+
+msgid "Nov"
+msgstr "11月"
+
+msgid "Dec"
+msgstr "12月"
diff --git a/modules/history_manager/locales/zh_TW.po b/modules/history_manager/locales/zh_TW.po
new file mode 100755
index 000000000..cde14477a
--- /dev/null
+++ b/modules/history_manager/locales/zh_TW.po
@@ -0,0 +1,152 @@
+# Traditional Chinese translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-02-04 02:18+0000\n"
+"Last-Translator: TzuYuan Lin <Unknown>\n"
+"Language-Team: Traditional Chinese <zh_TW@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: \n"
+
+#, c-format
+msgid "%s: Could not add line to the history.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: String array expected.\n"
+msgstr "%s: 第 %d 個輸入參數型態錯誤: 應為一字串陣列.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A scalar expected.\n"
+msgstr "%s: 第 %d 個輸入參數型態錯誤: 應為純量.\n"
+
+#, c-format
+msgid "%s: An error occurred: %s\n"
+msgstr "%s: 錯誤產生: %s\n"
+
+msgid "filename not defined."
+msgstr "檔案名稱未定義"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"
+msgstr "%s: 第 %d 個輸入參數數值錯誤: 應為  '%s' 或 '%s'.\n"
+
+#, c-format
+msgid "%s: Can not read input argument #%d.\n"
+msgstr "%s: 無法讀取第 #%d 個輸入參數.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: \"%s\" expected.\n"
+msgstr "%s: 第 #%d 輸入參數的數值錯誤: 建議應該是 \"%s\".\n"
+
+#, c-format
+msgid "%s: Memory allocation error.\n"
+msgstr "%s: 記憶體配置失敗.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d.\n"
+msgstr "%s: 輸入參數的大小錯誤 #%d.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d.\n"
+msgstr "%s: 第 #%d 個輸入參數數值有誤.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d.\n"
+msgstr "%s: 第 #%d 個參數型態錯誤.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"
+msgstr "%s: 第 %d 個輸入參數數值錯誤: 應在區間 [%d, %d] 內\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr "%s: 第 %d 個輸入參數型態錯誤: 應為布林數(boolean).\n"
+
+msgid "Command history"
+msgstr ""
+
+msgid "History Management Settings"
+msgstr ""
+
+msgid "Enable history management"
+msgstr ""
+
+msgid "History file: "
+msgstr ""
+
+msgid "History files"
+msgstr ""
+
+msgid "History lines: "
+msgstr ""
+
+msgid "Begin Session : "
+msgstr "開始階段作業: "
+
+msgid "Sun"
+msgstr "星期日"
+
+msgid "Mon"
+msgstr "星期一"
+
+msgid "Tue"
+msgstr "星期二"
+
+msgid "Wed"
+msgstr "星期三"
+
+msgid "Thu"
+msgstr "星期四"
+
+msgid "Fri"
+msgstr "星期五"
+
+msgid "Sat"
+msgstr "星期六"
+
+msgid "Jan"
+msgstr "一月"
+
+msgid "Feb"
+msgstr "二月"
+
+msgid "Mar"
+msgstr "三月"
+
+msgid "Apr"
+msgstr "四月"
+
+msgid "May"
+msgstr "五月"
+
+msgid "Jun"
+msgstr "六月"
+
+msgid "Jul"
+msgstr "七月"
+
+msgid "Aug"
+msgstr "八月"
+
+msgid "Sep"
+msgstr "九月"
+
+msgid "Oct"
+msgstr "十月"
+
+msgid "Nov"
+msgstr "十一月"
+
+msgid "Dec"
+msgstr "十二月"
diff --git a/modules/history_manager/macros/buildmacros.bat b/modules/history_manager/macros/buildmacros.bat
new file mode 100755
index 000000000..e324153cc
--- /dev/null
+++ b/modules/history_manager/macros/buildmacros.bat
@@ -0,0 +1,21 @@
+
+rem Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+rem Copyright (C) 2008 - INRIA
+rem
+rem This file must be used under the terms of the CeCILL.
+rem This source file is licensed as described in the file COPYING, which
+rem you should have received as part of this distribution.  The terms
+rem are also available at
+rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+rem Scilab ( http://mwww.scilab.org/ ) - This file is part of Scilab
+rem Copyright (C) 2007-2008 - INRIA - Allan CORNET
+rem
+rem This file must be used under the terms of the CeCILL.
+rem This source file is licensed as described in the file COPYING, which
+rem you should have received as part of this distribution.  The terms
+rem are also available at
+rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
diff --git a/modules/history_manager/macros/buildmacros.sce b/modules/history_manager/macros/buildmacros.sce
new file mode 100755
index 000000000..4714eaa07
--- /dev/null
+++ b/modules/history_manager/macros/buildmacros.sce
@@ -0,0 +1,15 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2007-2008 - INRIA - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+if (isdef("genlib") == %f) then
+    exec(SCI+"/modules/functions/scripts/buildmacros/loadgenlib.sce");
+end
+//------------------------------------
+//genlib('history_managerlib','SCI/modules/history_manager/macros',%f,%t);
+//------------------------------------
diff --git a/modules/history_manager/macros/cleanmacros.bat b/modules/history_manager/macros/cleanmacros.bat
new file mode 100755
index 000000000..269b2a7d1
--- /dev/null
+++ b/modules/history_manager/macros/cleanmacros.bat
@@ -0,0 +1,23 @@
+
+rem Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+rem Copyright (C) 2008 - INRIA
+rem
+rem This file must be used under the terms of the CeCILL.
+rem This source file is licensed as described in the file COPYING, which
+rem you should have received as part of this distribution.  The terms
+rem are also available at
+rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+rem Scilab ( http://mwww.scilab.org/ ) - This file is part of Scilab
+rem Copyright (C) 2007-2008 - INRIA - Allan CORNET
+rem
+rem This file must be used under the terms of the CeCILL.
+rem This source file is licensed as described in the file COPYING, which
+rem you should have received as part of this distribution.  The terms
+rem are also available at
+rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+
+@del *.bin 2>NUL
+@del lib 2>NUL
+@del names 2>NUL
diff --git a/modules/history_manager/sci_gateway/c/.deps/.dirstamp b/modules/history_manager/sci_gateway/c/.deps/.dirstamp
new file mode 100755
index 000000000..e69de29bb
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-gw_history_manager.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-gw_history_manager.Plo
new file mode 100755
index 000000000..6439b63f4
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-gw_history_manager.Plo
@@ -0,0 +1,275 @@
+sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo: \
+ sci_gateway/c/gw_history_manager.c /usr/include/stdc-predef.h \
+ /usr/include/string.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/core/includes/stack-c.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/api_scilab/includes/api_common.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/api_scilab/includes/api_double.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/api_scilab/includes/api_int.h \
+ ../../modules/api_scilab/includes/api_poly.h \
+ ../../modules/api_scilab/includes/api_sparse.h \
+ ../../modules/api_scilab/includes/api_boolean.h \
+ ../../modules/api_scilab/includes/api_boolean_sparse.h \
+ ../../modules/api_scilab/includes/api_pointer.h \
+ ../../modules/api_scilab/includes/api_list.h \
+ ../../modules/api_scilab/includes/api_error.h \
+ ../../modules/api_scilab/includes/api_handle.h \
+ ../../modules/api_scilab/includes/api_optional.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/api_scilab/includes/api_hypermat.h \
+ ../../modules/core/includes/core_math.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ ../../modules/core/includes/callFunctionFromGateway.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/core/includes/stack-c.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/api_scilab/includes/api_common.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/api_scilab/includes/api_double.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/api_scilab/includes/api_string.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/api_scilab/includes/api_int.h:
+
+../../modules/api_scilab/includes/api_poly.h:
+
+../../modules/api_scilab/includes/api_sparse.h:
+
+../../modules/api_scilab/includes/api_boolean.h:
+
+../../modules/api_scilab/includes/api_boolean_sparse.h:
+
+../../modules/api_scilab/includes/api_pointer.h:
+
+../../modules/api_scilab/includes/api_list.h:
+
+../../modules/api_scilab/includes/api_error.h:
+
+../../modules/api_scilab/includes/api_handle.h:
+
+../../modules/api_scilab/includes/api_optional.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/api_scilab/includes/api_hypermat.h:
+
+../../modules/core/includes/core_math.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+../../modules/core/includes/callFunctionFromGateway.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_addhistory.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_addhistory.Plo
new file mode 100755
index 000000000..428426539
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_addhistory.Plo
@@ -0,0 +1,298 @@
+sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo: \
+ sci_gateway/c/sci_addhistory.c /usr/include/stdc-predef.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/api_scilab/includes/api_common.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/api_scilab/includes/api_double.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/api_scilab/includes/api_int.h \
+ ../../modules/api_scilab/includes/api_poly.h \
+ ../../modules/api_scilab/includes/api_sparse.h \
+ ../../modules/api_scilab/includes/api_boolean.h \
+ ../../modules/api_scilab/includes/api_boolean_sparse.h \
+ ../../modules/api_scilab/includes/api_pointer.h \
+ ../../modules/api_scilab/includes/api_list.h \
+ ../../modules/api_scilab/includes/api_error.h \
+ ../../modules/api_scilab/includes/api_handle.h \
+ ../../modules/api_scilab/includes/api_optional.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/api_scilab/includes/api_hypermat.h \
+ ../../modules/core/includes/core_math.h \
+ ../../modules/core/includes/sci_types.h includes/gw_history_manager.h \
+ includes/dynlib_history_manager.h ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/core/includes/freeArrayOfString.h
+
+/usr/include/stdc-predef.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/api_scilab/includes/api_common.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/api_scilab/includes/api_double.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/api_scilab/includes/api_string.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/api_scilab/includes/api_int.h:
+
+../../modules/api_scilab/includes/api_poly.h:
+
+../../modules/api_scilab/includes/api_sparse.h:
+
+../../modules/api_scilab/includes/api_boolean.h:
+
+../../modules/api_scilab/includes/api_boolean_sparse.h:
+
+../../modules/api_scilab/includes/api_pointer.h:
+
+../../modules/api_scilab/includes/api_list.h:
+
+../../modules/api_scilab/includes/api_error.h:
+
+../../modules/api_scilab/includes/api_handle.h:
+
+../../modules/api_scilab/includes/api_optional.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/api_scilab/includes/api_hypermat.h:
+
+../../modules/core/includes/core_math.h:
+
+../../modules/core/includes/sci_types.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/core/includes/freeArrayOfString.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_displayhistory.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_displayhistory.Plo
new file mode 100755
index 000000000..f688e9312
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_displayhistory.Plo
@@ -0,0 +1,276 @@
+sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo: \
+ sci_gateway/c/sci_displayhistory.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/api_scilab/includes/api_common.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/api_scilab/includes/api_double.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/api_scilab/includes/api_int.h \
+ ../../modules/api_scilab/includes/api_poly.h \
+ ../../modules/api_scilab/includes/api_sparse.h \
+ ../../modules/api_scilab/includes/api_boolean.h \
+ ../../modules/api_scilab/includes/api_boolean_sparse.h \
+ ../../modules/api_scilab/includes/api_pointer.h \
+ ../../modules/api_scilab/includes/api_list.h \
+ ../../modules/api_scilab/includes/api_error.h \
+ ../../modules/api_scilab/includes/api_handle.h \
+ ../../modules/api_scilab/includes/api_optional.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/api_scilab/includes/api_hypermat.h \
+ ../../modules/core/includes/core_math.h \
+ ../../modules/core/includes/sci_types.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/api_scilab/includes/api_common.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/api_scilab/includes/api_double.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/api_scilab/includes/api_string.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/api_scilab/includes/api_int.h:
+
+../../modules/api_scilab/includes/api_poly.h:
+
+../../modules/api_scilab/includes/api_sparse.h:
+
+../../modules/api_scilab/includes/api_boolean.h:
+
+../../modules/api_scilab/includes/api_boolean_sparse.h:
+
+../../modules/api_scilab/includes/api_pointer.h:
+
+../../modules/api_scilab/includes/api_list.h:
+
+../../modules/api_scilab/includes/api_error.h:
+
+../../modules/api_scilab/includes/api_handle.h:
+
+../../modules/api_scilab/includes/api_optional.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/api_scilab/includes/api_hypermat.h:
+
+../../modules/core/includes/core_math.h:
+
+../../modules/core/includes/sci_types.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_gethistory.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_gethistory.Plo
new file mode 100755
index 000000000..373d72b57
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_gethistory.Plo
@@ -0,0 +1,238 @@
+sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo: \
+ sci_gateway/c/sci_gethistory.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/freeArrayOfString.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/freeArrayOfString.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_gethistoryfile.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_gethistoryfile.Plo
new file mode 100755
index 000000000..7b94a779a
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_gethistoryfile.Plo
@@ -0,0 +1,226 @@
+sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo: \
+ sci_gateway/c/sci_gethistoryfile.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_historymanager.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_historymanager.Plo
new file mode 100755
index 000000000..e177ac8f6
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_historymanager.Plo
@@ -0,0 +1,234 @@
+sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo: \
+ sci_gateway/c/sci_historymanager.c /usr/include/stdc-predef.h \
+ /usr/include/string.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-c.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ includes/InitializeHistoryManager.h includes/TerminateHistoryManager.h \
+ src/c/getCommentDateSession.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-c.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+includes/InitializeHistoryManager.h:
+
+includes/TerminateHistoryManager.h:
+
+src/c/getCommentDateSession.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_historysize.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_historysize.Plo
new file mode 100755
index 000000000..21e912394
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_historysize.Plo
@@ -0,0 +1,289 @@
+sci_gateway/c/libscihistory_manager_la-sci_historysize.lo: \
+ sci_gateway/c/sci_historysize.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ includes/HistoryManager.h ../../modules/core/includes/BOOL.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/api_scilab/includes/api_common.h \
+ ../../modules/api_scilab/includes/api_scilab.h \
+ ../../modules/api_scilab/includes/api_double.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/api_scilab/includes/api_int.h \
+ ../../modules/api_scilab/includes/api_poly.h \
+ ../../modules/api_scilab/includes/api_sparse.h \
+ ../../modules/api_scilab/includes/api_boolean.h \
+ ../../modules/api_scilab/includes/api_boolean_sparse.h \
+ ../../modules/api_scilab/includes/api_pointer.h \
+ ../../modules/api_scilab/includes/api_list.h \
+ ../../modules/api_scilab/includes/api_error.h \
+ ../../modules/api_scilab/includes/api_handle.h \
+ ../../modules/api_scilab/includes/api_optional.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/api_scilab/includes/api_hypermat.h \
+ ../../modules/core/includes/core_math.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ ../../modules/output_stream/includes/do_error_number.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/api_scilab/includes/api_common.h:
+
+../../modules/api_scilab/includes/api_scilab.h:
+
+../../modules/api_scilab/includes/api_double.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/api_scilab/includes/api_string.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/api_scilab/includes/api_int.h:
+
+../../modules/api_scilab/includes/api_poly.h:
+
+../../modules/api_scilab/includes/api_sparse.h:
+
+../../modules/api_scilab/includes/api_boolean.h:
+
+../../modules/api_scilab/includes/api_boolean_sparse.h:
+
+../../modules/api_scilab/includes/api_pointer.h:
+
+../../modules/api_scilab/includes/api_list.h:
+
+../../modules/api_scilab/includes/api_error.h:
+
+../../modules/api_scilab/includes/api_handle.h:
+
+../../modules/api_scilab/includes/api_optional.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/api_scilab/includes/api_hypermat.h:
+
+../../modules/core/includes/core_math.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+../../modules/output_stream/includes/do_error_number.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_loadhistory.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_loadhistory.Plo
new file mode 100755
index 000000000..32fa259c5
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_loadhistory.Plo
@@ -0,0 +1,240 @@
+sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo: \
+ sci_gateway/c/sci_loadhistory.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ ../../modules/fileio/includes/expandPathVariable.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/fileio/includes/dynlib_fileio.h \
+ ../../modules/core/includes/warningmode.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/output_stream/includes/sciprint.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+../../modules/fileio/includes/expandPathVariable.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/fileio/includes/dynlib_fileio.h:
+
+../../modules/core/includes/warningmode.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/output_stream/includes/sciprint.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_removelinehistory.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_removelinehistory.Plo
new file mode 100755
index 000000000..cb61a3023
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_removelinehistory.Plo
@@ -0,0 +1,220 @@
+sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo: \
+ sci_gateway/c/sci_removelinehistory.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_resethistory.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_resethistory.Plo
new file mode 100755
index 000000000..e6e96a592
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_resethistory.Plo
@@ -0,0 +1,197 @@
+sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo: \
+ sci_gateway/c/sci_resethistory.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_saveafterncommands.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_saveafterncommands.Plo
new file mode 100755
index 000000000..919eebeaa
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_saveafterncommands.Plo
@@ -0,0 +1,226 @@
+sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo: \
+ sci_gateway/c/sci_saveafterncommands.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_saveconsecutivecommands.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_saveconsecutivecommands.Plo
new file mode 100755
index 000000000..a2643f7a0
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_saveconsecutivecommands.Plo
@@ -0,0 +1,226 @@
+sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo: \
+ sci_gateway/c/sci_saveconsecutivecommands.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/output_stream/includes/Scierror.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ ../../modules/output_stream/includes/do_error_number.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/localization/includes/localization.h \
+ /usr/include/libintl.h /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/output_stream/includes/Scierror.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+../../modules/output_stream/includes/do_error_number.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/localization/includes/localization.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_savehistory.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_savehistory.Plo
new file mode 100755
index 000000000..f807a0fa4
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_savehistory.Plo
@@ -0,0 +1,221 @@
+sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo: \
+ sci_gateway/c/sci_savehistory.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ ../../modules/fileio/includes/expandPathVariable.h /usr/include/wchar.h \
+ /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/fileio/includes/dynlib_fileio.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+../../modules/fileio/includes/expandPathVariable.h:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/fileio/includes/dynlib_fileio.h:
diff --git a/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_sethistoryfile.Plo b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_sethistoryfile.Plo
new file mode 100755
index 000000000..9b21539fa
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/.deps/libscihistory_manager_la-sci_sethistoryfile.Plo
@@ -0,0 +1,203 @@
+sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo: \
+ sci_gateway/c/sci_sethistoryfile.c /usr/include/stdc-predef.h \
+ includes/gw_history_manager.h includes/dynlib_history_manager.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/core/includes/stack-c.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/core_math.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/local_lim.h \
+ /usr/include/linux/limits.h \
+ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \
+ /usr/include/x86_64-linux-gnu/bits/math-vector.h \
+ /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_val.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \
+ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \
+ /usr/include/x86_64-linux-gnu/bits/inf.h \
+ /usr/include/x86_64-linux-gnu/bits/nan.h \
+ /usr/include/x86_64-linux-gnu/bits/mathdef.h \
+ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
+ /usr/include/x86_64-linux-gnu/bits/mathinline.h \
+ ../../modules/core/includes/stack-def.h \
+ ../../modules/core/includes/machine.h \
+ ../../modules/core/includes/stackTypeVariable.h \
+ ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/doublecomplex.h \
+ ../../modules/core/includes/stack1.h \
+ ../../modules/core/includes/scisparse.h \
+ ../../modules/core/includes/stack2.h \
+ ../../modules/core/includes/stack3.h \
+ ../../modules/core/includes/stack-optional.h \
+ ../../modules/core/includes/sci_types.h includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h
+
+/usr/include/stdc-predef.h:
+
+includes/gw_history_manager.h:
+
+includes/dynlib_history_manager.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/core/includes/stack-c.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/core_math.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
+
+/usr/include/math.h:
+
+/usr/include/x86_64-linux-gnu/bits/math-vector.h:
+
+/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_val.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_valf.h:
+
+/usr/include/x86_64-linux-gnu/bits/huge_vall.h:
+
+/usr/include/x86_64-linux-gnu/bits/inf.h:
+
+/usr/include/x86_64-linux-gnu/bits/nan.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathdef.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
+
+/usr/include/x86_64-linux-gnu/bits/mathinline.h:
+
+../../modules/core/includes/stack-def.h:
+
+../../modules/core/includes/machine.h:
+
+../../modules/core/includes/stackTypeVariable.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/doublecomplex.h:
+
+../../modules/core/includes/stack1.h:
+
+../../modules/core/includes/scisparse.h:
+
+../../modules/core/includes/stack2.h:
+
+../../modules/core/includes/stack3.h:
+
+../../modules/core/includes/stack-optional.h:
+
+../../modules/core/includes/sci_types.h:
+
+includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
diff --git a/modules/history_manager/sci_gateway/c/.dirstamp b/modules/history_manager/sci_gateway/c/.dirstamp
new file mode 100755
index 000000000..e69de29bb
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-gw_history_manager.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-gw_history_manager.o
new file mode 100755
index 000000000..be8f960f5
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-gw_history_manager.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_addhistory.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_addhistory.o
new file mode 100755
index 000000000..55f2b8acf
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_addhistory.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_displayhistory.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_displayhistory.o
new file mode 100755
index 000000000..380b5c236
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_displayhistory.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_gethistory.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_gethistory.o
new file mode 100755
index 000000000..c32bd5084
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_gethistory.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_gethistoryfile.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_gethistoryfile.o
new file mode 100755
index 000000000..ce709f4a6
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_gethistoryfile.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_historymanager.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_historymanager.o
new file mode 100755
index 000000000..a14765a03
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_historymanager.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_historysize.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_historysize.o
new file mode 100755
index 000000000..217dcbc97
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_historysize.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_loadhistory.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_loadhistory.o
new file mode 100755
index 000000000..6f08dc49e
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_loadhistory.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_removelinehistory.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_removelinehistory.o
new file mode 100755
index 000000000..ee82f0cef
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_removelinehistory.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_resethistory.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_resethistory.o
new file mode 100755
index 000000000..cb1caadfa
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_resethistory.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_saveafterncommands.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_saveafterncommands.o
new file mode 100755
index 000000000..7f4bd0660
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_saveafterncommands.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_saveconsecutivecommands.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_saveconsecutivecommands.o
new file mode 100755
index 000000000..4fa9cf17c
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_saveconsecutivecommands.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_savehistory.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_savehistory.o
new file mode 100755
index 000000000..b78a73975
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_savehistory.o differ
diff --git a/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_sethistoryfile.o b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_sethistoryfile.o
new file mode 100755
index 000000000..529a53e08
Binary files /dev/null and b/modules/history_manager/sci_gateway/c/.libs/libscihistory_manager_la-sci_sethistoryfile.o differ
diff --git a/modules/history_manager/sci_gateway/c/gw_history_manager.c b/modules/history_manager/sci_gateway/c/gw_history_manager.c
new file mode 100755
index 000000000..66a3caf7a
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/gw_history_manager.c
@@ -0,0 +1,55 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+/**
+ * gateway source file which defines links between the
+ * native function (C, fortran, whatever) and the function offered into Scilab
+ */
+/*--------------------------------------------------------------------------*/
+#include <string.h>
+#include "gw_history_manager.h"
+#include "api_scilab.h"
+#include "MALLOC.h"
+#include "callFunctionFromGateway.h"
+/*--------------------------------------------------------------------------*/
+static gw_generic_table Tab[] =
+{
+    {sci_loadhistory, "loadhistory"},
+    {sci_savehistory, "savehistory"},
+    {sci_gethistory, "gethistory"},
+    {sci_resethistory, "resethistory"},
+    {sci_displayhistory, "displayhistory"},
+    {sci_addhistory, "addhistory"},
+    {sci_saveconsecutivecommands, "saveconsecutivecommands"},
+    {sci_saveafterncommands, "saveafterncommands"},
+    {sci_gethistoryfile, "gethistoryfile"},
+    {sci_sethistoryfile, "sethistoryfile"},
+    {sci_removelinehistory, "removelinehistory"},
+    {sci_historysize, "historysize"},
+    {sci_historymanager, "historymanager"}
+};
+/*--------------------------------------------------------------------------*/
+int gw_history_manager(void)
+{
+    Rhs = Max(0, Rhs);
+
+    if (pvApiCtx == NULL)
+    {
+        pvApiCtx = (StrCtx*)MALLOC(sizeof(StrCtx));
+    }
+
+    pvApiCtx->pstName = (char*)Tab[Fin - 1].name;
+    callFunctionFromGateway(Tab, SIZE_CURRENT_GENERIC_TABLE(Tab));
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo
new file mode 100755
index 000000000..5e808eab5
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-gw_history_manager.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-gw_history_manager.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo
new file mode 100755
index 000000000..45b56ac28
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_addhistory.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_addhistory.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo
new file mode 100755
index 000000000..37a81d23a
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_displayhistory.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_displayhistory.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo
new file mode 100755
index 000000000..522b91c75
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_gethistory.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_gethistory.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo
new file mode 100755
index 000000000..31fc5c275
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_gethistoryfile.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_gethistoryfile.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo
new file mode 100755
index 000000000..78fdb6b94
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_historymanager.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_historymanager.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_historysize.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_historysize.lo
new file mode 100755
index 000000000..94312dcaa
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_historysize.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_historysize.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_historysize.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo
new file mode 100755
index 000000000..283db6fcc
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_loadhistory.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_loadhistory.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo
new file mode 100755
index 000000000..68578a2d2
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_removelinehistory.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_removelinehistory.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo
new file mode 100755
index 000000000..06207dfdc
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_resethistory.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_resethistory.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo
new file mode 100755
index 000000000..de0e52772
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_saveafterncommands.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_saveafterncommands.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo
new file mode 100755
index 000000000..94f54cba3
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_saveconsecutivecommands.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_saveconsecutivecommands.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo
new file mode 100755
index 000000000..eb4508ea2
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_savehistory.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_savehistory.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo
new file mode 100755
index 000000000..c8f75004b
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo
@@ -0,0 +1,12 @@
+# sci_gateway/c/libscihistory_manager_la-sci_sethistoryfile.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_la-sci_sethistoryfile.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/sci_gateway/c/sci_addhistory.c b/modules/history_manager/sci_gateway/c/sci_addhistory.c
new file mode 100755
index 000000000..f0d8a01f5
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_addhistory.c
@@ -0,0 +1,98 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "api_scilab.h"
+#include "gw_history_manager.h"
+#include "MALLOC.h"
+#include "stack-c.h"
+#include "HistoryManager.h"
+#include "Scierror.h"
+#include "localization.h"
+#include "freeArrayOfString.h"
+/*--------------------------------------------------------------------------*/
+int sci_addhistory(char *fname, unsigned long fname_len)
+{
+    static int n1, m1;
+
+    SciErr sciErr;
+    int *piAddr1;
+    int *piLen;
+    int i;
+
+    char **lines = NULL;
+    BOOL bOK = FALSE;
+    CheckInputArgument(pvApiCtx, 1, 1);
+    CheckOutputArgument(pvApiCtx, 0, 1);
+
+    //get variable address
+    sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddr1);
+    if (sciErr.iErr)
+    {
+        printError(&sciErr, 0);
+        return 1;
+    }
+
+    if (isStringType(pvApiCtx, piAddr1))
+    {
+        //fisrt call to retrieve dimensions
+        sciErr = getMatrixOfString(pvApiCtx, piAddr1, &m1, &n1, NULL, NULL);
+        if (sciErr.iErr)
+        {
+            printError(&sciErr, 0);
+            return 1;
+        }
+
+        piLen = (int*)MALLOC(sizeof(int) * m1 * n1);
+
+        //second call to retrieve length of each string
+        sciErr = getMatrixOfString(pvApiCtx, piAddr1, &m1, &n1, piLen, NULL);
+        if (sciErr.iErr)
+        {
+            printError(&sciErr, 0);
+            return 1;
+        }
+
+        lines = (char**)MALLOC(sizeof(char*) * m1 * n1);
+        for (i = 0 ; i < m1 * n1 ; i++)
+        {
+            lines[i] = (char*)MALLOC(sizeof(char) * (piLen[i] + 1));//+ 1 for null termination
+        }
+
+        //third call to retrieve data
+        sciErr = getMatrixOfString(pvApiCtx, piAddr1, &m1, &n1, piLen, lines);
+        if (sciErr.iErr)
+        {
+            printError(&sciErr, 0);
+            return 1;
+        }
+        bOK = appendLinesToScilabHistory(lines, m1 * n1);
+        freeArrayOfString(lines, m1 * n1);
+
+        if (!bOK)
+        {
+            Scierror(999, _("%s: Could not add line to the history.\n"), fname, 1);
+            return 1;
+        }
+
+        AssignOutputVariable(pvApiCtx, 1) = 0;
+        ReturnArguments(pvApiCtx);
+    }
+    else
+    {
+        Scierror(999, _("%s: Wrong type for input argument #%d: String array expected.\n"), fname, 1);
+        return 1;
+    }
+
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_displayhistory.c b/modules/history_manager/sci_gateway/c/sci_displayhistory.c
new file mode 100755
index 000000000..4b44411ad
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_displayhistory.c
@@ -0,0 +1,26 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "MALLOC.h"
+#include "api_scilab.h"
+#include "HistoryManager.h"
+/*--------------------------------------------------------------------------*/
+int sci_displayhistory(char *fname, unsigned long fname_len)
+{
+    displayScilabHistory();
+    AssignOutputVariable(pvApiCtx, 1) = 0;
+    ReturnArguments(pvApiCtx);
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_gethistory.c b/modules/history_manager/sci_gateway/c/sci_gethistory.c
new file mode 100755
index 000000000..2b8572050
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_gethistory.c
@@ -0,0 +1,97 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "stack-c.h"
+#include "localization.h"
+#include "MALLOC.h"
+#include "HistoryManager.h"
+#include "Scierror.h"
+#include "freeArrayOfString.h"
+/*--------------------------------------------------------------------------*/
+int sci_gethistory(char *fname, unsigned long fname_len)
+{
+    static int l1 = 0, m1 = 0, n1 = 0;
+    CheckRhs(0, 1);
+    CheckLhs(1, 1);
+
+    if (getNumberOfLinesInScilabHistory() <= 0)
+    {
+        m1 = 0;
+        n1 = 0;
+        CreateVar(Rhs + 1, MATRIX_OF_DOUBLE_DATATYPE,  &m1, &n1, &l1);
+        LhsVar(1) = Rhs + 1;
+        PutLhsVar();
+        return 0;
+    }
+
+    if (Rhs == 1)
+    {
+        if (GetType(1) == sci_matrix)
+        {
+            int N = 0;
+            char *line = NULL;
+            GetRhsVar(1, MATRIX_OF_INTEGER_DATATYPE, &m1, &n1, &l1);
+            N = *istk(l1);
+            line = getNthLineInScilabHistory(N);
+            if (line)
+            {
+                n1 = 1;
+                CreateVarFromPtr(Rhs + 1, STRING_DATATYPE, (m1 = (int)strlen(line), &m1), &n1, &line);
+                FREE(line);
+            }
+            else
+            {
+                m1 = 0;
+                n1 = 0;
+                CreateVar(Rhs + 1, MATRIX_OF_DOUBLE_DATATYPE,  &m1, &n1, &l1);
+            }
+        }
+        else
+        {
+            Scierror(999, _("%s: Wrong type for input argument #%d: A scalar expected.\n"), fname, 1);
+            return 0;
+        }
+    }
+    else
+    {
+        char **lines = NULL;
+        int nblines = 0;
+
+        nblines = getSizeAllLinesOfScilabHistory();
+        lines = getAllLinesOfScilabHistory();
+
+        if (lines)
+        {
+            int m = 0, n = 0;
+
+            m = nblines;
+            n = 1;
+
+            CreateVarFromPtr(Rhs + 1, MATRIX_OF_STRING_DATATYPE, &m, &n, lines);
+
+            freeArrayOfString(lines, nblines);
+        }
+        else
+        {
+            m1 = 0;
+            n1 = 0;
+            CreateVar(Rhs + 1, MATRIX_OF_DOUBLE_DATATYPE,  &m1, &n1, &l1);
+        }
+    }
+
+    LhsVar(1) = Rhs + 1;
+    PutLhsVar();
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_gethistoryfile.c b/modules/history_manager/sci_gateway/c/sci_gethistoryfile.c
new file mode 100755
index 000000000..7685bb3a8
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_gethistoryfile.c
@@ -0,0 +1,50 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan Cornet
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "MALLOC.h"
+#include "stack-c.h"
+#include "HistoryManager.h"
+#include "Scierror.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+int sci_gethistoryfile(char *fname, unsigned long fname_len)
+{
+    char *filename = NULL;
+    int m1 = 0, n1 = 0;
+
+    CheckRhs(0, 0) ;
+    CheckLhs(0, 1) ;
+
+    filename = getFilenameScilabHistory();
+
+    if (filename)
+    {
+        n1 = 1;
+        m1 = (int)strlen(filename);
+        CreateVarFromPtr(Rhs + 1, STRING_DATATYPE, &m1, &n1, &filename);
+        if (filename)
+        {
+            FREE(filename);
+            filename = NULL;
+        }
+        LhsVar(1) = Rhs + 1;
+        PutLhsVar();
+    }
+    else
+    {
+        Scierror(999, _("%s: An error occurred: %s\n"), fname, _("filename not defined."));
+    }
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_historymanager.c b/modules/history_manager/sci_gateway/c/sci_historymanager.c
new file mode 100755
index 000000000..579a3111b
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_historymanager.c
@@ -0,0 +1,107 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ * Copyright (C) 2010 - DIGITEO - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <string.h>
+#include "gw_history_manager.h"
+#include "MALLOC.h"
+#include "stack-c.h"
+#include "HistoryManager.h"
+#include "localization.h"
+#include "InitializeHistoryManager.h"
+#include "TerminateHistoryManager.h"
+#include "getCommentDateSession.h"
+#include "Scierror.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+/*--------------------------------------------------------------------------*/
+int sci_historymanager(char *fname, unsigned long fname_len)
+{
+    int l1 = 0, n1 = 0, m1 = 0;
+    char *Output = NULL;
+
+    CheckRhs(0, 1) ;
+    CheckLhs(0, 1) ;
+
+    if (Rhs == 0)
+    {
+        if (historyIsEnabled())
+        {
+            Output = strdup("on");
+        }
+        else
+        {
+            Output = strdup("off");
+        }
+    }
+    else
+    {
+        if (GetType(1) == sci_strings)
+        {
+            char *param = NULL;
+
+            GetRhsVar(1, STRING_DATATYPE, &m1, &n1, &l1);
+            param = cstk(l1);
+
+            if ( (strcmp(param, "off") == 0) || (strcmp(param, "on") == 0) )
+            {
+                if (strcmp(param, "off") == 0)
+                {
+                    if (historyIsEnabled())
+                    {
+                        TerminateHistoryManager();
+                    }
+                    Output = strdup("off");
+                }
+                else /* 'on' */
+                {
+
+                    if (!historyIsEnabled())
+                    {
+                        char *commentbeginsession = NULL;
+                        InitializeHistoryManager();
+
+                        /* add date & time @ begin session */
+                        commentbeginsession = getCommentDateSession(FALSE);
+                        if (commentbeginsession)
+                        {
+                            appendLineToScilabHistory(commentbeginsession);
+                            FREE(commentbeginsession);
+                            commentbeginsession = NULL;
+                        }
+                    }
+                    Output = strdup("on");
+                }
+            }
+            else
+            {
+                Scierror(999, _("%s: Wrong value for input argument #%d: Must be '%s' or '%s'.\n"), fname, 1, "on", "off");
+                return 0;
+            }
+        }
+    }
+
+    n1 = 1;
+    CreateVarFromPtr(Rhs + 1, STRING_DATATYPE, (m1 = (int)strlen(Output), &m1), &n1, &Output);
+    if (Output)
+    {
+        FREE(Output);
+        Output = NULL;
+    }
+    LhsVar(1) = Rhs + 1;
+    PutLhsVar();
+
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_historysize.c b/modules/history_manager/sci_gateway/c/sci_historysize.c
new file mode 100755
index 000000000..378f077d5
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_historysize.c
@@ -0,0 +1,114 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2007-2008 - INRIA - Allan CORNET
+* Copyright (C) 2011 - DIGITEO - Allan CORNET
+* Copyright (C) 2014 - Scilab Enterprises - Anais AUBERT
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "HistoryManager.h"
+#include "api_scilab.h"
+#include "localization.h"
+#include "Scierror.h"
+/*--------------------------------------------------------------------------*/
+int sci_historysize(char *fname, unsigned long fname_len)
+{
+    int iReturnedValue = 0;
+
+    Rhs = Max(Rhs, 0);
+    CheckRhs(0, 1);
+    CheckLhs(0, 1);
+    if (Rhs == 1)
+    {
+        int iValue = 0;
+        int *piAddressVarOne = NULL;
+        SciErr sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddressVarOne);
+        if (sciErr.iErr)
+        {
+            printError(&sciErr, 0);
+            Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1);
+            return 0;
+        }
+
+        if (isStringType(pvApiCtx, piAddressVarOne))
+        {
+            if (isScalar(pvApiCtx, piAddressVarOne))
+            {
+                char *paramValue = NULL;
+                if (getAllocatedSingleString(pvApiCtx, piAddressVarOne, &paramValue) == 0)
+                {
+                    if (strcmp(paramValue, "max") == 0)
+                    {
+                        iReturnedValue = getSizeMaxScilabHistory();
+                        freeAllocatedSingleString(paramValue);
+                        paramValue = NULL;
+                    }
+                    else
+                    {
+                        Scierror(999, _("%s: Wrong value for input argument #%d: \"%s\" expected.\n"), fname, 1, "max");
+                        freeAllocatedSingleString(paramValue);
+                        paramValue = NULL;
+                        return 0;
+                    }
+                }
+                else
+                {
+                    Scierror(999, _("%s: Memory allocation error.\n"), fname);
+                    return 0;
+                }
+            }
+            else
+            {
+                Scierror(999, _("%s: Wrong size for input argument #%d.\n"), fname, 1);
+                return 0;
+            }
+        }
+        else if (isDoubleType(pvApiCtx, piAddressVarOne))
+        {
+            if (isScalar(pvApiCtx, piAddressVarOne))
+            {
+                double dValue = 0.;
+                if (getScalarDouble(pvApiCtx, piAddressVarOne, &dValue) == 0)
+                {
+                    iValue = (int)(dValue);
+                }
+
+                if (!setSizeMaxScilabHistory(iValue))
+                {
+                    Scierror(999, _("%s: Wrong value for input argument #%d.\n"), fname, 1);
+                    return 0;
+                }
+                iReturnedValue = iValue;
+            }
+            else
+            {
+                Scierror(999, _("%s: Wrong size for input argument #%d.\n"), fname, 1);
+                return 0;
+            }
+        }
+        else
+        {
+            Scierror(999, _("%s: Wrong type for input argument #%d.\n"), fname, 1);
+            return 0;
+        }
+    }
+    else
+    {
+        iReturnedValue = getSizeScilabHistory();
+    }
+
+    createScalarDouble(pvApiCtx, Rhs + 1, (double)iReturnedValue);
+    LhsVar(1) = Rhs + 1;
+
+    PutLhsVar();
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_loadhistory.c b/modules/history_manager/sci_gateway/c/sci_loadhistory.c
new file mode 100755
index 000000000..f1cd022c5
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_loadhistory.c
@@ -0,0 +1,67 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2006-2008 - INRIA - Allan CORNET
+* Copyright (C) 2011 - DIGITEO - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "stack-c.h"
+#include "HistoryManager.h"
+#include "MALLOC.h"
+#include "expandPathVariable.h"
+#include "warningmode.h"
+#include "localization.h"
+#include "sciprint.h"
+/*--------------------------------------------------------------------------*/
+int sci_loadhistory(char *fname, unsigned long fname_len)
+{
+    CheckRhs(0, 1) ;
+    CheckLhs(0, 1) ;
+
+    if (Rhs == 0)
+    {
+        char *filename = getFilenameScilabHistory();
+        if (filename)
+        {
+            loadScilabHistoryFromFile(filename);
+            FREE(filename);
+            filename = NULL;
+        }
+    }
+    else
+    {
+        char *line = NULL;
+        int l1 = 0, m1 = 0, n1 = 0;
+        char *Path = NULL;
+
+        GetRhsVar(1, STRING_DATATYPE, &m1, &n1, &l1);
+        Path = cstk(l1);
+        line = expandPathVariable(Path);
+        if (line)
+        {
+            loadScilabHistoryFromFile(line);
+            FREE(line);
+            line = NULL;
+        }
+    }
+
+    /* silent truncation
+    if (isScilabHistoryTruncated() && getWarningMode())
+    {
+        sciprint(_("WARNING: history has been truncated (too big).\n"));
+    }
+    */
+
+    LhsVar(1) = 0;
+    PutLhsVar();
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_removelinehistory.c b/modules/history_manager/sci_gateway/c/sci_removelinehistory.c
new file mode 100755
index 000000000..caf57fdd0
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_removelinehistory.c
@@ -0,0 +1,56 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+/* desc : interface for removelinehistory primitive                         */
+/*--------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "stack-c.h"
+#include "Scierror.h"
+#include "localization.h"
+#include "HistoryManager.h"
+/*--------------------------------------------------------------------------*/
+int sci_removelinehistory(char *fname, unsigned long fname_len)
+{
+    Rhs = Max(Rhs, 0);
+    CheckRhs(1, 1);
+    CheckLhs(0, 1);
+
+    if ( GetType(1) == sci_matrix )
+    {
+        int N = -1;
+        int l1, m1 = 1, n1 = 1;
+        GetRhsVar(1, MATRIX_OF_INTEGER_DATATYPE, &m1, &n1, &l1);
+        N = *istk(l1);
+
+        if ( (N < 0) || (N > getSizeScilabHistory()) )
+        {
+            Scierror(999, _("%s: Wrong value for input argument #%d: Must be in the interval [%d, %d].\n"), fname, 1, 0, getSizeScilabHistory());
+            return 0;
+        }
+        else
+        {
+            deleteNthLineScilabHistory(N);
+        }
+    }
+    else
+    {
+        Scierror(999, _("%s: Wrong type for input argument #%d: A scalar expected.\n"), fname, 1);
+        return 0;
+    }
+
+
+    LhsVar(1) = 0;
+    PutLhsVar();
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_resethistory.c b/modules/history_manager/sci_gateway/c/sci_resethistory.c
new file mode 100755
index 000000000..66df8e661
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_resethistory.c
@@ -0,0 +1,29 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "stack-c.h"
+#include "HistoryManager.h"
+/*--------------------------------------------------------------------------*/
+int sci_resethistory(char *fname, unsigned long fname_len)
+{
+    CheckRhs(0, 0) ;
+    CheckLhs(0, 1) ;
+
+    resetScilabHistory();
+
+    LhsVar(1) = 0;
+    PutLhsVar();
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_saveafterncommands.c b/modules/history_manager/sci_gateway/c/sci_saveafterncommands.c
new file mode 100755
index 000000000..7a1fb4c69
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_saveafterncommands.c
@@ -0,0 +1,64 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "MALLOC.h"
+#include "stack-c.h"
+#include "HistoryManager.h"
+#include "Scierror.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+int sci_saveafterncommands(char *fname, unsigned long fname_len)
+{
+    CheckRhs(0, 1);
+    CheckLhs(0, 1);
+
+    if (Rhs == 0)
+    {
+        int n1 = 1, l1 = 0;
+        int num = getAfterHowManyLinesScilabHistoryIsSaved();
+
+        CreateVar(Rhs + 1, MATRIX_OF_DOUBLE_DATATYPE, &n1, &n1, &l1);
+        *stk(l1) = (double)num;
+        LhsVar(1) = Rhs + 1;
+    }
+    else
+    {
+        if (GetType(1) == sci_matrix)
+        {
+            int n1 = 0, l1 = 0, m1 = 0;
+            int num = FALSE;
+            char *filename = getFilenameScilabHistory();
+
+            if (filename == NULL)
+            {
+                setDefaultFilenameScilabHistory();
+            }
+
+            GetRhsVar(1, MATRIX_OF_DOUBLE_DATATYPE, &m1, &n1, &l1);
+            num = (int) * stk(l1);
+            setAfterHowManyLinesScilabHistoryIsSaved(num);
+            LhsVar(1) = 0;
+        }
+        else
+        {
+            Scierror(999, _("%s: Wrong type for input argument #%d: A scalar expected.\n"), fname, 1);
+            return 0;
+        }
+    }
+
+    PutLhsVar();
+    return 0;
+}
+
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_saveconsecutivecommands.c b/modules/history_manager/sci_gateway/c/sci_saveconsecutivecommands.c
new file mode 100755
index 000000000..10bbd7abf
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_saveconsecutivecommands.c
@@ -0,0 +1,62 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "MALLOC.h"
+#include "stack-c.h"
+#include "HistoryManager.h"
+#include "Scierror.h"
+#include "localization.h"
+/*--------------------------------------------------------------------------*/
+int sci_saveconsecutivecommands(char *fname, unsigned long fname_len)
+{
+    CheckRhs(0, 1) ;
+    CheckLhs(0, 1) ;
+
+    if (Rhs == 0)
+    {
+        int n1 = 1, l1 = 0;
+        CreateVar(Rhs + 1, MATRIX_OF_BOOLEAN_DATATYPE, &n1, &n1, &l1);
+
+        if ( getSaveConsecutiveDuplicateLinesInScilabHistory() )
+        {
+            *istk(l1) = (int)(TRUE);
+        }
+        else
+        {
+            *istk(l1) = (int)(FALSE);
+        }
+        LhsVar(1) = Rhs + 1;
+    }
+    else
+    {
+        if (GetType(1) == sci_boolean)
+        {
+            int n1 = 0, l1 = 0, m1 = 0;
+            BOOL bOK = FALSE;
+            GetRhsVar(1, MATRIX_OF_BOOLEAN_DATATYPE, &m1, &n1, &l1);
+            bOK = *istk(l1);
+            setSaveConsecutiveDuplicateLinesInScilabHistory(bOK);
+            LhsVar(1) = 0;
+        }
+        else
+        {
+            Scierror(999, _("%s: Wrong type for input argument #%d: A boolean expected.\n"), fname, 1);
+            return 0;
+        }
+    }
+
+    PutLhsVar();
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_savehistory.c b/modules/history_manager/sci_gateway/c/sci_savehistory.c
new file mode 100755
index 000000000..7eafdac7e
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_savehistory.c
@@ -0,0 +1,59 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "stack-c.h"
+#include "HistoryManager.h"
+#include "MALLOC.h"
+#include "expandPathVariable.h"
+/*--------------------------------------------------------------------------*/
+int sci_savehistory(char *fname, unsigned long fname_len)
+{
+    CheckRhs(0, 1) ;
+    CheckLhs(0, 1) ;
+
+    if (Rhs == 0)
+    {
+        char *filename = getFilenameScilabHistory();
+        if (filename)
+        {
+            writeScilabHistoryToFile(filename);
+            FREE(filename);
+            filename = NULL;
+        }
+    }
+    else
+    {
+        char  *line = NULL;
+        char *Path = NULL;
+        int l1 = 0, m1 = 0, n1 = 0;
+
+        if ( GetType(1) == sci_strings )
+        {
+            GetRhsVar(1, STRING_DATATYPE, &m1, &n1, &l1);
+            Path = cstk(l1);
+
+            line = expandPathVariable(Path);
+            if (line)
+            {
+                writeScilabHistoryToFile(line);
+                FREE(line);
+                line = NULL;
+            }
+        }
+    }
+    LhsVar(1) = 0;
+    PutLhsVar();
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/c/sci_sethistoryfile.c b/modules/history_manager/sci_gateway/c/sci_sethistoryfile.c
new file mode 100755
index 000000000..dbedd4041
--- /dev/null
+++ b/modules/history_manager/sci_gateway/c/sci_sethistoryfile.c
@@ -0,0 +1,42 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include "gw_history_manager.h"
+#include "MALLOC.h"
+#include "stack-c.h"
+#include "HistoryManager.h"
+/*--------------------------------------------------------------------------*/
+int sci_sethistoryfile(char *fname, unsigned long fname_len)
+{
+    CheckRhs(0, 1) ;
+    CheckLhs(0, 1) ;
+
+    if (Rhs == 0)
+    {
+        setDefaultFilenameScilabHistory();
+    }
+    else
+    {
+        int l1 = 0, m1 = 0, n1 = 0;
+        char  *filename = NULL;
+
+        GetRhsVar(1, STRING_DATATYPE, &m1, &n1, &l1);
+        filename = cstk(l1);
+        setFilenameScilabHistory(filename);
+    }
+    LhsVar(1) = 0;
+    PutLhsVar();
+
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/sci_gateway/history_manager_gateway.xml b/modules/history_manager/sci_gateway/history_manager_gateway.xml
new file mode 100755
index 000000000..bc9eca93a
--- /dev/null
+++ b/modules/history_manager/sci_gateway/history_manager_gateway.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">
+<GATEWAY name="history_manager">
+    <!-- =================== -->
+    <!--
+ Scilab
+ Interface description. In this file, we define the list of the function which
+ will be available into Scilab and the link to the "native" function.
+
+ gatewayId is the position in the hashtable 'Interfaces' defined in the
+ file SCI/modules/core/src/c/callinterf.h
+
+ primitiveId is the position in the hashtable '<module>Table Tab[]' defined
+ in the file modules/<module>/sci_gateway/c/gw_<module>.c
+
+ primitiveName is the name of the Scilab function
+
+ Don't touch if you do not know what you are doing
+-->
+    <!-- =================== -->
+    <PRIMITIVE gatewayId="55" primitiveId="1" primitiveName="loadhistory" />
+    <PRIMITIVE gatewayId="55" primitiveId="2" primitiveName="savehistory" />
+    <PRIMITIVE gatewayId="55" primitiveId="3" primitiveName="gethistory" />
+    <PRIMITIVE gatewayId="55" primitiveId="4" primitiveName="resethistory" />
+    <PRIMITIVE gatewayId="55" primitiveId="5" primitiveName="displayhistory" />
+    <PRIMITIVE gatewayId="55" primitiveId="6" primitiveName="addhistory" />
+    <PRIMITIVE gatewayId="55" primitiveId="7" primitiveName="saveconsecutivecommands" />
+    <PRIMITIVE gatewayId="55" primitiveId="8" primitiveName="saveafterncommands" />
+    <PRIMITIVE gatewayId="55" primitiveId="9" primitiveName="gethistoryfile" />
+    <PRIMITIVE gatewayId="55" primitiveId="10" primitiveName="sethistoryfile" />
+    <PRIMITIVE gatewayId="55" primitiveId="11" primitiveName="removelinehistory" />
+    <PRIMITIVE gatewayId="55" primitiveId="12" primitiveName="historysize" />
+    <PRIMITIVE gatewayId="55" primitiveId="13" primitiveName="historymanager" />
+</GATEWAY>
diff --git a/modules/history_manager/src/c/.deps/.dirstamp b/modules/history_manager/src/c/.deps/.dirstamp
new file mode 100755
index 000000000..e69de29bb
diff --git a/modules/history_manager/src/c/.deps/libscihistory_manager_algo_la-getCommentDateSession.Plo b/modules/history_manager/src/c/.deps/libscihistory_manager_algo_la-getCommentDateSession.Plo
new file mode 100755
index 000000000..fb4411ca1
--- /dev/null
+++ b/modules/history_manager/src/c/.deps/libscihistory_manager_algo_la-getCommentDateSession.Plo
@@ -0,0 +1,157 @@
+src/c/libscihistory_manager_algo_la-getCommentDateSession.lo: \
+ src/c/getCommentDateSession.c /usr/include/stdc-predef.h \
+ /usr/include/time.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
+ /usr/include/wchar.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ src/c/getCommentDateSession.h ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h \
+ ../../modules/localization/includes/localization.h \
+ ../../modules/core/includes/machine.h /usr/include/libintl.h \
+ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \
+ ../../modules/core/includes/freeArrayOfString.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ ../../modules/core/includes/BOOL.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/time.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/include/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+src/c/getCommentDateSession.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+../../modules/localization/includes/localization.h:
+
+../../modules/core/includes/machine.h:
+
+/usr/include/libintl.h:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+../../modules/core/includes/freeArrayOfString.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+../../modules/core/includes/BOOL.h:
diff --git a/modules/history_manager/src/c/.dirstamp b/modules/history_manager/src/c/.dirstamp
new file mode 100755
index 000000000..e69de29bb
diff --git a/modules/history_manager/src/c/.libs/libscihistory_manager_algo_la-getCommentDateSession.o b/modules/history_manager/src/c/.libs/libscihistory_manager_algo_la-getCommentDateSession.o
new file mode 100755
index 000000000..a6fc0d964
Binary files /dev/null and b/modules/history_manager/src/c/.libs/libscihistory_manager_algo_la-getCommentDateSession.o differ
diff --git a/modules/history_manager/src/c/DllmainHistory_Manager.c b/modules/history_manager/src/c/DllmainHistory_Manager.c
new file mode 100755
index 000000000..493d63b6b
--- /dev/null
+++ b/modules/history_manager/src/c/DllmainHistory_Manager.c
@@ -0,0 +1,34 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*--------------------------------------------------------------------------*/
+#include <windows.h>
+/*--------------------------------------------------------------------------*/
+#pragma comment(lib,"../../../../bin/libintl.lib")
+/*--------------------------------------------------------------------------*/
+int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved)
+{
+    switch (reason)
+    {
+        case DLL_PROCESS_ATTACH:
+            break;
+        case DLL_PROCESS_DETACH:
+            break;
+        case DLL_THREAD_ATTACH:
+            break;
+        case DLL_THREAD_DETACH:
+            break;
+    }
+    return 1;
+}
+/*--------------------------------------------------------------------------*/
+
diff --git a/modules/history_manager/src/c/History_browser_Import.def b/modules/history_manager/src/c/History_browser_Import.def
new file mode 100755
index 000000000..11b27c6e2
--- /dev/null
+++ b/modules/history_manager/src/c/History_browser_Import.def
@@ -0,0 +1,12 @@
+	LIBRARY    history_browser.dll
+
+
+EXPORTS
+;history_browser
+;
+CommandHistoryInitialize
+CommandHistoryAppendLine
+CommandHistoryLoadFromFile
+CommandHistoryReset
+CommandHistoryDeleteLine
+CommandHistoryExpandAll
diff --git a/modules/history_manager/src/c/Scilab_windows_Import.def b/modules/history_manager/src/c/Scilab_windows_Import.def
new file mode 100755
index 000000000..fc3be8c4b
--- /dev/null
+++ b/modules/history_manager/src/c/Scilab_windows_Import.def
@@ -0,0 +1,7 @@
+	LIBRARY    scilab_windows.dll
+
+
+EXPORTS
+;scilab_windows
+strdup_windows 
+;
diff --git a/modules/history_manager/src/c/core_Import.def b/modules/history_manager/src/c/core_Import.def
new file mode 100755
index 000000000..ccaf7332b
--- /dev/null
+++ b/modules/history_manager/src/c/core_Import.def
@@ -0,0 +1,22 @@
+	LIBRARY    core.dll
+
+
+EXPORTS
+;core
+freeArrayOfString
+callFunctionFromGateway
+com_
+getSCIHOME
+putlhsvar_
+intersci_
+getrhsvar_
+gettype_
+vstk_
+checklhs_
+checkrhs_
+createvarfromptr_
+stack_
+createvar_
+MyHeapAlloc
+MyHeapFree
+MyHeapRealloc
diff --git a/modules/history_manager/src/c/fileio_Import.def b/modules/history_manager/src/c/fileio_Import.def
new file mode 100755
index 000000000..e7d9c2053
--- /dev/null
+++ b/modules/history_manager/src/c/fileio_Import.def
@@ -0,0 +1,10 @@
+	LIBRARY    fileio.dll
+
+
+EXPORTS
+;fileio
+expandPathVariable
+mclose_
+mopen_
+mgetl
+;
diff --git a/modules/history_manager/src/c/getCommentDateSession.c b/modules/history_manager/src/c/getCommentDateSession.c
new file mode 100755
index 000000000..396c6fb3d
--- /dev/null
+++ b/modules/history_manager/src/c/getCommentDateSession.c
@@ -0,0 +1,174 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ * Copyright (C) 2010 - DIGITEO - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*------------------------------------------------------------------------*/
+#include <time.h>
+#include <stdio.h>
+#include <string.h>             /* strlen */
+#include "getCommentDateSession.h"
+#include "MALLOC.h"
+#include "BOOL.h"
+#include "localization.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+#include "freeArrayOfString.h"
+/*------------------------------------------------------------------------*/
+#define STRING_BEGIN_SESSION _("Begin Session : ")
+#define FORMAT_SESSION "%s%s%s"
+#define MAX_wday 7              /* number days in a week */
+#define MAX_mon 12              /* number of month in a year */
+/*------------------------------------------------------------------------*/
+static char *ASCIItime(const struct tm *timeptr);
+static char *ASCIItimeShort(const struct tm *timeptr);
+static char **getDays(void);
+static char **getMonths(void);
+
+/*------------------------------------------------------------------------*/
+char *getCommentDateSession(BOOL longFormat)
+{
+    char *line = NULL;
+    char *time_str = NULL;
+    time_t timer = time(NULL);
+
+    if (longFormat)
+    {
+        time_str = ASCIItime(localtime(&timer));
+    }
+    else
+    {
+        time_str = ASCIItimeShort(localtime(&timer));
+    }
+
+    if (time_str)
+    {
+        size_t historyLineSize = strlen(SESSION_PRAGMA_BEGIN) + strlen(time_str) + strlen(FORMAT_SESSION) + strlen(SESSION_PRAGMA_END) + 1;
+
+        if (longFormat)
+        {
+            historyLineSize += strlen(STRING_BEGIN_SESSION);
+        }
+
+        line = (char *)MALLOC(sizeof(char) * historyLineSize);
+
+        if (line)
+        {
+            if (longFormat)
+            {
+                sprintf(line, FORMAT_SESSION, SESSION_PRAGMA_BEGIN, STRING_BEGIN_SESSION, time_str, SESSION_PRAGMA_END);
+            }
+            else
+            {
+                sprintf(line, FORMAT_SESSION, SESSION_PRAGMA_BEGIN, time_str, SESSION_PRAGMA_END);
+            }
+        }
+        FREE(time_str);
+        time_str = NULL;
+    }
+
+    return line;
+}
+
+/*------------------------------------------------------------------------*/
+static char *ASCIItime(const struct tm *timeptr)
+{
+    char **wday_name = getDays();
+    char **mon_name = getMonths();
+    char *result = NULL;
+
+    if ((wday_name) && (mon_name))
+    {
+#define FORMAT_TIME "%s %s%3d %.2d:%.2d:%.2d %d"
+        int len_result = (int)strlen(wday_name[timeptr->tm_wday]) + (int)strlen(mon_name[timeptr->tm_mon]) + (int)strlen(FORMAT_TIME);
+
+        result = (char *)MALLOC(sizeof(char) * (len_result + 1));
+        if (result)
+        {
+            sprintf(result, FORMAT_TIME,
+                    wday_name[timeptr->tm_wday],
+                    mon_name[timeptr->tm_mon], timeptr->tm_mday, timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec, 1900 + timeptr->tm_year);
+        }
+    }
+    else
+    {
+        strcpy(result, "");
+    }
+
+    /* free pointers */
+    freeArrayOfString(wday_name, MAX_wday);
+    freeArrayOfString(mon_name, MAX_mon);
+
+    return result;
+}
+
+/*------------------------------------------------------------------------*/
+static char **getDays(void)
+{
+    char **days = NULL;
+
+    days = (char **)MALLOC(sizeof(char *) * MAX_wday);
+    if (days)
+    {
+        days[0] = strdup(_("Sun"));
+        days[1] = strdup(_("Mon"));
+        days[2] = strdup(_("Tue"));
+        days[3] = strdup(_("Wed"));
+        days[4] = strdup(_("Thu"));
+        days[5] = strdup(_("Fri"));
+        days[6] = strdup(_("Sat"));
+    }
+    return days;
+}
+
+/*------------------------------------------------------------------------*/
+static char **getMonths(void)
+{
+    char **months = NULL;
+
+    months = (char **)MALLOC(sizeof(char *) * MAX_mon);
+    if (months)
+    {
+        /* initialize month */
+        months[0] = strdup(_("Jan"));
+        months[1] = strdup(_("Feb"));
+        months[2] = strdup(_("Mar"));
+        months[3] = strdup(_("Apr"));
+        months[4] = strdup(_("May"));
+        months[5] = strdup(_("Jun"));
+        months[6] = strdup(_("Jul"));
+        months[7] = strdup(_("Aug"));
+        months[8] = strdup(_("Sep"));
+        months[9] = strdup(_("Oct"));
+        months[10] = strdup(_("Nov"));
+        months[11] = strdup(_("Dec"));
+    }
+    return months;
+}
+
+/*------------------------------------------------------------------------*/
+static char *ASCIItimeShort(const struct tm *timeptr)
+{
+#define FORMAT_TIME_SHORT "%.2d/%.2d/%.4d %.2d:%.2d:%.2d"
+    int len_result = (int)20;   //strlen("21/05/2011 14:11:04")+1
+
+    char *result = (char *)MALLOC(sizeof(char) * (len_result + 1));
+
+    if (result)
+    {
+        sprintf(result, FORMAT_TIME_SHORT,
+                timeptr->tm_mday, timeptr->tm_mon + 1 , 1900 + timeptr->tm_year, timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec);
+    }
+
+    return result;
+}
+/*------------------------------------------------------------------------*/
diff --git a/modules/history_manager/src/c/getCommentDateSession.h b/modules/history_manager/src/c/getCommentDateSession.h
new file mode 100755
index 000000000..c5857669b
--- /dev/null
+++ b/modules/history_manager/src/c/getCommentDateSession.h
@@ -0,0 +1,35 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ * Copyright (C) 2010 - DIGITEO - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*------------------------------------------------------------------------*/
+#ifndef __GETCOMMENTDATESESSION_H__
+#define __GETCOMMENTDATESESSION_H__
+/*------------------------------------------------------------------------*/
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+    /*------------------------------------------------------------------------*/
+#include "BOOL.h"               /* BOOL */
+    /*------------------------------------------------------------------------*/
+#define SESSION_PRAGMA_BEGIN "// -- "
+#define SESSION_PRAGMA_END " -- //"
+    /*------------------------------------------------------------------------*/
+    char *getCommentDateSession(BOOL longFormat);
+    /*------------------------------------------------------------------------*/
+#ifdef __cplusplus
+}
+#endif
+/*------------------------------------------------------------------------*/
+#endif                          /* __GETCOMMENTDATESESSION_H__ */
+/*------------------------------------------------------------------------*/
diff --git a/modules/history_manager/src/c/history_manager.rc b/modules/history_manager/src/c/history_manager.rc
new file mode 100755
index 000000000..125533612
--- /dev/null
+++ b/modules/history_manager/src/c/history_manager.rc
@@ -0,0 +1,97 @@
+// Microsoft Visual C++ generated resource script.
+//
+
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+//#include "afxres.h"
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include "windows.h"
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// French (France) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
+#ifdef _WIN32
+LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE 
+BEGIN
+    "resource.h\0"
+END
+
+
+3 TEXTINCLUDE 
+BEGIN
+    "\r\n"
+    "\0"
+END
+
+#endif    // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 5,5,2,0
+ PRODUCTVERSION 5,5,2,0
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x0L
+ FILESUBTYPE 0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040c04b0"
+        BEGIN
+            VALUE "FileDescription", "history_manager module"
+            VALUE "FileVersion", "5, 5, 2, 0"
+            VALUE "InternalName", "history_manager module"
+            VALUE "LegalCopyright", "Copyright (C) 2017"
+            VALUE "OriginalFilename", "history_manager.dll"
+            VALUE "ProductName", " history_manager"
+            VALUE "ProductVersion", "5, 5, 2, 0"
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x40c, 1200
+    END
+END
+
+#endif    // French (France) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif    // not APSTUDIO_INVOKED
+
diff --git a/modules/history_manager/src/c/history_manager.vcxproj b/modules/history_manager/src/c/history_manager.vcxproj
new file mode 100755
index 000000000..b1ecea4b1
--- /dev/null
+++ b/modules/history_manager/src/c/history_manager.vcxproj
@@ -0,0 +1,281 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{1B98DC87-44F5-48AE-B5D0-29DD8AD86F5E}</ProjectGuid>
+    <RootNamespace>history_manager</RootNamespace>
+    <Keyword>Win32Proj</Keyword>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+    <WholeProgramOptimization>false</WholeProgramOptimization>
+    <PlatformToolset>v110</PlatformToolset>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+    <PlatformToolset>v110</PlatformToolset>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+    <WholeProgramOptimization>false</WholeProgramOptimization>
+    <PlatformToolset>v110</PlatformToolset>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+    <PlatformToolset>v110</PlatformToolset>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup>
+    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
+    <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">sci$(ProjectName)</TargetName>
+    <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">sci$(ProjectName)</TargetName>
+    <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">sci$(ProjectName)</TargetName>
+    <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">sci$(ProjectName)</TargetName>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <AdditionalIncludeDirectories>.;../../includes;../../../localization/includes;../../../jvm/includes;../../../../libs/intl;../../../core/includes;../../../windows_tools/includes;../../../output_stream/includes;../../../history_browser/includes;../../../fileio/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../jni;../../../preferences/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;HISTORY_MANAGER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <WarningLevel>Level3</WarningLevel>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>Make dependencies</Message>
+      <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilab_windows.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)localization_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilocalization.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)fileio_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)fileio.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)history_browser_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)history_browser.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>core.lib;scilab_windows.lib;scilocalization.lib;fileio.lib;history_browser.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX86</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <Midl>
+      <TargetEnvironment>X64</TargetEnvironment>
+    </Midl>
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <AdditionalIncludeDirectories>.;../../includes;../../../localization/includes;../../../jvm/includes;../../../../libs/intl;../../../core/includes;../../../windows_tools/includes;../../../output_stream/includes;../../../history_browser/includes;../../../fileio/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../jni;../../../preferences/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;HISTORY_MANAGER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <WarningLevel>Level3</WarningLevel>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>Make dependencies</Message>
+      <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilab_windows.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)localization_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilocalization.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)fileio_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)fileio.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)history_browser_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)history_browser.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>core.lib;scilab_windows.lib;scilocalization.lib;fileio.lib;history_browser.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX64</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+      <WholeProgramOptimization>false</WholeProgramOptimization>
+      <AdditionalIncludeDirectories>.;../../includes;../../../localization/includes;../../../jvm/includes;../../../../libs/intl;../../../core/includes;../../../windows_tools/includes;../../../output_stream/includes;../../../history_browser/includes;../../../fileio/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../jni;../../../preferences/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;HISTORY_MANAGER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <StringPooling>true</StringPooling>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <WarningLevel>Level3</WarningLevel>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>Make dependencies</Message>
+      <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilab_windows.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)localization_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilocalization.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)fileio_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)fileio.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)history_browser_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)history_browser.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>core.lib;scilab_windows.lib;scilocalization.lib;fileio.lib;history_browser.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX86</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <Midl>
+      <TargetEnvironment>X64</TargetEnvironment>
+    </Midl>
+    <ClCompile>
+      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+      <WholeProgramOptimization>false</WholeProgramOptimization>
+      <AdditionalIncludeDirectories>.;../../includes;../../../localization/includes;../../../jvm/includes;../../../../libs/intl;../../../core/includes;../../../windows_tools/includes;../../../output_stream/includes;../../../history_browser/includes;../../../fileio/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../api_scilab/includes;../jni;../../../preferences/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;HISTORY_MANAGER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <StringPooling>true</StringPooling>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <WarningLevel>Level3</WarningLevel>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+    </ClCompile>
+    <PreLinkEvent>
+      <Message>Make dependencies</Message>
+      <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)Scilab_windows_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilab_windows.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)localization_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)scilocalization.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)fileio_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)fileio.lib" 1&gt;NUL 2&gt;NUL
+lib /DEF:"$(ProjectDir)history_browser_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)history_browser.lib" 1&gt;NUL 2&gt;NUL
+</Command>
+    </PreLinkEvent>
+    <Link>
+      <AdditionalDependencies>core.lib;scilab_windows.lib;scilocalization.lib;fileio.lib;history_browser.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary>
+      <TargetMachine>MachineX64</TargetMachine>
+      <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClCompile Include="..\cpp\CommandLine.cpp" />
+    <ClCompile Include="DllmainHistory_Manager.c" />
+    <ClCompile Include="getCommentDateSession.c" />
+    <ClCompile Include="..\..\sci_gateway\c\gw_history_manager.c" />
+    <ClCompile Include="..\cpp\HistoryFile.cpp" />
+    <ClCompile Include="..\jni\HistoryManagement_wrap.c" />
+    <ClCompile Include="..\cpp\HistoryManager.cpp" />
+    <ClCompile Include="..\cpp\HistorySearch.cpp" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_addhistory.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_displayhistory.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_gethistory.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_gethistoryfile.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_historymanager.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_historysize.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_loadhistory.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_removelinehistory.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_resethistory.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_saveafterncommands.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_saveconsecutivecommands.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_savehistory.c" />
+    <ClCompile Include="..\..\sci_gateway\c\sci_sethistoryfile.c" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\cpp\CommandLine.hxx" />
+    <ClInclude Include="..\..\includes\dynlib_history_manager.h" />
+    <ClInclude Include="getCommentDateSession.h" />
+    <ClInclude Include="..\..\includes\gw_history_manager.h" />
+    <ClInclude Include="..\cpp\HistoryFile.hxx" />
+    <ClInclude Include="..\..\includes\HistoryManager.h" />
+    <ClInclude Include="..\cpp\HistoryManager.hxx" />
+    <ClInclude Include="..\cpp\HistorySearch.hxx" />
+    <ClInclude Include="..\..\includes\InitializeHistoryManager.h" />
+    <ClInclude Include="..\..\includes\TerminateHistoryManager.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="..\..\locales\history_manager.pot" />
+    <None Include="..\jni\HistoryManagement.i" />
+    <None Include="fileio_Import.def" />
+    <None Include="History_browser_Import.def" />
+    <None Include="core_import.def" />
+    <None Include="localization_Import.def" />
+    <None Include="Scilab_windows_Import.def" />
+    <None Include="..\..\history_manager.iss" />
+    <None Include="..\..\sci_gateway\history_manager_gateway.xml" />
+    <None Include="..\..\Makefile.am" />
+  </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="history_manager.rc" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\tools\Dumpexts\Dumpexts.vcxproj">
+      <Project>{3170e4c2-1173-4264-a222-7ee8ccb3ddf7}</Project>
+      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\api_scilab\api_scilab.vcxproj">
+      <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\output_stream\src\c\output_stream.vcxproj">
+      <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project>
+      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\preferences\src\c\preferences.vcxproj">
+      <Project>{7b893e9f-d032-44de-9b71-197a29c4989b}</Project>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/modules/history_manager/src/c/history_manager.vcxproj.filters b/modules/history_manager/src/c/history_manager.vcxproj.filters
new file mode 100755
index 000000000..6bd9c8ba2
--- /dev/null
+++ b/modules/history_manager/src/c/history_manager.vcxproj.filters
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Source Files">
+      <UniqueIdentifier>{6616dcc5-f69b-4bfe-83eb-88d0f2471441}</UniqueIdentifier>
+      <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions>
+    </Filter>
+    <Filter Include="Header Files">
+      <UniqueIdentifier>{3bfe846b-a423-452d-88d3-3e290eb27424}</UniqueIdentifier>
+      <Extensions>h;hpp;hxx;hm;inl</Extensions>
+    </Filter>
+    <Filter Include="localization">
+      <UniqueIdentifier>{c8956280-7655-48f2-8fe9-d5600ec73a18}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Resource Files">
+      <UniqueIdentifier>{2e808030-9704-4b3f-b373-334fab3921cc}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Swig Files">
+      <UniqueIdentifier>{65162aac-fafa-4565-8011-e44ac5265bcf}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Libraries Dependencies">
+      <UniqueIdentifier>{09a1bccf-3b5c-4a0f-aca3-ccc6887f9344}</UniqueIdentifier>
+    </Filter>
+    <Filter Include="Libraries Dependencies\Imports">
+      <UniqueIdentifier>{2beeced8-787c-41fc-b95b-36996397d2e9}</UniqueIdentifier>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="..\cpp\CommandLine.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="DllmainHistory_Manager.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="getCommentDateSession.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\gw_history_manager.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\HistoryFile.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\jni\HistoryManagement_wrap.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\HistoryManager.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\cpp\HistorySearch.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_addhistory.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_displayhistory.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_gethistory.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_gethistoryfile.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_historymanager.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_historysize.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_loadhistory.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_removelinehistory.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_resethistory.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_saveafterncommands.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_saveconsecutivecommands.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_savehistory.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\sci_gateway\c\sci_sethistoryfile.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\cpp\CommandLine.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\includes\dynlib_history_manager.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="getCommentDateSession.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\includes\gw_history_manager.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\HistoryFile.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\includes\HistoryManager.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\HistoryManager.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\cpp\HistorySearch.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\includes\InitializeHistoryManager.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\includes\TerminateHistoryManager.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="..\jni\HistoryManagement.i">
+      <Filter>Swig Files</Filter>
+    </None>
+    <None Include="fileio_Import.def">
+      <Filter>Libraries Dependencies\Imports</Filter>
+    </None>
+    <None Include="History_browser_Import.def">
+      <Filter>Libraries Dependencies\Imports</Filter>
+    </None>
+    <None Include="core_import.def">
+      <Filter>Libraries Dependencies\Imports</Filter>
+    </None>
+    <None Include="localization_Import.def">
+      <Filter>Libraries Dependencies\Imports</Filter>
+    </None>
+    <None Include="Scilab_windows_Import.def">
+      <Filter>Libraries Dependencies\Imports</Filter>
+    </None>
+    <None Include="..\..\history_manager.iss" />
+    <None Include="..\..\sci_gateway\history_manager_gateway.xml" />
+    <None Include="..\..\Makefile.am" />
+    <None Include="..\..\locales\history_manager.pot">
+      <Filter>localization</Filter>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="history_manager.rc">
+      <Filter>Resource Files</Filter>
+    </ResourceCompile>
+  </ItemGroup>
+</Project>
\ No newline at end of file
diff --git a/modules/history_manager/src/c/jvm_Import.def b/modules/history_manager/src/c/jvm_Import.def
new file mode 100755
index 000000000..ac4ada404
--- /dev/null
+++ b/modules/history_manager/src/c/jvm_Import.def
@@ -0,0 +1,8 @@
+	LIBRARY    libjvm.dll
+
+
+EXPORTS
+;libjvm
+getScilabJavaVM
+loadOnUseClassPath
+;
diff --git a/modules/history_manager/src/c/libscihistory_manager_algo_la-getCommentDateSession.lo b/modules/history_manager/src/c/libscihistory_manager_algo_la-getCommentDateSession.lo
new file mode 100755
index 000000000..946388209
--- /dev/null
+++ b/modules/history_manager/src/c/libscihistory_manager_algo_la-getCommentDateSession.lo
@@ -0,0 +1,12 @@
+# src/c/libscihistory_manager_algo_la-getCommentDateSession.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_algo_la-getCommentDateSession.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/src/c/localization_Import.def b/modules/history_manager/src/c/localization_Import.def
new file mode 100755
index 000000000..09af09ee8
--- /dev/null
+++ b/modules/history_manager/src/c/localization_Import.def
@@ -0,0 +1,5 @@
+LIBRARY    scilocalization.dll
+
+
+EXPORTS
+to_wide_string
diff --git a/modules/history_manager/src/cpp/.deps/.dirstamp b/modules/history_manager/src/cpp/.deps/.dirstamp
new file mode 100755
index 000000000..e69de29bb
diff --git a/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-CommandLine.Plo b/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-CommandLine.Plo
new file mode 100755
index 000000000..c2367e9be
--- /dev/null
+++ b/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-CommandLine.Plo
@@ -0,0 +1,266 @@
+src/cpp/libscihistory_manager_algo_la-CommandLine.lo: \
+ src/cpp/CommandLine.cpp /usr/include/stdc-predef.h \
+ src/cpp/CommandLine.hxx ../../modules/core/includes/BOOL.h \
+ /usr/include/c++/5/string \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \
+ /usr/include/c++/5/bits/stringfwd.h /usr/include/c++/5/bits/memoryfwd.h \
+ /usr/include/c++/5/bits/char_traits.h \
+ /usr/include/c++/5/bits/stl_algobase.h \
+ /usr/include/c++/5/bits/functexcept.h \
+ /usr/include/c++/5/bits/exception_defines.h \
+ /usr/include/c++/5/bits/cpp_type_traits.h \
+ /usr/include/c++/5/ext/type_traits.h \
+ /usr/include/c++/5/ext/numeric_traits.h \
+ /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \
+ /usr/include/c++/5/bits/concept_check.h \
+ /usr/include/c++/5/bits/stl_iterator_base_types.h \
+ /usr/include/c++/5/bits/stl_iterator_base_funcs.h \
+ /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \
+ /usr/include/c++/5/bits/ptr_traits.h \
+ /usr/include/c++/5/bits/predefined_ops.h \
+ /usr/include/c++/5/bits/postypes.h /usr/include/c++/5/cwchar \
+ /usr/include/wchar.h /usr/include/stdio.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ /usr/include/c++/5/bits/allocator.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \
+ /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \
+ /usr/include/c++/5/exception \
+ /usr/include/c++/5/bits/atomic_lockfree_defines.h \
+ /usr/include/c++/5/bits/localefwd.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \
+ /usr/include/c++/5/clocale /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/iosfwd \
+ /usr/include/c++/5/cctype /usr/include/ctype.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/c++/5/bits/ostream_insert.h \
+ /usr/include/c++/5/bits/cxxabi_forced.h \
+ /usr/include/c++/5/bits/stl_function.h \
+ /usr/include/c++/5/backward/binders.h \
+ /usr/include/c++/5/bits/range_access.h \
+ /usr/include/c++/5/bits/basic_string.h \
+ /usr/include/c++/5/ext/atomicity.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \
+ /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/bits/sched.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/timex.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
+ /usr/include/x86_64-linux-gnu/bits/setjmp.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \
+ /usr/include/c++/5/ext/alloc_traits.h \
+ /usr/include/c++/5/bits/basic_string.tcc \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h
+
+/usr/include/stdc-predef.h:
+
+src/cpp/CommandLine.hxx:
+
+../../modules/core/includes/BOOL.h:
+
+/usr/include/c++/5/string:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h:
+
+/usr/include/c++/5/bits/stringfwd.h:
+
+/usr/include/c++/5/bits/memoryfwd.h:
+
+/usr/include/c++/5/bits/char_traits.h:
+
+/usr/include/c++/5/bits/stl_algobase.h:
+
+/usr/include/c++/5/bits/functexcept.h:
+
+/usr/include/c++/5/bits/exception_defines.h:
+
+/usr/include/c++/5/bits/cpp_type_traits.h:
+
+/usr/include/c++/5/ext/type_traits.h:
+
+/usr/include/c++/5/ext/numeric_traits.h:
+
+/usr/include/c++/5/bits/stl_pair.h:
+
+/usr/include/c++/5/bits/move.h:
+
+/usr/include/c++/5/bits/concept_check.h:
+
+/usr/include/c++/5/bits/stl_iterator_base_types.h:
+
+/usr/include/c++/5/bits/stl_iterator_base_funcs.h:
+
+/usr/include/c++/5/debug/debug.h:
+
+/usr/include/c++/5/bits/stl_iterator.h:
+
+/usr/include/c++/5/bits/ptr_traits.h:
+
+/usr/include/c++/5/bits/predefined_ops.h:
+
+/usr/include/c++/5/bits/postypes.h:
+
+/usr/include/c++/5/cwchar:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+/usr/include/c++/5/bits/allocator.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:
+
+/usr/include/c++/5/ext/new_allocator.h:
+
+/usr/include/c++/5/new:
+
+/usr/include/c++/5/exception:
+
+/usr/include/c++/5/bits/atomic_lockfree_defines.h:
+
+/usr/include/c++/5/bits/localefwd.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h:
+
+/usr/include/c++/5/clocale:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/c++/5/iosfwd:
+
+/usr/include/c++/5/cctype:
+
+/usr/include/ctype.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/c++/5/bits/ostream_insert.h:
+
+/usr/include/c++/5/bits/cxxabi_forced.h:
+
+/usr/include/c++/5/bits/stl_function.h:
+
+/usr/include/c++/5/backward/binders.h:
+
+/usr/include/c++/5/bits/range_access.h:
+
+/usr/include/c++/5/bits/basic_string.h:
+
+/usr/include/c++/5/ext/atomicity.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/sched.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/timex.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/x86_64-linux-gnu/bits/setjmp.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h:
+
+/usr/include/c++/5/ext/alloc_traits.h:
+
+/usr/include/c++/5/bits/basic_string.tcc:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
diff --git a/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistoryFile.Plo b/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistoryFile.Plo
new file mode 100755
index 000000000..5d465f00e
--- /dev/null
+++ b/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistoryFile.Plo
@@ -0,0 +1,348 @@
+src/cpp/libscihistory_manager_algo_la-HistoryFile.lo: \
+ src/cpp/HistoryFile.cpp /usr/include/stdc-predef.h \
+ src/cpp/HistoryFile.hxx /usr/include/c++/5/list \
+ /usr/include/c++/5/bits/stl_algobase.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \
+ /usr/include/c++/5/bits/functexcept.h \
+ /usr/include/c++/5/bits/exception_defines.h \
+ /usr/include/c++/5/bits/cpp_type_traits.h \
+ /usr/include/c++/5/ext/type_traits.h \
+ /usr/include/c++/5/ext/numeric_traits.h \
+ /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \
+ /usr/include/c++/5/bits/concept_check.h \
+ /usr/include/c++/5/bits/stl_iterator_base_types.h \
+ /usr/include/c++/5/bits/stl_iterator_base_funcs.h \
+ /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \
+ /usr/include/c++/5/bits/ptr_traits.h \
+ /usr/include/c++/5/bits/predefined_ops.h \
+ /usr/include/c++/5/bits/allocator.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \
+ /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \
+ /usr/include/c++/5/exception \
+ /usr/include/c++/5/bits/atomic_lockfree_defines.h \
+ /usr/include/c++/5/bits/memoryfwd.h \
+ /usr/include/c++/5/bits/range_access.h \
+ /usr/include/c++/5/bits/stl_list.h /usr/include/c++/5/bits/list.tcc \
+ src/cpp/CommandLine.hxx ../../modules/core/includes/BOOL.h \
+ /usr/include/c++/5/string /usr/include/c++/5/bits/stringfwd.h \
+ /usr/include/c++/5/bits/char_traits.h /usr/include/c++/5/bits/postypes.h \
+ /usr/include/c++/5/cwchar /usr/include/wchar.h /usr/include/stdio.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ /usr/include/c++/5/bits/localefwd.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \
+ /usr/include/c++/5/clocale /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/iosfwd \
+ /usr/include/c++/5/cctype /usr/include/ctype.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/c++/5/bits/ostream_insert.h \
+ /usr/include/c++/5/bits/cxxabi_forced.h \
+ /usr/include/c++/5/bits/stl_function.h \
+ /usr/include/c++/5/backward/binders.h \
+ /usr/include/c++/5/bits/basic_string.h \
+ /usr/include/c++/5/ext/atomicity.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \
+ /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/bits/sched.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/timex.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
+ /usr/include/x86_64-linux-gnu/bits/setjmp.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \
+ /usr/include/c++/5/ext/alloc_traits.h \
+ /usr/include/c++/5/bits/basic_string.tcc \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/output_stream/includes/sciprint.h \
+ ../../modules/core/includes/PATH_MAX.h \
+ ../../modules/core/includes/SCIHOME.h ../../modules/core/includes/BOOL.h \
+ ../../modules/core/includes/machine.h src/c/getCommentDateSession.h \
+ ../../modules/core/includes/scilabDefaults.h \
+ ../../modules/localization/includes/charEncoding.h \
+ /usr/include/x86_64-linux-gnu/sys/stat.h \
+ /usr/include/x86_64-linux-gnu/bits/stat.h \
+ ../../modules/fileio/includes/mopen.h \
+ ../../modules/fileio/includes/dynlib_fileio.h \
+ ../../modules/fileio/includes/mgetl.h \
+ ../../modules/fileio/includes/mclose.h \
+ ../../modules/core/includes/freeArrayOfString.h \
+ ../../modules/preferences/includes/getScilabPreference.h \
+ ../../modules/preferences/includes/dynlib_preferences_scilab.h \
+ ../../modules/fileio/includes/expandPathVariable.h
+
+/usr/include/stdc-predef.h:
+
+src/cpp/HistoryFile.hxx:
+
+/usr/include/c++/5/list:
+
+/usr/include/c++/5/bits/stl_algobase.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h:
+
+/usr/include/c++/5/bits/functexcept.h:
+
+/usr/include/c++/5/bits/exception_defines.h:
+
+/usr/include/c++/5/bits/cpp_type_traits.h:
+
+/usr/include/c++/5/ext/type_traits.h:
+
+/usr/include/c++/5/ext/numeric_traits.h:
+
+/usr/include/c++/5/bits/stl_pair.h:
+
+/usr/include/c++/5/bits/move.h:
+
+/usr/include/c++/5/bits/concept_check.h:
+
+/usr/include/c++/5/bits/stl_iterator_base_types.h:
+
+/usr/include/c++/5/bits/stl_iterator_base_funcs.h:
+
+/usr/include/c++/5/debug/debug.h:
+
+/usr/include/c++/5/bits/stl_iterator.h:
+
+/usr/include/c++/5/bits/ptr_traits.h:
+
+/usr/include/c++/5/bits/predefined_ops.h:
+
+/usr/include/c++/5/bits/allocator.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:
+
+/usr/include/c++/5/ext/new_allocator.h:
+
+/usr/include/c++/5/new:
+
+/usr/include/c++/5/exception:
+
+/usr/include/c++/5/bits/atomic_lockfree_defines.h:
+
+/usr/include/c++/5/bits/memoryfwd.h:
+
+/usr/include/c++/5/bits/range_access.h:
+
+/usr/include/c++/5/bits/stl_list.h:
+
+/usr/include/c++/5/bits/list.tcc:
+
+src/cpp/CommandLine.hxx:
+
+../../modules/core/includes/BOOL.h:
+
+/usr/include/c++/5/string:
+
+/usr/include/c++/5/bits/stringfwd.h:
+
+/usr/include/c++/5/bits/char_traits.h:
+
+/usr/include/c++/5/bits/postypes.h:
+
+/usr/include/c++/5/cwchar:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+/usr/include/c++/5/bits/localefwd.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h:
+
+/usr/include/c++/5/clocale:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/c++/5/iosfwd:
+
+/usr/include/c++/5/cctype:
+
+/usr/include/ctype.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/c++/5/bits/ostream_insert.h:
+
+/usr/include/c++/5/bits/cxxabi_forced.h:
+
+/usr/include/c++/5/bits/stl_function.h:
+
+/usr/include/c++/5/backward/binders.h:
+
+/usr/include/c++/5/bits/basic_string.h:
+
+/usr/include/c++/5/ext/atomicity.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/sched.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/timex.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/x86_64-linux-gnu/bits/setjmp.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h:
+
+/usr/include/c++/5/ext/alloc_traits.h:
+
+/usr/include/c++/5/bits/basic_string.tcc:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/include/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/output_stream/includes/sciprint.h:
+
+../../modules/core/includes/PATH_MAX.h:
+
+../../modules/core/includes/SCIHOME.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/core/includes/machine.h:
+
+src/c/getCommentDateSession.h:
+
+../../modules/core/includes/scilabDefaults.h:
+
+../../modules/localization/includes/charEncoding.h:
+
+/usr/include/x86_64-linux-gnu/sys/stat.h:
+
+/usr/include/x86_64-linux-gnu/bits/stat.h:
+
+../../modules/fileio/includes/mopen.h:
+
+../../modules/fileio/includes/dynlib_fileio.h:
+
+../../modules/fileio/includes/mgetl.h:
+
+../../modules/fileio/includes/mclose.h:
+
+../../modules/core/includes/freeArrayOfString.h:
+
+../../modules/preferences/includes/getScilabPreference.h:
+
+../../modules/preferences/includes/dynlib_preferences_scilab.h:
+
+../../modules/fileio/includes/expandPathVariable.h:
diff --git a/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistoryManager.Plo b/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistoryManager.Plo
new file mode 100755
index 000000000..6e103cbdb
--- /dev/null
+++ b/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistoryManager.Plo
@@ -0,0 +1,336 @@
+src/cpp/libscihistory_manager_algo_la-HistoryManager.lo: \
+ src/cpp/HistoryManager.cpp /usr/include/stdc-predef.h \
+ src/cpp/HistoryManager.hxx /usr/include/time.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/timex.h /usr/include/xlocale.h \
+ /usr/include/c++/5/list /usr/include/c++/5/bits/stl_algobase.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \
+ /usr/include/c++/5/bits/functexcept.h \
+ /usr/include/c++/5/bits/exception_defines.h \
+ /usr/include/c++/5/bits/cpp_type_traits.h \
+ /usr/include/c++/5/ext/type_traits.h \
+ /usr/include/c++/5/ext/numeric_traits.h \
+ /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \
+ /usr/include/c++/5/bits/concept_check.h \
+ /usr/include/c++/5/bits/stl_iterator_base_types.h \
+ /usr/include/c++/5/bits/stl_iterator_base_funcs.h \
+ /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \
+ /usr/include/c++/5/bits/ptr_traits.h \
+ /usr/include/c++/5/bits/predefined_ops.h \
+ /usr/include/c++/5/bits/allocator.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \
+ /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \
+ /usr/include/c++/5/exception \
+ /usr/include/c++/5/bits/atomic_lockfree_defines.h \
+ /usr/include/c++/5/bits/memoryfwd.h \
+ /usr/include/c++/5/bits/range_access.h \
+ /usr/include/c++/5/bits/stl_list.h /usr/include/c++/5/bits/list.tcc \
+ src/cpp/CommandLine.hxx ../../modules/core/includes/BOOL.h \
+ /usr/include/c++/5/string /usr/include/c++/5/bits/stringfwd.h \
+ /usr/include/c++/5/bits/char_traits.h /usr/include/c++/5/bits/postypes.h \
+ /usr/include/c++/5/cwchar /usr/include/wchar.h /usr/include/stdio.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ /usr/include/c++/5/bits/localefwd.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \
+ /usr/include/c++/5/clocale /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/iosfwd \
+ /usr/include/c++/5/cctype /usr/include/ctype.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/c++/5/bits/ostream_insert.h \
+ /usr/include/c++/5/bits/cxxabi_forced.h \
+ /usr/include/c++/5/bits/stl_function.h \
+ /usr/include/c++/5/backward/binders.h \
+ /usr/include/c++/5/bits/basic_string.h \
+ /usr/include/c++/5/ext/atomicity.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \
+ /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/x86_64-linux-gnu/bits/sched.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
+ /usr/include/x86_64-linux-gnu/bits/setjmp.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \
+ /usr/include/c++/5/ext/alloc_traits.h \
+ /usr/include/c++/5/bits/basic_string.tcc src/cpp/HistoryFile.hxx \
+ src/cpp/HistorySearch.hxx includes/HistoryManager.h \
+ includes/dynlib_history_manager.h src/c/getCommentDateSession.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/output_stream/includes/sciprint.h \
+ ../../modules/core/includes/SCIHOME.h ../../modules/core/includes/BOOL.h \
+ ../../modules/fileio/includes/expandPathVariable.h \
+ ../../modules/fileio/includes/dynlib_fileio.h \
+ includes/InitializeHistoryManager.h includes/TerminateHistoryManager.h \
+ ../../modules/core/includes/freeArrayOfString.h \
+ ../../modules/history_browser/includes/CommandHistory_Wrap.h \
+ ../../modules/history_browser/includes/dynlib_history_browser.h
+
+/usr/include/stdc-predef.h:
+
+src/cpp/HistoryManager.hxx:
+
+/usr/include/time.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/timex.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/c++/5/list:
+
+/usr/include/c++/5/bits/stl_algobase.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h:
+
+/usr/include/c++/5/bits/functexcept.h:
+
+/usr/include/c++/5/bits/exception_defines.h:
+
+/usr/include/c++/5/bits/cpp_type_traits.h:
+
+/usr/include/c++/5/ext/type_traits.h:
+
+/usr/include/c++/5/ext/numeric_traits.h:
+
+/usr/include/c++/5/bits/stl_pair.h:
+
+/usr/include/c++/5/bits/move.h:
+
+/usr/include/c++/5/bits/concept_check.h:
+
+/usr/include/c++/5/bits/stl_iterator_base_types.h:
+
+/usr/include/c++/5/bits/stl_iterator_base_funcs.h:
+
+/usr/include/c++/5/debug/debug.h:
+
+/usr/include/c++/5/bits/stl_iterator.h:
+
+/usr/include/c++/5/bits/ptr_traits.h:
+
+/usr/include/c++/5/bits/predefined_ops.h:
+
+/usr/include/c++/5/bits/allocator.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:
+
+/usr/include/c++/5/ext/new_allocator.h:
+
+/usr/include/c++/5/new:
+
+/usr/include/c++/5/exception:
+
+/usr/include/c++/5/bits/atomic_lockfree_defines.h:
+
+/usr/include/c++/5/bits/memoryfwd.h:
+
+/usr/include/c++/5/bits/range_access.h:
+
+/usr/include/c++/5/bits/stl_list.h:
+
+/usr/include/c++/5/bits/list.tcc:
+
+src/cpp/CommandLine.hxx:
+
+../../modules/core/includes/BOOL.h:
+
+/usr/include/c++/5/string:
+
+/usr/include/c++/5/bits/stringfwd.h:
+
+/usr/include/c++/5/bits/char_traits.h:
+
+/usr/include/c++/5/bits/postypes.h:
+
+/usr/include/c++/5/cwchar:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+/usr/include/c++/5/bits/localefwd.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h:
+
+/usr/include/c++/5/clocale:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/c++/5/iosfwd:
+
+/usr/include/c++/5/cctype:
+
+/usr/include/ctype.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/c++/5/bits/ostream_insert.h:
+
+/usr/include/c++/5/bits/cxxabi_forced.h:
+
+/usr/include/c++/5/bits/stl_function.h:
+
+/usr/include/c++/5/backward/binders.h:
+
+/usr/include/c++/5/bits/basic_string.h:
+
+/usr/include/c++/5/ext/atomicity.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/x86_64-linux-gnu/bits/sched.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/x86_64-linux-gnu/bits/setjmp.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h:
+
+/usr/include/c++/5/ext/alloc_traits.h:
+
+/usr/include/c++/5/bits/basic_string.tcc:
+
+src/cpp/HistoryFile.hxx:
+
+src/cpp/HistorySearch.hxx:
+
+includes/HistoryManager.h:
+
+includes/dynlib_history_manager.h:
+
+src/c/getCommentDateSession.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/include/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/output_stream/includes/sciprint.h:
+
+../../modules/core/includes/SCIHOME.h:
+
+../../modules/core/includes/BOOL.h:
+
+../../modules/fileio/includes/expandPathVariable.h:
+
+../../modules/fileio/includes/dynlib_fileio.h:
+
+includes/InitializeHistoryManager.h:
+
+includes/TerminateHistoryManager.h:
+
+../../modules/core/includes/freeArrayOfString.h:
+
+../../modules/history_browser/includes/CommandHistory_Wrap.h:
+
+../../modules/history_browser/includes/dynlib_history_browser.h:
diff --git a/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistorySearch.Plo b/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistorySearch.Plo
new file mode 100755
index 000000000..9e30fa7b5
--- /dev/null
+++ b/modules/history_manager/src/cpp/.deps/libscihistory_manager_algo_la-HistorySearch.Plo
@@ -0,0 +1,280 @@
+src/cpp/libscihistory_manager_algo_la-HistorySearch.lo: \
+ src/cpp/HistorySearch.cpp /usr/include/stdc-predef.h \
+ /usr/include/string.h /usr/include/features.h \
+ /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \
+ /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h src/cpp/HistorySearch.hxx \
+ /usr/include/c++/5/list /usr/include/c++/5/bits/stl_algobase.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \
+ /usr/include/c++/5/bits/functexcept.h \
+ /usr/include/c++/5/bits/exception_defines.h \
+ /usr/include/c++/5/bits/cpp_type_traits.h \
+ /usr/include/c++/5/ext/type_traits.h \
+ /usr/include/c++/5/ext/numeric_traits.h \
+ /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \
+ /usr/include/c++/5/bits/concept_check.h \
+ /usr/include/c++/5/bits/stl_iterator_base_types.h \
+ /usr/include/c++/5/bits/stl_iterator_base_funcs.h \
+ /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \
+ /usr/include/c++/5/bits/ptr_traits.h \
+ /usr/include/c++/5/bits/predefined_ops.h \
+ /usr/include/c++/5/bits/allocator.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \
+ /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \
+ /usr/include/c++/5/exception \
+ /usr/include/c++/5/bits/atomic_lockfree_defines.h \
+ /usr/include/c++/5/bits/memoryfwd.h \
+ /usr/include/c++/5/bits/range_access.h \
+ /usr/include/c++/5/bits/stl_list.h /usr/include/c++/5/bits/list.tcc \
+ src/cpp/CommandLine.hxx ../../modules/core/includes/BOOL.h \
+ /usr/include/c++/5/string /usr/include/c++/5/bits/stringfwd.h \
+ /usr/include/c++/5/bits/char_traits.h /usr/include/c++/5/bits/postypes.h \
+ /usr/include/c++/5/cwchar /usr/include/wchar.h /usr/include/stdio.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar.h \
+ /usr/include/x86_64-linux-gnu/bits/wchar2.h \
+ /usr/include/c++/5/bits/localefwd.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \
+ /usr/include/c++/5/clocale /usr/include/locale.h \
+ /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/iosfwd \
+ /usr/include/c++/5/cctype /usr/include/ctype.h \
+ /usr/include/c++/5/bits/ostream_insert.h \
+ /usr/include/c++/5/bits/cxxabi_forced.h \
+ /usr/include/c++/5/bits/stl_function.h \
+ /usr/include/c++/5/backward/binders.h \
+ /usr/include/c++/5/bits/basic_string.h \
+ /usr/include/c++/5/ext/atomicity.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \
+ /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/x86_64-linux-gnu/bits/sched.h \
+ /usr/include/x86_64-linux-gnu/bits/timex.h \
+ /usr/include/x86_64-linux-gnu/bits/setjmp.h \
+ /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \
+ /usr/include/c++/5/ext/alloc_traits.h \
+ /usr/include/c++/5/bits/basic_string.tcc \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/string.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+src/cpp/HistorySearch.hxx:
+
+/usr/include/c++/5/list:
+
+/usr/include/c++/5/bits/stl_algobase.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h:
+
+/usr/include/c++/5/bits/functexcept.h:
+
+/usr/include/c++/5/bits/exception_defines.h:
+
+/usr/include/c++/5/bits/cpp_type_traits.h:
+
+/usr/include/c++/5/ext/type_traits.h:
+
+/usr/include/c++/5/ext/numeric_traits.h:
+
+/usr/include/c++/5/bits/stl_pair.h:
+
+/usr/include/c++/5/bits/move.h:
+
+/usr/include/c++/5/bits/concept_check.h:
+
+/usr/include/c++/5/bits/stl_iterator_base_types.h:
+
+/usr/include/c++/5/bits/stl_iterator_base_funcs.h:
+
+/usr/include/c++/5/debug/debug.h:
+
+/usr/include/c++/5/bits/stl_iterator.h:
+
+/usr/include/c++/5/bits/ptr_traits.h:
+
+/usr/include/c++/5/bits/predefined_ops.h:
+
+/usr/include/c++/5/bits/allocator.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:
+
+/usr/include/c++/5/ext/new_allocator.h:
+
+/usr/include/c++/5/new:
+
+/usr/include/c++/5/exception:
+
+/usr/include/c++/5/bits/atomic_lockfree_defines.h:
+
+/usr/include/c++/5/bits/memoryfwd.h:
+
+/usr/include/c++/5/bits/range_access.h:
+
+/usr/include/c++/5/bits/stl_list.h:
+
+/usr/include/c++/5/bits/list.tcc:
+
+src/cpp/CommandLine.hxx:
+
+../../modules/core/includes/BOOL.h:
+
+/usr/include/c++/5/string:
+
+/usr/include/c++/5/bits/stringfwd.h:
+
+/usr/include/c++/5/bits/char_traits.h:
+
+/usr/include/c++/5/bits/postypes.h:
+
+/usr/include/c++/5/cwchar:
+
+/usr/include/wchar.h:
+
+/usr/include/stdio.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar.h:
+
+/usr/include/x86_64-linux-gnu/bits/wchar2.h:
+
+/usr/include/c++/5/bits/localefwd.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h:
+
+/usr/include/c++/5/clocale:
+
+/usr/include/locale.h:
+
+/usr/include/x86_64-linux-gnu/bits/locale.h:
+
+/usr/include/c++/5/iosfwd:
+
+/usr/include/c++/5/cctype:
+
+/usr/include/ctype.h:
+
+/usr/include/c++/5/bits/ostream_insert.h:
+
+/usr/include/c++/5/bits/cxxabi_forced.h:
+
+/usr/include/c++/5/bits/stl_function.h:
+
+/usr/include/c++/5/backward/binders.h:
+
+/usr/include/c++/5/bits/basic_string.h:
+
+/usr/include/c++/5/ext/atomicity.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/x86_64-linux-gnu/bits/sched.h:
+
+/usr/include/x86_64-linux-gnu/bits/timex.h:
+
+/usr/include/x86_64-linux-gnu/bits/setjmp.h:
+
+/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h:
+
+/usr/include/c++/5/ext/alloc_traits.h:
+
+/usr/include/c++/5/bits/basic_string.tcc:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
diff --git a/modules/history_manager/src/cpp/.dirstamp b/modules/history_manager/src/cpp/.dirstamp
new file mode 100755
index 000000000..e69de29bb
diff --git a/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-CommandLine.o b/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-CommandLine.o
new file mode 100755
index 000000000..319cba3cf
Binary files /dev/null and b/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-CommandLine.o differ
diff --git a/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistoryFile.o b/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistoryFile.o
new file mode 100755
index 000000000..404e00c54
Binary files /dev/null and b/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistoryFile.o differ
diff --git a/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistoryManager.o b/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistoryManager.o
new file mode 100755
index 000000000..2904e186d
Binary files /dev/null and b/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistoryManager.o differ
diff --git a/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistorySearch.o b/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistorySearch.o
new file mode 100755
index 000000000..26e35ec84
Binary files /dev/null and b/modules/history_manager/src/cpp/.libs/libscihistory_manager_algo_la-HistorySearch.o differ
diff --git a/modules/history_manager/src/cpp/CommandLine.cpp b/modules/history_manager/src/cpp/CommandLine.cpp
new file mode 100755
index 000000000..bc4fe2962
--- /dev/null
+++ b/modules/history_manager/src/cpp/CommandLine.cpp
@@ -0,0 +1,44 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+/*------------------------------------------------------------------------*/
+#include "CommandLine.hxx"
+#include "MALLOC.h"
+/*------------------------------------------------------------------------*/
+CommandLine::CommandLine(void)
+{
+}
+/*------------------------------------------------------------------------*/
+CommandLine::CommandLine(std::string line_)
+{
+    this->Command = line_ ;
+}
+/*------------------------------------------------------------------------*/
+CommandLine::~CommandLine()
+{
+    Command.erase();
+}
+/*------------------------------------------------------------------------*/
+std::string CommandLine::get(void)
+{
+    return Command ;
+}
+/*------------------------------------------------------------------------*/
+BOOL CommandLine::set(std::string line_)
+{
+    if (!line_.empty())
+    {
+        this->Command = line_ ;
+        return TRUE;
+    }
+    return FALSE;
+}
+/*------------------------------------------------------------------------*/
diff --git a/modules/history_manager/src/cpp/CommandLine.hxx b/modules/history_manager/src/cpp/CommandLine.hxx
new file mode 100755
index 000000000..8169677a7
--- /dev/null
+++ b/modules/history_manager/src/cpp/CommandLine.hxx
@@ -0,0 +1,64 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*------------------------------------------------------------------------*/
+#ifndef __COMMANDLINE_H__
+#define __COMMANDLINE_H__
+/*------------------------------------------------------------------------*/
+extern "C"
+{
+#include "BOOL.h"
+};
+#include <string>
+/*------------------------------------------------------------------------*/
+using namespace std ;
+/*------------------------------------------------------------------------*/
+class CommandLine
+{
+public:
+    /**
+    * Constructor CommandLine
+    */
+    CommandLine(void);
+
+    /**
+    * Constructor CommandLine
+    * @param line_ : a string
+    */
+    CommandLine(std::string line_);
+
+    /**
+    * Destructor CommandLine
+    */
+    ~CommandLine();
+
+    /**
+    * get command line
+    * @return a string
+    */
+    std::string get(void);
+
+    /**
+    * set command line
+    * @param line_ : a string
+    * @return TRUE or FALSE
+    */
+    BOOL set(std::string line_);
+
+protected:
+
+private:
+    std::string Command;
+};
+/*------------------------------------------------------------------------*/
+#endif /* __COMMANDLINE_H__ */
+/*------------------------------------------------------------------------*/
diff --git a/modules/history_manager/src/cpp/HistoryFile.cpp b/modules/history_manager/src/cpp/HistoryFile.cpp
new file mode 100755
index 000000000..0bd55195c
--- /dev/null
+++ b/modules/history_manager/src/cpp/HistoryFile.cpp
@@ -0,0 +1,278 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2007-2008 - INRIA - Allan CORNET
+* Copyright (C) 2010-2011 - DIGITEO - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+/*------------------------------------------------------------------------*/
+#include "HistoryFile.hxx"
+#include "MALLOC.h"
+#include "BOOL.h"
+/*------------------------------------------------------------------------*/
+extern "C"
+{
+#include <stdio.h>
+#include <string.h>
+#include <time.h>
+#include <stdlib.h>
+#include "sciprint.h"
+#include "PATH_MAX.h"
+#include "SCIHOME.h"
+#include "machine.h"
+#include "getCommentDateSession.h"
+#include "scilabDefaults.h"
+#include "charEncoding.h"
+#include "mopen.h"
+#include "mgetl.h"
+#include "mclose.h"
+#include "freeArrayOfString.h"
+#include "getScilabPreference.h"
+#include "expandPathVariable.h"
+};
+/*------------------------------------------------------------------------*/
+#define DEFAULT_HISTORY_FILE_MAX_LINES 20000
+/*------------------------------------------------------------------------*/
+HistoryFile::HistoryFile()
+{
+    MaxLinesToRead = DEFAULT_HISTORY_FILE_MAX_LINES;
+    my_history_filename.erase();
+}
+/*------------------------------------------------------------------------*/
+HistoryFile::~HistoryFile()
+{
+    this->reset();
+}
+/*------------------------------------------------------------------------*/
+std::string HistoryFile::getFilename(void)
+{
+    if (this->my_history_filename.empty())
+    {
+        this->setDefaultFilename();
+    }
+    return this->my_history_filename;
+}
+/*------------------------------------------------------------------------*/
+void HistoryFile::setFilename(std::string filename)
+{
+    if (!filename.empty())
+    {
+        this->my_history_filename.erase();
+        this->my_history_filename = filename;
+    }
+    else
+    {
+        this->setDefaultFilename();
+    }
+}
+/*------------------------------------------------------------------------*/
+BOOL HistoryFile::setDefaultFilename(void)
+{
+    const ScilabPreferences* prefs = getScilabPreferences();
+    if (prefs != NULL && prefs->historyFile != NULL)
+    {
+        const char* prefHistoryFile = prefs->historyFile;
+        this->setFilename(expandPathVariable((char*)prefHistoryFile));
+        return TRUE;
+    }
+    else
+    {
+        std::string filename(DEFAULT_HISTORY_FILE);
+        char *SCIHOME = getSCIHOME();
+        if (SCIHOME)
+        {
+            std::string scihome(SCIHOME);
+            std::string sep(DIR_SEPARATOR);
+            this->setFilename(scihome + sep + filename);
+            return TRUE;
+        }
+        else
+        {
+            this->setFilename(filename);
+            return FALSE;
+        }
+    }
+}
+
+/*------------------------------------------------------------------------*/
+BOOL HistoryFile::writeToFile(std::string filename)
+{
+    BOOL bOK = FALSE;
+
+    if (this->Commands.empty())
+    {
+        return bOK;
+    }
+    else
+    {
+        FILE *pFile = NULL;
+
+        if (filename.empty())
+        {
+            return bOK;
+        }
+
+        wcfopen(pFile , (char*)filename.c_str(), "wt");
+
+        if (pFile)
+        {
+            list<CommandLine>::iterator it_commands;
+            for (it_commands = this->Commands.begin(); it_commands != this->Commands.end(); ++it_commands)
+            {
+                std::string line = (*it_commands).get();
+                if (!line.empty())
+                {
+                    fputs(line.c_str(), pFile);
+                    fputs("\n", pFile);
+                }
+            }
+            fclose(pFile);
+            bOK = TRUE;
+        }
+    }
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+BOOL HistoryFile::writeToFile(void)
+{
+    BOOL bOK = FALSE;
+    if (!this->my_history_filename.empty())
+    {
+        bOK = this->writeToFile(my_history_filename);
+    }
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+errorLoadHistoryCode HistoryFile::loadFromFile(std::string filename)
+{
+    errorLoadHistoryCode returnedError = ERROR_HISTORY_NOT_LOADED;
+    int fd = 0;
+    int f_swap = 0;
+    double res = 0.0;
+    int errMOPEN = MOPEN_INVALID_STATUS;
+    double dErrClose = 0.;
+
+
+    C2F(mopen)(&fd, (char*)filename.c_str(), "rt", &f_swap, &res, &errMOPEN);
+    if (errMOPEN == MOPEN_NO_ERROR)
+    {
+        int errMGETL = MGETL_ERROR;
+        int nblines = 0;
+        char **lines = mgetl(fd, -1, &nblines, &errMGETL);
+
+        C2F(mclose)(&fd, &dErrClose);
+        if (errMGETL == MGETL_NO_ERROR)
+        {
+            if (lines)
+            {
+                int iStart = 0;
+                int iEnd = 0;
+                if (nblines > getDefaultMaxNbLines())
+                {
+                    iStart = nblines - getDefaultMaxNbLines();
+                    returnedError = HISTORY_TRUNCATED;
+                }
+                else
+                {
+                    iStart = 0;
+                    returnedError = NO_ERROR_HISTORY_LOADED;
+                }
+                iEnd = nblines;
+
+                for (int i = iStart; i < iEnd; i++)
+                {
+                    CommandLine Line(lines[i]);
+                    this->Commands.push_back(Line);
+                }
+                freeArrayOfString(lines, nblines);
+                lines = NULL;
+            }
+        }
+    }
+    return returnedError;
+}
+/*------------------------------------------------------------------------*/
+errorLoadHistoryCode HistoryFile::loadFromFile(void)
+{
+    errorLoadHistoryCode returnedError = ERROR_HISTORY_NOT_LOADED;
+    if (!this->my_history_filename.empty())
+    {
+        returnedError = this->loadFromFile(my_history_filename);
+    }
+    return returnedError;
+}
+/*------------------------------------------------------------------------*/
+list<CommandLine> HistoryFile::getHistory(void)
+{
+    list <CommandLine> lines(Commands);
+    return lines;
+}
+/*------------------------------------------------------------------------*/
+BOOL HistoryFile::setHistory(list<CommandLine> commands)
+{
+    BOOL bOK = FALSE;
+    list<CommandLine>::iterator it_commands;
+
+    if (!this->Commands.empty())
+    {
+        this->Commands.clear();
+    }
+
+    for (it_commands = commands.begin(); it_commands != commands.end(); ++it_commands)
+    {
+        std::string line = (*it_commands).get();
+        if (!line.empty())
+        {
+            CommandLine Line(line);
+            this->Commands.push_back(Line);
+        }
+    }
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+BOOL HistoryFile::reset(void)
+{
+    BOOL bOK = FALSE;
+    BOOL check1 = FALSE, check2 = FALSE;
+
+    if (!this->Commands.empty())
+    {
+        this->Commands.clear();
+        check1 = TRUE;
+    }
+
+    if (!my_history_filename.empty())
+    {
+        my_history_filename.erase();
+        check2 = TRUE;
+    }
+
+    if (check1 && check2)
+    {
+        bOK = TRUE;
+    }
+
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+int HistoryFile::getDefaultMaxNbLines(void)
+{
+    return MaxLinesToRead;
+}
+/*------------------------------------------------------------------------*/
+BOOL HistoryFile::setDefaultMaxNbLines(int nbLinesMax)
+{
+    BOOL bOK = FALSE;
+    if (nbLinesMax > 0)
+    {
+        MaxLinesToRead = nbLinesMax;
+        bOK = TRUE;
+    }
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
diff --git a/modules/history_manager/src/cpp/HistoryFile.hxx b/modules/history_manager/src/cpp/HistoryFile.hxx
new file mode 100755
index 000000000..faef35a5b
--- /dev/null
+++ b/modules/history_manager/src/cpp/HistoryFile.hxx
@@ -0,0 +1,121 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2007-2008 - INRIA - Allan CORNET
+* Copyright (C) 2011 - DIGITEO - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*------------------------------------------------------------------------*/
+#include <list>
+#include "CommandLine.hxx"
+/*------------------------------------------------------------------------*/
+typedef enum
+{
+    NO_ERROR_HISTORY_LOADED,
+    ERROR_HISTORY_NOT_LOADED,
+    HISTORY_TRUNCATED
+} errorLoadHistoryCode;
+/*------------------------------------------------------------------------*/
+using namespace std;
+/*------------------------------------------------------------------------*/
+class HistoryFile
+{
+public:
+    /**
+    * Constructor
+    */
+    HistoryFile();
+
+    /**
+    * Destructor
+    */
+    ~HistoryFile();
+
+    /**
+    * get filename used by history
+    * @return a string (filenam)
+    */
+    std::string getFilename(void);
+
+    /**
+    * set filename used by history
+    * @param a string (filename)
+    */
+    void setFilename(std::string filename);
+
+    /**
+    * set default filename used by history
+    * @return TRUE or FALSE
+    */
+    BOOL setDefaultFilename(void);
+
+    /**
+    * write history to a file
+    * @param a string the filename
+    * @return TRUE or FALSE
+    */
+    BOOL writeToFile(std::string filename);
+
+    /**
+    * write history to a file
+    * use default filename
+    * @return TRUE or FALSE
+    */
+    BOOL writeToFile(void);
+
+    /**
+    * load history from a file
+    * @param a string the filename
+    * @return TRUE or FALSE
+    */
+    errorLoadHistoryCode loadFromFile(std::string filename);
+
+    /**
+    * load history from a file
+    * use default filename
+    * @return TRUE or FALSE
+    */
+    errorLoadHistoryCode loadFromFile(void);
+
+    /**
+    * get loaded history
+    * @return a list of CommandLine
+    */
+    list<CommandLine> getHistory(void);
+
+    /**
+    * set History to save
+    * @param a list of CommandLine
+    * @return TRUE or FALSE
+    */
+    BOOL setHistory(list<CommandLine> commands);
+
+    /**
+    * reset HistoryFile Object
+    * @return TRUE or FALSE
+    */
+    BOOL reset(void);
+
+    /**
+    *
+    */
+    int getDefaultMaxNbLines(void);
+
+    /**
+    *
+    */
+    BOOL setDefaultMaxNbLines(int nbLinesMax);
+
+protected:
+private:
+    std::string my_history_filename;
+    list<CommandLine> Commands;
+    int MaxLinesToRead;
+};
+/*------------------------------------------------------------------------*/
diff --git a/modules/history_manager/src/cpp/HistoryManager.cpp b/modules/history_manager/src/cpp/HistoryManager.cpp
new file mode 100755
index 000000000..1246c5e66
--- /dev/null
+++ b/modules/history_manager/src/cpp/HistoryManager.cpp
@@ -0,0 +1,967 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2007-2008 - INRIA - Allan CORNET
+* Copyright (C) 2010 - DIGITEO - Vincent COUVERT
+* Copyright (C) 2011 - DIGITEO - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*------------------------------------------------------------------------*/
+#include "HistoryManager.hxx"
+#include "HistoryManager.h"
+#include "getCommentDateSession.h"
+#include "MALLOC.h"
+/*------------------------------------------------------------------------*/
+extern "C"
+{
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include "sciprint.h"
+#include "SCIHOME.h"
+#include "expandPathVariable.h"
+#include "InitializeHistoryManager.h"
+#include "TerminateHistoryManager.h"
+#include "freeArrayOfString.h"
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+#include "CommandHistory_Wrap.h"
+};
+
+/*------------------------------------------------------------------------*/
+#define MAXBUF	1024
+/*------------------------------------------------------------------------*/
+static HistoryManager *ScilabHistory = NULL;
+
+/*------------------------------------------------------------------------*/
+BOOL historyIsEnabled(void)
+{
+    if (ScilabHistory)
+    {
+        return TRUE;
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL InitializeHistoryManager(void)
+{
+    if (!ScilabHistory)
+    {
+        ScilabHistory = new HistoryManager();
+        if (ScilabHistory)
+        {
+            return TRUE;
+        }
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL TerminateHistoryManager(void)
+{
+    if (ScilabHistory)
+    {
+        delete ScilabHistory;
+
+        ScilabHistory = NULL;
+        return TRUE;
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL setSearchedTokenInScilabHistory(char *token)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->setToken(token);
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL resetSearchedTokenInScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->resetToken();
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+char *getSearchedTokenInScilabHistory(void)
+{
+    char *token = NULL;
+
+    if (ScilabHistory)
+    {
+        token = ScilabHistory->getToken();
+    }
+    return token;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL appendLineToScilabHistory(char *line)
+{
+    BOOL bOK = FALSE;
+
+    if (line)
+    {
+        size_t i = 0;
+        size_t len = 0;
+        char *cleanedline = NULL;
+
+        if (ScilabHistory && ScilabHistory->getNumberOfLines() == 0)
+        {
+            char * commentbeginsession = getCommentDateSession(FALSE);
+            ScilabHistory->appendLine(commentbeginsession);
+            FREE(commentbeginsession);
+            CommandHistoryExpandAll();
+        }
+
+        /* remove space & carriage return at the end of line */
+        len = strlen(line);
+        cleanedline = (char*) MALLOC(len + 1);
+        memcpy(cleanedline, line, len + 1);
+
+        /* remove carriage return at the end of line */
+        for (i = len; i > 0; i--)
+        {
+            if (cleanedline[i] == '\n')
+            {
+                cleanedline[i] = '\0';
+                len = i - 1;
+                break;
+            }
+        }
+
+        /* remove spaces at the end of line */
+        i = len;
+        while (i >= 0)
+        {
+            if (cleanedline[i] == ' ')
+            {
+                cleanedline[i] = '\0';
+            }
+            else
+            {
+                break;
+            }
+
+            i--;
+        }
+
+        if (ScilabHistory)
+        {
+            bOK = ScilabHistory->appendLine(cleanedline);
+        }
+
+        if (cleanedline)
+        {
+            FREE(cleanedline);
+            cleanedline = NULL;
+        }
+    }
+
+    return bOK;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL appendLinesToScilabHistory(char **lines, int numberoflines)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->appendLines(lines, numberoflines);
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+void displayScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        ScilabHistory->displayHistory();
+    }
+}
+
+/*------------------------------------------------------------------------*/
+BOOL writeScilabHistoryToFile(char *filename)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->writeToFile(filename);
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL loadScilabHistoryFromFile(char *filename)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->loadFromFile(filename);
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL isScilabHistoryTruncated(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->isTruncated();
+    }
+    return FALSE;
+}
+/*------------------------------------------------------------------------*/
+BOOL setFilenameScilabHistory(char *filename)
+{
+    char * expandedPath = NULL;
+
+    if (filename)
+    {
+        if (ScilabHistory)
+        {
+            expandedPath = expandPathVariable(filename);
+            if (expandedPath)
+            {
+                ScilabHistory->setFilename(expandedPath);
+                FREE(expandedPath);
+            }
+            else
+            {
+                ScilabHistory->setFilename(filename);
+            }
+
+            return TRUE;
+        }
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+char *getFilenameScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->getFilename();
+    }
+    return NULL;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL setDefaultFilenameScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->setDefaultFilename();
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+void resetScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        ScilabHistory->reset();
+    }
+}
+
+/*------------------------------------------------------------------------*/
+char **getAllLinesOfScilabHistory(void)
+{
+    int nbElements = 0;
+    char **lines = NULL;
+
+    if (ScilabHistory)
+    {
+        lines = ScilabHistory->getAllLines(&nbElements);
+        /* SWIG need array finish with NULL */
+        if (lines)
+        {
+            lines = (char **)REALLOC(lines, sizeof(char *) * (nbElements + 1));
+            lines[nbElements] = NULL;
+        }
+    }
+    return lines;
+}
+
+/*------------------------------------------------------------------------*/
+int getSizeAllLinesOfScilabHistory(void)
+{
+    int nbElements = 0;
+    char **lines = NULL;
+
+    if (ScilabHistory)
+    {
+        lines = ScilabHistory->getAllLines(&nbElements);
+    }
+
+    freeArrayOfString(lines, nbElements);
+
+    return nbElements;
+}
+
+/*------------------------------------------------------------------------*/
+char *getLastLineInScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->getLastLine();
+    }
+    return NULL;
+}
+
+/*------------------------------------------------------------------------*/
+char *getPreviousLineInScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->getPreviousLine();
+    }
+    return NULL;
+}
+
+/*------------------------------------------------------------------------*/
+char *getNextLineInScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->getNextLine();
+    }
+    return NULL;
+}
+
+/*------------------------------------------------------------------------*/
+int getNumberOfLinesInScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->getNumberOfLines();
+    }
+    return 0;
+}
+
+/*------------------------------------------------------------------------*/
+void setSaveConsecutiveDuplicateLinesInScilabHistory(BOOL doit)
+{
+    if (ScilabHistory)
+    {
+        ScilabHistory->setSaveConsecutiveDuplicateLines(doit);
+    }
+}
+
+/*------------------------------------------------------------------------*/
+BOOL getSaveConsecutiveDuplicateLinesInScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->getSaveConsecutiveDuplicateLines();
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+void setAfterHowManyLinesScilabHistoryIsSaved(int num)
+{
+    if (ScilabHistory)
+    {
+        ScilabHistory->setAfterHowManyLinesHistoryIsSaved(num);
+    }
+}
+
+/*------------------------------------------------------------------------*/
+int getAfterHowManyLinesScilabHistoryIsSaved(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->getAfterHowManyLinesHistoryIsSaved();
+    }
+    return 0;
+}
+
+/*------------------------------------------------------------------------*/
+char *getNthLineInScilabHistory(int N)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->getNthLine(N);
+    }
+    return NULL;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL deleteNthLineScilabHistory(int N)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->deleteNthLine(N);
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+int getSizeScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->getNumberOfLines() - 1;
+    }
+    return 0;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL setSizeMaxScilabHistory(int nbLinesMax)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->setNumberOfLinesMax(nbLinesMax);
+    }
+    return FALSE;
+}
+/*------------------------------------------------------------------------*/
+int getSizeMaxScilabHistory(void)
+{
+    if (ScilabHistory)
+    {
+        return ScilabHistory->getNumberOfLinesMax();
+    }
+    return 0;
+}
+/*------------------------------------------------------------------------*/
+HistoryManager::HistoryManager()
+{
+    bTruncated = FALSE;
+    CommandsList.clear();
+    saveconsecutiveduplicatelines = FALSE;
+    afterhowmanylineshistoryissaved = 0;
+    numberoflinesbeforehistoryissaved = 0;
+
+    CommandHistoryInitialize();
+}
+
+/*------------------------------------------------------------------------*/
+HistoryManager::~HistoryManager()
+{
+    CommandsList.clear();
+}
+
+/*------------------------------------------------------------------------*/
+BOOL HistoryManager::appendLine(char *cline)
+{
+    BOOL bOK = FALSE;
+
+    if (cline)
+    {
+        if (!saveconsecutiveduplicatelines)
+        {
+            char *previousline = getLastLine();
+
+            if ((previousline) && (strcmp(previousline, cline) == 0))
+            {
+                bOK = FALSE;
+            }
+            else
+            {
+                CommandLine Line(cline);
+
+                CommandsList.push_back(Line);
+                numberoflinesbeforehistoryissaved++;
+                bOK = TRUE;
+
+                CommandHistoryAppendLine(cline);
+            }
+            if (previousline)
+            {
+                FREE(previousline);
+                previousline = NULL;
+            }
+        }
+        else
+        {
+            CommandLine Line(cline);
+
+            CommandsList.push_back(Line);
+
+            numberoflinesbeforehistoryissaved++;
+            bOK = TRUE;
+
+            CommandHistoryAppendLine(cline);
+        }
+    }
+
+    if (afterhowmanylineshistoryissaved != 0)
+    {
+        if (afterhowmanylineshistoryissaved == numberoflinesbeforehistoryissaved)
+        {
+            my_file.setHistory(CommandsList);
+            my_file.writeToFile();
+            numberoflinesbeforehistoryissaved = 0;
+        }
+    }
+    else
+    {
+        numberoflinesbeforehistoryissaved = 0;
+    }
+
+    return bOK;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL HistoryManager::appendLines(char **lines, int nbrlines)
+{
+    BOOL bOK = TRUE;
+    int i = 0;
+
+    for (i = 0; i < nbrlines; i++)
+    {
+        if ((lines[i] == NULL) || (!appendLine(lines[i])))
+        {
+            bOK = FALSE;
+        }
+    }
+    return bOK;
+}
+
+/*------------------------------------------------------------------------*/
+void HistoryManager::displayHistory(void)
+{
+    int nbline = 0;
+
+    list < CommandLine >::iterator it_commands;
+    for (it_commands = CommandsList.begin(); it_commands != CommandsList.end(); ++it_commands)
+    {
+        std::string line = (*it_commands).get();
+        if (!line.empty())
+        {
+            sciprint("%d : %s\n", nbline, line.c_str());
+            nbline++;
+        }
+    }
+}
+
+/*------------------------------------------------------------------------*/
+char *HistoryManager::getFilename(void)
+{
+    if (!my_file.getFilename().empty())
+    {
+        return strdup(my_file.getFilename().c_str());
+    }
+    return NULL;
+}
+
+/*------------------------------------------------------------------------*/
+void HistoryManager::setFilename(char *filename)
+{
+    if (filename)
+    {
+        std::string name;
+        name.assign(filename);
+        my_file.setFilename(name);
+    }
+}
+
+/*------------------------------------------------------------------------*/
+BOOL HistoryManager::setDefaultFilename(void)
+{
+    return my_file.setDefaultFilename();
+}
+
+/*------------------------------------------------------------------------*/
+BOOL HistoryManager::writeToFile(char *filename)
+{
+    if (filename)
+    {
+        std::string name;
+        name.assign(filename);
+
+        my_file.setHistory(CommandsList);
+        return my_file.writeToFile(name);
+    }
+    return FALSE;
+}
+
+/*------------------------------------------------------------------------*/
+BOOL HistoryManager::loadFromFile(char *filename)
+{
+
+    if (filename)
+    {
+        char *commentbeginsession = NULL;
+
+        std::string name;
+        name.assign(filename);
+
+        if (my_file.loadFromFile(name) == HISTORY_TRUNCATED)
+        {
+            bTruncated = TRUE;
+        }
+
+        CommandsList.clear();
+        CommandsList = my_file.getHistory();
+
+        if (CommandsList.size() > 0)
+        {
+            char *firstLine = getFirstLine();
+
+            if (firstLine)
+            {
+                if (!isBeginningSessionLine(firstLine))
+                {
+                    fixHistorySession();
+                }
+                FREE(firstLine);
+                firstLine = NULL;
+            }
+        }
+
+        /* add date & time @ begin session */
+        commentbeginsession = getCommentDateSession(FALSE);
+        appendLine(commentbeginsession);
+        FREE(commentbeginsession);
+        commentbeginsession = NULL;
+
+        CommandHistoryLoadFromFile();
+
+        return TRUE;
+    }
+    return FALSE;
+}
+
+/*--------------------------------------------------------------------------*/
+void HistoryManager::reset(void)
+{
+    char *commentbeginsession = NULL;
+
+    CommandsList.clear();
+
+    my_file.reset();
+    my_file.setDefaultFilename();
+
+    my_search.reset();
+
+    saveconsecutiveduplicatelines = FALSE;
+    afterhowmanylineshistoryissaved = 0;
+    numberoflinesbeforehistoryissaved = 0;
+
+    CommandHistoryReset();
+
+    /* Add date & time begin session */
+    commentbeginsession = getCommentDateSession(FALSE);
+    if (commentbeginsession)
+    {
+        appendLine(commentbeginsession);
+        FREE(commentbeginsession);
+        commentbeginsession = NULL;
+    }
+
+}
+
+/*--------------------------------------------------------------------------*/
+char **HistoryManager::getAllLines(int *numberoflines)
+{
+    char **lines = NULL;
+
+    *numberoflines = 0;
+
+    if (CommandsList.empty())
+    {
+        return lines;
+    }
+    else
+    {
+        list < CommandLine >::iterator it_commands;
+        int i = 0;
+
+        lines = (char **)MALLOC((int)CommandsList.size() * (sizeof(char *)));
+        for (it_commands = CommandsList.begin(); it_commands != CommandsList.end(); ++it_commands)
+        {
+            string line = (*it_commands).get();
+
+            if (!line.empty())
+            {
+                lines[i] = strdup(line.c_str());
+                i++;
+            }
+        }
+        *numberoflines = i;
+    }
+    return lines;
+}
+
+/*--------------------------------------------------------------------------*/
+char *HistoryManager::getFirstLine(void)
+{
+    char *line = NULL;
+
+    if (!CommandsList.empty())
+    {
+        std::string str;
+        list < CommandLine >::iterator it_commands = CommandsList.begin();
+        str = (*it_commands).get();
+        if (!str.empty())
+        {
+            line = strdup(str.c_str());
+        }
+    }
+    return line;
+}
+
+/*--------------------------------------------------------------------------*/
+char *HistoryManager::getLastLine(void)
+{
+    char *line = NULL;
+
+    if (!CommandsList.empty())
+    {
+        std::string str;
+        list < CommandLine >::iterator it_commands = CommandsList.end();
+        it_commands--;
+        str = (*it_commands).get();
+        if (!str.empty())
+        {
+            line = strdup(str.c_str());
+        }
+    }
+    return line;
+}
+
+/*--------------------------------------------------------------------------*/
+int HistoryManager::getNumberOfLines(void)
+{
+    return (int)CommandsList.size();
+}
+
+/*--------------------------------------------------------------------------*/
+char *HistoryManager::getNthLine(int N)
+{
+    char *line = NULL;
+
+    if (N < 0)
+    {
+        N = getNumberOfLines() + N;
+    }
+
+    if ((N >= 0) && (N <= getNumberOfLines()))
+    {
+        int i = 0;
+
+        list < CommandLine >::iterator it_commands;
+        for (it_commands = CommandsList.begin(); it_commands != CommandsList.end(); ++it_commands)
+        {
+            if (i == N)
+            {
+                string str;
+
+                str = (*it_commands).get();
+                if (!str.empty())
+                {
+                    return strdup(str.c_str());
+                }
+            }
+            i++;
+        }
+    }
+    return line;
+}
+
+/*--------------------------------------------------------------------------*/
+BOOL HistoryManager::deleteNthLine(int N)
+{
+    if ((N >= 0) && (N <= getNumberOfLines()))
+    {
+        int i = 0;
+
+        list<CommandLine>::iterator it_start, it_end;
+        for (it_start = CommandsList.begin(); it_start != CommandsList.end(); ++it_start)
+        {
+            if (i == N)
+            {
+                it_end = it_start;
+                it_end++;
+                if (isBeginningSessionLine(*it_start))
+                {
+                    for (; it_end != CommandsList.end(); ++it_end)
+                    {
+                        if (isBeginningSessionLine(*it_end))
+                        {
+                            break;
+                        }
+                    }
+                }
+
+                CommandsList.erase(it_start, it_end);
+
+                my_search.setHistory(CommandsList);
+                my_search.setToken(std::string());
+
+                CommandHistoryDeleteLine(N);
+                return TRUE;
+            }
+            i++;
+        }
+    }
+    return FALSE;
+}
+
+/*--------------------------------------------------------------------------*/
+void HistoryManager::setSaveConsecutiveDuplicateLines(BOOL doit)
+{
+    saveconsecutiveduplicatelines = doit;
+}
+
+/*--------------------------------------------------------------------------*/
+BOOL HistoryManager::getSaveConsecutiveDuplicateLines(void)
+{
+    return saveconsecutiveduplicatelines;
+}
+
+/*--------------------------------------------------------------------------*/
+void HistoryManager::setAfterHowManyLinesHistoryIsSaved(int num)
+{
+    if (num >= 0)
+    {
+        afterhowmanylineshistoryissaved = num;
+        numberoflinesbeforehistoryissaved = 0;
+    }
+}
+
+/*--------------------------------------------------------------------------*/
+int HistoryManager::getAfterHowManyLinesHistoryIsSaved(void)
+{
+    return afterhowmanylineshistoryissaved;
+}
+
+/*--------------------------------------------------------------------------*/
+char *HistoryManager::getPreviousLine(void)
+{
+    char *returnedline = NULL;
+
+    if (my_search.getSize() > 0)
+    {
+        std::string line = my_search.getPreviousLine();
+        if (!line.empty())
+        {
+            returnedline = strdup(line.c_str());
+        }
+    }
+    return returnedline;
+}
+
+/*--------------------------------------------------------------------------*/
+char *HistoryManager::getNextLine(void)
+{
+    char *returnedline = NULL;
+
+    if (my_search.getSize() > 0)
+    {
+        std::string line = my_search.getNextLine();
+        returnedline = strdup(line.c_str());
+    }
+    return returnedline;
+}
+
+/*--------------------------------------------------------------------------*/
+BOOL HistoryManager::setToken(char *token)
+{
+    std::string Token;
+    if (token)
+    {
+        Token.assign(token);
+    }
+    my_search.setHistory(CommandsList);
+    return my_search.setToken(Token);
+}
+
+/*--------------------------------------------------------------------------*/
+char *HistoryManager::getToken(void)
+{
+    char *returnedtoken = NULL;
+
+    std::string token = my_search.getToken();
+
+    if (!token.empty())
+    {
+        returnedtoken = strdup(token.c_str());
+    }
+    return returnedtoken;
+}
+
+/*--------------------------------------------------------------------------*/
+BOOL HistoryManager::resetToken(void)
+{
+    return my_search.reset();
+}
+
+BOOL HistoryManager::isBeginningSessionLine(CommandLine& line)
+{
+    std::string str = line.get();
+    return isBeginningSessionLine(str.c_str());
+}
+
+/*--------------------------------------------------------------------------*/
+BOOL HistoryManager::isBeginningSessionLine(const char *line)
+{
+    if (line)
+    {
+        size_t len_begin = strlen(SESSION_PRAGMA_BEGIN);
+        size_t len_end = strlen(SESSION_PRAGMA_END);
+        size_t len_line = strlen(line);
+
+        if (len_line > len_begin + len_end)
+        {
+            if ((strncmp(line, SESSION_PRAGMA_BEGIN, len_begin) == 0) &&
+                    (strncmp(line + len_line - len_end, SESSION_PRAGMA_END, len_end) == 0))
+            {
+                return TRUE;
+            }
+        }
+    }
+    return FALSE;
+}
+
+
+
+/*--------------------------------------------------------------------------*/
+void HistoryManager::fixHistorySession(void)
+{
+    /* add date & time @ begin session */
+    char *commentbeginsession = getCommentDateSession(FALSE);
+
+    if (commentbeginsession)
+    {
+        CommandLine Line(commentbeginsession);
+
+        CommandsList.push_front(Line);
+        FREE(commentbeginsession);
+        commentbeginsession = NULL;
+    }
+}
+
+/*--------------------------------------------------------------------------*/
+BOOL HistoryManager::isTruncated(void)
+{
+    return bTruncated;
+}
+/*--------------------------------------------------------------------------*/
+BOOL HistoryManager::setNumberOfLinesMax(int nbLinesMax)
+{
+    return my_file.setDefaultMaxNbLines(nbLinesMax);
+}
+/*--------------------------------------------------------------------------*/
+int HistoryManager::getNumberOfLinesMax(void)
+{
+    return my_file.getDefaultMaxNbLines();
+}
+/*--------------------------------------------------------------------------*/
diff --git a/modules/history_manager/src/cpp/HistoryManager.hxx b/modules/history_manager/src/cpp/HistoryManager.hxx
new file mode 100755
index 000000000..84b053707
--- /dev/null
+++ b/modules/history_manager/src/cpp/HistoryManager.hxx
@@ -0,0 +1,249 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2007-2008 - INRIA - Allan CORNET
+* Copyright (C) 2011 - DIGITEO - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*------------------------------------------------------------------------*/
+#ifndef __HISTORYMANAGER_CPP_H__
+#define __HISTORYMANAGER_CPP_H__
+/*------------------------------------------------------------------------*/
+#ifdef __cplusplus
+/*------------------------------------------------------------------------*/
+extern "C"
+{
+#include <time.h>
+};
+/*------------------------------------------------------------------------*/
+#include <list>
+#include "CommandLine.hxx"
+#include "HistoryFile.hxx"
+#include "HistorySearch.hxx"
+using namespace std;
+/*------------------------------------------------------------------------*/
+class HistoryManager
+{
+public:
+    /**
+    * Constructor
+    */
+    HistoryManager();
+
+    /**
+    * Destructor
+    */
+    ~HistoryManager();
+
+    /*
+    * add a line to History manager
+    * @param a line to add
+    * line isn't added if it is the same as previous (FALSE)
+    * @return TRUE or FALSE
+    */
+    BOOL appendLine(char *cline);
+
+    /**
+    * append lines to History manager
+    * @param array of string
+    * @param size of the array of string
+    * @return TRUE or FALSE
+    */
+    BOOL appendLines(char **lines, int nbrlines);
+
+    /**
+    * Display history
+    */
+    void displayHistory(void);
+
+    /**
+    * get filename of history
+    * @return a filename
+    */
+    char *getFilename(void);
+
+    /**
+    * set filename of history
+    * @param filename of history
+    * @return TRUE or FALSE
+    */
+    void setFilename(char *filename);
+
+    /**
+    * set default filename of history
+    * @return TRUE or FALSE
+    */
+    BOOL setDefaultFilename(void);
+
+    /**
+    * save history in a file
+    * @param a filename if NULL saves in default filename
+    * @return TRUE or FALSE
+    */
+    BOOL writeToFile(char *filename);
+
+    /**
+    * load history from a file
+    * @param a filename if NULL load from default filename
+    * @return TRUE or FALSE
+    */
+    BOOL loadFromFile(char *filename);
+
+    /**
+    * reset history manager
+    */
+    void reset(void);
+
+    /**
+    * Get all lines in history
+    * @param output size of the array of string
+    * @return an array of strings
+    */
+    char **getAllLines(int *numberoflines);
+
+    /**
+    * returns the first line in history
+    * @return a string
+    */
+    char *getFirstLine(void);
+
+    /**
+    * returns the last line in history
+    * @return a string
+    */
+    char *getLastLine(void);
+
+    /**
+    * get number of lines of history
+    * @return a number >= 0
+    */
+    int getNumberOfLines(void);
+
+    /**
+    * Get the Nth Line in history
+    * @param N
+    * @return the Nth Line
+    */
+    char *getNthLine(int N);
+
+    /**
+    * delete the Nth Line in history
+    * @param N
+    * @return TRUE or FALSE
+    */
+    BOOL deleteNthLine(int N);
+
+    /**
+    * Allow to save consecutive duplicate lines
+    * @param doit : TRUE (to allow) or FALSE
+    */
+    void setSaveConsecutiveDuplicateLines(BOOL doit);
+
+    /**
+    * get state about to save consecutive duplicate lines
+    * @return TRUE or FALSE
+    */
+    BOOL getSaveConsecutiveDuplicateLines(void);
+
+    /**
+    * set after how many lines history is saved
+    * @param num : number of lines
+    */
+    void setAfterHowManyLinesHistoryIsSaved(int num);
+
+    /**
+    * get after how many lines history is saved
+    * @return a int : number of lines
+    */
+    int getAfterHowManyLinesHistoryIsSaved(void);
+
+    /**
+    * set new token to search in history
+    * @param token (a string)
+    * @return TRUE or FALSE
+    */
+    BOOL setToken(char *token);
+
+    /**
+    * get token searched in history
+    * @return token (a string)
+    */
+    char *getToken(void);
+
+    /**
+    * resettoken searched in history
+    * @return TRUE or FALSE
+    */
+    BOOL resetToken(void);
+
+    /**
+    * Get the previous line in search
+    * @return a line
+    */
+    char *getPreviousLine(void);
+
+    /**
+    * Get the next line in Scilab history
+    * @return a line or NULL
+    * after an appendLine iterator go to end
+    */
+    char *getNextLine(void);
+
+    /**
+    * get info about history file was truncated
+    * @return TRUE or FALSE
+    */
+    BOOL isTruncated(void);
+
+    /**
+    *
+    */
+    BOOL setNumberOfLinesMax(int nbLinesMax);
+
+    /**
+    *
+    */
+    int getNumberOfLinesMax(void);
+
+protected:
+
+private:
+    HistoryFile my_file;
+    HistorySearch my_search;
+
+    list<CommandLine> CommandsList;
+
+    BOOL saveconsecutiveduplicatelines;
+    int afterhowmanylineshistoryissaved;
+    int numberoflinesbeforehistoryissaved;
+
+    /**
+    * indicates if command line is a beginning of a session
+    * @return TRUE or FALSE
+    */
+    BOOL isBeginningSessionLine(CommandLine& line);
+
+    /**
+    * indicates if a string has the pattern "beginning of a session"
+    * @return TRUE or FALSE
+    */
+    BOOL isBeginningSessionLine(const char *line);
+
+    /**
+    * add as first line  beginning session info
+    */
+    void fixHistorySession(void);
+
+    BOOL bTruncated;
+
+};
+/*------------------------------------------------------------------------*/
+#endif /* __cplusplus */
+/*------------------------------------------------------------------------*/
+#endif /* __HISTORYMANAGER_CPP_H__ */
diff --git a/modules/history_manager/src/cpp/HistorySearch.cpp b/modules/history_manager/src/cpp/HistorySearch.cpp
new file mode 100755
index 000000000..7ef69f277
--- /dev/null
+++ b/modules/history_manager/src/cpp/HistorySearch.cpp
@@ -0,0 +1,340 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*------------------------------------------------------------------------*/
+extern "C"
+{
+#include <string.h>
+#include <stdlib.h>
+#ifdef _MSC_VER
+#include "strdup_windows.h"
+#endif
+}
+#include "HistorySearch.hxx"
+#include "MALLOC.h"
+/*------------------------------------------------------------------------*/
+HistorySearch::HistorySearch()
+{
+    this->my_token.erase();
+    this->my_lines = NULL;
+    this->my_linenumbers = NULL;
+    this->my_sizearray = 0;
+    this->current_position = 0;
+    moveOnNext = FALSE;
+}
+/*------------------------------------------------------------------------*/
+HistorySearch::~HistorySearch()
+{
+    this->reset();
+}
+/*------------------------------------------------------------------------*/
+BOOL HistorySearch::setHistory(list<CommandLine> commands)
+{
+    BOOL bOK = FALSE;
+    list<CommandLine>::iterator it_commands;
+
+    if (!this->Commands.empty())
+    {
+        this->Commands.clear();
+    }
+
+    for (it_commands = commands.begin(); it_commands != commands.end(); ++it_commands)
+    {
+        std::string line = (*it_commands).get();
+        if (!line.empty())
+        {
+            CommandLine Line(line);
+            this->Commands.push_back(Line);
+        }
+    }
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+BOOL HistorySearch::setToken(std::string token)
+{
+    BOOL bOK = FALSE;
+    if (!token.empty())
+    {
+        if (!this->my_token.empty())
+        {
+            if (this->my_token.compare(token))
+            {
+                this->my_token.erase();
+                this->my_token = token;
+                bOK = this->search();
+            }
+        }
+        else
+        {
+            this->my_token = token;
+            bOK = this->search();
+        }
+    }
+    else
+    {
+        freeMyToken();
+        bOK = this->search();
+    }
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+std::string HistorySearch::getToken(void)
+{
+    return my_token;
+}
+/*------------------------------------------------------------------------*/
+BOOL HistorySearch::search(void)
+{
+    BOOL bOK = FALSE;
+
+    if (!this->my_token.empty())
+    {
+        int line_indice = 0;
+        int i = 0;
+        list<CommandLine>::iterator it_commands;
+
+        freeMylines();
+        freeMylinenumbers();
+
+        this->my_sizearray = 0;
+
+        for (it_commands = this->Commands.begin(); it_commands != this->Commands.end(); ++it_commands)
+        {
+            std::string line = (*it_commands).get();
+
+            if ( strncmp(line.c_str(), this->my_token.c_str(), strlen(this->my_token.c_str())) == 0 )
+            {
+                i++;
+                if (this->my_lines)
+                {
+                    this->my_lines = (char**)REALLOC(this->my_lines, i * (sizeof(char*)));
+                }
+                else
+                {
+                    this->my_lines = (char**)MALLOC(i * (sizeof(char*)));
+                }
+
+                if (this->my_lines)
+                {
+                    this->my_lines[i - 1] = strdup(line.c_str());
+                }
+
+                if (this->my_linenumbers)
+                {
+                    this->my_linenumbers = (int*)REALLOC(this->my_linenumbers, i * (sizeof(int)));
+                }
+                else
+                {
+                    this->my_linenumbers = (int*)MALLOC(i * (sizeof(int)));
+                }
+                if (this->my_linenumbers)
+                {
+                    this->my_linenumbers[i - 1] = line_indice;
+                }
+            }
+            line_indice++;
+        }
+        this->my_sizearray = i;
+
+        //this->current_position = i - 1;
+        this->current_position = i ;
+    }
+    else
+    {
+        int line_indice = 0;
+        int i = 0;
+        list<CommandLine>::iterator it_commands;
+
+        freeMylines();
+        freeMylinenumbers();
+
+        this->my_sizearray = 0;
+
+        for (it_commands = this->Commands.begin(); it_commands != this->Commands.end(); ++it_commands)
+        {
+            std::string line = (*it_commands).get();
+            {
+                i++;
+                if (this->my_lines)
+                {
+                    this->my_lines = (char**)REALLOC(this->my_lines, i * (sizeof(char*)));
+                }
+                else
+                {
+                    this->my_lines = (char**)MALLOC(i * (sizeof(char*)));
+                }
+
+                if (this->my_lines)
+                {
+                    this->my_lines[i - 1] = strdup(line.c_str());
+                }
+
+                if (this->my_linenumbers)
+                {
+                    this->my_linenumbers = (int*)REALLOC(this->my_linenumbers, i * (sizeof(int)));
+                }
+                else
+                {
+                    this->my_linenumbers = (int*)MALLOC(i * (sizeof(int)));
+                }
+
+                if (this->my_linenumbers)
+                {
+                    this->my_linenumbers[i - 1] = line_indice;
+                }
+            }
+
+            line_indice++;
+        }
+        this->my_sizearray = i;
+        this->current_position = i ;
+    }
+
+    moveOnNext = FALSE;
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+int HistorySearch::getSize(void)
+{
+    return this->my_sizearray;
+}
+/*------------------------------------------------------------------------*/
+BOOL HistorySearch::reset(void)
+{
+    BOOL bOK = FALSE;
+    BOOL check1 = FALSE, check2 = FALSE, check3 = FALSE, check4 = FALSE;
+
+    if (!this->Commands.empty())
+    {
+        this->Commands.clear();
+        check1 = TRUE;
+    }
+
+    check2 = freeMyToken();
+    check3 = freeMylines();
+    check4 = freeMylinenumbers();
+
+    this->my_sizearray = 0;
+    this->current_position = 0;
+
+    moveOnNext = FALSE;
+
+    if (check1 && check2 && check3 && check4)
+    {
+        bOK = TRUE;
+    }
+
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+std::string HistorySearch::getPreviousLine(void)
+{
+    std::string line;
+
+    if (my_lines)
+    {
+        if  (moveOnNext)
+        {
+            this->current_position++;
+        }
+
+        if (this->current_position <= 0)
+        {
+            this->current_position = 0;
+        }
+        else
+        {
+            this->current_position--;
+        }
+
+        if (my_lines[this->current_position])
+        {
+            line.assign(my_lines[this->current_position]);
+        }
+    }
+
+    moveOnNext = FALSE;
+    return line;
+}
+/*------------------------------------------------------------------------*/
+std::string HistorySearch::getNextLine(void)
+{
+    std::string line;
+
+    if (my_lines)
+    {
+        if (this->current_position < this->my_sizearray)
+        {
+            this->current_position++;
+        }
+
+        if ( (this->current_position < this->my_sizearray) && my_lines[this->current_position] && (strlen(my_lines[this->current_position]) > 0))
+        {
+            line.assign(my_lines[this->current_position]);
+        }
+
+        if (this->current_position == this->my_sizearray)
+        {
+            line = this->getToken();
+            this->current_position--;
+        }
+    }
+
+    moveOnNext = TRUE;
+    return line;
+}
+/*------------------------------------------------------------------------*/
+BOOL HistorySearch::freeMyToken(void)
+{
+    BOOL bOK = FALSE;
+    if (!this->my_token.empty())
+    {
+        this->my_token.erase();
+        bOK = TRUE;
+    }
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+BOOL HistorySearch::freeMylines(void)
+{
+    BOOL bOK = FALSE;
+    if (this->my_lines)
+    {
+        int i = 0;
+        for (i = 0; i < this->my_sizearray; i++)
+        {
+            if (this->my_lines[i])
+            {
+                FREE(this->my_lines[i]);
+                this->my_lines[i] = NULL;
+            }
+        }
+        FREE(this->my_lines);
+        this->my_lines = NULL;
+        bOK = TRUE;
+    }
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+BOOL HistorySearch::freeMylinenumbers(void)
+{
+    BOOL bOK = FALSE;
+    if (this->my_linenumbers)
+    {
+        FREE(this->my_linenumbers);
+        this->my_linenumbers = NULL;
+        bOK = TRUE;
+    }
+    return bOK;
+}
+/*------------------------------------------------------------------------*/
+
diff --git a/modules/history_manager/src/cpp/HistorySearch.hxx b/modules/history_manager/src/cpp/HistorySearch.hxx
new file mode 100755
index 000000000..a841bdcc4
--- /dev/null
+++ b/modules/history_manager/src/cpp/HistorySearch.hxx
@@ -0,0 +1,92 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+/*------------------------------------------------------------------------*/
+#include <list>
+#include "CommandLine.hxx"
+using namespace std;
+/*------------------------------------------------------------------------*/
+class HistorySearch
+{
+public:
+    /**
+    * Constructor
+    */
+    HistorySearch();
+
+    /**
+    * Destructor
+    */
+    ~HistorySearch();
+
+    /**
+    * set History to search
+    * @param a list of CommandLine
+    * @return TRUE or FALSE
+    */
+    BOOL setHistory(list<CommandLine> commands);
+
+    /**
+    * set new token to search in history
+    * @param token (a string)
+    * @return TRUE or FALSE
+    */
+    BOOL setToken(std::string token);
+
+    /**
+    * get token searched in history
+    * @return token (a string)
+    */
+    std::string getToken(void);
+
+    /**
+    * returns size of the
+    */
+    int getSize(void);
+
+    /**
+    * reset HistorySearch Object
+    * @return TRUE or FALSE
+    */
+    BOOL reset(void);
+
+    /**
+    * Get the previous line in search
+    * @return a line
+    */
+    std::string getPreviousLine(void);
+
+    /**
+    * Get the next line in search
+    * @return a line
+    */
+    std::string getNextLine(void);
+
+protected:
+
+private:
+    list<CommandLine> Commands;
+    std::string my_token;
+    char **my_lines;
+    int *my_linenumbers;
+    int my_sizearray;
+    int current_position;
+    BOOL moveOnNext;
+
+    BOOL search(void);
+
+    BOOL freeMyToken(void);
+    BOOL freeMylines(void);
+    BOOL freeMylinenumbers(void);
+
+};
+/*------------------------------------------------------------------------*/
diff --git a/modules/history_manager/src/cpp/libscihistory_manager_algo_la-CommandLine.lo b/modules/history_manager/src/cpp/libscihistory_manager_algo_la-CommandLine.lo
new file mode 100755
index 000000000..03f51ba54
--- /dev/null
+++ b/modules/history_manager/src/cpp/libscihistory_manager_algo_la-CommandLine.lo
@@ -0,0 +1,12 @@
+# src/cpp/libscihistory_manager_algo_la-CommandLine.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_algo_la-CommandLine.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistoryFile.lo b/modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistoryFile.lo
new file mode 100755
index 000000000..75b00d77c
--- /dev/null
+++ b/modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistoryFile.lo
@@ -0,0 +1,12 @@
+# src/cpp/libscihistory_manager_algo_la-HistoryFile.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_algo_la-HistoryFile.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistoryManager.lo b/modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistoryManager.lo
new file mode 100755
index 000000000..811d132c2
--- /dev/null
+++ b/modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistoryManager.lo
@@ -0,0 +1,12 @@
+# src/cpp/libscihistory_manager_algo_la-HistoryManager.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_algo_la-HistoryManager.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistorySearch.lo b/modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistorySearch.lo
new file mode 100755
index 000000000..45c071bf4
--- /dev/null
+++ b/modules/history_manager/src/cpp/libscihistory_manager_algo_la-HistorySearch.lo
@@ -0,0 +1,12 @@
+# src/cpp/libscihistory_manager_algo_la-HistorySearch.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_algo_la-HistorySearch.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryManagement.java b/modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryManagement.java
new file mode 100755
index 000000000..3d9e3c6d8
--- /dev/null
+++ b/modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryManagement.java
@@ -0,0 +1,291 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 2.0.7
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+package org.scilab.modules.history_manager;
+
+
+/**
+  * All Scilab history management used in Java console
+  * @author Vincent COUVERT
+  * @author Allan CORNET
+  * @copyright INRIA
+  */
+public class HistoryManagement {
+
+    /**
+      * Constructor
+      */
+    protected HistoryManagement() {
+        throw new UnsupportedOperationException();
+    }
+
+    /**
+    * add a line to History manager
+    * @param line a line to add
+    * line isn't added if it is the same as previous (false)
+    * @return true or false
+    */
+    public static boolean appendLineToScilabHistory(String line) {
+        return HistoryManagementJNI.appendLineToScilabHistory(line);
+    }
+
+
+    /**
+    * append lines to History manager
+    * @param lines array of string
+    * @param numberoflines size of the array of string
+    * @return true or false
+    */
+    public static boolean appendLinesToScilabHistory(String[] lines, int numberoflines) {
+        return HistoryManagementJNI.appendLinesToScilabHistory(lines, numberoflines);
+    }
+
+
+    /**
+    * Display history
+    */
+    public static void displayScilabHistory() {
+        HistoryManagementJNI.displayScilabHistory();
+    }
+
+
+    /**
+    * save history in a file
+    * @param filename if NULL saves in default filename
+    * @return true or false
+    */
+    public static boolean writeScilabHistoryToFile(String filename) {
+        return HistoryManagementJNI.writeScilabHistoryToFile(filename);
+    }
+
+
+    /**
+    * load history from a file
+    * @param filename if NULL load from default filename
+    * @return true or false
+    */
+    public static boolean loadScilabHistoryFromFile(String filename) {
+        return HistoryManagementJNI.loadScilabHistoryFromFile(filename);
+    }
+
+
+    /**
+    * set filename of history
+    * @param filename of history
+    * @return true or false
+    */
+    public static boolean setFilenameScilabHistory(String filename) {
+        return HistoryManagementJNI.setFilenameScilabHistory(filename);
+    }
+
+
+    /**
+    * get filename of history
+    * @return a filename
+    */
+    public static String getFilenameScilabHistory() {
+        return HistoryManagementJNI.getFilenameScilabHistory();
+    }
+
+
+    /**
+    * set default filename of history
+    * @return true or false
+    */
+    public static boolean setDefaultFilenameScilabHistory() {
+        return HistoryManagementJNI.setDefaultFilenameScilabHistory();
+    }
+
+
+    /**
+    * reset history manager
+    */
+    public static void resetScilabHistory() {
+        HistoryManagementJNI.resetScilabHistory();
+    }
+
+
+    /**
+    * Get all lines in history
+    * @return an array of strings
+    */
+    public static String[] getAllLinesOfScilabHistory() {
+        return HistoryManagementJNI.getAllLinesOfScilabHistory();
+    }
+
+
+    /**
+    * Get numbers of lines in history
+    * size of array returned by getAllLinesOfScilabHistory
+    * @return int
+    */
+    public static int getSizeAllLinesOfScilabHistory() {
+        return HistoryManagementJNI.getSizeAllLinesOfScilabHistory();
+    }
+
+
+    /**
+    * set new token to search in history
+    * @param token (a string)
+    * @return true or false
+    */
+    public static boolean setSearchedTokenInScilabHistory(String token) {
+        return HistoryManagementJNI.setSearchedTokenInScilabHistory(token);
+    }
+
+
+    /**
+    * reset search in history
+    * @return true or false
+    */
+    public static boolean resetSearchedTokenInScilabHistory() {
+        return HistoryManagementJNI.resetSearchedTokenInScilabHistory();
+    }
+
+
+    /**
+    * get token searched in history
+    * @return token (a string)
+    */
+    public static String getSearchedTokenInScilabHistory() {
+        return HistoryManagementJNI.getSearchedTokenInScilabHistory();
+    }
+
+
+    /**
+    * Get the previous line in Scilab history
+    * @return a line or NULL
+    * after an appendLine iterator go to end
+    */
+    public static String getPreviousLineInScilabHistory() {
+        return HistoryManagementJNI.getPreviousLineInScilabHistory();
+    }
+
+
+    /**
+    * Get the next line in Scilab history
+    * @return a line or NULL
+    * after an appendLine iterator go to end
+    */
+    public static String getNextLineInScilabHistory() {
+        return HistoryManagementJNI.getNextLineInScilabHistory();
+    }
+
+
+    /**
+    * Get numbers of lines in history
+    * @return number of lines
+    */
+    public static int getNumberOfLinesInScilabHistory() {
+        return HistoryManagementJNI.getNumberOfLinesInScilabHistory();
+    }
+
+
+    /**
+    * set consecutive duplicate lines are added
+    * @param doit (true or false)
+    */
+    public static void setSaveConsecutiveDuplicateLinesInScilabHistory(boolean doit) {
+        HistoryManagementJNI.setSaveConsecutiveDuplicateLinesInScilabHistory(doit);
+    }
+
+
+    /**
+    * indicate if consecutive duplicate lines are added
+    * @return true or false
+    */
+    public static boolean getSaveConsecutiveDuplicateLinesInScilabHistory() {
+        return HistoryManagementJNI.getSaveConsecutiveDuplicateLinesInScilabHistory();
+    }
+
+
+    /**
+    * Set after how many lines history is saved
+    * @param num number between 0 and Max
+    * default value is 0 (disabled)
+    */
+    public static void setAfterHowManyLinesScilabHistoryIsSaved(int num) {
+        HistoryManagementJNI.setAfterHowManyLinesScilabHistoryIsSaved(num);
+    }
+
+
+    /**
+    * Get after how many lines history is saved
+    * @return number between 0 and Max
+    * default value is 0 (disabled)
+    */
+    public static int getAfterHowManyLinesScilabHistoryIsSaved() {
+        return HistoryManagementJNI.getAfterHowManyLinesScilabHistoryIsSaved();
+    }
+
+
+    /**
+    * Get the Nth Line in history
+    * @param N the number of the line to get
+    * @return the Nth Line
+    */
+    public static String getNthLineInScilabHistory(int N) {
+        return HistoryManagementJNI.getNthLineInScilabHistory(N);
+    }
+
+
+    /**
+    * delete the Nth Line in history
+    * @param N the number of the line to delete
+    * @return true or false
+    */
+    public static boolean deleteNthLineScilabHistory(int N) {
+        return HistoryManagementJNI.deleteNthLineScilabHistory(N);
+    }
+
+
+    /**
+    * get number of lines of history
+    * @return a number >= 0
+    */
+    public static int getSizeScilabHistory() {
+        return HistoryManagementJNI.getSizeScilabHistory();
+    }
+
+
+    /**
+    * get history manager state
+    * @return true or false
+    */
+    public static boolean historyIsEnabled() {
+        return HistoryManagementJNI.historyIsEnabled();
+    }
+
+
+    /**
+    * set the number of max lines
+    * @return true or false
+    */
+    public static boolean setSizeMaxScilabHistory(int nbLinesMax) {
+        return HistoryManagementJNI.setSizeMaxScilabHistory(nbLinesMax);
+    }
+
+
+    /**
+    * terminate the history manager
+    * @return true or false
+    */
+    public static boolean InitializeHistoryManager() {
+        return HistoryManagementJNI.InitializeHistoryManager();
+    }
+
+
+    /**
+    * terminate the history manager
+    * @return true or false
+    */
+    public static boolean TerminateHistoryManager() {
+        return HistoryManagementJNI.TerminateHistoryManager();
+    }
+
+}
diff --git a/modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryManagementJNI.java b/modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryManagementJNI.java
new file mode 100755
index 000000000..59cafda4c
--- /dev/null
+++ b/modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryManagementJNI.java
@@ -0,0 +1,71 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 2.0.7
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+package org.scilab.modules.history_manager;
+
+
+/* It is generated code. Disable checkstyle */
+//CHECKSTYLE:OFF
+/**
+  * All Scilab history management used in Java console
+  * @author Vincent COUVERT
+  * @author Allan CORNET
+  * @copyright INRIA
+  */
+class HistoryManagementJNI {
+
+    /**
+      * Constructor
+      */
+    protected HistoryManagementJNI() {
+        throw new UnsupportedOperationException();
+    }
+
+    static {
+        try {
+            System.loadLibrary("scihistory_manager");
+        } catch (SecurityException e) {
+            System.err.println("A security manager exists and does not allow the loading of the specified dynamic library.");
+            System.err.println(e.getLocalizedMessage());
+            e.printStackTrace(System.err);
+        } catch (UnsatisfiedLinkError e)    {
+            System.err.println("The native library scihistory_manager does not exist or cannot be found.");
+            System.err.println(e.getLocalizedMessage());
+            e.printStackTrace(System.err);
+        }
+    }
+
+    public final static native boolean appendLineToScilabHistory(String jarg1);
+    public final static native boolean appendLinesToScilabHistory(String[] jarg1, int jarg2);
+    public final static native void displayScilabHistory();
+    public final static native boolean writeScilabHistoryToFile(String jarg1);
+    public final static native boolean loadScilabHistoryFromFile(String jarg1);
+    public final static native boolean setFilenameScilabHistory(String jarg1);
+    public final static native String getFilenameScilabHistory();
+    public final static native boolean setDefaultFilenameScilabHistory();
+    public final static native void resetScilabHistory();
+    public final static native String[] getAllLinesOfScilabHistory();
+    public final static native int getSizeAllLinesOfScilabHistory();
+    public final static native boolean setSearchedTokenInScilabHistory(String jarg1);
+    public final static native boolean resetSearchedTokenInScilabHistory();
+    public final static native String getSearchedTokenInScilabHistory();
+    public final static native String getPreviousLineInScilabHistory();
+    public final static native String getNextLineInScilabHistory();
+    public final static native int getNumberOfLinesInScilabHistory();
+    public final static native void setSaveConsecutiveDuplicateLinesInScilabHistory(boolean jarg1);
+    public final static native boolean getSaveConsecutiveDuplicateLinesInScilabHistory();
+    public final static native void setAfterHowManyLinesScilabHistoryIsSaved(int jarg1);
+    public final static native int getAfterHowManyLinesScilabHistoryIsSaved();
+    public final static native String getNthLineInScilabHistory(int jarg1);
+    public final static native boolean deleteNthLineScilabHistory(int jarg1);
+    public final static native int getSizeScilabHistory();
+    public final static native boolean historyIsEnabled();
+    public final static native boolean setSizeMaxScilabHistory(int jarg1);
+    public final static native boolean InitializeHistoryManager();
+    public final static native boolean TerminateHistoryManager();
+}
diff --git a/modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryPrefs.java b/modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryPrefs.java
new file mode 100755
index 000000000..76994806a
--- /dev/null
+++ b/modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryPrefs.java
@@ -0,0 +1,63 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+package org.scilab.modules.history_manager;
+
+import org.w3c.dom.Document;
+
+import org.scilab.modules.commons.xml.XConfiguration;
+import org.scilab.modules.commons.xml.XConfigurationEvent;
+import org.scilab.modules.commons.xml.XConfigurationListener;
+import static org.scilab.modules.commons.xml.XConfiguration.XConfAttribute;
+
+public class HistoryPrefs implements XConfigurationListener {
+
+    private static final String HISTORY_PATH = "//command-history/body/history-settings";
+    private static final HistoryPrefs instance = new HistoryPrefs();
+
+    private HistoryPrefs() { }
+
+    public static HistoryPrefs getInstance() {
+        return instance;
+    }
+
+    public void configurationChanged(XConfigurationEvent e) {
+        if (e.getModifiedPaths().contains(HISTORY_PATH) || e.getModifiedPaths().contains("ALL")) {
+            Document doc = XConfiguration.getXConfigurationDocument();
+            HistoryOption opt = XConfiguration.get(HistoryOption.class, doc, HISTORY_PATH)[0];
+            if (opt.enable) {
+                HistoryManagement.InitializeHistoryManager();
+                HistoryManagement.setFilenameScilabHistory(opt.historyFile);
+                HistoryManagement.setSizeMaxScilabHistory(opt.historyLines);
+            } else {
+                HistoryManagement.TerminateHistoryManager();
+            }
+        }
+    }
+
+    @XConfAttribute
+    private static class HistoryOption {
+
+        public String historyFile;
+        public int historyLines;
+        public boolean enable;
+
+        private HistoryOption() { }
+
+        @XConfAttribute(attributes = {"history-file", "history-lines", "enable"})
+        private void set(String historyFile, int historyLines, boolean enable) {
+            this.historyFile = historyFile;
+            this.historyLines = historyLines;
+            this.enable = enable;
+        }
+    }
+}
\ No newline at end of file
diff --git a/modules/history_manager/src/jni/.deps/.dirstamp b/modules/history_manager/src/jni/.deps/.dirstamp
new file mode 100755
index 000000000..e69de29bb
diff --git a/modules/history_manager/src/jni/.deps/libscihistory_manager_algo_la-HistoryManagement_wrap.Plo b/modules/history_manager/src/jni/.deps/libscihistory_manager_algo_la-HistoryManagement_wrap.Plo
new file mode 100755
index 000000000..bd8780257
--- /dev/null
+++ b/modules/history_manager/src/jni/.deps/libscihistory_manager_algo_la-HistoryManagement_wrap.Plo
@@ -0,0 +1,147 @@
+src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo: \
+ src/jni/HistoryManagement_wrap.c /usr/include/stdc-predef.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/stdio.h \
+ /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
+ /usr/include/x86_64-linux-gnu/bits/wordsize.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs.h \
+ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+ /usr/include/x86_64-linux-gnu/bits/types.h \
+ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
+ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio.h \
+ /usr/include/x86_64-linux-gnu/bits/stdio2.h \
+ /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \
+ /usr/include/stdlib.h /usr/include/x86_64-linux-gnu/bits/waitflags.h \
+ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/endian.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
+ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \
+ /usr/include/x86_64-linux-gnu/sys/select.h \
+ /usr/include/x86_64-linux-gnu/bits/select.h \
+ /usr/include/x86_64-linux-gnu/bits/sigset.h \
+ /usr/include/x86_64-linux-gnu/bits/time.h \
+ /usr/include/x86_64-linux-gnu/bits/select2.h \
+ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
+ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
+ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/string.h \
+ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \
+ /usr/include/x86_64-linux-gnu/bits/string2.h \
+ /usr/include/x86_64-linux-gnu/bits/string3.h \
+ ../../modules/core/includes/MALLOC.h \
+ ../../modules/core/includes/sci_mem_alloc.h \
+ src/jni/../../includes/HistoryManager.h \
+ ../../modules/core/includes/BOOL.h \
+ src/jni/../../includes/dynlib_history_manager.h \
+ src/jni/../../includes/TerminateHistoryManager.h \
+ src/jni/../../includes/InitializeHistoryManager.h
+
+/usr/include/stdc-predef.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h:
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/x86_64-linux-gnu/sys/cdefs.h:
+
+/usr/include/x86_64-linux-gnu/bits/wordsize.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs.h:
+
+/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:
+
+/usr/include/x86_64-linux-gnu/bits/types.h:
+
+/usr/include/x86_64-linux-gnu/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
+
+/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdio2.h:
+
+/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitflags.h:
+
+/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
+
+/usr/include/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/endian.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap.h:
+
+/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:
+
+/usr/include/x86_64-linux-gnu/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/x86_64-linux-gnu/sys/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/select.h:
+
+/usr/include/x86_64-linux-gnu/bits/sigset.h:
+
+/usr/include/x86_64-linux-gnu/bits/time.h:
+
+/usr/include/x86_64-linux-gnu/bits/select2.h:
+
+/usr/include/x86_64-linux-gnu/sys/sysmacros.h:
+
+/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
+
+/usr/include/alloca.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
+
+/usr/include/x86_64-linux-gnu/bits/stdlib.h:
+
+/usr/include/string.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/x86_64-linux-gnu/bits/string.h:
+
+/usr/include/x86_64-linux-gnu/bits/string2.h:
+
+/usr/include/x86_64-linux-gnu/bits/string3.h:
+
+../../modules/core/includes/MALLOC.h:
+
+../../modules/core/includes/sci_mem_alloc.h:
+
+src/jni/../../includes/HistoryManager.h:
+
+../../modules/core/includes/BOOL.h:
+
+src/jni/../../includes/dynlib_history_manager.h:
+
+src/jni/../../includes/TerminateHistoryManager.h:
+
+src/jni/../../includes/InitializeHistoryManager.h:
diff --git a/modules/history_manager/src/jni/.dirstamp b/modules/history_manager/src/jni/.dirstamp
new file mode 100755
index 000000000..e69de29bb
diff --git a/modules/history_manager/src/jni/.libs/libscihistory_manager_algo_la-HistoryManagement_wrap.o b/modules/history_manager/src/jni/.libs/libscihistory_manager_algo_la-HistoryManagement_wrap.o
new file mode 100755
index 000000000..3223642b1
Binary files /dev/null and b/modules/history_manager/src/jni/.libs/libscihistory_manager_algo_la-HistoryManagement_wrap.o differ
diff --git a/modules/history_manager/src/jni/HistoryManagement.i b/modules/history_manager/src/jni/HistoryManagement.i
new file mode 100755
index 000000000..470cfad13
--- /dev/null
+++ b/modules/history_manager/src/jni/HistoryManagement.i
@@ -0,0 +1,314 @@
+/* Allan CORNET */
+/* INRIA 2007 */
+/* HistoryManagement.i */
+/* To run this file execute the command below from current directory */
+/**
+ * Windows: swig -java -package org.scilab.modules.history_manager -outdir ../java/org/scilab/modules/history_manager/ HistoryManagement.i
+ * Other: Use the option --enable-build-swig to the configure
+*/
+
+%module HistoryManagement
+%{
+#include "MALLOC.h"
+#include "../../includes/HistoryManager.h"
+#include "../../includes/TerminateHistoryManager.h"
+#include "../../includes/InitializeHistoryManager.h"
+%}
+
+%include "../../../jvm/src/jni/scilab_typemaps.i"
+
+/* JavaDoc for HistoryManagementJNI class */
+%pragma(java) jniclassclassmodifiers=%{
+/* It is generated code. Disable checkstyle */
+//CHECKSTYLE:OFF
+ /**
+   * All Scilab history management used in Java console
+   * @author Vincent COUVERT
+   * @author Allan CORNET
+   * @copyright INRIA
+   */
+class%}
+
+/* Constructor for HistoryManagementJNI class */
+%pragma(java) jniclasscode="
+ /**
+   * Constructor
+   */
+ protected HistoryManagementJNI() {
+        throw new UnsupportedOperationException();
+ }";
+
+ /* static load of library */
+%pragma(java) jniclasscode=%{
+  static {
+    try {
+        System.loadLibrary("scihistory_manager");
+    } catch (SecurityException e) {
+        System.err.println("A security manager exists and does not allow the loading of the specified dynamic library.");
+        System.err.println(e.getLocalizedMessage());
+        e.printStackTrace(System.err);
+    } catch (UnsatisfiedLinkError e)    {
+        System.err.println("The native library scihistory_manager does not exist or cannot be found.");
+        System.err.println(e.getLocalizedMessage());
+        e.printStackTrace(System.err);
+    }
+  }
+%}
+
+/* JavaDoc for HistoryManagement class */
+%pragma(java) moduleclassmodifiers="
+ /**
+   * All Scilab history management used in Java console
+   * @author Vincent COUVERT
+   * @author Allan CORNET
+   * @copyright INRIA
+   */
+public class";
+
+/* Constructor for HistoryManagement class */
+%pragma(java) modulecode="
+  /**
+    * Constructor
+    */
+  protected HistoryManagement() {
+    throw new UnsupportedOperationException();
+  }";
+
+
+%javamethodmodifiers appendLineToScilabHistory(char *line) "
+    /**
+    * add a line to History manager
+    * @param line a line to add
+    * line isn't added if it is the same as previous (false)
+    * @return true or false
+    */
+public";
+    BOOL appendLineToScilabHistory(char *line);
+
+%javamethodmodifiers appendLinesToScilabHistory(char **lines,int numberoflines) "
+    /**
+    * append lines to History manager
+    * @param lines array of string
+    * @param numberoflines size of the array of string
+    * @return true or false
+    */
+public";
+    BOOL appendLinesToScilabHistory(char **lines,int numberoflines);
+
+%javamethodmodifiers displayScilabHistory(void) "
+    /**
+    * Display history
+    */
+public";
+    void displayScilabHistory(void);
+
+%javamethodmodifiers writeScilabHistoryToFile(char *filename) "
+    /**
+    * save history in a file
+    * @param filename if NULL saves in default filename
+    * @return true or false
+    */
+public";
+    BOOL writeScilabHistoryToFile(char *filename);
+
+%javamethodmodifiers loadScilabHistoryFromFile(char *filename) "
+    /**
+    * load history from a file
+    * @param filename if NULL load from default filename
+    * @return true or false
+    */
+public";
+    BOOL loadScilabHistoryFromFile(char *filename);
+
+%javamethodmodifiers setFilenameScilabHistory(char *filename) "
+    /**
+    * set filename of history
+    * @param filename of history
+    * @return true or false
+    */
+public";
+    BOOL setFilenameScilabHistory(char *filename);
+
+%javamethodmodifiers getFilenameScilabHistory(void) "
+    /**
+    * get filename of history
+    * @return a filename
+    */
+public";
+    char *getFilenameScilabHistory(void);
+
+%javamethodmodifiers setDefaultFilenameScilabHistory(void) "
+    /**
+    * set default filename of history
+    * @return true or false
+    */
+public";
+    BOOL setDefaultFilenameScilabHistory(void);
+
+%javamethodmodifiers resetScilabHistory(void) "
+    /**
+    * reset history manager
+    */
+public";
+    void resetScilabHistory(void);
+
+%javamethodmodifiers getAllLinesOfScilabHistory(void) "
+    /**
+    * Get all lines in history
+    * @return an array of strings
+    */
+public";
+    char **getAllLinesOfScilabHistory(void);
+
+%javamethodmodifiers getSizeAllLinesOfScilabHistory(void) "
+    /**
+    * Get numbers of lines in history
+    * size of array returned by getAllLinesOfScilabHistory
+    * @return int
+    */
+public";
+    int getSizeAllLinesOfScilabHistory(void);
+
+
+%javamethodmodifiers setSearchedTokenInScilabHistory(char *token) "
+    /**
+    * set new token to search in history
+    * @param token (a string)
+    * @return true or false
+    */
+public";
+    BOOL setSearchedTokenInScilabHistory(char *token);
+
+%javamethodmodifiers resetSearchedTokenInScilabHistory(void) "
+    /**
+    * reset search in history
+    * @return true or false
+    */
+public";
+    BOOL resetSearchedTokenInScilabHistory(void);
+
+%javamethodmodifiers getSearchedTokenInScilabHistory(void) "
+    /**
+    * get token searched in history
+    * @return token (a string)
+    */
+public";
+    char *getSearchedTokenInScilabHistory(void);
+
+%javamethodmodifiers getPreviousLineInScilabHistory(void) "
+    /**
+    * Get the previous line in Scilab history
+    * @return a line or NULL
+    * after an appendLine iterator go to end
+    */
+public";
+    char *getPreviousLineInScilabHistory(void);
+
+%javamethodmodifiers getNextLineInScilabHistory(void) "
+    /**
+    * Get the next line in Scilab history
+    * @return a line or NULL
+    * after an appendLine iterator go to end
+    */
+public";
+    char *getNextLineInScilabHistory(void);
+
+%javamethodmodifiers getNumberOfLinesInScilabHistory(void) "
+    /**
+    * Get numbers of lines in history
+    * @return number of lines
+    */
+public";
+    int getNumberOfLinesInScilabHistory(void);
+
+%javamethodmodifiers setSaveConsecutiveDuplicateLinesInScilabHistory(BOOL doit) "
+    /**
+    * set consecutive duplicate lines are added
+    * @param doit (true or false)
+    */
+public";
+    void setSaveConsecutiveDuplicateLinesInScilabHistory(BOOL doit);
+
+%javamethodmodifiers getSaveConsecutiveDuplicateLinesInScilabHistory(void) "
+    /**
+    * indicate if consecutive duplicate lines are added
+    * @return true or false
+    */
+public";
+    BOOL getSaveConsecutiveDuplicateLinesInScilabHistory(void);
+
+%javamethodmodifiers setAfterHowManyLinesScilabHistoryIsSaved(int num) "
+    /**
+    * Set after how many lines history is saved
+    * @param num number between 0 and Max
+    * default value is 0 (disabled)
+    */
+public";
+    void setAfterHowManyLinesScilabHistoryIsSaved(int num);
+
+%javamethodmodifiers getAfterHowManyLinesScilabHistoryIsSaved(void) "
+    /**
+    * Get after how many lines history is saved
+    * @return number between 0 and Max
+    * default value is 0 (disabled)
+    */
+public";
+    int getAfterHowManyLinesScilabHistoryIsSaved(void);
+
+%javamethodmodifiers getNthLineInScilabHistory(int N) "
+    /**
+    * Get the Nth Line in history
+    * @param N the number of the line to get
+    * @return the Nth Line
+    */
+public";
+    char *getNthLineInScilabHistory(int N);
+
+%javamethodmodifiers deleteNthLineScilabHistory(int N) "
+    /**
+    * delete the Nth Line in history
+    * @param N the number of the line to delete
+    * @return true or false
+    */
+public";
+    BOOL deleteNthLineScilabHistory(int N);
+
+%javamethodmodifiers getSizeScilabHistory(void) "
+    /**
+    * get number of lines of history
+    * @return a number >= 0
+    */
+public";
+    int getSizeScilabHistory(void);
+
+%javamethodmodifiers historyIsEnabled(void) "
+    /**
+    * get history manager state
+    * @return true or false
+    */
+public";
+    BOOL historyIsEnabled(void);
+
+%javamethodmodifiers setSizeMaxScilabHistory(int N)"
+    /**
+    * set the number of max lines
+    * @return true or false
+    */
+public";
+    BOOL setSizeMaxScilabHistory(int nbLinesMax);
+
+%javamethodmodifiers InitializeHistoryManager(void)"
+    /**
+    * terminate the history manager
+    * @return true or false
+    */
+public";
+    BOOL InitializeHistoryManager(void);
+
+%javamethodmodifiers TerminateHistoryManager(void)"
+    /**
+    * terminate the history manager
+    * @return true or false
+    */
+public";
+    BOOL TerminateHistoryManager(void);
diff --git a/modules/history_manager/src/jni/HistoryManagement_wrap.c b/modules/history_manager/src/jni/HistoryManagement_wrap.c
new file mode 100755
index 000000000..630a7acb2
--- /dev/null
+++ b/modules/history_manager/src/jni/HistoryManagement_wrap.c
@@ -0,0 +1,696 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 2.0.7
+ * 
+ * This file is not intended to be easily readable and contains a number of 
+ * coding conventions designed to improve portability and efficiency. Do not make
+ * changes to this file unless you know what you are doing--modify the SWIG 
+ * interface file instead. 
+ * ----------------------------------------------------------------------------- */
+
+#define SWIGJAVA
+
+/* -----------------------------------------------------------------------------
+ *  This section contains generic SWIG labels for method/variable
+ *  declarations/attributes, and other compiler dependent labels.
+ * ----------------------------------------------------------------------------- */
+
+/* template workaround for compilers that cannot correctly implement the C++ standard */
+#ifndef SWIGTEMPLATEDISAMBIGUATOR
+# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
+#  define SWIGTEMPLATEDISAMBIGUATOR template
+# elif defined(__HP_aCC)
+/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
+/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
+#  define SWIGTEMPLATEDISAMBIGUATOR template
+# else
+#  define SWIGTEMPLATEDISAMBIGUATOR
+# endif
+#endif
+
+/* inline attribute */
+#ifndef SWIGINLINE
+# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
+#   define SWIGINLINE inline
+# else
+#   define SWIGINLINE
+# endif
+#endif
+
+/* attribute recognised by some compilers to avoid 'unused' warnings */
+#ifndef SWIGUNUSED
+# if defined(__GNUC__)
+#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
+#     define SWIGUNUSED __attribute__ ((__unused__)) 
+#   else
+#     define SWIGUNUSED
+#   endif
+# elif defined(__ICC)
+#   define SWIGUNUSED __attribute__ ((__unused__)) 
+# else
+#   define SWIGUNUSED 
+# endif
+#endif
+
+#ifndef SWIG_MSC_UNSUPPRESS_4505
+# if defined(_MSC_VER)
+#   pragma warning(disable : 4505) /* unreferenced local function has been removed */
+# endif 
+#endif
+
+#ifndef SWIGUNUSEDPARM
+# ifdef __cplusplus
+#   define SWIGUNUSEDPARM(p)
+# else
+#   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
+# endif
+#endif
+
+/* internal SWIG method */
+#ifndef SWIGINTERN
+# define SWIGINTERN static SWIGUNUSED
+#endif
+
+/* internal inline SWIG method */
+#ifndef SWIGINTERNINLINE
+# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
+#endif
+
+/* exporting methods */
+#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
+#  ifndef GCC_HASCLASSVISIBILITY
+#    define GCC_HASCLASSVISIBILITY
+#  endif
+#endif
+
+#ifndef SWIGEXPORT
+# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
+#   if defined(STATIC_LINKED)
+#     define SWIGEXPORT
+#   else
+#     define SWIGEXPORT __declspec(dllexport)
+#   endif
+# else
+#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
+#     define SWIGEXPORT __attribute__ ((visibility("default")))
+#   else
+#     define SWIGEXPORT
+#   endif
+# endif
+#endif
+
+/* calling conventions for Windows */
+#ifndef SWIGSTDCALL
+# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
+#   define SWIGSTDCALL __stdcall
+# else
+#   define SWIGSTDCALL
+# endif 
+#endif
+
+/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
+#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
+# define _CRT_SECURE_NO_DEPRECATE
+#endif
+
+/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
+#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
+# define _SCL_SECURE_NO_DEPRECATE
+#endif
+
+
+
+/* Fix for jlong on some versions of gcc on Windows */
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
+  typedef long long __int64;
+#endif
+
+/* Fix for jlong on 64-bit x86 Solaris */
+#if defined(__x86_64)
+# ifdef _LP64
+#   undef _LP64
+# endif
+#endif
+
+#include <jni.h>
+#include <stdlib.h>
+#include <string.h>
+
+
+/* Support for throwing Java exceptions */
+typedef enum {
+  SWIG_JavaOutOfMemoryError = 1, 
+  SWIG_JavaIOException, 
+  SWIG_JavaRuntimeException, 
+  SWIG_JavaIndexOutOfBoundsException,
+  SWIG_JavaArithmeticException,
+  SWIG_JavaIllegalArgumentException,
+  SWIG_JavaNullPointerException,
+  SWIG_JavaDirectorPureVirtual,
+  SWIG_JavaUnknownError
+} SWIG_JavaExceptionCodes;
+
+typedef struct {
+  SWIG_JavaExceptionCodes code;
+  const char *java_exception;
+} SWIG_JavaExceptions_t;
+
+
+static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
+  jclass excep;
+  static const SWIG_JavaExceptions_t java_exceptions[] = {
+    { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
+    { SWIG_JavaIOException, "java/io/IOException" },
+    { SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
+    { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
+    { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
+    { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
+    { SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
+    { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
+    { SWIG_JavaUnknownError,  "java/lang/UnknownError" },
+    { (SWIG_JavaExceptionCodes)0,  "java/lang/UnknownError" }
+  };
+  const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
+
+  while (except_ptr->code != code && except_ptr->code)
+    except_ptr++;
+
+  (*jenv)->ExceptionClear(jenv);
+  excep = (*jenv)->FindClass(jenv, except_ptr->java_exception);
+  if (excep)
+    (*jenv)->ThrowNew(jenv, excep, msg);
+}
+
+
+/* Contract support */
+
+#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
+
+
+#include "MALLOC.h"
+#include "../../includes/HistoryManager.h"
+#include "../../includes/TerminateHistoryManager.h"
+#include "../../includes/InitializeHistoryManager.h"
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_appendLineToScilabHistory(JNIEnv *jenv, jclass jcls, jstring jarg1) {
+  jboolean jresult = 0 ;
+  char *arg1 = (char *) 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  arg1 = 0;
+  if (jarg1) {
+    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
+    if (!arg1) return 0;
+  }
+  result = appendLineToScilabHistory(arg1);
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, (const char *)arg1);
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_appendLinesToScilabHistory(JNIEnv *jenv, jclass jcls, jobjectArray jarg1, jint jarg2) {
+  jboolean jresult = 0 ;
+  char **arg1 = (char **) 0 ;
+  int arg2 ;
+  jint size1 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  {
+    int i = 0;
+    size1 = (*jenv)->GetArrayLength(jenv, jarg1);
+    arg1 = (char **) MALLOC((size1+1)*sizeof(char *));
+    /* make a copy of each string */
+    for (i = 0; i<size1; i++) {
+      jstring j_string = (jstring)(*jenv)->GetObjectArrayElement(jenv, jarg1, i);
+      const char * c_string = (*jenv)->GetStringUTFChars(jenv, j_string, 0);
+      arg1[i] = MALLOC((strlen(c_string)+1)*sizeof(const char *));
+      strcpy(arg1[i], c_string);
+      (*jenv)->ReleaseStringUTFChars(jenv, j_string, c_string);
+      (*jenv)->DeleteLocalRef(jenv, j_string);
+    }
+    arg1[i] = 0;
+  }
+  arg2 = (int)jarg2; 
+  result = appendLinesToScilabHistory(arg1,arg2);
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  {
+    int i;
+    for (i=0; i<size1-1; i++) {
+      FREE(arg1[i]);
+      arg1[i] = NULL;
+    }
+    FREE(arg1);
+    arg1 = NULL;
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT void JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_displayScilabHistory(JNIEnv *jenv, jclass jcls) {
+  (void)jenv;
+  (void)jcls;
+  displayScilabHistory();
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_writeScilabHistoryToFile(JNIEnv *jenv, jclass jcls, jstring jarg1) {
+  jboolean jresult = 0 ;
+  char *arg1 = (char *) 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  arg1 = 0;
+  if (jarg1) {
+    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
+    if (!arg1) return 0;
+  }
+  result = writeScilabHistoryToFile(arg1);
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, (const char *)arg1);
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_loadScilabHistoryFromFile(JNIEnv *jenv, jclass jcls, jstring jarg1) {
+  jboolean jresult = 0 ;
+  char *arg1 = (char *) 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  arg1 = 0;
+  if (jarg1) {
+    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
+    if (!arg1) return 0;
+  }
+  result = loadScilabHistoryFromFile(arg1);
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, (const char *)arg1);
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_setFilenameScilabHistory(JNIEnv *jenv, jclass jcls, jstring jarg1) {
+  jboolean jresult = 0 ;
+  char *arg1 = (char *) 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  arg1 = 0;
+  if (jarg1) {
+    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
+    if (!arg1) return 0;
+  }
+  result = setFilenameScilabHistory(arg1);
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, (const char *)arg1);
+  return jresult;
+}
+
+
+SWIGEXPORT jstring JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getFilenameScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jstring jresult = 0 ;
+  char *result = 0 ;
+  
+  (void)jenv;
+  (void)jcls;
+  result = (char *)getFilenameScilabHistory();
+  {
+    if (result != NULL)
+    {
+      jresult = (*jenv)->NewStringUTF(jenv, (const char *)result);
+      FREE(result);
+      result = NULL;
+    }       
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_setDefaultFilenameScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jboolean jresult = 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  result = setDefaultFilenameScilabHistory();
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT void JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_resetScilabHistory(JNIEnv *jenv, jclass jcls) {
+  (void)jenv;
+  (void)jcls;
+  resetScilabHistory();
+}
+
+
+SWIGEXPORT jobjectArray JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getAllLinesOfScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jobjectArray jresult = 0 ;
+  char **result = 0 ;
+  
+  (void)jenv;
+  (void)jcls;
+  result = (char **)getAllLinesOfScilabHistory();
+  {
+    if (result != NULL)
+    {
+      int i;
+      int len=0;
+      jstring temp_string;
+      const jclass clazz = (*jenv)->FindClass(jenv, "java/lang/String");
+      
+      while (result[len]) len++;    
+      jresult = (*jenv)->NewObjectArray(jenv, len, clazz, NULL);
+      /* exception checking omitted */
+      
+      for (i=0; i<len; i++) {
+        temp_string = (*jenv)->NewStringUTF(jenv, result[i]);
+        (*jenv)->SetObjectArrayElement(jenv, jresult, i, temp_string);
+        (*jenv)->DeleteLocalRef(jenv, temp_string);
+        FREE(result[i]);
+        result[i] = NULL;
+      }
+      FREE(result);
+      result = NULL;
+    }       
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jint JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getSizeAllLinesOfScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jint jresult = 0 ;
+  int result;
+  
+  (void)jenv;
+  (void)jcls;
+  result = (int)getSizeAllLinesOfScilabHistory();
+  jresult = (jint)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_setSearchedTokenInScilabHistory(JNIEnv *jenv, jclass jcls, jstring jarg1) {
+  jboolean jresult = 0 ;
+  char *arg1 = (char *) 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  arg1 = 0;
+  if (jarg1) {
+    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
+    if (!arg1) return 0;
+  }
+  result = setSearchedTokenInScilabHistory(arg1);
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, (const char *)arg1);
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_resetSearchedTokenInScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jboolean jresult = 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  result = resetSearchedTokenInScilabHistory();
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jstring JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getSearchedTokenInScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jstring jresult = 0 ;
+  char *result = 0 ;
+  
+  (void)jenv;
+  (void)jcls;
+  result = (char *)getSearchedTokenInScilabHistory();
+  {
+    if (result != NULL)
+    {
+      jresult = (*jenv)->NewStringUTF(jenv, (const char *)result);
+      FREE(result);
+      result = NULL;
+    }       
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jstring JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getPreviousLineInScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jstring jresult = 0 ;
+  char *result = 0 ;
+  
+  (void)jenv;
+  (void)jcls;
+  result = (char *)getPreviousLineInScilabHistory();
+  {
+    if (result != NULL)
+    {
+      jresult = (*jenv)->NewStringUTF(jenv, (const char *)result);
+      FREE(result);
+      result = NULL;
+    }       
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jstring JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getNextLineInScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jstring jresult = 0 ;
+  char *result = 0 ;
+  
+  (void)jenv;
+  (void)jcls;
+  result = (char *)getNextLineInScilabHistory();
+  {
+    if (result != NULL)
+    {
+      jresult = (*jenv)->NewStringUTF(jenv, (const char *)result);
+      FREE(result);
+      result = NULL;
+    }       
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jint JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getNumberOfLinesInScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jint jresult = 0 ;
+  int result;
+  
+  (void)jenv;
+  (void)jcls;
+  result = (int)getNumberOfLinesInScilabHistory();
+  jresult = (jint)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT void JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_setSaveConsecutiveDuplicateLinesInScilabHistory(JNIEnv *jenv, jclass jcls, jboolean jarg1) {
+  BOOL arg1 ;
+  
+  (void)jenv;
+  (void)jcls;
+  {
+    if (jarg1 == JNI_TRUE) arg1 = TRUE;
+    else arg1 = FALSE;
+  }
+  setSaveConsecutiveDuplicateLinesInScilabHistory(arg1);
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getSaveConsecutiveDuplicateLinesInScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jboolean jresult = 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  result = getSaveConsecutiveDuplicateLinesInScilabHistory();
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT void JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_setAfterHowManyLinesScilabHistoryIsSaved(JNIEnv *jenv, jclass jcls, jint jarg1) {
+  int arg1 ;
+  
+  (void)jenv;
+  (void)jcls;
+  arg1 = (int)jarg1; 
+  setAfterHowManyLinesScilabHistoryIsSaved(arg1);
+}
+
+
+SWIGEXPORT jint JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getAfterHowManyLinesScilabHistoryIsSaved(JNIEnv *jenv, jclass jcls) {
+  jint jresult = 0 ;
+  int result;
+  
+  (void)jenv;
+  (void)jcls;
+  result = (int)getAfterHowManyLinesScilabHistoryIsSaved();
+  jresult = (jint)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT jstring JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getNthLineInScilabHistory(JNIEnv *jenv, jclass jcls, jint jarg1) {
+  jstring jresult = 0 ;
+  int arg1 ;
+  char *result = 0 ;
+  
+  (void)jenv;
+  (void)jcls;
+  arg1 = (int)jarg1; 
+  result = (char *)getNthLineInScilabHistory(arg1);
+  {
+    if (result != NULL)
+    {
+      jresult = (*jenv)->NewStringUTF(jenv, (const char *)result);
+      FREE(result);
+      result = NULL;
+    }       
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_deleteNthLineScilabHistory(JNIEnv *jenv, jclass jcls, jint jarg1) {
+  jboolean jresult = 0 ;
+  int arg1 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  arg1 = (int)jarg1; 
+  result = deleteNthLineScilabHistory(arg1);
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jint JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_getSizeScilabHistory(JNIEnv *jenv, jclass jcls) {
+  jint jresult = 0 ;
+  int result;
+  
+  (void)jenv;
+  (void)jcls;
+  result = (int)getSizeScilabHistory();
+  jresult = (jint)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_historyIsEnabled(JNIEnv *jenv, jclass jcls) {
+  jboolean jresult = 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  result = historyIsEnabled();
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_setSizeMaxScilabHistory(JNIEnv *jenv, jclass jcls, jint jarg1) {
+  jboolean jresult = 0 ;
+  int arg1 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  arg1 = (int)jarg1; 
+  result = setSizeMaxScilabHistory(arg1);
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_InitializeHistoryManager(JNIEnv *jenv, jclass jcls) {
+  jboolean jresult = 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  result = InitializeHistoryManager();
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  return jresult;
+}
+
+
+SWIGEXPORT jboolean JNICALL Java_org_scilab_modules_history_1manager_HistoryManagementJNI_TerminateHistoryManager(JNIEnv *jenv, jclass jcls) {
+  jboolean jresult = 0 ;
+  BOOL result;
+  
+  (void)jenv;
+  (void)jcls;
+  result = TerminateHistoryManager();
+  {
+    if (result) jresult = JNI_TRUE   ;
+    else  jresult = JNI_FALSE   ;
+  }
+  return jresult;
+}
+
+
+#ifdef __cplusplus
+}
+#endif
+
diff --git a/modules/history_manager/src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo b/modules/history_manager/src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo
new file mode 100755
index 000000000..73b9ba26e
--- /dev/null
+++ b/modules/history_manager/src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo
@@ -0,0 +1,12 @@
+# src/jni/libscihistory_manager_algo_la-HistoryManagement_wrap.lo - a libtool object file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/libscihistory_manager_algo_la-HistoryManagement_wrap.o'
+
+# Name of the non-PIC object
+non_pic_object=none
+
diff --git a/modules/history_manager/tests/nonreg_tests/bug_10415.dia.ref b/modules/history_manager/tests/nonreg_tests/bug_10415.dia.ref
new file mode 100755
index 000000000..15b13a03e
--- /dev/null
+++ b/modules/history_manager/tests/nonreg_tests/bug_10415.dia.ref
@@ -0,0 +1,24 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - Scilab Enterprises - Simon MARCHETTO
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- Non-regression test for bug 10415 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=10415
+//
+// <-- Short Description -->
+// The removal of an history session line does not remove
+// all the children command lines
+resethistory();
+// a session line will be added at the front of this history
+addhistory("lineA");
+addhistory("lineB");
+addhistory("lineC");
+// we check the removal of current session line remove all history
+removelinehistory(0);
+h = gethistory();
+assert_checkequal(h, []);
diff --git a/modules/history_manager/tests/nonreg_tests/bug_10415.tst b/modules/history_manager/tests/nonreg_tests/bug_10415.tst
new file mode 100755
index 000000000..d25172c09
--- /dev/null
+++ b/modules/history_manager/tests/nonreg_tests/bug_10415.tst
@@ -0,0 +1,27 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - Scilab Enterprises - Simon MARCHETTO
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- Non-regression test for bug 10415 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=10415
+//
+// <-- Short Description -->
+// The removal of an history session line does not remove
+// all the children command lines
+
+resethistory();
+
+// a session line will be added at the front of this history
+addhistory("lineA");
+addhistory("lineB");
+addhistory("lineC");
+
+// we check the removal of current session line remove all history
+removelinehistory(0);
+h = gethistory();
+assert_checkequal(h, []);
diff --git a/modules/history_manager/tests/nonreg_tests/bug_12333.dia.ref b/modules/history_manager/tests/nonreg_tests/bug_12333.dia.ref
new file mode 100755
index 000000000..7218d6040
--- /dev/null
+++ b/modules/history_manager/tests/nonreg_tests/bug_12333.dia.ref
@@ -0,0 +1,28 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - Scilab Enterprises - Simon MARCHETTO
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- Non-regression test for bug 12333 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=12333
+//
+// <-- Short Description -->
+// Cleaned command history is restored after reopening Scilab
+// add some history to be sure it is not empty, and save it
+addhistory("lineA");
+addhistory("lineB");
+addhistory("lineC");
+addhistory("lineD");
+addhistory("lineE");
+savehistory();
+// reset history, and save it
+resethistory();
+savehistory();
+// reload history => it should have less than 5 lines
+loadhistory(SCIHOME + '/history');
+h = gethistory();
+assert_checktrue(size(h,'r') < 5);
diff --git a/modules/history_manager/tests/nonreg_tests/bug_12333.tst b/modules/history_manager/tests/nonreg_tests/bug_12333.tst
new file mode 100755
index 000000000..6ad335d49
--- /dev/null
+++ b/modules/history_manager/tests/nonreg_tests/bug_12333.tst
@@ -0,0 +1,31 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - Scilab Enterprises - Simon MARCHETTO
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- Non-regression test for bug 12333 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=12333
+//
+// <-- Short Description -->
+// Cleaned command history is restored after reopening Scilab
+
+// add some history to be sure it is not empty, and save it
+addhistory("lineA");
+addhistory("lineB");
+addhistory("lineC");
+addhistory("lineD");
+addhistory("lineE");
+savehistory();
+
+// reset history, and save it
+resethistory();
+savehistory();
+
+// reload history => it should have less than 5 lines
+loadhistory(SCIHOME + '/history');
+h = gethistory();
+assert_checktrue(size(h,'r') < 5);
diff --git a/modules/history_manager/tests/nonreg_tests/bug_4012.tst b/modules/history_manager/tests/nonreg_tests/bug_4012.tst
new file mode 100755
index 000000000..7560c8283
--- /dev/null
+++ b/modules/history_manager/tests/nonreg_tests/bug_4012.tst
@@ -0,0 +1,22 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO - Allan CORNET
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+// <-- INTERACTIVE TEST -->
+
+// <-- Non-regression test for bug 4012 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=4012
+//
+// <-- Short Description -->
+// glitch for console is wrong processing system month and week in
+// sessions starts and ends while browsing history
+
+// setdefaultlanguage('ru_RU')
+// restart scilab
+// checks history line "// Начало сессии"
diff --git a/modules/history_manager/tests/nonreg_tests/bug_9498.tst b/modules/history_manager/tests/nonreg_tests/bug_9498.tst
new file mode 100755
index 000000000..0e53cd548
--- /dev/null
+++ b/modules/history_manager/tests/nonreg_tests/bug_9498.tst
@@ -0,0 +1,21 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Allan CORNET
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+// <-- INTERACTIVE TEST -->
+
+// <-- Non-regression test for bug 9498 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=9498
+//
+// <-- Short Description -->
+// By default history file was not limited
+
+// creates a very big history file
+// start scilab, only last 20000 (default) lines are loaded in scilab
+// and a message disabled about this
diff --git a/modules/history_manager/tests/unit_tests/historyfile.encoding.dia.ref b/modules/history_manager/tests/unit_tests/historyfile.encoding.dia.ref
new file mode 100755
index 000000000..492076fe4
--- /dev/null
+++ b/modules/history_manager/tests/unit_tests/historyfile.encoding.dia.ref
@@ -0,0 +1,21 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+cd(TMPDIR);
+exec(SCI+"/modules/localization/tests/unit_tests/CreateDir.sce", -1);
+tab_ref = [
+"世界您好",
+"азеазея",
+"ハロー・ワールド",
+"حريات وحقوق",
+"תוכנית"];
+for i = 1 : size(tab_ref,'*')
+  fz = TMPDIR + filesep() + "dir_" + tab_ref(i) + filesep() + tab_ref(i) + '.hst';
+  savehistory(fz);
+  resethistory();
+  if ls(fz) == [] then bugmes();quit;end
+  loadhistory(fz);
+end
diff --git a/modules/history_manager/tests/unit_tests/historyfile.encoding.tst b/modules/history_manager/tests/unit_tests/historyfile.encoding.tst
new file mode 100755
index 000000000..321bca0ca
--- /dev/null
+++ b/modules/history_manager/tests/unit_tests/historyfile.encoding.tst
@@ -0,0 +1,26 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+cd(TMPDIR);
+
+exec(SCI+"/modules/localization/tests/unit_tests/CreateDir.sce", -1);
+
+
+tab_ref = [
+"世界您好",
+"азеазея",
+"ハロー・ワールド",
+"حريات وحقوق",
+"תוכנית"];
+
+for i = 1 : size(tab_ref,'*')
+  fz = TMPDIR + filesep() + "dir_" + tab_ref(i) + filesep() + tab_ref(i) + '.hst';
+  savehistory(fz);
+  resethistory();
+  if ls(fz) == [] then pause,end
+  loadhistory(fz);
+end
diff --git a/modules/history_manager/tests/unit_tests/historysize.dia.ref b/modules/history_manager/tests/unit_tests/historysize.dia.ref
new file mode 100755
index 000000000..029a0a4ac
--- /dev/null
+++ b/modules/history_manager/tests/unit_tests/historysize.dia.ref
@@ -0,0 +1,25 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Allan CORNET
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+savehistory(TMPDIR + "/historysize_backup"); // backup
+resethistory();
+assert_checkequal(historysize(), 0);
+fmterr = msprintf(gettext("%s: Wrong value for input argument #%d: ""%s"" expected.\n"),"historysize", 1, "max");
+assert_checkerror ("historysize(""toto"")", fmterr , 999 );
+assert_checkequal(historysize(100), 100);
+assert_checkequal(historysize("max"), 100);
+fmterr = msprintf(gettext("%s: Wrong value for input argument #%d.\n"),"historysize", 1);
+assert_checkerror ("historysize(-1)", fmterr , 999 );
+strs = string(1:1000);
+resethistory();
+addhistory(strs);
+savehistory(TMPDIR + "/historysize_tmp");
+resethistory();
+warning("off");
+loadhistory(TMPDIR + "/historysize_tmp");
+assert_checkequal(historysize(), 100 + 1);
+resethistory();
+loadhistory(TMPDIR + "/historysize_backup"); // restore
diff --git a/modules/history_manager/tests/unit_tests/historysize.tst b/modules/history_manager/tests/unit_tests/historysize.tst
new file mode 100755
index 000000000..3cefee8ce
--- /dev/null
+++ b/modules/history_manager/tests/unit_tests/historysize.tst
@@ -0,0 +1,33 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Allan CORNET
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+savehistory(TMPDIR + "/historysize_backup"); // backup
+
+resethistory();
+assert_checkequal(historysize(), 0);
+
+fmterr = msprintf(gettext("%s: Wrong value for input argument #%d: ""%s"" expected.\n"),"historysize", 1, "max");
+assert_checkerror ("historysize(""toto"")", fmterr , 999 );
+
+assert_checkequal(historysize(100), 100);
+assert_checkequal(historysize("max"), 100);
+
+fmterr = msprintf(gettext("%s: Wrong value for input argument #%d.\n"),"historysize", 1);
+assert_checkerror ("historysize(-1)", fmterr , 999 );
+
+strs = string(1:1000);
+resethistory();
+addhistory(strs);
+savehistory(TMPDIR + "/historysize_tmp");
+
+resethistory();
+warning("off");
+loadhistory(TMPDIR + "/historysize_tmp");
+assert_checkequal(historysize(), 100 + 1);
+
+resethistory();
+loadhistory(TMPDIR + "/historysize_backup"); // restore
diff --git a/modules/history_manager/tests/unit_tests/removelinehistory.dia.ref b/modules/history_manager/tests/unit_tests/removelinehistory.dia.ref
new file mode 100755
index 000000000..7d26a2a6b
--- /dev/null
+++ b/modules/history_manager/tests/unit_tests/removelinehistory.dia.ref
@@ -0,0 +1,57 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+function [] = check_history(expected)
+  actual = gethistory();
+  // ignore first line of history which indicates the current session
+  actual(1,1) = []
+  assert_checkequal(actual, expected);
+endfunction
+// checking removing simple lines
+resethistory()
+// warning: a session line will be added at the front of this history
+addhistory("lineA");
+addhistory("lineB");
+addhistory("lineC");
+addhistory("lineD");
+removelinehistory(1);
+check_history(['lineB';'lineC';'lineD']);
+removelinehistory(2);
+h = gethistory();
+check_history(['lineB';'lineD']);
+removelinehistory(2);
+h = gethistory();
+check_history(['lineB']);
+removelinehistory(1);
+check_history([]);
+// check removing of session lines
+resethistory()
+// warning: a session line will be added at the front of this history
+expected_history = ["// -- 26/02/2013 10:00:00 -- //";
+                    "lineA";
+                    "lineB";
+                    "// -- 26/02/2013 11:00:00 -- //";
+                    "lineC";
+                    "// -- 26/02/2013 12:00:00 -- //";
+                    "// -- 26/02/2013 13:00:00 -- //"];
+addhistory(expected_history);
+removelinehistory(1);
+expected_history(1:3,1) = [];
+check_history(expected_history);
+removelinehistory(3);
+expected_history(3,1) = [];
+check_history(expected_history);
+removelinehistory(3);
+expected_history(3,1) = [];
+check_history(expected_history);
+removelinehistory(1);
+expected_history(1:2,1) = [];
+check_history(expected_history);
+// check error messages
+resethistory()
+ierr = execstr("removelinehistory(10)", "errcatch");
+assert_checkequal(ierr, 999);
+
diff --git a/modules/history_manager/tests/unit_tests/removelinehistory.tst b/modules/history_manager/tests/unit_tests/removelinehistory.tst
new file mode 100755
index 000000000..c2409471d
--- /dev/null
+++ b/modules/history_manager/tests/unit_tests/removelinehistory.tst
@@ -0,0 +1,72 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - Scilab Enterprises - Simon MARCHETTO
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+function [] = check_history(expected)
+  actual = gethistory();
+  // ignore first line of history which indicates the current session
+  actual(1,1) = []
+  assert_checkequal(actual, expected);
+endfunction
+
+// checking removing simple lines
+
+resethistory()
+// warning: a session line will be added at the front of this history
+addhistory("lineA");
+addhistory("lineB");
+addhistory("lineC");
+addhistory("lineD");
+
+removelinehistory(1);
+check_history(['lineB';'lineC';'lineD']);
+
+removelinehistory(2);
+h = gethistory();
+check_history(['lineB';'lineD']);
+
+removelinehistory(2);
+h = gethistory();
+check_history(['lineB']);
+
+removelinehistory(1);
+check_history([]);
+
+// check removing of session lines
+
+resethistory()
+// warning: a session line will be added at the front of this history
+expected_history = ["// -- 26/02/2013 10:00:00 -- //";
+                    "lineA";
+                    "lineB";
+                    "// -- 26/02/2013 11:00:00 -- //";
+                    "lineC";
+                    "// -- 26/02/2013 12:00:00 -- //";
+                    "// -- 26/02/2013 13:00:00 -- //"];
+addhistory(expected_history);
+
+removelinehistory(1);
+expected_history(1:3,1) = [];
+check_history(expected_history);
+
+removelinehistory(3);
+expected_history(3,1) = [];
+check_history(expected_history);
+
+removelinehistory(3);
+expected_history(3,1) = [];
+check_history(expected_history);
+
+removelinehistory(1);
+expected_history(1:2,1) = [];
+check_history(expected_history);
+
+// check error messages
+
+resethistory()
+ierr = execstr("removelinehistory(10)", "errcatch");
+assert_checkequal(ierr, 999);
+
-- 
cgit