1 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3 * Merging changes from BRANCH_MVC back into HEAD.
5 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9 * lyxfunc.C (Dispatch): removed redundant break statement.
11 2001-03-14 Juergen Vigna <jug@sad.it>
13 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17 * buffer.C: add hack to fix compability reading of minipages.
19 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
21 * buffer.C (getLists): Cleanup.
23 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
25 * lyxfont.C (update): don't honor toggleall on font size.
27 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
29 * gettext.h: fix gettext_init() in --disable-nls
31 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
33 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
35 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
38 * lyx.h: strip external form
40 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
42 * BufferView_pimpl.C: add comment, destroySplash()
44 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
50 * lyxfunc.C: use re-worked insetinclude
52 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
54 * buffer.C: add using std::stringstream.
56 * lyx_cb.C: readd using std::ios.
58 * buffer.C: add using std::map.
60 * BufferView_pimpl.C: add using std::vector.
62 * ShareContainer.h: add std:: to swap.
64 * buffer.h: add some typedefs
65 * buffer.C (getLists): use them
66 (getLists): renamed from getTocList.
67 add a counter for the different float types and use it in the
69 (getLists): use the same counter for the NEW_INSETS and the "non"
72 * lyx_cb.h: remove unused items, includes, using etc.
74 * ShareContainer.h: remove some commented code, add more comments
77 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
79 * buffer.C (getTocList): make the list also when NEW_INSETS is
82 * buffer.h: remove TocType
84 * buffer.C (getTocList): change to return a map<string,
85 vector<TocItem> >, implement for dynamic number of list.
87 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
88 * text2.C (PasteSelection): adjust
89 * CutAndPaste.C (pasteSelection): adjust
91 * FloatList.C (FloatList): update from the new_insets branch.
92 * Floating.[Ch]: ditto
93 * LaTeXFeatures.C: ditto
95 * lyxlex_pimpl.C: ditto
97 * paragraph.C (Last): remove when NEW_INSETS is defined.
99 * other file: changes because of the above.
101 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
103 * lyxparagraph.h: rename next to next_, previous to previous_,
104 make them private for NEW_INSETS. Rename Next() to next(),
105 Previous() to previous().
107 * other files: changes because of the above.
109 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
112 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
115 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
117 * main.C (main): pass lyx_localedir to gettext_init().
119 * gettext.h: remove locale_init and gettext_init macros
121 * gettext.C (locale_init): new function
122 (gettext_init): new function
124 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
127 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
129 * Moved credits to frontends:
130 * credits.[Ch]: removed
131 * credits_form.[Ch]: removed
132 * lyx_gui_misc.C: remove credits stuff
135 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
137 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
139 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
142 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
143 a standalone pointer again.
145 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
147 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
162 * BufferView_pimpl.C: use new file dialog in GUII
165 * lyx_cb.C: remove LayoutsCB to Toolbar
167 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
169 * ShareContainer.h (get): add std:: qualifier
171 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
173 * ShareContainer.h: define a proper ShareContainer::value_type
174 type (and use typename to please compaq cxx)
176 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
178 * lyxparagraph.h: move serveral local vars to
179 ParameterStruct/ParagraphParameters., use ShareContainer in
180 FontTable., make vars in FontTable private and add getter and
183 * paragraph.C: changes because of the above.
185 * lyxfont.h: remove copy constructor and copy assignment. (the
186 default ones is ok), move number inside FontBits. move inlines to
189 * lyxfont.C: add number to initializaton of statics, move several
190 inlines here. constify several local vars. some whitespace
191 cleanup. Dont hide outerscope variables.
193 * Spacing.h: add two new constructors to match the set methods.
195 * ShareContainer.h: new file, will perhaps be moved to support
197 * ParameterStruct.h: new file
199 * ParagraphParameters.h: new file
201 * ParagraphParameters.C: new file
203 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
204 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
206 * BufferView_pimpl.C: ParagraphParameter changes.
207 * buffer.C: Likewise.
208 * bufferview_funcs.C: Likewise.
212 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
214 * lyxfind.C (LyXReplace): do not redefine default argument in
216 (IsStringInText): ditto
217 (SearchForward): ditto
218 (SearchBackward): ditto
220 2001-03-06 Juergen Vigna <jug@sad.it>
222 * lyxfind.C (IsStringInText): put parentes around expressions.
224 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
226 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
228 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
230 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
232 * stl_string_fwd.h: add comment
234 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
237 * tabular.C: remove unused DocBook methods
243 killed DO_USE_DEFAULT_LANGUAGE
245 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
247 * lyx_gui.C: do not include language.h.
249 * bufferview_funcs.C (ToggleAndShow): do not provide optional
250 arguments in function implementation.
252 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
254 * BufferView_pimpl.C: add <ctime>
256 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
258 * BufferView_pimpl.C: add using std::find_if
260 2001-02-27 José Matos <jamatos@fep.up.pt>
262 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
265 2001-02-11 José Matos <jamatos@fep.up.pt>
267 * buffer.C (makeDocBookFile): command styles now have a parameter as
270 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
272 * layout_forms.[Ch]: removed
273 * lyx_cb.[Ch]: out character
274 * lyx_gui.C: out character
275 * lyx_gui_misc.C: out character
276 * bufferview_funcs.C: : out character,
277 added toggleall as parameter in ToggleAndShow
279 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
281 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
283 * text2.C (SetCurrentFont): Disable number property at boundary.
285 2001-02-26 Juergen Vigna <jug@sad.it>
287 * lyxfunc.C (getStatus): added a string argument override function so
288 that this is correctly called from LyXFunc::Dispatch if it contains a
289 do_not_use_argument which is used!
290 (Dispatch): added check for "custom" export and call appropriate func.
292 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
294 * lyxrc.C: Add language_command_local, language_use_babel and
295 language_global_options.
297 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
299 * buffer.C (makeLaTeXFile): Use language_use_babel and
300 language_global_options.
302 2001-02-23 Juergen Vigna <jug@sad.it>
304 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
305 which works with LyXText and putted it inside BufferView. Here now we
306 only call for that part the BufferView::Dispatch() function.
308 * BufferView.C (Dispatch): added.
310 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
311 functions which needs to use a LyXText over from LyXFunc.
312 (MenuInsertLyXFile): added
313 (getInsetByCode): added
314 (moveCursorUpdate): added
317 2001-02-22 Juergen Vigna <jug@sad.it>
319 * BufferView_pimpl.C (update): call a status update to see if LyXText
322 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
324 * vc-backend.C (revert): implement for CVS
325 (getLog): implement for CVS
327 2001-02-20 Juergen Vigna <jug@sad.it>
329 * text2.C (ClearSelection): added BufferView param for inset_owner call
331 * lyxfunc.C (TEXT): added this function and use it instead of
332 directly owner->view()-text of getLyXText().
334 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
336 * src/layout_forms.C: out preamble
337 * src/layout_forms.h: out preamble
338 * src/lyx_cb.C: out preamble
339 * src/lyx_cb.h: out preamble
340 * src/lyx_gui.C: out preamble
341 * src/lyx_gui_misc.C: out preamble
342 * src/lyxfunc.C: connect with guii preamble
344 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
346 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
348 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
350 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
351 whether to run bibtex.
353 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
355 * Makefile.am (lyx_SOURCES): Remove BackStack.h
357 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
359 * Makefile.am (lyx_SOURCES): removed bibforms.h
363 * text.C (GetVisibleRow): make several local vars const
365 * tabular.C: small cleanup.
367 * lyxserver.C (callback): use compare instead of strncmp
369 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
370 inlines to after class or to paragraph.C
372 * lyxfont.h: remove friend operator!=
374 * converter.h: move friend bool operator< to non friend and after
377 * combox.h: small cleanup
379 * buffer.h: doxygen, remove unused constructor, move inclas inlies
380 to inlines after class def.
382 * buffer.C (pop_tag): use string operations instead of strcmp
384 * bmtable.c: doxygen, small cleanup
386 * LaTeX.h: remove friend operator==
388 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
400 * BufferView_pimpl.C:
401 * BufferView.[Ch]: remove cruft
403 2001-02-14 Juergen Vigna <jug@sad.it>
405 * lyxfunc.C: removed #if 0 unused code
407 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
409 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
411 * text2.C (SetSelection): added a BufferView * parameter
413 2001-02-13 Juergen Vigna <jug@sad.it>
415 * lyxfunc.C (Dispatch): fixed protected blank problem.
416 * BufferView2.C (protectedBlank): added LyxText * parameter.
418 * tabular.C (AppendRow): forgot to set row_info of newly added row.
419 (AppendColumn): same as above for column_info.
421 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
422 (moveCursorUpdate): use a LyXText param for support of InsetText.
424 * BufferView_pimpl.C (doubleClick): added support for InsetText.
427 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
429 * BufferView_pimpl.C (update): added LyXText param to honor insets.
431 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
433 * text2.C (SetSelection): set correct update status if inset_owner
436 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
438 * tabular.C: remove some commented code.
440 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
442 * BufferView_pimpl.C: call hideSplash()
444 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
450 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
451 add LFUN_CHILD_CREATE
453 * counters.h: fix tiny typo
458 * lyx.C: move splash to frontends/xforms/
460 * lyx_gui_misc.C: move Include and Bibform to frontends
462 * lyxvc.h: clarify comment
464 * vspace.C: tiny housekeeping
466 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
468 * text.C (PrepareToPrint): RTL Fix.
470 * paragraph.C (GetUChar): New method.
471 (String): Use GetUChar.
473 * buffer.C (asciiParagraph): Use GetUChar.
475 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
477 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
479 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
482 * buffer.C: rename to getLogName(), handle
483 build log / latex log nicely
485 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
488 * MenuBackend.h: remove support for reference menuitem type.
490 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
492 * BufferView_pimpl.C: housekeeping
493 * BufferView_pimpl.h:
498 * minibuffer.h: move Timeout GUI-I
500 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
502 * lyxrc.C (read): Update converters data-structures.
504 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
506 * LaTeX.h (operator!=): add operator != for Aux_Info
508 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
510 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
512 * LaTeXLog.C: deleted, useful code moved to Buffer
515 * buffer.C: new function getLatexLogName()
521 * lyxfunc.C: use frontends for LaTeX and VC logs
523 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
525 * LaTeX.h: yet another std:: that Allan forgot.
527 * Variables.C (set): renamed from isset(), because this clashes
528 with some HP-UX macros (grr).
530 2001-02-06 Allan Rae <rae@lyx.org>
532 * LaTeX.h: Another bug fix. Missing std:: this time.
534 2001-02-04 Allan Rae <rae@lyx.org>
536 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
537 floats problem. I've left it commented out because it's not quite
538 correct. It should also test that the current object is a table or
539 figure inset. But I haven't gotten around to figuring out how to do
540 that. I *think* it'll be something like: "table" == inset.type()
542 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
545 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
547 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
548 all the citation/databases/styles in the auxilary file.
549 (run): Rerun latex if there was a babel language error.
551 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
553 * text.C (Backspace): Preserve the font when changing newline char
555 (BreakParagraph): If the cursor is before a space, delete the space.
557 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
559 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
561 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
563 (ChangeCitationsIfUnique): New method.
565 * paragraph.C (GetPositionOfInset): Handle bibkey.
567 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
569 * BufferView_pimpl.h: change type of Position::par_pos to
570 LyXParagraph::size_type.
572 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
574 * BufferView_pimpl.C (savePosition, restorePosition): Write
575 messages to minibuffer.
577 2001-01-28 José Matos <jamatos@fep.up.pt>
579 * buffer.C (makeDocBookFile): adds support for document language.
580 A silly restriction on the name of LatexCommand types where removed.
581 Added support for CDATA sections, allows to chars unescaped, used
582 among others in code, to avoid escape < and >.
584 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
586 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
587 saved positions instrad of a stack. Furthermore, a position is
588 stored using paragraph id/paragraph position.
590 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
591 Remove LFUN_REF_BACK.
593 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
595 * converter.C (dvipdfm_options): New method.
597 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
599 * vspace.C (isValidLength): Fix for empty input string.
601 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
603 * LyXAction.C (init): change description of LFUN_FIGURE to
606 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
608 * LaTeX.C: add using directive
610 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
612 * MenuBackend.C (expand): Fix the sorting of the formats.
614 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
616 * lyx_main.C: tiny error message fix
618 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
620 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
621 calling fl_initialize(). This fixes the problem with ',' as
622 decimal separator in text files.
624 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
626 * trans.C (process): Fix the keymap bug.
628 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
630 * LaTeX.C (scanAuxFiles): New method. Provides support for
631 multiple bibliographies (when using the bibtopic/bibunits pacakges).
632 (scanLogFile) Scan for "run BibTeX" messages.
634 * buffer.C (makeLaTeXFile): Do not load the ae package when using
635 OT1 font encoding. Also, load the aecompl package if the ae
638 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
640 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
642 * texrow.C (increasePos): turn two error messages into debug
645 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
647 * LaTeX.C (scanAux): Handle the \@input macro.
648 (runBibTeX): Use scanAux().
650 * language.C (latex_options_): New field.
652 * LaTeXFeatures.C (getMacros): Add language macros.
654 * buffer.C (makeLaTeXFile): Small fix.
656 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
658 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
660 * text2.C: add a using directive.
662 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
667 * lyxfunc.C: kill LyXBell.
669 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
671 * text.C (IsBoundary): Remove the error message
673 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
675 * lyxrc.C (setDefaults): Correct initialization value for
678 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
680 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
683 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
686 * src/LyXAction.C: Added reference-next.
688 * text.C (InsertChar): Use contains instead of strchr.
690 * lyx_cb.C (MenuInsertLabel): Enable default value code.
692 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
694 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
695 alignment commands (when needed).
697 * text.C (InsertChar): Add ':' to number separator chars.