1 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14 * ParameterStruct.h: ditto
15 * ParagraphParameters.h: ditto
16 * lyxparagraph.h: ditto
18 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
20 * buffer.C: add compability for minipage alignment.
21 (latexParagraphs): remove unwanted pextra check.
23 * several files: remove CXX_WORKING_NAMESPACES
25 * buffer.C (pop_tag): tie is in namespace boost
27 * BufferView.h: noncopyable is in namespace boost
34 * ShareContainer.h: ditto
39 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
41 * Merging changes from BRANCH_MVC back into HEAD.
43 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
45 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
47 * lyxfunc.C (Dispatch): removed redundant break statement.
49 2001-03-14 Juergen Vigna <jug@sad.it>
51 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
53 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
55 * buffer.C: add hack to fix compability reading of minipages.
57 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
59 * buffer.C (getLists): Cleanup.
61 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
63 * lyxfont.C (update): don't honor toggleall on font size.
65 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
67 * gettext.h: fix gettext_init() in --disable-nls
69 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
71 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
73 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
76 * lyx.h: strip external form
78 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
80 * BufferView_pimpl.C: add comment, destroySplash()
82 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
88 * lyxfunc.C: use re-worked insetinclude
90 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
92 * buffer.C: add using std::stringstream.
94 * lyx_cb.C: readd using std::ios.
96 * buffer.C: add using std::map.
98 * BufferView_pimpl.C: add using std::vector.
100 * ShareContainer.h: add std:: to swap.
102 * buffer.h: add some typedefs
103 * buffer.C (getLists): use them
104 (getLists): renamed from getTocList.
105 add a counter for the different float types and use it in the
107 (getLists): use the same counter for the NEW_INSETS and the "non"
110 * lyx_cb.h: remove unused items, includes, using etc.
112 * ShareContainer.h: remove some commented code, add more comments
115 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
117 * buffer.C (getTocList): make the list also when NEW_INSETS is
120 * buffer.h: remove TocType
122 * buffer.C (getTocList): change to return a map<string,
123 vector<TocItem> >, implement for dynamic number of list.
125 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
126 * text2.C (PasteSelection): adjust
127 * CutAndPaste.C (pasteSelection): adjust
129 * FloatList.C (FloatList): update from the new_insets branch.
130 * Floating.[Ch]: ditto
131 * LaTeXFeatures.C: ditto
133 * lyxlex_pimpl.C: ditto
135 * paragraph.C (Last): remove when NEW_INSETS is defined.
137 * other file: changes because of the above.
139 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
141 * lyxparagraph.h: rename next to next_, previous to previous_,
142 make them private for NEW_INSETS. Rename Next() to next(),
143 Previous() to previous().
145 * other files: changes because of the above.
147 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
150 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
153 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
155 * main.C (main): pass lyx_localedir to gettext_init().
157 * gettext.h: remove locale_init and gettext_init macros
159 * gettext.C (locale_init): new function
160 (gettext_init): new function
162 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
165 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
167 * Moved credits to frontends:
168 * credits.[Ch]: removed
169 * credits_form.[Ch]: removed
170 * lyx_gui_misc.C: remove credits stuff
173 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
175 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
177 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
180 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
181 a standalone pointer again.
183 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
185 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
200 * BufferView_pimpl.C: use new file dialog in GUII
203 * lyx_cb.C: remove LayoutsCB to Toolbar
205 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
207 * ShareContainer.h (get): add std:: qualifier
209 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
211 * ShareContainer.h: define a proper ShareContainer::value_type
212 type (and use typename to please compaq cxx)
214 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
216 * lyxparagraph.h: move serveral local vars to
217 ParameterStruct/ParagraphParameters., use ShareContainer in
218 FontTable., make vars in FontTable private and add getter and
221 * paragraph.C: changes because of the above.
223 * lyxfont.h: remove copy constructor and copy assignment. (the
224 default ones is ok), move number inside FontBits. move inlines to
227 * lyxfont.C: add number to initializaton of statics, move several
228 inlines here. constify several local vars. some whitespace
229 cleanup. Dont hide outerscope variables.
231 * Spacing.h: add two new constructors to match the set methods.
233 * ShareContainer.h: new file, will perhaps be moved to support
235 * ParameterStruct.h: new file
237 * ParagraphParameters.h: new file
239 * ParagraphParameters.C: new file
241 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
242 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
244 * BufferView_pimpl.C: ParagraphParameter changes.
245 * buffer.C: Likewise.
246 * bufferview_funcs.C: Likewise.
250 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
252 * lyxfind.C (LyXReplace): do not redefine default argument in
254 (IsStringInText): ditto
255 (SearchForward): ditto
256 (SearchBackward): ditto
258 2001-03-06 Juergen Vigna <jug@sad.it>
260 * lyxfind.C (IsStringInText): put parentes around expressions.
262 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
264 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
266 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
268 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
270 * stl_string_fwd.h: add comment
272 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
275 * tabular.C: remove unused DocBook methods
281 killed DO_USE_DEFAULT_LANGUAGE
283 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
285 * lyx_gui.C: do not include language.h.
287 * bufferview_funcs.C (ToggleAndShow): do not provide optional
288 arguments in function implementation.
290 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
292 * BufferView_pimpl.C: add <ctime>
294 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
296 * BufferView_pimpl.C: add using std::find_if
298 2001-02-27 José Matos <jamatos@fep.up.pt>
300 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
303 2001-02-11 José Matos <jamatos@fep.up.pt>
305 * buffer.C (makeDocBookFile): command styles now have a parameter as
308 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
310 * layout_forms.[Ch]: removed
311 * lyx_cb.[Ch]: out character
312 * lyx_gui.C: out character
313 * lyx_gui_misc.C: out character
314 * bufferview_funcs.C: : out character,
315 added toggleall as parameter in ToggleAndShow
317 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
319 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
321 * text2.C (SetCurrentFont): Disable number property at boundary.
323 2001-02-26 Juergen Vigna <jug@sad.it>
325 * lyxfunc.C (getStatus): added a string argument override function so
326 that this is correctly called from LyXFunc::Dispatch if it contains a
327 do_not_use_argument which is used!
328 (Dispatch): added check for "custom" export and call appropriate func.
330 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
332 * lyxrc.C: Add language_command_local, language_use_babel and
333 language_global_options.
335 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
337 * buffer.C (makeLaTeXFile): Use language_use_babel and
338 language_global_options.
340 2001-02-23 Juergen Vigna <jug@sad.it>
342 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
343 which works with LyXText and putted it inside BufferView. Here now we
344 only call for that part the BufferView::Dispatch() function.
346 * BufferView.C (Dispatch): added.
348 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
349 functions which needs to use a LyXText over from LyXFunc.
350 (MenuInsertLyXFile): added
351 (getInsetByCode): added
352 (moveCursorUpdate): added
355 2001-02-22 Juergen Vigna <jug@sad.it>
357 * BufferView_pimpl.C (update): call a status update to see if LyXText
360 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
362 * vc-backend.C (revert): implement for CVS
363 (getLog): implement for CVS
365 2001-02-20 Juergen Vigna <jug@sad.it>
367 * text2.C (ClearSelection): added BufferView param for inset_owner call
369 * lyxfunc.C (TEXT): added this function and use it instead of
370 directly owner->view()-text of getLyXText().
372 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
374 * src/layout_forms.C: out preamble
375 * src/layout_forms.h: out preamble
376 * src/lyx_cb.C: out preamble
377 * src/lyx_cb.h: out preamble
378 * src/lyx_gui.C: out preamble
379 * src/lyx_gui_misc.C: out preamble
380 * src/lyxfunc.C: connect with guii preamble
382 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
384 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
386 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
388 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
389 whether to run bibtex.
391 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
393 * Makefile.am (lyx_SOURCES): Remove BackStack.h
395 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
397 * Makefile.am (lyx_SOURCES): removed bibforms.h
401 * text.C (GetVisibleRow): make several local vars const
403 * tabular.C: small cleanup.
405 * lyxserver.C (callback): use compare instead of strncmp
407 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
408 inlines to after class or to paragraph.C
410 * lyxfont.h: remove friend operator!=
412 * converter.h: move friend bool operator< to non friend and after
415 * combox.h: small cleanup
417 * buffer.h: doxygen, remove unused constructor, move inclas inlies
418 to inlines after class def.
420 * buffer.C (pop_tag): use string operations instead of strcmp
422 * bmtable.c: doxygen, small cleanup
424 * LaTeX.h: remove friend operator==
426 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
438 * BufferView_pimpl.C:
439 * BufferView.[Ch]: remove cruft
441 2001-02-14 Juergen Vigna <jug@sad.it>
443 * lyxfunc.C: removed #if 0 unused code
445 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
447 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
449 * text2.C (SetSelection): added a BufferView * parameter
451 2001-02-13 Juergen Vigna <jug@sad.it>
453 * lyxfunc.C (Dispatch): fixed protected blank problem.
454 * BufferView2.C (protectedBlank): added LyxText * parameter.
456 * tabular.C (AppendRow): forgot to set row_info of newly added row.
457 (AppendColumn): same as above for column_info.
459 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
460 (moveCursorUpdate): use a LyXText param for support of InsetText.
462 * BufferView_pimpl.C (doubleClick): added support for InsetText.
465 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
467 * BufferView_pimpl.C (update): added LyXText param to honor insets.
469 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
471 * text2.C (SetSelection): set correct update status if inset_owner
474 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
476 * tabular.C: remove some commented code.
478 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
480 * BufferView_pimpl.C: call hideSplash()
482 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
488 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
489 add LFUN_CHILD_CREATE
491 * counters.h: fix tiny typo
496 * lyx.C: move splash to frontends/xforms/
498 * lyx_gui_misc.C: move Include and Bibform to frontends
500 * lyxvc.h: clarify comment
502 * vspace.C: tiny housekeeping
504 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
506 * text.C (PrepareToPrint): RTL Fix.
508 * paragraph.C (GetUChar): New method.
509 (String): Use GetUChar.
511 * buffer.C (asciiParagraph): Use GetUChar.
513 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
515 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
517 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
520 * buffer.C: rename to getLogName(), handle
521 build log / latex log nicely
523 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
526 * MenuBackend.h: remove support for reference menuitem type.
528 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
530 * BufferView_pimpl.C: housekeeping
531 * BufferView_pimpl.h:
536 * minibuffer.h: move Timeout GUI-I
538 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
540 * lyxrc.C (read): Update converters data-structures.
542 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
544 * LaTeX.h (operator!=): add operator != for Aux_Info
546 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
548 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
550 * LaTeXLog.C: deleted, useful code moved to Buffer
553 * buffer.C: new function getLatexLogName()
559 * lyxfunc.C: use frontends for LaTeX and VC logs
561 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
563 * LaTeX.h: yet another std:: that Allan forgot.
565 * Variables.C (set): renamed from isset(), because this clashes
566 with some HP-UX macros (grr).
568 2001-02-06 Allan Rae <rae@lyx.org>
570 * LaTeX.h: Another bug fix. Missing std:: this time.
572 2001-02-04 Allan Rae <rae@lyx.org>
574 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
575 floats problem. I've left it commented out because it's not quite
576 correct. It should also test that the current object is a table or
577 figure inset. But I haven't gotten around to figuring out how to do
578 that. I *think* it'll be something like: "table" == inset.type()
580 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
583 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
585 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
586 all the citation/databases/styles in the auxilary file.
587 (run): Rerun latex if there was a babel language error.
589 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
591 * text.C (Backspace): Preserve the font when changing newline char
593 (BreakParagraph): If the cursor is before a space, delete the space.
595 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
597 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
599 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
601 (ChangeCitationsIfUnique): New method.
603 * paragraph.C (GetPositionOfInset): Handle bibkey.
605 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
607 * BufferView_pimpl.h: change type of Position::par_pos to
608 LyXParagraph::size_type.
610 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
612 * BufferView_pimpl.C (savePosition, restorePosition): Write
613 messages to minibuffer.
615 2001-01-28 José Matos <jamatos@fep.up.pt>
617 * buffer.C (makeDocBookFile): adds support for document language.
618 A silly restriction on the name of LatexCommand types where removed.
619 Added support for CDATA sections, allows to chars unescaped, used
620 among others in code, to avoid escape < and >.
622 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
624 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
625 saved positions instrad of a stack. Furthermore, a position is
626 stored using paragraph id/paragraph position.
628 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
629 Remove LFUN_REF_BACK.
631 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
633 * converter.C (dvipdfm_options): New method.
635 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
637 * vspace.C (isValidLength): Fix for empty input string.
639 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
641 * LyXAction.C (init): change description of LFUN_FIGURE to
644 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
646 * LaTeX.C: add using directive
648 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
650 * MenuBackend.C (expand): Fix the sorting of the formats.
652 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
654 * lyx_main.C: tiny error message fix
656 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
658 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
659 calling fl_initialize(). This fixes the problem with ',' as
660 decimal separator in text files.
662 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
664 * trans.C (process): Fix the keymap bug.
666 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
668 * LaTeX.C (scanAuxFiles): New method. Provides support for
669 multiple bibliographies (when using the bibtopic/bibunits pacakges).
670 (scanLogFile) Scan for "run BibTeX" messages.
672 * buffer.C (makeLaTeXFile): Do not load the ae package when using
673 OT1 font encoding. Also, load the aecompl package if the ae
676 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
678 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
680 * texrow.C (increasePos): turn two error messages into debug
683 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
685 * LaTeX.C (scanAux): Handle the \@input macro.
686 (runBibTeX): Use scanAux().
688 * language.C (latex_options_): New field.
690 * LaTeXFeatures.C (getMacros): Add language macros.
692 * buffer.C (makeLaTeXFile): Small fix.
694 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
696 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
698 * text2.C: add a using directive.
700 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
705 * lyxfunc.C: kill LyXBell.
707 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
709 * text.C (IsBoundary): Remove the error message
711 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
713 * lyxrc.C (setDefaults): Correct initialization value for
716 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
718 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
721 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
724 * src/LyXAction.C: Added reference-next.
726 * text.C (InsertChar): Use contains instead of strchr.
728 * lyx_cb.C (MenuInsertLabel): Enable default value code.
730 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
732 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
733 alignment commands (when needed).
735 * text.C (InsertChar): Add ':' to number separator chars.