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