1. 02 Eyl, 2013 40 kayıt (commit)
    • Gergo Mocsi's avatar
      GSOC work, disable QuickSelectionEngine+ListBox navigation modification · d5aa9c3b
      Gergo Mocsi yazdı
      Added a function to disable QuickSelectionEngine in ListBox, beacuse it's not needed.
      ListBox navigation changed: it is not hiding/showing entries, instead of it, jumps to the longest match without filtering.
      Arrow behavior remains the same.
      
      Change-Id: I8982c280f20929c74f9630cbaa95010820d2e234
      d5aa9c3b
    • Noel Power's avatar
      remove strange added Invalidate bits · 59520bd3
      Noel Power yazdı
      Change-Id: I61f4a6af62d67f2fd5f421e2173cca179d399815
      59520bd3
    • Noel Power's avatar
      fix runtime error when using extended types · e70a436f
      Noel Power yazdı
      note: using VBA objects with the code completion is not possible at
      the moment. Unfortunately there is some hard coded hacks for flattening
      the namespace used by checkUnoObject.
      
      Change-Id: Ic3a3149f41a6959943e71fa7ac22ff4dab7f30a1
      e70a436f
    • Gergo Mocsi's avatar
      GSOC work, cache implementation fix, code fixes · edcec5b1
      Gergo Mocsi yazdı
      The CodeCompleteDataCache got a new implementation: global variables are stored separately.
      The "static const" OUString-s were removed from the class.
      Data extraction is only done when pressing the dot key.
      
      Change-Id: I3ff94c0c6eabe328761336d4c74744eb7efc6056
      edcec5b1
    • Gergo Mocsi's avatar
      GSOC work, ModalDialog instead of menu entry · 70ab744c
      Gergo Mocsi yazdı
      Created a ModalDialog named CodeCompleteOptionsDlg to edit options for code completition/suggestion.
      Unimplemented features in it are disabled.
      The dialog window uses Glade .ui file.
      
      Change-Id: I1b59f386a9575aa25b38c5a1d7d1f020498a69ab
      70ab744c
    • Gergo Mocsi's avatar
      GSOC work, code complete option, menu entry fixes · 61ee2598
      Gergo Mocsi yazdı
      Menu entry is added under View->Enable Code Completition when in Experimental mode.
      Fixed the call of funtion SbModule::GetCodeCompleteDataFromParse() to be called only when code completition is enabled.
      Replaced the occurences of SvtMiscOptions to CodeCompleteOptions.
      
      Change-Id: If0520123ab5f612d7d24fb98f8e9bf6881af76cb
      61ee2598
    • Noel Power's avatar
      fix compile error, cerr not defined · b0b511e9
      Noel Power yazdı
      Change-Id: Id33342491dd9bad0ee2f1a7bc648ed669a2b92b9
      b0b511e9
    • Gergo Mocsi's avatar
      GSOC work menu entry + code fix · 3ce1f554
      Gergo Mocsi yazdı
      Fixed the definition of GLOB_KEY, NOT_FOUND from const to static const.
      Added a new menu entry for code completition under View->Enable Code Completition.
      
      Change-Id: If8ac25ee43a7ba780ccdee2e5e909777115a1f27
      3ce1f554
    • Gergo Mocsi's avatar
      GSOC work window hide when clicking out · 1b8b4864
      Gergo Mocsi yazdı
      CodeCompleteWindow is hidden when clicking out: thi is implemented in
      EditorWindow::MouseButtonDown: if CodeCompleteWindow is visible and
      the actual TextSelection of the window and the parent's TextView is
      different, hide the window (I assume the user changed selection, eg.
      clicked on other line, etc.).
      
      Change-Id: Icb6bcffa837b2f7e1ccef288b9d762e27649410b
      1b8b4864
    • Gergo Mocsi's avatar
      GSOC work, some code fixes · 6165d0b4
      Gergo Mocsi yazdı
      Fixed the link error: declared CodeCompleteDataCache as BASIC_DLLPUBLIC and it worked fine.
      Fixed sergmentation fault error in CodeCompleteWindow.
      The new cache implementation is fully functional.
      CodeCompleteWindow is now being used as boost::scoped_ptr.
      
      Change-Id: I76a0fc7407d589e7f94280fc4d50cea51b9639db
      6165d0b4
    • Gergo Mocsi's avatar
      GSOC work, code fixes + cache implementation · 6c1854f9
      Gergo Mocsi yazdı
      WARNING: cache implementation gives a link error to it's methods.
      Created the cache called CodeCompleteDataCache in file include/basic/codecompletecache.hxx
      This class should replace the std::vector< CodeCompleteData > int file baside2b.cxx
      When issuing command "make basic", it compiles fine, but, when "make basctl", it gives a link error (ld returned status 1) to CodeCompleteDataCache's methods.
      
      Change-Id: If78c6533b7fb5653cc459d22b80c98d097b886eb
      6c1854f9
    • Gergo Mocsi's avatar
      GSOC work ListBox show/hide entries when typing function name · 5a615ddf
      Gergo Mocsi yazdı
      ListBox sorts entries alphabetically.
      When typing, filters the matching function names.
      ListBox closes on key tab and space, beacuse I assume the user typed in the
      whole function name.
      
      Change-Id: I045b1b990b0e0af70de75c32249b7497b51b9e98
      5a615ddf
    • Gergo Mocsi's avatar
      GSOC work Window appearance fix 2 + code fixes · 728bc051
      Gergo Mocsi yazdı
      Added a function to select the first entry in the ListBox by default.
      Selected entry can be inserted with the ENTER key.
      Fixed some code in basic code generation class (SbiCodeGen).
      
      Change-Id: Ia6eb43ee5661a0a3ae0b738b619f19972f019eac
      728bc051
    • Gergo Mocsi's avatar
      GSOC work, Window appearance fix · d03f3cd4
      Gergo Mocsi yazdı
      Fixed the window width to adopt size by longest entry.
      Window height is set to display 8 lines, plus the scrollbar.
      When selected, window can be close by the ESC key( done by PreNotify() ).
      Also, renamed it to CodeCompleteWindow for consistency.
      
      Change-Id: I9cd53c3d868cdaeb8d391547f16da7038278154b
      d03f3cd4
    • Gergo Mocsi's avatar
      GSOC work, Window instead a FloatingWindow · 5d954483
      Gergo Mocsi yazdı
      Changed CodeCompleteListBox into a Window which contains a single ListBox.
      Navigation with arrows is enabled, window closes on ESC key.
      Double click inserts the selected method into the source code.
      Visible line count in ListBox is set to 8 lines, width is adopted from the
      longest entry.
      
      Change-Id: I6b6ceb0ce78f9fc727aed53952dc6ee24cba47df
      5d954483
    • Gergo Mocsi's avatar
      GSOC work nested reflection fix · 5dc05ade
      Gergo Mocsi yazdı
      Ive fixed the parameter problem: I use the tokens created
      by the syntax highlighter (it's struct HighlightPortion),
      and put the identiiers to the vector, and reflect them.
      
      Change-Id: I08888e4a8bf00fa987a16466f4a5ac03836e5ee7
      5dc05ade
    • Gergo Mocsi's avatar
      GSOC work week 5, some recent fixes · 5beb4be5
      Gergo Mocsi yazdı
      This week I've managed to fix the ListBox appearance. Also, I've modified the code: it gets the data on insert/remove/change, and gets updated only when the dot is pressed. This makes the data to be up-to-date. Next, I wrote a Split(OUString , char) function to do the nested reflection (It works, but it will need some tweaks later). Also, code generation is disabled for code completition (just a boolean value, maybe it could be done in a more "elegant" way, like the error supression).
      
      Change-Id: I43d250c0a065351950ac6424dcd88266d70bcef3
      5beb4be5
    • Gergo Mocsi's avatar
      GSOC work week4, CodeCompleteListBox appearance fix · 5b984095
      Gergo Mocsi yazdı
      This patch allows the pop-up CodeCompleteListBox to appear under the cursor.
      It's size is fixed:150x150.
      Also, I've fixed a bug in extracting the current variable name.
      
      Change-Id: Id98cb1c29be72af07a25aac3d51561f072bf103e
      5b984095
    • Gergo Mocsi's avatar
      GSOC work week 3, showing methods in a ListBox · 6f516edc
      Gergo Mocsi yazdı
      This patch allows the Code Completition feature to list methods in a custom ListBox class called CodeCompleteListBox.
      So, when the user presses the dot("."), a ListBox appears, and listed the methods(not just prints on the terminal).
      The user can select one from them, and it is put in the source code (after the dot).
      
      Change-Id: Ie5165e7bdaae1d96bbf40a9b996ca8ebbdb40dea
      6f516edc
    • Gergo Mocsi's avatar
      GSOC work week 2, getting infromation from variables and print on terminal · 025e7ff3
      Gergo Mocsi yazdı
      This is an early version. I use the BASIC parser to parse the source,
      then the infromation is extracted from the symbol table built by parser.
      Error reporting is suppressed, beacuse it is not needed fro code completition.
      I placed my function inside SbModule, and created a struct called CodeCompletitionData, which holds the object's name, it's parent, and it's type name.
      This function, SbMethod::GetCodeCompleteDataFromParse() is called from Basic IDE's Notify function, which updates a cache(actually, reassigns a viariable :) ).
      Later, in the EditorWindow::KeyInput function there is a check wheteher dot key is pressed. After that, the actual variable (or word) is being looked up in the vector that holds code completition data. And finally, if it is found, it's methods are printed on the terminal.
      
      Change-Id: Idaf19baa8f720b8b117a76dc3cc2f90dd04fd155
      025e7ff3
    • Gergo Mocsi's avatar
      GSOC work week 0-1, allowing BASIC to recognize UNO interfaces · f97d7946
      Gergo Mocsi yazdı
      Introduced a new function calles IsUnoInterface in SbiParser to determine, if
      a variable is a type of an UNO interface. It uses reflection.CoreReflection to
      do that, on success it returs true otherwise false.
      
      Change-Id: I18895127bcbd92dc7a25feb5d82a7d1343bde851
      f97d7946
    • Eike Rathke's avatar
      simpleExtract() with variants · 49656398
      Eike Rathke yazdı
      rsc needs to resolve all known defined languages without access to
      liblangtag because that would need
      /usr/local/share/liblangtag/language-subtag-registry.xml so we'd end up
      with a bootstrap problem (or would have to pass the database path).
      
      Change-Id: I6b966d45080da26cb89169cdb40cd8a58c04a276
      49656398
    • Caolán McNamara's avatar
      Updated core · 8614ff29
      Caolán McNamara yazdı
      Project: help  c43188ed28a2cf2b32f459e5b45abdc46d9cdd23
      8614ff29
    • Armin Le Grand's avatar
      Resolves: #i122820# Corrected graphics creation... · 89d01a7d
      Armin Le Grand yazdı
      allow bigger limits if directly requested
      
      (cherry picked from commit 50f1445b)
      
      Conflicts:
      	svx/source/unodraw/UnoGraphicExporter.cxx
      
      Change-Id: I33576ef9f95b9f8a9fa0ab6f6d83c93ecec8da9f
      89d01a7d
    • Caolán McNamara's avatar
      convert apply styles dialog to .ui · d649afe8
      Caolán McNamara yazdı
      Change-Id: Id596ceaebc0dda3be046be89f22b6bf1a304fa4e
      d649afe8
    • Michael Stahl's avatar
      ucb: rename "cmisucp" log area for consistency · 24a07633
      Michael Stahl yazdı
      Change-Id: Ie9ef3324bb7a9e954db57548d7862a90b070ebd3
      24a07633
    • Michael Stahl's avatar
      ucb: add missing ucb.core log area, and ftp/ext too · b9ac217b
      Michael Stahl yazdı
      Change-Id: Ifa2df0e2dcc193ae02202687c0d6b7ab930db58f
      b9ac217b
    • Ivan Timofeev's avatar
      String->OUString · 5d6a994c
      Ivan Timofeev yazdı
      Change-Id: Ic7e61d002638991f2d69462d343f1b29bc9b0040
      5d6a994c
    • Ivan Timofeev's avatar
      String->OUString · 96ad9c96
      Ivan Timofeev yazdı
      Change-Id: I0557dcc191aab97adb6aa68ebee1970a11600f4f
      96ad9c96
    • Ivan Timofeev's avatar
      remove unused vars · 45b757f1
      Ivan Timofeev yazdı
      Change-Id: I2e7caabbc8464a2a6ee214085e7ea43ba436e030
      45b757f1
    • Jesús Corrius's avatar
      We don't support Win9x anymore, remove legacy code · a03b1876
      Jesús Corrius yazdı
      Change-Id: I12afdc1c25bb09d20fd0698831642b953e08bb63
      a03b1876
    • Michael Stahl's avatar
      fdo#68750: ensure that GetSuggestedEndOfSentence makes progress · b2399975
      Michael Stahl yazdı
      Checking a string of 17399 spaces takes 20 seconds here in
      GrammarCheckingIterator::GetSuggestedEndOfSentence() because
      BreakIterator_Unicode::endOfSentence() will always return
      0 as a result regardless of what nStartPos it gets.
      
      Change-Id: Id02440a91d7015c2896e387854445ee5383092fa
      b2399975
    • Cédric Bosdonnat's avatar
      ucb: fixed bad init of shared_ptr · 8248dbeb
      Cédric Bosdonnat yazdı
      Change-Id: I3d7fc2c01d58da58eb984ad5c10435f86f87f56a
      8248dbeb
    • Caolán McNamara's avatar
      rework SwIndexTreeLB to be a SvSimpleTable to make .ui conversion easier · 77173d89
      Caolán McNamara yazdı
      Change-Id: I7ce02cb53e6164e69f0d4efd9863ba16a4fab025
      77173d89
    • Stephan Bergmann's avatar
      @RESPONSEFILE shouldn't be necessary for the few cppumaker -X arguments · c5f1941b
      Stephan Bergmann yazdı
      Change-Id: I4d53223c12b7c8f793b236f9b2657bd339b345e9
      c5f1941b
    • Tor Lillqvist's avatar
      WaE: use of logical '&&' with constant operand · 953d4661
      Tor Lillqvist yazdı
      A warning that reveals what surely must be coding glitches. Thanks,
      Clang.
      
      Change-Id: Ieb1e09b91a4ab63c2ab15bb4874ac82b57c174cf
      953d4661
    • Viktor Varga's avatar
      pocheck now removes entries from .po files which are incorrect · b8d1e88e
      Viktor Varga yazdı
      Change-Id: I1749714154be9c2aea7a8623719c38601abc13ba
      Reviewed-on: https://gerrit.libreoffice.org/5750Reviewed-by: 's avatarAndras Timar <atimar@suse.com>
      Tested-by: 's avatarAndras Timar <atimar@suse.com>
      b8d1e88e
    • Tor Lillqvist's avatar
      WaE: implicit conversion of NULL constant to 'boost::detail::sp_nullptr_t' · 7dca33cc
      Tor Lillqvist yazdı
      Change-Id: I556d03a5bbd74faa26d73a8e84147c9743c20507
      7dca33cc
    • Tor Lillqvist's avatar
      WaE: unused function 'removeFragment' · b50d3727
      Tor Lillqvist yazdı
      Change-Id: I9f62a2eef5113e0ab1c06f818b2a64ad84c06b84
      b50d3727
    • Eike Rathke's avatar
      prepare to accept partial BCP47 (lll-Ssss-CC-vvvvvvvv) · 81c54e60
      Eike Rathke yazdı
      Change-Id: I3c65cb43696a829f29ab573b7b6e424a39d1a547
      81c54e60