Mathieu Lirzin mthl

mthl pushed to master at mthl/jwhois

  • 8f61b46150 cache: Move possible unused variables issues Depending on the actual value of the NOCACHE preprocessor macro some variables may not be used. * src/cache.c (cache_init): Declare 'j' and 'iret' closer to their use. (cache_read): Likewise for 'time_c'. * src/jwhois.c (main): Likewise for 'cachestr'.

2 years ago

mthl pushed to master at mthl/texinfo

  • 99bb097093 iframe: Add proper history management

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago

mthl pushed to master at mthl/texinfo

  • 160485341d main: Add Text_input component This is done to implement "menu search" which allows the user to access the sub nodes of a pages that contains a local table of content via a text input with completion.
  • 809c133b80 store: Call listeners only if state has changed when dispatching an action result in no state modification, then the action is considered cancelled, since reducers can't have side-effects.
  • View comparison for these 2 commits »

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago

mthl pushed to master at mthl/texinfo

  • 5c4a48cc1e Cleanup the 'on_message' event handlers

3 years ago

mthl pushed to master at mthl/texinfo

  • 3d70ba8bcd iframe: Fix links to iframe anchors Only create div nodes for pages, and for anchors.
  • dcb7701e96 utils: Fix a bug in 'href_hash' The case where there is no hash part in the 'href' argument was not handled.
  • c68d5f7941 Refactor to move mutation of the DOM inside the components
  • 7f1cb9af61 sidebar: Instantiate the iframe inside 'Sidebar' constructor Merge 'Sidebar.update' inside 'Sidebar.render'.
  • be5ce7d37d main: Remove 'Selected_div' class Merge its render behavior inside the './iframe/Pages' class.
  • View comparison for these 5 commits »

3 years ago

mthl pushed to master at mthl/texinfo

  • db7c6e76ea main: Remove 'Main_component' class Since there was only one instance of it, a simple literal object is defined instead.
  • 35b2928774 main: Always display hash when handling "load-page" messages
  • 51c3bcf1f0 utils: Add more information in 'navigation_links' docstring
  • e45bc77c06 utils: Avoid conversion from NodeList to Array in 'navigation_links'
  • View comparison for these 4 commits »

3 years ago

mthl pushed to master at mthl/texinfo

  • 6433b35cf5 Replace IIFE usage with function properties IIFE was used to avoid recreating some variables at each function call. Using function properties has the same benefit while having a more declarative style. The tradeoff is that we lose encapsulation which is not important here.
  • b57bdc6760 utils: Add 'href_hash' function
  • View comparison for these 2 commits »

3 years ago

mthl pushed to master at mthl/texinfo

  • f7a0fe37a8 index: Trampoline to index page when opening a different page The corresponding iframe is selected when opening the index page.
  • 0a578eb3e0 utils: Remove 'inside_iframe_p' and 'inside_index_page_p' functions
  • a21b1b1edf Use strict equality when possible
  • 038d2e05a5 toc: Ensure in 'create_link_dict' that links have a "href" attribute
  • ea9d33aee4 toc: Inline internal 'fix_link' function in 'fix_links'
  • View comparison for these 6 commits »

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago

mthl pushed to master at mthl/texinfo

  • 7d41b41d7a index: Throw a ReferenceError when iframe container is not found

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago

mthl pushed to master at mthl/texinfo

3 years ago