1 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3 * buffer.C: add compability for minipage alignment.
4 (latexParagraphs): remove unwanted pextra check.
6 * several files: remove CXX_WORKING_NAMESPACES
8 * buffer.C (pop_tag): tie is in namespace boost
10 * BufferView.h: noncopyable is in namespace boost
17 * ShareContainer.h: ditto
22 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
24 * Merging changes from BRANCH_MVC back into HEAD.
26 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
28 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
30 * lyxfunc.C (Dispatch): removed redundant break statement.
32 2001-03-14 Juergen Vigna <jug@sad.it>
34 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
36 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
38 * buffer.C: add hack to fix compability reading of minipages.
40 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
42 * buffer.C (getLists): Cleanup.
44 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
46 * lyxfont.C (update): don't honor toggleall on font size.
48 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
50 * gettext.h: fix gettext_init() in --disable-nls
52 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
54 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
56 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
59 * lyx.h: strip external form
61 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
63 * BufferView_pimpl.C: add comment, destroySplash()
65 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
71 * lyxfunc.C: use re-worked insetinclude
73 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
75 * buffer.C: add using std::stringstream.
77 * lyx_cb.C: readd using std::ios.
79 * buffer.C: add using std::map.
81 * BufferView_pimpl.C: add using std::vector.
83 * ShareContainer.h: add std:: to swap.
85 * buffer.h: add some typedefs
86 * buffer.C (getLists): use them
87 (getLists): renamed from getTocList.
88 add a counter for the different float types and use it in the
90 (getLists): use the same counter for the NEW_INSETS and the "non"
93 * lyx_cb.h: remove unused items, includes, using etc.
95 * ShareContainer.h: remove some commented code, add more comments
98 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
100 * buffer.C (getTocList): make the list also when NEW_INSETS is
103 * buffer.h: remove TocType
105 * buffer.C (getTocList): change to return a map<string,
106 vector<TocItem> >, implement for dynamic number of list.
108 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
109 * text2.C (PasteSelection): adjust
110 * CutAndPaste.C (pasteSelection): adjust
112 * FloatList.C (FloatList): update from the new_insets branch.
113 * Floating.[Ch]: ditto
114 * LaTeXFeatures.C: ditto
116 * lyxlex_pimpl.C: ditto
118 * paragraph.C (Last): remove when NEW_INSETS is defined.
120 * other file: changes because of the above.
122 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
124 * lyxparagraph.h: rename next to next_, previous to previous_,
125 make them private for NEW_INSETS. Rename Next() to next(),
126 Previous() to previous().
128 * other files: changes because of the above.
130 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
133 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
136 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
138 * main.C (main): pass lyx_localedir to gettext_init().
140 * gettext.h: remove locale_init and gettext_init macros
142 * gettext.C (locale_init): new function
143 (gettext_init): new function
145 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
148 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
150 * Moved credits to frontends:
151 * credits.[Ch]: removed
152 * credits_form.[Ch]: removed
153 * lyx_gui_misc.C: remove credits stuff
156 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
158 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
160 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
163 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
164 a standalone pointer again.
166 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
168 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
183 * BufferView_pimpl.C: use new file dialog in GUII
186 * lyx_cb.C: remove LayoutsCB to Toolbar
188 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
190 * ShareContainer.h (get): add std:: qualifier
192 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
194 * ShareContainer.h: define a proper ShareContainer::value_type
195 type (and use typename to please compaq cxx)
197 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
199 * lyxparagraph.h: move serveral local vars to
200 ParameterStruct/ParagraphParameters., use ShareContainer in
201 FontTable., make vars in FontTable private and add getter and
204 * paragraph.C: changes because of the above.
206 * lyxfont.h: remove copy constructor and copy assignment. (the
207 default ones is ok), move number inside FontBits. move inlines to
210 * lyxfont.C: add number to initializaton of statics, move several
211 inlines here. constify several local vars. some whitespace
212 cleanup. Dont hide outerscope variables.
214 * Spacing.h: add two new constructors to match the set methods.
216 * ShareContainer.h: new file, will perhaps be moved to support
218 * ParameterStruct.h: new file
220 * ParagraphParameters.h: new file
222 * ParagraphParameters.C: new file
224 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
225 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
227 * BufferView_pimpl.C: ParagraphParameter changes.
228 * buffer.C: Likewise.
229 * bufferview_funcs.C: Likewise.
233 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
235 * lyxfind.C (LyXReplace): do not redefine default argument in
237 (IsStringInText): ditto
238 (SearchForward): ditto
239 (SearchBackward): ditto
241 2001-03-06 Juergen Vigna <jug@sad.it>
243 * lyxfind.C (IsStringInText): put parentes around expressions.
245 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
247 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
249 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
251 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
253 * stl_string_fwd.h: add comment
255 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
258 * tabular.C: remove unused DocBook methods
264 killed DO_USE_DEFAULT_LANGUAGE
266 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
268 * lyx_gui.C: do not include language.h.
270 * bufferview_funcs.C (ToggleAndShow): do not provide optional
271 arguments in function implementation.
273 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
275 * BufferView_pimpl.C: add <ctime>
277 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
279 * BufferView_pimpl.C: add using std::find_if
281 2001-02-27 José Matos <jamatos@fep.up.pt>
283 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
286 2001-02-11 José Matos <jamatos@fep.up.pt>
288 * buffer.C (makeDocBookFile): command styles now have a parameter as
291 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
293 * layout_forms.[Ch]: removed
294 * lyx_cb.[Ch]: out character
295 * lyx_gui.C: out character
296 * lyx_gui_misc.C: out character
297 * bufferview_funcs.C: : out character,
298 added toggleall as parameter in ToggleAndShow
300 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
302 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
304 * text2.C (SetCurrentFont): Disable number property at boundary.
306 2001-02-26 Juergen Vigna <jug@sad.it>
308 * lyxfunc.C (getStatus): added a string argument override function so
309 that this is correctly called from LyXFunc::Dispatch if it contains a
310 do_not_use_argument which is used!
311 (Dispatch): added check for "custom" export and call appropriate func.
313 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
315 * lyxrc.C: Add language_command_local, language_use_babel and
316 language_global_options.
318 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
320 * buffer.C (makeLaTeXFile): Use language_use_babel and
321 language_global_options.
323 2001-02-23 Juergen Vigna <jug@sad.it>
325 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
326 which works with LyXText and putted it inside BufferView. Here now we
327 only call for that part the BufferView::Dispatch() function.
329 * BufferView.C (Dispatch): added.
331 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
332 functions which needs to use a LyXText over from LyXFunc.
333 (MenuInsertLyXFile): added
334 (getInsetByCode): added
335 (moveCursorUpdate): added
338 2001-02-22 Juergen Vigna <jug@sad.it>
340 * BufferView_pimpl.C (update): call a status update to see if LyXText
343 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
345 * vc-backend.C (revert): implement for CVS
346 (getLog): implement for CVS
348 2001-02-20 Juergen Vigna <jug@sad.it>
350 * text2.C (ClearSelection): added BufferView param for inset_owner call
352 * lyxfunc.C (TEXT): added this function and use it instead of
353 directly owner->view()-text of getLyXText().
355 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
357 * src/layout_forms.C: out preamble
358 * src/layout_forms.h: out preamble
359 * src/lyx_cb.C: out preamble
360 * src/lyx_cb.h: out preamble
361 * src/lyx_gui.C: out preamble
362 * src/lyx_gui_misc.C: out preamble
363 * src/lyxfunc.C: connect with guii preamble
365 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
367 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
369 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
371 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
372 whether to run bibtex.
374 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
376 * Makefile.am (lyx_SOURCES): Remove BackStack.h
378 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
380 * Makefile.am (lyx_SOURCES): removed bibforms.h
384 * text.C (GetVisibleRow): make several local vars const
386 * tabular.C: small cleanup.
388 * lyxserver.C (callback): use compare instead of strncmp
390 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
391 inlines to after class or to paragraph.C
393 * lyxfont.h: remove friend operator!=
395 * converter.h: move friend bool operator< to non friend and after
398 * combox.h: small cleanup
400 * buffer.h: doxygen, remove unused constructor, move inclas inlies
401 to inlines after class def.
403 * buffer.C (pop_tag): use string operations instead of strcmp
405 * bmtable.c: doxygen, small cleanup
407 * LaTeX.h: remove friend operator==
409 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
421 * BufferView_pimpl.C:
422 * BufferView.[Ch]: remove cruft
424 2001-02-14 Juergen Vigna <jug@sad.it>
426 * lyxfunc.C: removed #if 0 unused code
428 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
430 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
432 * text2.C (SetSelection): added a BufferView * parameter
434 2001-02-13 Juergen Vigna <jug@sad.it>
436 * lyxfunc.C (Dispatch): fixed protected blank problem.
437 * BufferView2.C (protectedBlank): added LyxText * parameter.
439 * tabular.C (AppendRow): forgot to set row_info of newly added row.
440 (AppendColumn): same as above for column_info.
442 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
443 (moveCursorUpdate): use a LyXText param for support of InsetText.
445 * BufferView_pimpl.C (doubleClick): added support for InsetText.
448 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
450 * BufferView_pimpl.C (update): added LyXText param to honor insets.
452 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
454 * text2.C (SetSelection): set correct update status if inset_owner
457 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
459 * tabular.C: remove some commented code.
461 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
463 * BufferView_pimpl.C: call hideSplash()
465 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
471 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
472 add LFUN_CHILD_CREATE
474 * counters.h: fix tiny typo
479 * lyx.C: move splash to frontends/xforms/
481 * lyx_gui_misc.C: move Include and Bibform to frontends
483 * lyxvc.h: clarify comment
485 * vspace.C: tiny housekeeping
487 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
489 * text.C (PrepareToPrint): RTL Fix.
491 * paragraph.C (GetUChar): New method.
492 (String): Use GetUChar.
494 * buffer.C (asciiParagraph): Use GetUChar.
496 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
498 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
500 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
503 * buffer.C: rename to getLogName(), handle
504 build log / latex log nicely
506 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
509 * MenuBackend.h: remove support for reference menuitem type.
511 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
513 * BufferView_pimpl.C: housekeeping
514 * BufferView_pimpl.h:
519 * minibuffer.h: move Timeout GUI-I
521 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
523 * lyxrc.C (read): Update converters data-structures.
525 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
527 * LaTeX.h (operator!=): add operator != for Aux_Info
529 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
531 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
533 * LaTeXLog.C: deleted, useful code moved to Buffer
536 * buffer.C: new function getLatexLogName()
542 * lyxfunc.C: use frontends for LaTeX and VC logs
544 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
546 * LaTeX.h: yet another std:: that Allan forgot.
548 * Variables.C (set): renamed from isset(), because this clashes
549 with some HP-UX macros (grr).
551 2001-02-06 Allan Rae <rae@lyx.org>
553 * LaTeX.h: Another bug fix. Missing std:: this time.
555 2001-02-04 Allan Rae <rae@lyx.org>
557 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
558 floats problem. I've left it commented out because it's not quite
559 correct. It should also test that the current object is a table or
560 figure inset. But I haven't gotten around to figuring out how to do
561 that. I *think* it'll be something like: "table" == inset.type()
563 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
566 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
568 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
569 all the citation/databases/styles in the auxilary file.
570 (run): Rerun latex if there was a babel language error.
572 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
574 * text.C (Backspace): Preserve the font when changing newline char
576 (BreakParagraph): If the cursor is before a space, delete the space.
578 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
580 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
582 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
584 (ChangeCitationsIfUnique): New method.
586 * paragraph.C (GetPositionOfInset): Handle bibkey.
588 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
590 * BufferView_pimpl.h: change type of Position::par_pos to
591 LyXParagraph::size_type.
593 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
595 * BufferView_pimpl.C (savePosition, restorePosition): Write
596 messages to minibuffer.
598 2001-01-28 José Matos <jamatos@fep.up.pt>
600 * buffer.C (makeDocBookFile): adds support for document language.
601 A silly restriction on the name of LatexCommand types where removed.
602 Added support for CDATA sections, allows to chars unescaped, used
603 among others in code, to avoid escape < and >.
605 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
607 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
608 saved positions instrad of a stack. Furthermore, a position is
609 stored using paragraph id/paragraph position.
611 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
612 Remove LFUN_REF_BACK.
614 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
616 * converter.C (dvipdfm_options): New method.
618 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
620 * vspace.C (isValidLength): Fix for empty input string.
622 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
624 * LyXAction.C (init): change description of LFUN_FIGURE to
627 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
629 * LaTeX.C: add using directive
631 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
633 * MenuBackend.C (expand): Fix the sorting of the formats.
635 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
637 * lyx_main.C: tiny error message fix
639 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
641 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
642 calling fl_initialize(). This fixes the problem with ',' as
643 decimal separator in text files.
645 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
647 * trans.C (process): Fix the keymap bug.
649 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
651 * LaTeX.C (scanAuxFiles): New method. Provides support for
652 multiple bibliographies (when using the bibtopic/bibunits pacakges).
653 (scanLogFile) Scan for "run BibTeX" messages.
655 * buffer.C (makeLaTeXFile): Do not load the ae package when using
656 OT1 font encoding. Also, load the aecompl package if the ae
659 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
661 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
663 * texrow.C (increasePos): turn two error messages into debug
666 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
668 * LaTeX.C (scanAux): Handle the \@input macro.
669 (runBibTeX): Use scanAux().
671 * language.C (latex_options_): New field.
673 * LaTeXFeatures.C (getMacros): Add language macros.
675 * buffer.C (makeLaTeXFile): Small fix.
677 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
679 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
681 * text2.C: add a using directive.
683 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
688 * lyxfunc.C: kill LyXBell.
690 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
692 * text.C (IsBoundary): Remove the error message
694 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
696 * lyxrc.C (setDefaults): Correct initialization value for
699 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
701 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
704 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
707 * src/LyXAction.C: Added reference-next.
709 * text.C (InsertChar): Use contains instead of strchr.
711 * lyx_cb.C (MenuInsertLabel): Enable default value code.
713 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
715 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
716 alignment commands (when needed).
718 * text.C (InsertChar): Add ':' to number separator chars.