]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Display accelerator (binding) labels in menus.
[lyx.git] / src / ChangeLog
1 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * output_latex.C (TeXOnePar): make sure font setting is the first
4         thing that gets output (and the last at the end). Should fix bug
5         1404.
6
7 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
8
9         * pch.h: use proper signal include
10
11         * LaTeX.h: Use preferred calling of Boost.Signal
12         * buffer.h: ditto
13
14 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
15
16         * pch.h: dont include <boost/function/function0.hpp>
17
18         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
19
20         * paragraph_pimpl.h: remove usage of ShareContainer
21
22         * paragraph_pimpl.C: remove initialization of ShareContainer.
23
24 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
25
26         Fix bug #1666
27
28         * BufferView.C (putSelectionAt): change the semantics when
29         backwards == true: now, this just swaps cursor and anchor wrt the
30         forward case
31
32         * BufferView.h (putSelectionAt): add some documentation
33
34         * lyxfind.C (findBackwards): rewrite using while(). In particular,
35         make sure backwardChar is done at least once (to avoid getting
36         stuck)
37         (findNextChange): use putSelectionAt in the forward direction
38         (operator()): use Paragraph::isWord
39
40 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
41
42         * Spacing.C (set): c_str fix
43
44 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
45
46         * lyx_cb.C (Reconfigure): quote the name of configure script in
47         case it contains spaces
48
49 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
50
51         * client: new dir
52
53         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
54         (BOOST_LIBS): use top_buildir when looking for the file
55
56 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
57
58         * pch.h: do not use include boost/format.hpp, multiple symbols
59                 will result (gcc bug)
60
61
62 2004-08-23  José Matos  <jamatos@lyx.org>
63
64         * bufferparams.C (readToken): fix reading of the author field.
65
66 2004-08-20  José Matos  <jamatos@lyx.org>
67
68         * lyxrc.C: remove support/translator.h inclusion since it is not used.
69
70 2004-08-20  José Matos  <jamatos@lyx.org>
71
72         * lyxlex.[Ch] (findToken): remove function.
73
74         * ParagraphParameters.C (findToken):
75         * bufferparams.C (findToken): replace call for previous function
76         with local copy. This local function has one more argument, the
77         read string argument.
78
79 2004-08-16  José Matos  <jamatos@lyx.org>
80
81         * ParagraphParameters.C (write):
82         * Spacing.C (writeFile):
83         * bufferparams.C (writeLaTeX):
84         * lyx_cb.C (Reconfigure):
85         * paragraph.C (write):
86         * tabular.C (write): remove unnecessary space at end of line.
87
88
89 2004-08-16  José Matos  <jamatos@lyx.org>
90
91         * text.C (readParagraph): remove debug message.
92
93 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
94
95         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
96         crash
97
98         * output_plaintext.C (asciiParagraph): set depth correctly
99
100         * outputparams.h: add member depth
101
102         * paragraph_funcs.C (ownerPar): remove.
103
104         * text2.C (setCounter): remove first_pit; comment out some
105         non-working code that uses ownerPar
106
107         * BufferView.C (getParentLanguage): remove. Not used anymore, and
108         uses ownerPar
109
110 2004-08-16  José Matos  <jamatos@lyx.org>
111
112         * text.C (readParToken, readParagraph, read): report all unknown tokens.
113         For the same level of importance use the same chanel to report problems.
114         (read): add code to deal with \begin_body and \end_body.
115
116
117 2004-08-15  José Matos  <jamatos@lyx.org>
118
119         * lyxlex.C (getString): fix comment, buffer::readBody is now
120         buffer:readDocument.
121
122         * tex-strings.C (string_papersize): Default -> default,
123         Custom -> custom, for consistency with other options.
124
125 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
126
127         * pch.h: new file
128
129         * Makefile.am: support pch
130
131 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * text.C (readParToken): remove the static LyXFont variable and
134         pass it as a parameter instead. This fixes a nasty bug where an
135         inset will be inserted with a bad font in some situations
136         (readParagraph): adapt
137
138         * text2.C (setCounter): reduce number of calls to pars_[pit]
139
140         * text.C (singleWidth): add an assert, fix a test
141
142         * rowpainter.C (paintText): reduce number of calls to singleWidth
143
144         * paragraph.C (isHfill):
145         (isNewline): ws only
146
147 2004-08-14  André Pönitz  <poenitz@gmx.net>
148
149         * text.C:
150         * text2.C:
151         * rowpainter.C:
152         * lyxtext.h (several functions): use a Paragraph & argument
153         instead of par_type
154
155 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * metricsinfo.h: add a new field ltr_pos to PainterInfo
158
159         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
160
161         * text.C (singleWidth): remove useless test
162
163 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * tabular.h: remove bogus comments
166
167         * tabular.C (getDescentOfRow):
168         (isPartOfMultiColumn): add assertions
169
170         * lyxlength.C (inPixels): remove #warning
171
172 2004-08-14  André Pönitz  <poenitz@gmx.net>
173
174         * paragraph.h: inline getChar()
175
176         * BufferView.h: remove unused declarations
177
178 2004-08-14  José Matos  <jamatos@lyx.org>
179
180         * Buffer.[Ch] (readDocument): new name for old readBody.
181         * Buffer.C: new file format, new keywords: \begin_document,
182         \begin_header, \begin_body, \end_body.
183
184         * bufferparams.C (readToken): replace all calls to lex.nextToken
185         by lex.next(). Do the same to eatLine except where really needed.
186
187         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
188         line when writing to the lyx file.
189
190         * output_plaintext.C (asciiParagraph): fix Bibliography style
191         handling.
192
193         * text.C (read): fix end of file handling.
194
195 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * MenuBackend.C (Menu::operator[]): new method to access
198         individual menu items
199         (Menu::hasFunc): new method. search for an item that corresponds
200         to a given func
201         (MenuBackend::specialMenu): new method
202         (MenuBackend::expand): if a special menu has been set, skip
203         entries whose func() appears in this menu
204
205 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
206
207         * text3.C: use Debug::DEBUG a bit more
208
209         * text.C (leftMargin): try to simplify a tiny bit change var x to
210         l_margin. Dont output the wide margins always.
211         (rightMargin): no margin in inner texts
212
213         * rowpainter.h (nestMargin): new func
214         (changebarMargin): new func
215         (rightMargin): new func
216
217         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
218         now functions.
219         (paintLast): ditto
220
221         * factory.C (createInset): modify setDrawFrame
222
223         * cursor.C: use Debug::DEBUG a bit more
224
225 2004-08-14  André Pönitz  <poenitz@gmx.net>
226
227         * coordcache.[Ch]:
228         * Makefile.am: new files to accomodate an 'external' (x,y)-position
229         cache for all insets in (at least partially) visible (top-level)
230         paragraphs.
231
232         * BufferView_pimpl.C: reset external coord cache before every update.
233         This means the coord cache only contains valid entries.
234
235 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
236
237         bug 1096
238         * BufferView_pimpl.C (getInsetByCode): move function out of class
239         and change in to a template in anon namespace. Also fix to do what
240         suits us better.
241
242 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
243
244         bug 1305
245         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
246         of char
247         (breakParagraph): rename par to par_offset and use a local
248         reference. Add code to keep the language over a rebreak.
249         (breakParagraphConservative): rename par to par_offset, use a
250         local reference
251         (mergeParagraph): ditto
252         (outerHook): ditto
253         (isFirstInSequence): ditto
254         (outerFont): rename pit to par_offset
255
256         * paragraph.C: ws change
257         * paragraph.h: ditto
258         * text3.C: ditto
259         * text.C: ditto
260
261 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
264         treatment for ']'
265
266         * paragraph.C (simpleTeXOnePar): when we have a \item with
267         optional argument, enclose the argument with curly brackets (in
268         case it contains a closing square bracket)
269
270         * text2.C (editXY):
271         * text2.C (editXY):
272         * text3.C (checkInsetHit): constify
273
274 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
277         documents (bug 1629)
278
279 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
280
281         Fix toggling of collapsable insets with the mouse (bug 1558)
282
283         * lyxfunc.C (dispatch): adapt to LCursor changes
284
285         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
286         make sure that dispatch is not invoked twice
287
288         * cursor.C (needsUpdate): new method
289         (dispatch): return void
290         (result): new method, to access the DispatchResult of the cursor.
291
292 2004-08-13  José Matos  <jamatos@lyx.org>
293
294         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
295
296 2004-08-13  André Pönitz  <poenitz@gmx.net>
297
298         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
299
300         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
301           multiple cells
302
303 2004-08-12  André Pönitz  <poenitz@gmx.net>
304
305         * text3.C: take out the 'cursor right' form insertInset and only
306         do it in those places when it is really needed. Fixes crash on
307         C-m...
308
309 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
312
313         * BufferView_pimpl.C (setBuffer): initialize the current font of
314         the underlying LyXText
315
316 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * kbsequence.C (print): use UI native formatting for menu
319         shortcuts
320
321         * text.C (insertChar): call Paragraph::insertChar with a font
322         argument (cosmetic)
323
324         * paragraph.C (insertInset, insertChar): the version that takes a
325         LyXFont argument is now a wrapper around the other one (the
326         opposite used to be true).
327
328         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
329         argument. Font setting is done in Paragraph now.
330
331 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * outputparams.h: add new members intitle and lang.
334
335         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
336         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
337
338 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
339
340         * text3.C (dispatch): remove special handling of button 4 and 5,
341         it is now taken care of in the frontend code.
342
343 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
344
345         * Spacing.h: add <string> (STLPort compile fix)
346
347 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
348
349         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
350
351 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
352
353         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
354         to bool.
355
356         * converter.C (showMessage): inherit from unary_function, make
357         operator() const.
358
359         * buffer.C (writeFile): initialize retval
360
361         * InsetList.h: rename private variable list to list_
362         * InsetList.[Ch]: adjust accordingly.
363
364 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
365
366         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
367         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
368         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
369         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
370         * ParagraphParameters.C, LaTeXFeatures.C: replace
371         "support/std_sstream.h" with <sstream>
372
373 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
374
375         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
376         * lyxsocket.C (LyXServerSocket): ditto
377         (serverCallback): ditto
378
379 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
380
381         * LaTeXFeatures.C: check release date when loading jurabib.
382
383 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
384
385         * lyxserver.C (startPipe): call register_socket_callback
386         (endPipe): call unregister_socket_callback
387
388 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
389
390         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
391         (LyXServerSocket): register the callback
392         (LyXServerSocket): unregister the callback
393         (fd): delete function
394         (serverCallback): improve error checking and setup the callbacks.
395         (dataCallback): change arg to fd.
396         (writeln): new func (copied fro the client socket) used for server
397         write to client.
398         (LyXDataSocket): simplify
399         (~LyXDataSocket): close ann unregiser callback
400         (server): delete function
401         (fd): delete function
402         (readln): small changes, improve some std::string usage
403         (writeln): constify a bit
404
405 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
406
407         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
408         Qt frontend
409
410 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
411
412         * BufferView_pimpl.C (setBuffer): set the layout combox value only
413         after it has been populated
414
415 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
416
417         * text2.C (insertInset): move cursor when inserting inset.
418
419 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
420
421         * kbmap.C (findbindings): a couple of new methods. returns a
422         container of kb_sequence objects. The real work is done by the
423         private recursive version
424         (printbindings): uses findbindings to print out a bracketed list
425         of bindings (renamed from findbinding).
426
427         * MenuBackend.C (binding): use kb_keymap::findbindings
428
429         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
430
431 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
432
433         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
434
435 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * paragraph.C (isWord): return true on insets that report
438         isLetter().
439
440         * text.C (getWord): use Paragraph::isWord to decide what is in a
441         word and what is not; fix bug 1609.
442
443 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
444
445         * tex-strings.C: add "none" to string_paperpackages[], fixes
446         off-by-one-error in the paperpackage selection.
447
448         * lyxlex.[Ch]:
449         * tex-strings.[Ch]: char const * string[n]
450         -> char const * const string[]
451
452 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
455         command, return early.
456
457 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
458
459         * debug.h: add DEBUG to enum and fix size of ANY.
460
461         * debug.C: add support for Debug::DEBUG
462         (showTags): cast errorTags.level to unsigned int
463
464         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
465         (redoCurrentBuffer): ditto
466         (updateScrollbar): ditto
467         * cursor.C (dispatch): ditto
468         * text2.C (setLayout): ditto
469         (setFont): ditto
470         (updateCounters): ditto
471         (editXY): ditto
472         (deleteEmptyParagraphMechanism): ditto
473
474 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
475
476         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
477         annotations to cleanup the Makefile slightly.
478
479 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
480
481         * lyxrc.C: do not set user_email to a default value but use empty
482         instead. The entry used to be translated, which does not work
483         since at the point where lyxrc is constructed there is no
484         translation service available
485
486         * messages.C (getLocaleDir): remove and use directly
487         lyx_localedir() instead
488
489 2004-06-02  Angus Leeming  <leeming@lyx.org>
490
491         Fix crash caused by dereferencing null pointer 'exportdata' in
492         OutputParams by creating a new ExportData variable on the heap,
493         storing it in a boost::shared_ptr.
494         The crash was triggered when generating an Instant Preview
495         of an external inset.
496
497         * Makefile.am: add outputparams.C
498
499         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
500         (c-tor): allocate memory to it.
501
502         * exporter.C (c-tor): associated changes.
503
504 2004-06-01  Angus Leeming  <leeming@lyx.org>
505
506         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
507         contains data before calling isInset(0). (Bug 1513.)
508
509 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
510
511         * exporter.C (checkOverwrite): new method
512         * exporter.C (copyFile): new method
513         * exporter.C (Export): copy referenced files to the document dir
514         * exporter.[Ch]: new class ExportedFile
515         * exporter.[Ch]: new class ExportData. Contains currently the
516         names of referenced external files
517         * outputparams.h: add exportdata member.
518
519 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
520
521         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
522         version.C-tmp
523
524 2004-05-19  Angus Leeming  <leeming@lyx.org>
525
526         * LaTeXFeatures.C:
527         * ToolbarBackend.C:
528         * bufferparams.C:
529         * lyxfunc.C: small changes due to the introduction of namespace
530         lyx::frontend and the moving of namespace biblio to lyx::biblio.
531
532 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
533
534         * text3.C (dispatch): supress update when only moving the cursor
535         * cursor.C (selHandle): remove commented code
536
537 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
538
539         * paragraph.C (startTeXParParams): correct column count
540         * CutAndPaste.C (pasteSelection): remove const_cast
541         * output_docbook.C (docbookParagraphs): remove const_cast
542         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
543         const_cast and return ParagraphList::const_iterator
544         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
545         * output_plaintext.C (writeFileAscii): remove const_cast
546         * paragraph.[Ch] (simpleTeXOnePar): make const
547         * paragraph_funcs.C (outerPar): use const iterators
548         * paragraph_pimpl.C (validate): use const iterators
549         * text.C (setHeightOfRow): use const iterators
550
551 2004-05-17  Angus Leeming  <leeming@lyx.org>
552
553         * lfuns.h:
554         * LyXAction.C (init): new LFUN_INSET_REFRESH.
555
556         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
557         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
558         if the citation engine has changed.
559
560 2004-05-14  José Matos  <jamatos@lyx.org>
561
562         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
563         if the textclass does not provide it. Have it different for sgml and
564         xml.
565         support the language of document.
566         * output_docbook.C (docbookParagraphs):
567         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
568         first anchor as the id of the paragraph, remove special case code.
569         * sgml.C (escapeChar): escape only < & >.
570
571 2004-05-14  Angus Leeming  <leeming@lyx.org>
572
573         * bufferparams.h: move biblio::CiteEngine enum here to minimize
574         dependencies on src/frontends/controllers/biblio.h. Define a
575         CiteEngine_enum wrapper class to enable the enum to be forward
576         declared.
577
578 2004-05-12  Angus Leeming  <leeming@lyx.org>
579
580         * buffer.C: up LYX_FORMAT to 234.
581         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
582         use_numerical_citations with a single biblio::CiteEngine cite_engine
583         variable.
584         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
585
586 2004-05-13  José Matos  <jamatos@lyx.org>
587
588         * converter.h:
589         * converter.C (Converter, readFlags): add xml member.
590         * outputparams.h: add XML flavor.
591         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
592
593 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
594
595         * lyxfunc.C (dispatch):
596         (getStatus): fix handling of LFUN_SEQUENCE
597
598 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * debug.C (showLevel): do not forget the end-of-line marker
601
602 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
603
604         * kbmap.C (read): do not stop parsing a bind file when an error
605         occurs (bug 1575)
606
607 2004-04-29  Angus Leeming  <leeming@lyx.org>
608
609         * cursor.C:
610         * factory.C:
611         * pariterator.C:
612         * text2.C: wrap a bunch of #warning statements
613         inside #ifdef WITH_WARNINGS blocks.
614
615 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
616
617         * buffer.C: increment format to 233.
618
619 2004-04-28  Angus Leeming  <leeming@lyx.org>
620
621         * BufferView_pimpl.C:
622         * lyxfunc.C:
623         * text3.C:
624         s/updateToolbar()/updateToolbars()/
625         s/Toolbar.h/Toolbars.h/
626
627 2004-04-28  Angus Leeming  <leeming@lyx.org>
628
629         * BufferView.[Ch] (c-tor):
630         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
631         No longer passes these data to the WorkArea generator.
632
633 2004-04-28  Angus Leeming  <leeming@lyx.org>
634
635         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
636
637 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
638
639         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
640
641 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
642
643         * output_latex.C (TeXEnvironment): make sure that there is a line
644         break before \end{foo} for the last paragraph of a document
645         (TeXOnePar): if the paragraph is at the end of the document (or
646         inset) and the language has to be reset, then make sure that the
647         line break is _before_ the language command, not after (fixes bug
648         1225); also make sure that the language reset command is the first
649         thing after the paragraph (to ensure proper nesting of
650         environments and thus fix bug 1404)
651
652 2004-04-21  John Levon  <levon@movementarian.org>
653
654         * ToolbarBackend.h:
655         * ToolbarBackend.C: make "name" be a programmatic name
656         and a gui_name field.
657
658         * lyxfunc.C: display the minibuffer on M-x
659
660 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
661
662         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
663         (bug 1526)
664
665 2004-04-19  Angus Leeming  <leeming@lyx.org>
666
667         * BufferView_pimpl.C (setBuffer): changed preview interface.
668
669         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
670         possible values.
671
672 2004-04-19  John Levon  <levon@movementarian.org>
673
674         * BufferView_pimpl.C:
675         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
676
677 2004-04-05  Angus Leeming  <leeming@lyx.org>
678
679         * text.C (redoParagraphs): add call to updateCounters(), thereby
680         fixing the missing "Figure #:" label from the caption of a
681         figure float.
682
683 2004-04-13  Angus Leeming  <leeming@lyx.org>
684
685         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
686         cursor is clicked out of an inset.
687
688 2004-04-13  Angus Leeming  <leeming@lyx.org>
689
690         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
691         than an InsetOld one.
692
693 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
694
695         * format.[Ch]: add editor to Format
696         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
697         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
698
699 2004-04-08  André Pönitz  <poenitz@gmx.net>
700
701         * metricsinfo.h: remove PainterInfo::width member
702
703 2004-04-08  Angus Leeming  <leeming@lyx.org>
704
705         * lyx_sty.C (boldsymbol_def): modify so that it outputs
706         "\providecommand" rather than "\newcommand", thereby preventing
707         clashes with packages that define "\boldsymbol" themselves.
708         Eg, beamer.
709
710 2004-04-08  Angus Leeming  <leeming@lyx.org>
711
712         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
713         thereby squashing an unnecessary warning.
714
715 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
716
717         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
718         setBuffer()
719
720 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
721
722         * BufferView.C (setCursor): call redoParagraph (some insets could
723         have been opened)
724         (putSelectionAt): remove the 'double update' trick
725
726         * BufferView_pimpl.C (fitCursor): call refreshPar
727         (workAreaDispatch): remove an uneeded update call
728         (dispatch): remove some manual update calls
729
730         * cursor.[Ch]: remove cached_y_, updatePos
731         (selHandle): set noUpdate when appropriate
732
733         * lyxfunc.C (dispatch): track if we need an update
734
735         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
736
737         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
738         (paintSelection): cheap optimization, do not call cursorX when not
739         needed
740         (paintPars): change signature
741         (refreshPar): add
742         (paintText): adjust
743         (paintTextInset): adjust
744
745         * text.C: adjust
746
747 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
748
749         * lengthcommon.C: compilation fix: remove explicit array size from
750         unit_name[] and friends
751
752 2004-04-05  Angus Leeming  <leeming@lyx.org>
753
754         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
755
756         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
757         present only for the preferences dialog.
758         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
759
760 2004-04-05  Angus Leeming  <leeming@lyx.org>
761
762         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
763         to enable the frontends to export changes to lyxrc correctly.
764
765         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
766
767 2004-04-07  André Pönitz  <poenitz@gmx.net>
768
769         * cursor.[Ch] (selClear, adjust): remove math
770
771         * cursor_slice.C: more agressive assert
772
773         * lyxfunc.C:
774         * BufferView_pimpl.C: rework mouse event dispatch
775
776         * dociterator.C:
777         * paragraph.C:
778         * text2.C:
779         * text3.C: adjust
780
781 2004-04-05  André Pönitz  <poenitz@gmx.net>
782
783         * cursor.[Ch] (valign, halign...): remove unneeded functions
784
785 2004-04-05  Angus Leeming  <leeming@lyx.org>
786
787         * lyxlength.[Ch] (unit_name et al.): const-correct.
788
789 2004-04-05  Angus Leeming  <leeming@lyx.org>
790
791         * BufferView_pimpl.C:
792         * buffer.C:
793         * counters.C:
794         * cursor.C:
795         * lyxfunc.C
796         * paragraph.C:
797         * pariterator.C:
798         * text.C:
799         * text2.C:
800         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
801
802 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
803
804         * text3.C (getStatus): add LFUN_BEGINNINGBUF
805
806 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
807
808         * lyxfind.C: add a couple of inTexted() tests + other small fixes
809         * BufferView_pimpl.[Ch] (getStatus)
810         * BufferView.[Ch] (getStatus): add
811         * lyxfunc.C (getStatus): move lfuns handled in
812         BufferView::dispatch to te function above
813         * Cursor.C (setSelection): set selection() = true
814
815 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
816
817         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
818
819 2004-03-31  Angus Leeming  <leeming@lyx.org>
820
821         * lyxfunc.C (dispatch): Fall through to the generic
822         Dialogs::show("preamble").
823
824 2004-03-31  Angus Leeming  <leeming@lyx.org>
825
826         * lyxfunc.C (dispatch): Fall through to the generic
827         Dialogs::show("spellchecker").
828
829 2004-03-31  Angus Leeming  <leeming@lyx.org>
830
831         * lyxfunc.C (getStatus, dispatch): changed invocation of the
832         preferences dialog.
833
834 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
835
836         * BufferView.C
837         * cursor.[Ch]
838         * dociterator.[Ch]:
839         * insetiterator.[Ch]:
840         * lyxfind.C:
841         * lyxfunc.C:
842         * pariterator.[Ch]:
843         * text2.C:
844         * undo.[Ch]: s/DocumentIterator/DocIterator/g
845
846 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
847
848         * BufferView.C (setCursor, putSelectionAt): call edit to open the
849         insets where we are putting the cursor.
850
851 2004-03-31  Angus Leeming  <leeming@lyx.org>
852
853         * lfuns.h:
854         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
855
856         * lyxrc.[Ch] (read, write): overloaded member functions taking
857         a std::[io]stream arguments.
858
859         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
860
861 2004-03-31  Angus Leeming  <leeming@lyx.org>
862
863         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
864         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
865
866         * lyxtextclass.C (load): if the text class couldn't be loaded, then
867         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
868
869 2004-03-31  Angus Leeming  <leeming@lyx.org>
870
871         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
872         the LFUN_ALL_INSETS_TOGGLE code.
873
874 2004-03-30  Angus Leeming  <leeming@lyx.org>
875
876         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
877         has died. Fall through to the generic Dialogs::show("document").
878
879 2004-03-30  Angus Leeming  <leeming@lyx.org>
880
881         * lfuns.h:
882         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
883         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
884
885         * lyxfunc.C (getStatus, dispatch): define the actions for these
886         lfuns. Little more than a cut and pste job from ControlDocument.C
887
888         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
889
890 2004-03-30  Angus Leeming  <leeming@lyx.org>
891
892         * lfuns.h:
893         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
894         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
895
896         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
897         open/closed state of ollapsable insets. Usage:
898
899         all-inset-toggle <state> <name>, where
900         <state> == "open" || "closed" || "toggle" and
901         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
902
903         * lyxtext.h, text2.C (toggleInset): removed.
904
905         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
906         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
907         now passes LFUN_INSET_TOGGLE to the found inset.
908
909         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
910         is now invoked as "all-insets-toggle toggle branch".
911
912 2004-03-30  Angus Leeming  <leeming@lyx.org>
913
914         * dociterator.C:
915         * insetiterator.C:
916         * pariterator.[Ch]: added/corrected header blurb.
917
918 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
919
920         * dociterator.[Ch]: add an inset_ member
921         (backwardPos): implemented
922         (backwardPos, forwardPos): use inset_ when the stack is empty.
923         (doc_iterator_begin, doc_iterator_end): implemented
924         * pariterator.[Ch]: adjust, add begin, end
925         * insetiterator.[Ch]: adjust, add begin, end
926         * cursor.C:
927         * document.C:
928         * BufferView.C:
929         * BufferView_pimpl.C:
930         * CutAndPaste.C: adjust
931
932 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
933
934         * buffer.C: increment file format to 232.
935         * LaTeXFeatures.C: add bibtopic package.
936         * bufferparams.[Ch]: param \use_bibtopic.
937
938         * lyxrc.[Ch]: add lyxrc bibtex_command
939         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
940
941         * buffer.C: increment file format to 231.
942
943 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
944
945         * dociterator.C: implement forwardPar
946         * iterators.[Ch]: remove, replaced by
947         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
948         * BufferView.C:
949         * BufferView_pimpl.C:
950         * CutAndPaste.C:
951         * buffer.C:
952         * bufferview_funcs.C:
953         * cursor.C:
954         * lyxfind.C
955         * lyxfunc.C
956         * paragraph_funcs.C
957         * toc.C:
958         * Makefile.am: adjust
959
960 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
961
962         * CutAndPaste.C (pasteSelection): fix 2 crashes
963         (eraseSelection): fix a crash
964         * paragraph_funcs.C: remove a warning
965
966 2004-03-28  Angus Leeming  <leeming@lyx.org>
967
968         * lfuns.h:
969         * LyXAction.C (init): new LFUN_PRINT.
970
971         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
972
973 2004-03-27  Angus Leeming  <leeming@lyx.org>
974
975         * lfuns.h:
976         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
977
978         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
979
980 2004-03-27  Angus Leeming  <leeming@lyx.org>
981
982         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
983         insetlist always contains non-null pointers to insets.
984
985 2004-03-26  Angus Leeming  <leeming@lyx.org>
986
987         * src/BufferView_pimpl.C:
988         * src/CutAndPaste.C:
989         * src/buffer.C:
990         * src/iterators.C:
991         * src/output_plaintext.C:
992         * src/outputparams.h:
993         * src/paragraph_funcs.C:
994         * src/rowpainter.C:
995         * src/text.C:
996         * src/text2.C:
997         * src/frontends/controllers/ControlErrorList.C:
998         * src/frontends/gtk/FileDialogPrivate.C:
999         * src/frontends/gtk/GPainter.C:
1000         * src/frontends/gtk/GToolbar.C:
1001         * src/frontends/qt2/QRef.C:
1002         * src/mathed/math_scriptinset.C: squash compiler warnings.
1003
1004 2004-03-26  Angus Leeming  <leeming@lyx.org>
1005
1006         * ispell.C (LaunchIspell::start):
1007         * lyx_cb.C (AutoSaveBuffer::start):
1008         invoke run(DontWait) rather than runNonBlocking().
1009
1010 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1011
1012         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1013
1014 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1015
1016         * kbsequence.C (print): adjust
1017
1018         * kbmap.C (printKeySym): rename and change signature
1019         (printKey): use LyXKeySym::print()
1020
1021 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1022
1023         * undo.C: add using std::advance to compile for stlport
1024
1025 2004-03-24  Angus Leeming  <leeming@lyx.org>
1026
1027         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1028         it leads to a crash when no buffer is present.
1029
1030 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1031             Martin Vermeer  <martin.vermeer@hut.fi>
1032
1033         * lyxfunc.C (dispatch):
1034         * bufferparams.C (readToken): use the new LColor::setColor
1035
1036         * LColor.[Ch] (setColor): new version that takes two strings as
1037         argument and creates a new color entry if necessary
1038
1039 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1040
1041         * buffer.C (makeLaTeXFile): if the main latex file that is
1042         processed is usually a subdocument of some master, then pretend
1043         for a while that it is actually the master
1044
1045 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1046
1047         * buffer.C (getLabelList):
1048         (getBibkeyList): use getMasterBuffer()
1049         (getMasterBuffer): new method. Returns the main document in the
1050         case where one is using included documents.
1051
1052 2004-03-25  André Pönitz  <poenitz@gmx.net>
1053
1054         * Makefile.am:
1055         * iterators.[Ch]:
1056         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1057
1058         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1059
1060         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1061         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1062
1063         * ParameterStruct.h: merge with ParagraphParameters
1064
1065         * lyxtext.h: remove LyXText::parOffset() and getPar()
1066
1067         * text3.C: Remove all 'manual' update calls. We do now one per user
1068         interaction which is completely sufficient.
1069
1070         * Bidi.C:
1071         * BufferView.[Ch]:
1072         * BufferView_pimpl.C:
1073         * FontIterator.[Ch]:
1074         * MenuBackend.C:
1075         * ParagraphParameters.[Ch]:
1076         * buffer.C:
1077         * buffer.h:
1078         * bufferlist.C:
1079         * cursor.[Ch]:
1080         * cursor_slice.[Ch]:
1081         * dociterator.[Ch]:
1082         * errorlist.[Ch]:
1083         * factory.C:
1084         * lfuns.h:
1085         * lyxfind.C:
1086         * lyxfunc.C:
1087         * output_docbook.[Ch]:
1088         * output_latex.[Ch]:
1089         * output_linuxdoc.[Ch]:
1090         * output_plaintext.[Ch]:
1091         * paragraph.[Ch]:
1092         * paragraph_funcs.[Ch]:
1093         * paragraph_pimpl.[Ch]:
1094         * rowpainter.C:
1095         * tabular.[Ch]:
1096         * text.C:
1097         * text2.C:
1098         * toc.C:
1099         * undo.[Ch]: adjust
1100
1101         * frontends/controllers/ControlDocument.C:
1102         * frontends/controllers/ControlErrorList.C:
1103         * frontends/controllers/ControlSpellchecker.C:
1104         * insets/inset.C:
1105         * insets/inset.h:
1106         * insets/insetbase.h:
1107         * insets/insetbibitem.C:
1108         * insets/insetbox.C:
1109         * insets/insetbranch.C:
1110         * insets/insetcaption.C:
1111         * insets/insetcharstyle.C:
1112         * insets/insetcharstyle.h:
1113         * insets/insetcollapsable.C:
1114         * insets/insetcollapsable.h:
1115         * insets/insetert.C:
1116         * insets/insetfloat.C:
1117         * insets/insetfoot.C:
1118         * insets/insetmarginal.C:
1119         * insets/insetnote.C:
1120         * insets/insetoptarg.C:
1121         * insets/insettabular.C:
1122         * insets/insettext.C:
1123         * insets/insettext.h:
1124         * insets/insetwrap.C:
1125         * mathed/math_mboxinset.C:
1126         * mathed/math_nestinset.C:
1127         * mathed/math_scriptinset.C:
1128         * mathed/math_scriptinset.h:
1129         * support/types.h:
1130
1131 2004-03-24  Angus Leeming  <leeming@lyx.org>
1132
1133         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1134         deal with any child processes that have finished but are waiting to
1135         communicate this fact to the rest of LyX.
1136
1137 2004-03-24  Angus Leeming  <leeming@lyx.org>
1138
1139         64-bit compile fixes.
1140
1141         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1142         (c-tor): pass lyx::pos_types rather than ints.
1143
1144         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1145         lyx::pos_type.
1146
1147         * text.C (Delete): compile fix.
1148         (getPar): ensure that function declaration is the same as that in
1149         the header file.
1150
1151 2004-03-23  Angus Leeming  <leeming@lyx.org>
1152
1153         * ispell.C (LaunchIspell):
1154         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1155         a boost::shred_ptr rather than a std::auto_ptr.
1156
1157 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1158
1159         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1160         handle LFUN_FILE_INSERT_*
1161
1162         * lyxrc.C (setDefaults, getDescription, output, read):
1163         * lyxrc.h: remove ps_command
1164
1165 2004-03-22  Angus Leeming  <leeming@lyx.org>
1166
1167         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1168         Ensure that error_handler is processed once only and that all data
1169         is saved before attempting to output any warning messages.
1170
1171         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1172
1173 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1174
1175         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1176
1177 2004-03-19  André Pönitz  <poenitz@gmx.net>
1178
1179         * cursor.[Ch] (reset): take main text inset as argument
1180
1181         * BufferView: adjust
1182         * BufferView_pimpl.C: adjust
1183
1184         * paragraph.[Ch]: fix completely broken operator=()
1185
1186 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1187
1188         * LColor.C (getFromLyXName): make sure that the color name is used
1189         as lowercase.
1190
1191 2004-03-17  Angus Leeming  <leeming@lyx.org>
1192
1193         * lfuns.h:
1194         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1195
1196         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1197         dialog and to kill a forked process.
1198
1199 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1200
1201         * text2.C (setCursorFromCoordinates): fix font problem
1202
1203 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1204
1205         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1206         bogus "rebuild cursor" code
1207
1208 2004-03-11  André Pönitz  <poenitz@gmx.net>
1209
1210         * buffer.[Ch]: use InsetText instead of LyXText as container for
1211         the main lyx text.
1212
1213         * dociterator.[Ch]: drop the BufferView * member which is not needed
1214         anymore after the change to buffer.C
1215
1216         * paragraph_funcs.C:
1217         * text.C:
1218         * text2.C:
1219         * BufferView.[Ch]:
1220         * BufferView_pimpl.[Ch]:
1221         * cursor.[Ch]:
1222         * cursor_slice.[Ch]: adjust
1223
1224         * text3.C: fix bug in mathDispatch
1225
1226 2004-03-08  André Pönitz  <poenitz@gmx.net>
1227
1228         * undo.[Ch]: use 'StableDocumentIterator' as base for
1229         the Undo struct.
1230
1231 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1232
1233         * LaTeXFeatures.C:
1234         * bufferparams.[Ch]: add jurabib support and param.
1235
1236         * LaTeX.C: add FIXME/comment.
1237
1238 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1239
1240         * buffer.C: increment file format to 230.
1241
1242 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1243
1244         * cursor.C (dispatch): avoid infinite loops
1245
1246 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1247
1248         * rowpainter.C (paintSelection): fix x coordinates
1249
1250 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1251
1252         * text.C (rowBreakPoint): fix breaking before displayed insets
1253
1254 2004-03-01  André Pönitz  <poenitz@gmx.net>
1255
1256         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1257
1258         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1259
1260         * Makefile.am:
1261         * BufferView.C:
1262         * BufferView_pimpl.C:
1263         * buffer.C:
1264         * lyxfind.C:
1265         * lyxfunc.C:
1266         * text.C:
1267         * text2.C:
1268         * text3.C: adjust
1269
1270 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1271
1272         * lyxtext.h:
1273         * text.C:
1274         * text2.C:
1275         * rowpainter.C:
1276         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1277         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1278
1279 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1280
1281         * Bidi.[Ch] (computeTables): const correctness
1282         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1283         fill_hfill, fill_label_hfill and x from Row
1284         * lyxtext.h: prepareToPrint returns a RowMetrics
1285         * rowPainter.C: adjust
1286         * text.C (prepareToPrint): use width, not textWidth. adjust
1287         (redoParagraphInternal, cursorX): adjust
1288         * text2.C (getColumnNearX): adjust
1289         (init): put a default value to the top LyXText::width
1290
1291 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1292
1293         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1294
1295 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1296
1297         * lyxtext.h: add FontIterator class
1298
1299         * text.C (FontIterator, operator*, operator->, operator++): add
1300         (rowBreakPoint, setRowWidth): adjust (fixing a
1301         rebreaking bug)
1302
1303 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1304
1305         * BufferView_pimpl.C (workAreaDispatch): allow also
1306         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1307
1308 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1309
1310         * text.C (rowBreakPoint): fix a bug showing with very large insets
1311
1312 2004-02-25  André Pönitz  <poenitz@gmx.net>
1313
1314         * text3.C:
1315         * cursor.[Ch]: move some mathed specific code to mathed
1316
1317 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1318
1319         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1320         use_tempdir in preferences
1321         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1322         tempfile creation
1323         * lyx_main.C: ensure that tempdir is valid
1324         * lyxlex.h: correct typo
1325         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1326         * paragraph.[Ch] (isMultiLingual): make const
1327         * cursor.[Ch] (openable): make const
1328
1329 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1330
1331         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1332
1333 2004-02-20  André Pönitz  <poenitz@gmx.net>
1334
1335         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1336
1337         * cursor.[Ch]: prepare for localized getStatus()
1338
1339         * lyxtext.h:
1340         * tabular.C:
1341         * text.C:
1342         * text2.C:
1343         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1344
1345 2004-02-20  André Pönitz  <poenitz@gmx.net>
1346
1347         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1348
1349 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1350
1351         * text2.C (setCursorFromCoordinates): switch to absolute coords
1352         (cursorUp): adjust
1353         (cursorDown): adjust
1354         * text3.C (dispatch): adjust
1355
1356 2004-02-16  André Pönitz  <poenitz@gmx.net>
1357
1358         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1359           insets/ChangeLog)
1360
1361         * cursor_slice.[Ch]: remove unneeded acessor function
1362
1363         * lyxtext.h: rename rtl() to isRTL()
1364
1365         * rowpainter.C:
1366         * tabular.C:
1367         * text.C:
1368         * text2.C:
1369         * text3.C: adjust
1370
1371 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1372
1373         * rowpainter.C (paintSelection): coord fix
1374
1375 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1376
1377         * Spacing.C: compile fix
1378
1379 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1380
1381         * cursor.C (dispatch): restore current_ before returning
1382
1383 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1384
1385         * text2.C (cursorUp, cursorDown): fix coords
1386         (moveUp): fix crash
1387
1388 2004-02-12  André Pönitz  <poenitz@gmx.net>
1389
1390         * lyxtext.h:
1391         * text.C:
1392         * text2.C:
1393         * text3.C: add LCursor & parameter to most cursor movement functions
1394           remove usage of LyXText::cursorRow() and cursorPar()
1395
1396         * cursor.[Ch]: add textRow() needed members
1397
1398         * BufferView.C:
1399         * BufferView_pimpl.C:
1400         * paragraph.[Ch]:
1401         * BufferView.C:
1402         * BufferView_pimpl.C: adjust
1403
1404 2004-02-11  André Pönitz  <poenitz@gmx.net>
1405
1406         * lyxfunc.C:
1407         * BufferView.[Ch]:
1408         * BufferView_pimpl.C: shift undo/redo handling
1409
1410         * cursor.[Ch]: fix mathed crash
1411
1412         * lyxfind.C:
1413         * lyxtext.h: move selectionAsText to LCursor
1414
1415         * output_latex.C:
1416         * paragraph.C:
1417         * text.C:
1418         * text2.C:
1419         * text3.C: adjust
1420
1421         * rowpainter.C: fix excessive drawing
1422
1423 2004-02-06  André Pönitz  <poenitz@gmx.net>
1424
1425         * BufferView.[Ch]:
1426         * BufferView_pimpl.[Ch]:
1427         * text3.C: move some text specific LFUN handling
1428
1429 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1430
1431         * text3.C (checkInsetHit): adjust coords
1432         * text2.C (getColumnNearX): adjust coords
1433         (edit): adjust coords
1434         * text.C (getRowNearY): add two asserts
1435
1436 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1437
1438         * converter.C:
1439         * format.C: add using std::distance to compile on gcc 2.95/stlport
1440
1441 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1442
1443         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1444
1445 2004-02-04  André Pönitz  <poenitz@gmx.net>
1446
1447         * BufferView.[Ch] (insertInset):
1448         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1449
1450         * text2.C:
1451         * text3.C: adjust
1452
1453 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1456         on the default clause of the switch
1457         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1458         wasn't catched by LCursor::dispatch
1459
1460 2004-02-03  André Pönitz  <poenitz@gmx.net>
1461
1462         * BufferView.C:
1463         * cursor.[Ch]: some additional asserts
1464
1465         * undo.[Ch]: remove LyXText dependency in interface
1466
1467         * lyxfunc.C: adjust
1468
1469         * lyxtext.h (firstPar, lastPar): remove dead functions
1470
1471         * text.C:
1472         * text2.C:
1473         * text3.C:
1474         * paragraph.[Ch]: adjust
1475
1476 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1477
1478         * lyxfind.C (find): fix argument order in call to ::find
1479
1480 2004-02-02  André Pönitz  <poenitz@gmx.net>
1481
1482         * cursor.[Ch]: remove direct access to anchor
1483
1484         * text.C: remove findText() hack
1485
1486 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1487
1488         * iterators.[Ch] (lockPath): remove in favour of...
1489         * BufferView.[Ch] (setCursor): this addition
1490         * BufferView.C (putSelectionAt): adjust
1491         * undo.C (performUndoOrRedo): adjust
1492         * lyxfunc.C (dispatch): adjust
1493
1494 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1495
1496         * iterators.C (lockPath): add a missing slice
1497         * undo.C (performUndoOrRedo): remove redundant positioning code
1498
1499 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1500
1501         * vc-backend.C (scanMaster): ";" -> ';'
1502
1503 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1504
1505         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1506         std::binary_function
1507
1508         * lyxtextclass.C (compare_name): rename to...
1509         (LayoutNamesEqual): ...this
1510
1511         * lyxlex_pimpl.C (compare_tags): inherit from
1512         std::binary_function, put back into anon namespace
1513
1514         * lyxfind.C (MatchString): inherig from std::binary_function
1515         (findChange): use empty() istead of !size()
1516
1517         * format.C (FormatNamesEqual): new functor
1518         (getFormat): use it
1519         (getNumber): use it
1520         (add): use it
1521         (erase): use it
1522         (setViewer): use it
1523
1524         * converter.C (compare_Converter): rename to...
1525         (ConverterEqual): ...this, and fixup a bit.
1526         (getConverter): use it, and make function const
1527         (getNumber): use it, and make function const
1528         (add): use it
1529         (erase): use it:
1530
1531         * bufferlist.C: add using boost::bind
1532
1533         * MenuBackend.C (MenuNamesEqual): new functor
1534         (hasMenu): use it, and make function const
1535         (hasSubmenu): use nested bind to get rid of compare_memfun.
1536
1537 2004-01-30  André Pönitz  <poenitz@gmx.net>
1538
1539         * BufferView_pimpl.C:
1540         * cursor.C:
1541         * cursor.h:
1542         * cursor_slice.[Ch]:
1543         * lyxfunc.C:
1544         * lyxtext.h:
1545         * paragraph_funcs.C:
1546         * paragraph_funcs.h:
1547         * rowpainter.C:
1548         * text.C:
1549         * text2.C:
1550         * text3.C: move some of the edit(x,y) handling to the insets
1551         some coordinate changes.
1552
1553 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1554
1555         * text.C: add using statements for std::advance and std::distance
1556
1557         * paragraph.C: add using statement for std::distance
1558
1559         * lyxfind.C: add using statement for std::advance
1560
1561         * cursor.C (region): remove std:: from swap
1562         (openable): use nucleus in stead of operator->
1563
1564         * BufferView.C: add using statements for std::distance and std::swap
1565
1566 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1567
1568         * iterators.C: Remove the pimple, move the needed structures to
1569         the header file. Create accessor for the positions stack.
1570         (asPosIterator): remove function
1571
1572         * PosIterator.C (PosIterator): move constructors to top of file
1573         (PosIterator): reimplement the constructor taking a ParIterator in
1574         terms of setFrom.
1575         (setFrom): new function
1576         (operator!=): inline it
1577
1578 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1579
1580         * lyxfind.C (replaceAll): use std::advance
1581
1582         * iterators.h: inherit from std::iterator.
1583
1584         * PosIterator.C (advance, distance): remove
1585         * PosIterator.h: interit from std::iterator.
1586
1587 2004-01-26  André Pönitz  <poenitz@gmx.net>
1588
1589         * BufferView.[Ch]:
1590         * BufferView_pimpl.[Ch]:
1591         * InsetList.[Ch]:
1592         * PosIterator.[Ch]:
1593         * buffer.h:
1594         * bufferview_funcs.C:
1595         * cursor.[Ch]:
1596         * cursor_slice.h:
1597         * factory.[Ch]:
1598         * iterators.[Ch]:
1599         * lyxfind.C:
1600         * lyxfunc.C:
1601         * lyxtext.h:
1602         * output_docbook.C:
1603         * output_latex.C:
1604         * output_linuxdoc.C:
1605         * output_plaintext.C:
1606         * paragraph.[Ch]:
1607         * paragraph_funcs.[Ch]:
1608         * paragraph_pimpl.[Ch]:
1609         * rowpainter.C:
1610         * tabular.C:
1611         * tabular.h:
1612         * text.C:
1613         * text2.C:
1614         * text3.C: more IU:  dumps most of the rest of the mathcursor
1615     implementation into cursor.[Ch]; "globalize" a bit of it.
1616
1617 2004-01-25  Angus Leeming  <leeming@lyx.org>
1618
1619         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1620
1621 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1622
1623         * LaTeXFeatures.h: add nice_ and nice() const
1624         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1625
1626 2004-01-20  André Pönitz  <poenitz@gmx.net>
1627
1628         * BufferView.[Ch]:
1629         * BufferView_pimpl.C:
1630         * PosIterator.C:
1631         * bufferview_funcs.C:
1632         * cursor.[Ch]:
1633         * cursor_slice.[Ch]:
1634         * factory.C:
1635         * iterators.C:
1636         * lyx_cb.C:
1637         * lyxfind.C:
1638         * lyxfunc.C:
1639         * lyxtext.h:
1640         * rowpainter.C:
1641         * text.C:
1642         * text2.C:
1643         * text3.C:
1644         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1645           LCursor and mathcursor parts to LCursor and InsetBase.
1646
1647 2004-01-15  André Pönitz  <poenitz@gmx.net>
1648
1649         * cursor_slice.[Ch]: add a few covienience functions
1650
1651         * funcrequest.[Ch]: remove BufferView * member
1652
1653         * BufferView_pimpl.C:
1654         * cursor.C:
1655         * factory.[Ch]:
1656         * lyxfind.[Ch]:
1657         * lyxfunc.C:
1658         * lyxtext.h:
1659         * text3.C:
1660         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1661
1662 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1663
1664         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1665         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1666
1667 2004-01-13  André Pönitz  <poenitz@gmx.net>
1668
1669         * textcursor.[Ch]:
1670         * lyxtext.h: hide cursor and selection anchor behind accessor function
1671
1672         * BufferView.C:
1673         * BufferView_pimpl.[Ch]:
1674         * PosIterator.C:
1675         * bufferview_funcs.C:
1676         * cursor.h:
1677         * lyxfind.C:
1678         * lyxfunc.C:
1679         * text.C:
1680         * text2.C:
1681         * text3.C:
1682         * undo.C: adjust
1683
1684         * cursor.h:
1685         * cursor_slice.[Ch]: some integer type changes for inset unification
1686
1687         * lyxcursor.[hC]: remove, it's CursorSlice now.
1688
1689         * Makefile.am:
1690         * BufferView_pimpl.[Ch]:
1691         * bufferview_funcs.C:
1692         * cursor_slice.C:
1693         * lyxtext.h:
1694         * text.C:
1695         * text2.C:
1696         * text3.C:
1697         * textcursor.[Ch]: adjust
1698
1699 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1700
1701         * text2.C (undoSpan): add and use
1702         * text.C (breakParagraph): use undoSpan (fix bug 578)
1703         * lyxtext.h: adjust
1704
1705 2004-01-08  Angus Leeming  <leeming@lyx.org>
1706
1707         * BufferView_pimpl.C (MenuInsertLyXFile):
1708         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1709         * lyxfunc.C (menuNew, open, doImport):
1710         FileFilterList change to the FileDialog open and save functions.
1711
1712 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1713
1714         * ShareContainer.h: make isEqual and isUnique adaptable
1715
1716         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1717
1718 2004-01-07  Angus Leeming  <leeming@lyx.org>
1719
1720         * LyXAction.C:
1721         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1722
1723         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1724
1725         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1726         functions replacing find, replace and replaceAll.
1727
1728         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1729         LFUN_WORDFIND(FORWARD|BACKWARD).
1730
1731 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1732
1733         * text.C (breakParagraph): remove an outdated #warning
1734
1735 2004-01-07  André Pönitz  <poenitz@gmx.net>
1736
1737         * lyxfind.C: somewhat clearer logic
1738
1739         * text.C: prevent crash in cursorX on unitialized row cache
1740
1741 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1742
1743         * lyxcursor.[Ch] (operator>): add
1744         * textcursor.C (selStart, selEnd): use std::min and std::max
1745
1746 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1747
1748         * Chktex.C: include boost/format.hpp
1749
1750 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1751
1752         * InsetList.C: replace functor MathcIt with adaptable functor
1753         InsetTablePosLess
1754         (insetIterator): modify accordingly
1755
1756         * BranchList.h: move the BranchNamesEqual functor here from...
1757         * BranchList.C: ... to here
1758
1759         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1760         SameName and match.
1761         (add): replace a finding loop with std::find_if.
1762
1763 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1764
1765         * output_docbook.C: moving LatexParam functionality into
1766         .layout files
1767
1768 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1769
1770         * buffer.C: increment format to 229.
1771
1772 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1773
1774         * LaTeXFeatures.C:
1775         * lyx_sty.[Ch]: remove minipageindent_def
1776
1777         * LyXAction.C:
1778         * factory.C:
1779         * lfuns.h:
1780         * lyxfunc.C:
1781         * text3.C: remove LFUN_INSET_MINIPAGE
1782
1783 2003-12-28  Angus Leeming  <leeming@lyx.org>
1784
1785         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1786
1787 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1788
1789         * text2.C (setParagraph): fix off-by-one crash
1790
1791 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1792
1793         * output_docbook.C: header stuff for AGU
1794
1795 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1796
1797         * text2.C (redoCursor): remove
1798         * text.C:
1799         * text3.C:
1800         * BufferView_pimpl.C: remove calls to redoCursor and
1801         setCursor(cursor.par(), cursor.pos()) all around
1802
1803 2003-12-15  Angus Leeming  <leeming@lyx.org>
1804
1805         * buffer.C: up the format to 228.
1806
1807 2003-12-15  André Pönitz  <poenitz@gmx.net>
1808
1809         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1810         slices
1811
1812         * Makefile.am:
1813
1814         * BufferView_pimpl.C:
1815         * cursor.[Ch]:
1816         * lyxcursor.[Ch]:
1817         * rowpainter.[Ch]:
1818         * lyxtext.h:
1819         * text.C:
1820         * text2.C:
1821         * text3.C: adjust
1822
1823 2003-12-15  Angus Leeming  <leeming@lyx.org>
1824
1825         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1826         than getFromGUIName to manipulate the color.
1827
1828 2003-12-14  Angus Leeming  <leeming@lyx.org>
1829
1830         * BranchList.[Ch]: minimize the API.
1831         (Branch::getBranch, getColor): now return a 'const &'.
1832         (Branch::setSelected) now returns a bool set to true if the
1833         selection status changes.
1834         (BranchList::clear, size, getColor, setColor, setSelected,
1835         allBranches, allSelected, separator): removed.
1836         (BranchList::find): new functions, returning the Branch with
1837         the given name.
1838         (BranchList::add, remove): return a bool indicating that
1839         the operation was successful.
1840
1841         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1842         new InsetBranch::isBranchSlected member function.
1843
1844         * LColor.[Ch]: mimimize the API.
1845         (fill): renamed as addColor and made private.
1846         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1847         versions of these functions taking a string arg have been removed.
1848
1849         * bufferparams.C (readToken):
1850         * lyxfunc.C (dispatch):
1851         * lyxrc.C (read): changes due to the altered BranchList and
1852         LColor APIs.
1853
1854         * factory.C (createInset, readInset): changes due to altered
1855         InsetBranch c-tor.
1856
1857 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1858
1859         * factory.C:
1860         * lyxfunc.C: remove insetminipage. "minipage-insert"
1861         now produces a frameless minipage box inset.
1862
1863 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1864
1865         * textcursor.[Ch] (selStart,selEnd): add new methods
1866         remove selection::start, end, use LyXCursor::operator<
1867         * lyxcursor.[Ch] (operator<): add
1868         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1869         * BufferView.[Ch] (unsetXSel): add
1870         * text2.C (clearSelection): use unsetXSel,adjust
1871         * text.C: adjust
1872         * text3.C: adjust
1873         * rowpainter.C: adjust
1874         * bufferview_funcs.C (put_selection_at): adjust
1875
1876 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1877
1878         * BufferView_pimpl.C: small coord. correction
1879
1880 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1881
1882         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1883         dragging over the splash screen.
1884
1885 2003-12-11  Angus Leeming  <leeming@lyx.org>
1886
1887         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1888         as it is now handled in LyXText::dispatch.
1889
1890         * text3.C (doInsertInset): remove a level of nesting.
1891
1892 2003-12-11  Angus Leeming  <leeming@lyx.org>
1893
1894         * factory.C (createInset): changes due to the changed interface to
1895         InsetCommandMailer::string2params.
1896
1897 2003-12-10  Angus Leeming  <leeming@lyx.org>
1898
1899         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1900         'dialog-show-new-inset <inset name>'
1901
1902 2003-12-10  Angus Leeming  <leeming@lyx.org>
1903
1904         * buffer.C: up the format to 227.
1905
1906         * factory.C: the box inset is now identified simply by 'Box'.
1907
1908 2003-12-10  Angus Leeming  <leeming@lyx.org>
1909
1910         * buffer.C: up the format to 226.
1911
1912         * factory.C: the note inset is now identified simply by 'Note'.
1913
1914 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1915
1916         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1917         when a pit is enough. Standarize a couple of loops.
1918
1919 2003-12-05  Angus Leeming  <leeming@lyx.org>
1920
1921         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1922         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1923         data to the re-worked "log" dialog.
1924
1925 2003-12-03  André Pönitz  <poenitz@gmx.net>
1926
1927         * PosIterator.C:
1928         * iterators.C:
1929         * lyxtext.h:
1930         * output_latex.C:
1931         * paragraph_funcs.C:
1932         * text.C:
1933         * text2.C: use Inset::getText instead of Inset::getParagraph
1934
1935 2003-12-03  André Pönitz  <poenitz@gmx.net>
1936
1937         * buffer.[Ch]:
1938         * lyxtext.h:
1939         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1940         InsetText::read() as LyXText::read()
1941
1942 2003-12-02  Angus Leeming  <leeming@lyx.org>
1943
1944         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1945         type. Add a comment in the implementation that the function uses
1946         the stream's bad() function rather than fail() as the std::streams
1947         would do.
1948
1949 2003-12-02  André Pönitz  <poenitz@gmx.net>
1950
1951         * lyxlex.[Ch]: make interface more similar to std::stream
1952
1953         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1954
1955 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1956
1957         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1958
1959 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1960
1961         * vspace.[Ch]: remove VSpace::NONE
1962
1963 2003-12-01  André Pönitz  <poenitz@gmx.net>
1964
1965         * buffer.[Ch]:
1966         * lyxtext.h: move ParagraphList member to LyXText
1967         rename LyXText::ownerParagraphs to LyXText::paragraph
1968
1969         * CutAndPaste.C:
1970         * bufferview_funcs.C:
1971         * iterators.[Ch]:
1972         * lyx_cb.C:
1973         * paragraph.C:
1974         * rowpainter.C:
1975         * tabular.C:
1976         * text.C:
1977         * text2.C:
1978         * text3.C: adjust
1979
1980         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1981
1982         * undo.C: fix cursor positioning
1983
1984 2003-12-01  John Levon  <levon@movementarian.org>
1985
1986         * BufferView_pimpl.C: fix a crash on exit with
1987         a buffer open
1988
1989 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1990
1991         * BranchList.C: fix setSelected() method.
1992
1993 2003-11-28  André Pönitz  <poenitz@gmx.net>
1994
1995         * ParagraphParameters.[Ch]:
1996         * ParameterStruct.h: remove space above/below from Paragraph to
1997          InsetVSpace
1998
1999         * BufferView_pimpl.C:
2000         * factory.C:
2001         * lyxfunc.C:
2002         * lyxtext.h:
2003         * output_latex.C:
2004         * paragraph.C:
2005         * paragraph_funcs.C:
2006         * rowpainter.[Ch]:
2007         * text.C:
2008         * text2.C:
2009         * text3.C: adjust
2010
2011 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2012
2013         * factory.C: Syntax change for CharStyles
2014
2015 2003-11-28  André Pönitz  <poenitz@gmx.net>
2016
2017         * BufferView.[Ch]:
2018         * BufferView.[Ch]:
2019         * buffer.[Ch]:
2020         * buffer.[Ch]: move LyXText member
2021
2022 2003-11-28  André Pönitz  <poenitz@gmx.net>
2023
2024         * BufferView.[Ch]: make LyXText * text a private member
2025
2026         * BufferView_pimpl.C:
2027         * cursor.C:
2028         * iterators.C:
2029         * lyx_cb.C:
2030         * lyxfind.C:
2031         * lyxtext.h:
2032         * rowpainter.[Ch]:
2033         * text.C:
2034         * text2.C:
2035         * undo.C: adjust
2036
2037         * output_plaintext.C: cleanup
2038
2039 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2040
2041         * buffer.C:
2042         * lyxtextclass.[Ch]: parametrize SGML document header
2043
2044 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2045
2046         * converter.[Ch]:
2047         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2048         getFlavor().
2049
2050 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2051
2052         * text2.C (setFont): rework using PosIterator (no more recursive)
2053         (setCharFont): no more needed
2054         (setLayout): no more selection cursors fiddling (done by redoCursor)
2055         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2056         destroy remaining ones)
2057
2058 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2059
2060         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2061         * lyxtext.h: ditto
2062         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2063         selection cursors
2064         * lyxfunc.C: adjust
2065         * text3.C: adjust + re-allow multi par depth changes
2066         * textcursor.C: simplify a bit
2067
2068 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2069
2070         * src/buffer.C:
2071         * src/lyxlayout.C:
2072         * src/lyxlayout.h:
2073         * src/lyxtext.h:
2074         * src/output_docbook.C:
2075         * src/output_latex.C:
2076         * src/paragraph.C:
2077         * src/paragraph.h:
2078         * src/sgml.C:
2079         * src/sgml.h:
2080         * src/text2.C: Introducing a number of tags parametrizing various
2081         XML formats that we may want to support
2082
2083 2003-11-25  André Pönitz  <poenitz@gmx.net>
2084
2085         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2086
2087         * lyxtext.h (leftMargin/rightMargin): simplify interface
2088
2089         * rowpainter.C:
2090         * text.C:
2091         * text2.C:
2092         * text3.C: adjust
2093
2094 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2095
2096         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2097         master file to any child files. Fixes bug 546.
2098
2099 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2100
2101         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2102
2103 2003-11-24  André Pönitz  <poenitz@gmx.net>
2104
2105         * rowpainter.C: simplification
2106
2107         * text2.C (updateCounters): remove call to redoParagraph on
2108         changed labels as this is far too expensive.
2109
2110 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2111
2112         * converter.C (convert): fix a crash: this function gets
2113         called with buffer == 0 from importer code.
2114
2115 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2116
2117         * text3.C (cursorPrevious): make sure that we do not compare
2118         iterators form different containers.
2119         (cursorNext): ditto
2120
2121         * rowpainter.C (paintSelection): make sure that we do not compare
2122         iterators from different containers.
2123
2124         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2125         iterators from different ParagraphList containers.
2126         [NEXT] ditto
2127
2128         * text2.C (LyXText): change order of initialization slightly
2129         (operator=): new function. copy all variables except cache_par_
2130         (moveUp): make sure that we do not compare iterators from
2131         different ParagraphList constainers.
2132         (moveDown): ditto
2133
2134         * text.C (firstPar): new function
2135         (lastPar): new function
2136         (endPar): new function
2137
2138         * lyxtext.h: move things around and group public functions, public
2139         variables, private functions, private variables
2140
2141 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2142
2143         * factory.C: change call to InsetERT constructor to avoid
2144         additional invocation of method status
2145         * text2.C (toggleInset): remove redundant update() call
2146         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2147         instead of a Bufferview pointer
2148
2149 2003-11-21  André Pönitz  <poenitz@gmx.net>
2150
2151         * rowpainter.C: simplification
2152
2153 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2154
2155         * text3.C (dispatch): make possible to extend a word/row selection
2156         with the mouse
2157
2158 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2159
2160         * lyxtext.h: x0_,y0_ -> xo_,yo_
2161         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2162         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2163         * rowpainter.C (paintRows): paint full paragraphs
2164
2165 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2166
2167         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2168         screen coordinates)
2169
2170 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2171
2172         * lyxtext.h: add x0_, y0_
2173         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2174         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2175
2176 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2177
2178         * text2.C (setCursorIntern): move the x_target update here *
2179         * text3.C: change some bv() to true/false in calls to
2180         cursorUp/Down/Right/Left
2181         * cursor.C: use helper function.
2182
2183 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2184
2185         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2186         * paragraph_funcs.[Ch]: correct comment
2187         * rowpainter.C: do not paint selections away from bv->cursor()
2188         Fix a long standing selection painting bug.
2189         * text3.C: generalize mouse-selection code to LyXTexts other that
2190         top one
2191         * textcursor.C: do not use y coords if we can use par offsets
2192
2193 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2194
2195         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2196         cursor position after e.g. inset insert)
2197
2198 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2199
2200         * lyxfind.C (replace): adjust to locking removal + some
2201         code simplification
2202
2203 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2204
2205         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2206         of the path
2207
2208 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2209
2210         * lyxlayout.[Ch]:
2211         * output_docbook.C: XML sanitation: new layout
2212         parameters InnerTag and CommandDepth
2213
2214 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2215
2216         * BufferView_pimpl.C:
2217         * factory.C:
2218         * text3.C: Fix the insertion and modification of button-style
2219         insets
2220
2221 2003-11-13  André Pönitz  <poenitz@gmx.net>
2222
2223         * InsetList.[Ch]: remove deleteLyXText
2224
2225         * paragraph.[Ch]: cache beginOfBody position
2226
2227         * Bidi.C:
2228         * text.C:
2229         * text2.C:
2230         * text3.C: remove superfluous update() calls
2231
2232         * vspace.C: cleanup
2233
2234 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2235
2236         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2237         * BufferView.C (fitLockedInsetCursor): remove
2238         * cursor.[Ch] (getDim): add
2239         * text.C (getRowNearY): add faster version
2240         * text3.C: remove some update calls
2241
2242 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2243
2244         * LaTeXFeatures.C:
2245         * LyXAction.C:
2246         * MenuBackend.C:
2247         * MenuBackend.h:
2248         * dispatchresult.h:
2249         * factory.C:
2250         * lfuns.h:
2251         * lyxfunc.C:
2252         * lyxtextclass.C:
2253         * lyxtextclass.h:
2254         * text3.C: The Character Style /XML short element patch.
2255
2256 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2257
2258         * text3.C:
2259         * factory.C: Small step to solving 'unable to insert some insets'
2260         problem
2261
2262 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2263
2264         * cursor.[Ch] (updatePos): new function for updating the y
2265         position of the tip inset
2266         * bufferview_funcs.C (put_selection_at):
2267         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2268
2269 2003-11-11  André Pönitz  <poenitz@gmx.net>
2270
2271         * text.C: remove big comment on invalid Paragraph pointers as it is
2272         not valid anymore
2273
2274 2003-11-11  André Pönitz  <poenitz@gmx.net>
2275
2276         * text_funcs.[Ch]: merge with ...
2277
2278         * text.C: ... this
2279
2280         * lyxtext.h:
2281         * text2.C:
2282         * text3.C: adjust
2283
2284         * Makefile.am: remove text_funcs.[Ch]
2285
2286 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2287
2288         * cursor.C (getPos): return absolute cached y coord
2289
2290         * BufferView_pimpl.C (fitCursor): new simplistic code
2291         (workAreaDispatch): add a fitCursor call
2292
2293 2003-11-10  André Pönitz  <poenitz@gmx.net>
2294
2295         * BufferView.[Ch]:
2296         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2297
2298 2003-11-10  André Pönitz  <poenitz@gmx.net>
2299
2300         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2301         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2302         indicate that the cursor needs to leave an inset
2303
2304         * lyxtext.h: remove inset locking
2305
2306         * cursor.[Ch]: re-implement functionality provided by inset locking
2307
2308         * BufferView.[Ch]:
2309         * BufferView_pimpl.[Ch]:
2310         * LyXAction.C:
2311         * bufferview_funcs.[Ch]:
2312         * factory.C:
2313         * funcrequest.[Ch]:
2314         * iterators.C:
2315         * lyx_cb.C:
2316         * lyxfind.C:
2317         * lyxfunc.C:
2318         * text.C:
2319         * text2.C:
2320         * text3.C:
2321         * undo.C: adjust
2322
2323 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2324
2325         * PosIterator.[Ch]: replace the stack with a vector, add inset
2326         accesor
2327         * iterators.[C]: adjust
2328
2329 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2330
2331         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2332         replaced
2333         * paragraph_funcs.C (readParToken): put the correct id in the
2334         error item, not the id of the top paragraph
2335
2336 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2337
2338         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2339         * bufferview_funcs.C (put_selection_at): use the above
2340
2341 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2342
2343         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2344
2345 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2346
2347         * output_linuxdoc.h:
2348         * output_plaintext.h:
2349         * output.h:
2350         * output_docbook.h: add #include statements
2351
2352 2003-11-05  José Matos  <jamatos@lyx.org>
2353
2354         * output_docbook.[Ch]:
2355         * output_latex.[Ch]:
2356         * output_linuxdoc.[Ch]:
2357         * output_plaintext.[Ch]: New files for output formats.
2358         * output.[Ch]: New file for helper functions.
2359
2360         * buffer.[Ch]:
2361         * paragraph_funcs.[Ch]: output functions moved to new files.
2362
2363         * outputparams.h: rename of latexrunparams.h
2364
2365         * LaTeX.[Ch]:
2366         * buffer.[Ch]:
2367         * bufferlist.[Ch]:
2368         * converter.[Ch]:
2369         * exporter.C:
2370         * paragraph.[Ch]:
2371         * paragraph_funcs.[Ch]:
2372         * paragraph_pimpl.[Ch]:
2373         * tabular.[Ch]: rename ascii to plaintext
2374         and LatexRunParams to OutputParams.
2375
2376 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2377
2378         * iterators.[Ch] (text): require bv argument
2379         * undo.C (recordUndo):
2380         * lyxfunc.C (dispatch):
2381         * bufferview_funcs.C (put_selection_at): adjust
2382
2383 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2384
2385         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2386
2387 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2388
2389         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2390         nestings
2391
2392 2003-11-04  André Pönitz  <poenitz@gmx.net>
2393
2394         * cursor.[Ch]: restructure
2395
2396         * BufferView.[Ch]:
2397         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2398
2399         * iterators.[Ch] (asCursor): remove
2400
2401         * lfuns.h: remove LFUN_INSET_EDIT
2402
2403         * lyxfunc.C:
2404         * tabular.C:
2405         * text.C:
2406         * text2.C:
2407         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2408
2409 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2410
2411         * lyxfind.[Ch]: complete overhaul
2412         * BufferView_pimpl.C:
2413         * lyxfunc.C: adjust
2414         * paragraph.[Ch] (insert): add
2415
2416 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2417
2418         * BufferView.[Ch]:
2419         * lyxtext.h:
2420         * text.C: remove dead spellcheck code
2421
2422 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2423
2424         * dispatchresult.h: add a val setter
2425
2426         * cursor.C (dispatch): use a tempvar for data_[i]
2427
2428 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2429
2430         * PosIterator.[Ch]: compile fix
2431
2432 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2433
2434         * text.C (cursorPar): deactivate the cursor cache
2435
2436 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2439
2440 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2441
2442         * text3.C (dispatch): adjust for new DisptchResult semantics.
2443
2444         * lyxfunc.C (dispatch): handle update when return from
2445         Cursor::dispatch, adjust for new DispatchResult semantics.
2446
2447         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2448         DispatchResult(true) mean to not update. Add class functions for
2449         setting dispatched and update, as well as reading.
2450
2451         * cursor.C (dispatch): don't handle update here
2452
2453 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2456         * trans_mgr.C: adjust
2457
2458         * paragraph_funcs.C (readParToken): exception safety
2459
2460         * lyxvc.h: store the vcs pointer in a scoped_ptr
2461         * lyxvc.C: adjust
2462
2463         * lyxsocket.C (serverCallback): exception safety
2464
2465         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2466
2467         * ispell.C (clone): make it return a auto_ptr
2468
2469         * factory.C (createInset): exception safety
2470         (readInset): exception safety
2471
2472         * bufferlist.C (newBuffer): exception safety
2473
2474         * Thesaurus.C (Thesaurus): use initialization for aik_
2475
2476         * MenuBackend.C (expandToc): exception safety.
2477
2478 2003-11-03  André Pönitz  <poenitz@gmx.net>
2479
2480         * buffer.C:
2481         * buffer.h:
2482         * bufferview_funcs.C: remove getInsetFromId()
2483
2484         * lyxcursor.[Ch]:
2485         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2486
2487         * lyxfunc.C:
2488         * text2.C:
2489         * text3.C: adjust
2490
2491 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2492
2493         * PosIterator.C (distance, advance): new
2494         * bufferview_funcs.[Ch] (put_selection_at): new
2495         * iterators.[Ch] (lockPath): new
2496
2497 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2498
2499         * iterators.[Ch] (asPosIterator): added
2500         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2501         * PosIterator.[Ch]: added
2502
2503 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2504
2505         * text3.C:
2506         * lyxfunc.C:
2507         * cursor.C (dispatch):
2508         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2509
2510         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2511         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2512         contructor, add a class function dispatched. Remove operator>=
2513
2514 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2515
2516         * debug.C: only use the default constructor for debugstream
2517         (lyxerr) here.
2518
2519         * main.C (main): include debug.h and setup the lyxerr streambuf
2520         here.
2521
2522 2003-10-31  José Matos  <jamatos@lyx.org>
2523
2524         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2525
2526         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2527         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2528         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2529         * paragraph_pimpl.C (simpleTeXSpecialC):
2530         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2531         add LatexRunParams argument.
2532
2533         * exporter.C (Export): change call accordingly.
2534
2535         * latexrunparams.h: add new member to take care of the other backends.
2536 2003-10-30  José Matos  <jamatos@lyx.org>
2537
2538         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2539         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2540         factorise code for paragraph output.
2541         * buffer.[Ch]:
2542         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2543         move functions.
2544
2545 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2546
2547         * text3.C (dispatch):
2548         * lyxfunc.C (dispatch):
2549         * cursor.C (dispatch):
2550         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2551
2552         * dispatchresult.h: make the dispatch_result_t ctor explicit
2553
2554 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2555
2556         * sgml.[Ch]:
2557         * buffer.C: small refactoring of docbook stuff
2558
2559 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2560
2561         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2562         meaning.
2563
2564 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2567         operator dispatch_result_t, and operators for == != and >=
2568
2569         * cursor.C (dispatch): adjust for operator dispatch_result_t
2570         removal. comment out call to update
2571
2572         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2573
2574 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2575
2576         * text3.C:
2577         * text2.C:
2578         * text.C:
2579         * lyxtext.h:
2580         * lyxfunc.C:
2581         * cursor.C:
2582         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2583         (dispatch):
2584
2585         * dispatchresult.h: new file, DispatchResult broken out of
2586         insets/insetbase.h
2587
2588         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2589
2590 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2591
2592         * text.C (rowBreakPoint): put a hack inside #if 0
2593
2594 2003-10-28  André Pönitz  <poenitz@gmx.net>
2595
2596         * lyxtext.h:
2597         * metricsinfo.C:
2598         * paragraph_funcs.C:
2599         * rowpainter.C:
2600         * text.C:
2601         * text2.C: general cleanup (lots of small stuff)
2602
2603 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2604
2605         * text2.C (cursorEnd): simple fix to the "end key goes to one
2606         before the end on last row" bug
2607
2608 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2609
2610         * text.C (backspace): fix the "zombie characters"
2611
2612 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2613
2614         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2615
2616 2003-10-27  André Pönitz  <poenitz@gmx.net>
2617
2618         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2619
2620         * factory.C: handle new InsetPagebreak, InsetLine
2621
2622         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2623         and move handling into new InsetPagebreak, InsetLine
2624
2625         * BufferView_pimpl.C:
2626         * LyXAction.C:
2627         * ParagraphParameters.C:
2628         * ParameterStruct.h:
2629         * lyxfunc.C:
2630         * lyxtext.h:
2631         * paragraph.C:
2632         * paragraph.h:
2633         * paragraph_funcs.C:
2634         * paragraph_pimpl.C:
2635         * rowpainter.C:
2636         * text.C:
2637         * text2.C:
2638         * text3.C: adjust
2639
2640 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2641
2642         * text.C:
2643         * lyxrow_funcs.[Ch]:
2644         * Bidi.C:
2645         * paragraph.C:
2646         * lyxtext.h:
2647         * rowpainter.C:
2648         * text2.C:
2649         * text3.C: remove lastPos uses in favour of Row::endpos
2650
2651 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2652
2653         * undo.C (performUndoOrRedo): fix two crashes by setting a
2654         cursor by hand and reordering some calls. Use bv->lockInset instead
2655         of inset->edit because the latter loses cursor information
2656
2657 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2658
2659         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2660         by Martin
2661         (rowBreakPoint): fix width. change point to point + 1.
2662         Add a missing check.
2663
2664 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2665
2666         * MenuBackend.C:
2667         * lyxfunc.C: fix (at least partly) the problems
2668         with the Nav menu and headers inside branch insets
2669         reported by Kayvan
2670
2671 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2672
2673         * paragraph.C (getChar): add strong asserts
2674
2675         * lyxrow_funcs.C (lastPos): remove hideous hack
2676
2677         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2678         (fill): adjust to that (avoid an infinite loop)
2679
2680 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2681
2682         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2683
2684 2003-10-23  André Pönitz  <poenitz@gmx.net>
2685
2686         * RowList_fwd.h: change list<> to vector<> to gain speed
2687         after suggestion from Alfredo
2688
2689 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2690
2691         * lyxtext.h: move the bidi stuff from here...
2692         * text.C: and here
2693         * text2.C: and here
2694         * Bidi.[Ch]: ... to here
2695
2696 2003-10-23  André Pönitz  <poenitz@gmx.net>
2697
2698         * lyxtext.h:
2699         * text.C (isLastRow, isFirstRow): new functions
2700
2701         * paragraph.h: new width cache member
2702
2703         * rowpainter.C: replace RowList::iterator with Row & where possible
2704
2705         * lyxfunc.C: replace several view()->text with a single call
2706
2707         * toc.C: fix 'unused' warning
2708
2709 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2710
2711         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2712         when woring with stream::pos_type
2713         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2714
2715 2003-10-22  André Pönitz  <poenitz@gmx.net>
2716
2717         * lyxtext.h:
2718         * text.C: use Row & instead of RowList::iterator
2719
2720         * lyxrow.h: rename end() to endpos()
2721
2722         * rowpainter.C:
2723         * text.C:
2724         * text2.C: adjust
2725
2726 2003-10-22  Angus Leeming  <leeming@lyx.org>
2727
2728         * buffer.[Ch] (fully_loaded): new member function, returning true
2729         only when the file has been loaded fully.
2730         Used to prevent the premature generation of previews and by the
2731         citation inset to prevent computation of the natbib-style label.
2732
2733         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2734         templates are all set up.
2735
2736         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2737
2738 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2739
2740         * text.C: fixed an "oops" in the "is a bit silly"
2741         bug fix
2742
2743 2003-10-21  André Pönitz  <poenitz@gmx.net>
2744
2745         * FuncStatus.[Ch]: small stuff, whitespace
2746
2747         * lyxfont.[Ch]: operator<<() for debug reasons
2748
2749         * lyxfunc.C:
2750         * lyxrow_funcs.C:
2751         * lyxtext.h: whitespace, spelling
2752
2753         * paragraph.C: naming of variables
2754
2755         * text.C:
2756         * text2.C: small stuff
2757
2758
2759 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2760
2761         * text.C: (1) finish off the inset display() work;
2762         (2) fix the "is a bit silly" bug (accessing char
2763         past end of par).
2764
2765 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2766
2767         * text.C: re-introduce display() for insets, fixing the
2768         various bugs (stretch of line above, math inset
2769         positioning, ...)
2770
2771 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2772
2773         * text.C (rightMargin): remove spurious semicolon
2774
2775         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2776         1415)
2777
2778 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2779
2780         * text3.C: fix one crash due to wrong cursor def
2781
2782 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2783
2784         * vc-backend.C (scanMaster): make the regex static
2785
2786         * LaTeX.C (scanAuxFile): make the regexs static
2787
2788         * text3.C (doInsertInset, dispatch, dispatch):
2789         * text2.C (cursorUp, cursorDown):
2790         * text.C (selectNextWordToSpellcheck):
2791         * BufferView_pimpl.C (dispatch):
2792         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2793
2794 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2795
2796         * lyxsocket.C: include <cerrno>
2797
2798 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2799
2800         * lyxfunc.C (dispatch): remove textcache stuff
2801
2802         * bufferlist.C (release): remove textcache stuff
2803         (closeAll): ditto
2804
2805         * TextCache.C: delete file
2806         * TextCache.h: delete file
2807
2808         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2809
2810         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2811         delete of the bv_->text.
2812         (resizeCurrentBuffer): remove texcache stuff
2813         (workAreaResize): ditto
2814
2815 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2818         action.
2819
2820 2003-10-16  André Pönitz  <poenitz@gmx.net>
2821
2822         * lyxrow.[Ch]:
2823         * paragraph.h:
2824         * rowpainter.C:
2825         * text.C:
2826         * text2.C:
2827         * text3.C: speed up by storing y positions per paragraph plus per-row
2828         offset instead of having a 'full' y position in the row.
2829
2830 2003-10-15  André Pönitz  <poenitz@gmx.net>
2831
2832         * iterators.[Ch]:
2833         * iterators.[Ch]:
2834         * undo.[Ch]: make undo aware of inner insets
2835
2836 2003-10-14  Angus Leeming  <leeming@lyx.org>
2837
2838         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2839         static member functions LyX::ref() and LyX::cref.
2840         (lastfiles): new accessor functions for the new lastfiles_ member var.
2841         (addLyXView, views_): add a new LyXView to the list of views_.
2842         (updateInset): loop over all LyXViews to call their own updateInset
2843         member function, returning a pointer to the Buffer owning the inset.
2844
2845         * BufferView_pimpl.C (loadLyXFile):
2846         * MenuBackend.C (expandLastfiles):
2847         * bufferlist.C (MenuWrite, QuitLyX):
2848         lastfiles is no longer a global variable.
2849         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2850
2851         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2852         static function. Access through LyX::cref().emergencyCleanup().
2853
2854 2003-10-14  André Pönitz  <poenitz@gmx.net>
2855
2856         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2857
2858         * undo.[Ch]: restoring part of 'undo in insets'
2859
2860         * Makefile.am:
2861         * undo_funcs.[Ch]: merge with undo.[Ch]
2862
2863         * tabular.C: small cleansing stuff
2864
2865 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * paragraph_funcs.C (readParToken): report unknown insets as error
2868         boxes. Use the outer paragraph as location (also for unknown
2869         tokens).
2870
2871         * factory.C (readInset): do not abort on reading an unknown inset.
2872         Eat it and return 0.
2873
2874 2003-10-13  Angus Leeming  <leeming@lyx.org>
2875
2876         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2877
2878         * lyxrc.C: displayTranslator is now a function,
2879         declared in GraphicsTypes.h.
2880
2881 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2882
2883         * format.C: new placeholder $$a to pass the socket address.
2884
2885         * bufferlist.[Ch]: new function getBufferFromTmp.
2886
2887         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2888           files in the temporary dir.
2889
2890 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2891
2892         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2893
2894         * Makefile.am: add lyxsocket.[Ch].
2895
2896         * lyx_main.C (error_handler): handle SIGPIPE.
2897
2898 2003-10-13  André Pönitz  <poenitz@gmx.net>
2899
2900         * BufferView_pimpl.C:
2901         * lyxtext.h:
2902         * text.C:
2903         * text2.C:
2904         * text3.C:
2905         * undo_funcs.[Ch]: use paroffset_type instead of
2906           ParagraphList::iterators to prevent multiple conversion
2907           (and get a more robust interface)
2908
2909 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2910
2911         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2912         * lyxtext.h: ditto
2913         * text3.C (dispatch): ditto
2914
2915 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2916
2917         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2918         move the onlyfile, use onlyfile instead of foundfile in a couple
2919         of places.
2920
2921         * DepTable.C (update): flush the error stream a bit more
2922
2923 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2924
2925         * lyxserver.C (callback): adjust
2926
2927         * lyxfunc.C (getStatus): add a missing brace in commented code
2928         (ensureBufferClean): reindent
2929         (dispatch): delete version taking a string
2930
2931 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2932
2933         * LaTeX.C (deplog): move found file handlig from here...
2934         (handleFoundFile): .. to new function here.
2935         (deplog): make sure to discover several files mentioned on the
2936         same log line.
2937
2938 2003-10-10  André Pönitz  <poenitz@gmx.net>
2939
2940         * lyxfunc.C:
2941         * lyxtext.h:
2942         * tabular.C:
2943         * text.C:
2944         * text2.C:
2945         * text3.C: fix some of the tabular crashes
2946
2947 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2948
2949         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2950
2951         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2952
2953 2003-10-09  André Pönitz  <poenitz@gmx.net>
2954
2955         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2956
2957         * BufferView.C:
2958         * BufferView_pimpl.C:
2959         * bufferview_funcs.C:
2960         * lyx_cb.C:
2961         * lyxcursor.C:
2962         * lyxfind.C:
2963         * lyxfunc.C:
2964         * lyxtext.h:
2965         * text.C:
2966         * text2.C:
2967         * text3.C:
2968         * text_funcs.[Ch]:
2969         * textcursor.[Ch]:
2970         * undo_funcs.C: adjust
2971
2972 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2973
2974         * text2.C (incrementItemDepth): new function, use a backtracking
2975         algorithm to discover the correct item depth.
2976         (resetEnumCounterIfNeeded): new function, use a backtracking
2977         algorithm to discover if counter reset is needed.
2978         (setCounter): use them. Simplify a bit. Add different labels for
2979         different item depths for itemize.
2980
2981         * paragraph.C (Paragraph): remove initialization of enumdepth
2982         (operator=): ditto
2983
2984         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2985         enumerate and itemize. Change the type of itemdepth to signed char.
2986
2987 2003-10-08  André Pönitz  <poenitz@gmx.net>
2988
2989         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2990           thing assignable.
2991         * text.C:
2992         * text2.C: adjust
2993
2994         * tabular.[Ch]: fix crash after 'row-insert'
2995
2996 2003-10-08  Angus Leeming  <leeming@lyx.org>
2997
2998         Fix doxygen warnings.
2999
3000         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3001         Remove CutAndPaste:: prefix from header file declaration.
3002
3003         * LColor.h (fill): remove LColor:: prefix from declaration.
3004
3005         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3006         use lyx::depth_type rather than Paragraph::depth_type so that
3007         header file and .C file match.
3008
3009         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3010
3011         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3012         * aspell.C: \file aspell_local.C -> \file aspell.C
3013         * gettext.C: \file gettext.C -> \file src/gettext.C
3014         * gettext.h: \file gettext.h -> \file src/gettext.h
3015         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3016         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3017         * text.C: \file text.C -> \file src/text.C
3018
3019         * toc.C: move comment so that doxygen is not confused.
3020
3021 2003-10-07  Angus Leeming  <leeming@lyx.org>
3022
3023         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3024
3025 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3026
3027         * aspell.C:
3028         * aspell_local.h: add forgotten std::string's.
3029
3030 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3031
3032         * LaTeXFeatures.C:
3033         * LyXAction.C:
3034         * factory.C:
3035         * lfuns.h:
3036         * lyxfunc.C:
3037         * text3.C: The Box patch. Fancybox support, minipage, parbox
3038
3039 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3040
3041         * CutAndPaste.h:
3042         * DepTable.h:
3043         * FloatList.h:
3044         * LaTeXFeatures.h:
3045         * ParagraphParameters.h:
3046         * TextCache.h:
3047         * Thesaurus.h:
3048         * bufferlist.h:
3049         * exporter.h:
3050         * importer.h:
3051         * lastfiles.h:
3052         * lyxfind.h:
3053         * lyxfont.h:
3054         * lyxlex.h:
3055         * lyxtextclasslist.h:
3056         * messages.h:
3057         * paragraph.h:
3058         * paragraph_pimpl.C:
3059         * textcursor.h: add <string> and other small fixes to make Lars'
3060         std::string patch compile with STLport.
3061
3062 2003-10-06  Angus Leeming  <leeming@lyx.org>
3063
3064         * LColor.h: Add missing #include <string>.
3065
3066 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3067
3068         * All most all file in all subdirs: Make <string> be the prefered
3069         way of getting to std::string, add using declarations.
3070
3071 2003-10-06  André Pönitz  <poenitz@gmx.net>
3072
3073         * metricsinfo.C: initialize LyXFont before changing attribute.
3074         (fixes the 'math in \emph is upright' bug)
3075
3076 2003-10-06  André Pönitz  <poenitz@gmx.net>
3077
3078         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3079
3080 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3081
3082         * graph.C:
3083         * paragraph_pimpl.C: Small fixes to build using STLport
3084
3085 2003-10-02  André Pönitz  <poenitz@gmx.net>
3086
3087         * lyxfunc.C:
3088         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3089
3090 2003-10-01  André Pönitz  <poenitz@gmx.net>
3091
3092         * factory.C: assert early
3093
3094 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * lyx_main.C: remove the global debug object
3097
3098         * debug.h: adjust for new debugstream
3099
3100         * debug.C: adjust for new debugstream and keep the global debug
3101         object here.
3102
3103 2003-09-22  Angus Leeming  <leeming@lyx.org>
3104
3105         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3106         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3107         an incomplete class LyXFont.
3108
3109 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3110
3111         * factory.C: bug fix in branches
3112
3113 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3114
3115         * lyxfunc.C (processKeySym): adjust
3116         (dispatch): adjust
3117         (dispatch): change arg name from ev to func, adjust
3118         (sendDispatchMessage): ditto
3119
3120         * lyx_main.C (defaultKeyBindings): adjust keybindings
3121         (deadKeyBindings): ditto
3122
3123         * kbsequence.C (addkey): return a FuncRequest
3124
3125         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3126
3127         * kbmap.C (bind): take a FuncRequest as arg, adjust
3128         (read): adjust
3129         (lookup): adjust
3130         (defkey): change to take a FuncRequest as arg, adjust
3131         (findbinding): take a FuncRequest as arg, adjust.
3132
3133         * funcrequest.h (operator=): added
3134
3135         * funcrequest.C (FuncRequest): default kb_action changed from
3136         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3137
3138         * buffer.C (dispatch): simplify
3139         (dispatch): adjust to take a FuncRequest as arg, adjust
3140
3141         * boost.C (assertion_failed): change assertion message slightly
3142
3143         * ToolbarBackend.C (read): simplify
3144
3145         * MenuBackend.C (binding): adjust call to findbinding, add a
3146         message if no binding is found.
3147         (read): simplify
3148         (expandToc): correct by adding a empty FuncRequest
3149
3150         * LyXAction.C: include <boost/assert.hpp>
3151         (isPseudoAction): delete function
3152         (LookupFunc): change name to...
3153         (lookupFunc): this. change return type to FuncRequest.
3154         (getActionName): take kb_action as arg, simplify
3155         (funcHasFlag): add an assert, simplify.
3156
3157 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3158
3159         * toc.C (action): return a FuncRequest, simplify
3160
3161         * lyxfunc.C (processKeySym): adjust
3162         (getStatus): delete version that takes an int.
3163         (getStatus): adjust
3164         (dispatch): delete version that takes action as int
3165         (dispatch): adjust
3166         (sendDispatchMessage): simplify and adjust
3167
3168         * funcrequest.C (getArg): take unsigned int as arg
3169
3170         * ToolbarBackend.C (read): adjust
3171         (add): delete version that takes func as a string.
3172         (getIton): take a FuncRequest as arg
3173
3174         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3175         action.
3176
3177         * MenuBackend.C (MenuItem): add a new construct that only takes a
3178         Kind, simplify the constructor use for submenus.
3179         (add): adjust
3180         (expandLastfiles): adjust
3181         (expandDocuments): adjust
3182         (expandFormats): adjust
3183         (expandFloatListInsert): adjust
3184         (expandFloatInsert): adjust
3185         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3186
3187         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3188         Remove class variables lyx_pseudo_map and lyx_arg_map
3189
3190         * LyXAction.C (searchActionArg): delete function
3191         (getPseudoAction): delete function
3192         (retrieveActionArg): delete function
3193         (LookupFunc): make it return kb_action, simplify.
3194         (getActionName): simplify
3195
3196         * factory.C (createInset): fix new bug
3197
3198 2003-09-19  Angus Leeming  <leeming@lyx.org>
3199
3200         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3201         masterFilename_ parameter in the include inset.
3202
3203         * factory.C (createInset): changes due to the changes to InsetInclude.
3204
3205 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3206
3207         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3208
3209 2003-09-18  Angus Leeming  <leeming@lyx.org>
3210
3211         * buffer.C:
3212         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3213         Inset::fillWithBibKeys.
3214         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3215
3216 2003-09-18  Angus Leeming  <leeming@lyx.org>
3217
3218         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3219         variables.
3220         (ctor): pass and store a 'Buffer const &'
3221         (buffer): new member function.
3222
3223         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3224         '*this' to the LaTeXFeatures ctor.
3225
3226 2003-09-18  Angus Leeming  <leeming@lyx.org>
3227
3228         * LColor.h:
3229         * lyxfont.C:
3230         * lyxfont.h:
3231         * lyxtext.h:
3232         * text.C: rename EnumLColor as LColor_color.
3233
3234 2003-09-18  Angus Leeming  <leeming@lyx.org>
3235
3236         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3237         remove #include "insets/insetbase.h" from cursor.h.
3238
3239 2003-09-18  Angus Leeming  <leeming@lyx.org>
3240
3241         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3242         InsetOld_code to remove #include "inset.h".
3243
3244         * iterators.C: add #include "insets/inset.h"
3245
3246 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3247
3248         * BufferView.C: remove more locking stuff that apparently doesn't
3249         do anything sensible.
3250
3251 2003-09-16  André Pönitz  <poenitz@gmx.net>
3252
3253         * paragraph.[Ch]:
3254         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3255           performance boost.
3256
3257 2003-09-16  Angus Leeming  <leeming@lyx.org>
3258
3259         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3260
3261         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3262         arg/return type.
3263
3264         * paragraph.h: remove #include "lyxfont.h". Forward declare
3265         LyXFont_size.
3266
3267 2003-09-16  Angus Leeming  <leeming@lyx.org>
3268
3269         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3270         of support/textutils.h.
3271         (isWord): move the contents of support/textutils.h's IsWordChar here.
3272
3273         * buffer.C:
3274         * lyxfind.C:
3275         * rowpainter.C:
3276         * text.C:
3277         * text2.C: add #include "paragraph.h".
3278
3279         * rowpainter.C:
3280         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3281
3282 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3283
3284         * main.C:
3285         * lyx_main.C:
3286         * lyx_cb.C:
3287         * buffer.C:
3288         * LaTeX.C: use namespace alias for lyx::support::os
3289
3290 2003-09-16  Angus Leeming  <leeming@lyx.org>
3291
3292         * bufferparams.C:
3293         * bufferview_funcs.C:
3294         * factory.C:
3295         * lyxfunc.C:
3296         * paragraph_pimpl.C:
3297         * rowpainter.C:
3298         * text.C: add #include "LColor.h".
3299
3300 2003-09-16  Angus Leeming  <leeming@lyx.org>
3301
3302         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3303         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3304         return LyXFont &.
3305         Store the FontBits::color variable as an int rather than as an
3306         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3307         file.
3308
3309         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3310         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3311         string calls together.
3312
3313         * lyxrc.C: add #include "LColor.h".
3314
3315 2003-09-15  Angus Leeming  <leeming@lyx.org>
3316
3317         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3318         a cow_ptr.
3319
3320 2003-09-15  Angus Leeming  <leeming@lyx.org>
3321
3322         * LColor.h: add an EnumLColor wrapper for LColor::color.
3323
3324         * lyxfont.[Ch] (color, setColor, realColor):
3325         * lyxtext.h, text.C (backgroundColor):
3326         pass EnumLColor args to/from the functions, rather than LColor::color
3327         ones.
3328
3329         * lyxfont.h:
3330         * lyxtext.h: forward declare EnumLColor.
3331
3332         * lyx_main.C: add #include "LColor.h".
3333
3334 2003-09-15  Angus Leeming  <leeming@lyx.org>
3335
3336         * .cvsignore: add lyx-gtk.
3337
3338 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3339
3340         * Chktex.C
3341         * LaTeX.C
3342         * LaTeXFeatures.C
3343         * ParagraphParameters.C
3344         * Spacing.C
3345         * buffer.C
3346         * bufferparams.C
3347         * bufferview_funcs.C
3348         * chset.C
3349         * counters.C
3350         * funcrequest.C
3351         * lyxfont.C
3352         * lyxgluelength.C
3353         * lyxlength.C
3354         * paragraph.C
3355         * paragraph_funcs.C
3356         * text3.C
3357         * vc-backend.C: remove usage of STRCONV
3358
3359 2003-09-15  Angus Leeming  <leeming@lyx.org>
3360
3361         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3362         explicitly define the color passed to the painter.
3363
3364 2003-09-15  Angus Leeming  <leeming@lyx.org>
3365
3366         * bufferparams.C (BufferParams): reorder member initializers to avoid
3367         compiler warning.
3368
3369 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3370
3371         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3372         * text.C (updateRowPositions): remove an unusual nop
3373
3374 2003-09-12  André Pönitz  <poenitz@gmx.net>
3375
3376         * BufferView_pimpl.C:
3377         * Bullet.C:
3378         * layout.h:
3379         * lyxfunc.C:
3380         * lyxlayout.[Ch]:
3381         * lyxtextclass.C:
3382         * rowpainter.C:
3383         * text.C:
3384         * text2.C:
3385         * Counters.[Ch]: finish the 'automatic counters' job
3386
3387 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3388
3389         * aspell.C: include <boost/assert.cpp> (compile fix)
3390
3391 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3392
3393         * boost.C (assertion_failed): use lyx::support::abort instead of
3394         assert.
3395
3396 2003-09-10  Angus Leeming  <leeming@lyx.org>
3397
3398         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3399         with their _fwd progeny.
3400
3401 2003-09-09  Angus Leeming  <leeming@lyx.org>
3402
3403         134 files throughtout the source tree: replace 'using namespace abc;'
3404         directives with the appropriate 'using abc::xyz;' declarations.
3405
3406 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3407
3408         * boost.C (emergencyCleanup): moved here from LAssert.c
3409         (assertion_failed): new function, called by BOOST_ASSERT
3410
3411         * several files: change Assert to BOOST_ASSERT
3412
3413 2003-09-09  Angus Leeming  <leeming@lyx.org>
3414
3415         * buffer.[Ch]: Add an Impl class and move Buffer's member
3416         variables into it. As a result move several header files out of
3417         buffer.h.
3418
3419         Add header files to lots of .C files all over the tree as a result.
3420
3421 2003-09-09  Angus Leeming  <leeming@lyx.org>
3422
3423         * buffer.[Ch]: make Buffer's member variables private. Add
3424         accessor functions.
3425
3426         Lots of changes all over the tree as a result.
3427
3428 2003-09-08  Angus Leeming  <leeming@lyx.org>
3429
3430         * graph.C: #include <config.h>.
3431
3432 2003-09-08  Angus Leeming  <leeming@lyx.org>
3433
3434         * BranchList.C:
3435         * BufferView.C:
3436         * BufferView_pimpl.C:
3437         * CutAndPaste.C:
3438         * DepTable.C:
3439         * LaTeX.C:
3440         * LaTeXFeatures.C:
3441         * LyXAction.C:
3442         * MenuBackend.C:
3443         * TextCache.C:
3444         * aspell.C:
3445         * buffer.C:
3446         * bufferlist.C:
3447         * changes.C:
3448         * chset.C:
3449         * converter.C:
3450         * counters.C:
3451         * debug.C:
3452         * graph.C:
3453         * ispell.C:
3454         * lyx_cb.C:
3455         * lyxfind.C:
3456         * lyxfunc.C:
3457         * lyxlex_pimpl.C:
3458         * lyxrc.C:
3459         * lyxrow.C:
3460         * paragraph.C:
3461         * rowpainter.C:
3462         * texrow.C:
3463         * text.C:
3464         * text2.C:
3465         * toc.C: remove redundant using directives.
3466
3467 2003-09-07  Angus Leeming  <leeming@lyx.org>
3468
3469         * LaTeXFeatures.h: remove #include "support/types.h".
3470         * ToolbarBackend.h: remove #include <algorithm>.
3471         * changes.h: remove #include <ctime>.
3472         * debug.h: remove #include <iosfwd>.
3473         * graph.h: remove #include "support/std_string.h".
3474         * lyx_main.h: remove #include <csignal>.
3475         * lyxlex_pimpl.h: remove #include <fstream>.
3476         * sgml.h: remove #include <algorithm>, <utility>.
3477         * toc.h: remove #include "support/std_ostream.h".
3478         Add #include <iosfwd>.
3479
3480 2003-09-07  Angus Leeming  <leeming@lyx.org>
3481
3482         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3483
3484         * converter.h: forward declare LatexRunParams.
3485         * encoding.h: remove #include "lyxrc.h".
3486         * lyxtext.h: remove #include "LColor.h".
3487         * lyxtextclass.h: remove #include "support/types.h".
3488         * trans.h: remove #include "tex-accent.h".
3489         * trans_mgr.h: remove #include "tex-accent.h".
3490         * insets/inset.h: remove #include "support/types.h", <vector>.
3491         * insets/insetcollapsable.h: remove #include "LColor.h".
3492         * insets/insetinclude.h: remove #include "dimension.h".
3493         * insets/insetlatexaccent.h: remove #include "dimension.h".
3494         * insets/insetoptarg.h:: remove #include "insettext.h".
3495         * insets/insettext.h: remove #include "dimension.h",
3496         <boost/shared_ptr.hpp>
3497
3498         * insets/renderers.h: add #include "dimension.h".
3499         * insets/updatableinset.h: add #include "support/types.h".
3500
3501         * many .C files: Associated changes.
3502
3503 2003-09-06  Angus Leeming  <leeming@lyx.org>
3504
3505         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3506         one, inside testInvariant.
3507
3508         * PrinterParams.C: new file.
3509         * PrinterParams.[Ch]: move the function bodies out of line.
3510
3511 2003-09-06  Angus Leeming  <leeming@lyx.org>
3512
3513         * ParagraphParameters.h: forward declare ParameterStruct rather than
3514         including its header file.
3515         (depth): moved out-of-line.
3516
3517 2003-09-06  Angus Leeming  <leeming@lyx.org>
3518
3519         * BufferView_pimpl.h:
3520         * kbmap.h:
3521         * kbsequence.h:
3522         * lyxfunc.h: forward declare LyXKeySym rather than
3523         #include "frontends/LyXKeySym.h".
3524
3525         * BufferView_pimpl.C:
3526         * kbmap.C:
3527         * kbsequence.C:
3528         * lyxfunc.C: associated changes.
3529
3530 2003-09-06  Angus Leeming  <leeming@lyx.org>
3531
3532         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3533         As a result, can remove the #include "insets/inset.h" from BufferView.h
3534
3535 2003-09-06  Angus Leeming  <leeming@lyx.org>
3536
3537         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3538         As a result, can remove the #include "insets/inset.h" from BufferView.h
3539
3540 2003-09-06  Angus Leeming  <leeming@lyx.org>
3541
3542         * buffer_funcs.C:
3543         * buffer.h:
3544         * bufferlist.C:
3545         * BufferView.C:
3546         * bufferview_funcs.C:
3547         * BufferView_pimpl.C:
3548         * CutAndPaste.C:
3549         * lyx_cb.C:
3550         * lyxfunc.C:
3551         * paragraph.h:
3552         * ParagraphParameters.C:
3553         * tabular.C:
3554         * text3.C:
3555         * toc.C:
3556         * undo_funcs.C:
3557         * frontends/controllers/ControlDocument.C:
3558         * insets/insetcaption.C: rearrange the #includes into some sort of
3559         coherent order.
3560
3561         * buffer.h: remove #includes ErrorList.h, undo.h
3562
3563 2003-09-06  Angus Leeming  <leeming@lyx.org>
3564
3565         * support/types.h: add a 'depth_type' typedef, used to store the
3566         nesting depth of a paragraph.
3567
3568         * paragraph.h:
3569         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3570         defining explicitly.
3571
3572         * buffer.h:
3573         * paragraph_funcs.h:
3574         * ParagraphParameters.h:
3575         * sgml.h: use lyx::depth_type rather than Paragraph or
3576         ParameterStruct's depth_type.
3577
3578         * buffer.h
3579         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3580
3581         * BufferView.C:
3582         * BufferView_pimpl.C:
3583         * CutAndPaste.C:
3584         * ParagraphParameters.C:
3585         * buffer_funcs.C:
3586         * bufferlist.C:
3587         * bufferview_funcs.C:
3588         * lyx_cb.C:
3589         * lyxfunc.C:
3590         * tabular.C:
3591         * text3.C:
3592         * toc.C:
3593         * undo_funcs.C:
3594         * frontends/LyXView.C:
3595         * frontends/controllers/ControlDocument.C:
3596         * frontends/controllers/ControlErrorList.C:
3597         * insets/insetbibitem.C:
3598         * insets/insetbranch.C:
3599         * insets/insetcaption.C:
3600         * insets/insetcollapsable.C:
3601         * insets/insetenv.C:
3602         * insets/insetert.C:
3603         * insets/insetfloat.C:
3604         * insets/insetfoot.C:
3605         * insets/insetfootlike.C:
3606         * insets/insetnewline.C:
3607         * insets/insetquotes.C:
3608         * insets/insettabular.C:
3609         * insets/insettext.C:
3610         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3611
3612         * frontends/controllers/ControlChanges.C: #include "changes.h".
3613
3614 2003-09-06  Angus Leeming  <leeming@lyx.org>
3615
3616         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3617         than #including paragraph.h.
3618
3619         * ParagraphList.h:
3620         * RowList.h: deleted. Superfluous.
3621
3622         * CutAndPaste.h:
3623         * iterators.h:
3624         * lyxcursor.h:
3625         * lyxtext.h:
3626         * text_funcs.h:
3627         * undo.h:
3628         * undo_funcs.h:
3629         * insets/inset.h:
3630         * insets/insettext.h: use ParagraphList_fwd.h rather than
3631         ParagraphList.h.
3632
3633         * paragraph.h: don't forward declare ParagraphList.
3634
3635         * buffer.h:
3636         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3637         rather than ParagraphList.h. paragraph.h is still needed for the
3638         Paragraph::depth_type parameters.
3639
3640         * textcursor.h: enable it to compile stand-alone in light of the
3641         above changes.
3642
3643         * bufferview_funcs.C:
3644         * iterators.C:
3645         * lyxfunc.C:
3646         * lyxrow_funcs.C:
3647         * paragraph.C:
3648         * rowpainter.C:
3649         * text.C:
3650         * text2.C:
3651         * text3.C:
3652         * text_funcs.C:
3653         * textcursor.C:
3654         * undo.C:
3655         * frontends/controllers/ControlParagraph.C:
3656         * frontends/controllers/ControlTabular.C:
3657         * insets/insetmarginal.C:
3658         * insets/insetminipage.C:
3659         * insets/insetnote.C:
3660         * insets/insetoptarg.C: add header files needed to compile again.
3661
3662 2003-09-06  Angus Leeming  <leeming@lyx.org>
3663
3664         * RowList_fwd.h: new file, forward-declaring Row rather than
3665         #including lyxrow.h.
3666
3667         * lyxrow_funcs.h:
3668         * lyxtext.h:
3669         * paragraph.h:
3670         * insets/insettext.h: use it instead of RowList.h
3671
3672         * bufferview_funcs.C:
3673         * lyxfunc.C:
3674         * lyxrow_funcs.C:
3675         * paragraph.C:
3676         * rowpainter.C:
3677         * text.C:
3678         * text2.C:
3679         * text3.C: #include "RowList.h".
3680
3681 2003-09-05  Angus Leeming  <leeming@lyx.org>
3682
3683         * factory.C (createInset):
3684         * vspace.C (c-tor): replace sscanf call with an istringstream.
3685         * ispell.C: re-add missing HP/UX headers.
3686         * lyxserver.C: re-add missing  os2 headers.
3687
3688 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3689
3690         * BranchList.C:
3691         * graph.C:
3692         * ispell.C:
3693         * lastfiles.C:
3694         * lyx_cb.C:
3695         * lyxserver.C:
3696         * texrow.C:
3697         * text3.C: re-add missing system headers, needed for 2.95.2.
3698
3699 2003-09-05  Angus Leeming  <leeming@lyx.org>
3700
3701         Changes most place everywhere due to the removal of using directives
3702         from support/std_sstream.h.
3703
3704 2003-09-05  Angus Leeming  <leeming@lyx.org>
3705
3706         Replace LString.h with support/std_string.h,
3707         Lsstream.h with support/std_sstream.h,
3708         support/LIstream.h with support/std_istream.h,
3709         support/LOstream.h with support/std_ostream.h.
3710
3711         Changes resulting throughout the tree.
3712
3713 2003-09-05  Angus Leeming  <leeming@lyx.org>
3714
3715         * sgml.h: ensure that the header file can be compiled stand-alone.
3716         * *.C: strip out redundant #includes. (320 in total.)
3717
3718 2003-09-04  Angus Leeming  <leeming@lyx.org>
3719
3720         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3721         here (from getPackages).
3722
3723         * debug.[Ch]: add a new EXTERNAL tag.
3724
3725 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3726
3727         * text2.C (cursorEnd): simplify
3728         (setCursor): adjust
3729         (getColumnNearX): adjust
3730
3731         * text.C (computeBidiTables): adjust
3732         (fill): adjust
3733
3734         * rowpainter.C (paintChars): adjust
3735         (paintSelection): adjust
3736         (paintChangeBar): adjust
3737         (paintText): adjust
3738
3739         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3740         lastPos instead.
3741         (numberOfSeparators): adjust
3742
3743 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3744
3745         * LyXAction.C:
3746         * box.[Ch]:
3747         * lfuns.h:
3748         * lyxfunc.C:
3749         * text3.C: Restricts the mouse click functionality
3750         of insets like bibtex, include, toc and floatlist to the visible
3751         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3752         up the dialogs. Cursor has to be in front of the inset (i.e.
3753         start of row) for this to function.
3754
3755 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3756
3757         * bufferview_funcs.C (currentState): output row information
3758
3759 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3760
3761         * bufferview_funcs.C (currentState): output paragraph position
3762
3763 2003-09-04  Angus Leeming  <leeming@lyx.org>
3764
3765         * FloatList.h: move out #include "Floating.h".
3766         * LaTeX.h: move out #include "DepTable.h".
3767         * LyXAction.h: move out #include "funcrequest.h".
3768         * buffer.h: move out #include "author.h", "iterators.h".
3769         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3770         * lyx_main.h: move out #include "errorlist.h".
3771         * lyxfunc.h: move out #include "FuncStatus.h".
3772         * lyxtext: move out #include "lyxcursor.h".
3773         * paragraph_pimpl.h: move out #include "counters.h".
3774
3775 2003-09-03  Angus Leeming  <leeming@lyx.org>
3776
3777         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3778         preamble_snippets list, enabling us to add snippets to the preamble
3779         only if the snippet was not there already.
3780
3781 2003-09-04  Angus Leeming  <leeming@lyx.org>
3782
3783         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3784
3785 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3786
3787         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3788         update
3789
3790 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3791
3792         * BranchList.C: point fix, earlier forgotten
3793
3794 2003-09-02  Angus Leeming  <leeming@lyx.org>
3795
3796         * box.C (contains): renamed from 'contained' after a fantastic
3797         amount of hot air.
3798
3799 2003-09-02  John Levon  <levon@movementarian.org>
3800
3801         * BufferView.C:
3802         * lyxcursor.h:
3803         * lyxcursor.C:
3804         * lyxfunc.C:
3805         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3806
3807 2003-09-02  John Levon  <levon@movementarian.org>
3808
3809         * text2.C: simplification of cursorEnd(), including partial
3810         fix for bug 1376
3811
3812 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3813
3814         * buffer.C (readFile): add a space
3815
3816 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3817
3818         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3819
3820 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * buffer.C (readFile): new function, take a filename and a
3823         ParagraphList::iterator
3824         (readFile): adjust
3825         (readFile): adjust, make it private. don't use setStream, make
3826         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3827         always contain the filename.
3828
3829         * BufferView.C (insertLyXFile): simplify and make it work for
3830         gzipped files.
3831
3832 2003-08-30  John Levon  <levon@movementarian.org>
3833
3834         * Makefile.am: fix dist (from Kayvan)
3835
3836 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * most files: change to use const Buffer refs
3839
3840 2003-08-27  André Pönitz  <poenitz@gmx.net>
3841
3842         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3843         on top of ownerPar().
3844
3845 2003-08-27  John Levon  <levon@movementarian.org>
3846
3847         * funcrequest.C: properly initialise POD members
3848
3849 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3850
3851         * lyxtext.h (top_y): move top_y from here
3852         * text.C:
3853         * text2.C:
3854         * text3.C:
3855         * BufferView.[Ch]:
3856         * BufferView_pimpl.[Ch]: to here
3857         * frontends/screen.C:
3858         * insets/insettabular.C:
3859         * insets/insettext.C: adjust
3860         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3861
3862 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3863
3864         * BufferView.[Ch]:
3865         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3866
3867 2003-08-26  André Pönitz  <poenitz@gmx.net>
3868
3869         * paragraph_func.[Ch] (outerPar): new function
3870
3871         * paragraph.C:
3872         * paragraph_funcs.C:
3873         * paragraph_funcs.h:
3874         * paragraph_pimpl.C:
3875         * text2.C: remove Inset::par_owner
3876
3877 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3878
3879         * lyxrow_funcs.C:
3880         * lyxtext.h:
3881         * text.C:
3882         * text2.C: eliminates the needFullRow/display() stuff
3883         altogether, putting the logic in metrics/draw in the insets.
3884
3885 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3886
3887         * text2.C (redoParagraphInternal, redoParagraphs):
3888         * text.C (redoParagraph): add a call to updateRowPositions at the
3889         end of each 'metrics-like' call. Remove all others.
3890         (getRow): remove the 'y-computing' version.
3891         (getRowNearY): do not compute nor return the real y. Solve the
3892         'y < 0' problem and simplify.
3893
3894 2003-08-22  Angus Leeming  <leeming@lyx.org>
3895
3896         * *.[Ch]: clean-up of licence and author blurbs.
3897         Also move config.h out of a few .h files and into a few .C files.
3898
3899 2003-08-22  André Pönitz  <poenitz@gmx.net>
3900
3901         * lyxrow.[Ch]: add x_ and *fill_ members
3902
3903         * lyxtext.h:
3904         * text.C:
3905         * rowpainter.C:
3906         * text2.C: adjust/remove prepareToPrint() calls
3907
3908 2003-08-22  André Pönitz  <poenitz@gmx.net>
3909
3910         * lyxrow.[Ch]: add  end_ member
3911
3912         * lyxrow_funcs.C: use LyXRow::end_
3913
3914         * lyxtext.h (singleWidth): add LyXFont parameter
3915
3916         * rowpainter.C:
3917         * text2.C: adjust LyXText::singleWidth() calls
3918
3919         * text.C (redoParagraph): simplify row breaking logic
3920
3921
3922 2003-08-19  André Pönitz  <poenitz@gmx.net>
3923
3924         * funcrequest.C: initialize button_ member
3925
3926         * text3.C:
3927         * rowpainter.[Ch]: interface consolidation
3928
3929 2003-08-18  André Pönitz  <poenitz@gmx.net>
3930
3931         * BufferView.C:
3932         * BufferView_pimpl.C:
3933         * lyxfind.C:
3934         * paragraph_funcs.C:
3935         * rowpainter.C:
3936         * text3.C: remove LyXScreen::draw() and fitCursor calls
3937
3938         * BranchList.h: remove spurious semicolons
3939
3940         * MenuBackend.C: fix branchlist related crash
3941
3942 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3943
3944         * BranchList.[Ch]:
3945         * InsetList.[Ch]:
3946         * LColor.[Ch]:
3947         * LyXAction.C:
3948         * Makefile.am:
3949         * MenuBackend.[Ch]:
3950         * bufferparams.[Ch]:
3951         * factory.C:
3952         * lfuns.h:
3953         * lyxfunc.C:
3954         * text3.C: implements the 'branch inset'
3955         idea. This allows the output of various versions of a document
3956         from a single source version, selectively outputing or suppressing
3957         output of parts of the text.
3958         This implementation contains a 'branch list editor' in a separate
3959         tab of the document settings dialog. Branches are user definable
3960         and have a "display colour" to distinguish them on-screen.
3961
3962         ColorHandler was somewhat cleaned up.
3963         (1) make possible a dynamically growing LColor list by allowing
3964         the graphic context cache to grow along (vector);
3965         (2) eliminate an IMHO unnecessary step in colour allocation.
3966
3967 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3968
3969         * BufferView_pimpl.C: compile fix
3970
3971 2003-08-15  André Pönitz  <poenitz@gmx.net>
3972
3973         * rowpainter.C: remove extra metrics calls
3974
3975         * lyxtext.h: merge the two constructors into a single one,
3976           pass reference to owner's par list
3977
3978         * BufferView_pimpl.C:
3979         * text.C:
3980         * text2.C: adjust
3981
3982 2003-08-15  André Pönitz  <poenitz@gmx.net>
3983
3984         * lyxrow_funcs.[Ch]:
3985         * lyxtext.h:
3986         * paragraph.h:
3987         * paragraph_funcs.C:
3988         * rowpainter.C:
3989         * text.C:
3990         * text2.C:
3991         * text3.C:
3992         * text_funcs.C: split LyXText::rowlist_ into individual
3993         Paragraph::rows_ chunks
3994
3995         * BufferView.[Ch]:
3996         * BufferView_pimpl.[Ch]:
3997         * lyxfind.C:
3998         * lyxtext.h:
3999         * text3.C: remove toggleSelection()
4000
4001 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4002
4003         * bufferlist.C: beautify two alerts (shorter text of buttons)
4004         * buffer.C: Remove redundant ' ' from message
4005         * tabular.h:
4006         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4007         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4008         rename VALIGN_CENTER to VALIGN_MIDDLE
4009
4010 2003-08-11  André Pönitz  <poenitz@gmx.net>
4011
4012         * lyxtext.h (getPar):
4013         * text.C: new function
4014
4015 2003-08-11  André Pönitz  <poenitz@gmx.net>
4016
4017         * Makefile.am:
4018         * tracer.[Ch]: remove unneeded files
4019
4020         * InsetList.[Ch]: remove resizeInsetsLyXText()
4021
4022         * lyxtext.h:
4023         * text.C:
4024         * text2.C:
4025         * text3.C: merge insertParagraphs() and appendParagraph()
4026         remove breakAgain(), update()
4027
4028         * BufferView_pimpl.[Ch]:
4029         * bufferview_funcs.[Ch]:
4030         * lyxfunc.C:
4031         * paragraph.[Ch]:
4032         * rowpainter.C:
4033         * tabular.C: adjust after text & InsetList changes.
4034
4035 2003-08-08  André Pönitz  <poenitz@gmx.net>
4036
4037         * text.C (insertChar, backspace): replace rowlist fiddling
4038         with rebreak of full par
4039
4040         * lyxtext.h:
4041         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4042         checkParagraph, updateInset): removed
4043
4044 2003-08-07  André Pönitz  <poenitz@gmx.net>
4045
4046         * paragraph.C:
4047         * text3.C: merge some LFUN handlers, remove dead code
4048
4049 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4050
4051         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4052
4053 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4054
4055         * text2.C (DEPM): fix part of bug 1255 and 1256
4056
4057 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4058
4059         * BufferView_pimpl.C (workAreaDispatch): change to use
4060         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4061         that are no mouse related.
4062
4063 2003-08-05  André Pönitz  <poenitz@gmx.net>
4064
4065         * BufferView.[Ch]:
4066         * BufferView_pimpl.[Ch]:
4067         * bufferview_funcs.C:
4068         * text2.C:
4069         * text3.C: rip out "deep update"
4070
4071         * textcursor.[Ch] (last_sel_cursor): remove unused member
4072
4073 2003-08-04  André Pönitz  <poenitz@gmx.net>
4074
4075         * BufferView.[Ch]:
4076         * BufferView_pimpl.[Ch]:
4077         * ParagraphParameters.C:
4078         * bufferview_funcs.C:
4079         * lyx_cb.C:
4080         * lyxfind.C:
4081         * lyxfunc.C:
4082         * text.C:
4083         * text2.C:
4084         * text3.C: replace "complicated" BufferView::update(...) calls with
4085         simpler ones.
4086
4087         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4088
4089 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4090
4091         * Makefile.am (lyx_SOURCES): add paper.h
4092
4093 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4094
4095         * Makefile.am: move things around so that both lyx-qt and
4096         lyx-xforms can be built (according to --with-frontend). Then lyx
4097         is a symbolic link to lyx-[firstfrontend]
4098
4099 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4100
4101         * Always use std::endl with lyxerr
4102
4103 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4104
4105         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4106
4107 2003-08-01  André Pönitz  <poenitz@gmx.net>
4108
4109         * BufferView.[Ch]:
4110         * BufferView_pimpl.[Ch]:
4111         * lyxfunc.C:
4112         * text3.C: merge BufferView::repaint() and BufferView::update()
4113
4114 2003-08-01  José Matos  <jamatos@lyx.org>
4115
4116         * buffer.[Ch]: file_format is no longer a buffer data element.
4117
4118 2003-08-01  André Pönitz  <poenitz@gmx.net>
4119
4120         * BufferView.C:
4121         * lyxtext.h:
4122         * text.C:
4123         * text2.C: make redoParagraph more independent of current cursor
4124
4125         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4126         * text.C:
4127         * text2.C: remove unneeded members
4128
4129 2003-07-30  André Pönitz  <poenitz@gmx.net>
4130
4131         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4132
4133         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4134           create a single function...
4135
4136         * paragraph_funcs.C (moveItem): ... here.
4137
4138         * text.C:
4139           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4140
4141 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4142
4143         * LColor.[Ch]: Add comment and greyedout logical colors.
4144
4145 2003-07-30  André Pönitz  <poenitz@gmx.net>
4146
4147         * tabular.C: don't use Assert too heavily. This crashes where it
4148           shouldn't
4149
4150 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4151
4152         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4153         is disabled (bug 1232)
4154
4155 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4156
4157         * factory.C: limited 'arg' scope
4158
4159 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4160
4161         * factory.C: fixed Note submenu issues
4162
4163 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4164
4165         * factory.C: submenu for Note/Comment/Greyedout
4166
4167 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * lyx_main.C (LyX):
4170         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4171
4172 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4173
4174         * LaTeXFeatures.C:
4175         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4176         greyedout. Patch provided by Jürgen Spitzmüller.
4177
4178 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4179
4180         * kbmap.C (read): fix error message when reading bind files
4181
4182 2003-07-29  Angus Leeming  <leeming@lyx.org>
4183
4184         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4185         certainly does not do what it purports to do. I am doing it, and
4186         us, a favour by killing it.
4187
4188 2003-07-28  José Matos  <jamatos@lyx.org>
4189
4190         * buffer.C (readBody, do_writeFile):
4191         * paragraph.C(readParagraph): \end_document replaces \the_end.
4192
4193 2003-07-29  André Pönitz  <poenitz@gmx.net>
4194
4195         * BufferView.[Ch]:
4196         * BufferView_pimpl.[Ch]:
4197         * lyxfunc.C:
4198         * text2.C:
4199         * text3.C:
4200         * textcursor.[Ch]: remove toggleToggle & Co
4201
4202 2003-07-28  José Matos  <jamatos@fep.up.pt>
4203
4204         * buffer.C (readParagraph):
4205         * params_func (readParToken, readParagraph):
4206         * paragraph.C (write): \layout -> \begin_layout.
4207
4208 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4209
4210         * lyxlex_pimpl.C (setFile): clean up slightly.
4211
4212         * bufferparams.h: add compressed var
4213
4214         * buffer_funcs.C (readFile): adjust for LyXLex change
4215         (newFile): ditto + simplify
4216
4217         * buffer.C (writeFile): handle writing of compressed files
4218
4219         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4220         Check if the file is compressed and set a bufferparm if so.
4221
4222         * Makefile.am (lyx_LDADD): remove explicit -lz
4223
4224 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4225
4226         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4227         makeDocBookFile): put the real LyX version in the first line of
4228         the file
4229
4230         * version.h:
4231         * version.C.in: remove lyx_docversion
4232
4233         * tabular.C (write_attribute): add a template-based version to
4234         write enums properly
4235
4236 2003-07-28  André Pönitz  <poenitz@gmx.net>
4237
4238         * lyxtext.h:
4239         * text.C:
4240         * text2.C:
4241         * text3.C: use doubles again for x-coordinates. They are needed.
4242
4243 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4244
4245         * messages.C (getLocaleDir): use lyx_localedir()
4246
4247         * lyxlex_pimpl.C (setFile): compress stuff
4248
4249         * buffer.C (writeFile): add some compression stuff
4250         (do_writeFile): new func, dont call expliti close... will this
4251         breake anything?
4252
4253         * Makefile.am (lyx_LDADD): add -lz
4254
4255 2003-07-28  José Matos  <jamatos@fep.up.pt>
4256
4257         * buffer.C: increment file format.
4258         * paragraph_funcs (readParagraph, readParToken):
4259         * paragraph.C (readParagraph): add \end_layout.
4260
4261 2003-07-27  Angus Leeming  <leeming@lyx.org>
4262
4263         * Makefile.am: remove special casing for configure-time setting of
4264         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4265
4266         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4267         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4268
4269 2003-07-26  André Pönitz  <poenitz@gmx.net>
4270
4271         * paragraph_func.[Ch]:
4272         * paragraph.C (realizeFont): inline it whereever it is used
4273
4274         * rowpainter.C:
4275         * text.C:
4276         * text2.C:
4277         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4278
4279
4280 2003-07-26  André Pönitz  <poenitz@gmx.net>
4281
4282         *       lyxtext.h:
4283         * text.C:
4284         * text2.C: get rid of LyXText::need_break_row
4285
4286 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4287
4288         * toc.[Ch]: put namespace toc inside namespace lyx
4289
4290         * MenuBackend.C (expandToc2): adjust for lyx::toc
4291         (expandToc): ditto
4292
4293         * lyxfunc.C (dispatch): adjust for lyx::find
4294
4295         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4296         lyx::find instead. Reorganize a bit.
4297         (LyXReplace): rename to replace
4298         (LyXFind): rename to find
4299
4300         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4301         (dispatch): ditto
4302
4303 2003-07-26  André Pönitz  <poenitz@gmx.net>
4304
4305         * text.C (setHeightOfRow): restrict scope of temporary variable
4306
4307         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4308           code (never has been used?)
4309
4310 2003-07-27  Asger Alstrup  <alstrup@local>
4311
4312         * text.C (fill): Optimise algorithm to exploit that we can reuse
4313         the LyXFont for many characters.
4314         (setHeightOfRow): Same thing.
4315         (rowBreakPoint): Same thing.
4316
4317 2003-07-26  Asger Alstrup  <alstrup@local>
4318
4319         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4320
4321         * text.C (singleWidth): Spurious font copying in hot-spot
4322         singleWidth avoided. Reorder tests for arabic for efficiency.
4323
4324         * text.C (fill): handle empty paragraphs better.
4325
4326 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4327
4328         * ispell.C:
4329         * encoding.h: add includes
4330
4331         * lyxrc.C: remove reading of bind files
4332
4333         * lyx_main.C (init): setup bindings and menus only if we have a
4334         gui.
4335
4336         * kbmap.C (read): new method. Do the actual reading of bind
4337         files.
4338
4339         * converter.C (dvipdfm_options):
4340         * bufferparams.C:
4341         * lyxrc.C (read):
4342         (output): adapt PAPER_* enums.
4343
4344         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4345
4346         * bufferparams.h: remove paper-related enums from there
4347
4348         * paper.h: New file. A trivial header file to hold paper-related
4349         enums. It should later expand to contain many paper-related
4350         horrors access.
4351
4352         * lyxrc.C: declare extern displayTranslator
4353
4354 2003-07-27  José Matos  <jamatos@fep.up.pt>
4355
4356         * tabular.[Ch] (linuxdoc): add support for tables and figures
4357         (linuxdoc).
4358
4359 2003-07-27  José Matos  <jamatos@fep.up.pt>
4360
4361         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4362         consistency in both functions.
4363         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4364
4365 2003-07-26  Asger Alstrup  <alstrup@local>
4366
4367         * rowpainter.C (paintRows): Change algorithm to work directly on
4368         the insets rather than asking every character in the document
4369         whether its an inset.
4370
4371 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4372
4373         * buffer.C (openFileWrite): factorize some code
4374
4375 2003-07-26  Angus Leeming  <leeming@lyx.org>
4376
4377         * lyx_cb.C:
4378         * lyx_main.[Ch]: replace occurances of system_tempdir with
4379         os::getTmpDir().
4380
4381 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * rename Inset to InsetOld
4384
4385 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4386
4387         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4388         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4389         which I think is a bit clearer. EDIT is gone, since it was
4390         premature optimisation, and broken for mathed anyway.
4391         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4392         with cursor positioning in insets as well (math insets still do not
4393         work, but that's a different story anyway.) It mysteriously
4394         crashes sometimes with undo in the first paragraph, but I'm fairly
4395         confident that this is a compiler bug.
4396
4397 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * paragraph.C (Paragraph): adjust for new clone return type
4400         (operator==): ditto
4401         (copyIntoMinibuffer): ditto
4402
4403 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4404
4405         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4406         by not having a special case, and always doing a full rebreak of
4407         the document after undo.
4408
4409 2003-07-23  Angus Leeming  <leeming@lyx.org>
4410
4411         * factory.C (createInset): InsetExternal::setParams now takes a
4412         Buffer const * arg.
4413
4414 2003-07-23  Angus Leeming  <leeming@lyx.org>
4415
4416         * factory.C (createInset): changed interface to the external and
4417         graphics mailers' string2params functions.
4418
4419 2003-07-23  Angus Leeming  <leeming@lyx.org>
4420
4421         * factory.C (createInset): pass a
4422         Buffer const * parameter to InsetExternalMailer's string2params.
4423
4424 2003-07-22  John Levon  <levon@movementarian.org>
4425
4426         * Thesaurus.h: include the right aiksaurus header
4427
4428 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4429
4430         * MenuBackend.C (expand): check menu shortcuts unconditionally
4431
4432 2003-07-21  Angus Leeming  <leeming@lyx.org>
4433
4434         * factory.C (createInset): pass a
4435         buffer_path parameter to InsetGraphicsMailer's string2params.
4436
4437 2003-07-21  Angus Leeming  <leeming@lyx.org>
4438
4439         * BufferView_pimpl.C (buffer):
4440         * buffer.C (d-tor):
4441         * lyx_main.C (LyX):
4442         * lyxfunc.C (dispatch):
4443         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4444         rather than the grfx shortcut.
4445
4446 2003-07-21  André Pönitz  <poenitz@gmx.net>
4447
4448         * rowpainter.C: remove unused variables
4449
4450         * tabular_funcs.C:
4451         * tabular_funcs.h: move to tabular.C
4452         * Makefile.am: adjust
4453
4454         * tabular.[Ch]: basic optical cleaning
4455
4456         * author.h: pass references, not values
4457
4458 2003-07-18  André Pönitz  <poenitz@gmx.net>
4459
4460         * lyxtext.h:
4461         * metricsinfo.C:
4462         * metricsinfo.h:
4463         * rowpainter.C:
4464         * text.C:
4465         * text2.C:
4466         * text3.C: two-phase drawing for InsetText and InsetTabular
4467         some float -> int changes.
4468
4469 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4470
4471         * lyx_main.C: fix the fix
4472
4473 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * lyx_main.C: fix a crash in batch mode if no files specified
4476         * converter.C: ws
4477
4478 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * format.[Ch] (papersize): moved to BufferParams
4481         * converter.[Ch] (dvips_options): moved to BufferParams
4482         (dvipdfm_options): moved to anon namespace
4483         * bufferparams.[Ch]: added above functions.
4484
4485 2003-07-17  André Pönitz  <poenitz@gmx.net>
4486
4487         * lyxtext.h:
4488         * rowpainter.C:
4489         * text2.C: don't call inset->update() anymore
4490
4491         * metricsinfo.[Ch]: add convenience constructor
4492
4493 2003-07-16  André Pönitz  <poenitz@gmx.net>
4494
4495         * lyxcursor.[Ch]:
4496         * lyxfunc.[Ch]:
4497         * text.C:
4498         * text2.C: replace the LyXCursor::irow_ member with
4499          on-demand computation of the value
4500
4501 2003-07-16  John Levon  <levon@movementarian.org>
4502
4503         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4504
4505 2003-07-15  André Pönitz  <poenitz@gmx.net>
4506
4507         * text.C:
4508         * text2.C: remove no more needed refresh_row
4509
4510 2003-07-15  André Pönitz  <poenitz@gmx.net>
4511
4512         * lyxtext.h:
4513         * rowpainter.C:
4514         * text2.C:
4515         * text3.C: refresh_status tristate -> need_update bool
4516
4517 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4518
4519         * lyxtext.h (init): remove reinit argument (act as if always true)
4520         * text2.C: adjust to that
4521
4522 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4523
4524         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4525         * text3.C: use it to delete selections in some cases
4526         (bugs 441, 673, 702, 954).
4527
4528 2003-07-14  André Pönitz  <poenitz@gmx.net>
4529
4530         * rowpainter.[Ch]: reduce interface
4531
4532 2003-07-14  André Pönitz  <poenitz@gmx.net>
4533
4534         * BufferView_pimpl.C:
4535         * text2.C: adjust after removing unused BufferView * argument
4536
4537 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * text2.C (init): fix a crash fired on resize
4540
4541 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4542
4543         * buffer.[Ch]: added new closing signal
4544         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4545         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4546         BufferView::Pimpl via the closing the signal
4547
4548 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4549
4550         * buffer.[Ch]: take out all bv-related from buffer
4551         * BufferView.C:
4552         * BufferView_pimpl.[Ch]: connect to new signals
4553         * CutAndPaste.C: removed useless asserts
4554         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4555         * lyxvc.[Ch]:
4556         * vc-backend.[Ch]:
4557         * lyxfunc.C: moved view-related funciontality from vc here
4558         * paragraph.C: removed outdated comments
4559         * text.C: ws
4560
4561 2003-07-10  André Pönitz  <poenitz@gmx.net>
4562
4563         * BufferView_pimpl.C:
4564         * tabular.h:
4565         * tabular_funcs.C:
4566         * text.C:
4567         * text2.C: remove InsetText::InnerCache, clean up consequences
4568
4569 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4570
4571         * ispell.C: fix two typos in error messages
4572
4573 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4574
4575         * Extend Note inset to other forms of annotation like Comment
4576         and Greyedout. Right button click gives dialog.
4577
4578         Files modified or added (+):
4579
4580         * insetnote.[Ch]
4581         * FormNote.[Ch]      +
4582         * ControlNote.[Ch]   +
4583         * form_note.fd       +
4584         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4585         frontends/controllers
4586         * xforms/Dialogs.C
4587         * factory.C
4588
4589 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4590
4591         * aspell.C: add missing namespace lyx::support
4592
4593 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4594
4595         * BufferView.[Ch] (newFile): Add
4596         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4597         * LaTeX.[Ch] (message): added this signal and use it
4598         * buffer.[Ch] (busy, message): added these signals and use them
4599         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4600         * converter.C:
4601         * exporter.C:
4602         * format.C:
4603         * importer.C: use buffer signals instead of direct bv calling
4604         * lyx_cb.[Ch] (ShowMessage): removed
4605         * lyx_main.C:
4606         * lyxfunc.C:
4607         * paragraph_funcs.C:
4608         * text2.C: use buffer signals
4609
4610 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * introduce namespace lyx::graphics
4613
4614 2003-07-02  André Pönitz  <poenitz@gmx.net>
4615
4616         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4617
4618 2003-07-01  André Pönitz  <poenitz@gmx.net>
4619
4620         * text.C:
4621         * text2.C:
4622         * text3.C:
4623         * text_funcs.[Ch]:
4624         * textcursor.h:
4625         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4626           text*.C to text_func.C
4627
4628 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * introduce namespace lyx::support
4631
4632 2003-06-30  André Pönitz  <poenitz@gmx.net>
4633
4634         * Chktex.C:
4635         * funcrequest.C:
4636         * lyxtext.h:
4637         * text.C: re-enable --with-included-string
4638
4639 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * textcursor.C: add <config.h>
4642
4643         * text.C (getWord): remove const from word_location arg
4644
4645         * lyxvc.C (getLogFile): fix const type order
4646
4647         * lyxtext.h: remove const from word_location arg, add arg name
4648
4649         * lyxlayout.h: currect type on labeltype.
4650
4651         * importer.C: correct \file
4652
4653         * converter.C (intToFormat): use std:: on ret val, ws changes
4654
4655         * bufferlist.h: correct \file
4656
4657         * buffer.C (makeLinuxDocFile): fix const type order
4658         (makeDocBookFile): ditto
4659         (fillWithBibKeys): use std:: on stdlib args.
4660
4661         * CutAndPaste.C: fix authors.
4662         (availableSelections): use std:: on return vector
4663
4664 2003-06-27  André Pönitz  <poenitz@gmx.net>
4665
4666         * BufferView_pimpl.C:
4667         * bufferview_funcs.C:
4668         * lyxcursor.C:
4669         * lyxcursor.h:
4670         * lyxfunc.C:
4671         * lyxtext.h:
4672         * rowpainter.C:
4673         * text.C:
4674         * text2.C:
4675         * text3.C: remove LyXCursor::row_ member
4676
4677         * lyxtext.h:
4678         * text.C: rename fullRebreak() to partialRebreak() and implement
4679           a fullRebreak() that really bereks fully
4680
4681         * textcursor.h: new struct for cursor-related data
4682
4683 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4684
4685         * lyx_main.C (LyX): get full path of document loaded on the
4686         command line
4687
4688 2003-06-26  André Pönitz  <poenitz@gmx.net>
4689
4690         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4691           remove unused/broken operator>,<,>=.
4692
4693         *       text.C: remove only use of broken operator<= in an Assert().
4694
4695 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4696
4697         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4698         moved errorlist_.clear to showErrorList
4699
4700 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4701
4702         * converter.C (scanLog, runLaTeX):
4703         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4704         move the bv->showErrorList call to the callers
4705         * lyxfunc.C: i.e. here...
4706         * text2.C: and here
4707         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4708         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4709         namespace, the second to...
4710         * buffer_funcs (BufferFormat, parseErrors): added
4711         * errorlist.C (ErrorList(TeXErrors const &)): removed
4712
4713 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4714
4715         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4716
4717 2003-06-24  "Garst R. Reese" <reese@isn.net>
4718
4719         * debug.C: fix typo
4720
4721 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4722
4723         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4724
4725         * version.C.in: change docversion to 1.4
4726
4727 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4728
4729         * buffer.C: fix a bug just introduced
4730
4731 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4732
4733         * buffer.[Ch]: added the parseError signal and use it, removed
4734         sgmlError
4735         * BufferView.[Ch] (addError): moved to ...
4736         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4737         to the Buffer::parseError signal to catch (guess what) parse errors
4738         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4739
4740 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4741
4742         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4743         ability to create a buffer and to return an existing one from
4744         the list. Moved these functions to...
4745         * buffer_funcs.[Ch]: added
4746         * BufferView.[Ch] (loadLyXFile): added
4747         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4748         job removed from bufferlist::loadLyXFile.
4749         * buffer.C (setReadOnly): make it work without view
4750         (i.e added an if (users))
4751
4752 2003-06-19  Angus Leeming  <leeming@lyx.org>
4753
4754         * lfuns.h:
4755         * LyXAction.C (init):
4756         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4757         with LFUN_DIALOG_SHOW <name> <data>.
4758
4759 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4760
4761         * CutAndPaste.C (availableSelections): small compilation fix for
4762         ancient (gcc 2.9x) compilers
4763
4764 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * text3.C (cursorNext): add tmp var
4767
4768         * text2.C (updateCounters): for function calling out of for clause
4769         (replaceSelectionWithString): ditto
4770         (insertStringAsParagraphs): ditto
4771         (getColumnNearX): add tmp var
4772         (setCursorFromCoordinates): add tmp var
4773         (cursorDownParagraph): add tmp var
4774         (deleteEmptyParagraphMechanism): add tmp var
4775
4776         * text.C (insertChar): add tmp var
4777
4778         * rowpainter.C (paintDepthBar): add tmp var
4779
4780         * CutAndPaste.C (availableSelections): potentially check all
4781         paragraphs in a cut to fill the shown strings.
4782
4783 2003-06-18  André Pönitz  <poenitz@gmx.net>
4784
4785         * kbmap.[Ch]: use vector<> instead of list<>
4786
4787 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4788
4789         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4790         pasteSelection with index
4791
4792         * text2.C (pasteSelection): modify, call pasteSelection with index
4793
4794         * paragraph.C (asString): reimplement version with no interval to
4795         call the one with interval.
4796
4797         * lyxtext.h: add index arg to pasteSelection
4798
4799         * MenuBackend.C (MenuItem): handle PasteRecent
4800         (Menu::read::Menutags): add md_pasterecent
4801         (read): handle it
4802         (expandPasteRecent): new function
4803         (expand): use it
4804
4805         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4806
4807         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4808         the limited stack
4809         (availableSelections): new function
4810
4811 2003-06-17  Angus Leeming  <leeming@lyx.org>
4812
4813         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4814
4815 2003-06-17  Angus Leeming  <leeming@lyx.org>
4816
4817         * lfuns.h:
4818         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4819
4820         * lyxfunc.C (dispatch): invoke it.
4821
4822 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4823
4824         * iterators.C (operator++, ParPosition): reintroduce some
4825         const_cast for the benefit of older compilers.
4826
4827 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4828
4829         * text3.C (dispatch): do not modify clipboard when doing
4830         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4831         LFUN_DELETE_SKIP on a selection selection
4832
4833 2003-06-16  André Pönitz  <poenitz@gmx.net>
4834
4835         * BufferView.C:
4836         * buffer.C:
4837         * buffer.h:
4838         * paragraph.C:
4839         * tabular.[Ch]: IU of clone() and getLabelList();
4840
4841 2003-06-13  André Pönitz  <poenitz@gmx.net>
4842
4843         * tabular.h: compactification
4844
4845 2003-06-12  André Pönitz  <poenitz@gmx.net>
4846
4847         * tabular.C:
4848         * tabular.h:
4849         * tabular_funcs.h: some renaming plus whitespace
4850
4851 2003-06-12  André Pönitz  <poenitz@gmx.net>
4852
4853         * BufferView.C:
4854         * BufferView_pimpl.C:
4855         * CutAndPaste.C:
4856         * buffer.C:
4857         * iterators.[Ch]:
4858         * lyxfunc.C:
4859         * text.C:
4860         * toc.C: Return a Paragraph & for ParIterator::operator*()
4861
4862 2003-06-11  John Levon  <levon@movementarian.org>
4863
4864         * lyx_main.C:
4865         * ToolbarBackend.h:
4866         * ToolbarBackend.C: add "Toolbars" section and
4867         put the flags there
4868
4869 2003-06-10  Angus Leeming  <leeming@lyx.org>
4870
4871         * lfuns.h:
4872         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4873
4874         * lyxfunc.C (dispatch): invoke it.
4875
4876 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4877
4878         * main.C: protect <ios> with HAVE_IOS
4879         (main): protect sync_with_stdio with HAVE_IOS
4880
4881 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4882
4883         * text2.C (cutSelection): adjust
4884         (pasteSelection): adjust
4885
4886         * messages.C: handle get of empty string
4887
4888         * main.C (main): use sync_with_stdio(false)
4889
4890         * lyxfunc.C (dispatch): adjust
4891
4892         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4893         (WriteAs): remove unneeded BufferView arg.
4894
4895         * bufferparams.h: use correct types on papersize, papersize2 and
4896         paperpackage.
4897
4898         * bufferparams.C (readToken): adjust for type
4899         (writeLaTeX): add missing cases to switch.
4900
4901         * bufferlist.C (quitWriteBuffer): adjust
4902         (close): adjust
4903
4904         * buffer.C (asciiParagraph): remove some commented code.
4905
4906         * CutAndPaste.C: remove current_view extern variable.
4907         (cutSelection): add BufferParams arg.
4908         (eraseSelection): add BufferParams arg.
4909         (pasteSelection): add Buffer const & arg
4910
4911 2003-06-07  John Levon  <levon@movementarian.org>
4912
4913         * buffer.C:
4914         * paragraph_funcs.C:
4915         * paragraph_pimpl.C:
4916         * text.C:
4917         * text2.C:
4918         * paragraph.h:
4919         * paragraph.C: allow InsetERT to freely space lines,
4920         and some consolidation of code
4921
4922 2003-06-06  José Matos  <jamatos@fep.up.pt>
4923
4924         * buffer.C (makeDocBookFile): fix bug #821
4925
4926 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4927
4928         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4929
4930 2003-06-04  Angus Leeming  <leeming@lyx.org>
4931
4932         * buffer.C: bump format to 224.
4933
4934 2003-06-05  André Pönitz  <poenitz@gmx.net>
4935
4936         * text2.C (redoParagraphs): remove two const_cast<>
4937
4938 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4939
4940         * ParagraphList.h: remove last remnants of NO_STD_LIST
4941
4942 2003-06-03  Angus Leeming  <leeming@lyx.org>
4943
4944         * factory.C (createInset): small change to the way InsetExternal's params
4945         are set.
4946
4947 2003-06-04  André Pönitz  <poenitz@gmx.net>
4948
4949         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4950
4951         * paragraph_pimpl.h:
4952         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4953
4954         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4955
4956         * undo_funcs.C: make some simple cases of undo work again
4957
4958 2003-06-03  John Levon  <levon@movementarian.org>
4959
4960         * ispell.C: HPUX doesn't have sys/select.h
4961         (from Albert Chin)
4962
4963 2003-06-03  John Levon  <levon@movementarian.org>
4964
4965         * CutAndPaste.C: update tabular and include inset
4966         buffer references
4967
4968         * buffer.h:
4969         * paragraph.h:
4970         * paragraph.C: remove owningBuffer(), don't pass Buffer
4971         to clone()
4972
4973         * factory.C: insetGraphicsParams changed
4974
4975 2003-06-02  John Levon  <levon@movementarian.org>
4976
4977         * LyXAction.C:
4978         * factory.C:
4979         * lfuns.h:
4980         * lyxfunc.C:
4981         * text3.C: remove insetparent
4982
4983 2003-06-02  John Levon  <levon@movementarian.org>
4984
4985         * buffer.h:
4986         * buffer.C: fix inset_iterator.end(), move out of line
4987         (bug 1149)
4988
4989 2003-06-01  John Levon  <levon@movementarian.org>
4990
4991         * text3.C: use a proper cut/paste when doing inset
4992         insert (from Jürgen Spitzmüller)
4993
4994 2003-06-01  John Levon  <levon@movementarian.org>
4995
4996         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4997
4998 2003-05-30  André Pönitz  <poenitz@gmx.net>
4999
5000         * rowpainter.C: unify second drawing phase
5001
5002 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5003
5004         * trans_mgr.C: remove one case of current_view
5005
5006         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5007
5008         * paragraph_funcs.h: remove paragraph.h include
5009
5010         * paragraph.h: delete NO_STD_LIST stuff
5011
5012         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5013
5014         * buffer.h: remove paragraph.h include
5015
5016         * ParagraphList.C: delete file
5017
5018         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5019
5020         * toc.C (getTocList): adjust
5021
5022         * paragraph_pimpl.C (validate): adjust
5023
5024         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5025
5026         * paragraph.C (Paragraph): adjust
5027         (getPositionOfInset): use const_iterator, adjust
5028         (bibitem): use const_iterator, adjust
5029         (setInsetOwner): adjust
5030
5031         * iterators.C (operator++): adjust
5032
5033         * InsetList.[Ch]: Replace selfmade iterator with standard
5034         vector::iterator also introduce const_iterator. Remove getPos,
5035         getInset and setInset from InsetTable. Adjust accordingly.
5036
5037         * BufferView.C (lockInset): adjust
5038         (ChangeInsets): adjust
5039
5040         * tabular.[Ch]: delete commented same_id functions
5041
5042 2003-05-28  John Levon  <levon@movementarian.org>
5043
5044         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5045
5046 2003-05-28  André Pönitz  <poenitz@gmx.net>
5047
5048         * metricsinfo.[Ch]: remove 'fullredraw' member
5049
5050 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5051
5052         * lyxtextclass.C (operator): remove caching.
5053
5054 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * text3.C: adjust
5057
5058         * text2.C (cursorBottom): adjust
5059         (setCounter): use ParagraphList::find, adjust
5060
5061         * text.C (workWidth): use ParagraphList::find, adjust
5062
5063         * lyxcursor.C (LyXCursor): adjust
5064
5065         * buffer.C (inset_iterator): adjust
5066
5067         * ParagraphList.h: make iterator(value_type) private, make
5068         ParagraphList a friend of iterator.
5069
5070         * ParagraphList.C (find): new function
5071
5072         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5073
5074 2003-05-27  André Pönitz  <poenitz@gmx.net>
5075
5076         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5077
5078 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5079
5080         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5081
5082 2003-05-26  John Levon  <levon@movementarian.org>
5083
5084         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5085
5086 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * remove same_id from function signatures, adjust.
5089
5090 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5093
5094         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5095
5096         * paragraph.C (Paragraph): get rid of same_ids parameter
5097
5098         * ParagraphList.C (insert): adjust
5099         (push_back): adjust
5100
5101 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * paragraph_funcs.C (breakParagraph): adjust
5104         (breakParagraphConservative): adjust
5105
5106         * buffer.C (readParagraph): adjust
5107
5108         * ParagraphList.C (insert): take a reference instead of a pointer
5109         (insert): adjust
5110
5111         * paragraph.[Ch] (id): new function
5112
5113         * bufferlist.C (newFile): adjust
5114
5115         * ParagraphList.C (ParagraphList): adjust
5116         (assign): adjust
5117         (push_back): take a reference instead of a pointer.
5118
5119         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5120
5121         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5122         instead.
5123
5124         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5125         set else use old code.
5126
5127         * ParagraphList.C: remove all NO_NEXT code and only compile this
5128         code of NO_STD_LIST is set.
5129
5130 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5131
5132         * BufferView_pimpl.C:
5133         * TextCache.C:
5134         * TextCache.h:
5135         * bufferlist.C:
5136         * errorlist.h:
5137         * format.C:
5138         * format.h:
5139         * graph.C:
5140         * lyxfunc.C:
5141         * lyxrc.C:
5142         * graphics/GraphicsConverter.C:
5143         * graphics/PreviewLoader.C: header adjustment
5144
5145 2003-05-23  Angus Leeming  <leeming@lyx.org>
5146
5147         * LaTeXFeatures.[Ch] (useBabel): new method.
5148         * bufferparams.C (writeLaTeX): use it.
5149
5150 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5151
5152         * ParagraphList.h (set): remove unused function.
5153
5154 2003-05-23  André Pönitz  <poenitz@gmx.net>
5155
5156         * BufferView.C:
5157         * BufferView_pimpl.C:
5158         * buffer.C:
5159         * buffer.h:
5160         * lyxfunc.C:
5161         * undo_funcs.C: setUndo reworked
5162
5163         * iterators.[Ch]: add access to topmost ParagraphList
5164
5165         * lyxtext.[Ch] (workWidth): add a const
5166
5167 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5168
5169         * texrow.[Ch] (increasePos): remove function
5170         * exporter.C (export): removed unused var and outdated comment
5171
5172 2003-05-23  Angus Leeming  <leeming@lyx.org>
5173
5174         * latexrunparams.h: rename fragile as moving_arg.
5175         * paragraph.C (simpleTeXOnePar): ditto.
5176         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5177
5178 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5181         (createUndo): ditto
5182         (textUndoOrRedo): comment out a currently unused var.
5183
5184         * paragraph.h (NO_NEXT): enable NO_NEXT
5185
5186         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5187
5188         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5189
5190         * exporter.C (Export): adjust for removeAutoInsets removal.
5191
5192         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5193
5194         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5195
5196         * BufferView.[Ch] (removeAutoInsets): delete function
5197
5198 2003-05-22  Angus Leeming  <leeming@lyx.org>
5199
5200         * latexrunparams.h: add a free_spacing variable.
5201
5202         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5203         to pass moving_arg, as the data is stored in runparams.fragile.
5204
5205         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5206         to Inset::latexOptional or to simpleTeXOnePar.
5207
5208         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5209         free_spacing arg to Inset::latexOptional.
5210
5211         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5212         free_spacing arg.
5213
5214 2003-05-22  Angus Leeming  <leeming@lyx.org>
5215
5216         * latexrunparams.h: add fragile and use_babel variables.
5217
5218         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5219         * buffer.C (makeLaTeXFile): store this returned value in
5220         runparams.use_babel, thus passing it to the inset::latex methods.
5221
5222         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5223         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5224
5225         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5226         longer has a fragile arg, as it is stored in runparams.fragile.
5227
5228         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5229         moving_arg parameter as the data is stored in runparams.fragile.
5230
5231         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5232         a fragile parameter as the data is stored in runparams.fragile.
5233
5234 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5235
5236         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5237
5238 2003-05-22  Angus Leeming  <leeming@lyx.org>
5239
5240         * latexrunparams.h: add a 'bool nice' which defaults to false.
5241
5242         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5243         now encapsulated within runparams.
5244
5245         * bufferlist.C (updateIncludedTeXfiles):
5246         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5247
5248 2003-05-22  Angus Leeming  <leeming@lyx.org>
5249
5250         * latexrunparams.h: new file containing struct LatexRunParams.
5251         * Makefile.am: add new file.
5252
5253         * LaTeX.[Ch] (c-tor, run):
5254         * buffer.[Ch] (makeLaTeXFile):
5255         * bufferlist.[Ch] (updateIncludedTeXfiles):
5256         * converter.C (convert, scanLog):
5257         * converter.[Ch] (runLaTeX):
5258         * exporter.C (Export):
5259         * paragraph.[Ch] (simpleTeXOnePar):
5260         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5261         * paragraph_funcs.[Ch] (latexParagraphs):
5262         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5263         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5264         pass around a LatexRunParams parameter.
5265
5266 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5267
5268         * paragraph.[Ch]: remove unused constructor
5269
5270         * ParagraphList.C (erase): new function, taking two iterators
5271
5272 2003-05-22  André Pönitz  <poenitz@gmx.net>
5273
5274         * undo_funcs.C: remove duplicated code
5275
5276         * iterator.[Ch]: operator=
5277
5278 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * tabular.C (SetMultiColumn): ws changes
5281
5282         * rowpainter.C (paintFirst): get rid of a ->previous
5283
5284         * lyx_cb.C (getPossibleLabel): parlist simplification
5285
5286         * BufferView.C (ChangeInsets): simplify slightly.
5287
5288 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5289
5290         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5291         * lfuns.h: new LFUN_SPACE
5292         * lyxfunc.C: protected space has a new lfun
5293         * paragraph_funcs.C: read new space insets
5294         * text3.C:
5295         * factory.C: handle new space insets
5296
5297 2003-05-22  André Pönitz  <poenitz@gmx.net>
5298
5299         * BufferView.C:
5300         * BufferView_pimpl.C:
5301         * buffer.[Ch]:
5302         * lyxfunc.C:
5303         * undo_funcs.C: return a ParIterator from getParFromID.
5304
5305         * iterators.[Ch]: add two const's
5306
5307 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * toc.C (getTocList): adjust
5310
5311         * iterators.[Ch]: rework for parlist
5312
5313         * buffer.C (par_iterator_begin): adjust
5314         (par_iterator_end): adjust
5315
5316         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5317
5318         * BufferView.C (removeAutoInsets): adjust
5319         (ChangeInsets): adjust
5320
5321 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5322
5323         * text.C (top_y): fix bug 1110
5324
5325 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5326
5327         * errorlist.[Ch]: added
5328         * buffer.C:
5329         * BufferView.[Ch]:
5330         * BufferView_pimpl.C:
5331         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5332         instead
5333
5334 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5335
5336         * Makefile.am: ensure that lyx is relinked upon changes to the
5337         various "convenience" libs.
5338
5339 2003-05-20  Angus Leeming  <leeming@lyx.org>
5340
5341         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5342         files are compiled in alphabetical order again.
5343
5344         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5345
5346 2003-05-19  Angus Leeming  <leeming@lyx.org>
5347
5348         * gettext.[Ch]: remove "char const * _(char const *)".
5349
5350 2003-05-19  André Pönitz  <poenitz@gmx.net>
5351
5352         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5353
5354         * Makefile.am:
5355         * BufferView.C:
5356         * DepTable.h:
5357         * LaTeXFeatures.C:
5358         * buffer.C:
5359         * lyxfont.C:
5360         * lyxlex.h:
5361         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5362
5363 2003-05-19  André Pönitz  <poenitz@gmx.net>
5364
5365         * buffer.C:
5366         * lyxlayout.[Ch]:
5367         * lyxtextclass.[Ch]:
5368         * paragraph.C:
5369         * paragraph_funcs.[Ch]:
5370         * text2.C:
5371         * text3.C: more insetenv work
5372
5373 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5374
5375         * ParagraphParameters.C (params2string): small bug fixed
5376
5377 2003-05-16  André Pönitz  <poenitz@gmx.net>
5378
5379         * debug.C:
5380         * bufferview_funcs.C: patch from Kornel Benko to prevent
5381           crash when _(...) is called twice in a statement
5382
5383 2003-05-16  André Pönitz  <poenitz@gmx.net>
5384
5385         * BufferView.C:
5386         * lyxfunc.C:
5387         * text.C:
5388         * text2.C:
5389         * text3.C:
5390         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5391
5392 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5393
5394         * lyx_main.C (init): remove spurious static_cast
5395
5396 2003-05-14  André Pönitz  <poenitz@gmx.net>
5397
5398         * BufferView.C: fix format string
5399
5400 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5401
5402         * BufferView.[Ch] (insertErrors): removed
5403         * BufferView.[Ch] (showErrorList): added
5404         * buffer.C (runChkTeX):
5405         * converter.C (scanLog): call showErrorList instead of inserterrors
5406
5407 2003-05-13  André Pönitz  <poenitz@gmx.net>
5408
5409         * BufferView_pimpl.C:
5410         * buffer.C:
5411         * bufferview_func.C:
5412         * MenuBackend.C:
5413         * lyxfunc.C:
5414         * lyxrc.C:
5415         * tex-accent.C:
5416         * text3.C:
5417         * toc.C:
5418         * tabular_funcs.h: tostr() from its own header
5419
5420         * ParagraphParameters.C:
5421         * ToolbarBackend.C:
5422         * bufferparams.C:
5423         * format.C:
5424         * lyxlex_pimpl.C:
5425         * text3.C: STRCONV()
5426
5427 2003-05-12  André Pönitz  <poenitz@gmx.net>
5428
5429         * BufferView.C:
5430         * BufferView_pimpl.C:
5431         * CutAndPaste.C:
5432         * LaTeX.C:
5433         * LaTeXFeatures.C:
5434         * ParagraphParameters.C:
5435         * buffer.C:
5436         * bufferlist.C:
5437         * bufferparams.C:
5438         * bufferview_funcs.C:
5439         * converter.C:
5440         * counters.C:
5441         * debug.C:
5442         * exporter.C:
5443         * format.C:
5444         * importer.C:
5445         * lyx_cb.C:
5446         * lyx_main.C:
5447         * lyxfont.C:
5448         * lyxfunc.C:
5449         * lyxvc.C:
5450         * paragraph.C:
5451         * paragraph_funcs.C:
5452         * tabular.C:
5453         * tabular_funcs.C:
5454         * text2.C:
5455         * text3.C:  boost::format -> bformat  all over the place
5456
5457
5458 2003-05-09  André Pönitz  <poenitz@gmx.net>
5459
5460         * LColor.[Ch]: Pimpl the #include <map> away
5461
5462 2003-05-09  John Levon  <levon@movementarian.org>
5463
5464         * bufferlist.C: never remove emergency saves
5465
5466 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * Makefile.am: better lib building
5469
5470 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5473         instead.
5474         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5475         (simpleTeXSpecialChars): adjust
5476         (simpleTeXSpecialChars): adjust
5477         * paragraph.C (simpleTeXOnePar): adjust
5478         * buffer.C (makeLaTeXFile): adjust
5479
5480         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5481
5482         * text2.C (changeDepth): parlist cleanup
5483         (getColumnNearX): ditto
5484
5485         * rowpainter.C (getLabelFont): parlist cleanup
5486
5487         * bufferlist.C (newFile): parlist cleanup
5488
5489         * CutAndPaste.C (eraseSelection): parlist cleanup
5490
5491         * BufferView_pimpl.C (trackChanges): parlist cleanup
5492         (dispatch): ditto
5493
5494         * BufferView.C (lockInset): parlist cleanup.
5495         (ChangeInsets): ditto
5496
5497 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5498
5499         * CutAndPaste.h: Update file header.
5500
5501         * CutAndPaste.C: Update file header.
5502         Store the parts cut out of the Document in a limited_stack.
5503         (copySelection): adjust
5504         (pasteSelection): new function, takes the index in the limited stack.
5505         (nrOfParagraphs): adjust
5506         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5507         simplify error inset insertion.
5508         (checkPastePossible): adjust
5509
5510 2003-05-06  John Levon  <levon@movementarian.org>
5511
5512         * text2.C: don't cast wrap inset to float
5513
5514 2003-05-05  André Pönitz  <poenitz@gmx.net>
5515
5516         * iterator.C:
5517         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5518
5519         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5520           few naked Paragraph *.
5521
5522 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5523
5524         * bufferparams.C: Output warning if a document with missing
5525         TeX document class is loaded
5526         * exporter.C: Disable TeX exports if the document class is missing
5527         * lyxtextclass.C:
5528         * lyxtextclass.h:
5529         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5530         isTeXClassAvailable()
5531
5532 2003-05-03  John Levon  <levon@movementarian.org>
5533
5534         * BufferView.h:
5535         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5536         explicit cursor show/hide
5537
5538         * BufferView_pimpl.h:
5539         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5540         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5541
5542         * lyxfunc.C: hide cursor before dispatching.
5543
5544         * lyx_cb.C:
5545         * lyxfind.C:
5546         * text.C:
5547         * text3.C: remove explicit cursor hides
5548
5549 2003-05-02  André Pönitz  <poenitz@gmx.net>
5550
5551         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5552
5553         * undo_funcs.C:
5554         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5555           linked lists
5556
5557         * text2.C: tiny whitespace
5558
5559 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * undo_funcs.C: almost only ws changes.
5562
5563         * ParagraphList.C (splice): just return if pl is empty.
5564
5565 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5566
5567         * ParagraphList.C (splice): new function.
5568
5569         * CutAndPaste.C (pasteSelection): use it
5570
5571 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * CutAndPaste.C (pasteSelection): remove the last next and
5574         previous from this file.
5575
5576 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5577
5578         * CutAndPaste.C (pasteSelection): more clean up, user proper
5579         ParagraphList functions for pasteing.
5580
5581         * ParagraphList.C (insert): new function, three arg insert
5582
5583 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * ParagraphList.C (insert): new function, three arg insert
5586
5587         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5588         not on paragraphs.
5589
5590 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5593
5594 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5595
5596         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5597
5598 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5599
5600         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5601         (copySelection): clean up a bit.
5602         (pasteSelection): use make_pair
5603
5604         * ParagraphList.C (ParagraphList): implement copy constructor
5605         (operator=): implement, base on copy constructor.
5606         (assign): new func
5607
5608         * paragraph.C (erase): return a bool
5609
5610         * paragraph_pimpl.C (erasePos): remove function, move contents...
5611         (erase): ... here. Return a bool.
5612         (erase): call erase instead of erasePos.
5613
5614 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5615
5616         * ParagraphList.h: define PitPosPair
5617         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5618         ParagraphList, fix a bug on pasting multiple pars
5619         * text2.C: change interface to C&P
5620
5621 2003-04-30  André Pönitz  <poenitz@gmx.net>
5622
5623         * undo_func.C: revert part of yesterday's patch 2
5624
5625 2003-04-30  John Levon  <levon@movementarian.org>
5626
5627         * LColor.C: s/tabular/table/
5628
5629 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5630
5631         * text3.C (dispatch): do not convert iterator -> pointer
5632         * undo_funcs.C (setCursorParUndo): ditto
5633         * text_funcs.C (transposeChars): ditto
5634
5635         * text2.C (setLayout): ws changes only
5636
5637         * text.C (breakParagraph): do not convert iterator -> pointer
5638         (insertChar): ditto
5639         (acceptChange): ditto
5640         (rejectChange): ditto
5641         (changeCase): ditto
5642         (Delete): ditto
5643         (backspace): ditto
5644
5645         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5646         pointer
5647
5648 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5649
5650         * text3.C (gotoInset): YABG (yet another bad getChar)
5651
5652 2003-04-29  André Pönitz  <poenitz@gmx.net>
5653
5654         * paragraph.h: make operator= private unimplemented as long as
5655           it is unusable
5656
5657         * ParagraphList.C: whitespace
5658
5659         * paragraph.[Ch]:
5660         * paragraph_pimpl.[Ch]:
5661         * paragraph_funcs.C:
5662         * CutAndPaste.C:
5663         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5664
5665         * text2.C:
5666           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5667
5668 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5669
5670         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5671         * paragraph.[Ch] (erase):
5672         * paragraph_pimpl.[Ch] (erase): change return type and value
5673         * text2.C (cutSelection): some rework
5674
5675 2003-04-28  John Levon  <levon@movementarian.org>
5676
5677         * bufferlist.C: changes for unsaved changes dialog
5678
5679 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5680
5681         * bufferlist.C (newFile): set language (messages_) for new
5682         documents also.
5683
5684         * buffer.C (readFile): ws changes only.
5685
5686 2003-04-28  André Pönitz  <poenitz@gmx.net>
5687
5688         * undo_funcs.C:
5689         * lyxfunc.C:
5690         * buffer.[Ch]:
5691         * BufferView_pimpl.C:
5692         * BufferView.C: getParFromID related ParagraphList::iterator changes
5693
5694 2003-04-28  André Pönitz  <poenitz@gmx.net>
5695
5696         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5697           Changes
5698
5699 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * messages.C: remove one more localedir class variable.
5702
5703 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5704
5705         * messages.C (getLocaleDir): singleton generation function
5706         (Pimpl): use it.
5707         (Messages): add a default constructor.
5708
5709         * main.C (main): do not setup localedir here, do not call
5710         gettext_init.
5711
5712         * gettext.C (_): use it.
5713         (gettext_init): delete funciton
5714
5715 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5716
5717         * gettext.C (getLyXMessages): new singleton generating function.
5718
5719         * buffer.C (updateDocLang): adjust
5720
5721         * Makefile.am (messages.o): add target
5722         (main.o): remove target
5723
5724 2003-04-27  John Levon  <levon@movementarian.org>
5725
5726         * bufferlist.C:
5727         * lyx_cb.C:
5728         * lyxfunc.C:
5729         * lyxvc.C: specify cancel button in Alert::prompt
5730
5731 2003-04-26  John Levon  <levon@movementarian.org>
5732
5733         * text3.C:
5734         * lyxfunc.C:
5735         * lfuns.h:
5736         * LyXAction.C: add LFUN_INSET_SETTINGS
5737
5738         * lyxfunc.C: don't enable tabular-feature when there's
5739         just any locking inset
5740
5741 2003-04-26  John Levon  <levon@movementarian.org>
5742
5743         * bufferlist.C: re-add Cancel to buffer close question
5744
5745         * lyxfunc.C: fix import UI a bit
5746
5747 2003-04-25  John Levon  <levon@movementarian.org>
5748
5749         * gettext.C: remove the broken asserts for now
5750
5751 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5752
5753         * messages.C: make case where setlocale cannot comply work better.
5754
5755         * buffer.C (updateDocLang): new function
5756         (changeLanguage): use it
5757         (readFile): use it
5758
5759         * text2.C (setCounter): use B_ a bit.
5760
5761         * lyxlayout.C (Read): be sure to trim the label strings.
5762
5763         * messages.C (Messages): fix typo in comment
5764
5765         * buffer.C (readFile): set message_ after file is loaded.
5766         (makeDocBookFile): remove double return
5767         (changeLanguage): reset message_ upon language change.
5768         (B_): new func, use this to get translated buffer strings.
5769
5770         * main.C: add myself and Jean Marc as authors.
5771
5772 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * messages.[hC]: pimplify Messages, and three different pimpls to be
5775         used in different circumstances.
5776
5777         * gettext.[Ch]: change for use with new message code.
5778
5779 2003-04-24 André Pönitz <poenitz@gmx.net>
5780
5781         * factory.C: support for eqref
5782
5783 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5784
5785         * messages.[Ch]: add missing char
5786
5787         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5788
5789         * messages.[Ch]: New files
5790
5791 2003-04-18  John Levon  <levon@movementarian.org>
5792
5793         * BufferView.h:
5794         * BufferView.C:
5795         * BufferView_pimpl.C:
5796         * lfuns.h:
5797         * LyXAction.C:
5798         * lyxtext.h:
5799         * text2.C: remove layout-copy/paste (bug 778)
5800
5801 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5802
5803         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5804
5805 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5806
5807         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5808         if they succeed. Act accordingly.
5809
5810 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5811
5812         * text2.C (setCharFont): adjust
5813         (setCounter): adjust
5814         (insertStringAsLines): adjust
5815
5816         * text.C (leftMargin): adjust
5817         (setHeightOfRow): adjust
5818
5819         * rowpainter.C (paintFirst): adjust
5820         (paintLast): adjust
5821
5822         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5823         (outerHook): ditto
5824         (isFirstInSequence): ditto
5825         (getEndLabel): ditto
5826         (outerFont): adjust
5827
5828         * paragraph.C (getParLanguage): comment out some hard stuff.
5829
5830         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5831         (sgmlError): ditto
5832         (simpleDocBookOnePar): ditto
5833         (makeDocBookFile): use ParagraphList::iterator
5834
5835         * CutAndPaste.C (pasteSelection): adjust
5836
5837 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * text2.C (getFont): adjust
5840         (getLayoutFont): adjust
5841         (getLabelFont): adjust
5842
5843         * paragraph_funcs.C (TeXOnePar): adjust
5844
5845         * buffer.C (simpleLinuxDocOnePar): adjust
5846         (simpleDocBookOnePar): adjust
5847
5848         * CutAndPaste.C (pasteSelection): adjust
5849
5850         * BufferView.C (getEncoding): adjust
5851
5852         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5853
5854 2003-04-16  John Levon  <levon@movementarian.org>
5855
5856         * lyxfind.C: use parlist stuff for search/changes
5857
5858 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5859
5860         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5861
5862         * text2.C (deleteEmptyParagraphMechanism): adjust
5863
5864         * text2.[Ch] (ownerParagraph): delete func (both of them
5865
5866 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5867
5868         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5869
5870 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5871
5872         * ParagraphList.C: prepare for NO_NEXT
5873
5874 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5875
5876         * text2.C (getFont): adjust
5877         (getLayoutFont): adjust
5878         (getLabelFont): adjust
5879
5880         * paragraph.C (getFont): adjust
5881         (getLabelFont): adjust
5882         (getLayoutFont): adjust
5883
5884         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5885
5886 2003-04-15  John Levon  <levon@movementarian.org>
5887
5888         From Angus Leeming
5889
5890         * lyx_main.C: handle Include in .ui files
5891
5892 2003-04-15  John Levon  <levon@movementarian.org>
5893
5894         * MenuBackend.C: make the doc files length shorter
5895
5896         * ToolbarBackend.h:
5897         * ToolbarBackend.C: handle toolbar placement flags,
5898         Minibuffer
5899
5900 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5903         adjust
5904
5905         * paragraph_funcs.C (TeXOnePar): adjust
5906
5907         * paragraph.C (getLabelFont): add outerfont arg, adjust
5908         (getLayoutFont): ditto
5909         (simpleTeXOnePar): adjust
5910
5911         * paragraph_pimpl.C (realizeFont): delete func
5912
5913 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5914
5915         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5916         row argument, constify cur argument.
5917
5918 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * text2.C (getFont): adjust
5921         (getLayoutFont): adjust
5922         (getLabelFont): adjust
5923
5924         * paragraph_funcs.C (TeXOnePar): adjust
5925         (outerFont): new func...
5926         (realizeFont): ...moved out from here, changed this to facilitate
5927         transition
5928
5929         * paragraph.C (getFont): take outerfont as arg, adjust
5930         (simpleTeXOnePar): add outerfont arg, adjust
5931
5932         * buffer.C (simpleLinuxDocOnePar): adjust
5933         (simpleDocBookOnePar): adjust
5934
5935         * CutAndPaste.C (pasteSelection): adjust
5936
5937         * BufferView.C (getEncoding): adjust
5938
5939 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5940
5941         * text2.C (setCharFont): adjust
5942         (setCounter): adjust
5943
5944         * text.C (leftMargin): adjust
5945         (setHeightOfRow): adjust
5946
5947         * rowpainter.C (paintFirst): adjust
5948         (paintLast): adjust
5949
5950         * paragraph_pimpl.C (realizeFont): adjust
5951
5952         * paragraph.C (isFirstInSequence): move from here...
5953         * paragraph_funcs.C (isFirstInSequence): ...to here
5954
5955         * paragraph.C (outerHook): move from here...
5956         * paragraph_funcs.C (outerHook): ...to here
5957
5958         * paragraph.C (depthHook): move from here...
5959         * paragraph_funcs.C (depthHook): ...to here
5960
5961         * paragraph.C (getEndLabel): move from here...
5962         * paragraph_funcs.C (getEndLabel): ...to here
5963
5964         * text2.C (realizeFont): move from here...
5965         * paragraph_funcs.C (realizeFont): ...to here
5966
5967 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5970
5971 2003-04-14  Angus Leeming  <leeming@lyx.org>
5972
5973         * LColor.[Ch]: scrap LColor mathcursor.
5974
5975 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * lyxlex.[Ch] (text): delete function
5978         * trans.C (Load): adjust
5979         * paragraph_funcs.C (readParToken): adjust
5980
5981 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5982
5983         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5984         vector<char> instead of a char[].
5985
5986         * lyxlex_pimpl.C (getString): adjust
5987         (next): adjust
5988         (lex): use getString
5989         (eatLine): adjust
5990         (nextToken): adjust
5991
5992         * lyxlex.C (text): use pimpl_->getString()
5993         (getBool): ditto
5994         (findToken): ditto
5995
5996 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5997
5998         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5999         (makeFontEntriesLayoutSpecific): temp var for par.size()
6000         (setLayout): temp var for ownerParagraphs().end()
6001         (fullRebreak): temp var for rows().end()
6002         (selectionAsString): temp var for boost::next(startpit), realize
6003         that the while really is a regular for loop.
6004         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6005         setCursor in one place.
6006         (setParagraph): temp vr for ownerParagraphs().end()
6007         (updateCounters): make the while loop a for loop
6008         (cutSelection): temp var for ownerParagraphs().end()
6009         (updateInset): make the do {} while() a regular for loop
6010         (getCursorX): use temp vars
6011         (setCurrentFont): use temp vars
6012         (getColumnNearX): use temp vars
6013
6014 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6015
6016         * text.C (transformChar): use temp var for getChar
6017         (computeBidiTables): use temp var for row->par()
6018         (fill): move temp vars for row->par() and pit->layout() earlier in
6019         the function.
6020         (labelFill): use temp var for row->par()
6021         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6022         asc and desc, realize that pit never changes and that firstpit is
6023         just a duplicate and not needed. Exchange rit->par() with pit in a
6024         lot of places.
6025         (breakAgain): use a temp var for boost::next(rit)
6026         (breakAgainOneRow): ditto
6027         (breakParagraph): use a temp var for rows().begin()
6028         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6029         (cursorRightOneWord): use temp var for cursor.par() and
6030         cursor.pos(), remove usage of tmpcursor.
6031         (cursorLeftOneWord): use temp var for cursor.par() and
6032         cursor.pos() only set cur at end of function.
6033
6034 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * text.C, text2.C: exchange all usage of Paragraph::next with
6037         boost::next(ParagraphList::iterator)
6038
6039         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6040
6041         * text2.C (cursorTop): simplify implementation
6042         (cursorBottom): ditto
6043         (setParagraph): use ParagraphList::iterator
6044         (setCurrentFont): adjust
6045         (getColumnNearX): adjust
6046         (cursorRight): adjust
6047         (cursorLeft): remove usage of Paragraph::previous
6048         (cursorUpParagraph): ditto
6049         (deleteEmptyParagraphMechanism): slight cleanup
6050
6051         * text.C (isBoundary): take a Paragraph const & instead of a
6052         pointer as arg.
6053         (addressBreakPoint): ditto
6054         (leftMargin): remove usage of Paragraph::previous.
6055         (setHeightOfRow): ditto
6056         (cursorLeftOneWord): ditto
6057         (selectNextWordToSpellcheck): ditto
6058         (Delete): ditto
6059         (backspace): ditto
6060         (breakParagraph): remove one usage of Paragraph::next
6061         (redoParagraph): ditto
6062         (acceptChange): ditto
6063         (insertChar): adjust
6064         (rowBreakPoint): adjust
6065
6066         * bufferview_funcs.C (toggleAndShow): adjust
6067
6068 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6069
6070         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6071         methods to access it.
6072         * lyxtext.h:
6073         * text.C: Added updateRowPositions to compute all row positions.
6074         Make top_y and getRowNearY() to use the cached y position
6075
6076 2003-04-11  John Levon  <levon@movementarian.org>
6077
6078         * text.C (rowBreakPoint): reintroduce the labelEnd
6079         checks, code copied from the row fill stuff. Deep voodoo.
6080
6081         * text.C (fill): add a comment and debugging for the
6082         next poor soul.
6083
6084 2003-04-11  John Levon  <levon@movementarian.org>
6085
6086         * text.C: make sure fullrow insets get wrapped to the next line,
6087         even when they're in a manual label
6088
6089 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6090
6091         * text2.C (insertParagraph): make it take ParagraphList::iterator
6092         as arg.
6093         (setLayout): make it return ParagraphList::iterator
6094         (redoParagraphs): ditto
6095         (setCounter): ditto
6096         (checkParagraph): ditto
6097
6098         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6099
6100         * text2.C: adjust several funcs.
6101         (realizeFont): take a ParagraphList::iterator as arg.
6102         (getLayoutFont): ditto
6103         (getLabelFont): ditto
6104         (setCharFont): ditto
6105
6106         * text.C: adjust several funcs.
6107
6108 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6109
6110         * text.C (selectNextWordToSpellcheck): don't accidentally
6111         skip insets
6112
6113 2003-04-10  John Levon  <levon@movementarian.org>
6114
6115         * ToolbarBackend.C (getIcon): special handling for
6116         LFUN_MATH_DELIM
6117
6118 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6119
6120         * text2.C (cursorRight): a getChar assert fixed
6121
6122 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * text2.C (getFont): change to take a ParagraphList::iterator
6125         instead of Paragraph*
6126         Adjust several functions.
6127
6128         * text.C (transformChar): change to take a ParagraphList::iterator
6129         instead of Paragraph*
6130         (singleWidth): ditto
6131         Adjust several functions.
6132
6133         * rowpainter.C: adjust several functions
6134         * rowpainter.h:store a ParagraphList::iterator and not a
6135         Paragraph&.
6136
6137
6138 2003-04-09  John Levon  <levon@movementarian.org>
6139
6140         * lyxfunc.C:
6141         * lfuns.h:
6142         * LyXAction.h:
6143         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6144         and the "help" bits as well
6145
6146 2003-04-09  John Levon  <levon@movementarian.org>
6147
6148         * ToolbarBackend.h:
6149         * ToolbarBackend.C: allow multiple toolbars
6150
6151 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * undo_funcs.C (setCursorParUndo): adjust
6154
6155         * text_funcs.C (transposeChars): adjust
6156
6157         * text3.C (gotoNextInset): adjust
6158         (dispatch): adjust
6159
6160         * text2.C (setLayout): adjust
6161         (changeDepth): adjust
6162         (setFont): adjust
6163         (redoParagraphs): adjust
6164         (selectionAsString): adjust
6165         (setParagraph): adjust
6166         (insertInset): adjust
6167         (cutSelection): adjust
6168         (copySelection): adjust
6169         (pasteSelection): adjust
6170         (insertStringAsLines): adjust
6171         (updateInset): adjust
6172         (setCursor): change to take a ParagraphList::iterator parameter
6173         (setCursorIntern): change to take a ParagraphList::iterator parameter
6174         (setCurrentFont): adjust
6175         (cursorLeft): adjust
6176         (cursorRight): adjust
6177         (deleteEmptyParagraphMechanism): adjust
6178
6179         * text.C (breakParagraph): adjust
6180         (insertChar): adjust
6181         (acceptChange): adjust
6182         (rejectChange): adjust
6183         (selectNextWordToSpellcheck): adjust
6184         (changeCase): adjust
6185         (Delete): adjust
6186         (backspace): adjust
6187
6188         * lyxfind.C (SearchForward): adjust
6189         (SearchBackward): adjust
6190         (nextChange): adjust
6191
6192         * lyxcursor.C (par): adjust
6193
6194         * lyxcursor.h: store a ParagraphList::iterator instead of a
6195         Paragraph*
6196
6197         * lyx_cb.C (getPossibleLabel): adjust
6198
6199         * bufferview_funcs.C (toggleAndShow): adjust
6200
6201         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6202         (dispatch): adjust
6203
6204         * BufferView.C (removeAutoInsets): adjust
6205         (lockedInsetStoreUndo): adjust
6206
6207 2003-04-09  John Levon  <levon@movementarian.org>
6208
6209         * ToolbarBackend.C: try icon without argument
6210         if with argument fails
6211
6212 2003-04-08  John Levon  <levon@movementarian.org>
6213
6214         * ToolbarBackend.h:
6215         * ToolbarBackend.C: add getIcon(), handle tooltip,
6216         and change from "Icon" to "Item".
6217
6218 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6219
6220         * BufferView.C (lockInset): another bad getchar crunched
6221
6222 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6223
6224         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6225         again)
6226
6227 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6228
6229         * lyxfind.C (searchForward, searchBackwards): bug 782
6230
6231 2003-04-07  John Levon  <levon@movementarian.org>
6232
6233         * paragraph.C: remove dead comment
6234
6235         * text.C: remove troublesome depth-fiddling code
6236         in leftMargin() and rightMargin() (bug 1017)
6237
6238         * text.C: fix breaking of rows in nested lists
6239         (bug 1004)
6240
6241         * text2.C (updateCounters): fix up depth values
6242         (bug 1013)
6243
6244 2003-04-07  John Levon  <levon@movementarian.org>
6245
6246         * BufferView_pimpl.C: clear message when doc finishes resizing,
6247         and after a mouse event
6248
6249         * lyxfunc.C: clear message after exiting inset
6250
6251 2003-04-07  John Levon  <levon@movementarian.org>
6252
6253         * bufferview_funcs.C: show math status not outside
6254         status in the statusbar
6255
6256 2003-04-07  John Levon  <levon@movementarian.org>
6257
6258         * lyxfunc.C: note status changed after a depth change
6259
6260 2003-04-04  Angus Leeming  <leeming@lyx.org>
6261
6262         * LaTeX.h: move AuxInfo operator==, != out of line.
6263         Remove LaTeX virtual destructor; nothing derives from it.
6264         Move operator()() out of public area and rename it startscript().
6265         Change protected for private.
6266
6267 2003-04-04  Angus Leeming  <leeming@lyx.org>
6268
6269         * lyxfunc.C:
6270         * text2.C: remove unneeded #includes.
6271
6272 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6273
6274         * text2.C (dEPM): fix the heigth of the next row
6275
6276 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6277
6278         * text.C: squashed an invalid getChar requester + some ws changes
6279
6280 2003-04-03  John Levon  <levon@movementarian.org>
6281
6282         * bufferview_funcs.h:
6283         * bufferview_funcs.C:
6284         * lyxfunc.C:
6285         * lyxtext.h:
6286         * text2.C: make getStatus work for the env depth lfuns
6287
6288 2003-04-03  John Levon  <levon@movementarian.org>
6289
6290         * bufferview_funcs.h:
6291         * bufferview_funcs.C:
6292         * lyxfunc.C:
6293         * lyxtext.h:
6294         * text2.C: parlistize decDepth(), by merging it with incDepth()
6295
6296 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6297
6298         * lyxrow.h: store a ParagraphList::iterator instead of a
6299         Paragraph* and adjust other class functions to suit.
6300
6301         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6302         above.
6303
6304 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6305
6306         * text2.C (setCursor): do not anchor to cursor row for the time being
6307
6308 2003-04-02  John Levon  <levon@movementarian.org>
6309
6310         * LyXAction.C:
6311         * lfuns.h:
6312         * lyx_main.C:
6313         * lyxtext.h:
6314         * text.C:
6315         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6316
6317 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * paragraph.h: make ParagraphList and ParagraphList::iterator
6320         friends of Paragraph.
6321
6322         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6323
6324         * ParagraphList.C: Use the private next_ and previous_ from
6325         Paragraph.
6326
6327 2003-04-01  John Levon  <levon@movementarian.org>
6328
6329         * ToolbarBackend.h:
6330         * ToolbarBackend.C:
6331         * Makefile.am: rename, remove defaults gunk
6332
6333         * MenuBackend.h:
6334         * MenuBackend.C: remove defaults gunk
6335
6336         * Languages.h:
6337         * Languages.C: remove defaults gunk
6338
6339         * lyx_main.h:
6340         * lyx_main.C: error out if files couldn't be found.
6341
6342 2003-04-02  John Levon  <levon@movementarian.org>
6343
6344         * text2.C: make incDepth() use parlist
6345
6346 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * undo_funcs.C (firstUndoParagraph): adjust
6349
6350         * text3.C (gotoInset): adjust
6351         (dispatch): adjust, and rewrite loop.
6352
6353         * text2.C (init): adjust, and rewrite loop.
6354         (redoParagraphs): adjust
6355         (updateInset): adjust, and rewrite loop.
6356         (deleteEmptyParagraphMechanism): adjust
6357
6358         * tabular.C (LyXTabular): adjust
6359         (SetMultiColumn): adjust
6360         (TeXRow): adjust
6361
6362         * lyxtext.[Ch] (ownerParagraph): delete function
6363         (ownerParagraphs): new function returns a ParagraphList.
6364
6365         * BufferView.C (removeAutoInsets): adjust
6366         (insertErrors): adjust
6367         (setCursorFromRow): adjust
6368
6369 2003-04-01  Angus Leeming  <leeming@lyx.org>
6370
6371         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6372         in the frontends.
6373
6374 2003-04-02  John Levon  <levon@movementarian.org>
6375
6376         * lyxtext.h:
6377         * text.C:
6378         * Makefile.am:
6379         * text_funcs.h:
6380         * text_funcs.C: make transposeChars a free function
6381
6382         * lyxrow_funcs.C: remove wrong comment
6383
6384 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6385
6386         * lyxtext.h: adjust
6387         * rowpainter.C: adjust
6388         * text.C: adjust
6389         * text2.C: adjust
6390         * text3.C: adjust
6391
6392         * lyxrow_funcs. [Ch]: new files
6393
6394         * lyxrow.[Ch]: remove next and previous pointers
6395         (next,previous): remove accessor functions
6396         (isParEnd): move to lyxrow_funcs
6397         (lastPos): move to lyxrow_funcs
6398         (nextRowIsAllInset): move to lyxrow_funcs
6399         (lastPrintablePos): move to lyxrow_funcs
6400         (numberOfSeparators): move to lyxrow_funcs
6401         (numberOfHfills): move to lyxrow_funcs
6402         (numberOfLabelHfills): move to lyxrow_funcs
6403         (hfillExpansion): move to lyxrow_funcs
6404
6405         * lyxfunc.C: adjust
6406
6407         * bufferview_funcs.C (toggleAndShow): adjust
6408
6409         * RowList.h: Remove class RowList from file leave just a
6410         std::list<Row>.
6411
6412         * RowList.C: delete file
6413
6414         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6415         and lyxrow_funcs.h
6416
6417 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * text3.C (cursorPrevious): adjust
6420         (cursorNext): adjust
6421         (dispatch): adjust
6422
6423         * text2.C (redoHeightOfParagraph): adjust
6424         (redoDrawingOfParagraph): adjust
6425         (setCursor): adjust
6426
6427         * text.C (breakParagraph): adjust
6428         (insertChar): adjust
6429         (backspace): adjust
6430
6431         * rowpainter.C (RowPainter): adjust
6432         (leftMargin): simplify and adjust
6433         (most rowpainter functions): adjust.
6434
6435         * rowpainter.h: store the row as RowList::iterator not as Row*
6436
6437         * lyxcursor.C (row): taka RowList::iterator as arg
6438         (irow): ditto
6439
6440         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6441         of Row*.
6442
6443 2003-04-01  Angus Leeming  <leeming@lyx.org>
6444
6445         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6446         stuff like bool Bool.
6447
6448 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6449
6450         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6451         rewrite a loop
6452
6453 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6456         RowList::iterator.
6457
6458         * lyxtext.h (rows): drop one version and leve a const variant that
6459         returns a RowList::iterator.
6460
6461 2003-03-31  Angus Leeming  <leeming@lyx.org>
6462
6463         * text.C (fill): ensure that the signature is the same as that in the
6464         header file.
6465
6466 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * text2.C (redoParagraphs): adjust
6469         (updateCounters): adjust
6470         (checkParagraph): adjust
6471         (getColumnNearX): adjust and reformat a bit.
6472
6473         * text.C (top_y): adjust
6474         (workWidth): adjust
6475         (leftMargin): adjust
6476         (prepareToPrint): adjust
6477         (getRow): adjust
6478         (getRowNearY): adjust
6479
6480         * lyxtext.h: make rowlist_ mutable.
6481
6482         * RowList.h: add const_iterator
6483         * RowList.C: adjust for RowList::const_iterator.
6484
6485         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6486         adjust.
6487
6488 2003-03-31  John Levon  <levon@movementarian.org>
6489
6490         * lyxrc.h:
6491         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6492
6493         * lyx_main.C: set default fonts from using lyx_gui funcs
6494
6495         * exporter.C: pdf_mode moved from lyxrc
6496
6497         * lyx_cb.C:
6498         * lyxfunc.C: changes from above
6499
6500 2003-03-31  John Levon  <levon@movementarian.org>
6501
6502         * lyx_main.C: fix to the last fix
6503
6504 2003-03-31  John Levon  <levon@movementarian.org>
6505
6506         * bufferlist.C: "Load original" -> "Load Original"
6507
6508         * converter.C:
6509         * exporter.C:
6510         * importer.C:
6511         * lyx_main.C:
6512         * format.C: more Alert cleanups
6513
6514 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6515
6516         * text2.C (removeParagraph): make it take a RowList::iterator as
6517         arg, adjust.
6518         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6519         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6520
6521         * text.C (anchor_row): make it take a RowList::iterator as arg,
6522         adjust.
6523         (computeBidiTables): make it take a const reference to Row instead
6524         of Row pointer, adjust.
6525         (leftMargin): make it take a RowList::iterator as arg, adjust.
6526         (rowBreakPoint): adjust
6527         (breakAgainOneRow): make it take a RowList::iterator as arg,
6528         adjust.
6529         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6530
6531         * bufferview_funcs.C (toggleAndShow): adjust
6532
6533 2003-03-30  John Levon  <levon@movementarian.org>
6534
6535         * Makefile.am:
6536         * BoostFormat.h:
6537         * boost-inst.C: moved to support
6538
6539         * several files: changes as a result
6540
6541 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * text2.C (LyXText): adjust.
6544         (init): adjust
6545         (removeRow): make it take a RowList::iterator as arg, adjust.
6546         (fullRebreak): adjust
6547         (deleteEmptyParagraphMechanism): adjust
6548         (clearPaint): adjust
6549         (postPaint): adjust
6550
6551         * text.C (top_y): adjust
6552         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6553         (breakAgain): make it take a RowList::iterator as arg, adjust.
6554         (breakParagraph): adjust
6555         (insertChar): adjust
6556         (backspace): adjust
6557
6558         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6559         need_break_row, and refresh_row.
6560
6561         * text3.C (dispatch): adjust
6562
6563         * text2.C (checkParagraph): adjust
6564         (setCursor): adjust
6565         (setCursorFromCoordinates): adjust
6566
6567         * text.C (top_y): adjust
6568         (workWidth): adjust
6569         (getRow): make it return a RowList::iterator, adjust
6570         (getRowNearY): make it return a RowList::iterator, adjust
6571
6572         * text2.C (init): adjust
6573         (insertRow): remove function
6574         (insertParagraph): adjust
6575         (redoParagraphs): adjust
6576         (fullRebreak): adjust
6577         (updateCounters): adjust
6578
6579         * text.C (top_y): rewrite to use RowList iterators.
6580         (top_y): adjust
6581         (setHeightOfRow): rewrite to sue RowList iterators.
6582         (appendParagraph): adjust
6583         (breakAgain): adjust
6584         (breakAgainOneRow): adjust
6585         (breakParagraph): adjust
6586         (getRow): adjust
6587         (getRowNearY): adjust, and remove commented code.
6588
6589         * lyxtext.h (firstRow): delete function
6590         (lastRow): delete function
6591         (rows): new function (const and non-const versions.)
6592         (insertRow): delete function
6593
6594         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6595
6596 2003-03-29  John Levon  <levon@movementarian.org>
6597
6598         * BufferView_pimpl.C: always update scrollbar top
6599         because pasting text when we're anchored could mean we
6600         miss an update altogether
6601
6602 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * text2.C (init): use rowlist_.end() and not 0.
6605         (insertRow): change to take a RowList::iterator as arg, adjust
6606         for this.
6607         (insertParagraph): change to take a RowList::iterator as arg,
6608         adjust for this.
6609         (redoParagraphs): remove some debug msgs.
6610
6611         * text.C (appendParagraph): change to take a RowList::iterator
6612         arg, adjust for this.
6613         (breakAgain): add an assert
6614         (breakAgainOneRow): ditto
6615
6616 2003-03-29  John Levon  <levon@movementarian.org>
6617
6618         * text2.C: do not clear selection after inc/decDepth
6619         (bug 550)
6620
6621 2003-03-29  John Levon  <levon@movementarian.org>
6622
6623         * BufferView.C:
6624         * buffer.C: fix broken strerrors according to Lars
6625
6626 2003-03-29  John Levon  <levon@movementarian.org>
6627
6628         * converters.C: more Alert cleanups
6629
6630 2003-03-29  John Levon  <levon@movementarian.org>
6631
6632         * bufferview_funcs.C: remove pointless Alert
6633
6634         * buffer.C: fix confusing error message when
6635         a template is chmoded 000
6636
6637 2003-03-29  John Levon  <levon@movementarian.org>
6638
6639         * BufferView.C:
6640         * BufferView.h:
6641         * BufferView_pimpl.C: Alert fixes
6642
6643         * Makefile.am:
6644         * tabular.C:
6645         * tabular-old.C: remove unused table compat reading
6646
6647 2003-03-29  John Levon  <levon@movementarian.org>
6648
6649         * BufferView.C:
6650         * buffer.C:
6651         * lyx_cb.h:
6652         * lyx_cb.C: more Alert cleanups
6653
6654         * lyxfunc.C: don't allow chktex if not latex document
6655
6656 2003-03-29  John Levon  <levon@movementarian.org>
6657
6658         * lyx_cb.C:
6659         * BufferView.C:
6660         * buffer.C: warnings pushed down from support/,
6661         kill err_alert
6662
6663 2003-03-29  John Levon  <levon@movementarian.org>
6664
6665         * lyxfunc.C: safety check for C-r (revert)
6666
6667 2003-03-29  John Levon  <levon@movementarian.org>
6668
6669         * bufferlist.h:
6670         * bufferlist.C: several UI fixes using Alert::prompt.
6671         Fix the pointless looping quit code. Fix stupid revert
6672         behaviour (bug 938)
6673
6674         * lyxvc.h:
6675         * lyxvc.C:
6676         * lyx_cb.C: use Alert::prompt
6677
6678         * lyx_main.C: remove a silly question
6679
6680         * lyxfunc.C: remove a couple of silly questions,
6681         use Alert::prompt
6682
6683 2003-03-28  John Levon  <levon@movementarian.org>
6684
6685         * text2.C: fix bug 974 (End on empty par)
6686
6687 2003-03-28  John Levon  <levon@movementarian.org>
6688
6689         * BufferView_pimpl.C:
6690         * LyXAction.C:
6691         * lfuns.h: remove do-nothing math greek lfuns
6692
6693 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * lyxgluelength.h (isValidGlueLength): add default arg on
6696         parameter 2. Remove default arg from friend in class.
6697
6698         * lyxlength.h (isValidLength): add default arg on parameter 2.
6699         Remove default arg from friend in class.
6700
6701         * text2.C (LyXText): adjust, initialize refresh_row.
6702         (init): adjust
6703         (removeRow): adjust
6704         (insertRow): adjust
6705         (insertParagraph): adjst
6706         (redoParagraphs): adjust
6707         (fullRebreak): adjust
6708         (updateCounters): adjust
6709         (deleteEmptyParagraphMechanism): first attempt at fixing a
6710         crashing bug.
6711
6712         * text.C (top_y): adjust
6713         (setHeightOfRow): adjust
6714         (getRow): adjust
6715         (getRowNearY): adjust
6716
6717         * lyxtext.h: include RowList.h
6718         (~LyXText): not needed anymore, deleted.
6719         (firstRow): modify for RowList
6720         (lastRow): new function
6721         Delete firstrow and lastrow class variables, add a Rowlist
6722         rowlist_ class variable.
6723
6724         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6725         paragraph is empty.
6726
6727         * RowList.C (insert): fix case where it == begin().
6728
6729 2003-03-26  Angus Leeming  <leeming@lyx.org>
6730
6731         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6732         the thesaurus dialog.
6733
6734 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6735
6736         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6737
6738         * RowList.[Ch]: new files
6739
6740         * ParagraphList.C (erase): handle the case where it == begin
6741         correctly.
6742
6743 2003-03-25  John Levon  <levon@movementarian.org>
6744
6745         * Makefile.am:
6746         * aspell_local.h:
6747         * aspell.C: add new aspell support
6748
6749         * lyxrc.h:
6750         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6751         have it accessible.
6752
6753 2003-03-25  Angus Leeming  <leeming@lyx.org>
6754
6755         * lfuns.h:
6756         * LyXAction.C (init): new LFUN_INSET_INSERT.
6757
6758         * BufferView_pimpl.C (dispatch): split out part of the
6759         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6760
6761         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6762         LFUN_INSET_APPLY.
6763
6764 2003-03-25  Angus Leeming  <leeming@lyx.org>
6765
6766         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6767
6768 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6769
6770         * text2.C:
6771         * text3.C: remove useless row->height(0)
6772
6773 2003-03-25  John Levon  <levon@movementarian.org>
6774
6775         * lyxtext.h:
6776         * text2.C:
6777         * text3.C: rename the refreshing stuff to better names
6778
6779 2003-03-24  John Levon  <levon@movementarian.org>
6780
6781         * BufferView_pimpl.h:
6782         * BufferView_pimpl.C: update layout choice on a mouse
6783         press/release
6784
6785 2003-03-23  John Levon  <levon@movementarian.org>
6786
6787         * Makefile.am: fix commandtags.h reference
6788
6789 2003-03-22  John Levon  <levon@movementarian.org>
6790
6791         * BufferView_pimpl.C:
6792         * lyxtext.h:
6793         * rowpainter.C:
6794         * rowpainter.h:
6795         * text.C:
6796         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6797
6798 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6799
6800         * lyxtext.h:
6801         * text.C: take the rtl methods out of line
6802
6803 2003-03-21 André Pönitz <poenitz@gmx.net>
6804
6805         * metricsinfo.[Ch]: new files containing structures to be passed around
6806         during the two-phase-drawing...
6807
6808 2003-03-21 André Pönitz <poenitz@gmx.net>
6809
6810         * lyxtextclass.C: read 'environment' tag.
6811
6812 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6813
6814         * text2.C (removeRow): fix bug 964
6815
6816 2003-03-20  John Levon  <levon@movementarian.org>
6817
6818         * rowpainter.C:
6819         * text.C:
6820         * text2.C: paint cleanups. Inset::update() dropped font
6821         parameter
6822
6823 2003-03-19  John Levon  <levon@movementarian.org>
6824
6825         * lyxfunc.C: only fitcursor/markDirty if available()
6826
6827 2003-03-19  John Levon  <levon@movementarian.org>
6828
6829         * commandtags.h: rename to ...
6830
6831         * lfuns.h: ... this, and renumber / cleanup
6832
6833 2003-03-19  John Levon  <levon@movementarian.org>
6834
6835         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6836         fit the cursor after an lfun
6837
6838         * BufferView.h:
6839         * BufferView.C:
6840         * BufferView_pimpl.h:
6841         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6842
6843         * LyXAction.C: layout-character should have ReadOnly
6844
6845         * ParagraphParameters.C:
6846         * buffer.C:
6847         * bufferview_funcs.C:
6848         * lyx_cb.C:
6849         * lyxfind.C:
6850         * lyxtext.h:
6851         * text.C:
6852         * text2.C:
6853         * text3.C:
6854         * undo_funcs.C: changes from above
6855
6856 2003-03-18  John Levon  <levon@movementarian.org>
6857
6858         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6859         remove it from update()
6860
6861         * lyxfunc.C: update layout choice after an lfun
6862
6863         * text3.C: remove extra updateLayoutChoice()s
6864
6865 2003-03-18  John Levon  <levon@movementarian.org>
6866
6867         * text.C: top_y change means full repaint, fix
6868         a drawing bug with cursor movement
6869
6870 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6871
6872         * lyxtext.h:
6873         * text.C:
6874         * text2.C: anchor row on setCursor
6875
6876 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6877
6878         * lyxtext.h: remove almost all mutable keywords
6879         * text.C:
6880         * text2.C:
6881         * text3.C: remove const keywords accordingly
6882
6883 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6884
6885         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6886         anon namespace
6887         (TeXEnvironment): ditto
6888         (TeXOnePar): ditto
6889
6890 2003-03-17  John Levon  <levon@movementarian.org>
6891
6892         * text.C (rowBreakPoint): remove attempt to fix displayed
6893         math insets inside a manual label
6894
6895 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6896
6897         * lyxtext.h: remove BufferView* as first arg from almost all class
6898         functions.
6899         * other files: adjust.
6900
6901 2003-03-17  John Levon  <levon@movementarian.org>
6902
6903         * lyxtext.h:
6904         * undo_funcs.C:
6905         * text2.C: more paint cleanups
6906
6907         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6908
6909         * rowpainter.h:
6910         * rowpainter.C: remove "smart" background painting code
6911
6912 2003-03-16  John Levon  <levon@movementarian.org>
6913
6914         * lyxtext.h:
6915         * text.C:
6916         * text2.C:
6917         * text3.C: add helper functions for setting refresh_row/y
6918
6919 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6920
6921         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6922         newline inset which *can* get inserted in the pass_thru layouts.
6923         This is primarily for literate documents.
6924
6925 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6926
6927         * buffer.C: increment LYX_FORMAT to 223
6928
6929 2003-03-14 André Pönitz <poenitz@gmx.net>
6930
6931         * textclass.h: prepare for environment handling, ws changes
6932         * lyxlayout.C: read latexheader and latexfooter tags
6933
6934 2003-03-14  John Levon  <levon@movementarian.org>
6935
6936         * text2.C: rewrite ::status() a bit
6937
6938 2003-03-13  John Levon  <levon@movementarian.org>
6939
6940         * lyxtext.h: add some docs
6941
6942 2003-03-13  John Levon  <levon@movementarian.org>
6943
6944         * lyxtext.h:
6945         * text.C:
6946         * text2.C:
6947         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6948
6949 2003-03-13  John Levon  <levon@movementarian.org>
6950
6951         * text3.C: fix appendix redrawing
6952
6953 2003-03-13  John Levon  <levon@movementarian.org>
6954
6955         * text.C (setHeightOfRow):
6956         * rowpainter.h:
6957         * rowpainter.C: make appendix mark have the text
6958           "Appendix" so the user knows what it is
6959
6960         * LColor.h:
6961         * LColor.C: s/appendixline/appendix/ from above
6962
6963 2003-03-13  John Levon  <levon@movementarian.org>
6964
6965         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6966
6967         * text.C: fix a getChar(pos) bug properly
6968
6969 2003-03-13  Angus Leeming  <leeming@lyx.org>
6970
6971         * commandtags.h:
6972         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6973         Probably only temporary. Let's see how things pan out.
6974
6975         * BufferView.C (unlockInset):
6976         * BufferView_pimpl.C (fitCursor):
6977         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6978
6979         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6980         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6981
6982         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6983         new functions that convert ParagraphParameters to and from a string.
6984
6985         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6986         BufferView::Pimpl's dispatch.
6987         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6988
6989 2003-03-13 André Pönitz <poenitz@gmx.net>
6990
6991         * lyxfunc.C:
6992         * text3.C:
6993         * factory.C: make it aware of InsetEnv
6994
6995 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * text2.C (setCursor): never ask for one past last
6998         (setCursor): add some debugging messages.
6999
7000         * text.C (singleWidth): never ask for one past last
7001         (singleWidth): ditto
7002         (leftMargin): ditto
7003         (rightMargin): ditto
7004         (rowBreakPoint): ditto
7005         (setHeightOfRow): ditto
7006         (prepareToPrint): ditto
7007
7008         * rowpainter.C (paintBackground): never ask for one past last
7009         (paintText): never ask for one past last
7010
7011         * paragraph_pimpl.C (getChar): make the assert stricter, never
7012         allow the one past last pos to be taken
7013
7014         * paragraph.C (getChar): ws changes only
7015
7016         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7017         (numberOfSeparators): ditto
7018         (numberOfHfills): ditto
7019
7020 2003-03-12  John Levon  <levon@movementarian.org>
7021
7022         * author.h:
7023         * author.C:
7024         * bufferparams.h:
7025         * bufferparams.C:
7026         * paragraph_funcs.C: fix per-buffer authorlists
7027
7028 2003-03-12  John Levon  <levon@movementarian.org>
7029
7030         * text.C: fix newline in right address
7031
7032 2003-03-12  Angus Leeming  <leeming@lyx.org>
7033
7034         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7035         duplicate those in LyXFunc::dispatch.
7036
7037         * commandtags.h:
7038         * LyXAction.C:
7039         * ToolbarDefaults.C:
7040         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7041         Add LFUN_FONTFREE_UPDATE.
7042
7043         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7044         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7045
7046         * bufferview_func.[Ch]: several new functions to facilliate
7047         transfer of data to and from the character dialog.
7048
7049 2003-03-12  John Levon  <levon@movementarian.org>
7050
7051         * buffer.C:
7052         * paragraph.h:
7053         * paragraph.C:
7054         * paragraph_funcs.C:
7055         * paragraph_pimpl.C:
7056         * sgml.C:
7057         * tabular.C:
7058         * text.C:
7059         * text3.C: remove META_NEWLINE in favour of an inset
7060
7061         * rowpainter.h:
7062         * rowpainter.C: remove paintNewline (done by inset)
7063
7064 2003-03-12  John Levon  <levon@movementarian.org>
7065
7066         * paragraph_pimpl.C: complain about bad getChar()s
7067         for a while at least
7068
7069 2003-03-12  John Levon  <levon@movementarian.org>
7070
7071         * buffer.h:
7072         * buffer.C: move paragraph read into a separate function,
7073         a little renaming to reflect that.
7074
7075         * bufferparams.h:
7076         * bufferparams.C: remove the author_ids map, not necessary now
7077
7078         * factory.h:
7079         * factory.C: moved Buffer::readInset to here
7080
7081         * paragraph_funcs.h:
7082         * paragraph_funcs.C: readParagraph free function moved from
7083         buffer.C
7084
7085         * tabular.C: name change
7086
7087 2003-03-12  John Levon  <levon@movementarian.org>
7088
7089         * buffer.C:
7090         * ParagraphParameters.C: move par params input to
7091         a read() method
7092
7093         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7094         behave like a normal read from the stream wrt reading
7095         a line vs. a \\token
7096
7097 2003-03-12  John Levon  <levon@movementarian.org>
7098
7099         * paragraph.C:
7100         * ParagraphParameters.h:
7101         * ParagraphParameters.C: move output code to a
7102         ::write() method
7103
7104 2003-03-12  John Levon  <levon@movementarian.org>
7105
7106         * BufferView.C (insertLyXFile):
7107         * buffer.h:
7108         * buffer.C:
7109         * tabular.C: use a parlist iterator for creating the
7110           document.
7111
7112 2003-03-12  John Levon  <levon@movementarian.org>
7113
7114         * buffer.C: make current_change static local not
7115           static file-scope
7116
7117 2003-03-12  John Levon  <levon@movementarian.org>
7118
7119         * buffer.C: fix insertStringAsLines for change tracking
7120
7121 2003-03-12  John Levon  <levon@movementarian.org>
7122
7123         * BufferView.C:
7124         * tabular.C:
7125         * buffer.h:
7126         * buffer.C:
7127         * bufferparams.h:
7128         * bufferparams.C: move author list into params. Rename some
7129           functions. Move the header reading into a separate token
7130           loop. Move the header token reading into BufferParams.
7131
7132 2003-03-12  John Levon  <levon@movementarian.org>
7133
7134         * changes.C: put debug inside lyxerr.debugging() checks
7135
7136 2003-03-11 André Pönitz <poenitz@gmx.net>
7137
7138         * factory.C: make it aware of InsetHFill
7139
7140 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7141
7142         * buffer.C (latexParagraphs): move function from here...
7143         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7144         args.
7145
7146 2003-03-10  Angus Leeming  <leeming@lyx.org>
7147
7148         * LyXAction.C (init): fix bug in poplating array with multiple entries
7149         with the same LFUN (spotted by JMarc).
7150
7151 2003-03-10  John Levon  <levon@movementarian.org>
7152
7153         * text.C:
7154         * text2.C: move getColumnNearX() near its
7155         only call site
7156
7157 2003-03-10  John Levon  <levon@movementarian.org>
7158
7159         * text.C: fix break before a minipage
7160
7161 2003-03-10  John Levon  <levon@movementarian.org>
7162
7163         * text.C: fix the last commit
7164
7165 2003-03-09  John Levon  <levon@movementarian.org>
7166
7167         * lyxtext.h:
7168         * text.C:
7169         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7170         bug 365 (don't break before insets unless needed). Don't
7171         return a value > last under any circumstances.
7172
7173 2003-03-09  Angus Leeming  <leeming@lyx.org>
7174
7175         * BufferView_pimpl.C (trackChanges, dispatch): call
7176         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7177
7178 2003-03-09  Angus Leeming  <leeming@lyx.org>
7179
7180         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7181         than Dialogs::showAboutlyx().
7182
7183 2003-03-09  Angus Leeming  <leeming@lyx.org>
7184
7185         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7186         than Dialogs::showTabularCreate().
7187
7188 2003-03-09  John Levon  <levon@movementarian.org>
7189
7190         * lyxtext.h:
7191         * text.C:
7192         * text2.C: 3rd arg to nextBreakPoint was always the same.
7193           Use references.
7194
7195 2003-03-08  John Levon  <levon@movementarian.org>
7196
7197         * lyxrow.C:
7198         * paragraph.C:
7199         * paragraph.h:
7200         * rowpainter.C:
7201         * text.C:
7202         * text2.C: Remove the "main" bit from the "main body"
7203           notion.
7204
7205 2003-03-08  John Levon  <levon@movementarian.org>
7206
7207         * text.C (leftMargin): The left margin of an empty
7208         manual label paragraph should not include the label width
7209         string length.
7210
7211         * text.C (prepareToPrint): don't attempt to measure hfills
7212         for empty manual label paragraphs - the answer should be 0
7213
7214 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * CutAndPaste.C: remove commented code and reindent.
7217
7218 2003-03-08  John Levon  <levon@movementarian.org>
7219
7220         * lyxfunc.h:
7221         * lyxfunc.C: move reloadBuffer()
7222
7223         * BufferView.h:
7224         * BufferView.C: to here
7225
7226         * lyxvc.C: add comment
7227
7228         * vc-backend.h:
7229         * vc-backend.C: call bv->reload() to avoid
7230           getStatus() check on MENURELOAD
7231
7232 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7233
7234         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7235         to an old format .dep file.
7236
7237 2003-03-07  Angus Leeming  <leeming@lyx.org>
7238
7239         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7240         when the LFUN_MOUSE_RELEASE should have been handled by
7241         inset->localDispatch.
7242
7243 2003-03-07  Angus Leeming  <leeming@lyx.org>
7244
7245         * BufferView_pimpl.C (dispatch):
7246         * LyXAction.C (init):
7247         * ToolbarDefaults.C (init):
7248         * commandtags.h:
7249         * lyxfunc.C (getStatus):
7250         remove LFUN_INSET_GRAPHICS.
7251
7252         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7253
7254 2003-03-07  Angus Leeming  <leeming@lyx.org>
7255
7256         * commandtags.h:
7257         * LyXAction.C (init):
7258         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7259
7260         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7261
7262         * commandtags.h:
7263         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7264
7265         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7266         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7267
7268 2003-03-07  Angus Leeming  <leeming@lyx.org>
7269
7270         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7271         remove "ert".
7272
7273 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7274
7275         * ParagraphList.C (front): new function
7276         (back): implement
7277
7278 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7279
7280         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7281         and top_row_offset_. removed var first_y.
7282         * text.C (top_y):
7283         * text2.C (LyXText, removeRow):
7284         * text3.C:
7285         * BufferView_pimpl.C:
7286         use these methods instead of using first_y
7287
7288 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7289
7290         * text2.C (pasteSelection): adjust for checkPastePossible
7291
7292         * CutAndPaste.C: remove Paragraph * buf and replace with
7293         ParagraphList paragraphs.
7294         (DeleteBuffer): delete
7295         (cutSelection): change the tc type to textclass_type
7296         (copySelection): change the tc type to textclass_type
7297         (copySelection): adjust for ParagraphList
7298         (pasteSelection): change the tc type to textclass_type
7299         (pasteSelection): adjust for Paragraphlist
7300         (nrOfParagraphs): simplify for ParagraphList
7301         (checkPastePossible): simplify for ParagraphList
7302         (checkPastePossible): remove unused arg
7303
7304         * ParagraphList.C (insert): handle the case where there are no
7305         paragraphs yet.
7306
7307         * CutAndPaste.h: make CutAndPaste a namespace.
7308
7309         * text3.C (dispatch): adjust
7310
7311         * text.C (breakParagraph): add a ParagraphList as arg
7312
7313         * paragraph_funcs.C (breakParagraph): change to take a
7314         BufferParams and a ParagraphList as args.
7315         (breakParagraphConservative): ditto
7316         (mergeParagraph): ditto
7317         (TeXDeeper): add a ParagraphList arg
7318         (TeXEnvironment): ditto
7319         (TeXOnePar): ditto
7320
7321         * buffer.C (readLyXformat2): adjust
7322         (insertStringAsLines): adjust
7323         (latexParagraphs): adjust
7324
7325         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7326         (cutSelection): adjust
7327         (pasteSelection): adjust
7328
7329         * BufferView_pimpl.C (insertInset): adjust
7330
7331 2003-03-05  Angus Leeming  <leeming@lyx.org>
7332
7333         * commandtags.h:
7334         * LyXAction.C (init):
7335         * BufferView_pimpl.C (dispatch):
7336         * lyxfunc.C (getStatus):
7337         remove LFUN_CHILD_INSERT.
7338
7339         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7340
7341 2003-03-05  Angus Leeming  <leeming@lyx.org>
7342
7343         * commandtags.h:
7344         * LyXAction.C (init):
7345         * src/factory.C (createInset):
7346         * lyxfunc.C (getStatus):
7347         * text3.C (dispatch):
7348         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7349
7350         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7351
7352 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * ParagraphList.C (insert): handle insert right before end()
7355         (erase): fix cases where it can be first or last paragraph.
7356
7357 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7358
7359         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7360         Paragraph::next and Paragraph::previous
7361         (TeXOnePar): ditto
7362
7363         * text.C (breakParagraph): adjust
7364
7365         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7366         BufferParams& as arg.
7367         (breakParagraph): use ParagraphList::insert
7368         (breakParagraphConservative): take a Buffer* instead of a
7369         BufferParams& as arg.
7370         (breakParagraphConservative): use ParagraphList::insert.
7371
7372         * buffer.C (insertStringAsLines): un-const it
7373         (insertStringAsLines): adjust
7374
7375         * ParagraphList.C (insert): new function
7376
7377         * CutAndPaste.C (pasteSelection): adjust
7378
7379         * text.C (backspace): adjust
7380
7381         * tabular.C (SetMultiColumn): adjust
7382
7383         * CutAndPaste.C (cutSelection): adjust
7384         (pasteSelection): adjust
7385
7386         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7387         Buffer const * as arg
7388
7389         * ParagraphList.C (erase): new function
7390         * paragraph_funcs.C (mergeParagraph): use it
7391         (mergeParagraph): make it take a Buffer* instead of a
7392         BufferParams* as arg
7393
7394         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7395         as arg
7396         (breakParagraphConservative): ditto
7397
7398         * paragraph.h: remove the breakParagraph friend
7399
7400         * paragraph.C (eraseIntern): new function
7401         (setChange): new function
7402
7403         * paragraph_funcs.C (mergeParagraph): make it take a
7404         ParagraphList::iterator instead of a Paragraph *, adjust
7405         accordingly.
7406
7407         * paragraph.h: move an #endif so that the change tracking stuff
7408         also works in the NO_NEXT case.
7409
7410 2003-03-04  Angus Leeming  <leeming@lyx.org>
7411
7412         * commandtags.h:
7413         * LyXAction.C: new LFUN_INSET_MODIFY.
7414
7415         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7416         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7417
7418 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7419
7420         * several files: ws changes only
7421
7422         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7423         (TeXEnvironment): ditto
7424         (TeXDeeper): ditto
7425
7426         * buffer.C (makeLaTeXFile): adjust
7427         (latexParagraphs): make it take ParagraphList::iterator as args
7428
7429 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7430
7431         * buffer.C (latexParagraphs): adjust
7432
7433         * paragraph.C (TeXOnePar): move function...
7434         (optArgInset): move function...
7435         (TeXEnvironment): move function...
7436         * paragraph_pimpl.C (TeXDeeper): move function...
7437         * paragraph_funcs.C: ...here
7438
7439         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7440
7441 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * buffer.C (readInset): remove compability code for old Figure and
7444         InsetInfo insets
7445
7446 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7447
7448         * buffer.C: ws changes
7449         (readInset):
7450
7451         * BufferView_pimpl.C: ditto
7452         * author.C: ditto
7453         * buffer.h: ditto
7454         * bufferlist.h: ditto
7455         * changes.h: ditto
7456         * lyxfunc.C: ditto
7457
7458 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7459
7460         * converter.[Ch]: split into itself +
7461         * graph.[Ch]
7462         * format.[Ch]
7463         * Makefile.am: += graph.[Ch] + format.[Ch]
7464         * MenuBackend.C
7465         * buffer.C
7466         * exporter.C
7467         * importer.C
7468         * lyx_main.C
7469         * lyxfunc.C
7470         * lyxrc.C: added #include "format.h"
7471
7472 2003-02-27  Angus Leeming  <leeming@lyx.org>
7473
7474         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7475           a label.
7476
7477         * factory.C (createInset): add "label" to the factory.
7478
7479         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7480           string and do no more.
7481
7482 2003-02-27  Angus Leeming  <leeming@lyx.org>
7483
7484         * commandtags.h:
7485         * LyXAction.C (init):
7486         * factory.C (createInset):
7487         * BufferView_pimpl.C (dispatch):
7488           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7489
7490         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7491
7492         * lyxfunc.C (dispatch):
7493         * text3.C (dispatch): pass name to params2string.
7494
7495 2003-02-26  Angus Leeming  <leeming@lyx.org>
7496
7497         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7498           blocks together.
7499           Rearrange the ~includes. Strip out the unnecessary ones.
7500
7501         * factory.C (createInset): reformat.
7502           create new insets for the various LFUN_XYZ_APPLY lfuns.
7503
7504 2003-02-26  John Levon  <levon@movementarian.org>
7505
7506         * lyxrow.h:
7507         * lyxrow.C: add isParStart,isParEnd helpers
7508
7509         * paragraph.h: make isInserted/DeletedText take refs
7510
7511         * paragraph_funcs.h:
7512         * paragraph_funcs.C: remove #if 0'd code
7513
7514         * lyxtext.h:
7515         * text3.C:
7516         * text2.C:
7517         * text.C: use lyxrow helpers above.
7518           Move draw and paint routines to RowPainter.
7519           Make several methods use refs not pointers.
7520           Make backgroundColor() const.
7521           Add markChangeInDraw(), isInInset().
7522           Merge changeRegionCase into changeCase.
7523           Make workWidth() shouldn't-happen code into an Assert.
7524
7525         * rowpainter.h:
7526         * rowpainter.C: new class for painting a row.
7527
7528         * vspace.h:
7529         * vspace.C: make inPixels take a ref
7530
7531 2003-02-26  Angus Leeming  <leeming@lyx.org>
7532
7533         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7534         LFUN_REF_APPLY.
7535
7536 2003-02-25  John Levon  <levon@movementarian.org>
7537
7538         * ispell.C: give the forked command a more accurate name
7539
7540 2003-02-22  John Levon  <levon@movementarian.org>
7541
7542         * toc.h:
7543         * toc.C: make TocItem store an id not a Paragraph *
7544           (bug #913)
7545
7546 2003-02-21  Angus Leeming  <leeming@lyx.org>
7547
7548         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7549           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7550           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7551           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7552           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7553           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7554
7555         * BufferView_pimpl.C (dispatch):
7556         * LyXAction.C (init):
7557         * factory.C (createInset):
7558         * lyxfunc.C (getStatus, dispatch):
7559         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7560
7561 2003-02-21  Angus Leeming  <leeming@lyx.org>
7562
7563         * BufferView_pimpl.C (MenuInsertLyXFile):
7564         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7565         * lyxfunc.C (menuNew, open, doImport):
7566           no longer pass a LyXView & to fileDlg.
7567
7568 2003-02-21  Angus Leeming  <leeming@lyx.org>
7569
7570         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7571         * LyXAction.C: change, BIBKEY to BIBITEM.
7572         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7573         Change InsetBibKey to InsetBibitem.
7574         Change BIBKEY_CODE to BIBITEM_CODE.
7575         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7576         * factory.C: replace insetbib.h with insetbibitem.h.
7577         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7578         * paragraph.C: replace insetbib.h with insetbibitem.h.
7579         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7580         Change bibkey() to bibitem().
7581         * text.C: remove insetbib.h.
7582         * text2.C: replace insetbib.h with insetbibitem.h.
7583         change bibkey() to bibitem().
7584         * text3.C: remove insetbib.h.
7585         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7586
7587 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7588
7589         * lyxrc.C (output): enclose user email in quotes (in case there are
7590         several words)
7591
7592 2003-02-18  John Levon  <levon@movementarian.org>
7593
7594         * buffer.h: add std::
7595
7596 2003-02-17  John Levon  <levon@movementarian.org>
7597
7598         * SpellBase.h:
7599         * ispell.h:
7600         * ispell.C:
7601         * pspell.h:
7602         * pspell.C: reworking. Especially in ispell, a large
7603           number of clean ups and bug fixes.
7604
7605         * lyxfunc.C: fix revert to behave sensibly
7606
7607 2003-02-17 André Pönitz <poenitz@gmx.net>
7608
7609         * LyXAction.C:
7610         * commandtags.h: new LFUN_INSERT_BIBKEY
7611
7612         * layout.h:
7613         * lyxlayout.C:
7614         * buffer.C:
7615         * factory.C:
7616         * text.C:
7617         * text2.C:
7618         * text3.C:
7619         * paragraph.[Ch]:
7620         * paragraph_func.C: remove special bibkey handling
7621
7622 2003-02-17  John Levon  <levon@movementarian.org>
7623
7624         * text.C (Delete): fix case where delete at the end of
7625           the very first paragraph would not merge the pars
7626
7627 2003-02-17  John Levon  <levon@movementarian.org>
7628
7629         * lyxrow.C: fix lastPrintablePos()
7630
7631 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7632
7633         * bufferparams.C (writeLaTeX): add a std:here
7634
7635         * buffer.C: and remove a using directive there
7636
7637 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7638
7639         * buffer.C (makeLaTeXFile): move the code that generates the
7640           preamble...
7641
7642         * bufferparams.C (writeLaTeX): ... in this new method
7643
7644         * LaTeXFeatures.C (getEncodingSet): make const
7645           (getLanguages): make const
7646
7647         * MenuBackend.C (binding): returns the binding associated to this
7648           action
7649           (add): sets the status of each item by calling getStatus. Adds
7650           some intelligence.
7651           (read): add support for OptSubMenu
7652           (expand): remove extra separator at the end of expanded menu
7653
7654 2003-02-15  John Levon  <levon@movementarian.org>
7655
7656         * BufferView.C:
7657         * BufferView_pimpl.C:
7658         * bufferlist.h:
7659         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7660           inset code that had no actual effect. Remove unneeded status
7661           code.
7662
7663 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7664
7665         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7666           in preamble
7667
7668 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7669
7670         * text.C (drawLengthMarker): also draw an arrow marker for
7671           symbolic lengths (medskip...)
7672
7673 2003-02-14  John Levon  <levon@movementarian.org>
7674
7675         * tabular.h:
7676         * tabular.C: better method names
7677
7678 2003-02-14  John Levon  <levon@movementarian.org>
7679
7680         * BufferView_pimpl.C:
7681         * bufferlist.C:
7682         * buffer.C:
7683         * converter.C:
7684         * lyx_cb.C:
7685         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7686           it's a more accurate name. Remove some pointless uses.
7687
7688 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7689
7690         * text2.C (LyXText): change order of initilizers to shut off
7691           warnings
7692
7693 2003-02-14  John Levon  <levon@movementarian.org>
7694
7695         * buffer.C: use ParIterator for getParFromID()
7696
7697         * paragraph.h:
7698         * paragraph.C:
7699         * paragraph_pimpl.h:
7700         * paragraph_pimpl.C: remove unused getParFromID()
7701
7702 2003-02-14  John Levon  <levon@movementarian.org>
7703
7704         * buffer.C: remove some very old #if 0'd parse code
7705
7706 2003-02-13  John Levon  <levon@movementarian.org>
7707
7708         * text.h:
7709         * text.C:
7710         * text2.C: move hfillExpansion(), numberOfSeparators(),
7711           rowLast(), rowLastPrintable(), numberofHfills(),
7712           numberOfLabelHfills() ...
7713
7714         * lyxrow.h:
7715         * lyxrow.C: ... to member functions here.
7716
7717         * paragraph.h:
7718         * paragraph.C:
7719         * lyxtext.h:
7720         * text.C: remove LyXText::beginningOfMainBody(), and call
7721           p->beginningOfMainBody() directly. Move the check for
7722           LABEL_MANUAL into the latter.
7723
7724         * text.h:
7725         * text.C:
7726         * text2.C:
7727         * vspace.C:
7728         * BufferView.h:
7729         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7730
7731         * text.h:
7732         * text.C:
7733         * text2.C:
7734         * text3.C:
7735         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7736           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7737
7738 2003-02-13  John Levon  <levon@movementarian.org>
7739
7740         * CutAndPaste.C: remove debug
7741
7742 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7743
7744         * paragraph.C (asString): remove two unused variables
7745
7746         * lyxtextclass.C (readTitleType):
7747           (Read):
7748           (LyXTextClass): handle new members titletype_ and titlename_
7749
7750         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7751
7752 2003-02-09  John Levon  <levon@movementarian.org>
7753
7754         * buffer.h:
7755         * buffer.C: replace hand-coded list with a map for the dep clean
7756
7757 2003-02-08  John Levon  <levon@movementarian.org>
7758
7759         * LaTeX.C: consolidate code into showRunMessage() helper
7760
7761 2003-02-08  John Levon  <levon@movementarian.org>
7762
7763         * lyxfind.C:
7764         * lyxtext.h:
7765         * text2.C:
7766         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7767           and pass the size in explicitly
7768
7769         * BufferView_pimpl.h:
7770         * BufferView_pimpl.C:
7771         * BufferView.h:
7772         * BufferView.C: add getCurrentChange()
7773
7774         * BufferView_pimpl.h:
7775         * BufferView_pimpl.C: handle change lfuns
7776
7777         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7778           for changes. Mark pasted paragraphs as new.
7779
7780         * support/lyxtime.h:
7781         * support/lyxtime.C:
7782         * DepTable.C: abstract time_t as lyx::time_type
7783
7784         * LColor.h:
7785         * LColor.C: add colours for new text, deleted text, changebars
7786
7787         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7788           package use "usenames" option.
7789
7790         * commandtags.h:
7791         * lyxfunc.C:
7792         * LyXAction.C: add change lfuns
7793
7794         * Makefile.am:
7795         * author.h:
7796         * author.C: author handling
7797
7798         * buffer.h:
7799         * buffer.C: add a per-buffer author list, with first entry as
7800           current author. Handle new .lyx tokens for change tracking. Output
7801           author list to .lyx file. Output dvipost stuff to .tex preamble.
7802           Bump lyx format to 222.
7803
7804         * bufferlist.h:
7805         * bufferlist.C: add setCurrentAuthor() to reset current author details
7806           in all buffers.
7807
7808         * bufferparams.h:
7809         * bufferparams.C: add param for tracking
7810
7811         * bufferview_funcs.C: output change info in minibuffer
7812
7813         * Makefile.am:
7814         * changes.h:
7815         * changes.C: add change-tracking structure
7816
7817         * debug.h:
7818         * debug.C: add CHANGES debug flag
7819
7820         * lyxfind.h:
7821         * lyxfind.C: add code for finding the next change piece
7822
7823         * lyxrc.h:
7824         * lyxrc.C: add user_name and user_email
7825
7826         * lyxrow.h:
7827         * lyxrow.C: add a metric for the top of the text line
7828
7829         * lyxtext.h:
7830         * text.C: implement accept/rejectChange()
7831
7832         * lyxtext.h:
7833         * text.C: paint changebars. Paint new/deleted text in the chosen
7834         colours. Strike through deleted text.
7835
7836         * paragraph.h:
7837         * paragraph.C:
7838         * paragraph_pimpl.h:
7839         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7840           in the current change to the insert functions. Rework erase to
7841           mark text as deleted, adding an eraseIntern() and a range-based
7842           erase(). Implement per-paragraph change lookup and
7843           accept/reject.
7844
7845         * paragraph_funcs.C: Fixup paste for change tracking.
7846
7847         * tabular.C: mark added row/columns as new.
7848
7849         * text.C: fix rowLast() to never return -1. Don't allow
7850           spellchecking of deleted text. Track transpose changes. Don't
7851           allow paragraph break or merge where appropriate.
7852
7853         * text2.C: leave cursor at end of selection after a cut.
7854
7855 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7856
7857         * text.C (getLengthMarkerHeight):
7858         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7859         visible on screen too.
7860
7861 2003-02-07  John Levon  <levon@movementarian.org>
7862
7863         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7864
7865 2003-02-05  Angus Leeming  <leeming@lyx.org>
7866
7867         * lyxserver.C (read_ready): revert my patch of 11 September last year
7868         as it sends PC cpu through the roof. Presumably this means that
7869         the lyxserver will no longer run on an Alpha...
7870
7871 2003-01-30  Angus Leeming  <leeming@lyx.org>
7872
7873         * factory.C (createInset): create an InsetCommandParam of type "index"
7874         and use it to 'do the right thing'.
7875
7876         * text2.C (getStringToIndex): ensure that cursor position is always
7877         reset to the reset_cursor position.
7878
7879 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7880
7881         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7882         disabled.
7883
7884 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7885
7886         * bufferview.C:
7887         * lyxcb.C:
7888         * lyxfunc.C: Output messages with identical spelling, punctuation,
7889         and spaces
7890
7891 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7892
7893         * MenuBackend.C (expandFormats): List only viewable export formats
7894         in "View" menu
7895
7896         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7897         message
7898
7899         * lyxfunc.C (getStatus): Make sure that formats other than
7900         "fax" can also be disabled
7901
7902 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7903
7904         * text3.C (dispatch): put the lfuns that insert insets in 3
7905         groups, and call doInsertInset with appropriate arguments.
7906         (doInsertInset): new function, that creates an inset and inserts
7907         it according to some boolean parameters.
7908
7909 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7910
7911         * buffer.C (readFile): remember to pass on 'par' when calling
7912         readFile recursively.
7913
7914 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7915
7916         * MenuBackend.C (expandFormats): add "..." to import formats.
7917
7918 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7919
7920         * paragraph.C (asString): Remove XForms RTL hacks.
7921
7922 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7923         * buffer.C: fix typo
7924
7925 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7926
7927         * Makefile.am (LIBS): delete var
7928         (lyx_LDADD): add @LIBS@ here instead.
7929
7930 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7931
7932         * Clarify the meaning of "wheel mouse jump"
7933
7934 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7935
7936         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7937         tabular in a float
7938
7939 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7940
7941         * importer.C (Loaders): do not preallocate 3 elements in the
7942         vector, since one ends up with 6 elements otherwise
7943
7944 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7945
7946         * DepTable.C (write): write the file name as last element of the
7947         .dep file (because it may contain spaces)
7948         (read): read info in the right order
7949
7950 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7951
7952         * paragraph_pimpl.C (simpleTeXBlanks):
7953         (simpleTeXSpecialChars):
7954         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7955
7956         * tabular.C (latex): add some missing case statements. Reindent.
7957
7958         * MenuBackend.C (expandToc): remove unused variable.
7959
7960 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7961
7962         * LColor.C:
7963         * LaTeX.C:
7964         * LyXAction.C:
7965         * MenuBackend.C:
7966         * buffer.C:
7967         * exporter.C:
7968         * lyxfunc.C:
7969         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7970         and the like.
7971
7972 2003-01-05  John Levon  <levon@movementarian.org>
7973
7974         * BufferView.h:
7975         * BufferView.C: add getEncoding()
7976
7977         * kbsequence.h:
7978         * kbsequence.C: do not store last keypress
7979
7980         * lyxfunc.h:
7981         * lyxfunc.C: store last keypress here instead. Pass encoding
7982           to getISOEncoded()
7983
7984 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7985
7986         * lyx_main.C (init): remove annoying error message when following
7987         symbolic links (bug #780)
7988
7989 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7990
7991         * text.C (insertChar):
7992         * lyxrc.C (getDescription): remove extra spaces
7993
7994 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7995
7996         * lyxrc.C (getDescription): remove extra spaces
7997
7998 2002-12-20  John Levon  <levon@movementarian.org>
7999
8000         * text3.C: hack fix for page up/down across tall rows
8001
8002 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8003
8004         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8005         not been invoked
8006
8007 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8008
8009         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8010         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8011         thesaurus is not compiled in
8012
8013 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8014
8015         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8016
8017 2002-12-16  Angus Leeming  <leeming@lyx.org>
8018
8019         * lyxrc.[Ch]:
8020         * lyx_main.C (init): remove override_x_deadkeys stuff.
8021
8022 2002-12-12  John Levon  <levon@movementarian.org>
8023
8024         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8025           insert. Only remove shift modifier under strict
8026           circumstances.
8027
8028 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8029
8030         * MenuBackend.C (expandToc): fix crash.
8031
8032 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8033
8034         * MenuBackend.C (expandToc): gettext on float names.
8035
8036 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8037
8038         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8039         implement bool empty() [bug 490]
8040
8041 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8042
8043         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8044
8045 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8046
8047         * several files: ws changes
8048
8049 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * text2.C (setCounter): clean up a bit, use boost.format.
8052         (updateCounters): initialize par upon declaration.
8053
8054         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8055         if the layout exists. We do not just store the layout any more.
8056         (SwitchLayoutsBetweenClasses): use boost.format
8057
8058 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8059
8060         * converter.C (convert): if from and to files are the same, use a
8061         temporary files as intermediary
8062
8063 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8064
8065         * commandtags.h:
8066         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8067
8068 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8069
8070         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8071
8072 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8073
8074         * tabular.C (asciiPrintCell): use string(size, char) instead of
8075         explicit loop.
8076
8077         * sgml.C (openTag): fix order of arguments to string constructor
8078         (closeTag): ditto
8079
8080         * lyxfunc.C (dispatch): use boost.format
8081
8082         * lots of files: change "c" -> 'c'
8083
8084 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8085
8086         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8087
8088 2002-11-25  Angus Leeming  <leeming@lyx.org>
8089
8090         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8091
8092         * lyx_main.C (init): compile fix.
8093
8094 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8095
8096         * lyx_cb.C (start): boost.formatify
8097         do not include <iostream>
8098
8099         * lengthcommon.C: ws only
8100
8101         * boost-inst.C,BoostFormat.h: add more explict instantations
8102
8103 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * lots of files: handle USE_BOOST_FORMAT
8106
8107 2002-11-21  John Levon  <levon@movementarian.org>
8108
8109         * pspell.C: fix compile
8110
8111 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8112
8113         * lyxfunc.C (dispatch): use boost::format
8114         (open): ditto
8115         (doImport): ditto
8116
8117         * lyxfont.C (stateText): use boost::format
8118
8119         * lyx_main.C (LyX): use boost::format
8120         (init): ditto
8121         (queryUserLyXDir): ditto
8122         (readRcFile): ditto
8123         (parse_dbg): ditto
8124         (typedef boost::function): use the recommened syntax.
8125
8126         * importer.C (Import): use boost::format
8127
8128         * debug.C (showLevel): use boost::format
8129
8130         * converter.C (view): use boost::format
8131         (convert): ditto
8132         (move): ditto
8133         (scanLog): ditto
8134
8135         * bufferview_funcs.C (currentState): use boost::format
8136
8137         * bufferlist.C (emergencyWrite): use boost::format
8138
8139         * buffer.C (readLyXformat2): use boost::format
8140         (parseSingleLyXformat2Token): ditto
8141
8142         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8143
8144         * LaTeX.C (run): use boost::format
8145
8146         * Chktex.C (scanLogFile): use boost::format
8147
8148         * BufferView_pimpl.C (savePosition): use boost::format
8149         (restorePosition): ditto
8150         (MenuInsertLyXFile): ditto
8151
8152         * BoostFormat.h: help file for explicit instation.
8153
8154 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8155
8156         * tabular.C (latex): Support for block alignment in fixed width
8157         columns.
8158
8159 2002-11-17  John Levon  <levon@movementarian.org>
8160
8161         * BufferView_pimpl.C:
8162         * lyx_cb.C:
8163         * lyxfunc.C: split filedialog into open/save
8164
8165 2002-11-08  Juergen Vigna  <jug@sad.it>
8166
8167         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8168         by my last patch (hopefully).
8169
8170 2002-11-08  John Levon  <levon@movementarian.org>
8171
8172         * iterators.h:
8173         * iterators.C:
8174         * buffer.h:
8175         * buffer.C:
8176         * paragraph.h:
8177         * paragraph.C:
8178         * toc.h:
8179         * toc.C: ParConstIterator, and use it (from Lars)
8180
8181 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8182
8183         * lyxtextclass.[Ch]: revise and add doxygen comments
8184
8185 2002-11-07  John Levon  <levon@movementarian.org>
8186
8187         * text.C: fix progress value for spellchecker
8188
8189         * toc.C: fix navigate menu for insetwrap inside minipage
8190
8191         * paragraph_funcs.C: added FIXME for suspect code
8192
8193 2002-11-07  John Levon  <levon@movementarian.org>
8194
8195         * BufferView_pimpl.C: fix redrawing of insets
8196           on buffer switch
8197
8198 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8199
8200         * text2.C (updateCounters): fix bug 668
8201
8202 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8203
8204         * text3.C (dispatch): Do not make the buffer dirty when moving the
8205         cursor.
8206
8207 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * vc-backend.C: STRCONV
8210         (scanMaster): ditto
8211
8212         * text2.C (setCounter): STRCONV
8213
8214         * paragraph.C (asString): STRCONV
8215
8216         * lyxlength.C (asString): STRCONV
8217         (asLatexString): ditto
8218
8219         * lyxgluelength.C (asString): STRCONV
8220         (asLatexString): ditto
8221
8222         * lyxfunc.C (dispatch): STRCONV
8223         (open): ditto
8224
8225         * lyxfont.C (stateText): STRCONV
8226
8227         * importer.C (Import): STRCONV
8228
8229         * counters.C (labelItem): STRCONV
8230         (numberLabel): ditto
8231         (numberLabel): remove unused ostringstream o
8232
8233         * chset.C: STRCONV
8234         (loadFile): ditto
8235
8236         * bufferview_funcs.C (currentState): STRCONV
8237
8238         * buffer.C (readFile): STRCONV
8239         (asciiParagraph): ditto
8240         (makeLaTeXFile): ditto
8241
8242         * Spacing.C (writeEnvirBegin): STRCONV
8243
8244         * LaTeXFeatures.C (getLanguages): STRCONV
8245         (getPackages): ditto
8246         (getMacros): ditto
8247         (getBabelOptions): ditto
8248         (getTClassPreamble): ditto
8249         (getLyXSGMLEntities): ditto
8250         (getIncludedFiles): ditto
8251
8252         * LaTeX.C: STRCONV
8253         (run): ditto
8254         (scanAuxFile): ditto
8255         (deplog): ditto
8256
8257         * LString.h: add the STRCONV macros
8258
8259         * BufferView_pimpl.C (savePosition): STRCONV
8260         (restorePosition): ditto
8261         (MenuInsertLyXFile): ditto
8262
8263         * vc-backend.C (scanMaster): change from submatch[...] to
8264         submatch.str(...)
8265
8266         * funcrequest.C: include config.h
8267
8268         * factory.C: include config.h
8269
8270         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8271
8272         * box.C: include config.h
8273
8274         * LaTeX.C (scanAuxFile): change from submatch[...] to
8275         submatch.str(...)
8276         (deplog): ditto
8277
8278 2002-10-25  Angus Leeming  <leeming@lyx.org>
8279
8280         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8281
8282         * ispell.[Ch] (setError): new method.
8283         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8284         Use setError() insetead of goto END.
8285
8286         * lyx_cb.C (AutoSave): move out child process into new class
8287         AutoSaveBuffer.
8288
8289 2002-10-30  John Levon  <levon@movementarian.org>
8290
8291         * text3.C: make start appendix undoable
8292
8293 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8294
8295         * lyxlength.C (inPixels): Fix returned value.
8296
8297         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8298         environment.
8299
8300 2002-10-24  Angus Leeming  <leeming@lyx.org>
8301
8302         * lyxgluelength.h: no need to forward declare BufferParams
8303         or BufferView, so don't.
8304
8305 2002-10-21  John Levon  <levon@movementarian.org>
8306
8307         * BufferView.C: menuUndo ->undo, redo
8308
8309         * BufferView.h: document, remove dead, make some methods private
8310
8311         * paragraph_funcs.h:
8312         * paragraph_funcs.C:
8313         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8314
8315         * buffer.h:
8316         * buffer.C:
8317         * sgml.h:
8318         * sgml.C: move sgml open/close tag into sgml.C
8319
8320         * bufferview_funcs.h: unused prototype
8321
8322         * lyxfunc.h:
8323         * lyxfunc.C: remove unused
8324
8325         * lyxtext.h:
8326         * text.C: remove unused
8327
8328 2002-10-21  John Levon  <levon@movementarian.org>
8329
8330         * BufferView.h:
8331         * BufferView.C:
8332         * BufferView_pimpl.h:
8333         * BufferView_pimpl.C: fix mouse wheel handling based on
8334           patch from Darren Freeman
8335
8336 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8337
8338         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8339
8340 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8341
8342         * lyxlength.C (inPixels): Fix hanfling of negative length.
8343         Fix LyXLength::MU case.
8344
8345 2002-10-16  John Levon  <levon@movementarian.org>
8346
8347         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8348
8349 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8350
8351         * converter.C (view): add support for $$i (file name) and $$p
8352         (file path) for the viewer command. If $$i is not specified, then
8353         it is appended to the command (for compatibility with old syntax)
8354
8355 2002-10-14  Juergen Vigna  <jug@sad.it>
8356
8357         * undo_funcs.C (textHandleUndo): alter the order in which the
8358         new undopar is added to the LyXText, as we have to set first
8359         the right prev/next and then add it as otherwise the rebuild of
8360         LyXText is not correct. Also reset the cursor to the right paragraph,
8361         with this IMO we could remove the hack in "redoParagraphs()".
8362
8363 2002-10-09  Angus Leeming  <leeming@lyx.org>
8364
8365         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8366         to turn off an optimisation if a new inset is to be inserted.
8367
8368 2002-10-11 André Pönitz <poenitz@gmx.net>
8369
8370         * lyxtext.h: make some functions public to allow access
8371         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8372
8373 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8374
8375         * text3.C (dispatch): when changing layout, avoid an infinite loop
8376         [bug #652]
8377
8378 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8379
8380         * lyxrc.C (read): treat a viewer or converter command of "none" as
8381         if it were empty.
8382
8383         * MenuBackend.C (expandFormats): for an update, also allow the
8384         formats that are not viewable
8385
8386         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8387         script if it is newer than the lyxrc.defaults in user directory
8388
8389 2002-10-07 André Pönitz <poenitz@gmx.net>
8390
8391         * text.C: Vitaly Lipatov's small i18n fix
8392
8393 2002-09-25  Angus Leeming  <leeming@lyx.org>
8394
8395         * ispell.h: doxygen fix.
8396
8397 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8398
8399         * buffer.h (readFile): Add a new argument to the method, to allow
8400         reading of old-format templates.
8401
8402 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8403
8404         * toc.C (getTocList): Get TOC from InsetWrap.
8405
8406 2002-09-16  John Levon  <levon@movementarian.org>
8407
8408         * lyxfunc.C: check tabular for cut/copy too
8409
8410 2002-09-12  John Levon  <levon@movementarian.org>
8411
8412         * LyXAction.C: tidy
8413
8414         * factory.h:
8415         * factory.C: add header
8416
8417         * paragraph_funcs.h:
8418         * paragraph_funcs.C: cleanup
8419
8420 2002-09-11  John Levon  <levon@movementarian.org>
8421
8422         * PrinterParams.h: odd/even default to true
8423
8424 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8425
8426         * PrinterParams.h: update printer parameters for new xforms dialog
8427
8428 2002-09-11  Angus Leeming  <leeming@lyx.org>
8429
8430         * lyxserver.C (read_ready): re-write to make it more transparent
8431         and to make it work in coherent fashion under Tru64 Unix.
8432
8433 2002-09-11  André Pönitz <poenitz@gmx.net>
8434
8435         * commandtags.h:
8436         * LyXAction.C:
8437         * text3.C: implement LFUN_WORDSEL
8438
8439 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8440
8441         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8442         make floatlist_ a boost::shared_ptr<FloatList>
8443
8444         * lyxtextclass.C: include FloatList.h
8445         (LyXTextClass): initialize floatlist_
8446         (TextClassTags): add TC_NOFLOAT
8447         (Read): match "nofloat" to TC_NOFLOAT and use it.
8448         (readFloat): modify call to floatlist_
8449         (floats): ditto
8450         (floats): ditto
8451
8452         * FloatList.[Ch] (FloatList): remove commented out float
8453         initialization.
8454         (erase): new function
8455
8456 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8457
8458         * MenuBackend.C (expandToc): fix crash when there is no document
8459         open
8460
8461 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8462
8463         * many files: Add insetwrap.
8464
8465 2002-09-09  John Levon  <levon@movementarian.org>
8466
8467         * text2.C: remove confusing and awkward depth wraparound
8468
8469 2002-09-09  John Levon  <levon@movementarian.org>
8470
8471         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8472
8473         * buffer.h:
8474         * buffer.C: remove getIncludeonlyList()
8475
8476         * paragraph.C:
8477         * lyxfunc.C: remove headers
8478
8479 2002-09-09  Juergen Vigna  <jug@sad.it>
8480
8481         * text.C (getColumnNearX): fix form Michael this is most
8482         probably a cut&paste bug.
8483
8484 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8487
8488         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8489         references, ws changes.
8490
8491         * text2.C (init): update counters after init
8492         (insertParagraph): no need to set counter on idividual paragraphs.
8493         (setCounter): access the counters object in the textclass object
8494         on in the buffer object.
8495         (updateCounters): ditto
8496
8497         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8498         shared_ptr<Counters> to avoid loading counters.h in all
8499         compilation units.
8500         (LyXTextClass): initialize ctrs_
8501         (TextClassTags): add TC_COUNTER, and ...
8502         (Read): use it here.
8503         (CounterTags): new tags
8504         (readCounter): new function
8505         (counters): new funtion
8506         (defaultLayoutName): return a const reference
8507
8508         * counters.C (Counters): remove contructor
8509         (newCounter): remove a couple of unneeded statements.
8510         (newCounter): simplify a bit.
8511         (numberLabel): some small formatting changes.
8512
8513         * buffer.[Ch]: remove all traces of counters, move the Counters
8514         object to the LyXTextClass.
8515
8516 2002-09-06  Alain Castera  <castera@in2p3.fr>
8517
8518         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8519         package to set the horizontal alignment on fixed width columns.
8520
8521         * lyx_sty.C:
8522         * lyx_sty.h: added tabularnewline macro def.
8523
8524         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8525
8526 2002-09-06  John Levon  <levon@movementarian.org>
8527
8528         * LyXAction.C: tooltips for sub/superscript
8529
8530         * MenuBackend.C: a bit more verbose
8531
8532         * lyxfunc.C: tiny clean
8533
8534         * undo_funcs.C: document undo_frozen
8535
8536 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8537
8538         * counters.C (Counters): add missing algorithm counter.
8539
8540         * text2.C (setCounter): lookup the counter with layouts latexname
8541         instead of by section number.
8542         (setCounter): use a hackish way to lookup the correct enum
8543         counter.
8544         a float name->type change
8545         reset enum couners with counter name directly instead of depth value.
8546
8547         * counters.C (Counters): remove the push_backs, change to use the
8548         float type not the float name.
8549         (labelItem): remove unused string, float name->type change
8550
8551         * counters.h: don't include vector, loose the enums and sects vectors
8552
8553 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8554
8555         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8556         (Read): add float->TC_FLOAT to textclassTags
8557         (Read): and handle it in the switch
8558         (readFloat): new function
8559
8560         * FloatList.C (FloatList): comment out the hardcoded float
8561         definitions.
8562
8563         * lyxlayout.h: ws change.
8564
8565 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8566
8567         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8568
8569 2002-09-03  Angus Leeming  <leeming@lyx.org>
8570
8571         * BufferView_pimpl.h: qualified name is not allowed in member
8572         declaration: WorkArea & Pimpl::workarea() const;
8573
8574         * factory.C: added using std::endl directive.
8575
8576         * text3.C: added using std::find and std::vector directives.
8577
8578 2002-08-29  André Pönitz <poenitz@gmx.net>
8579
8580         * lyxtext.h:
8581         * text2.C: remove unused member number_of_rows
8582
8583         * Makefile.am:
8584         * BufferView2.C: remove file, move contents to...
8585         * BufferView.C: ... here
8586
8587         * BufferView_pimpl.C:
8588         * factory.C: move more inset creation to factory
8589
8590         * vspace.C: avoid direct usage of LyXText, ws changes
8591
8592         * BufferView.[Ch]:
8593                 don't provide direct access to WorkArea, use two simple
8594                 acessors haveSelction() and workHeight() instead
8595
8596
8597 2002-08-29  John Levon  <levon@movementarian.org>
8598
8599         * BufferView_pimpl.C (dispatch): do not continue when
8600           no buffer
8601
8602 2002-08-28  André Pönitz <poenitz@gmx.net>
8603
8604         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8605
8606         * BufferView.h:
8607         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8608
8609 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8610
8611         * buffer.C: increment LYX_FORMAT to 221
8612
8613         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8614         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8615
8616         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8617
8618         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8619
8620 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8621
8622         * factory.C (createInset): use LyXTextClass::floats
8623
8624         * MenuBackend.C (expandFloatListInsert):
8625         (expandFloatInsert):
8626         (expandToc):
8627
8628         * text2.C (setCounter):
8629
8630         * LaTeXFeatures.C (useFloat):
8631         (getFloatDefinitions):
8632
8633         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8634
8635         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8636         floatlist_, with accessor floats().
8637
8638         * FloatList.h: remove global FloatList
8639
8640 2002-08-26  André Pönitz <poenitz@gmx.net>
8641
8642         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8643
8644         * BufferView.h:
8645         * BufferView2.C:
8646         * BufferView_pimpl.C:
8647         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8648
8649 2002-08-25  John Levon  <levon@movementarian.org>
8650
8651         * LyXAction.C: fix margin note description
8652
8653 2002-08-24  John Levon  <levon@movementarian.org>
8654
8655         * buffer.C:
8656         * bufferlist.C:
8657         * bufferview_funcs.C:
8658         * lyxfont.C:
8659         * undo_funcs.C: cleanups
8660
8661         * lyxfunc.C: disable CUT/COPY when no selection
8662
8663 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8664
8665         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8666         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8667
8668         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8669         Add backward compatibility to "mono", "gray" and "no".
8670
8671 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8672
8673         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8674         (and file_format >= 200).
8675
8676 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8677
8678         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8679
8680 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8681
8682         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8683
8684 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8685
8686         * BufferView_pimpl.C:
8687         * LyXAction.C:
8688         * buffer.C:
8689         * commandtags.h:
8690         * lyxfunc.C:
8691         * paragraph.[Ch]:
8692         * text2.C:
8693         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8694         inset and code to make it  work with the paragraph code. The inset
8695         can be anywhere in the paragraph, but will only do the expected
8696         thing in LaTeX if the layout file contains the parameter line
8697                         OptionalArgs    1
8698         (or more generally, a nonzero value) for that layout.
8699
8700 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8701
8702         * paragraph.h: remove the declaration of undefined counters class
8703         function.
8704
8705 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8706
8707         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8708         Dr. Richard Hawkins.
8709
8710 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8711
8712         * paragraph_funcs.h: remove some unneeded includes
8713
8714         * text.C (backspace): pasteParagraph now in global scipe
8715
8716         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8717         (pasteSelection): ditto
8718
8719         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8720         * paragraph_funcs.C (pasteParagraph): ... here
8721
8722 2002-08-20  André Pönitz <poenitz@gmx.net>
8723
8724         * commandtags.h: new LFUNs for swapping/copying table row/colums
8725
8726         * LyXAction.C:
8727         * lyxfunc.C: support for new lfuns
8728
8729 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8730
8731         * tabular.C:
8732         * buffer.[Ch]: remove NO_COMPABILITY stuff
8733
8734 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8735
8736         * boost.C (throw_exception): new file, with helper function for
8737         boost compiled without exceptions.
8738
8739         * paragraph.h:
8740         * lyxlength.C:
8741         * buffer.C:
8742         * ParameterStruct.h:
8743         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8744
8745         * bufferlist.C (emergencyWriteAll): use boost bind
8746
8747         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8748
8749         * text.C: include paragraph_funcs.h
8750         (breakParagraph): breakParagraph is now in global scope
8751
8752         * paragraph_funcs.[Ch]: new files
8753
8754         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8755         global scope
8756
8757         * buffer.C: include paragraph_funcs.h
8758         (insertStringAsLines): breakParagraph is now in global scope
8759
8760         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8761         paragraph_funcs.C
8762
8763         * CutAndPaste.C: include paragraph_funcs.h
8764         (cutSelection): breakParagraphConservative is now in global scope
8765         (pasteSelection): ditto
8766
8767         * buffer.h: declare oprator== and operator!= for
8768         Buffer::inset_iterator
8769
8770         * bufferlist.C (emergencyWrite): don't use fmt(...)
8771
8772         * text3.C: add using std::endl
8773
8774         * BufferView.C (moveCursorUpdate): remove default arg
8775
8776 2002-08-20  André Pönitz <poenitz@gmx.net>
8777
8778         * buffer.[Ch]: move inline functions to .C
8779
8780         * BufferView2.C:
8781         * BufferView_pimpl.C:
8782         * text.C:
8783         * buffer.[Ch]: use improved inset_iterator
8784
8785         * buffer.C:
8786         * paragraph.[Ch]: write one paragraph at a time
8787
8788 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8789
8790         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8791         style if style is not specified.
8792
8793 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8794
8795         * text2.C (setCounter): when searching for right label for a
8796         caption, make sure to recurse to parent insets (so that a caption
8797         in a minipage in a figure float works) (bug #568)
8798
8799 2002-08-20  André Pönitz <poenitz@gmx.net>
8800
8801         * text3.C: new file for LyXText::dispatch() and helpers
8802
8803         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8804
8805         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8806
8807 2002-08-19  André Pönitz <poenitz@gmx.net>
8808
8809         * lyxtext.h:
8810         * text.C: new LyXText::dispatch()
8811
8812         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8813
8814 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8815
8816         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8817
8818         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8819         Hebrew text.
8820
8821 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8822
8823         * Makefile.am: use $(variables) instead of @substitutions@
8824
8825 2002-08-15  André Pönitz <poenitz@gmx.net>
8826
8827         * lyxfunc.C:
8828         * BufferView_pimpl.C: streamlining mathed <-> outer world
8829         interaction
8830
8831         * commandtags.h:
8832         * LyXAction.C: remove unused LFUN_MATH
8833
8834 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8835
8836         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8837
8838 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8839
8840         * paragraph.C (Paragraph): reformat a bit
8841         (cutIntoMinibuffer): use builtin InsetList function instad of
8842         doing it manually.
8843         (getInset): ditto
8844
8845         * buffer.C: include boost/bind.hpp, add using std::for_each
8846         (writeFileAscii): use ParagraphList iterators
8847         (validate): use for_each for validate traversal of paragraphs
8848         (getBibkeyList): use ParagraphList iterators
8849         (resizeInsets): use for_each to resizeInsetsLyXText for all
8850         paragraphs.
8851         (getParFromID): use ParagraphList iterators
8852
8853         * BufferView2.C (lockInset): use paragraph list and iterators
8854
8855 2002-08-14  John Levon  <levon@movementarian.org>
8856
8857         * lyxserver.C: remove spurious xforms include
8858
8859 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8860
8861         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8862
8863 2002-08-13  André Pönitz <poenitz@gmx.net>
8864
8865         * LyXAction.[Ch]:
8866         * lyxfunc.C: further cleaning
8867
8868 2002-08-13  André Pönitz <poenitz@gmx.net>
8869
8870         * funcrequest.h: new constructor
8871
8872         * funcrequest.C: move stuff here from .h
8873
8874         * Makefile.am:
8875         * BufferView_pimpl.C:
8876         * LyXAction.C:
8877         * toc.C:
8878         * lyxfunc.C: subsequent changes
8879
8880         * lyxfunc.h: new view() member function
8881
8882         * lyxfunc.C: subsequent changes
8883
8884 2002-08-13  Angus Leeming  <leeming@lyx.org>
8885
8886         * BufferView2.C:
8887         * BufferView_pimpl.C:
8888         * buffer.C:
8889         * converter.C:
8890         * importer.C:
8891         * lyxfunc.C:
8892         * lyxvc.C:
8893         * toc.C:
8894         * vc-backend.C:
8895         changes due to the changed LyXView interface that now returns references
8896         to member variables not pointers.
8897
8898 2002-08-13  Angus Leeming  <leeming@lyx.org>
8899
8900         * WordLangTuple (word, lang_code): return references to strings,
8901         not strings.
8902
8903         * BufferView.h:
8904         * SpellBase.h:
8905         * lyxtext.h: forward-declare WordLangTuple.
8906
8907         * BufferView2.C:
8908         * ispell.C:
8909         * pspell.C:
8910         * text.C: #include "WordLangTuple.h".
8911
8912         * lyxtext.h:
8913         * text.C: (selectNextWordToSpellcheck): constify return type.
8914
8915 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8916
8917         * buffer.C:
8918         * buffer.h:
8919         * lyxtext.h:
8920         * paragraph.C:
8921         * paragraph_pimpl.h:
8922         * text.C:
8923         * text2.C:
8924         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8925         suggested by Angus.
8926         Made updateCounter always count from start of buffer, and removed
8927         second argument (par).
8928         Reverted floats number display to '#'. Perhaps I'll try again when the
8929         code base is sanitized a bit.
8930
8931 2002-08-12  Angus Leeming  <leeming@lyx.org>
8932
8933         * buffer.[Ch] (getLabelList): constify.
8934
8935 2002-08-07  André Pönitz <poenitz@gmx.net>
8936
8937         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8938
8939         * funcrequest.h: extension to keep mouse (x,y) position
8940
8941 2002-08-12  Juergen Vigna  <jug@sad.it>
8942
8943         * BufferView2.C (insertErrors): forbid undo when inserting error
8944         insets.
8945
8946         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8947
8948 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8949
8950         * ParagraphList.[Ch]: new files
8951
8952         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8953
8954         * BufferView2.C (lockInset): ParagraphList changes
8955         * toc.C: ditto
8956         * text2.C: ditto
8957         * bufferlist.C: ditto
8958         * buffer.h: ditto
8959         * buffer.C: ditto
8960
8961 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8962
8963         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8964         unused class variable counter_,
8965
8966         * paragraph.[Ch] (getFirstCounter): delete unused function
8967
8968         * counters.C: include LAssert.h
8969         (reset): add a new function with no arg, change other version to
8970         not have def. arg and to not allow empty arg.
8971
8972         * text2.C (setCounter): remove empty arg from call to Counters::reset
8973
8974 2002-08-11  John Levon  <levon@movementarian.org>
8975
8976         * Makefile.am: add WordLangTuple.h
8977
8978 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8979
8980         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8981         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8982
8983         * insets/insettext.C: InsetList changes
8984
8985         * graphics/GraphicsSupport.C (operator()): InsetList changes
8986
8987         * toc.C (getTocList): InsetList changes
8988
8989         * paragraph_pimpl.[Ch]: InsetList changes
8990
8991         * paragraph.[Ch]: InsetList changes
8992
8993         * buffer.C (inset_iterator): InsetList changes
8994         (setParagraph): ditto
8995         * buffer.h (inset_iterator): ditto
8996         * iterators.C (operator++): ditto
8997         * iterators.h: ditto
8998
8999         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9000
9001         * InsetList.[Ch]: new files, most InsetList handling moved out of
9002         paragraph.C.
9003
9004         * BufferView2.C (removeAutoInsets): InsetList changes
9005         (lockInset): ditto
9006         (ChangeInsets): ditto
9007
9008 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9009
9010         * paragraph_pimpl.h (empty): new function
9011
9012         * paragraph.[Ch] (empty): new function
9013
9014         * other files: use the new Paragraph::empty function
9015
9016 2002-08-09  John Levon  <levon@movementarian.org>
9017
9018         * lyxtext.h: remove unused refresh_height
9019
9020 2002-08-09  John Levon  <levon@movementarian.org>
9021
9022         * Makefile.am:
9023         * sgml.h:
9024         * sgml.C:
9025         * buffer.C:
9026         * paragraph.h:
9027         * paragraph.C: move sgml char escaping out of paragraph
9028
9029         * paragraph.h:
9030         * paragraph.C: remove id setter
9031
9032         * buffer.C:
9033         * paragraph.C:
9034         * paragraph_pimpl.C: remove dead tex_code_break_column
9035
9036         * bufferview_funcs.C: small cleanup
9037
9038         * lyxfunc.C: remove dead proto
9039
9040         * lyxtext.h: make some stuff private. Remove some dead stuff.
9041
9042         * lyxgluelength.C: make as[LyX]String() readable
9043
9044 2002-08-08  John Levon  <levon@movementarian.org>
9045
9046         * LyXAction.h:
9047         * LyXAction.C:
9048         * MenuBackend.C:
9049         * ToolbarDefaults.C:
9050         * lyxfunc.C:
9051         * lyxrc.C:
9052         * toc.C: lyxaction cleanup
9053
9054 2002-08-08  John Levon  <levon@movementarian.org>
9055
9056         * BufferView2.C: small cleanup
9057
9058         * lyxfind.h:
9059         * lyxfind.C: move unnecessary header into the .C
9060
9061 2002-08-08  John Levon  <levon@movementarian.org>
9062
9063         * funcrequest.h: just tedious nonsense
9064
9065         * lyx_main.h:
9066         * lyx_main.C: cleanups
9067
9068         * buffer.C:
9069         * vspace.C: remove dead header lyx_main.h
9070
9071 2002-08-07  Angus Leeming  <leeming@lyx.org>
9072
9073         * Paragraph.[Ch]:
9074         * paragraph_pimpl.h:
9075         Forward declare class Counters in paragraph.h by moving the ctrs member
9076         variable into Paragraph::Pimpl.
9077         (counters): new method, returning a reference to pimpl_->ctrs.
9078
9079         * text2.C: ensuing changes.
9080
9081 2002-08-07  John Levon  <levon@movementarian.org>
9082
9083         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9084
9085         * BufferView_pimpl.C: announce X selection on double/triple
9086           click
9087
9088         * lyx_main.C: use correct bool in batch dispatch
9089
9090         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9091
9092 2002-08-07  André Pönitz <poenitz@gmx.net>
9093
9094         * funcrequest.h: new class to wrap a kb_action and its argument
9095
9096         * BufferView.[Ch]:
9097         * BufferView_pimpl[Ch]:
9098         * LaTeX.C:
9099         * LyXAction.[Ch]:
9100         * lyxfunc.[Ch]:
9101         * lyxrc.C: subsequent changes
9102
9103
9104 2002-08-07  John Levon  <levon@movementarian.org>
9105
9106         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9107           document options change.
9108
9109 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9110
9111         * counters.[Ch]
9112         * text2.C
9113         * paragraph.[Ch]
9114         * makefile.am: move counters functionality over from
9115         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9116
9117 2002-08-06  John Levon  <levon@movementarian.org>
9118
9119         * WordLangTuple.h: new file for word + language code tuple
9120
9121         * SpellBase.h:
9122         * pspell.h:
9123         * pspell.C:
9124         * ispell.h:
9125         * ispell.C:
9126         * lyxtext.h:
9127         * text.C:
9128         * text2.C:
9129         * BufferView.h:
9130         * BufferView2.C: use WordLangTuple
9131
9132         * layout.h:
9133         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9134
9135 2002-08-06  John Levon  <levon@movementarian.org>
9136
9137         * lyx_main.C: fix cmdline batch handling
9138
9139 2002-08-06  André Pönitz <poenitz@gmx.net>
9140
9141         * lyxrc.C: set default for show_banner to true
9142
9143 2002-08-06  John Levon  <levon@movementarian.org>
9144
9145         * pspell.C: fix a crash, and allow new aspell to work
9146
9147 2002-08-06  John Levon  <levon@movementarian.org>
9148
9149         * lyxfunc.C:
9150         * kbmap.C: small cleanup
9151
9152         * vspace.h:
9153         * vspace.C: add const
9154
9155 2002-08-05  John Levon  <levon@movementarian.org>
9156
9157         * LyXAction.C: back to tabular-insert
9158
9159 2002-08-04  John Levon  <levon@movementarian.org>
9160
9161         * BufferView.h:
9162         * BufferView.C: cosmetic change
9163
9164         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9165
9166         * bufferlist.C:
9167         * buffer.h:
9168         * buffer.C:
9169         * lyxcb.h:
9170         * lyxcb.C:
9171         * lyxserver.C:
9172         * lyxvc.C:
9173         * vc-backend.C:
9174         * BufferView2.C: purge all "Lyx" not "LyX" strings
9175
9176         * lyxcursor.h:
9177         * lyxcursor.C: attempt to add some documentation
9178
9179         * lyxfunc.C:
9180         * commandtags.h:
9181         * LyXAction.C:
9182         * ToolbarDefaults.C:
9183         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9184           merge with LFUN_TABULAR_INSERT
9185
9186         * Makefile.am:
9187         * SpellBase.h:
9188         * ispell.h:
9189         * ispell.C:
9190         * pspell.h:
9191         * pspell.C: split up i/pspell implementations into separate
9192           files, many cleanups
9193
9194         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9195
9196         * text2.C: some cleanup
9197
9198         * lyxfunc.C: don't check for isp_command == "none" any more, it
9199           didn't make any sense
9200
9201 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9202
9203         * counters.[Ch]
9204         * text2.C
9205         * paragraph.[Ch]
9206         * makefile.am: move counters functionality over
9207         from text2.C/paragraph.[Ch] to counters.[Ch], and
9208         make proper C++.
9209 2002-08-02  John Levon  <levon@movementarian.org>
9210
9211         * buffer.C: s/lyxconvert/lyx2lyx/
9212
9213 2002-08-02  Angus Leeming  <leeming@lyx.org>
9214
9215         * lyxlex.C: revert John's change as it breaks reading of the user
9216         preamble.
9217
9218 2002-08-02  Angus Leeming  <leeming@lyx.org>
9219
9220         * importer.C (Import):
9221         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9222         changes due to LyXView::view() now returning a boost::shared_ptr.
9223
9224 2002-08-02  John Levon  <levon@movementarian.org>
9225
9226         * lyxlex.C: small cleanup
9227
9228 2002-08-02  John Levon  <levon@movementarian.org>
9229
9230         * text2.C (status): small cleanup, no logic change
9231
9232 2002-08-01  John Levon  <levon@movementarian.org>
9233
9234         * buffer.h:
9235         * buffer.C (writeFile): don't output alerts, caller
9236           handles this
9237
9238         * bufferlist.C:
9239         * lyx_cb.C: from above
9240
9241         * lyxfunc.C: allow to open non-existent files
9242
9243 2002-07-31  John Levon  <levon@movementarian.org>
9244
9245         * lyxserver.C: don't let incidental errors get
9246           in the way (errno)
9247
9248 2002-07-30  John Levon  <levon@movementarian.org>
9249
9250         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9251
9252 2002-07-30  John Levon  <levon@movementarian.org>
9253
9254         * lyxserver.h:
9255         * lyxserver.C: remove I/O callback too
9256
9257 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9258
9259         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9260         log.
9261
9262 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9263
9264         * many files: strip,frontStrip -> trim,ltrim,rtrim
9265
9266 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9267
9268         * PrinterParams.h: remove extern containsOnly, and include
9269         support/lstrings.h instead.
9270
9271         * LaTeX.C (scanAuxFile): modify because of strip changes
9272         (deplog): ditto
9273         * buffer.C (makeLaTeXFile): ditto
9274         * bufferparams.C (writeFile): ditt
9275         * lyxfont.C (stateText): ditto
9276         * lyxserver.C (read_ready): ditto
9277         * vc-backend.C (scanMaster): ditto
9278
9279         * BufferView_pimpl.h: ws changes
9280
9281         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9282
9283 2002-07-26  André Pönitz <poenitz@gmx.net>
9284
9285         * kb_sequence.C: remove unnedred usings
9286
9287 2002-07-26  Juergen Vigna  <jug@sad.it>
9288
9289         * lyxfind.C (LyXReplace): we have to check better if the returned
9290         text is not of theLockingInset()->getLockingInset().
9291
9292 2002-07-25  Juergen Vigna  <jug@sad.it>
9293
9294         * lyxfind.C (LyXReplace): don't replace if we don't get the
9295         right LyXText.
9296
9297         * undo_funcs.C (createUndo): remove debugging code.
9298
9299 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9300
9301         * buffer.C (parseSingleLyXformat2Token): Use default placement
9302         when reading old floats.
9303
9304         * FloatList.C (FloatList): Change the default placement of figure
9305         and tables to "tbp".
9306
9307 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9308
9309         * MenuBackend.C: using std::max
9310
9311 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9312
9313         * MenuBackend.C (expandToc):
9314         (expandToc2): code moved from xforms menu frontend. It is now
9315         generic and TOCs are transparent to menu frontends.
9316
9317 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9318
9319         * toc.C (getTocList): protect against buf=0
9320
9321         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9322         Menu as first parameter. Now, this calls itself recursively to
9323         expand a whole tree (this will be useful for TOC handling)
9324         (expandFloatInsert): remove 'wide' version of floats
9325
9326         * MenuBackend.h (submenuname): returns the name of the submenu.
9327         (submenu): returns the submenu itself, provided it has been
9328         created by MenuBackend::expand
9329
9330 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9331
9332         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9333         insets which have noFontChange == true. (bug #172)
9334
9335 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9336
9337         * BufferView_pimpl.C: add connection objects and use them...
9338         (Pimpl): here.
9339
9340 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9341
9342         * MenuBackend.C (expandLastfiles):
9343         (expandDocuments):
9344         (expandFormats):
9345         (expandFloatListInsert):
9346         (expandFloatInsert):
9347         (expand): split expand in parts
9348
9349 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9350
9351         * lyx_gui.C: use lyx_gui::exit()
9352
9353 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9354
9355         * LyXAction.C: show the failing pseudo action
9356
9357 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9358
9359         * buffer.C (readFile): Run the lyxconvert script in order to read
9360         old files.
9361
9362 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * LyXAction.C:
9365         * commandtags.h:
9366         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9367
9368 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9369
9370         * LyXAction.C:
9371         * commandtags.h:
9372         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9373
9374 2002-07-22  Herbert Voss  <voss@lyx.org>
9375
9376         * lengthcommon.C:
9377         * lyxlength.[Ch]: add support for the vertical lengths
9378
9379 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9380
9381         * toc.[Ch]: std:: fixes
9382
9383 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9384
9385         * lyxrc.C: do not include lyx_main.h
9386
9387         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9388         for layouts
9389
9390         * lyxrc.C:
9391         * encoding.C:
9392         * bufferlist.C:
9393         * BufferView2.C: include "lyxlex.h"
9394
9395         * tabular.h:
9396         * bufferparams.h: do not #include "lyxlex.h"
9397
9398         * lyxtextclasslist.C (Add): remove method
9399         (classlist): renamed to classlist_
9400
9401         * paragraph_pimpl.C:
9402         * paragraph.C:
9403         * text2.C:
9404         * CutAndPaste.C:
9405         * bufferview_funcs.C:
9406         * bufferlist.C:
9407         * text.C:
9408         * LaTeXFeatures.C:
9409         * buffer.C:
9410         * toc.C (getTocList): use BufferParams::getLyXTextClass
9411
9412         * toc.C (getTocList): use InsetFloat::addToToc
9413
9414         * toc.[Ch]: new files, containing helper functions to handle table
9415         of contents
9416
9417         * lyxfunc.C (dispatch): no need to remove spaces around command
9418         given as a string
9419         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9420         first command of the sequence; it is not very clever, but I do not
9421         have a better idea, actually
9422
9423         * LyXAction.C (LookupFunc): make sure to remove space at the
9424         beginning and end of the command
9425
9426 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9427
9428         * MenuBackend.C (getMenubar): new method: return the menubar of
9429         this menu set
9430         (read): treat differently reading of menu and menubar (in
9431         particular, the menubar has no name now)
9432         (Menu::menubar): remove
9433
9434         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9435         saving is finished
9436
9437 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9438
9439         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9440         a bibitem inset in a RTL paragraph.
9441
9442 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9443
9444         * paragraph_pimpl.C: constify
9445
9446         * BufferView_pimpl.C:
9447         * LaTeX.C:
9448         * lyxfunc.C: fix dispatch in a nicer way
9449
9450 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9451
9452         * lyxfunc.C (dispatch):
9453         * BufferView_pimpl.C:
9454         * BufferView_pimpl.h:
9455         * BufferView.C:
9456         * BufferView.h: rename Dispatch() to dispatch()
9457
9458         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9459
9460         * lyxlayout.C (Read): honor DependsOn tag
9461
9462         * lyxlayout.[Ch] (depends_on): new method
9463
9464         * version.C.in: update lyx_docversion
9465
9466         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9467
9468         * paragraph.C (validate): remove from here...
9469         * paragraph_pimpl.C (validate): ... and move here
9470         (isTextAt): make it const
9471
9472         * buffer.C (getLists): ws cleanup
9473
9474 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9475
9476         * language.C (read): Use iso8859-1 encoding in latex_lang
9477         (this prevents LyX from crashing when using iso10646-1 encoding).
9478
9479 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * text2.C (toggleInset): if cursor is inside an inset, close the
9482         inset and leave cursor _after_ it
9483
9484 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9485
9486         * lyxfunc.C: move minibuffer completion handling out of here
9487
9488 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * BufferView_pimpl.C:
9491         * LaTeX.C: fix dispatch calls
9492
9493 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9494
9495         * text.C (drawChars): Fix Arabic text rendering.
9496
9497 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9498
9499         * LyXAction.C:
9500         * commandtags.h:
9501         * lyxfunc.C: remove message-push/pop
9502
9503         * lyxserver.C:
9504         * lyxfunc.h:
9505         * lyxfunc.C: rationalise some code by removing verboseDispatch
9506           in favour of a bool argument to dispatch()
9507
9508 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9509
9510         * lyx_main.C (init): make sure to read symlinks as absolute paths
9511
9512 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * lyxfunc.h:
9515         * lyxfunc.C: no need for commandshortcut to be a member
9516
9517 2002-07-15  André Pönitz <poenitz@gmx.net>
9518
9519         * converter.C: add support for $$s (scripts from lib/scripts dir)
9520         * lyx_main.C: white space
9521
9522 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9523
9524         * bufferlist.C:
9525         * lyxrc.h:
9526         * lyxrc.C: remove second exit confirmation
9527
9528 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9529
9530         * BufferView.h:
9531         * BufferView.C:
9532         * BufferView2.C:
9533         * BufferView_pimpl.h:
9534         * BufferView_pimpl.C:
9535         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9536
9537 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9538
9539         * MenuBackend.C (expand): add numeric shortcuts to document menu
9540
9541         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9542
9543 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9544
9545         * lyxfont.C (setLyXFamily):
9546         (setLyXSeries):
9547         (setLyXShape):
9548         (setLyXSize):
9549         (setLyXMisc):
9550         (lyxRead):
9551         * debug.C (value):
9552         * buffer.C (asciiParagraph): use ascii_lowercase
9553
9554 2002-07-15  Mike Fabian  <mfabian@suse.de>
9555
9556         * lyxlex_pimpl.C (search_kw):
9557         * lyxlex.C (getLongString):
9558         * converter.h (operator<):
9559         * converter.C (operator<):
9560         * buffer.C (parseSingleLyXformat2Token):
9561         (asciiParagraph):
9562         * ToolbarDefaults.C (read):
9563         * MenuBackend.C (checkShortcuts):
9564         (read):
9565         * LColor.C (getFromGUIName):
9566         (getFromLyXName): use the compare_ascii_no_case instead of
9567         compare_no_case, because in turkish, 'i' is not the lowercase
9568         version of 'I', and thus turkish locale breaks parsing of tags.
9569
9570 2002-07-16  Angus Leeming  <leeming@lyx.org>
9571
9572         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9573         now takes a Buffer const & argument.
9574
9575 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9576
9577         * BufferView.C (resize): check there's a buffer to resize
9578
9579 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9580
9581         * lyxfunc.C: remove dead code
9582
9583         * lyxserver.h:
9584         * lyxserver.C: use lyx_guii::set_read_callback
9585
9586 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9587
9588         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9589         an inset in a RTL paragraph.
9590
9591 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9592
9593         * lyxfunc.C: repaint after a font size update
9594
9595 2002-07-15  André Pönitz <poenitz@gmx.net>
9596
9597         * lyxlength.C: inBP should be able to return negative values
9598
9599 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9600
9601         * lyxfunc.C: use lyx_gui::update_fonts()
9602
9603 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9604
9605         * lyxfunc.C: use lyx_gui::update_color()
9606
9607 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9608
9609         * bufferlist.C:
9610         * lyxfunc.h:
9611         * lyxfunc.C:
9612         * lyxrc.h:
9613         * lyxrc.C: remove file->new asks for name option, and let
9614           buffer-new take an argument
9615
9616 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9617
9618         * BufferView_pimpl.C: remove unneeded extra repaint()
9619
9620 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * LyXAction.C: allow command-sequence with NoBuffer
9623
9624         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9625
9626 2002-07-10  Angus Leeming  <leeming@lyx.org>
9627
9628         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9629
9630 2002-07-09  Angus Leeming  <leeming@lyx.org>
9631
9632         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9633
9634 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * lengthcommon.h: whitespace
9637
9638         * lyxfunc.C: update scrollbar after goto paragraph
9639
9640         * lyxtext.h: factor out page break drawing, and fix it so
9641           page break/added space paints as selected nicely
9642
9643 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9644
9645         * BufferView_pimpl.C: add FIXMEs, clean up a little
9646
9647 2002-07-09  André Pönitz <poenitz@gmx.net>
9648
9649         * lyxfont.[Ch]: support for wasy symbols
9650
9651 2002-07-08  André Pönitz <poenitz@gmx.net>
9652
9653         * BufferView_pimpl.C: apply John's patch for #93.
9654
9655 2002-07-05  Angus Leeming  <leeming@lyx.org>
9656
9657         * BufferView_pimpl.C (buffer): generate previews if desired.
9658
9659         * LColor.h: add "preview" to the color enum.
9660
9661         * LColor.C (LColor): add a corresponding entry to the items array.
9662
9663         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9664         with this buffer.
9665
9666 2002-07-05  Angus Leeming  <leeming@lyx.org>
9667
9668         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9669         The body of the code is now in the method that is passed an ostream &
9670         rather than a file name.
9671         Pass an additional only_preamble parameter, useful for the forthcoming
9672         preview stuff.
9673
9674 2002-07-03  André Pönitz <poenitz@gmx.net>
9675
9676         * lyxfunc.C: simplify getStatus() a bit for math stuff
9677
9678 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9679
9680         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9681
9682 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9683
9684         * text.C (changeRegionCase): do not change case of all the
9685         document when region ends at paragraph end (bug #461)
9686
9687 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9688
9689         * paragraph.C (startTeXParParams):
9690         (endTeXParParams): add \protect when necessary
9691
9692 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9693
9694         * BufferView_pimpl.C (workAreaExpose): remove warning
9695
9696 2002-06-27  Angus Leeming  <leeming@lyx.org>
9697
9698         * Makefile.am: add lyxlayout_ptr_fwd.h.
9699
9700 2002-06-26  André Pönitz <poenitz@gmx.net>
9701
9702         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9703
9704 2002-06-25  Angus Leeming  <leeming@lyx.org>
9705
9706         * lyxfunc.C (dispatch): Comment out the call to
9707         grfx::GCache::changeDisplay. The method no longer exists now that the
9708         pixmap generation part of the graphics loader has been moved into
9709         InsetGraphics.
9710
9711 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9712
9713         * text2.C: layout as layout
9714
9715         * text.C: layout as layout
9716
9717         * tabular.C (OldFormatRead): layout as layout
9718
9719         * paragraph_pimpl.C (TeXDeeper): layout as layout
9720         (realizeFont): layout as layout
9721
9722         * paragraph.C (writeFile): layout as layout
9723         (validate): layout as layout
9724         (getFont): layout as layout
9725         (getLabelFont): layout as layout
9726         (getLayoutFont): layout as layout
9727         (breakParagraph): layout as layout
9728         (stripLeadingSpaces): layout as layout
9729         (getEndLabel): layout as layout
9730         (getMaxDepthAfter): layout as layout
9731         (applyLayout): layout as layout
9732         (TeXOnePar): layout as layout
9733         (simpleTeXOnePar): layout as layout
9734         (TeXEnvironment): layout as layout
9735         (layout): layout as layout
9736         (layout): layout as layout
9737
9738         * lyxtextclass.C (compare_name): new functor to work with
9739         shared_ptr, layout as layout
9740         (Read): layout as layout
9741         (hasLayout): layout as layout
9742         (operator): layout as layout
9743         (delete_layout): layout as layout
9744         (defaultLayout): layout as layout
9745
9746         * lyxlayout_ptr_fwd.h: new file
9747
9748         * lyxlayout.C (Read): layout as layout
9749
9750         * lyx_cb.C (MenuInsertLabel): layout as layout
9751
9752         * bufferlist.C (newFile): layout as layout
9753
9754         * buffer.C (readLyXformat2): layout as layout
9755         (parseSingleLyXformat2Token): layout as layout
9756         (insertStringAsLines): layout as layout
9757         (asciiParagraph): layout as layout
9758         (latexParagraphs): layout as layout
9759         (makeLinuxDocFile): layout as layout
9760         (simpleLinuxDocOnePar): layout as layout
9761         (makeDocBookFile): layout as layout
9762         (simpleDocBookOnePar): layout as layout
9763         (getLists): layout as layout
9764
9765         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9766
9767         * CutAndPaste.C (cutSelection): layout as layout
9768         (pasteSelection): layout as layout
9769         (SwitchLayoutsBetweenClasses): layout as layout
9770
9771         * BufferView_pimpl.C (Dispatch): layout as layout
9772         (smartQuote): layout as layout
9773
9774         * BufferView2.C (unlockInset): layout as layout
9775
9776 2002-06-24  André Pönitz <poenitz@gmx.net>
9777
9778         * lyxfunc.C: fix #487
9779
9780 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9781
9782         * lyxrc.h:
9783         * lyxrc.C:
9784         * lyxfunc.C: remove display_shortcuts, show_banner
9785
9786 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9787
9788         * Buffer_pimpl.C: oops, update on resize
9789
9790 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9791
9792         * buffer.C:
9793         * converter.C:
9794         * exporter.C:
9795         * lyxfunc.C:
9796         * BufferView.h:
9797         * BufferView.C: use repaint()
9798
9799         * BufferView_pimpl.h:
9800         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9801           as it's a clearer description. Remove superfluous
9802           redraws.
9803
9804 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9805
9806         * text.C: fix bug 488. Not ideal, but getting
9807           getWord() to work properly for the insets that
9808           matter is more difficult ...
9809
9810 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9811
9812         * BufferView_pimpl.C:
9813         * LyXAction.C:
9814         * commandtags.h:
9815         * lyxfunc.C: remove the six million index lyxfuncs to just
9816           one, and DTRT (bug 458)
9817
9818 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * BufferView.h:
9821         * BufferView.C:
9822         * BufferView_pimpl.h:
9823         * BufferView_pimpl.C: clean up resize() stuff,
9824           and unnecessary updateScreen()s
9825
9826 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9827
9828         * BufferView.h:
9829         * BufferView.C:
9830         * BufferView_pimpl.h:
9831         * BufferView_pimpl.C:
9832         * lyxfind.h:
9833         * lyxfind.C:
9834         * minibuffer.C: remove focus management of workarea,
9835           not needed. Use screen's greyOut()
9836
9837 2002-06-17  Herbert Voss  <voss@lyx.org>
9838
9839         * converter.C: (convert) do not post a message, when converting
9840         fails, let the calling function decide what to do in this case
9841
9842 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * lyxfunc.C: tidy up a little
9845
9846 2002-06-16    <alstrup@diku.dk>
9847
9848         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9849         Got rid of FORMS_H_LOCATION include. Now we are
9850         GUII.
9851
9852 2002-06-15  LyX Development team  <lyx@rilke>
9853
9854         * buffer.[Ch] (sgmlOpenTag):
9855         (sgmlCloseTag): Added support for avoiding pernicious mixed
9856         content. Return number of lines written.
9857
9858         (makeLinuxDocFile):
9859         (makeDocBookFile): Fixed calls to sgml*Tag.
9860         Simple white space clean.
9861
9862         (simpleDocBookOnePar): Simple white space clean.
9863
9864         * tabular.[Ch] (docBook): Renamed to docbook and got another
9865         argument to related with the pernicious mixed content.
9866
9867         (docbookRow): Fixed calls for docbook inset method.
9868
9869 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9870
9871         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9872         so it's X11 independent.
9873
9874         * kb*.[Ch]: ditto.
9875
9876         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9877
9878 2002-06-15  Lyx Development team  <lyx@electronia>
9879
9880         * intl.h: Renamed getTrans to getTransManager.
9881
9882 2002-06-14  Angus Leeming  <leeming@lyx.org>
9883
9884         * Makefile.am: nuke forgotten stl_string_fwd.h.
9885
9886 2002-06-12  Angus Leeming  <leeming@lyx.org>
9887
9888         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9889
9890 2002-06-13  Angus Leeming  <leeming@lyx.org>
9891
9892         * LaTeX.C:
9893         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9894
9895 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9896
9897         * kbmap.C (getiso): add support for cyrillic and greek
9898
9899 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9900
9901         * BufferView.h:
9902         * BufferView.C:
9903         * BufferView_pimpl.h:
9904         * BufferView_pimpl.C: move bogus scrolling logic
9905           to xforms
9906
9907 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9908
9909         * lyxfunc.C:
9910         * BufferView_pimpl.C: view->resize() change
9911
9912 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * BufferView_pimpl.C: topCursorVisible
9915           prototype change
9916
9917 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9918
9919         * Makefile.am:
9920         * lyx_gui.h:
9921         * lyx_gui.C: move to frontends/
9922
9923         * main.C:
9924         * lyx_main.h:
9925         * lyx_main.C: changes from above
9926
9927 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9928
9929         * intl.C:
9930         * intl.h:
9931         * kbmap.C:
9932         * kbsequence.C:
9933         * lyx_cb.C:
9934         * lyx_main.C: minor tidy
9935
9936 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9937
9938         * BufferView_pimpl.h:
9939         * BufferView_pimpl.C:
9940         * BufferView.h:
9941         * BufferView.C: make painter() const,
9942           remove dead code
9943
9944         * BufferView2.C: use screen() accessor
9945
9946         * lyx_main.h:
9947         * lyx_main.C: some minor cleanup
9948
9949 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * BufferView_pimpl.h:
9952         * BufferView_pimpl.C: remove enter/leaveView,
9953           use workHeight()
9954
9955 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * BufferView.h:
9958         * BufferView.C:
9959         * BufferView2.C:
9960         * BufferView_pimpl.h:
9961         * BufferView_pimpl.C: only construct screen once,
9962           rename
9963
9964         * lyxrc.C: remove pointless comment
9965
9966 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9967
9968         * BufferView.h:
9969         * BufferView.C: remove active() and belowMouse()
9970
9971         * BufferView_pimpl.h:
9972         * BufferView_pimpl.C: use workarea() not workarea_,
9973           and make it use a scoped_ptr instead
9974
9975 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9976
9977         * lyx_gui.C: add debug message on BadWindow
9978
9979 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9980
9981         * sp_spell.C: fdopen is not part of the C++ standard.
9982
9983         * paragraph.C (InsetIterator): use >= instead of ==
9984
9985 2002-06-07  Angus Leeming  <leeming@lyx.org>
9986
9987         Fixes needed to compile with Compaq cxx 6.5.
9988         * BufferView_pimpl.C:
9989         * DepTable.C:
9990         * buffer.C:
9991         * converter.C:
9992         * encoding.C:
9993         * lyx_gui.C:
9994         * lyx_main.C:
9995         * lyxtextclasslist.C:
9996         * minibuffer.C:
9997         * sp_spell.C:
9998         * tabular_funcs.C:
9999         * vc-backend.C:
10000         all c-library variables have been moved into namespace std. Wrap
10001         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10002
10003         * lyxlength.C:
10004         * tabular-old.C:
10005         * tabular.C:
10006         Add a using std::abs declaration.
10007
10008         * kbmap.h (modifier_pair):
10009         * paragraph.h (InsetTable, InsetList):
10010         * lyxfont.h (FontBits):
10011         type definition made public.
10012
10013         * bufferlist.C (emergencyWriteAll): the compiler complains that
10014         there is more than one possible lyx::class_fun template to choose from.
10015         I re-named the void specialisation as lyx::void_class_fun.
10016
10017         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10018
10019         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10020         the compiler is is unable to find tostr in write_attribute.
10021
10022 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10023
10024         * buffer.C (sgmlError): hide #warning
10025
10026 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * xtl/*: get rid of xtl, which is not in use anyway
10029
10030         * LyXAction.C (init):
10031         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10032         were unimplemented xtl experimentation
10033
10034 2002-06-04  André Pönitz <poenitz@gmx.net>
10035
10036         * lyxfunc.C: disable array operation on simple formulae
10037
10038 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10039
10040         * converter.C: constify a bit
10041
10042 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10043
10044         * lyx_gui.C: check xforms version correctly
10045
10046 2002-04-30  Herbert Voss  <voss@lyx.org>
10047
10048         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10049         "keep" option
10050
10051 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10052
10053         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10054           attempt to register it with a VCS)
10055
10056 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10057
10058         * lyx_main.C (init): honor variables LYX_DIR_13x and
10059         LYX_USERDIR_13x
10060
10061 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10062
10063         * buffer.h:
10064         * buffer.C:
10065         * lyx_main.C: fix a crash on bad command line,
10066           and give a useful exit status on error
10067
10068         * lyxfunc.C (doImport): allow -i lyx to work
10069
10070 2002-03-30  André Pönitz <poenitz@gmx.net>
10071
10072         * lyxfunc.C: mathed font changes
10073
10074 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10075
10076         * LaTeX.C:
10077         * importer.h:
10078         * importer.C:
10079         * lyx_sty.h:
10080         * lyx_sty.C:
10081         * lyxlex.C:
10082         * lyxrow.h:
10083         * lyxtext.h:
10084         * paragraph.h:
10085         * paragraph.C:
10086         * texrow.h:
10087         * texrow.C:
10088         * text.C:
10089         * trans_mgr.h: srcdocs, and some minor cleanups
10090
10091 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10092
10093         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10094         call getFont all the time)
10095
10096 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10097
10098         * switch from SigC signals to boost::signals
10099
10100 2002-05-29  André Pönitz <poenitz@gmx.net>
10101
10102         * paragraph_pimpl.C (getChar): don't call size() too often...
10103
10104 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10105
10106         * paragraph_pimpl.C (insertChar): do not try to update tables when
10107         appending (pos == size())
10108
10109         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10110         in order to reduce drastically the number of comparisons needed to
10111         parse a large document
10112
10113 2002-05-29  André Pönitz <poenitz@gmx.net>
10114
10115         * text.C:
10116         * text2.C:
10117         * lyxtextclass.C:
10118         * sp_pspell.h:
10119         * textclasslist.[Ch]:
10120         * sp_ispell.h: whitespace change
10121
10122 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10123
10124         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10125         lyxaction directly now.
10126
10127 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10128
10129         * trans.C:
10130         * lyxfont.C:
10131         * lyxvc.C: remove unused headers
10132
10133 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10134
10135         * Makefile.am:
10136         * buffer.h:
10137         * undostack.h:
10138         * undostack.C:
10139         * undo_funcs.h:
10140         * undo_funcs.C: some cleanups. Use shared_ptr
10141           and a template for the undo stacks.
10142
10143 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * BufferView_pimpl.h:
10146         * BufferView_pimpl.C:
10147         * kbmap.h:
10148         * kbmap.C:
10149         * kbsequence.h:
10150         * kbsequence.C:
10151         * lyxfunc.h:
10152         * lyxfunc.C:
10153         * text2.C: use key_state/mouse_state
10154
10155 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10156
10157         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10158         and LSubstring
10159
10160         * chset.C: change include order
10161         (loadFile): use boost regex and get rid of LRegex and LSubstring
10162
10163         * Makefile.am (BOOST_LIBS): new variable
10164         (lyx_LDADD): use it
10165
10166         * LaTeX.C: change include order.
10167         (scanAuxFile): use boost regex and get rid of LRegex and
10168         LSubstring
10169         (deplog): ditto
10170
10171 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10172
10173         * ColorHandler.h:
10174         * ColorHandler.C:
10175         * FontInfo.h:
10176         * FontInfo.C: moved to frontends/xforms/
10177
10178         * FontLoader.h:
10179         * FontLoader.C: moved into frontends for GUIIzation
10180
10181         * Makefile.am:
10182         * lyx_gui.C:
10183         * lyxfont.C:
10184         * lyxfunc.C: changes from above
10185
10186 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10187
10188         * LColor.C: remove spurious X include
10189
10190         * BufferView_pimpl.C:
10191         * Makefile.am:
10192         * font.h:
10193         * font.C:
10194         * text.C:
10195         * text2.C: move font metrics to frontends/
10196
10197 2002-05-24  Juergen Vigna  <jug@sad.it>
10198
10199         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10200         setting the undo_cursor.
10201
10202         * ParagraphParameters.h: include local includes first.
10203
10204 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * BufferView_pimpl.C:
10207         * BufferView_pimpl.h:
10208         * Makefile.am:
10209         * WorkArea.h:
10210         * WorkArea.C:
10211         * screen.C: move WorkArea into frontends/
10212
10213         * lyxscreen.h:
10214         * screen.C:
10215         * text.C:
10216         * BufferView.C:
10217         * BufferView2.C: move LyXScreen into frontends/
10218
10219         * lyxlookup.h:
10220         * lyxlookup.C:
10221         * lyx_gui.C: move lyxlookup into frontends/xforms/
10222
10223 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * BufferView2.C:
10226         * BufferView_pimpl.C:
10227         * FontLoader.C:
10228         * LyXView.h:
10229         * LyXView.C:
10230         * Makefile.am:
10231         * WorkArea.C:
10232         * XFormsView.h:
10233         * XFormsView.C:
10234         * buffer.C:
10235         * bufferlist.C:
10236         * bufferview_funcs.C:
10237         * converter.C:
10238         * importer.C:
10239         * lyx_cb.C:
10240         * lyx_gui.C:
10241         * lyx_main.C:
10242         * lyx_find.C:
10243         * lyxfunc.C:
10244         * lyxvc.C:
10245         * minibuffer.C:
10246         * text.C:
10247         * text2.C:
10248         * trans.C:
10249         * vc-backend.C: move LyX/XFormsView into frontends/
10250
10251 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * Makefile.am:
10254         * PainterBase.C:
10255         * PainterBase.h:
10256         * Painter.C:
10257         * Painter.h:
10258         * WorkArea.C:
10259         * WorkArea.h:
10260         * screen.C:
10261         * tabular.C:
10262         * text.C:
10263         * text2.C: move Painter to frontends/
10264
10265 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10266
10267         * buffer.C: comment out some some code that depend upon lyx_format
10268         < 220
10269
10270         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10271         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10272
10273         * buffer.h (NO_COMPABILITY): turn off compability
10274
10275         * ColorHandler.C: include scoped_array.hpp
10276
10277         * font.C: Use more specific smart_ptr header.
10278         * Painter.C: ditto
10279         * gettext.C: ditto
10280         * ShareContainer.h: ditto
10281         * lyx_main.h: ditto
10282         * kbmap.h: ditto
10283         * FontInfo.h: ditto
10284         * BufferView_pimpl.h: ditto
10285         * ColorHandler.h: ditto
10286
10287         * kbmap.C (defkey): change call to shared_ptr::reset
10288
10289 2002-05-21  Juergen Vigna  <jug@sad.it>
10290
10291         * buffer.C (insertErtContents): fix to insert ert asis if it is
10292         non empty. Skip it completely if it contains only whitespaces.
10293
10294 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * BufferView_pimpl.C:
10297         * BufferView2.C: clear selection on paste (bug 393)
10298
10299 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10300
10301         * DepTable.C: include ctime
10302
10303 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10304
10305         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10306
10307 2002-05-14  Juergen Vigna  <jug@sad.it>
10308
10309         * text.C (breakParagraph): fixed function to honor the keepempty
10310         layout in the right maner and also to permit the right breaking
10311         algorithm on empty or non empyt keepempty paragraphs.
10312
10313         * paragraph.C (breakParagraph): we have to check also if the par
10314         is really empty (!size()) for isempty otherwise we do the wrong
10315         paragraph break.
10316
10317 2002-05-10  Juergen Vigna  <jug@sad.it>
10318
10319         * buffer.[Ch] : The following are only changes to the ert
10320         compatibility read reading old LaTeX layout and font stuff and
10321         convert it to ERTInsets.
10322
10323         * buffer.h: added isErtInset().
10324
10325         * buffer.C (struct ErtComp): add a fromlayout bool to check
10326         if we're inside a LaTeX layout.
10327         (isErtInset): new helper function.
10328         (insertErtContents): look for other ert insets before this one
10329         and insert the contents there, so that we don't have subsequent
10330         ERT insets with nothing between them. This way we create only one
10331         inset with multiple paragraphs. Also check if we don't insert only
10332         spaces ' ' as they are ignored anyway afterwards in the .tex file
10333         so if we have only spaces we will ignore this latex part in the
10334         new file.
10335         (parseSingleLyXformat2Token \\layout): better compatibility when
10336         reading layout-latex stuff.
10337         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10338         language tag.
10339         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10340         stuff after reading the inset only get the information back from
10341         the stack.
10342
10343 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10344
10345         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10346
10347         * LaTeXFeatures.C (getBabelOptions): New method.
10348
10349 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10350
10351         * BufferView_pimpl.C (Dispatch): work around missing argument for
10352         'layout'
10353
10354 2002-05-08  Juergen Vigna  <jug@sad.it>
10355
10356         * text.C (leftMargin): handle paragraph leftindent.
10357
10358         * paragraph.C (writeFile): write the new \\leftindent tag.
10359         (validate): handle leftindent code.
10360         (TeXEnvironment): handle paragraphleftindent code again.
10361
10362         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10363
10364         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10365         for paragrap_extra indent code and new token \\leftindent.
10366         (latexParagraphs): handle the leftindent as environment.
10367
10368         * ParameterStruct.h: added leftindent support.
10369
10370         * ParagraphParameters.C (leftIndent): added support functions for
10371         the paragraph left indent.
10372
10373         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10374         more appropriate.
10375
10376 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10377
10378         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10379         inside insetERT.
10380
10381         * text.C (computeBidiTables): No bidi in insetERT.
10382
10383         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10384         in RTL documents.
10385
10386 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10387
10388         * version.C.in: pre 5
10389
10390 2002-05-02  José Matos  <jamatos@fep.up.pt>
10391         * buffer.C (makeDocBookFile): white space changes, add newline to
10392         command styles.
10393         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10394
10395         * tabular.C (docBook): fix typo.
10396
10397 2002-05-03  Juergen Vigna  <jug@sad.it>
10398
10399         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10400         change in LyXText as we can not be sure it was not freed.
10401         (drawOneRow): remove unused code.
10402
10403         * text.C (drawInset): redo the calculation of the need_break_row as
10404         it could have a row which was already freed.
10405         (draw): look at the return value of drawInset and return false if
10406         it also returned false.
10407         (paintRowText): look at the return value of draw and return false if
10408         it also returned false.
10409
10410         * lyxtext.h: added bool return type to drawInset() and draw() so that
10411         if we have a change in the row so that the rowbreak has to be redone
10412         we abort drawing as it will be called again.
10413
10414 2002-05-02  Juergen Vigna  <jug@sad.it>
10415
10416         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10417         a change in the maintext also if we're inside an inset.
10418         (Dispatch): set the cursor again after a break line and after the
10419         screen has been updated as it could be we're in a different row.
10420
10421         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10422         to set the cursor behind the pargraph with > size().
10423         (setCursor): check also for the same paragraph when checking where
10424         to put the cursor if we have a NFR inset.
10425
10426         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10427         parts of layout read further up as it still was in the wrong
10428         position.
10429
10430 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10431
10432         * screen.C (drawFromTo): change sine fullRebreak always return
10433         true.
10434
10435         * buffer.C (parseSingleLyXformat2Token): reindent some
10436
10437         * BufferView_pimpl.C (update): change since fullRebreak always
10438         return true.
10439         (Dispatch): git rid of the last hardcoded "Standard"s.
10440
10441 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10442
10443         * text2.[Ch] (fullRebreak): make it return void now that we always
10444         returned true.
10445
10446 2002-04-30  Juergen Vigna  <jug@sad.it>
10447
10448         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10449         ert compatibility check for "latex" layout.
10450
10451 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10452
10453         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10454         minipages: use col% instead of p%, and also use the current font.
10455         (makeLaTeXFile): Fix use babel condition.
10456         (parseSingleLyXformat2Token): Correct font when reading old floats.
10457
10458 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10459
10460         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10461         inserting list of floats.
10462
10463 2002-04-25  Herbert Voss  <voss@lyx.org>
10464
10465         * MenuBackend.C (expand): don't add the graphics extensions to the
10466         export menu
10467
10468 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10469
10470         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10471         non-existing layout, do not complain if it was the default layout
10472         of the original class (bug #342)
10473
10474 2002-04-24  Juergen Vigna  <jug@sad.it>
10475
10476         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10477         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10478
10479 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10480
10481         * buffer.C (getBibkeyList): If using \bibliography, return the
10482         option field with the reference itself. Enables us to provide natbib
10483         support when using \bibliography.
10484
10485 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10486
10487         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10488
10489         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10490         natbib is provided by the LaTeX class.
10491
10492 2002-04-23  Juergen Vigna  <jug@sad.it>
10493
10494         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10495         Wakeup functions.
10496
10497         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10498
10499 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10500
10501         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10502
10503         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10504         ensuremath around textordmasculine, textordfeminine and
10505         textdegree.
10506
10507 2002-04-19  Juergen Vigna  <jug@sad.it>
10508
10509         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10510         reinitializing the buffer otherwise row-dimensions may be wrong.
10511         (update): reset also the selection cursors if they do exits otherwise
10512         their x/y positions may be wrong.
10513
10514         * text2.C (cursorDown): don't enter the inset if we came from a row
10515         above and are one row over the inset.
10516
10517         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10518         really leaving an inset.
10519
10520 2002-04-18  Juergen Vigna  <jug@sad.it>
10521
10522         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10523         of the selected paragraph does not have the selected layout also if
10524         the last one had!
10525
10526         * text2.C (setLayout): fixed bug which did not change last selected
10527         paragraph.
10528
10529         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10530         changed the read and substituted \\end_float with \\end_inset!
10531
10532         * BufferView_pimpl.C (cursorPrevious):
10533         (cursorNext): fixed to make it work with rows heigher than the work
10534         area without moving the cursor only the draw of the row.
10535         (workAreaMotionNotify): fix jumping over high rows.
10536
10537 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10538
10539         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10540         Ressler.
10541
10542 2002-04-16  Juergen Vigna  <jug@sad.it>
10543
10544         * text2.C (setCursor): set also the irow().
10545         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10546         (cursorUp):
10547         (cursorDown): support for locking an inset if the x_fix value goes
10548         inside it. That way I can transverse insets too with cursor up/down.
10549
10550         * lyxrow.h: added irow helper function same as other (i) functions.
10551
10552         * BufferView_pimpl.C (cursorPrevious):
10553         (cursorNext): fixed for insets!
10554
10555 2002-04-15  Juergen Vigna  <jug@sad.it>
10556
10557         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10558         position otherwise it is wrong in some cases.
10559
10560         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10561         inside the inset before the call.
10562
10563 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10564
10565         * buffer.[Ch] (getBibkeyList): make it const.
10566
10567 2002-04-12  Juergen Vigna  <jug@sad.it>
10568
10569         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10570
10571         * text2.C (getCursorX): new helper function
10572         (setCursor): compute also ix_
10573         (setCursorFromCoordinates): set also ix.
10574
10575         * lyxcursor.h: added ix_ and helper functions.
10576
10577         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10578
10579         * buffer.C (insertStringAsLines): dont break paragraph if the this
10580         paragraph is inside an inset which does not permit it!
10581
10582         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10583         also with no chars on this paragraph.
10584         (paintRowText): only paint stuff if it's inside the workarea!
10585
10586         * paragraph.C (breakParagraph): honor keepempty flag and break the
10587         paragraph always below not above.
10588
10589         * BufferView2.C (unlockInset): update the paragraph layout on inset
10590         unlock as we changed paragraph in such a case.
10591
10592         * lyxfind.C (LyXFind): clear the former selection if not found!
10593
10594         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10595         again called in insertChar().
10596
10597         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10598         an inset which uses the whole row!
10599         (rightMargin): ditto.
10600         (insertChar): force a rebreak if we inserted an inset!
10601
10602 2002-03-28  Herbert Voss  <voss@lyx.org>
10603
10604         * lyxlength.[Ch]: add inBP() to get the right PS-point
10605         units (BigPoint). With inPixels we have rounding errors
10606
10607 2002-04-11  Juergen Vigna  <jug@sad.it>
10608
10609         * text2.C (setCursorFromCoordinates): set iy to the right value.
10610         (setCursor): add check if row->previous exists!
10611
10612         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10613         an old float_type as this was the case in the old code!
10614
10615         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10616
10617         * BufferView2.C (showLockedInsetCursor): use iy
10618         (fitLockedInsetCursor): ditto
10619
10620         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10621         locked insets as there we have the right value now.
10622
10623         * lyxcursor.C: added iy_ variable and iy functions to set to the
10624         baseline of cursor-y of the locked inset.
10625
10626         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10627         (setCursor): fixed for insets which need a full row.
10628
10629         * text.C (rowLastPrintable): don't ignore the last space when before
10630         an inset which needs a full row.
10631         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10632         as last character of a row when before a inset which needs a full row.
10633
10634 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10635
10636         * version.C.in: update date
10637
10638         * text2.C (fullRebreak): try to always return true and see what
10639         happens...
10640
10641 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10642
10643         * MenuBackend.C (expand): use Floating::listName
10644
10645         * FloatList.C (FloatList): add listName argument to the built-in
10646         floats
10647
10648         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10649         text associated with the float.
10650
10651 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10654
10655 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10656
10657         * ShareContainer.h: add a couple of missing typenames.
10658
10659 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10660
10661         * lyxrc.C (getDescription): use _() correctly rather than N_().
10662
10663 2002-03-28  Herbert Voss  <voss@lyx.org>
10664
10665         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10666         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10667
10668 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10669
10670         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10671         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10672
10673 2002-03-29  Juergen Vigna  <jug@sad.it>
10674
10675         * lyxfunc.C (dispatch): add a missing fitCursor call.
10676
10677         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10678         it was scrolled by a cursor move, so return the bool status.
10679
10680         * BufferView.C (fitCursor): return the bool flag also to the outside
10681         world as this is needed.
10682
10683         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10684
10685         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10686         call the edit() as it is not needed (and wrong) IMO.
10687         (workAreaButtonPress): set the screen_first variable before evt.
10688         unlock the inset as this may change screen_first and then we have
10689         a wrong y position for the click!
10690
10691 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * MenuBackend.C (expand): another translation that I missed
10694
10695 2002-03-28  Juergen Vigna  <jug@sad.it>
10696
10697         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10698
10699         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10700
10701 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10702
10703         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10704
10705         * MenuBackend.C (expand): fix export/view/update when there is no
10706         document open.
10707
10708 2002-03-27  Herbert Voss  <voss@lyx.org>
10709
10710         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10711         and text%
10712
10713 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10714
10715         * bufferview_funcs.C (currentState): only show paragraph number
10716         for is DEVEL_VERSION is set.
10717
10718         * lyxfunc.C (dispatch): put warning in INFO channel
10719
10720         * MenuBackend.C (expand): translate the name of floats
10721
10722         * FloatList.C (FloatList): mark the float names for translation
10723
10724         * converter.C (convert): use LibScriptSearch
10725
10726 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10727
10728         * MenuBackend.C (defaults): fix default menu (we might as well get
10729         rid of it...)
10730
10731 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10734         directory.
10735
10736 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10737
10738         * lyxvc.C: reorder includes.
10739
10740 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10741
10742         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10743           properly
10744
10745 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * CutAndPaste.C: change layouts earlier on paste
10748           to avoid crashing when calling getFont()
10749
10750 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10751
10752         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10753         irritating #error.
10754
10755 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10756
10757         * WorkArea.C: remove 'Pending' debug message.
10758
10759         * most files: ws cleanup
10760
10761         * buffer.[Ch]: ws changes
10762
10763         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10764
10765 2002-03-21  Juergen Vigna  <jug@sad.it>
10766
10767         * tabular.C (SetMultiColumn): collapse also the contents of the
10768         cells and set the last border right. Added a Buffer const * param.
10769
10770 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10771
10772         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10773         linking or not.
10774
10775 2002-03-19  Juergen Vigna  <jug@sad.it>
10776
10777         * text2.C (clearSelection): reset also xsel_cache.
10778
10779         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10780         where it needs to be called (John tells us to do so too :)
10781         (selectionLost): reset sel_cache.
10782
10783         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10784
10785 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10786
10787         * text2.C (setCursorIntern): put debuging code in INSETS channel
10788
10789 2002-03-19  André Pönitz <poenitz@gmx.net>
10790
10791         * lyxfunc.C: tiny whitespace change
10792
10793 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10794
10795         * ToolbarDefaults.C (init):
10796         * LyXAction.C (init):
10797         * commandtags.h:
10798         * BufferView_pimpl.C (Dispatch):
10799         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10800
10801 2002-03-19  Allan Rae  <rae@lyx.org>
10802
10803         * exporter.C (Export): removeAutoInsets before doing anything else.
10804         While I've just introduced a dependency on BufferView this really is
10805         the best place to clean the buffer otherwise you need to cleanup in
10806         a dozen places before calling export or cleanup in a dozen functions
10807         that export calls.
10808
10809         * converter.C (runLaTeX):
10810         (scanLog): Better handling of removeAutoInsets and screen updates.
10811
10812         * lyxfunc.C (dispatch): small whitespace changes
10813
10814 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10815
10816         * WorkArea.C (C_WorkAreaEvent): return a value.
10817         (event_cb): return 1 if we handled the event, 0 otherwise.
10818
10819         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10820
10821 2002-03-18  Juergen Vigna  <jug@sad.it>
10822
10823         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10824         (GetAdditionalWidth): ditto.
10825         (RightLine): ditto.
10826         (LeftLine): ditto.
10827
10828         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10829         inset if we're there actually (probably not used right now but this
10830         is the direction to go for unifying code).
10831         (paste): disable code to clear the selection.
10832
10833         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10834         inside an InsetText and move the check further up as it is in the
10835         wrong place.
10836
10837         * text2.C (pasteSelection): set a selection over the pasted text.
10838
10839 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10840
10841         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10842         and libgraphics to build on Cygwin.
10843
10844 2002-03-15  Juergen Vigna  <jug@sad.it>
10845
10846         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10847         inserting an Inset into the paragraph. I know this is not the best
10848         fix but we already use current_view in CutAndPaste so we will remove
10849         all of it's using at the same time.
10850
10851         * buffer.C (sgmlError): deactivated function till it is rewritten in
10852         the right mode, now it can create problems.
10853
10854         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10855         before accessing it.
10856
10857 2002-03-14  Juergen Vigna  <jug@sad.it>
10858
10859         * undo_funcs.C (textHandleUndo): do the right thing when updating
10860         the inset after the undo/redo.
10861
10862         * text2.C (setCursor): just some testcode for #44 not ready yet.
10863
10864         * undo_funcs.C (textHandleUndo): set the next() and previous()
10865         pointers of the paragraph to 0 before deleting otherwise we have
10866         problems with the Paragraph::[destructor].
10867
10868         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10869         on a paragraph insertion.
10870
10871 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10872
10873         * buffer.C (asciiParagraph): use += operator for char append to
10874         string.
10875
10876         * paragraph.C (getFontSettings): compare >= not just >
10877         (highestFontInRange): ditto
10878         (setFont): ditto
10879
10880 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10881
10882         * paragraph.C: change several algorithm to be more appripriate for
10883         the problem domain. This is lookip in FontList and in the InsetList.
10884
10885 2002-03-13  André Pönitz <poenitz@gmx.net>
10886
10887         * commandtags.h:
10888         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10889
10890 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10891
10892         * commandtags.h:
10893         * LyXAction.C:
10894         * lyxfunc.C:
10895         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10896
10897 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10898
10899         * Painter.C (display): anon helper function, adjust code for this
10900         change.
10901         (pixmap): remove function.
10902
10903         * Painter.h: remove private display variable.
10904
10905         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10906
10907 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10908
10909         * WorkArea.[Ch]: remove figinset_canvas cruft.
10910
10911 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10912
10913         * lyxtextclass.C (operator): add one item cache optimization.
10914
10915         * bufferlist.h: doxy changes
10916
10917         * bufferlist.C: ws changes
10918
10919         * DepTable.[Ch] (ext_exist): place const in the right spot.
10920
10921         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10922         call resizeInsets.
10923         (workAreaExpose): call resizeInsets when the with BufferView changes.
10924         (Dispatch): adjust for protectedBlank removal
10925         (specialChar): call updateInset if the insert went ok.
10926
10927         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10928         specialChar instead.
10929
10930         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10931
10932         * BufferView.h: doxy change
10933
10934         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10935
10936         * lyxtextclass.C (operator[]): remove non-const version
10937         (defaultLayout): remove non-const version
10938
10939 2002-03-12  Juergen Vigna  <jug@sad.it>
10940
10941         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10942         did resize the LyXText too.
10943
10944         * buffer.C (readLyXformat2): set layout information on newly allocated
10945         paragraphs.
10946
10947         * tabular.C (OldFormatRead): set layout information on the paragraph.
10948
10949 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10950
10951         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10952
10953 2002-03-11  Juergen Vigna  <jug@sad.it>
10954
10955         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10956         plainly wrong.
10957         (resizeCurrentBuffer): force also the insets to resize themselfes.
10958         (moveCursorUpdate): fixed up for InsetText.
10959
10960 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10961
10962         * commandtags.h:
10963         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10964         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10965         value of Dialogs::tooltipsEnabled().
10966         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10967
10968 2002-03-08  Juergen Vigna  <jug@sad.it>
10969
10970         * BufferView_pimpl.C (updateInset): update inset inside inset also
10971         if it isn't inside theLockingInset().
10972
10973 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * buffer.C (asciiParagraph): redo some of the word and line length
10976         handling.
10977         (getLists): look for Caption instead of caption.
10978
10979 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * buffer.C (Buffer): initialize niceFile to true
10982         (makeLaTeXFile):
10983         (makeLinuxDocFile):
10984         (makeDocBookFile): make sure niceFile is true on exit
10985
10986 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10987
10988         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10989
10990 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10991
10992         * LyXSendto.C: remove.
10993         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10994         * lyx_gui.C: remove now-redundant comment.
10995         * ColorHandler.h: remove forward declaration of class WorkArea.
10996         * lyxfunc.C: remove #include "WorkArea.h".
10997
10998 2002-03-07  Juergen Vigna  <jug@sad.it>
10999
11000         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11001         got moved away with the DEPM and also set the inset_owner always
11002         right which before could have been omitted.
11003
11004 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11005
11006         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11007         wanted layout is not found.
11008
11009 2002-03-07  Juergen Vigna  <jug@sad.it>
11010
11011         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11012
11013 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11014
11015         * paragraph.C (breakParagraph): use default layout not layout of
11016         prev paragraph.
11017         (Paragraph): clear ParagraphParameters.
11018
11019 2002-03-06  Juergen Vigna  <jug@sad.it>
11020
11021         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11022         otherwise it would not be a valid lenght. Fixed a special case in
11023         the minipage compatibility read where we end the document with a
11024         minipage.
11025
11026         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11027         was set as it could be 0 for InsetTexts first entry.
11028
11029 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11030
11031         * paragraph.C (writeFile): if layout is empty write out
11032         defaultLayoutName().
11033
11034         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11035         file without named layout we set layout to defaultLayoutName().
11036
11037 2002-03-06  Juergen Vigna  <jug@sad.it>
11038
11039         * CutAndPaste.C (copySelection): set layout for new paragraph.
11040
11041         * text.C (prepareToPrint): leave ERT inset left aligned
11042         (leftMargin): don't indent paragraphs inside ERT insets
11043
11044 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11045
11046         * paragraph.C (breakParagraph): dont call clear do the work manually
11047
11048         * paragraph.[Ch] (clear): remove function
11049
11050 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11051
11052         * paragraph.C (Paragraph): dont call clear, the work has already
11053         been done.
11054
11055         * lyxtextclass.C (operator): assert if n is empty
11056
11057         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11058         work manually instead.
11059
11060 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * BufferView_pimpl.C: protect selectionLost against text == 0
11063
11064 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11065
11066         * text.C (breakParagraph): fix a setting layout to '0' problem.
11067
11068 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11069
11070         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11071         final location of file, for the included files, and graphics.
11072
11073 2002-03-05  Juergen Vigna  <jug@sad.it>
11074
11075         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11076
11077 2002-03-04  Juergen Vigna  <jug@sad.it>
11078
11079         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11080
11081         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11082         last column of multicolumn cells.
11083         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11084
11085 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11086
11087         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11088         file if it doesn't go to a temporary file.
11089
11090         * buffer.C (sgmlOpenTag):
11091         (sgmlCloseTag):  remove extra newline insertion.
11092
11093 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * text.C (getRowNearY): comment out debug msg
11096
11097 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11098
11099         * text2.C: first -> first_y
11100
11101         * text.C (getRowNearY): add some attemts at a possible
11102         optimization, not working.
11103
11104         * tabular.[Ch]: add BufferParams to several function so that newly
11105         created paragraph can be initialized to he default layotu for the
11106         buffers textclass.
11107
11108         * tabular-old.C (ReadOld): add buf->params to call of Init
11109
11110         * screen.C: rename text->first to text->first_y
11111
11112         * paragraph.C (breakParagraph): always set layout in the broken
11113         paragraph
11114
11115         * lyxtextclass.C (Read): remove lowercase
11116         (hasLayout): ditto
11117         (operator): ditto
11118         (delete_layout): ditto
11119
11120         * lyxtext.h: rename first -> first_y
11121
11122         * lyxlayout.C (Read): remove lowercase
11123         (name): ditto
11124         (setName): ditto
11125         (obsoleted_by): ditto
11126
11127         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11128
11129         * buffer.C (insertErtContents): add params are to InsetERT
11130         (parseSingleLyXformat2Token): add code to check if a paragraphs
11131         layout really exist.
11132         (parseSingleLyXformat2Token): add params to several inset
11133         constructors
11134         (asciiParagraph): remove lowercase, do the layout comparisons with
11135         no_case
11136
11137         * BufferView_pimpl.C (cursorNext): first -> first_y
11138         (resizeCurrentBuffer): first -> first_y
11139         (updateScrollbar): first -> first_y
11140         (scrollCB): first -> first_y
11141         (workAreaMotionNotify): first -> first_y
11142         (workAreaButtonPress): first -> first_y
11143         (checkInsetHit): first -> first_y
11144         (cursorPrevious): first -> first_y
11145         (cursorNext): first -> first_y
11146         (Dispatch): add buffer_->params to severl inset contructors
11147
11148 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11149
11150         * lyxlayout.C (Read): remove some debug info that I forgot.
11151
11152         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11153         clean up the code slightly.
11154         (makeLinuxDocFile): ditto
11155         (makeDocBookFile): ditto
11156
11157         * text2.C: layout as string
11158
11159         * text.C: layout as string
11160
11161         * paragraph_pimpl.C: layout as string
11162
11163         * paragraph.[Ch]: layout as string
11164
11165         * lyxtextclasslist.[Ch]: layout as string
11166
11167         * lyxtextclass.[Ch]: layout as string
11168
11169         * lyxtext.h: layout as string
11170
11171         * lyxlayout.[Ch]: layout as string
11172
11173         * lyx_cb.C: layout as string
11174
11175         * bufferview_funcs.C: layout as string
11176
11177         * bufferparams.C: layout as string
11178
11179         * buffer.C: layout as string
11180
11181         * LyXView.[Ch]: layout as string
11182
11183         * LaTeXFeatures.[Ch]: layout as string
11184
11185         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11186
11187         * BufferView_pimpl.C: change current_layout to string, remove
11188         lyx::layout_type.
11189         (Dispatch):
11190         (smartQuote):
11191         (insertInset):
11192         (workAreaButtonRelease): layout as string
11193
11194         * BufferView2.C (unlockInset): adjust
11195
11196         * vspace.C (asLatexCommand): use an explict temp variable.
11197
11198 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * Makefile.am: use FRONTEND_*
11201
11202 2002-03-01  Juergen Vigna  <jug@sad.it>
11203
11204         * tabular.C (SetWidthOfMulticolCell): changed to something better
11205         I hope but still work in progress.
11206         (recalculateMulticolumnsOfColumn): renamed function from
11207         recalculateMulticolCells as it is more appropriate now.
11208         (SetWidthOfCell): calculate multicols better.
11209
11210 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11211
11212         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11213
11214         * lyxfunc.C (processKeySym): print sequence also if it is
11215         `deleted' (complete)
11216
11217         * kbsequence.C (print): print sequence even if it is deleted
11218         (complete would be a better word, actually).
11219
11220         * lyxfunc.C (dispatch): print complete options after a prefix key
11221
11222         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11223
11224 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11225
11226         * text2.C (setCharFont): eliminate setCharFont code duplication.
11227
11228 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11229
11230         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11231         LFUN_TABULAR_FEATURE (bug #177)
11232
11233 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11234
11235         * Makefile.am: remove figure.h
11236
11237 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11238
11239         * Bufferview_pimpl.C:
11240         * CutAndPasteC:
11241         * LaTeX.C:
11242         * LyXSendto.C:
11243         * buffer.C:
11244         * bufferlist.C:
11245         * converter.C:
11246         * language.C:
11247         * lyxfunc.C:
11248         * lyxvc.C:
11249         * paragraph.C:
11250         * text.C:
11251         * text2.C: remove #include "lyx_gui_misc.h".
11252
11253         * LaTeX.C: added #include <cstdio>
11254
11255 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11256
11257         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11258         that the paragraph following this one can have.
11259
11260         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11261
11262         * vspace.C (asLatexCommand): fix bogus gcc warning
11263
11264         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11265
11266 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11267
11268         * text2.C (setLayout): get rid of redundant code
11269
11270 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11271
11272         * text2.C (incDepth): make sure depth cannot be increased beyond
11273         reasonable values.
11274
11275 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11276
11277         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11278         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11279
11280         * PainterBase.h (image):
11281         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11282         a LyXImage const *.
11283
11284 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * BufferView.C:
11287         * BufferView.h:
11288         * BufferView_pimpl.C:
11289         * BufferView_pimpl.h:
11290         * LaTeXFeatures.C:
11291         * LyXAction.C:
11292         * LyXView.C:
11293         * Makefile.am:
11294         * UpdateList.h:
11295         * UpdateList.C:
11296         * buffer.C:
11297         * figure.h:
11298         * figureForm.C:
11299         * figureForm.h:
11300         * figure_form.C:
11301         * figure_form.h:
11302         * lyx_cb.C:
11303         * lyx_gui.C:
11304         * lyx_gui_misc.C:
11305         * lyxfunc.C:
11306         * sp_base.h:
11307         * sp_ispell.h:
11308         * sp_pspell.h:
11309         * sp_spell.C: remove fig inset, and the crap house of
11310           cards that follows it
11311
11312 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * Makefile.am:
11315         * lyxserver.C:
11316         * os2_defines.h:
11317         * os2_errortable.h:
11318         * nt_defines.h: move .h into support/
11319
11320         * vms_defines.h: remove
11321
11322         * WorkArea.C: add space in debug output
11323
11324         * text2.C:
11325         * paragraph.C:
11326         * buffer.C: add WITH_WARNINGS
11327
11328         * vc-backend.h:
11329         * vc-backend.C:
11330         * bufferlist.C: s/retrive/retrieve/, add docs
11331
11332         * vspace.h:
11333         * vspace.C:
11334         * kbmap.h:
11335         * lyxlength.h:
11336         * lyxgluelength.h:
11337         * length_common.h:
11338         * chset.h:
11339         * chset.C: add docs
11340
11341         * lyxgui.C: add ID to X error handler
11342
11343         * lyxtestclass.c: fix typo
11344
11345 2002-02-26  Juergen Vigna  <jug@sad.it>
11346
11347         * tabular_funcs.C (write_attribute): changed so that some default
11348         attributes are not written at all.
11349         (getTokenValue): set default values before trying to read the
11350         value so we have the return value always set as default if we don't
11351         find the token we search for.
11352
11353         * tabular.C (Write): write bools as bools not as strings!
11354
11355 2002-02-22  Juergen Vigna  <jug@sad.it>
11356
11357         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11358         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11359
11360         * text.C (leftMargin): don't add an indent for paragraphs inside
11361         tabular cells (fix #208).
11362
11363 2002-02-21  José Matos  <jamatos@fep.up.pt>
11364
11365         * tabular.C (docBook): fixed support for long tables.
11366
11367 2002-02-20  Juergen Vigna  <jug@sad.it>
11368
11369         * text2.C (getFont): get the drawing font of the Inset if this
11370         paragraph is inside an inset (only important for InsetERT for now).
11371
11372         * buffer.C (insertErtContents): use new lanugage params in ERT
11373         constructor.
11374
11375         * CutAndPaste.C: commenting out seemingly uneeded code.
11376
11377 2002-02-19  Allan Rae  <rae@lyx.org>
11378
11379         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11380         Iterators might be simple to use but they also get invalidated.
11381         (removeAutoInsets): renamed saved cursor tracking variables and added
11382         some comments to clarify what everything does.
11383
11384 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11385
11386         * Chktex.C:
11387         * LaTeX.C:
11388         * LyXSendto.C:
11389         * converter.C:
11390         * lyx_cb.C:
11391         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11392         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11393
11394         * lyxfunc.C:
11395         * vc-backend.h: remove #include "support/syscall.h"
11396
11397         * LaTeX.C:
11398         * LyXSendto.C:
11399         * converter.C: rearrange #includes in Lars' approved fashion.
11400
11401         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11402         forward declare class Timeout in the header file.
11403
11404         * XFormsView.C: changes due to the above.
11405
11406         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11407         similar to LyXView.
11408
11409         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11410         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11411
11412 2002-02-18  José Matos  <jamatos@fep.up.pt>
11413
11414         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11415         insets contents.
11416
11417 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11418
11419         * a lot of small ws changes
11420         * add a lot of using std::XXX
11421         * use std construcs some places where approp.
11422         * use some exisint stuff from lyxfunctional where approp.
11423         * Make file changes to use partial linking (lets test this now...)
11424
11425 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11426
11427         * Chktex.C:
11428         * buffer.C:
11429         remove #include "support/syscontr.h" as it's redundant. Always has been.
11430
11431         * Chktex.C:
11432         * LaTeX.C:
11433         * LyXSendto.C:
11434         * converter.C:
11435         * lyx_cb.C:
11436         * vc-backend.C:
11437         change Systemcalls::System to Systemcalls::Wait and
11438         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11439         No change of functionality, just reflects the stripped down Systemcalls
11440         class.
11441
11442 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11443
11444         * debug.[Ch]: add a GRAPHICS type to the enum.
11445
11446 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11447
11448         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11449
11450         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11451         there is an inset.
11452
11453 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11454
11455         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11456         match the changes below.
11457
11458         * text2.C (toggleInset): if there is not editable inset at cursor
11459         position, try to see if cursor is _inside_ a collapsable inset
11460         and close it.
11461
11462 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11463
11464         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11465         document menu has a nice checkbox
11466
11467 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11468
11469         * lyxlength.C (asLatexString): change PW to output as percent of
11470         \textwidth.
11471
11472         * lengthcommon.C: change '%' to 't%'
11473
11474         * lyxfunc.C (dispatch): a few comments from Martin
11475
11476 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * WorkArea.h:
11479         * WorkArea.C:
11480         * BufferView_pimpl.h:
11481         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11482           the X selection.
11483
11484 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11485
11486         * vspace.C (inPixels): fix compiler warning
11487
11488 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11489
11490         * lyxfunc.C (getStatus): fix status message for disabled commands.
11491
11492 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11493
11494         * BufferView_pimpl.C: fix crash on close buffer
11495         during selection (#227)
11496
11497 2002-01-27  Herbert Voss  <voss@lyx.org>
11498
11499         * buffer.C: link old Figure to new graphic inset
11500
11501 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11502
11503         * FontLoader.C (getFontinfo): Change the latex font names in order
11504         to match the names of type1inst.
11505
11506 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11507
11508         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11509
11510         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11511         (extchanged): ditto
11512         (ext_exist): ditto
11513         (remove_files_with_extension): ditto
11514         (remove_file): ditto
11515         (write): ditto
11516
11517         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11518         document is smaller than the work area height. Do not initialize
11519         static variables to 0.
11520
11521 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11524
11525         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11526         LFUN_LAYOUT_PARAGRAPHS.
11527
11528         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11529         tabular. It is possible to provide a possible cell, which will
11530         typically be the actcell from the corresponding insettabular
11531
11532         * lyxfunc.C (getStatus): small cleanup; disable
11533         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11534         true
11535
11536 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11537
11538         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11539
11540         * paragraph.C (startTeXParParams):
11541         (endTeXParParams): new methods. The LaTeX code to
11542         start/end paragraph formatting
11543         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11544         empty (fixes bug #200)
11545
11546         * vspace.C (inPixels): adapt to the change below
11547         (inPixels): [later] more cleanups (remove unused variables)
11548
11549         * lyxlength.C (inPixels): change to use a width and a height as
11550         parameter.
11551
11552 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11553
11554         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11555         Replaced with \paperwidth
11556
11557         * DepTable.C (insert): add std:: qualifier
11558
11559 2002-01-18  Allan Rae  <rae@lyx.org>
11560
11561         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11562         updated also?
11563
11564         * text.C (drawInset): Turned out I didn't know enough about how
11565         rebreaking worked.  This fixes most of the redraw problems.  I see
11566         an occasional cursor trail when a line is broken now and the cursor
11567         placement can seem out by a few pixels also after a rebreak.
11568
11569 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11570
11571         * buffer.C (parseSingleLyXformat2Token): update because minipage
11572         width is now a LyXLength
11573
11574         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11575
11576         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11577         math insets
11578
11579 2002-01-17  Juergen Vigna  <jug@sad.it>
11580
11581         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11582
11583         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11584         is set correctly and the inset is updated correctly.
11585
11586 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11587
11588         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11589         the beginning of the loop.
11590
11591 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * lyxrc.C: improve help for use_scalable_fonts
11594
11595 2002-01-17  Allan Rae  <rae@lyx.org>
11596
11597         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11598
11599 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11600
11601         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11602         make sure to set their inset_owner to the right value (bug #171)
11603
11604 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11605
11606         * DepTable.h
11607         * DepTable.C: Implement mtime checking to reduce time spent doing
11608         CRCs.
11609
11610 2002-01-16  Juergen Vigna  <jug@sad.it>
11611
11612         * tabular.C (GetAdditionalHeight): one of error fixed.
11613
11614         * lyxrc.C (output): small fix in writing use_pspell.
11615
11616 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11617
11618         * sp_base.h: #include LString.h
11619
11620 2002-01-16  Allan Rae  <rae@lyx.org>
11621
11622         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11623         Can someone check this please?
11624
11625         * text.C (drawInset): It was possible that p.row would be removed by
11626         breakAgainOneRow upsetting a few other settings.  There may be another
11627         small tweak possible by setting need_break_row = 0 when p.row has been
11628         removed but I don't know enough about the logic here.
11629
11630 2002-01-15  Allan Rae  <rae@lyx.org>
11631
11632         * text.C (insertChar): removed conditional truism.
11633
11634         * BufferView2.C (removeAutoInsets): More tweaks.
11635         cur_par_prev could be a stray pointer.  Check for trailing empty line
11636         in case last line was cur_par and only had an error inset on it.
11637
11638 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11639
11640         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11641         absolute
11642
11643         * vc-backend.C (most methods):
11644         * exporter.C (Export):
11645         * converter.C (convert):
11646         (runLaTeX):
11647         * LyXSendto.C (SendtoApplyCB):
11648         * lyxfunc.C (dispatch):
11649         (menuNew):
11650         (open):
11651         (doImport):
11652         * lyx_cb.C (AutoSave):
11653         (InsertAsciiFile):
11654         * BufferView_pimpl.C (MenuInsertLyXFile):
11655         * buffer.C (runChktex): use Buffer::filePath().
11656
11657         * buffer.h: rename filename to filename_; rename filepath to
11658         filepath_ and make it private
11659         (filePath): new method
11660
11661         * buffer.C (writeFile): use fileName()
11662         (getLatexName):
11663
11664         * lyx_main.C (init): fix starting  of LyX when the binary is a
11665         link from so,ewhere else.
11666
11667         * minibuffer.C: include <cctype> for isprint
11668
11669 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11670
11671         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11672         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11673         name clash with InsetCollapsable's width function.
11674
11675 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11676
11677         * lastfiles.C: include <iterator>
11678
11679 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11680
11681         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11682         std::count.
11683
11684         * buffer.C (makeLaTeXFile): ditto.
11685         Also make loop operation more transparent.
11686
11687 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11688
11689         * ToolbarDefaults.C: remove trailing comma closing namespace.
11690
11691         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11692
11693         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11694         as in WorkArea.
11695
11696         * trans.C (Load): comment out unused variable, allowed.
11697
11698 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11699
11700         * minibuffer.[Ch] (append_char): new method to recieve input from the
11701         drop-down completion browser. If a key was pressed, then recieve this
11702         char and append it to the existing string.
11703         (peek_event): modify the positioning data passed to the completion
11704         browser so that it can be placed above the minibuffer rather than below.
11705 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11706
11707         * LyXAction.C (init): alloe error-next for readonly documents.
11708
11709         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11710         count.
11711
11712 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11713
11714         * bufferlist.C (readFile): create the buffer _after_ checking that
11715         the file exists.
11716
11717         * lyxfunc.C (verboseDispatch): fix handling of arguments
11718
11719         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11720
11721         * lyxrc.C: use string::erase() instead of initializing to "".
11722
11723
11724 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * BufferView_pimpl.h:
11727         * BufferView_pimpl.C:
11728         * WorkArea.h:
11729         * WorkArea.C:
11730         * text2.C: tell X when we have made a selection for copying
11731
11732 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11733
11734         * BufferView_pimpl.C (MenuInsertLyXFile):
11735         * lyxfunc.C (menuNew):
11736         (open):
11737         (doImport): add shortcuts to directory buttons
11738
11739         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11740         open a float)
11741
11742         * lyxfunc.C (setStatusMessage):
11743         (getStatusMessage): new methods
11744         (getStatus):use setStatusMessage instead of setErrorMessage
11745         (dispatch): when function is disabled, set error message here
11746         [instead of in getStatus previously]
11747
11748         * BufferView_pimpl.C (workAreaButtonRelease): update
11749         toolbar/menubar here too.
11750
11751 2002-01-13  Allan Rae  <rae@lyx.org>
11752
11753         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11754         Now seems indestructible.  Remaining task is to audit all other
11755         code affected by deleteEmptyParagraphMechanism.  One small quirk
11756         left is that an empty document with an error in the preamble can
11757         be made to report an error but no error box appears.  I don't know
11758         where it goes.
11759         (removeAutoInsets): Improved comments.
11760
11761 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11762
11763         * Thesaurus.h:
11764         * Thesaurus.C: update for Aiksaurus 0.14
11765
11766 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * text2.C (firstParagraph): removed member function, all uses
11769         replaces with ownerParagraph
11770         (redoParagraphs): here
11771         (updateInset): here
11772         (toggleAppendix): here
11773         * BufferView2.C (insertErrors): here
11774         (setCursorFromRow): here
11775
11776 2002-01-13  Allan Rae  <rae@lyx.org>
11777
11778         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11779         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11780         There is still a way to segfault this although you may have to do this
11781         multiple times: Have an InsetERT with an unknown command in it.
11782         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11783         <down-arrow>, <Enter> again, View->DVI, BANG!
11784
11785         * text2.C (setCursor):
11786         (deleteEmptyParagraphMechanism):
11787         * lyxtext.h (setCursor):
11788         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11789         Making use of the return value may help fix other bugs.
11790
11791 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11792
11793         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11794
11795         * LyXView.C (updateMenubar): call MenuBar::update here
11796         (updateToolbar): but not here
11797         (showState): do not update toolbar/menubar
11798
11799         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11800         should need to care about that.
11801
11802         * lyxfunc.C (verboseDispatch): simplify a bit
11803         (getStatus): have a version which takes a pseudoaction, and
11804         another which requires a (kb_action,string).
11805
11806         * LyXAction.C (retrieveActionArg): make it work also when action
11807         is not a pseudo-action.
11808         (getActionName): simplify a bit
11809         (helpText):
11810
11811 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11812
11813         * lyxfunc.C (verboseDispatch): new families of methods with
11814         several ways to specify a command and a bool to indicate whether
11815         the command name and shortcut should be displayed in minibuffer
11816         (eventually, we could extend that to a finer bitmask like
11817         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11818         (dispatch): the pristine dispatch command which just, well,
11819         dispatchs! Note it still sets its result to minibuffer; I'm not
11820         sure we want that.
11821
11822         * lyxfunc.h: remove setHintMessage
11823
11824         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11825
11826 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11827
11828         * BufferView_pimpl.C (specialChar): delete new inset if we have
11829         not been able to insert it.
11830
11831         * kbmap.C: revert to using int instead of kb_action, since all we
11832         are dealing with is pseudo-actions.
11833
11834         * LyXAction.C (searchActionArg): change to return int instead of
11835         kb_action, since the result is a pseudoaction.
11836
11837 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11838
11839         * buffer.C (insertErtContents): Fix (partially) the font bug.
11840
11841 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11842
11843         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11844         as the other one is broken on my machine!
11845
11846 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11847
11848         * commandtags.h:
11849         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11850
11851 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11852
11853         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11854         reflect their actual use. Provide compatibility code for older lyxrc
11855         files.
11856
11857         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11858         FL_NORMAL_STYLE.
11859         change names of popup font variables in line with the changes to lyxrc.C
11860
11861 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11862
11863         * buffer.C (asciiParagraph): avoid outputing a word twice after
11864         an inset.
11865
11866         * lyxrc.C (getDescription): document that document_path and
11867         template_path can be empty.
11868
11869 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * LaTeXFeatures.C (getMacros):
11872         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11873
11874         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11875
11876         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11877         getPackages.
11878         (getPackages): rename feature "floats" to "float". Use an array to
11879         iterate over 'simple' features (i.e. just a \usepackage). Add
11880         handling of "amsmath" (renamed from "amsstyle").
11881
11882 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11883
11884         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11885         features list.
11886
11887 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11888
11889         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11890         FuncStaus::FuncStatus & FuncStaus::some_method().
11891
11892 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11893
11894         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11895         of the func_satus stuff. Edited and massaged in various ways by
11896         JMarc.
11897
11898         * lyxfunc.C (getStatus): use FuncStatus
11899
11900 2002-01-08  Juergen Vigna  <jug@sad.it>
11901
11902         * text.C (nextBreakPoint): use function Inset::isChar().
11903
11904         * paragraph.C (TeXOnePar): use function
11905         Inset::forceDefaultParagraphs.
11906
11907         * buffer.C (latexParagraphs): use function
11908         Inset::forceDefaultParagraphs.
11909
11910 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11911
11912         * lyx_gui.C (init): set the style of the menu popups to
11913         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11914
11915 2002-01-07  Juergen Vigna  <jug@sad.it>
11916
11917         * text.C (setHeightOfRow): small fix
11918         (prepareToPrint): don't look at alignment if we don't have the place
11919         for doing it.
11920
11921 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11922
11923         * box.C: New file. Move the Box methods and functions out of box.h,
11924         following Lars' suggestion.
11925
11926 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11927
11928         * box.h: #include "support/LOstream.h", needed for inlined function.
11929
11930         * lyxtextclass.C:
11931         * lyxtextclasslist.C: added some using std declarations.
11932
11933 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11934
11935         * box.h: make signed dimensions to allow insets wider than
11936           the screen (bug #162)
11937
11938         * BufferView_pimpl.C: add some insetHit debug
11939
11940 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * vc-backend.C: add FIXME
11943
11944 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11945
11946         * lyxfunc.C (getStatus): enable code for showing math font status
11947         in toolbar/menu.
11948
11949 2002-01-07  Juergen Vigna  <jug@sad.it>
11950
11951         * text.C (nextBreakPoint): removed debug output not needed anymore.
11952
11953 2002-01-06  Juergen Vigna  <jug@sad.it>
11954
11955         * text.C (nextBreakPoint): fixed up this function we had this bug
11956         since ever but now hopefully we break row better.
11957         (insertChar): we have to check if an inset is the next char as it
11958         could now happen that a large inset is causing a break.
11959
11960 2002-01-05  Juergen Vigna  <jug@sad.it>
11961
11962         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11963         if it doesn't like to be drawed.
11964
11965 2002-01-04  Juergen Vigna  <jug@sad.it>
11966
11967         * BufferView2.C (lockInset): forgot to set a cursor.
11968
11969         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11970
11971 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11972
11973         * FormMathsPanel.C:
11974         * FormMathsPanel.h
11975         * MathsSymbols.C:
11976         * form_maths_panel.C:
11977         * form_maths_panel.h:
11978         * form_maths_panel.fd: implemented sub- and super- buttons in math
11979         panel.
11980
11981         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11982         (or ^ space) to be used as in TeX (req'd by André).
11983
11984         * lyxfunc.C: Allow ^ and _ again to be used both as
11985         super/subscript (mathed) and as themselves (in text).
11986
11987 2002-01-03  Allan Rae  <rae@lyx.org>
11988
11989         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11990         "LyX" or the filename of the current buffer if it has one.  This is a
11991         modified form of John Levon's patch.
11992
11993         * XFormsView.C (setWindowTitle): also set icon title.
11994
11995         * LyXView.h (setWindowTitle): signature changed.
11996         * XFormsView.h (setWindowTitle): ditto.
11997
11998 2002-01-02  Juergen Vigna  <jug@sad.it>
11999
12000         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12001
12002 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12003
12004         * screen.C (topCursorVisible): introduce a temp var for
12005         text->cursor.row(), handle the case where this row is null. (kindo
12006         hachish)
12007
12008         * text2.C (setCursor): add a couple of asserts.
12009
12010         * paragraph.h (inset_iterator): add -> operator
12011
12012         * paragraph.[Ch] (autoDeleteInsets): remove member function
12013
12014         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12015         cursor pos correctly and handle inset deletion by itself.
12016         (insertErrors): move iterator declaration out of for expression
12017
12018         * lyxtextclass.C: add <algorithm>
12019
12020         * Makefile.am: added the new files to sources, removed layout.C
12021
12022         * layout.C: removed file
12023
12024         * layout.h: remove LYX_DUMMY_LAYOUT
12025
12026         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12027         layout.
12028
12029         * lyxlayout.[Ch]:
12030         * lyxtextclass.[Ch]:
12031         * lyxtextclasslist.[Ch]: new files
12032
12033         * include order changes to a lot of files, also changes because of
12034         the six new files.
12035
12036 2001-12-27  Juergen Vigna  <jug@sad.it>
12037
12038         * buffer.C (asciiParagraph): more fixes.
12039
12040         * tabular.C (ascii): make ascii export support export of only the
12041         data separated by a column-delimiter.
12042         (ascii): better support for ascii export.
12043
12044         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12045
12046 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12047
12048         * tabular_funcs.C: use a "using std::getline" instead of the
12049         previous fix from Angus (necessary for cxx + lyxstring)
12050
12051 2001-12-24  Juergen Vigna  <jug@sad.it>
12052
12053         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12054
12055         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12056         problems. First check a minipage also if we have some ert-contents
12057         (not only on par->size(), second set the right depth of the paragraph
12058         on the relink to the root-paragraph-list!
12059
12060         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12061         which then did not anymore update the main paragraphs on undo/redo!
12062
12063 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12064
12065         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12066         code. Support all font-changing funcs (even those which are not in
12067         menu currently). Support for reporting font settings in
12068         mathed (disabled until Andre provides a function on mathed's side).
12069
12070         * func_status.h (toggle): small helper function to set toggle
12071         state on a flag.
12072
12073 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12074
12075         * tabular_funcs.C: getline -> std::getline
12076
12077 2001-12-21  Juergen Vigna  <jug@sad.it>
12078
12079         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12080         accessed and could be 0 (I couldn't generate this but it seems
12081         Michael could!).
12082
12083 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12084
12085         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12086         * tabular_funcs.h: here and include iosfwd
12087
12088 2001-12-20  Juergen Vigna  <jug@sad.it>
12089
12090         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12091         inside inset but undo_par was.
12092
12093 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12094
12095         * Thesaurus.C: always include <config.h> in sources.
12096
12097         * Painter.h:
12098         * lyxlookup.h:
12099         * box.h: do not include <config.h> in header files
12100
12101         * text.C (paintLastRow): remove unused variable
12102
12103         * text.C (transformChar):
12104         (insertChar):
12105         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12106
12107         * Painter.C (text):
12108         * font.C (width): rewrite to use uppercase() instead of
12109         islower/toupper.
12110
12111         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12112
12113 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * lyxfind.C: clean up of find failure position change
12116
12117 2001-12-20  Juergen Vigna  <jug@sad.it>
12118
12119         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12120
12121         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12122         (TeXRow): added to LaTeX a single tabular row.
12123         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12124         (Latex): simplified and finally good LT-h/f support.
12125         (various_functions): just small adaptions for LT-h/f support.
12126
12127         * tabular_funcs.[hC]: added and moved here all not classfunctions
12128         of LyXTabular.
12129
12130 2001-12-19  Juergen Vigna  <jug@sad.it>
12131
12132         * tabular.[Ch]: better support for longtabular options (not finished
12133         yet!)
12134
12135 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12136
12137         * text.C (paintLastRow): use the label font instead of the font of
12138         the last character to compute the size of *_BOX. This makes more
12139         sense and avoids a crash with empty paragraphs.
12140         Use Painter::rectangle to draw EMPTY_BOX.
12141
12142 2001-12-19  Juergen Vigna  <jug@sad.it>
12143
12144         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12145         the paragraphs if the replaced paragraph is not the first one!
12146         Tried to delete not used paragraphs but does not work yet so for
12147         now it's inside #ifdef's and by default off!
12148
12149 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12150
12151         * MenuBackend.C: include "lyx_main.h" instead of declaring
12152         lastfiles (actually was declared as LastFiles* instead of a
12153         scoped_ptr).
12154
12155 2001-12-17  Juergen Vigna  <jug@sad.it>
12156
12157         * tabular.C (AppendColumn): applied John's fix
12158
12159 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12160
12161         * BufferView.h:
12162         * BufferView.C:
12163         * BufferView_pimpl.h:
12164         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12165
12166         * Makefile.am:
12167         * box.h: new start of class for above
12168
12169         * lyxfunc.C: ignore space-only minibuffer dispatches.
12170           Show the command name when it doesn't exist
12171
12172         * minibuffer.C: don't add empty lines to the history
12173
12174         * minibuffer.C: add a space on dropdown completion
12175
12176 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12177
12178         * text.C: fix line above/below drawing in insets
12179
12180 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12181
12182         * lyxlength.C (LyXLength): Initialize private variables.
12183
12184 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12185
12186         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12187         when inserting error insets.
12188
12189 2001-12-13  Juergen Vigna  <jug@sad.it>
12190
12191         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12192         actually sometimes the before-paragraph.
12193         (setUndo): don't clear the redostack if we're not actually undoing!
12194
12195 2001-12-06  Juergen Vigna  <jug@sad.it>
12196
12197         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12198         and fixed redoing of main paragraph, so we can use it now ;)
12199
12200         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12201
12202 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12203
12204         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12205         Juergen's request
12206
12207 2001-12-13  André Pönitz <poenitz@gmx.net>
12208
12209         * undostack.[Ch]:
12210         * undo_func.C: minor cleanup
12211
12212 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12213
12214         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12215         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12216         font in urw-fonts package which is marked as -urw-fontspecific and
12217         does not work (incidentally, changing the encoding in the
12218         fonts.dir of this package to -adobe-fontspecific fixes the
12219         problem).
12220
12221         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12222         is a crash when undoing first paragraph (Juergen, please take a
12223         look). THis does not mean the undo fix is wrong, just that it
12224         uncovers problems.
12225
12226         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12227         the (Paragraph*) version when needed instead of duplicating the
12228         code.
12229
12230         * text.C (workWidth): use Inset::parOwner to find out where the
12231         inset has been inserted. This is a huge performance gain for large
12232         documents with lots of insets. If Inset::parOwner is not set, fall
12233         back on the brute force method
12234
12235         * paragraph_pimpl.C (insertInset):
12236         * paragraph.C (Paragraph):
12237         (cutIntoMinibuffer): set parOwner of insets when
12238         inserting/removing them
12239
12240         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12241
12242 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12243
12244         * commandtags.h:
12245         * LyXAction.C:
12246         * lyx_main.C:
12247         * lyxfunc.C:
12248         * mathed/formulabase.C:
12249         * mathed/math_cursor.[Ch]:
12250         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12251
12252
12253 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * lyxlength.[Ch] (operator!=): new function
12256
12257 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12258
12259         * text.C (workWidth): use Inset::parOwner to find out where the
12260         inset has been inserted. This is a huge performance gain for large
12261         documents with lots of insets. If Inset::parOwner is not set, fall
12262         back on the brute force method
12263
12264         * paragraph_pimpl.C (insertInset):
12265         * paragraph.C (Paragraph):
12266         (cutIntoMinibuffer): set parOwner of insets when
12267         inserting/removing them
12268
12269         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12270
12271 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12272
12273         * tabular-old.C (getTokenValue):
12274         * tabular.C (getTokenValue):
12275         (write_attribute): new versions for LyXLength
12276         (everywhere): adjust the use of widths
12277
12278         * tabular.h: change the type of widths from string to LyXLength
12279
12280 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12281
12282         * paragraph.C: fixed missing line number count when exporting
12283         Environments to LaTeX file
12284
12285         * buffer.C: added informational message for checking line numbers.
12286
12287 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12288
12289         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12290         paragraph, do the 'double space' part, but not the 'empty
12291         paragraph' one.
12292
12293         * text.C (workWidth): small optimization
12294         (getLengthMarkerHeight): use minimal size for negative lengths.
12295
12296 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12297
12298         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12299
12300         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12301
12302 2001-12-11  André Pönitz <poenitz@gmx.net>
12303
12304         * FontLoader.C:
12305         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12306
12307 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12308
12309         * text2.C: keep selection on a setFont()
12310
12311 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12312
12313         * lyx_cb.C: another bv->text misuse, from insert label
12314
12315 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12316
12317         * kbsequence.h:
12318         * kbsequence.C: re-instate nmodifier mask
12319
12320 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12321
12322         * lyx_main.h: make lyxGUI private.
12323
12324 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * lyxfind.C: place the cursor correctly on failed search
12327
12328 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12329
12330         * text.C (getLengthMarkerHeight): for small heights, the arrows
12331         are not always on top/bottom of the text
12332         (drawLengthMarker): smaller arrows; take the left margin in
12333         account; draw also vfills.
12334         (paintFirstRow):
12335         (paintLastRow): remove special code for vfill and standard spaces,
12336         since everything is handled in drawLengthMarker now.
12337
12338 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12339
12340         * buffer.C (insertErtContents): try to handle font and language
12341         interaction a bit better.g
12342
12343         * ColorHandler.C (updateColor): change the hash to cover the whole
12344         LColor enum, ws cleanup
12345         (getGCLinepars): ditto
12346         (getGCLinepars): only lookup in the linecache once.
12347
12348 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12349
12350         * iterators.C (operator++): Make the iterator more robust
12351
12352         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12353         (John's patch)
12354         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12355
12356 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12357
12358         * lyxtext.h:
12359         * text.C: better added space drawing
12360
12361 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12362
12363         * LyXView.C:
12364         * BufferView2.C: fix layout combo update on inset unlock
12365
12366 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12367
12368         * Makefile.am: don't compile unused files
12369
12370 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12371
12372         * lyxfunc.C:
12373         * commandtags.h:
12374         * LyXAction.C: remove old LFUN_LAYOUTNO
12375
12376 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * paragraph_pimpl.h:
12379         * paragraph_pimpl.C: isTextAt() doesn't need font param
12380
12381 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12382
12383         * lyxlex.h:
12384         * lyxlex.C: little cleanup
12385
12386 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * BufferView_pimpl.C: fix insertAscii for insets
12389
12390 2001-12-05  Juergen Vigna  <jug@sad.it>
12391
12392         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12393         set the right font on the "multi" paragraph paste!
12394
12395 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * trans_decl.h:
12398         * trans_mgr.[Ch]:
12399         * trans.[Ch]:
12400         * lyxgluelength.C:
12401         * lyxlength.C: remove out-commented code.
12402
12403         * BufferView_pimpl:
12404         * CutAndPaste.C:
12405         * DepTable.C:
12406         * buffer.C:
12407         * chset.C:
12408         * lastfiles.C:
12409         * lyxlex.C:
12410         * lyxlex_pimpl.C:
12411         * lyxserver.C:
12412         * screen.C:
12413         * tabular-old.C:
12414         * tabular.C:
12415         * text.C:
12416         * trans_mgr.C:
12417         * vc-backend.C: change "while(" to "while ("
12418
12419         * lyxlength.[Ch]: add zero function to check if length is zero or
12420         not
12421         * lyxgluelength.C: use it
12422
12423 2001-12-05  Allan Rae  <rae@lyx.org>
12424
12425         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12426         Works for 2.95.3, from what I understand of Garst's reports this should
12427         work for other g++ versions.  We're screwed if the abs(int) definition
12428         changed between bugfix releases of gcc.
12429
12430 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * text.C: fix chapter label offset !
12433
12434 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * lyxtext.h:
12437         * text.C: fix hfill at end of line, clean up
12438
12439 2001-12-04  Juergen Vigna  <jug@sad.it>
12440
12441         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12442         that we force an update of the inset and it's owners if neccessary.
12443
12444 2001-12-03  Juergen Vigna  <jug@sad.it>
12445
12446         * text.C (rowLast): simplified code
12447
12448 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * lyxfunc.C: fix show options on timeout
12451
12452 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * screen.C (topCursorVisible): scroll half a page when the cursor
12455         reached top of bottom of screen
12456
12457 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * minibuffer.C: deactivate on loss of focus
12460
12461 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12462
12463         * vspace.[Ch] (operator!=): add operator.
12464
12465 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * BufferView_pimpl.C: refuse to open an inset when
12468         there's a selection.
12469
12470 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * BufferView_pimpl.C: allow to click on RHS of full row insets
12473
12474 2001-11-30  Juergen Vigna  <jug@sad.it>
12475
12476         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12477         insets for undo reasons.
12478
12479 2001-11-28  André Pönitz <poenitz@gmx.net>
12480
12481         * vspace.[Ch]: cosmetical changes
12482
12483 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12484
12485         * LyXAction.h:
12486         * LyXAction.C:
12487         * lyxfunc.h:
12488         * lyxfunc.C:
12489         * kbmap.h:
12490         * kbmap.C:
12491         * lyxrc.C:
12492         * kbsequence.h:
12493         * kbsequence.C: part re-write of old kb code
12494
12495         * Painter.C:
12496         * WorkArea.C: remove Lgb_bug_find_hack
12497
12498 2001-11-30  José Matos <jamatos@fep.up.pt>
12499
12500         * buffer.C (makeDocBookFile): add a comment to point a hack.
12501         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12502         Fixed a double write of labels.
12503
12504 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12505
12506         * LaTeX.C:
12507         * LaTeX.h Fixed bug in LaTeX class where it would not
12508         re-run latex if no depfiles were changed, but the .dvi was removed.
12509
12510 2001-11-28  André Pönitz <poenitz@gmx.net>
12511
12512         * all the files from the change on 2001/11/26:
12513         use lyx::layout_type instead of LyXTextClass::size_type
12514         use lyx::textclass_type instead of LyXTextClassList::size_type
12515
12516 2001-11-29  Juergen Vigna  <jug@sad.it>
12517
12518         * text.C: added support for paragraph::isFreeSpacing()
12519
12520         * buffer.C: same as above
12521
12522         * paragraph.h: inserted isFreeSpacing() function to enable
12523         FreeSpacing inside InsetERT.
12524
12525         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12526         of the paragraph's in the cut/copy buffer to 0!
12527
12528         * text2.C (removeRow): remove the assert as it can!
12529
12530         * lyxtext.h: added helper function firstRow returning firstrow and
12531         made firstrow private again.
12532
12533         * BufferView2.C (lockInset): don't relock if we're already locked!
12534
12535         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12536         the only paragraph.
12537         (removeRow): added Assert::(firstrow)
12538
12539         * debug.C: forgot to add INSETTEXT here.
12540
12541 2001-11-28  Juergen Vigna  <jug@sad.it>
12542
12543         * sp_spell.C (initialize): changed error text to more general
12544         spellchecker command use (not only ispell!)
12545
12546         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12547
12548         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12549
12550 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12551
12552         * vspace.C: initialise lyxgluelength on failure
12553
12554 2001-11-28  Allan Rae  <rae@lyx.org>
12555
12556         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12557         declaration & definition that looks like a function declaration.
12558
12559 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12560
12561         * BufferView2.C (copy):
12562         (copyEnvironment): do not clear the selection when doing a copy.
12563
12564         * text.C (paintFirstRow): compilation fix
12565
12566 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12567
12568         * tabular.C (Latex): correct line count when writing latex.
12569
12570 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * paragraph_pimpl.h:
12573         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12574           bug a bit
12575
12576 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * text.C:
12579         * LColor.h:
12580         * LColor.C: change vfillline->added_space
12581
12582         * text.C: add markers and text for added space
12583
12584         * vspace.C: fix comment
12585
12586 2001-11-28  André Pönitz <poenitz@gmx.net>
12587
12588         * paragraph.C: whitespace changes
12589         * all the other files from the change on 2001/11/26:
12590         change *::pos_type into lyx::pos_type
12591
12592 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12593
12594         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12595         language of the document when inserting error insets.
12596
12597 2001-11-26  André Pönitz <poenitz@gmx.net>
12598
12599         * BufferView_pimpl.[Ch]:
12600         *       CutAndPaste.C:
12601         * buffer.[Ch]:
12602         * lyxcursor.[Ch]:
12603         * lyxfind.C:
12604         * lyxfunc.C:
12605         * lyxrow.[Ch]:
12606         * paragraph.[Ch]:
12607         * paragraph_pimpl.[Ch]:
12608         * sp_spell.C:
12609         * text.C:
12610         * text2.C: reduce header dependencies, introduce type for positions
12611
12612 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12613
12614         * <various>: change to use Alert.h
12615
12616 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12617
12618         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12619         when encountering an unknown token.
12620         (readLyXformat2): Show an error message if there were unknown tokens.
12621
12622 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12623
12624         * BufferView2.C:
12625         * BufferView_pimpl.C:
12626         * buffer.C:
12627         * paragraph.h:
12628         * text.C:
12629         * text2.C: use par->isInset()
12630
12631 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12632
12633         * paragraph_pimpl.h:
12634         * paragraph_pimpl.C: cleanup
12635
12636 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12637
12638         * text2.C (removeRow):
12639         * text.C (setHeightOfRow): remove useless (and costly) call to
12640         getRow.
12641
12642 2001-11-20  Allan Rae  <rae@lyx.org>
12643
12644         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12645         Now need Inset*::checkInsertChar() to return true for appropriate
12646         cases so that the characters in the minibuffer will actually be
12647         inserted.
12648
12649 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12650
12651         * text.C: change the order of the includes.
12652         (workWidth): initialize it at once.
12653         (workWidth): make maxw unsigned
12654         (setHeightOfRow): remove unused variable (inset)
12655         (selectSelectedWord): remove unused variable (inset)
12656         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12657
12658 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12659
12660         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12661         server is not running.
12662         (openConnection):
12663         (closeConnection): add debug info when server is disabled.
12664
12665         * ColorHandler.C (getGCForeground): send debug message to GUI
12666         channel.
12667
12668         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12669
12670         * kbmap.C (bind): modify because return conventions of
12671         kb_sequence::parse have changed.
12672
12673         * kbsequence.C (parse): only ignore spaces and not any stupid
12674         control character. This avoids tests like s[i] <= ' ', which are
12675         guaranteed to fail with 8bit characters and signed chars.
12676         Change return code to string::npos when there have been no error
12677         (0 was a bad idea when error is at first character)
12678
12679 2001-11-14  José Matos  <jamatos@fep.up.pt>
12680
12681         * buffer.h:
12682         * buffer.C (simpleDocBookOnePar): removed unused argument.
12683
12684 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12685
12686         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12687         insets which are part of a word. Paragraph::isLetter takes care of
12688         that now. Use Paragraph::isInset to identify insets.
12689         (selectSelectedWord): do not test for hyphenation break.
12690
12691         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12692         that protected spaces are considered as spaces.
12693
12694         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12695         Inset::isLetter.
12696
12697 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * lyxserver.h:
12700         * lyxserver.C: fix it. and small cleanup.
12701
12702 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12703
12704         * BufferView_pimpl.C: use inline helpers
12705
12706         * LaTeXFeatures.h:
12707         * LaTeXFeatures.C: fix typos
12708
12709         * Spacing.h:
12710         * Spacing.C: move spacing_string into class
12711
12712         * ToolbarDefaults.C: move stuff into namespace anon
12713
12714         * layout.h: update enum
12715
12716         * lyxfunc.C: use better debug
12717
12718         * minibuffer.h: fix typo
12719
12720         * debug.h:
12721         * debug.C:
12722         * WorkArea.C: add and use Debug::WORKAREA
12723
12724         * lyxtext.h:
12725         * text.C:
12726         * text2.C: code re-organisation, inline helpers
12727
12728 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12729
12730         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12731         std::vector.empty().
12732
12733 2001-11-09  Allan Rae  <rae@lyx.org>
12734
12735         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12736         '\n's after tables.  Tabular and ERT inset work now makes this no
12737         longer necessary.
12738
12739 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12740
12741         * minibuffer.h:
12742         * minibuffer.C: fix crash, improve drop-down completion
12743
12744 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * lyxserver.h:
12747         * lyxserver.C: invalidate fd's when doing endPipe()
12748
12749 2001-11-08  José Matos  <jamatos@fep.up.pt>
12750
12751         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12752         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12753
12754         * paragraph.h:
12755         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12756
12757 2001-11-07  José Matos  <jamatos@fep.up.pt>
12758
12759         * buffer.h:
12760         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12761         const qualifier.
12762
12763         * buffer.C (sgmlOpenTag):
12764         * buffer.C (sgmlCloseTag): removed debug info.
12765
12766         * buffer.h (sgmlOpenTag):
12767         * buffer.h (sgmlCloseTag): made public.
12768
12769 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12770
12771         * buffer.C (saveParamsAsDefaults):
12772         * lyx_cb.C (MenuLayoutSave): remove
12773
12774         * LyXAction.C (init):
12775         * commandtags.h:
12776         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12777
12778 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12779
12780         * buffer.C (setPaperStuff): removed from here...
12781
12782         * bufferparams.C (setPaperStuff): ... and moved there.
12783
12784 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12785
12786         * minibuffer.h:
12787         * minibuffer.C:
12788         * XFormsView.C: add support for drop-down completion
12789
12790 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12791
12792         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12793         commands.
12794
12795 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12796
12797         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12798         disabled.
12799
12800 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12801
12802         * lyx_main.C: change ref to known bugs
12803
12804 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12805
12806         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12807         to work around older babel problems.
12808
12809 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12810
12811         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12812
12813 2001-10-24  Juergen Vigna  <jug@sad.it>
12814
12815         * tabular-old.C (ReadOld): below variable changes reflected.
12816
12817         * tabular.[Ch]: added ltType struct for longtable header/footer
12818         defines and changed all instances where they are used. Added
12819         future support for double top/bottom rows.
12820
12821 2001-10-24  José Matos  <jamatos@fep.up.pt>
12822
12823         * buffer.h (docbookHandleCaption):
12824         * buffer.C (docbookHandleCaption): removed unused function.
12825         (makeDocBookFile): moved docbook supported version to v4.1.
12826
12827 2001-10-24  José Matos  <jamatos@fep.up.pt>
12828
12829         * tabular.h:
12830         * tabular.C (docbookRow): new function to export docbook code of a row.
12831         (DocBook): now honors the longtable flags.
12832
12833 2001-10-23  José Matos  <jamatos@fep.up.pt>
12834
12835         * LaTeXFeatures.h:
12836         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12837         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12838
12839         * buffer.C (makeLinuxDocFile):
12840         (makeDocBookFile): reworked the preamble, more clean, and with
12841         support for lyx defined entities. Changed the document declaration
12842         to be more XML friendly.
12843
12844         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12845         if we need to output XML that should be done with a filter.
12846
12847 2001-10-22  Juergen Vigna  <jug@sad.it>
12848
12849         * sp_pspell.h (class PSpell): add alive function needed in the
12850         controller to see if the spellchecker could be started.
12851
12852 2001-10-22  Juergen Vigna  <jug@sad.it>
12853
12854         * buffer.C (insertStringAsLines): modify the font for inserting
12855         chars in certain conditions by calling checkInsertChar(font).
12856
12857 2001-10-19  Juergen Vigna  <jug@sad.it>
12858
12859         * text.C (workWidth): use getRow instead of wrong algorithm.
12860         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12861
12862 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12863
12864         * lyxserver.h:
12865         * lyxserver.C:
12866         * lyx_main.h:
12867         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12868
12869 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12870
12871         * text.C (workWidth): do not search for the exact row when
12872         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12873         optimization for big documents.
12874
12875 2001-10-18  Juergen Vigna  <jug@sad.it>
12876
12877         * text.C (workWidth): new function with added Inset * parameter.
12878
12879 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12880
12881         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12882
12883         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12884         change return type of getColumnNearX.
12885
12886
12887         * text.C (changeRegionCase): use uppercase/lowercase instead of
12888         toupper/tolower.
12889         (leftMargin):
12890         (rightMargin): simplify code by factoring out the uses of
12891         textclasslist.
12892         (labelFill):
12893         (numberOfHfills):
12894         (setHeightOfRow):
12895         (appendParagraph): use Paragraph::size_type
12896
12897 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12898
12899         * vspace.C (asLatexString): add a missing break
12900
12901 2001-10-15  Herbert Voss  <voss@perce.de>
12902
12903         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12904
12905 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12906
12907         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12908         is not available.
12909
12910 2001-10-10  André Pönitz <poenitz@gmx.net>
12911
12912         * lyxfunc.C: removed greek_kb_flag.
12913
12914 2001-10-10  Herbert Voss  <voss@perce.de>
12915
12916         * lyx_main.C: delete global string help_lyxdir.
12917
12918 2001-10-09  Herbert Voss  <voss@perce.de>
12919
12920         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12921
12922         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12923
12924         * lyx_main.C: added global string help_lyxdir.
12925
12926         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12927
12928 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12929
12930         * lyxrc.C (set_font_norm_type): support iso8859-4
12931
12932 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12933
12934         * LaTeX.C (deplog): add another regex for MikTeX
12935
12936 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12937
12938         * lyxrc.C (set_font_norm_type): support iso8859-3
12939
12940 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12943
12944         * LaTeXFeatures.C: remove special case of french and index
12945
12946         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12947         before \begin{document}). This solves several incompatibilities.
12948
12949 2001-10-03  Garst Reese  <reese@isn.net>
12950
12951         * lyx_cb.C: change CheckTex error msg.
12952
12953 2001-10-03  José Matos  <jamatos@fep.up.pt>
12954
12955         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12956
12957 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12958
12959         * .cvsignore: update
12960
12961         * lyx_main.C (commandLineVersionInfo): use new style version info.
12962
12963         * buffer.C (writeFile):
12964         (makeLaTeXFile):
12965         (makeLinuxDocFile):
12966         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12967
12968         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12969
12970         * version.h: update to use stuff in version.C
12971
12972         * version.C.in: new file. Contains version information determined
12973         at compile time. This is a merging of version.h and
12974         version_info.h.in.
12975
12976 2001-10-03  Juergen Vigna  <jug@sad.it>
12977
12978         * BufferView_pimpl.C (update): don't change "dirty" status in
12979         updateInset call.
12980
12981 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12982
12983         * WorkArea.C (c-tor): re-position version string slightly.
12984
12985 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12986
12987         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12988         revert to previous code.
12989
12990         WorkArea.[Ch]: (show, destroySplash): methods removed.
12991
12992         WorkArea.C: rework code so that it's an amalgam of the codes before and
12993         after the splash screen was moved to WorkArea.
12994
12995 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12996
12997         * lyxrc.C (read):
12998         * vspace.C (inPixels):
12999         (lyx_advance):
13000         * kbmap.C (bind):
13001         * buffer.C (insertStringAsLines):
13002         (asciiParagraph): fix types to be large enough
13003
13004         * lyxlex_pimpl.h: change member status from short to int
13005
13006         * layout.h: fix type of endlabeltype
13007
13008         * kbmap.C (bind):
13009         * kbsequence.C (parse): change return type to string::size_type
13010
13011         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13012         variable
13013
13014         * Bullet.C (bulletSize):
13015         (bulletEntry): do not use short ints as parameters
13016
13017         * BufferView2.C (insertLyXFile): change a char to an int.
13018
13019         * WorkArea.C (WorkArea): remove unneeded floats in computation
13020
13021 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13022
13023         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13024
13025         * paragraph.C (asString): Do not ignore newline/hfill chars when
13026         copying to the clipboard.
13027
13028 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13029
13030         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13031         after a multi-line inset.
13032
13033 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13034
13035         * paragraph.C (validate): Set NeedLyXFootnoteCode
13036
13037 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13038
13039         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13040         and decrease-error to decrease.
13041
13042 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13043
13044         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13045         it more readable (should be equivalent)
13046
13047 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13048
13049         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13050
13051 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13052
13053         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13054         of a cursor (row, etc.) after a character has been deleted
13055         (deleteEmptyParagraphMechanism): call the method above on _all_
13056         cursors held by the LyXText when a double space has been
13057         detected/deleted.
13058
13059 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13060
13061         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13062         pixmap.
13063         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13064
13065         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13066         background. Use greyOut() and the new show() methods to toggle between
13067         the foreground and background. Add code to remove the splash after
13068         its initial showing.
13069
13070         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13071         (create_forms): no longer call Dialogs::showSplash.
13072
13073 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13074
13075         * .cvsignore: add version_info.h
13076
13077 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13078
13079         * version_info.h.in: new file
13080
13081         * Makefile.am: add version_info.h.in
13082
13083         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13084         version_info.h instead of VERSION_INFO
13085
13086 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13087
13088         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13089         The ERT inset now returns string().
13090
13091 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13092
13093         * lyxtext.h, text.C (selectNextWord): renamed as
13094         selectNextWordToSpellcheck.
13095
13096         * text.C (selectNextWordToSpellcheck): Modified to not select
13097         words inside an ERT inset.
13098
13099 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13100
13101         * lyx_cb.C (MenuLayoutSave): change a bit the question
13102
13103         * sp_base.h: include <sys/types.h>
13104
13105 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13106
13107         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13108
13109 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13110
13111         * several files: fix typos in user-visible strings
13112
13113 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13114
13115         * text2.C (pasteSelection): do not set the selection, since it
13116         will be cleared later. Actually, the intent was to fix the way the
13117         selection was set, but I figured rmoving the code was just as good.
13118
13119 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13120
13121         * FontLoader.C (available): Check if font is available without
13122         loading the font.
13123
13124 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13125
13126         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13127
13128 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13129
13130         * lyxrc.[Ch]: added display_graphics variable and associated code.
13131
13132 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13133
13134         * bufferparams.C (hasClassDefaults): new method. Returns true if
13135         the buffer parameters correspond to known class defaults
13136
13137 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13138
13139         * XFormsView.C (show): set minimum size to the main window.
13140
13141 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13142
13143         * text2.C (copySelection):
13144         (cutSelection):
13145         * lyxfind.C (LyXReplace):
13146         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13147         LyXText::selectionAsString.
13148
13149         * paragraph.C (asString): add "label" argument to the second form
13150
13151         * text2.C (selectionAsString): add "label" argument and pass it to
13152         Paragraph::asString.
13153
13154 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13155
13156         * lyx_main.C (commandLineHelp): remove version information
13157
13158 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13159
13160         * lyx_main.C: add -version commandline option
13161
13162 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * paragraph.h: make the optional constructor arg required instead.
13165         some modifications to other files because of this.
13166
13167         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13168
13169         * lyxserver.C (C_LyXComm_callback): make it static
13170
13171         * lyx_main.C (error_handler): make it static
13172
13173         * lyx_gui.C (LyX_XErrHandler): make it static
13174
13175         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13176
13177         * WorkArea.C: make the extern "C" methods static.
13178
13179         * Makefile.am (lyx_LDADD): simplify
13180
13181 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13182
13183         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13184         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13185
13186         * LyXAction.C (init):
13187         * lyxfunc.C (dispatch): associated code removal.
13188
13189 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13190
13191         * lyxfont.h (isSymbolFont): shut off warning
13192
13193         * text.C (setHeightOfRow):
13194         (getVisibleRow): fix crash with empty paragraphs which have a
13195         bottom line
13196
13197 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13198
13199         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13200         code.
13201
13202 2001-09-04  José Matos  <jamatos@fep.up.pt>
13203         * buffer.C
13204         * buffer.h
13205         * tabular.C (docbook): rename docBook method to docbook.
13206
13207 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13208
13209         * Makefile.am: add dependencies to main.o.
13210
13211 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13212
13213         * FontLoader.C (available): Return false if !lyxrc.use_gui
13214
13215 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13216
13217         * FontInfo.C (query):
13218         * converter.C (view):
13219         * importer.C (Import):
13220         * exporter.C (Export): Can not -> cannot.
13221
13222 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13223
13224         * BufferView_pimpl.C: allow to create index inset even if
13225           string is empty
13226
13227 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13228
13229         * buffer.C (getLists): replace boost::tie code with an explicit pair
13230         as boost::tie can break some compilers.
13231
13232         * iterators.h: Added a std:: declaration to the return type of
13233         ParIterator::size.
13234
13235 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13238           case.
13239
13240 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13241
13242         * iterators.[Ch]: New files. Provide paragraph iterators.
13243
13244         * buffer.C (changeLanguage): Use paragraph iterators.
13245         (isMultiLingual): ditto
13246
13247         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13248
13249 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13250
13251         * FontLoader.C: Support for cmr font.
13252
13253 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13254
13255         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13256         (available): New method.
13257
13258         * FontInfo.C (getFontname): Use scalable fonts even when
13259         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13260         found.
13261
13262 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13263
13264         * converter.C (Formats::view): reverted! Incorrect fix.
13265
13266 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13267
13268         * converter.C (Formats::view): only output the -paper option
13269         if the dvi viewer is xdvi, thereby fixing bug #233429.
13270
13271 2001-08-23  Herbert Voss  <voss@perce>
13272
13273         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13274
13275 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13276
13277         * Spacing.h (Spacing): Set space to Default on in the default
13278         constructor.
13279
13280 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13281
13282         * vc-backend.h (RCS::versionString): add RCS to version
13283         (CVS::versionString): add CVS to version
13284
13285         * vc-backend.C (scanMaster): do not add CVS to version.
13286         (scanMaster): do not add RCS to version
13287
13288         * lyxvc.C (versionString): new method
13289
13290         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13291
13292 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13293
13294         * Spacing.C (set): initialize fval
13295
13296 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13297
13298         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13299         " or \.
13300
13301 2001-08-16  Juergen Vigna  <jug@sad.it>
13302
13303         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13304
13305 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13306
13307         * BufferView_pimpl.C:
13308         * figureForm.C:
13309         * lyxtext.h:
13310         * text2.C: setParagraph takes linespacing now
13311
13312 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13313
13314         * LyxAction.C: add internal LFUN_CITATION_INSERT
13315
13316         * LyXView.C: actually apply fix
13317
13318         * bufferlist.C: fix open non-existent file
13319
13320         * lyxfind.C: fix indentation
13321
13322         * lyxfunc.C: remove unneeded assert, fix typo
13323
13324 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13325
13326         * MenuBackend.C: use "Floatname List"
13327
13328 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13329
13330         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13331         when converting LaTeX layout to insetERT.
13332         Generate a non-collapsed float when reading old float
13333
13334 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13335
13336         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13337         ERT insets.
13338
13339 2001-08-13  Juergen Vigna  <jug@sad.it>
13340
13341         * text.C (fill): return 0 instead of 20 as this seems to be the more
13342         correct value.
13343
13344 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13345
13346         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13347         lyxrc.font_norm.
13348
13349 2001-08-13  Juergen Vigna  <jug@sad.it>
13350
13351         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13352         casesensitive off.
13353         (SearchBackward): comment out the unlocking of the inset_owner this
13354         should not be needed!
13355
13356 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13357
13358         * Many files: Remove inherit_language, and add latex_language
13359
13360         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13361         collapsible insets.
13362
13363 2001-08-10  Juergen Vigna  <jug@sad.it>
13364
13365         * text.C (prepareToPrint): fixed hfill-width in draw!
13366
13367         * BufferView2.C (selectLastWord): save the selection cursor as this
13368         now is cleared in the function LyXText::clearSelection!
13369
13370 2001-08-08  Juergen Vigna  <jug@sad.it>
13371
13372         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13373         BACKSPACE type functions.
13374
13375         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13376         is only cutted from the document but not put in the cut-buffer, where
13377         still the old stuff should be.
13378
13379         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13380
13381         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13382
13383         * tabular.C (SetWidthOfCell): fixed special case where the width
13384         was not updated!
13385         (LeftLine): handle '|' in align_special.
13386         (RightLine): ditto
13387         (LeftAlreadyDrawed): ditto
13388         (SetWidthOfCell): ditto
13389
13390 2001-08-07  Juergen Vigna  <jug@sad.it>
13391
13392         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13393
13394 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13395
13396         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13397         * lyxlex.[hC]: ditto
13398
13399 2001-08-06  Juergen Vigna  <jug@sad.it>
13400
13401         * text.C (getVisibleRow): fix up row clearing a bit.
13402
13403 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13404
13405         * minibuffer.C: make sure the X server sees the changes in the input.
13406
13407 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13408
13409         * paragraph.C (getFont): split into...
13410         (getLabelFont): this
13411         (getLayoutFont): and this
13412         * paragraph_pimpl.C (realizeFont): calling this
13413
13414         * text2.C (getFont): split into...
13415         (getLayoutFont): this
13416         (getLabelFont): and this
13417         (realizeFont): all three calling this
13418
13419         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13420         files where used.
13421
13422 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13423
13424         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13425
13426 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13427
13428         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13429         layouts from the Quote inset insertion.
13430
13431 2001-08-03  Juergen Vigna  <jug@sad.it>
13432
13433         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13434
13435         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13436         only if status not is already CHANGED_IN_DRAW (second level).
13437
13438         * text.C (draw): don't set the need_break_row when inside an
13439         InsetText LyXText.
13440
13441 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13442
13443         * buffer.C (parseSingleLyXformat2Token): handle more latex
13444         conversion cases.
13445
13446         * bufferview_funcs.[hC]: change function names to
13447         begin with small char, adjust other files.
13448
13449 2001-08-02  André Pönitz <poenitz@gmx.net>
13450
13451         * lyxfunc.C:
13452         BufferView_pimpl.C: remove broken special code for math-greek
13453
13454 2001-08-02  Juergen Vigna  <jug@sad.it>
13455
13456         * BufferView_pimpl.C (update): redone this function so that we
13457         update the text again if there was a CHANGE_IN_DRAW.
13458
13459         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13460         (drawFromTo): added a new internal bool which is used by draw() and
13461         redraw() function.
13462         (general): some cursor drawing problems fixed.
13463
13464 2001-08-01  Juergen Vigna  <jug@sad.it>
13465
13466         * lyxfind.C (LyXFind): fixed
13467         (SearchForward): ditto
13468         (SearchBackward): ditto
13469
13470         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13471         spurius drawing of the cursor in the main area.
13472
13473         * text2.C (status): small fix which could lead to a segfault!
13474         (clearSelection): remove unneeded BufferView param.
13475
13476 2001-08-01  André Pönitz <poenitz@gmx.net>
13477
13478         * lyxfunc.C: small change due to changed mathed interface
13479
13480 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13481
13482         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13483
13484 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13485
13486         * lyxfunc.c: fail gracefully if file doesn't exist
13487
13488         * LyXSendto.C:
13489         * buffer.C:
13490         * lyxfunc.C:
13491         * BufferView_pimpl.C: IsDirWriteable() proto changed
13492
13493         * LyXView.C: fix updateWindowTitle() to store the last title
13494
13495 2001-07-31  Juergen Vigna  <jug@sad.it>
13496
13497         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13498         the font (wrong since using of Paragraph::highestFontInRange).
13499
13500         * paragraph.C (highestFontInRange): added a default_size parameter.
13501
13502         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13503         (setHeightOfRow): reformat
13504
13505 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13506
13507         * converter.[hC] + affected files: move to (inital-char)lowercase
13508         function names.
13509
13510         * ParagraphParameters.C (ParagraphParameters): remove commented code
13511
13512         * PainterBase.[Ch]: remove commented code
13513
13514         * LaTeXFeatures.h: add "bool floats" for float.sty
13515
13516         * LaTeXFeatures.C (LaTeXFeatures): init floats
13517         (require): handle float
13518         (getPackages): do it with floats
13519
13520 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13521
13522         * BufferView_pimpl.C (Dispatch): improve handling of
13523         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13524
13525         * commandtags.h: #include lyxfont.h here temporarily to avoid
13526         keybinding bug.
13527
13528         * bufferlist.h: include LString.h here.
13529
13530 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13531
13532         * text2.C (getStringToIndex): new method.
13533
13534 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13535
13536         * *: Reduced header file dependencies all over.
13537
13538 2001-07-30  Baruch Even  <baruch@lyx.org>
13539
13540         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13541
13542 2001-07-29  Baruch Even  <baruch@lyx.org>
13543
13544         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13545
13546 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * ParameterStruct.h (endif): add a default constructor to make
13549         sure that all variables is initialized.
13550
13551         * ParagraphParameters.C (ParagraphParameters): adjust
13552
13553 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13554
13555         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13556         index; also, check that there is something to index, and that it
13557         does not span over several paragraphs.
13558         (doubleClick): use WHOLE_WORD_STRICT for double click.
13559
13560         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13561
13562         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13563         scheme.
13564
13565 2001-07-26  Baruch Even  <baruch@lyx.org>
13566
13567         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13568         an InsetFig figure, backwards compatible reading of old figure code.
13569
13570 2001-07-27  Juergen Vigna  <jug@sad.it>
13571
13572         * text2.C: font.realize function adaption.
13573
13574         * text.C (draw): add a warnings lyxerr text if needed.
13575
13576         * layout.C: font.realize function adaption.
13577
13578         * language.C: add inherit_language and implement it's handlings
13579
13580         * bufferview_funcs.C (StyleReset): remove language parameter from
13581         font creation (should be language_inherit now).
13582
13583         * bufferparams.C (writeFile): handle ignore_language.
13584
13585         * paragraph.C (getFontSettings): the language has to be resolved
13586         otherwise we have problems in LyXFont!
13587
13588         * lyxfont.C (lyxWriteChanges): added document_language parameter
13589         (update): removed unneeded language parameter
13590
13591         * paragraph.C (validate): fixed wrong output of color-package when
13592         using interface colors for certain fonts in certain environments,
13593         which should not seen as that on the final output.
13594
13595 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13596
13597         * BufferView_pimpl.C:
13598         * Thesaurus.h:
13599         * Thesaurus.C:
13600         * Makefile.am:
13601         * commandtags.h:
13602         * LyXAction.C: add thesaurus support
13603
13604         * lyxfind.h:
13605         * lyxfind.C: add "once" parameter, for thesaurus, to not
13606           move to the next match
13607
13608 2001-07-26  Juergen Vigna  <jug@sad.it>
13609
13610         * lyxfont.C (realize): honor ignore_language too!
13611         (resolved): ditto.
13612
13613         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13614
13615         * text.C (draw): one place more for ignore_language to not draw
13616         itself!
13617
13618 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13619
13620         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13621
13622 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13625         the minipage conversion problem.
13626
13627 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13630         insert an inset.
13631
13632 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13633
13634         * BufferView.h: don't forward declare WorkArea
13635
13636         * BufferView.C: don't include WorkArea.h
13637
13638 2001-07-25  André Pönitz <poenitz@gmx.net>
13639
13640         * commandtags.h:
13641         * LyXAction.C:
13642         * lyxfunc.C:  new LFUN 'math-space'
13643
13644         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13645
13646 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13647
13648         * text2.C (toggleInset): call open/close
13649
13650 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13651
13652         * lyxfunc.C (dispatch): add debug for the disabled case
13653
13654         * font.C (buttonText): make similar to rectText
13655
13656         * buffer.C (readInset): comment out parsing of insetlist and
13657         insttheorem
13658
13659         * PainterBase.C (rectText): small correction
13660
13661         * BufferView_pimpl.C: comment out insettheorem and insetlist
13662         * LyXAction.C: ditto
13663         * commandtags.h: ditto
13664
13665 2001-07-24  Juergen Vigna  <jug@sad.it>
13666
13667         * text.C (draw): honor the ignore_language.
13668
13669         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13670
13671 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13672
13673         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13674         char inset.
13675
13676 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13677
13678         * lyxtext.h: remove unused (and unimplemented) methods
13679
13680 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13681
13682         * text.C (getVisibleRow): honor background color
13683
13684         * PainterBase.h:
13685         * Painter.h: remove default color argument for fillRectangle
13686
13687         * text.C (backgroundColor): new method
13688
13689 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13690
13691         * text.C (getVisibleRow): adjust
13692
13693         * font.[Ch] (rectText): new method, metrics
13694         (buttonText): new method, metrics
13695
13696         * PainterBase.[hC]: make rectText and buttonText always draw and take
13697         fewer paramteres.
13698
13699 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13700
13701         * ToolbarDefaults.C (read):
13702         * MenuBackend.C (read): allow escaping in all strings
13703
13704         * BufferView_pimpl.C (insertAndEditInset): new method.
13705         (Dispatch): use insertAndEditInset whenever appropriate.
13706
13707         * BufferView_pimpl.C (insertNote): removed
13708
13709         * BufferView_pimpl.C (smartQuote): new method, moved from
13710         BufferView; if an insetquote cannot be inserted, insert a '"'
13711         character instead.
13712
13713         * BufferView2.C: remove insertCorrectQuote();
13714
13715         * lyxfunc.C (getStatus): Add support for all remaingin
13716         inset-insert lfuns.
13717
13718         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13719
13720         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13721         command (necessary to pass " as parameter of self-insert.
13722
13723         * text.C (selectWordWhenUnderCursor):
13724         (selectWord): add word_location parameter
13725         (selectWordWhenUnderCursor): same + remove special code for word
13726         boundary.
13727         (selectNextWord): use kind() to guess type of insetspecialchar,
13728         not latex().
13729
13730         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13731         (insertErtContents): create ert insets as collapsed.
13732         (readInset): better compatibility code for Info inset.
13733
13734 2001-07-20  Juergen Vigna  <jug@sad.it>
13735
13736         * lyxfunc.C (dispatch): use always LyXFind now!
13737
13738         * text2.C (init): add a reinit flag so that the LyXText can be
13739         reinited instead of deleted and reallocated (used in InsetText).
13740
13741         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13742
13743         * text.C: ditto
13744
13745         * text2.C: ditto
13746
13747 2001-07-18  Juergen Vigna  <jug@sad.it>
13748
13749         * text.C (selectNextWord): handle insets inside inset by calling
13750         always the bv->text functions so that we can go up the_locking_inset!
13751
13752         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13753         in strange locations when inside an inset!
13754
13755         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13756         handling to include insets.
13757
13758         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13759
13760 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13761
13762         * LyXAction.C (init):
13763         * commandtags.h:
13764         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13765         LIGATURE_BREAK, since the name is so stupid.
13766
13767 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13768
13769         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13770         InsetInfos.
13771
13772         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13773
13774         * sp_form.[Ch]: remove.
13775
13776         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13777
13778         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13779         InsetInfo.
13780
13781         * src/buffer.C (readInset): ditto.
13782
13783 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13784
13785         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13786         menuSeparator(), endOfSentenceDot(), ldots() and
13787         hyphenationPoint(), which are therefore removed.
13788         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13789
13790         * LyXAction.C (init):
13791         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13792
13793         * paragraph.C (getWord): removed.
13794
13795         * BufferView_pimpl.C (Dispatch): use last word or selection for
13796         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13797
13798         * lyx_main.C (queryUserLyXDir): do not ask before creating
13799         user_dir, except if it has been named explicitely.
13800
13801 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13802
13803         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13804         a document of zero size.
13805
13806 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13807
13808         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13809         approriately in the c-tor and in require().
13810         (getPackages): output the appropriate LaTeX for natbib support.
13811
13812         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13813         variables "use_natbib" and "use_numerical_citations" when reading the
13814         LyX file.
13815         (readInset): read the various natbib cite commands.
13816         (validate): white-space change.
13817
13818         * bufferparams.[Ch]: new variables "bool use_natbib" and
13819         "bool use_numerical_citations".
13820         (writeFile): output them in the LyX file.
13821
13822 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13823
13824         * lyxfunc.C (getStatus): add support for all the inset insertion
13825         commands.
13826
13827         * text2.C (insertInset):
13828         * paragraph.C (insetAllowed):
13829         * BufferView_pimpl.C (insertInset): update to take in account the
13830         renaming of insertInsetAllowed
13831
13832         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13833
13834         * text2.C (getInset): new method. returns inset at cursor position.
13835
13836         * BufferView_pimpl.C (Dispatch): changes because of this.
13837
13838         * LyXAction.C (init): rename open-stuff to inset-toggle.
13839
13840         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13841
13842         * text2.C (toggleInset): renamed from openStuff; use
13843         Inset::open().
13844
13845 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13846
13847         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13848
13849         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13850
13851 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13852
13853         * buffer.C (readLyXformat2): Add filename to the error dialog
13854
13855 2001-07-18  Juergen Vigna  <jug@sad.it>
13856
13857         * tabular.C (GetCellNumber): put an assert here instead of the check!
13858
13859 2001-07-17  Juergen Vigna  <jug@sad.it>
13860
13861         * BufferView_pimpl.C (toggleSelection): adapted too.
13862
13863         * text.C (selectNextWord): adapted for use with insets.
13864         (selectSelectedWord): ditto
13865
13866 2001-07-17  Juergen Vigna  <jug@sad.it>
13867
13868         * sp_spell.C (PSpell): fix initialitation order.
13869
13870 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13871
13872         * paragraph.C: spacing
13873
13874 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13875
13876         * sp_spell.C: repair language selection for pspell
13877
13878 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13879
13880         * lyxfunc.h: change more methods to begin with lower char.
13881
13882 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13883
13884         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13885         for unknown layouts.
13886
13887 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13888
13889         * buffer.C (readLyXformat2): Generate an error dialog if there are
13890         unknown layouts.
13891
13892 2001-07-16  Juergen Vigna  <jug@sad.it>
13893
13894         * sp_spell.C: always compile ISpell part.
13895
13896         * lyxrc.C: added use_pspell entry and it's handling.
13897
13898 2001-07-13  Juergen Vigna  <jug@sad.it>
13899
13900         * sp_spell.C: removed double includes.
13901
13902 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13903
13904         Consistent use of Lsstream.h:
13905         * Lsstream.h: added using std::stringstream for consistencies sake.
13906
13907         * buffer.C: removed using std::stringstream
13908
13909         * lyxfont.C (stateText):
13910         * paragraph.C (asString):
13911         * text.C (selectNextWord, selectSelectedWord):
13912         * text2.C (setCounter):
13913         * vspace.C (asString, asLatexString):
13914         std::ostringstream -> ostringstream.
13915
13916 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13917
13918         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13919         * commandtags.h: add LFUN_HELP_ABOUTLYX
13920         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13921
13922 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13923
13924         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13925         cursorToggle()
13926         * lyx_gui_misc.C: remove spellchecker
13927         * lyxfunc.C: showSpellchecker
13928         * sp_base.h: added
13929         * sp_ispell.h: added
13930         * sp_pspell.h: added
13931         * sp_spell.C: added
13932         * sp_form.[Ch]: removed
13933         * spellchecker.[Ch]: removed
13934
13935 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13936
13937         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13938         is set.
13939         (simpleTeXSpecialChars): Simply print the input character without
13940         any special translation if pass_thru is set.
13941
13942         * layout.h: Added bool pass_thru to layout class for being able to
13943         implement pass through of a paragraph for Literate Programming.
13944
13945         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13946         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13947         * layout.C (Read): add "passthru" to list of layout tags and add
13948         code to set the pass_thru boolean when it is read.
13949
13950 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13951
13952         * trans_decl.h: remove allowed from KmodInfo
13953
13954         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13955         remove allowed code
13956         (Load): adjust
13957
13958         * paragraph_pimpl.C (erase): use boost::prior
13959
13960         * Painter.C (text): use data() instead of c_str() when length is
13961         also provided.
13962         * WorkArea.C (putClipboard): ditto
13963         * font.h (width): ditto
13964
13965         * BufferView2.C: use it-> instead of (*it). for iterators
13966         * texrow.C: ditto
13967         * paragraph_pimpl.C: ditto
13968         * paragraph.C: ditto
13969         * minibuffer.C: ditto
13970         * language.C: ditto
13971         * kbmap.C: ditto
13972         * encoding.C: ditto
13973         * counters.C: ditto
13974         * converter.C: ditto
13975         * chset.C: ditto
13976         * Variables.C: ditto
13977         * TextCache.C: ditto
13978         * MenuBackend.C: ditto
13979         * LyXAction.C: ditto
13980         * LColor.C: ditto
13981         * FloatList.C: ditto
13982         * DepTable.C: ditto
13983         * ColorHandler.C (LyXColorHandler): ditto
13984
13985 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13986
13987         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13988
13989         * text2.C (openStuff): reintroduce this method (which had been
13990         nuked in NEW_INSETS frenzy).
13991
13992         * lyxfunc.C (Dispatch): when an action has not been handled, use
13993         its name in the error message, not its number.
13994
13995         * paragraph.C (inInset): change method name to begin with lowercase.
13996
13997         * undo_funcs.C:
13998         * text2.C: updates because of this.
13999
14000 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14001
14002         * ToolbarDefaults.C (add): add spaces in error message
14003
14004 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14007         (readLyXformat2): rename return_par to first_par, use lyxlex's
14008         pushToken and remove the manual push handling.
14009         (parseSingleLyXformat2Token): add another ert comp. variable:
14010         in_tabular, rename return_par to first_par. handle newlines better
14011
14012 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14013
14014         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14015
14016 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14017
14018         * text2.C (getParFromID): removed
14019
14020         * buffer.C (getParFromID): new method moved form lyxtext.
14021         * BufferView2.C (insertErrors): adjust
14022         (setCursorFromRow): adjust
14023         * BufferView_pimpl.C (restorePosition): adjust
14024         * lyxfunc.C (Dispatch): adjust
14025         * undo_funcs.C (textUndo): adjust
14026         (textRedo): adjust
14027         (textHandleUndo): adjust
14028         (textHandleUndo): adjust
14029
14030 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14031
14032         * buffer.C: up' the LYX_FORMAT
14033
14034         * lyxfont.h: turn NO_LATEX on as default
14035
14036         * buffer.C (insertErtContents): new methods of tex style compability.
14037         (parseSingleLyXformat2Token): use it several places.
14038         * tabular.C (OldFormatRead): and here
14039
14040 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14041
14042         * text2.C: remove some commented code.
14043         reindent file.
14044
14045         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14046         * trans.C: changes because of the above.
14047
14048 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14049
14050         * text2.C (setCounter): Fix counters bug with bibliography layout.
14051
14052 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14053
14054         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14055         own member functions
14056         (simpleTeXSpecialChars): ditto
14057
14058 2001-07-06  Juergen Vigna  <jug@sad.it>
14059
14060         * a lot of files: changed the access to LyXText::status and the
14061         call of undo-functions.
14062
14063         * undo.[Ch]: added a inset_id to the undo informations.
14064
14065         * undo_funcs.[Ch]: added and moved here all undo functions.
14066
14067         * lyxtext.h: give the status enum a weight, made status_ a private
14068         variable and made accessor functions for it, removed the whole bunch
14069         of undo-functions as they are now in their own file, make some
14070         functions publically available. Added function ownerParagraph with
14071         int parameter.
14072
14073         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14074         made InInset() a const function, added getParFromID() function.
14075
14076         * buffer.[Ch]: added const version for inset_iterator functions,
14077         added getInsetFromID() function.
14078
14079         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14080         changed undo functions for new version.
14081
14082 2001-07-05  Juergen Vigna  <jug@sad.it>
14083
14084         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14085         unknow mechanism does not call the proper constructor but only this
14086         one also if I request the other!?
14087
14088 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14089
14090         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14091
14092         * text2.C (LyXText): use initialization lists.
14093
14094         * lyxtext.h (Selection): initialize set_ and mark_
14095         (init): remove method
14096
14097 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14098
14099         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14100
14101 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14102
14103         * screen.[Ch]: change method names to begin with lowercase
14104
14105         * BufferView_pimpl.C (updateScrollbar): simplify further and
14106         hopefully make it a bit faster.
14107
14108 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14109
14110         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14111         calling directly xforms functions.
14112
14113         * Painter.C (Painter):
14114         * lyx_cb.C (MenuWrite):
14115         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14116         fl_display.
14117
14118         * lyx_gui.C: remove bogus guiruntime extern declaration.
14119
14120 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14121
14122         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14123         in NEW_INSETS
14124         (redoDrawingOfParagraph): ditto
14125         (redoParagraphs): ditto
14126         (cutSelection): don't create a object for CutAndPaste use the
14127         static method directly
14128         (pasteSelection): ditto
14129
14130         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14131         LyXview (+ rename)
14132
14133 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14134
14135         * modifications to some other files because of this.
14136
14137         * Makefile.am (lyx_SOURCES): add XFormsView
14138
14139         * XFormsView.[Ch]: new files
14140
14141         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14142         the main window. Move the gui dependent stuff to XFormsView
14143
14144 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14145
14146         * tabular.C (GetCellInset): update cur_cell also in the row/col
14147         version of this function.
14148
14149         * lyxfunc.C: no need to include figure_form.h here.
14150
14151         * FontLoader.h:
14152         * lyxfunc.h:
14153         * lyxscreen.h:
14154         * text2.C:
14155         * lyxvc.C: no need to include forms.h here.
14156
14157 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14158
14159         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14160
14161         * lyxfunc.C (Dispatch):
14162         * Spacing.C (set):
14163         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14164         constructor argument.
14165
14166 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14167
14168         * paragraph.C (Paragraph): dont't clear, and just set layout.
14169         (makeSameLayout): use params's copy contructor.
14170
14171         * ParagraphParameters.[Ch] (makeSame): delete method
14172
14173 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14174
14175         * Variables.[Ch]: fix indentation, rename set to isSet
14176
14177 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14178
14179         * lyxfunc.C (Dispatch): fix typo
14180
14181 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14182
14183         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14184         upper_bound.
14185
14186         * bufferlist.C: include assert.h for emergencyWrite().
14187
14188 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14189
14190         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14191           give up at last (bug #425202) !
14192
14193 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14194
14195         * lyx_gui_misc.C:
14196         * sp_form.h:
14197         * sp_form.C:
14198         * spellchecker.h:
14199         * spellchecker.C: strip spellchecker options and bring up
14200           preferences tab instead
14201
14202 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14203
14204         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14205         the istringstream constructor
14206
14207 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14208
14209         * paragraph.C (getLayout): fix return value
14210
14211         * paragraph.h: do not declare getLayout as inline.
14212
14213         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14214
14215 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14216
14217         * lyxcursor.h (operator<): new func
14218         (operator>): new func
14219         (operator>=): new func
14220         (operator<=): new func
14221
14222         * text.C (changeCase): use selection.start and selection.end
14223         (changeRegionCase): require from to be <= to. Require par to be a
14224         valid paragraph.
14225
14226         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14227
14228 2001-06-27  Juergen Vigna  <jug@sad.it>
14229
14230         * text.C (cursorLeftOneWord): changed to return the cursor and added
14231         overlay with BufferView * parameter which calls this one.
14232         (getWord): added
14233         (selectWord): use new getWord function.
14234         (changeCase): renamed from changeWordCase as and extended to work
14235         also on selections.
14236
14237         * lyxtext.h: added enum word_location
14238
14239         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14240         changeCase as this operates now also on selections.
14241
14242 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14243
14244         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14245
14246         * many files: send debug output to Debug::INFO instead of
14247         Debug::ANY.
14248
14249         * converter.C (View):
14250         (Convert):
14251         (Move): send debug output to Debug::FILES instead of console.
14252
14253 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14254
14255         * lyxfunc.C (getStatus): use func_status
14256
14257         * func_status.h: new header, describing the results of
14258         LyXFunc::getStatus;
14259
14260         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14261         LFUN_MATH_HALIGN.
14262
14263 2001-06-25  The LyX Project  <jug@sad.it>
14264
14265         * buffer.C (sgmlOpenTag):
14266         (sgmlCloseTag):
14267         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14268
14269 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14270
14271         * text2.C: remove some dead code
14272
14273         * tabular.C (GetCellInset): store the last cell checked (gotten)
14274
14275         * tabular.h: add the helper for the speedup
14276
14277         * lyxtext.h: remove some dead code
14278
14279 2001-06-26  The LyX Project  <Asger>
14280
14281         * paragraph.C: Change export to LaTeX of alignment to
14282         \begin{center} and family for better roundtrip work with reLyX.
14283
14284         * Tune the math drawing a bit.
14285
14286 2001-06-25  The LyX Project  <Asger>
14287
14288         * LColor.C (LColor): New color for math background. New color
14289         for buttons.
14290
14291 2001-06-25  The LyX Project  <jug@sad.it>
14292
14293         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14294
14295         * lyxfunc.C (Open):
14296         * bufferlist.C (newFile): do not restrict to files ending with
14297         .lyx
14298
14299         * BufferView_pimpl.C (MenuInsertLyXFile):
14300
14301 2001-06-24  The LyX Project  <jug@sad.it>
14302
14303         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14304         of compare_no_case
14305
14306 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14307
14308         * lyxtext.h: rename most methods to begin with a small char.
14309         Lots of changes because of this.
14310
14311         * paragraph.C (Paragraph): do not call fitToSize
14312         (erase): call Pimpl::erase
14313         (insertChar): call Pimpl::insertChar
14314         (insertInset): call Pipl::insertInset
14315         (breakParagraph): do not call fitToSize
14316         (breakParagraphConservative): do not call fitToSize
14317         (fitToSize): remove method
14318
14319         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14320
14321 2001-06-24  The LyX Project  <Asger>
14322
14323         * Fix Qt compilation^2
14324
14325 2001-06-24  The LyX Project  <jug@sad.it>
14326
14327         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14328         depthHook(getDepth()-1).
14329
14330         * paragraph.h:
14331         * ParagraphParameters.h:
14332         * ParameterStruct.h: change type of depth to unsigned int ==
14333         depth_type. Many adaptations to other files before of that.
14334
14335 2001-06-24  The LyX Project  <Asger>
14336
14337         * Fix Qt compilation.
14338
14339 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14340
14341         * paragraph.h: renamed several methods to begin with small letter.
14342         several changes to many parts of the code because of this.
14343
14344 2001-06-23  The LyX Project  <jug@sad.it>
14345
14346         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14347         rewritten to discard all double spaces when KeepEmpty is off
14348         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14349         to only handle newlines but not fiddle with spaces and friends.
14350
14351         * lyxfunc.C (MenuNew): when doing 'new from template', use
14352         template_path as default directory
14353
14354 2001-06-23  The LyX Project  <Asger>
14355
14356         * Clean-up of header file includes all over
14357         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14358
14359 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14360
14361         * paragraph.h: renamed from lyxparagraph.h
14362
14363 2001-06-23  Asger  <lyx@violet.home.sad.it>
14364
14365         * Buffer.h: Removed Buffer::resize
14366         * BufferList.h: Removed BufferList::resize
14367         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14368         the document lazily when we change the width, or the font settings.
14369
14370 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14371
14372         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14373
14374 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14375
14376         * buffer.h: remove out of date comment
14377
14378 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14379
14380         * lyxscreen.h:
14381         * screen.C: fix "theoretical" GC leak
14382
14383 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14384
14385         * LaTeX.C (scanAuxFile):
14386         (deplog): remove trailing \r when reading stream (useful under
14387         win32)
14388
14389 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14390
14391         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14392         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14393         and BufferView::theLockingInset(Inset*), so should use them and not
14394         access bv_->text->the_locking_inset directly.
14395
14396         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14397
14398 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14399
14400         * Makefile.am:
14401         * tex-defs.h: remove old unused file
14402
14403 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14404
14405         * BufferView_pimpl.C: fix typo, remove minibuffer message
14406           when buffer has loaded
14407
14408 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14409
14410         * lyxfunc.C (Dispatch): use stringstream
14411         (MenuNew): use stringstream
14412         (Open): use stringstream
14413
14414         * importer.C (Import): use stringstream
14415
14416         * bufferview_funcs.C (CurrentState): use stringstream
14417
14418         * LaTeX.C (run): use stringstream
14419
14420         * BufferView_pimpl.C (savePosition): use stringstream
14421         (restorePosition): use stringstream
14422         (MenuInsertLyXFile): use stringstream
14423
14424 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14425
14426         * BufferView.C:
14427         * Bullet.C:
14428         * ColorHandler.C:
14429         * FontInfo.C:
14430         * FontLoader.C:
14431         * LColor.C:
14432         * LaTeXFeatures.C:
14433         * Painter.C:
14434         * gettext.C:
14435         * lyx_gui_misc.C:
14436         * lyxserver.C:
14437         * vspace.C: removed // -*- C++ -*- as first line.
14438
14439         * lyxfind.h:
14440         * version.h: added // -*- C++ -*- as first line.
14441
14442 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14443
14444         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14445
14446         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14447         of string
14448
14449 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14450
14451         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14452         of floats.
14453
14454 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14455
14456         * gettext.C: include LString.h even when --disable-nls is on.
14457
14458 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14459
14460         * converter.h (Get): changed argument type from int to
14461         FormatList::size_type to avoid unnecessary conversion.
14462
14463         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14464         before using it.
14465
14466 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14467
14468         * gettext.h: include LString.h even when --disable-nls is on.
14469
14470 2001-06-07  Juergen Vigna  <jug@sad.it>
14471
14472         * text.C (BreakAgain): subst spaces with tabs.
14473
14474         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14475         (resizeInsetsLyXText): set force on resizeLyXText.
14476
14477 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14478
14479         * gettext.h (gettext_init):
14480         (locale_init): use a real definition instead of a macro
14481
14482 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14483
14484         * Bufferview_pimpl.C:
14485         * LColor.h:
14486         * LColor.C: further lcolor tidies
14487
14488 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14489
14490         * BufferView_pimpl.C (updateScrollbar): simplify.
14491
14492         * BufferView2.C: don't include insets/insetinfo.h, change
14493         prototype for insertInset and call the Pimpl version. let
14494         updateInset call Pimpl version.
14495
14496         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14497         gotoInset to BufferView::Pimpl
14498
14499 2001-06-01  Juergen Vigna  <jug@sad.it>
14500
14501         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14502         inside a LockingInset (is the update needed at all?).
14503
14504 2001-05-31  Juergen Vigna  <jug@sad.it>
14505
14506         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14507         here not the old one otherwise how should we compare it afterwards
14508         if it's the same!
14509
14510 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14511
14512         * lyxfont.C:
14513         * tabular.C:
14514         * tabular-old.C:
14515         * FontInfo.C: bring C functions into global namespace when
14516         necessary
14517
14518 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14519
14520         * LString.h: make sure config.h has been loaded before LString.h.
14521
14522         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14523         (one for each char read by EatLine!).
14524
14525         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14526         variables.
14527
14528 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14529
14530         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14531         to the same as the par we break from
14532
14533 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14534
14535         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14536
14537         * MenuBackend.C (expand): also create menu entries for wide
14538         versions of the floats.
14539
14540         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14541
14542         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14543
14544         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14545         frontends/Makefile.am
14546
14547         * text2.C: adjust
14548         * text.C: adjust
14549
14550
14551         * tabular.C (getTokenValue): add std::
14552
14553         * tabular-old.C (getTokenValue): add std::
14554         (getTokenValue): ditto
14555         (getTokenValue): ditto
14556
14557         * screen.C (ToggleSelection): adjust
14558
14559         * lyxtext.h: put selection cursors inside a Selection struct.
14560
14561         * lyxfunc.C (moveCursorUpdate): adjust
14562
14563         * lyxfont.C (latexWriteStartChanges): add std::
14564
14565         * lyxfind.C: adjust
14566
14567         * font.h: delete with(char const *, LyXFont const &)
14568
14569         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14570
14571         * FontInfo.C (getFontname): add std::
14572
14573         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14574         (workAreaButtonPress): adjust
14575         (tripleClick): adjust
14576         (update): adjust
14577         (moveCursorUpdate): adjust
14578         (Dispatch): adjust
14579
14580         * BufferView2.C (gotoInset): adjust
14581
14582 2001-05-30  Juergen Vigna  <jug@sad.it>
14583
14584         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14585         to check pspell I add this as default as I now have new pspell
14586         libraries and they seem to use this.
14587
14588 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14589
14590         * text2.C (CutSelection): make the cursor valid before the call to
14591         ClearSelection.
14592
14593 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14594
14595         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14596         relied on 0 terminated strings and other horrors. Bug found due to
14597         the new assert in lyxstring!
14598
14599         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14600         KP_ keys.
14601
14602 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14603
14604         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14605         to latinkeys.bind.
14606
14607         * lyxfunc.C (processKeySym): change method of getting to the
14608         self-insert char.
14609
14610         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14611         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14612         * BufferView_pimpl.[Ch]: here as private methods.
14613
14614 2001-05-28  Juergen Vigna  <jug@sad.it>
14615
14616         * text.C (SetHeightOfRow): added the update() call again as it is
14617         needed to initialize inset dimensions!
14618
14619 2001-05-16  Juergen Vigna  <jug@sad.it>
14620
14621         * text2.C (SetCharFont): Add new function with BufferView * and
14622         bool toggleall parameters for setting insets internal fonts.
14623         (SetFont): Freeze the undo as we may change fonts in Insets and
14624         all this change should be inside only one Undo!
14625
14626         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14627         setting font's in insets as for them we have the SetFont function!
14628
14629 2001-05-15  Juergen Vigna  <jug@sad.it>
14630
14631         * text2.C (ClearSelection): to be sure we REALLY don't have any
14632         selection anymore!
14633
14634         * tabular.C (TeXCellPreamble): fixed the left border problem for
14635         multicolumn cells.
14636
14637 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14638
14639         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14640         dependancy file
14641
14642 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14643
14644         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14645         LFUN_BREAKPARAGRAPH.
14646
14647         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14648         help test to "internal only", similar for LFUN_INSERT_URL
14649
14650         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14651         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14652         auto_region_delete and deadkeys.
14653
14654 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14655
14656         * LColor.h:
14657         * LColor.C: remove some dead entries, tidy a little
14658
14659 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14660
14661         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14662         commented code.
14663         (Dispatch): implement LFUN_ESCAPE
14664
14665         * commandtags.h: add LFUN_ESCAPE
14666
14667         * LyXAction.C (init): add entry for LFUN_ESCAPE
14668
14669         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14670         Remove commented code.
14671         (insertNote): moved here
14672         (open_new_inset): moved here
14673
14674         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14675         BufferView_pimpl
14676
14677 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14678
14679         * kbmap.C (findbinding): clean it up and make it work correctly.
14680
14681         * lyx_main.C (init): do not pass argc and argv as parameters
14682
14683 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14684
14685         * buffer.C: fix path for OS/2 & Win32
14686
14687         * lyx_gui.C:
14688         * lyx_main:
14689         * lyx_main.C: Added os:: class.
14690
14691         * os2_defines.h: update
14692
14693 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14694
14695         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14696         better by trying again with reduced state.
14697
14698 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14699
14700         * lyxrc.C (read): print error about invalid key sequence only when
14701         debugging (because not all latinX keysyms are known to some X
14702         servers)
14703
14704         * kbsequence.C (getiso): add a few std:: qualifiers
14705         (getiso): comment out extra return statement.
14706
14707 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14708
14709         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14710         handling.
14711         (Dispatch): enhance the accent inset a bit. (not perfect)
14712
14713 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14714
14715         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14716
14717 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14718
14719         * bufferlist.C (emergencyWrite): fix assert() call
14720
14721 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14722
14723         * text.C (InsertChar): Added trivial patch to only send the "you
14724         can not do multiple spaces this way" message once during a
14725         session.
14726
14727 2001-05-08  Baruch Even  <baruch@lyx.org>
14728
14729         * Makefile.am: Changed order of libraries to get LyX to link properly
14730         with the gnome frontend.
14731
14732 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14733
14734         * LaTeXFeatures.h: add a std:: qualifier
14735
14736 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * paragraph.C (String): use stringstream
14739
14740 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14741
14742         * paragraph.C (writeFile): remove footflag arg
14743
14744         * buffer.C (makeLaTeXFile): use stringstream
14745         (latexParagraphs): remove footnot gurba
14746
14747         * LaTeXFeatures.C (getPackages): use stringstream
14748         (getMacros): likewise
14749         (getTClassPreamble): likewise
14750         (getFloatDefinitions): new method
14751
14752         * paragraph.C (writeFile): reindent
14753         (Erase): reindent
14754
14755         * WorkArea.h: revert the xpos + etc changes.
14756
14757         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14758
14759         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14760
14761         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14762         (pasteSelection): likewise
14763         * text2.C (CreateUndo): likewise
14764
14765 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14766
14767         * minibuffer.C (peek_event): temporarily reduce the functionality
14768         of the minibuffer (to allow args on lfuns)
14769
14770         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14771         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14772
14773         * buffer.C (readInset): add compability reading of old float
14774         lists, add reading of new style float list.
14775         (readInset): avoid reevaluation of inscmd.getCmdName()
14776         (getLists): reindent
14777
14778         * MenuBackend.C (MenuItem): implement parsing of
14779         md_floatlistinsert and md_floatinsert.
14780         (expand::LastFiles): move initalizaton of iterators out of loop,
14781         avoid reevaluation.
14782         (expand::Documents): introduce typdedef vector<string> Strings,
14783         and use it.
14784         (expand::ExportFormats): introduce typedef vector<Format const *>
14785         Formats, and use it.
14786         (expand): implement FloatListInsert and FloatInsert.
14787
14788         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14789         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14790         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14791
14792         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14793         handling.
14794         (Dispatch::LFUN_FLOAT_LIST): implement
14795
14796 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14797
14798         * LaTeX.C (run): Fix problem with --export code.
14799
14800 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14801
14802         * BufferView.[Ch] (workarea): removed.
14803         (getClipboard) new method; wrapper for workarea()->getClipboard()
14804
14805         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14806         bug.
14807
14808         * WorkArea.h (width, height, xpos, ypos): These methods all
14809         returned the dimensions of the work_area sub-area of WorkArea,
14810         resulting in a position error if the WorkArea were resized. Now
14811         return the dimensions of the entire WorkArea.
14812
14813         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14814
14815 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * LaTeX.C (deplog): correct the syntax of regex reg1
14818
14819 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14820
14821         * undo.C: remove !NEW_INSETS cruft
14822
14823 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14824
14825         * text2.C: remove !NEW_INSETS cruft
14826
14827         * text.C: remove !NEW_INSETS cruft
14828
14829         * tabular.C: remove !NEW_INSETS cruft
14830
14831         * spellchecker.C: remove !NEW_INSETS cruft
14832
14833         * lyxtext.h: remove !NEW_INSETS cruft
14834
14835         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14836
14837         * lyxfunc.C: remove !NEW_INSETS cruft
14838
14839         * lyxfind.C: remove !NEW_INSETS cruft
14840
14841         * lyx_cb.C: remove !NEW_INSETS cruft
14842
14843         * figureForm.C: remove  !NEW_INSETS cruft
14844
14845         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14846
14847         * buffer.[Ch]: remove !NEW_INSETS cruft
14848
14849         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14850
14851         * CutAndPaste.C: remove !NEW_INSETS cruft
14852
14853         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14854
14855         * BufferView2.C: remove !NEW_INSETS cruft
14856
14857         * BufferView.h: remove !NEW_INSETS cruft
14858
14859 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * Lsstream.h: include LString.h before the sstream headers to
14862         fix problem with gcc 2.95.3 and lyxstring
14863
14864 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14865
14866         * lyx_main.C: add using directives when needed for C functions
14867         declared in std:: namespace.
14868
14869 2001-04-27  Juergen Vigna  <jug@sad.it>
14870
14871         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14872         (SetHeightOfRow): comment out the update call should not be needed!
14873
14874 2001-04-13  Juergen Vigna  <jug@sad.it>
14875
14876         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14877         (LyXTabular): tried to minimize operator= operations (and realized
14878         hopfully Lars wish).
14879
14880 2001-04-27  Juergen Vigna  <jug@sad.it>
14881
14882         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14883
14884 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14885
14886         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14887
14888         * buffer.C (readInset): hack to make listof algorithm work
14889
14890         * BufferView_pimpl.C: hack to make listof algorithm work
14891
14892 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14893
14894         * LyXAction.C: removed all !NEW_INSETS cruft
14895         (init): moved lfun_item in method
14896
14897         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14898
14899 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14900
14901         * BufferView2.C (theLockingInset): white space.
14902
14903 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14904
14905         * minibuffer.C: include <iostream>
14906
14907         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14908
14909         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14910
14911         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14912
14913         * text.[Ch] (TransposeChars): new method
14914
14915 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14916
14917         * call message directly through LyXView instead of through LyXFunc
14918         * BufferView2.C: adjust
14919         * BufferView_pimpl.C: adjust
14920         * FontLoader.C: adjust
14921         * buffer.C: adjust
14922         * bufferview_funcs.C: adjust
14923         * converter.C: adjust
14924         * figureForm.C: adjust
14925         * importer.C: adjust
14926         * lyx_cb.C: adjust
14927         * lyx_gui_misc.C: adjust
14928         * lyxfunc.C: adjust
14929         * lyxvc.C: adjust
14930         * text2.C: adjust
14931         + more files in subdirs
14932
14933         * lyxparagraph.h (size): move up int file
14934         (GetLayout): ditto
14935
14936         * adjust all uses of Assert to lyx::Assert.
14937
14938         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14939         lyxfunctional in namespace lyx
14940         * layout.C (hasLayout): ditto
14941         (GetLayout): ditto
14942         (GetLayout): ditto
14943         (delete_layout): ditto
14944         (NumberOfClass): ditto
14945         * converter.C (GetFormat): ditto
14946         (GetNumber): ditto
14947         (Add): ditto
14948         (Delete): ditto
14949         (SetViewer): ditto
14950         * bufferlist.C (getFileNames): ditto
14951         (emergencyWriteAll): ditto
14952         (exists): ditto
14953         (getBuffer): ditto
14954         * MenuBackend.C (hasSubmenu): ditto
14955         (hasMenu): ditto
14956         (getMenu): ditto
14957         * BufferView_pimpl.C (getInsetByCode): ditto
14958
14959 2001-04-18  Juergen Vigna  <jug@sad.it>
14960
14961         * vspace.C (asLatexString): fixed the 100% problem.
14962
14963 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14964
14965         * lyxfunc.C (Dispatch):
14966         * minibuffer.C:
14967         * minibuffer.h: add a few std:: qualifiers
14968
14969 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14970
14971         * minibuffer.[Ch]: reimplement so that commands is initiated and
14972         run from lyxfunc, simplified som handling, and made the completion
14973         and history code for complete. wip.
14974
14975         * lyxfunc.C (processKeySym): call message
14976         (miniDispatch): new temporary method
14977         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14978         (LFUN_MESSAGE): implement
14979         (LFUN_MESSAGE_PUSH): implement
14980         (LFUN_MESSAGE_POP): implement
14981         (initMiniBuffer): the initial/defualt minibuffer message.
14982
14983         * lyxfont.[Ch]: inline some more getters
14984
14985         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14986
14987         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14988
14989         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14990         (AutoSave): use LFUN_MESSAGE
14991         (Reconfigure): ditto
14992
14993         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14994
14995         * figureForm.C: use LFUN_MESSAGE
14996
14997         * converter.C (runLaTeX): use LFUN_MESSAGE
14998
14999         * bufferview_funcs.C: use LFUN_MESSAGE
15000         (Melt): ditto
15001         (changeDepth): ditto
15002
15003         * bufferparams.h: use boost::
15004
15005         * bufferlist.h: inherit privately from noncopyable
15006
15007         * bufferlist.C (loadLyXFile): remove some commented code.
15008
15009         * buffer.C (runChktex): use LFUN_MESSAGE
15010
15011         * ShareContainer.h: inherit privately from noncopyable
15012
15013         * ParagraphParameters.[hC] (depth): inline it.
15014
15015         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15016         methods.
15017         (message): new method
15018         (messagePush): ditto
15019         (messagePop): ditto
15020         (show): init minibuffer
15021         (showState): direct call
15022
15023         * LaTeX.[Ch]: inherit privately from noncopyable
15024         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15025         instead of WriteStatus.
15026
15027         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15028
15029         * BufferView_pimpl.C (buffer): don't init minibuffer
15030         (workAreaButtonPress): use LFUN_MESSAGE
15031         (workAreaButtonRelease): ditto
15032         (savePosition): ditto
15033         (restorePosition): ditto
15034         (MenuInsertLyXFile): ditto
15035         (workAreaExpose): don't init minibuffer
15036         (update): remove commented code, simplify
15037
15038         * BufferView2.C (openStuff): use LFUN_MESSAGE
15039         (toggleFloat): ditto
15040         (menuUndo): ditto
15041         (menuRedo): ditto
15042         (copyEnvironment): ditto
15043         (pasteEnvironment): ditto
15044         (copy): ditto
15045         (cut): ditto
15046         (paste): ditto
15047         (gotoInset): ditto
15048         (updateInset): remove some commented code
15049
15050         * lastfiles.h: inherit privately from noncopyable
15051         * layout.h: ditto
15052         * lyx_gui.h: ditto
15053         * lyx_main.h: ditto
15054         * lyxlex.h: ditto
15055         * lyxlex_pimpl.h: ditto
15056
15057         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15058         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15059         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15060
15061         * LyXAction.h: inherit privately from noncopyable, add methods
15062         func_begin, func_end, returning iterators to the func map.
15063
15064         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15065         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15066         (func_begin): new method
15067         (func_end): new method
15068
15069         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15070         and not)
15071         (copySelection): ditto
15072         (pasteSelection): ditto
15073
15074         * BufferView.C: whitespace change
15075         * BufferView.h: inherit privately from noncopyable
15076
15077 2001-04-16  Allan Rae  <rae@lyx.org>
15078
15079         * tabular-old.C (l_getline):
15080         * spellchecker.C (sc_check_word):
15081         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15082         an unrecognised preprocessor directive.  So ensure they're wrapped.
15083
15084 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15085
15086         * src/exporter.C (Export): Give an error message when path to file
15087         contains spaces.
15088
15089 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15090
15091         * LaTeX.C (deplog): Always check that foundfile exists.
15092
15093 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * lyx_main.h:
15096         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15097
15098 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15099
15100         * tabular.[Ch] (getLabelList): implement new method
15101
15102         * minibuffer.h: comment ouf setTiimer
15103
15104         * minibuffer.C (ExecutingCB): constify res
15105         (peek_event): constify s
15106         (Set): constify ntext
15107         (Init): constify nicename
15108
15109         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15110
15111         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15112         (savePosition): use two params to Minibuffer::Set
15113         (restorePosition): ditto
15114
15115 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15116
15117         * lyx_main.C: include language.h
15118
15119         * Makefile.am (lyx_main.o): add language.h
15120
15121 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15122
15123         * exporter.C:
15124         * paragraph.C:
15125         * screen.C:
15126         * tabular.C:
15127         * CutAndPaste.C: include gettext.h
15128
15129         * lyxfont.h: remove old hack with ON and OFF.
15130
15131         * lyxparagraph.h:
15132         * lyxfont.h: do not include language.h...
15133
15134         * BufferView2.C:
15135         * LaTeXFeatures.C:
15136         * Painter.C:
15137         * bufferview_funcs.C:
15138         * font.C:
15139         * lyxfont.C:
15140         * text.C:
15141         * text2.C:
15142         * trans_mgr.C:
15143         * paragraph.C: ... but do it here instead
15144
15145 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15146
15147         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15148
15149         * tabular.C: small reformat
15150
15151         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15152         NEW_INSETS version
15153         (GetChar): ditto
15154         (BreakParagraph): ditto
15155         (SetOnlyLayout): ditto
15156         (SetLayout): ditto
15157
15158         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15159         with one arg less.
15160
15161         * lastfiles.C: removed most using decl, add std:: where needed
15162
15163         * buffer.C: ws changes
15164
15165         * MenuBackend.C (class compare_format): put into anon namespace
15166         (expand): constify label, names, action, action2
15167         (expand):
15168
15169         * text.C (SingleWidth): constify font
15170         (IsBoundary): constify rtl2
15171         (GetVisibleRow): constify ww
15172
15173         * LaTeX.C (deplog): constify logfile
15174
15175         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15176         start_x, end_x
15177         (workAreaExpose): constify widthChange, heightChange
15178
15179         * lyxrow.C (par): moved
15180         (height): moved
15181         (next): moved
15182         * lyxrow.h: as inlines here
15183
15184         * lyxfont.h (shape): moved from lyxfont.C
15185         (emph): moved from lyxfont.C
15186
15187         * lyxfont.C (LyXFont): use initialization list for all
15188         constructors
15189         (shape): move to lyxfont.h as inline
15190         (emph): move to lyxfont.h as inline
15191
15192
15193 2001-04-04  Juergen Vigna  <jug@sad.it>
15194
15195         * vspace.C: had to include stdio.h for use of sscanf
15196
15197 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15198
15199         * BufferView.h:
15200         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15201         independent of xforms.
15202
15203 2001-04-02  Juergen Vigna  <jug@sad.it>
15204
15205         * spellchecker.C: fixed namespace placing!
15206
15207 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15208
15209         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15210         the LyXParagraph * is 0.
15211
15212 2001-03-29  Juergen Vigna  <jug@sad.it>
15213
15214         * vspace.C: added support for %, c%, p%, l%.
15215         (stringFromUnit): added helper function.
15216         (asLatexString): changed to give right results for the %-values.
15217
15218         * buffer.C: convert the widthp in a width%.
15219
15220 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15221
15222         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15223         figureForm.[Ch].
15224
15225         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15226         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15227
15228         * lyx_cb.[Ch]: see above.
15229
15230         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15231         form1.[Ch].
15232
15233         * form1.[Ch]:
15234         * lyx.[Ch]: replaced by figure_form.[Ch].
15235
15236         * lyx_gui.C:
15237         * lyx_gui_misc.C:
15238         * lyxfunc.C: changed headers associated with above changes.
15239
15240 2001-03-27  Juergen Vigna  <jug@sad.it>
15241
15242         * BufferView_pimpl.C: set the temporary cursor right!
15243
15244 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15245
15246         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15247
15248 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15249
15250         * LString.h: removed "using std::getline"!
15251
15252         * BufferView_pimpl.C (Dispatch): changes due to changes in
15253         InsetInclude::Params.
15254
15255         * buffer.C (tag_name): removed redundant break statements as they were
15256         producing lots of warnings with my compiler.
15257
15258 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15259
15260         * LString.h: add "using std::getline" when using the real <string>.
15261
15262 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15263
15264         * buffer.C: removed bitset usage.
15265         PAR_TAG moved to an anonymous name space.
15266         (tag_name): new funtion, also in the anonymous namespace.
15267         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15268         (makeDocBookFile): clean code. Completed transition from string arrays
15269         to string vectors.
15270         (SimpleDocBookOnePar): code clean.
15271
15272 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15273
15274         * tabular.C: add some comments.
15275
15276 2001-03-22  Juergen Vigna  <jug@sad.it>
15277
15278         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15279         compatibility read a bit and fixed bug with minipage in different
15280         depth.
15281
15282 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15283
15284         * buffer.C (pop_tag): removed.
15285         (push_tag): removed.
15286         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15287         array replaced with vector. Added support for CDATA sections.
15288         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15289         at any nest level.
15290         (makeDocBookFile): XML conformant declaration of CDATA section,
15291         fixed bug related to <emphasis> in the first paragraph char.
15292         (sgmlOpenTag): exclude empty tags.
15293         (sgmlCloseTag): ditto.
15294
15295         * buffer.h (pop_tag): removed.
15296         (push_tag): removed.
15297
15298 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15299
15300         * language.h (Languages): added size_type and size().
15301
15302 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15303
15304         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15305         response on compability reading of minipages. One probliem is that
15306         the old usage of minipages was «flertydig»
15307
15308         * several files here and in subdirs: don't use static at file
15309         scope use anon namespaces instead.
15310
15311 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15312
15313         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15314         LaTeX output. This is necessary for Literate document
15315         processing.
15316
15317 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15318
15319         * buffer.C: insert hfill when needed.
15320
15321         * tabular.C (l_getline): use string::erase, small whitespace change.
15322
15323         * BufferView_pimpl.C: try the anon namespace.
15324         * WorkArea.C: ditto
15325
15326 2001-03-16  Juergen Vigna  <jug@sad.it>
15327
15328         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15329         otherwise it won't open options-dialogs.
15330
15331         * buffer.C: honor pextraWidth(p) on converting minipages.
15332
15333         * tabular.C (l_getline): changed the functions to strip trailing \r.
15334
15335 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15336
15337         * BufferView_pimpl.C:
15338         * minibuffer..C: added "using SigC::slot" declaration.
15339
15340 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15341
15342         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15343
15344         * text2.C: ditto
15345
15346         * text.C: ditto
15347
15348         * paragraph.C: ditto
15349
15350         * lyxtext.h: NO_PEXTRA
15351
15352         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15353
15354         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15355         * ParameterStruct.h: ditto
15356         * ParagraphParameters.h: ditto
15357         * lyxparagraph.h: ditto
15358
15359 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15360
15361         * buffer.C: add compability for minipage alignment.
15362         (latexParagraphs): remove unwanted pextra check.
15363
15364         * several files: remove CXX_WORKING_NAMESPACES
15365
15366         * buffer.C (pop_tag): tie is in namespace boost
15367
15368         * BufferView.h: noncopyable is in namespace boost
15369         * lyxlex.h: ditto
15370         * lyx_main.h: ditto
15371         * lyx_gui.h: ditto
15372         * layout.h: ditto
15373         * lastfiles.h: ditto
15374         * bufferlist.h: ditto
15375         * ShareContainer.h: ditto
15376         * LyXView.h: ditto
15377         * LyXAction.h: ditto
15378         * LaTeX.h: ditto
15379
15380 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15381
15382         * Merging changes from BRANCH_MVC back into HEAD.
15383
15384         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15385
15386 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15387
15388         * BufferView_pimpl.C: change from intl.C
15389
15390         * combox.h:
15391         * combox.C:
15392         * Makefile.am: move combox.*
15393
15394         * form1.h:
15395         * form1.C:
15396         * lyx_gui.C:
15397         * intl.h:
15398         * intl.C: remove dialog (covered by prefs)
15399
15400 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15401
15402         * lyxfunc.C (Dispatch): removed redundant break statement.
15403
15404 2001-03-14  Juergen Vigna  <jug@sad.it>
15405
15406         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15407
15408 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15409
15410         * buffer.C: add hack to fix compability reading of minipages.
15411
15412 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15413
15414         * buffer.C (getLists): Cleanup.
15415
15416 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15417
15418         * lyxfont.C (update): don't honor toggleall on font size.
15419
15420 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15421
15422         * bmtable.c:
15423         * bmtable.h:
15424         * Makefile.am: moved to frontends/xforms/
15425
15426         * lyx_gui_misc.C:
15427         * lyxfunc.C:
15428         * BufferView_pimpl.C: changes for moved mathpanel
15429
15430 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15431
15432         * gettext.h: fix gettext_init() in --disable-nls
15433
15434 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15437
15438 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15439
15440         * lyx.C:
15441         * lyx.h: strip external form
15442
15443 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15444
15445         * BufferView_pimpl.C: add comment, destroySplash()
15446
15447 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15448
15449         * BufferView_pimpl.C:
15450         * LyXAction.C:
15451         * buffer.C:
15452         * commandtags.h:
15453         * lyxfunc.C: use re-worked insetinclude
15454
15455 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15456
15457         * buffer.C: add using std::stringstream.
15458
15459         * lyx_cb.C: readd using std::ios.
15460
15461         * buffer.C: add using std::map.
15462
15463         * BufferView_pimpl.C: add using std::vector.
15464
15465         * ShareContainer.h: add std:: to swap.
15466
15467         * buffer.h: add some typedefs
15468         * buffer.C (getLists): use them
15469         (getLists): renamed from getTocList.
15470         add a counter for the different float types and use it in the
15471         generated string.
15472         (getLists): use the same counter for the NEW_INSETS and the "non"
15473         NEW_INSETS
15474
15475         * lyx_cb.h: remove unused items, includes, using etc.
15476
15477         * ShareContainer.h: remove some commented code, add more comments
15478         and "documentation".
15479
15480 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15481
15482         * buffer.C (getTocList): make the list also when NEW_INSETS is
15483         defined.
15484
15485         * buffer.h: remove TocType
15486
15487         * buffer.C (getTocList): change to return a map<string,
15488         vector<TocItem> >, implement for dynamic number of list.
15489
15490         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15491         * text2.C (PasteSelection): adjust
15492         * CutAndPaste.C (pasteSelection): adjust
15493
15494         * FloatList.C (FloatList): update from the new_insets branch.
15495         * Floating.[Ch]: ditto
15496         * LaTeXFeatures.C: ditto
15497         * buffer.C: ditto
15498         * lyxlex_pimpl.C: ditto
15499
15500         * paragraph.C (Last): remove when NEW_INSETS is defined.
15501
15502         * other file: changes because of the above.
15503
15504 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15505
15506         * lyxparagraph.h: rename next to next_, previous to previous_,
15507         make them private for NEW_INSETS. Rename Next() to next(),
15508         Previous() to previous().
15509
15510         * other files: changes because of the above.
15511
15512 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15513
15514         * BufferView.h:
15515         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15516         problem.
15517
15518 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15519
15520         * main.C (main): pass lyx_localedir to gettext_init().
15521
15522         * gettext.h: remove locale_init and gettext_init macros
15523
15524         * gettext.C (locale_init): new function
15525         (gettext_init): new function
15526
15527         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15528         setlocale().
15529
15530 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15531
15532         * Moved credits to frontends:
15533         * credits.[Ch]: removed
15534         * credits_form.[Ch]: removed
15535         * lyx_gui_misc.C: remove credits stuff
15536         * Makefile.am:
15537
15538 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15539
15540         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15541
15542         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15543         unneeded destructor.
15544
15545         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15546         a standalone pointer again.
15547
15548         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15549
15550 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15551
15552         * Makefile.am:
15553         * filedlg.h:
15554         * filedlg.C:
15555         * LyXAction.C:
15556         * ToolbarDefaults.C:
15557         * bufferlist.C:
15558         * commandtags.h:
15559         * form1.C:
15560         * form1.h:
15561         * lyx_cb.C:
15562         * lyx_cb.h:
15563         * lyxfunc.h:
15564         * lyxfunc.C:
15565         * BufferView_pimpl.C: use new file dialog in GUII
15566
15567         * lyx_cb.h:
15568         * lyx_cb.C: remove LayoutsCB to Toolbar
15569
15570 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15571
15572         * ShareContainer.h (get): add std:: qualifier
15573
15574 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15575
15576         * ShareContainer.h: define a proper ShareContainer::value_type
15577         type (and use typename to please compaq cxx)
15578
15579 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15580
15581         * lyxparagraph.h: move serveral local vars to
15582         ParameterStruct/ParagraphParameters., use ShareContainer in
15583         FontTable., make vars in FontTable private and add getter and
15584         setter.
15585
15586         * paragraph.C: changes because of the above.
15587
15588         * lyxfont.h: remove copy constructor and copy assignment. (the
15589         default ones is ok), move number inside FontBits. move inlines to
15590         lyxfont.C
15591
15592         * lyxfont.C: add number to initializaton of statics, move several
15593         inlines here. constify several local vars. some whitespace
15594         cleanup. Dont hide outerscope variables.
15595
15596         * Spacing.h: add two new constructors to match the set methods.
15597
15598         * ShareContainer.h: new file, will perhaps be moved to support
15599
15600         * ParameterStruct.h: new file
15601
15602         * ParagraphParameters.h: new file
15603
15604         * ParagraphParameters.C: new file
15605
15606         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15607         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15608
15609         * BufferView_pimpl.C: ParagraphParameter changes.
15610         * buffer.C: Likewise.
15611         * bufferview_funcs.C: Likewise.
15612         * text.C: Likewise.
15613         * text2.C: Likewise.
15614
15615 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15616
15617         * lyxfind.C (LyXReplace): do not redefine default argument in
15618         implementation.
15619         (IsStringInText): ditto
15620         (SearchForward): ditto
15621         (SearchBackward): ditto
15622
15623 2001-03-06  Juergen Vigna  <jug@sad.it>
15624
15625         * lyxfind.C (IsStringInText): put parentes around expressions.
15626
15627 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15628
15629         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15630
15631 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15632
15633         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15634
15635         * stl_string_fwd.h: add comment
15636
15637         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15638
15639         * tabular.h:
15640         * tabular.C: remove unused DocBook methods
15641
15642         * intl.C:
15643         * language.C:
15644         * paragraph.C:
15645         * buffer.C:
15646         killed DO_USE_DEFAULT_LANGUAGE
15647
15648 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15649
15650         * lyx_gui.C: do not include language.h.
15651
15652         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15653         arguments in function implementation.
15654
15655 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15656
15657         * BufferView_pimpl.C: add <ctime>
15658
15659 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15660
15661         * BufferView_pimpl.C: add using std::find_if
15662
15663 2001-02-27  José Matos  <jamatos@fep.up.pt>
15664
15665         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15666         by OnlyPath.
15667
15668 2001-02-11  José Matos  <jamatos@fep.up.pt>
15669
15670         * buffer.C (makeDocBookFile): command styles now have a parameter as
15671         "title" by default.
15672
15673 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15674
15675         * layout_forms.[Ch]: removed
15676         * lyx_cb.[Ch]: out character
15677         * lyx_gui.C: out character
15678         * lyx_gui_misc.C: out character
15679         * bufferview_funcs.C: : out character,
15680         added toggleall as parameter in ToggleAndShow
15681
15682 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15683
15684         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15685
15686         * text2.C (SetCurrentFont): Disable number property at boundary.
15687
15688 2001-02-26  Juergen Vigna  <jug@sad.it>
15689
15690         * lyxfunc.C (getStatus): added a string argument override function so
15691         that this is correctly called from LyXFunc::Dispatch if it contains a
15692         do_not_use_argument which is used!
15693         (Dispatch): added check for "custom" export and call appropriate func.
15694
15695 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15696
15697         * lyxrc.C: Add language_command_local, language_use_babel and
15698         language_global_options.
15699
15700         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15701
15702         * buffer.C (makeLaTeXFile): Use language_use_babel and
15703         language_global_options.
15704
15705 2001-02-23  Juergen Vigna  <jug@sad.it>
15706
15707         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15708         which works with LyXText and putted it inside BufferView. Here now we
15709         only call for that part the BufferView::Dispatch() function.
15710
15711         * BufferView.C (Dispatch): added.
15712
15713         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15714         functions which needs to use a LyXText over from LyXFunc.
15715         (MenuInsertLyXFile): added
15716         (getInsetByCode): added
15717         (moveCursorUpdate): added
15718         (static TEXT): added
15719
15720 2001-02-22  Juergen Vigna  <jug@sad.it>
15721
15722         * BufferView_pimpl.C (update): call a status update to see if LyXText
15723         needs it.
15724
15725 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15726
15727         * vc-backend.C (revert): implement for CVS
15728         (getLog): implement for CVS
15729
15730 2001-02-20  Juergen Vigna  <jug@sad.it>
15731
15732         * text2.C (ClearSelection): added BufferView param for inset_owner call
15733
15734         * lyxfunc.C (TEXT): added this function and use it instead of
15735         directly owner->view()-text of getLyXText().
15736
15737 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15738
15739         * src/layout_forms.C: out preamble
15740         * src/layout_forms.h: out preamble
15741         * src/lyx_cb.C: out preamble
15742         * src/lyx_cb.h: out preamble
15743         * src/lyx_gui.C: out preamble
15744         * src/lyx_gui_misc.C: out preamble
15745         * src/lyxfunc.C: connect with guii preamble
15746
15747 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15748
15749         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15750
15751 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15752
15753         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15754         whether to run bibtex.
15755
15756 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15757
15758         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15759
15760 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15761
15762         * Makefile.am (lyx_SOURCES): removed bibforms.h
15763
15764         * vspace.h: doxygen
15765
15766         * text.C (GetVisibleRow): make several local vars const
15767
15768         * tabular.C: small cleanup.
15769
15770         * lyxserver.C (callback): use compare instead of strncmp
15771
15772         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15773         inlines to after class or to paragraph.C
15774
15775         * lyxfont.h: remove friend operator!=
15776
15777         * converter.h: move friend bool operator< to non friend and after
15778         class def.
15779
15780         * combox.h: small cleanup
15781
15782         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15783         to inlines after class def.
15784
15785         * buffer.C (pop_tag): use string operations instead of strcmp
15786
15787         * bmtable.c: doxygen, small cleanup
15788
15789         * LaTeX.h: remove friend operator==
15790
15791 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15792
15793         * screen.C:
15794         * lyxrc.[Ch]:
15795         * lyxfunc.C:
15796         * lyxfont.[Ch]:
15797         * lyx_cb.C:
15798         * intl.[Ch]:
15799         * commandtags.h:
15800         * buffer.C:
15801         * WorkArea.[Ch]:
15802         * LyXAction.C:
15803         * BufferView_pimpl.C:
15804         * BufferView.[Ch]: remove cruft
15805
15806 2001-02-14  Juergen Vigna  <jug@sad.it>
15807
15808         * lyxfunc.C: removed #if 0 unused code
15809
15810         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15811
15812         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15813
15814         * text2.C (SetSelection): added a BufferView * parameter
15815
15816 2001-02-13  Juergen Vigna  <jug@sad.it>
15817
15818         * lyxfunc.C (Dispatch): fixed protected blank problem.
15819         * BufferView2.C (protectedBlank): added LyxText * parameter.
15820
15821         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15822         (AppendColumn): same as above for column_info.
15823
15824         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15825         (moveCursorUpdate): use a LyXText param for support of InsetText.
15826
15827         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15828         (tripleClick): ditto
15829
15830         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15831
15832         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15833
15834         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15835
15836         * text2.C (SetSelection): set correct update status if inset_owner
15837         (ToggleFree): ditto
15838
15839 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15840
15841         * tabular.C: remove some commented code.
15842
15843 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15844
15845         * BufferView_pimpl.C: call hideSplash()
15846
15847         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15848
15849         * include_form.h:
15850         * bibforms.h: remove
15851
15852         * lyxfunc.C:
15853         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15854           add LFUN_CHILD_CREATE
15855
15856         * counters.h: fix tiny typo
15857
15858         * lyx_cb.C:
15859         * lyx.h:
15860         * lyx_gui.C:
15861         * lyx.C: move splash to frontends/xforms/
15862
15863         * lyx_gui_misc.C: move Include and Bibform to frontends
15864
15865         * lyxvc.h: clarify comment
15866
15867         * vspace.C: tiny housekeeping
15868
15869 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15870
15871         * text.C (PrepareToPrint): RTL Fix.
15872
15873         * paragraph.C (GetUChar): New method.
15874         (String):  Use GetUChar.
15875
15876         * buffer.C (asciiParagraph): Use GetUChar.
15877
15878 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15879
15880         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15881
15882 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15883
15884         * buffer.h:
15885         * buffer.C: rename to getLogName(), handle
15886           build log / latex log nicely
15887
15888 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15889
15890         * MenuBackend.C:
15891         * MenuBackend.h: remove support for reference menuitem type.
15892
15893 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15894
15895         * BufferView_pimpl.C: housekeeping
15896         * BufferView_pimpl.h:
15897         * LyXView.h:
15898         * Makefile.am:
15899         * Timeout.C:
15900         * Timeout.h:
15901         * minibuffer.h: move Timeout GUI-I
15902
15903 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15904
15905         * lyxrc.C (read): Update converters data-structures.
15906
15907 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15908
15909         * LaTeX.h (operator!=): add operator != for Aux_Info
15910
15911 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15912
15913         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15914
15915         * LaTeXLog.C: deleted, useful code moved to Buffer
15916
15917         * buffer.h:
15918         * buffer.C: new function getLatexLogName()
15919
15920         * lyx_gui_misc.C:
15921         * lyx_gui.C:
15922         * lyxvc.C:
15923         * lyxvc.h:
15924         * lyxfunc.C: use frontends for LaTeX and VC logs
15925
15926 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * LaTeX.h: yet another std:: that Allan forgot.
15929
15930         * Variables.C (set): renamed from isset(), because this clashes
15931         with some HP-UX macros (grr).
15932
15933 2001-02-06  Allan Rae  <rae@lyx.org>
15934
15935         * LaTeX.h: Another bug fix.  Missing std:: this time.
15936
15937 2001-02-04  Allan Rae  <rae@lyx.org>
15938
15939         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15940         floats problem. I've left it commented out because it's not quite
15941         correct.  It should also test that the current object is a table or
15942         figure inset.  But I haven't gotten around to figuring out how to do
15943         that.  I *think* it'll be something like: "table" == inset.type()
15944
15945         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15946         bool.
15947
15948 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15949
15950         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15951         all the citation/databases/styles in the auxilary file.
15952         (run): Rerun latex if there was a babel language error.
15953
15954 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15955
15956         * text.C (Backspace): Preserve the font when changing newline char
15957         with a space.
15958         (BreakParagraph): If the cursor is before a space, delete the space.
15959
15960         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15961
15962 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15963
15964         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15965         new argument (code).
15966         (ChangeCitationsIfUnique): New method.
15967
15968         * paragraph.C (GetPositionOfInset): Handle bibkey.
15969
15970 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15971
15972         * BufferView_pimpl.h: change type of Position::par_pos to
15973         LyXParagraph::size_type.
15974
15975 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15976
15977         * BufferView_pimpl.C (savePosition, restorePosition): Write
15978         messages to minibuffer.
15979
15980 2001-01-28  José Matos  <jamatos@fep.up.pt>
15981
15982         * buffer.C (makeDocBookFile): adds support for document language.
15983         A silly restriction on the name of LatexCommand types where removed.
15984         Added support for CDATA sections, allows to chars unescaped, used
15985         among others in code, to avoid escape < and >.
15986
15987 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15988
15989         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15990         saved positions instrad of a stack. Furthermore, a position is
15991         stored using paragraph id/paragraph position.
15992
15993         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15994         Remove LFUN_REF_BACK.
15995
15996 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15997
15998         * converter.C (dvipdfm_options): New method.
15999
16000 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16001
16002         * vspace.C (isValidLength): Fix for empty input string.
16003
16004 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16005
16006         * LyXAction.C (init): change description of LFUN_FIGURE to
16007         "Insert Graphics"
16008
16009 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16010
16011         * LaTeX.C: add using directive
16012
16013 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16014
16015         * MenuBackend.C (expand): Fix the sorting of the formats.
16016
16017 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16018
16019         * lyx_main.C: tiny error message fix
16020
16021 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16022
16023         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16024         calling fl_initialize(). This fixes the problem with ',' as
16025         decimal separator in text files.
16026
16027 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16028
16029         * trans.C (process): Fix the keymap bug.
16030
16031 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16032
16033         * LaTeX.C (scanAuxFiles): New method. Provides support for
16034         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16035         (scanLogFile) Scan for "run BibTeX" messages.
16036
16037         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16038         OT1 font encoding. Also, load the aecompl package if the ae
16039         package is loaded.
16040
16041         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16042
16043 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16044
16045         * texrow.C (increasePos): turn two error messages into debug
16046         messages.
16047
16048 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16049
16050         * LaTeX.C (scanAux): Handle the \@input macro.
16051         (runBibTeX): Use scanAux().
16052
16053         * language.C (latex_options_): New field.
16054
16055         * LaTeXFeatures.C (getMacros): Add language macros.
16056
16057         * buffer.C (makeLaTeXFile): Small fix.
16058
16059 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16060
16061         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16062
16063         * text2.C: add a using directive.
16064
16065 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16066
16067         * BufferView2.C:
16068         * lyx_gui_misc.h:
16069         * lyxfr1.C:
16070         * lyxfunc.C: kill LyXBell.
16071
16072 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16073
16074         * text.C (IsBoundary): Remove the error message
16075
16076         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16077
16078         * lyxrc.C (setDefaults): Correct initialization value for
16079         font_norm_type.
16080
16081 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16082
16083         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16084         gotoError().
16085
16086         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16087         and GotoNextNote().
16088
16089         * src/LyXAction.C: Added reference-next.
16090
16091         * text.C (InsertChar): Use contains instead of strchr.
16092
16093         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16094
16095 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16096
16097         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16098         alignment commands (when needed).
16099
16100         * text.C (InsertChar): Add ':' to number separator chars.