]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f1a5b67bd190623ddbd3f1186d274798d9f1b8ae
[lyx.git] / src / ChangeLog
1 2004-10-24  José Matos  <jamatos@lyx.org>
2
3         * paragraph.[Ch] (getFirstWord): new function to get the first
4         word. Useful for description.
5         (simpleDocBookOnePar): remove depth argument, add another that
6         says where to start the paragraph.
7
8         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
9         use the new functions to fix cleanly the support for descriptions.
10         
11 2004-10-24  José Matos  <jamatos@lyx.org>
12
13         * buffer.C (makeLinuxDocFile, makeDocBookFile):
14         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
15         * output_linuxdoc.C (linuxdocParagraphs):
16         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
17         add buffer as argument.
18
19 2004-10-24  José Matos  <jamatos@lyx.org>
20
21         * output_docbook.C (makeEnvironment, searchEnvironment): place
22         CDATA inside paragraphs and fix scope for listitems.
23
24 2004-10-24  José Matos  <jamatos@lyx.org>
25
26         * output_docbook.C: remove using statement for stack.
27
28 2004-10-23  José Matos  <jamatos@lyx.org>
29
30         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
31         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
32         docbook. The new scheme is recursive and makes use of iterators, the
33         same as latex export works.
34         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
35         directly with the paragraph contents. This code was moved up to
36         output_docbook.C (docbookParagraphs).
37         * sgml.C (openTag, closeTag): removed unneeded newlines.
38         (closeEnvTags) removed.
39
40 2003-10-23  André Pönitz  <poenitz@gmx.net>
41
42         * undo.C (textUndoOrRedo):
43         * dociterator.C (asDocIterator): work around crash
44
45         * cursor.C (getStatus): replace ASSERT by more verbose error message
46           and manual correction of the problem. Should increase stability
47           while providing more sensible information.
48
49 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
50
51         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
52
53         * bufferlist.C (previous, next): new methods
54
55         * lfuns.h: 
56         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
57
58 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
59
60         * buffer.C (makeDocBookFile): add dsssl stylesheet control
61         entities to preamble.
62
63 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
64
65         * messages.C (Pimpl): strip off translation context information
66
67 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
70         the cursor is correct (bug 1694)
71
72 2004-10-13  José Matos  <jamatos@lyx.org>
73
74         * output_docbook.C (docbookParagraphs): fix closing tags in the
75         end of the document. 
76
77 2004-10-09  José Matos  <jamatos@lyx.org>
78
79         * buffer.C: format up to 237.
80         * bufferparams.C (write): use tostr to convert booleans to strings.
81         
82 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
83
84         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
85
86 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * LaTeX.C: implement use of babel language in xindy.
89
90 2004-10-05  José Matos  <jamatos@lyx.org>
91
92         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
93         Add new translators to help reading and writing the lyx file.
94
95 2004-10-05  José Matos  <jamatos@lyx.org>
96
97         * ParagraphParameters.C (read):
98         * text.C (readParToken): replace nexToken by more appropriate lex
99         methods.
100
101 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
102
103         * LaTeX.C (runMakeIndex):
104         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
105         (usually 'makeindex') configurable.
106
107         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
108         with a variable rather than with a number.
109
110 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * output_latex.C (TeXOnePar): make sure font setting is the first
113         thing that gets output (and the last at the end). Should fix bug
114         1404.
115
116 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
117
118         * pch.h: use proper signal include
119
120         * LaTeX.h: Use preferred calling of Boost.Signal
121         * buffer.h: ditto
122
123 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
124
125         * pch.h: dont include <boost/function/function0.hpp>
126
127         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
128
129         * paragraph_pimpl.h: remove usage of ShareContainer
130
131         * paragraph_pimpl.C: remove initialization of ShareContainer.
132
133 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         Fix bug #1666
136
137         * BufferView.C (putSelectionAt): change the semantics when
138         backwards == true: now, this just swaps cursor and anchor wrt the
139         forward case
140
141         * BufferView.h (putSelectionAt): add some documentation
142
143         * lyxfind.C (findBackwards): rewrite using while(). In particular,
144         make sure backwardChar is done at least once (to avoid getting
145         stuck)
146         (findNextChange): use putSelectionAt in the forward direction
147         (operator()): use Paragraph::isWord
148
149 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
150
151         * Spacing.C (set): c_str fix
152
153 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * lyx_cb.C (Reconfigure): quote the name of configure script in
156         case it contains spaces
157
158 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
159
160         * client: new dir
161
162         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
163         (BOOST_LIBS): use top_buildir when looking for the file
164
165 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
166
167         * pch.h: do not use include boost/format.hpp, multiple symbols
168                 will result (gcc bug)
169
170
171 2004-08-23  José Matos  <jamatos@lyx.org>
172
173         * bufferparams.C (readToken): fix reading of the author field.
174
175 2004-08-20  José Matos  <jamatos@lyx.org>
176
177         * lyxrc.C: remove support/translator.h inclusion since it is not used.
178
179 2004-08-20  José Matos  <jamatos@lyx.org>
180
181         * lyxlex.[Ch] (findToken): remove function.
182
183         * ParagraphParameters.C (findToken):
184         * bufferparams.C (findToken): replace call for previous function
185         with local copy. This local function has one more argument, the
186         read string argument.
187
188 2004-08-16  José Matos  <jamatos@lyx.org>
189
190         * ParagraphParameters.C (write):
191         * Spacing.C (writeFile):
192         * bufferparams.C (writeLaTeX):
193         * lyx_cb.C (Reconfigure):
194         * paragraph.C (write):
195         * tabular.C (write): remove unnecessary space at end of line.
196
197
198 2004-08-16  José Matos  <jamatos@lyx.org>
199
200         * text.C (readParagraph): remove debug message.
201
202 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
205         crash
206
207         * output_plaintext.C (asciiParagraph): set depth correctly
208
209         * outputparams.h: add member depth
210
211         * paragraph_funcs.C (ownerPar): remove.
212
213         * text2.C (setCounter): remove first_pit; comment out some
214         non-working code that uses ownerPar
215
216         * BufferView.C (getParentLanguage): remove. Not used anymore, and
217         uses ownerPar
218
219 2004-08-16  José Matos  <jamatos@lyx.org>
220
221         * text.C (readParToken, readParagraph, read): report all unknown tokens.
222         For the same level of importance use the same chanel to report problems.
223         (read): add code to deal with \begin_body and \end_body.
224
225
226 2004-08-15  José Matos  <jamatos@lyx.org>
227
228         * lyxlex.C (getString): fix comment, buffer::readBody is now
229         buffer:readDocument.
230
231         * tex-strings.C (string_papersize): Default -> default,
232         Custom -> custom, for consistency with other options.
233
234 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
235
236         * pch.h: new file
237
238         * Makefile.am: support pch
239
240 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * text.C (readParToken): remove the static LyXFont variable and
243         pass it as a parameter instead. This fixes a nasty bug where an
244         inset will be inserted with a bad font in some situations
245         (readParagraph): adapt
246
247         * text2.C (setCounter): reduce number of calls to pars_[pit]
248
249         * text.C (singleWidth): add an assert, fix a test
250
251         * rowpainter.C (paintText): reduce number of calls to singleWidth
252
253         * paragraph.C (isHfill):
254         (isNewline): ws only
255
256 2004-08-14  André Pönitz  <poenitz@gmx.net>
257
258         * text.C:
259         * text2.C:
260         * rowpainter.C:
261         * lyxtext.h (several functions): use a Paragraph & argument
262         instead of par_type
263
264 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * metricsinfo.h: add a new field ltr_pos to PainterInfo
267
268         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
269
270         * text.C (singleWidth): remove useless test
271
272 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * tabular.h: remove bogus comments
275
276         * tabular.C (getDescentOfRow):
277         (isPartOfMultiColumn): add assertions
278
279         * lyxlength.C (inPixels): remove #warning
280
281 2004-08-14  André Pönitz  <poenitz@gmx.net>
282
283         * paragraph.h: inline getChar()
284
285         * BufferView.h: remove unused declarations
286
287 2004-08-14  José Matos  <jamatos@lyx.org>
288
289         * Buffer.[Ch] (readDocument): new name for old readBody.
290         * Buffer.C: new file format, new keywords: \begin_document,
291         \begin_header, \begin_body, \end_body.
292
293         * bufferparams.C (readToken): replace all calls to lex.nextToken
294         by lex.next(). Do the same to eatLine except where really needed.
295
296         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
297         line when writing to the lyx file.
298
299         * output_plaintext.C (asciiParagraph): fix Bibliography style
300         handling.
301
302         * text.C (read): fix end of file handling.
303
304 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * MenuBackend.C (Menu::operator[]): new method to access
307         individual menu items
308         (Menu::hasFunc): new method. search for an item that corresponds
309         to a given func
310         (MenuBackend::specialMenu): new method
311         (MenuBackend::expand): if a special menu has been set, skip
312         entries whose func() appears in this menu
313
314 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
315
316         * text3.C: use Debug::DEBUG a bit more
317
318         * text.C (leftMargin): try to simplify a tiny bit change var x to
319         l_margin. Dont output the wide margins always.
320         (rightMargin): no margin in inner texts
321
322         * rowpainter.h (nestMargin): new func
323         (changebarMargin): new func
324         (rightMargin): new func
325
326         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
327         now functions.
328         (paintLast): ditto
329
330         * factory.C (createInset): modify setDrawFrame
331
332         * cursor.C: use Debug::DEBUG a bit more
333
334 2004-08-14  André Pönitz  <poenitz@gmx.net>
335
336         * coordcache.[Ch]:
337         * Makefile.am: new files to accomodate an 'external' (x,y)-position
338         cache for all insets in (at least partially) visible (top-level)
339         paragraphs.
340
341         * BufferView_pimpl.C: reset external coord cache before every update.
342         This means the coord cache only contains valid entries.
343
344 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
345
346         bug 1096
347         * BufferView_pimpl.C (getInsetByCode): move function out of class
348         and change in to a template in anon namespace. Also fix to do what
349         suits us better.
350
351 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
352
353         bug 1305
354         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
355         of char
356         (breakParagraph): rename par to par_offset and use a local
357         reference. Add code to keep the language over a rebreak.
358         (breakParagraphConservative): rename par to par_offset, use a
359         local reference
360         (mergeParagraph): ditto
361         (outerHook): ditto
362         (isFirstInSequence): ditto
363         (outerFont): rename pit to par_offset
364
365         * paragraph.C: ws change
366         * paragraph.h: ditto
367         * text3.C: ditto
368         * text.C: ditto
369
370 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
371
372         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
373         treatment for ']'
374
375         * paragraph.C (simpleTeXOnePar): when we have a \item with
376         optional argument, enclose the argument with curly brackets (in
377         case it contains a closing square bracket)
378
379         * text2.C (editXY):
380         * text2.C (editXY):
381         * text3.C (checkInsetHit): constify
382
383 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
386         documents (bug 1629)
387
388 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
389
390         Fix toggling of collapsable insets with the mouse (bug 1558)
391
392         * lyxfunc.C (dispatch): adapt to LCursor changes
393
394         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
395         make sure that dispatch is not invoked twice
396
397         * cursor.C (needsUpdate): new method
398         (dispatch): return void
399         (result): new method, to access the DispatchResult of the cursor.
400
401 2004-08-13  José Matos  <jamatos@lyx.org>
402
403         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
404
405 2004-08-13  André Pönitz  <poenitz@gmx.net>
406
407         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
408
409         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
410           multiple cells
411
412 2004-08-12  André Pönitz  <poenitz@gmx.net>
413
414         * text3.C: take out the 'cursor right' form insertInset and only
415         do it in those places when it is really needed. Fixes crash on
416         C-m...
417
418 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
421
422         * BufferView_pimpl.C (setBuffer): initialize the current font of
423         the underlying LyXText
424
425 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * kbsequence.C (print): use UI native formatting for menu
428         shortcuts
429
430         * text.C (insertChar): call Paragraph::insertChar with a font
431         argument (cosmetic)
432
433         * paragraph.C (insertInset, insertChar): the version that takes a
434         LyXFont argument is now a wrapper around the other one (the
435         opposite used to be true).
436
437         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
438         argument. Font setting is done in Paragraph now.
439
440 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * outputparams.h: add new members intitle and lang.
443
444         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
445         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
446
447 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
448
449         * text3.C (dispatch): remove special handling of button 4 and 5,
450         it is now taken care of in the frontend code.
451
452 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
453
454         * Spacing.h: add <string> (STLPort compile fix)
455
456 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
457
458         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
459
460 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
461
462         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
463         to bool.
464
465         * converter.C (showMessage): inherit from unary_function, make
466         operator() const.
467
468         * buffer.C (writeFile): initialize retval
469
470         * InsetList.h: rename private variable list to list_
471         * InsetList.[Ch]: adjust accordingly.
472
473 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
474
475         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
476         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
477         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
478         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
479         * ParagraphParameters.C, LaTeXFeatures.C: replace
480         "support/std_sstream.h" with <sstream>
481
482 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
483
484         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
485         * lyxsocket.C (LyXServerSocket): ditto
486         (serverCallback): ditto
487
488 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
489
490         * LaTeXFeatures.C: check release date when loading jurabib.
491
492 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
493
494         * lyxserver.C (startPipe): call register_socket_callback
495         (endPipe): call unregister_socket_callback
496
497 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
498
499         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
500         (LyXServerSocket): register the callback
501         (LyXServerSocket): unregister the callback
502         (fd): delete function
503         (serverCallback): improve error checking and setup the callbacks.
504         (dataCallback): change arg to fd.
505         (writeln): new func (copied fro the client socket) used for server
506         write to client.
507         (LyXDataSocket): simplify
508         (~LyXDataSocket): close ann unregiser callback
509         (server): delete function
510         (fd): delete function
511         (readln): small changes, improve some std::string usage
512         (writeln): constify a bit
513
514 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
517         Qt frontend
518
519 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
520
521         * BufferView_pimpl.C (setBuffer): set the layout combox value only
522         after it has been populated
523
524 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
525
526         * text2.C (insertInset): move cursor when inserting inset.
527
528 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
529
530         * kbmap.C (findbindings): a couple of new methods. returns a
531         container of kb_sequence objects. The real work is done by the
532         private recursive version
533         (printbindings): uses findbindings to print out a bracketed list
534         of bindings (renamed from findbinding).
535
536         * MenuBackend.C (binding): use kb_keymap::findbindings
537
538         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
539
540 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
541
542         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
543
544 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * paragraph.C (isWord): return true on insets that report
547         isLetter().
548
549         * text.C (getWord): use Paragraph::isWord to decide what is in a
550         word and what is not; fix bug 1609.
551
552 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
553
554         * tex-strings.C: add "none" to string_paperpackages[], fixes
555         off-by-one-error in the paperpackage selection.
556
557         * lyxlex.[Ch]:
558         * tex-strings.[Ch]: char const * string[n]
559         -> char const * const string[]
560
561 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
562
563         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
564         command, return early.
565
566 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
567
568         * debug.h: add DEBUG to enum and fix size of ANY.
569
570         * debug.C: add support for Debug::DEBUG
571         (showTags): cast errorTags.level to unsigned int
572
573         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
574         (redoCurrentBuffer): ditto
575         (updateScrollbar): ditto
576         * cursor.C (dispatch): ditto
577         * text2.C (setLayout): ditto
578         (setFont): ditto
579         (updateCounters): ditto
580         (editXY): ditto
581         (deleteEmptyParagraphMechanism): ditto
582
583 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
584
585         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
586         annotations to cleanup the Makefile slightly.
587
588 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
589
590         * lyxrc.C: do not set user_email to a default value but use empty
591         instead. The entry used to be translated, which does not work
592         since at the point where lyxrc is constructed there is no
593         translation service available
594
595         * messages.C (getLocaleDir): remove and use directly
596         lyx_localedir() instead
597
598 2004-06-02  Angus Leeming  <leeming@lyx.org>
599
600         Fix crash caused by dereferencing null pointer 'exportdata' in
601         OutputParams by creating a new ExportData variable on the heap,
602         storing it in a boost::shared_ptr.
603         The crash was triggered when generating an Instant Preview
604         of an external inset.
605
606         * Makefile.am: add outputparams.C
607
608         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
609         (c-tor): allocate memory to it.
610
611         * exporter.C (c-tor): associated changes.
612
613 2004-06-01  Angus Leeming  <leeming@lyx.org>
614
615         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
616         contains data before calling isInset(0). (Bug 1513.)
617
618 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
619
620         * exporter.C (checkOverwrite): new method
621         * exporter.C (copyFile): new method
622         * exporter.C (Export): copy referenced files to the document dir
623         * exporter.[Ch]: new class ExportedFile
624         * exporter.[Ch]: new class ExportData. Contains currently the
625         names of referenced external files
626         * outputparams.h: add exportdata member.
627
628 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
629
630         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
631         version.C-tmp
632
633 2004-05-19  Angus Leeming  <leeming@lyx.org>
634
635         * LaTeXFeatures.C:
636         * ToolbarBackend.C:
637         * bufferparams.C:
638         * lyxfunc.C: small changes due to the introduction of namespace
639         lyx::frontend and the moving of namespace biblio to lyx::biblio.
640
641 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
642
643         * text3.C (dispatch): supress update when only moving the cursor
644         * cursor.C (selHandle): remove commented code
645
646 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
647
648         * paragraph.C (startTeXParParams): correct column count
649         * CutAndPaste.C (pasteSelection): remove const_cast
650         * output_docbook.C (docbookParagraphs): remove const_cast
651         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
652         const_cast and return ParagraphList::const_iterator
653         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
654         * output_plaintext.C (writeFileAscii): remove const_cast
655         * paragraph.[Ch] (simpleTeXOnePar): make const
656         * paragraph_funcs.C (outerPar): use const iterators
657         * paragraph_pimpl.C (validate): use const iterators
658         * text.C (setHeightOfRow): use const iterators
659
660 2004-05-17  Angus Leeming  <leeming@lyx.org>
661
662         * lfuns.h:
663         * LyXAction.C (init): new LFUN_INSET_REFRESH.
664
665         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
666         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
667         if the citation engine has changed.
668
669 2004-05-14  José Matos  <jamatos@lyx.org>
670
671         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
672         if the textclass does not provide it. Have it different for sgml and
673         xml.
674         support the language of document.
675         * output_docbook.C (docbookParagraphs):
676         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
677         first anchor as the id of the paragraph, remove special case code.
678         * sgml.C (escapeChar): escape only < & >.
679
680 2004-05-14  Angus Leeming  <leeming@lyx.org>
681
682         * bufferparams.h: move biblio::CiteEngine enum here to minimize
683         dependencies on src/frontends/controllers/biblio.h. Define a
684         CiteEngine_enum wrapper class to enable the enum to be forward
685         declared.
686
687 2004-05-12  Angus Leeming  <leeming@lyx.org>
688
689         * buffer.C: up LYX_FORMAT to 234.
690         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
691         use_numerical_citations with a single biblio::CiteEngine cite_engine
692         variable.
693         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
694
695 2004-05-13  José Matos  <jamatos@lyx.org>
696
697         * converter.h:
698         * converter.C (Converter, readFlags): add xml member.
699         * outputparams.h: add XML flavor.
700         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
701
702 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * lyxfunc.C (dispatch):
705         (getStatus): fix handling of LFUN_SEQUENCE
706
707 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * debug.C (showLevel): do not forget the end-of-line marker
710
711 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
712
713         * kbmap.C (read): do not stop parsing a bind file when an error
714         occurs (bug 1575)
715
716 2004-04-29  Angus Leeming  <leeming@lyx.org>
717
718         * cursor.C:
719         * factory.C:
720         * pariterator.C:
721         * text2.C: wrap a bunch of #warning statements
722         inside #ifdef WITH_WARNINGS blocks.
723
724 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
725
726         * buffer.C: increment format to 233.
727
728 2004-04-28  Angus Leeming  <leeming@lyx.org>
729
730         * BufferView_pimpl.C:
731         * lyxfunc.C:
732         * text3.C:
733         s/updateToolbar()/updateToolbars()/
734         s/Toolbar.h/Toolbars.h/
735
736 2004-04-28  Angus Leeming  <leeming@lyx.org>
737
738         * BufferView.[Ch] (c-tor):
739         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
740         No longer passes these data to the WorkArea generator.
741
742 2004-04-28  Angus Leeming  <leeming@lyx.org>
743
744         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
745
746 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
747
748         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
749
750 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
751
752         * output_latex.C (TeXEnvironment): make sure that there is a line
753         break before \end{foo} for the last paragraph of a document
754         (TeXOnePar): if the paragraph is at the end of the document (or
755         inset) and the language has to be reset, then make sure that the
756         line break is _before_ the language command, not after (fixes bug
757         1225); also make sure that the language reset command is the first
758         thing after the paragraph (to ensure proper nesting of
759         environments and thus fix bug 1404)
760
761 2004-04-21  John Levon  <levon@movementarian.org>
762
763         * ToolbarBackend.h:
764         * ToolbarBackend.C: make "name" be a programmatic name
765         and a gui_name field.
766
767         * lyxfunc.C: display the minibuffer on M-x
768
769 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
770
771         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
772         (bug 1526)
773
774 2004-04-19  Angus Leeming  <leeming@lyx.org>
775
776         * BufferView_pimpl.C (setBuffer): changed preview interface.
777
778         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
779         possible values.
780
781 2004-04-19  John Levon  <levon@movementarian.org>
782
783         * BufferView_pimpl.C:
784         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
785
786 2004-04-05  Angus Leeming  <leeming@lyx.org>
787
788         * text.C (redoParagraphs): add call to updateCounters(), thereby
789         fixing the missing "Figure #:" label from the caption of a
790         figure float.
791
792 2004-04-13  Angus Leeming  <leeming@lyx.org>
793
794         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
795         cursor is clicked out of an inset.
796
797 2004-04-13  Angus Leeming  <leeming@lyx.org>
798
799         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
800         than an InsetOld one.
801
802 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
803
804         * format.[Ch]: add editor to Format
805         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
806         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
807
808 2004-04-08  André Pönitz  <poenitz@gmx.net>
809
810         * metricsinfo.h: remove PainterInfo::width member
811
812 2004-04-08  Angus Leeming  <leeming@lyx.org>
813
814         * lyx_sty.C (boldsymbol_def): modify so that it outputs
815         "\providecommand" rather than "\newcommand", thereby preventing
816         clashes with packages that define "\boldsymbol" themselves.
817         Eg, beamer.
818
819 2004-04-08  Angus Leeming  <leeming@lyx.org>
820
821         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
822         thereby squashing an unnecessary warning.
823
824 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
825
826         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
827         setBuffer()
828
829 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
830
831         * BufferView.C (setCursor): call redoParagraph (some insets could
832         have been opened)
833         (putSelectionAt): remove the 'double update' trick
834
835         * BufferView_pimpl.C (fitCursor): call refreshPar
836         (workAreaDispatch): remove an uneeded update call
837         (dispatch): remove some manual update calls
838
839         * cursor.[Ch]: remove cached_y_, updatePos
840         (selHandle): set noUpdate when appropriate
841
842         * lyxfunc.C (dispatch): track if we need an update
843
844         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
845
846         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
847         (paintSelection): cheap optimization, do not call cursorX when not
848         needed
849         (paintPars): change signature
850         (refreshPar): add
851         (paintText): adjust
852         (paintTextInset): adjust
853
854         * text.C: adjust
855
856 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
857
858         * lengthcommon.C: compilation fix: remove explicit array size from
859         unit_name[] and friends
860
861 2004-04-05  Angus Leeming  <leeming@lyx.org>
862
863         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
864
865         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
866         present only for the preferences dialog.
867         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
868
869 2004-04-05  Angus Leeming  <leeming@lyx.org>
870
871         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
872         to enable the frontends to export changes to lyxrc correctly.
873
874         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
875
876 2004-04-07  André Pönitz  <poenitz@gmx.net>
877
878         * cursor.[Ch] (selClear, adjust): remove math
879
880         * cursor_slice.C: more agressive assert
881
882         * lyxfunc.C:
883         * BufferView_pimpl.C: rework mouse event dispatch
884
885         * dociterator.C:
886         * paragraph.C:
887         * text2.C:
888         * text3.C: adjust
889
890 2004-04-05  André Pönitz  <poenitz@gmx.net>
891
892         * cursor.[Ch] (valign, halign...): remove unneeded functions
893
894 2004-04-05  Angus Leeming  <leeming@lyx.org>
895
896         * lyxlength.[Ch] (unit_name et al.): const-correct.
897
898 2004-04-05  Angus Leeming  <leeming@lyx.org>
899
900         * BufferView_pimpl.C:
901         * buffer.C:
902         * counters.C:
903         * cursor.C:
904         * lyxfunc.C
905         * paragraph.C:
906         * pariterator.C:
907         * text.C:
908         * text2.C:
909         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
910
911 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
912
913         * text3.C (getStatus): add LFUN_BEGINNINGBUF
914
915 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
916
917         * lyxfind.C: add a couple of inTexted() tests + other small fixes
918         * BufferView_pimpl.[Ch] (getStatus)
919         * BufferView.[Ch] (getStatus): add
920         * lyxfunc.C (getStatus): move lfuns handled in
921         BufferView::dispatch to te function above
922         * Cursor.C (setSelection): set selection() = true
923
924 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
927
928 2004-03-31  Angus Leeming  <leeming@lyx.org>
929
930         * lyxfunc.C (dispatch): Fall through to the generic
931         Dialogs::show("preamble").
932
933 2004-03-31  Angus Leeming  <leeming@lyx.org>
934
935         * lyxfunc.C (dispatch): Fall through to the generic
936         Dialogs::show("spellchecker").
937
938 2004-03-31  Angus Leeming  <leeming@lyx.org>
939
940         * lyxfunc.C (getStatus, dispatch): changed invocation of the
941         preferences dialog.
942
943 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
944
945         * BufferView.C
946         * cursor.[Ch]
947         * dociterator.[Ch]:
948         * insetiterator.[Ch]:
949         * lyxfind.C:
950         * lyxfunc.C:
951         * pariterator.[Ch]:
952         * text2.C:
953         * undo.[Ch]: s/DocumentIterator/DocIterator/g
954
955 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
956
957         * BufferView.C (setCursor, putSelectionAt): call edit to open the
958         insets where we are putting the cursor.
959
960 2004-03-31  Angus Leeming  <leeming@lyx.org>
961
962         * lfuns.h:
963         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
964
965         * lyxrc.[Ch] (read, write): overloaded member functions taking
966         a std::[io]stream arguments.
967
968         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
969
970 2004-03-31  Angus Leeming  <leeming@lyx.org>
971
972         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
973         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
974
975         * lyxtextclass.C (load): if the text class couldn't be loaded, then
976         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
977
978 2004-03-31  Angus Leeming  <leeming@lyx.org>
979
980         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
981         the LFUN_ALL_INSETS_TOGGLE code.
982
983 2004-03-30  Angus Leeming  <leeming@lyx.org>
984
985         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
986         has died. Fall through to the generic Dialogs::show("document").
987
988 2004-03-30  Angus Leeming  <leeming@lyx.org>
989
990         * lfuns.h:
991         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
992         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
993
994         * lyxfunc.C (getStatus, dispatch): define the actions for these
995         lfuns. Little more than a cut and pste job from ControlDocument.C
996
997         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
998
999 2004-03-30  Angus Leeming  <leeming@lyx.org>
1000
1001         * lfuns.h:
1002         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1003         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1004
1005         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1006         open/closed state of ollapsable insets. Usage:
1007
1008         all-inset-toggle <state> <name>, where
1009         <state> == "open" || "closed" || "toggle" and
1010         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1011
1012         * lyxtext.h, text2.C (toggleInset): removed.
1013
1014         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1015         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1016         now passes LFUN_INSET_TOGGLE to the found inset.
1017
1018         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1019         is now invoked as "all-insets-toggle toggle branch".
1020
1021 2004-03-30  Angus Leeming  <leeming@lyx.org>
1022
1023         * dociterator.C:
1024         * insetiterator.C:
1025         * pariterator.[Ch]: added/corrected header blurb.
1026
1027 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1028
1029         * dociterator.[Ch]: add an inset_ member
1030         (backwardPos): implemented
1031         (backwardPos, forwardPos): use inset_ when the stack is empty.
1032         (doc_iterator_begin, doc_iterator_end): implemented
1033         * pariterator.[Ch]: adjust, add begin, end
1034         * insetiterator.[Ch]: adjust, add begin, end
1035         * cursor.C:
1036         * document.C:
1037         * BufferView.C:
1038         * BufferView_pimpl.C:
1039         * CutAndPaste.C: adjust
1040
1041 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1042
1043         * buffer.C: increment file format to 232.
1044         * LaTeXFeatures.C: add bibtopic package.
1045         * bufferparams.[Ch]: param \use_bibtopic.
1046
1047         * lyxrc.[Ch]: add lyxrc bibtex_command
1048         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1049
1050         * buffer.C: increment file format to 231.
1051
1052 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1053
1054         * dociterator.C: implement forwardPar
1055         * iterators.[Ch]: remove, replaced by
1056         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1057         * BufferView.C:
1058         * BufferView_pimpl.C:
1059         * CutAndPaste.C:
1060         * buffer.C:
1061         * bufferview_funcs.C:
1062         * cursor.C:
1063         * lyxfind.C
1064         * lyxfunc.C
1065         * paragraph_funcs.C
1066         * toc.C:
1067         * Makefile.am: adjust
1068
1069 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1070
1071         * CutAndPaste.C (pasteSelection): fix 2 crashes
1072         (eraseSelection): fix a crash
1073         * paragraph_funcs.C: remove a warning
1074
1075 2004-03-28  Angus Leeming  <leeming@lyx.org>
1076
1077         * lfuns.h:
1078         * LyXAction.C (init): new LFUN_PRINT.
1079
1080         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1081
1082 2004-03-27  Angus Leeming  <leeming@lyx.org>
1083
1084         * lfuns.h:
1085         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1086
1087         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1088
1089 2004-03-27  Angus Leeming  <leeming@lyx.org>
1090
1091         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1092         insetlist always contains non-null pointers to insets.
1093
1094 2004-03-26  Angus Leeming  <leeming@lyx.org>
1095
1096         * src/BufferView_pimpl.C:
1097         * src/CutAndPaste.C:
1098         * src/buffer.C:
1099         * src/iterators.C:
1100         * src/output_plaintext.C:
1101         * src/outputparams.h:
1102         * src/paragraph_funcs.C:
1103         * src/rowpainter.C:
1104         * src/text.C:
1105         * src/text2.C:
1106         * src/frontends/controllers/ControlErrorList.C:
1107         * src/frontends/gtk/FileDialogPrivate.C:
1108         * src/frontends/gtk/GPainter.C:
1109         * src/frontends/gtk/GToolbar.C:
1110         * src/frontends/qt2/QRef.C:
1111         * src/mathed/math_scriptinset.C: squash compiler warnings.
1112
1113 2004-03-26  Angus Leeming  <leeming@lyx.org>
1114
1115         * ispell.C (LaunchIspell::start):
1116         * lyx_cb.C (AutoSaveBuffer::start):
1117         invoke run(DontWait) rather than runNonBlocking().
1118
1119 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1120
1121         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1122
1123 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1124
1125         * kbsequence.C (print): adjust
1126
1127         * kbmap.C (printKeySym): rename and change signature
1128         (printKey): use LyXKeySym::print()
1129
1130 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1131
1132         * undo.C: add using std::advance to compile for stlport
1133
1134 2004-03-24  Angus Leeming  <leeming@lyx.org>
1135
1136         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1137         it leads to a crash when no buffer is present.
1138
1139 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1140             Martin Vermeer  <martin.vermeer@hut.fi>
1141
1142         * lyxfunc.C (dispatch):
1143         * bufferparams.C (readToken): use the new LColor::setColor
1144
1145         * LColor.[Ch] (setColor): new version that takes two strings as
1146         argument and creates a new color entry if necessary
1147
1148 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1149
1150         * buffer.C (makeLaTeXFile): if the main latex file that is
1151         processed is usually a subdocument of some master, then pretend
1152         for a while that it is actually the master
1153
1154 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1155
1156         * buffer.C (getLabelList):
1157         (getBibkeyList): use getMasterBuffer()
1158         (getMasterBuffer): new method. Returns the main document in the
1159         case where one is using included documents.
1160
1161 2004-03-25  André Pönitz  <poenitz@gmx.net>
1162
1163         * Makefile.am:
1164         * iterators.[Ch]:
1165         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1166
1167         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1168
1169         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1170         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1171
1172         * ParameterStruct.h: merge with ParagraphParameters
1173
1174         * lyxtext.h: remove LyXText::parOffset() and getPar()
1175
1176         * text3.C: Remove all 'manual' update calls. We do now one per user
1177         interaction which is completely sufficient.
1178
1179         * Bidi.C:
1180         * BufferView.[Ch]:
1181         * BufferView_pimpl.C:
1182         * FontIterator.[Ch]:
1183         * MenuBackend.C:
1184         * ParagraphParameters.[Ch]:
1185         * buffer.C:
1186         * buffer.h:
1187         * bufferlist.C:
1188         * cursor.[Ch]:
1189         * cursor_slice.[Ch]:
1190         * dociterator.[Ch]:
1191         * errorlist.[Ch]:
1192         * factory.C:
1193         * lfuns.h:
1194         * lyxfind.C:
1195         * lyxfunc.C:
1196         * output_docbook.[Ch]:
1197         * output_latex.[Ch]:
1198         * output_linuxdoc.[Ch]:
1199         * output_plaintext.[Ch]:
1200         * paragraph.[Ch]:
1201         * paragraph_funcs.[Ch]:
1202         * paragraph_pimpl.[Ch]:
1203         * rowpainter.C:
1204         * tabular.[Ch]:
1205         * text.C:
1206         * text2.C:
1207         * toc.C:
1208         * undo.[Ch]: adjust
1209
1210         * frontends/controllers/ControlDocument.C:
1211         * frontends/controllers/ControlErrorList.C:
1212         * frontends/controllers/ControlSpellchecker.C:
1213         * insets/inset.C:
1214         * insets/inset.h:
1215         * insets/insetbase.h:
1216         * insets/insetbibitem.C:
1217         * insets/insetbox.C:
1218         * insets/insetbranch.C:
1219         * insets/insetcaption.C:
1220         * insets/insetcharstyle.C:
1221         * insets/insetcharstyle.h:
1222         * insets/insetcollapsable.C:
1223         * insets/insetcollapsable.h:
1224         * insets/insetert.C:
1225         * insets/insetfloat.C:
1226         * insets/insetfoot.C:
1227         * insets/insetmarginal.C:
1228         * insets/insetnote.C:
1229         * insets/insetoptarg.C:
1230         * insets/insettabular.C:
1231         * insets/insettext.C:
1232         * insets/insettext.h:
1233         * insets/insetwrap.C:
1234         * mathed/math_mboxinset.C:
1235         * mathed/math_nestinset.C:
1236         * mathed/math_scriptinset.C:
1237         * mathed/math_scriptinset.h:
1238         * support/types.h:
1239
1240 2004-03-24  Angus Leeming  <leeming@lyx.org>
1241
1242         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1243         deal with any child processes that have finished but are waiting to
1244         communicate this fact to the rest of LyX.
1245
1246 2004-03-24  Angus Leeming  <leeming@lyx.org>
1247
1248         64-bit compile fixes.
1249
1250         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1251         (c-tor): pass lyx::pos_types rather than ints.
1252
1253         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1254         lyx::pos_type.
1255
1256         * text.C (Delete): compile fix.
1257         (getPar): ensure that function declaration is the same as that in
1258         the header file.
1259
1260 2004-03-23  Angus Leeming  <leeming@lyx.org>
1261
1262         * ispell.C (LaunchIspell):
1263         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1264         a boost::shred_ptr rather than a std::auto_ptr.
1265
1266 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1267
1268         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1269         handle LFUN_FILE_INSERT_*
1270
1271         * lyxrc.C (setDefaults, getDescription, output, read):
1272         * lyxrc.h: remove ps_command
1273
1274 2004-03-22  Angus Leeming  <leeming@lyx.org>
1275
1276         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1277         Ensure that error_handler is processed once only and that all data
1278         is saved before attempting to output any warning messages.
1279
1280         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1281
1282 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1283
1284         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1285
1286 2004-03-19  André Pönitz  <poenitz@gmx.net>
1287
1288         * cursor.[Ch] (reset): take main text inset as argument
1289
1290         * BufferView: adjust
1291         * BufferView_pimpl.C: adjust
1292
1293         * paragraph.[Ch]: fix completely broken operator=()
1294
1295 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1296
1297         * LColor.C (getFromLyXName): make sure that the color name is used
1298         as lowercase.
1299
1300 2004-03-17  Angus Leeming  <leeming@lyx.org>
1301
1302         * lfuns.h:
1303         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1304
1305         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1306         dialog and to kill a forked process.
1307
1308 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1309
1310         * text2.C (setCursorFromCoordinates): fix font problem
1311
1312 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1313
1314         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1315         bogus "rebuild cursor" code
1316
1317 2004-03-11  André Pönitz  <poenitz@gmx.net>
1318
1319         * buffer.[Ch]: use InsetText instead of LyXText as container for
1320         the main lyx text.
1321
1322         * dociterator.[Ch]: drop the BufferView * member which is not needed
1323         anymore after the change to buffer.C
1324
1325         * paragraph_funcs.C:
1326         * text.C:
1327         * text2.C:
1328         * BufferView.[Ch]:
1329         * BufferView_pimpl.[Ch]:
1330         * cursor.[Ch]:
1331         * cursor_slice.[Ch]: adjust
1332
1333         * text3.C: fix bug in mathDispatch
1334
1335 2004-03-08  André Pönitz  <poenitz@gmx.net>
1336
1337         * undo.[Ch]: use 'StableDocumentIterator' as base for
1338         the Undo struct.
1339
1340 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1341
1342         * LaTeXFeatures.C:
1343         * bufferparams.[Ch]: add jurabib support and param.
1344
1345         * LaTeX.C: add FIXME/comment.
1346
1347 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1348
1349         * buffer.C: increment file format to 230.
1350
1351 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1352
1353         * cursor.C (dispatch): avoid infinite loops
1354
1355 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1356
1357         * rowpainter.C (paintSelection): fix x coordinates
1358
1359 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1360
1361         * text.C (rowBreakPoint): fix breaking before displayed insets
1362
1363 2004-03-01  André Pönitz  <poenitz@gmx.net>
1364
1365         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1366
1367         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1368
1369         * Makefile.am:
1370         * BufferView.C:
1371         * BufferView_pimpl.C:
1372         * buffer.C:
1373         * lyxfind.C:
1374         * lyxfunc.C:
1375         * text.C:
1376         * text2.C:
1377         * text3.C: adjust
1378
1379 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1380
1381         * lyxtext.h:
1382         * text.C:
1383         * text2.C:
1384         * rowpainter.C:
1385         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1386         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1387
1388 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1389
1390         * Bidi.[Ch] (computeTables): const correctness
1391         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1392         fill_hfill, fill_label_hfill and x from Row
1393         * lyxtext.h: prepareToPrint returns a RowMetrics
1394         * rowPainter.C: adjust
1395         * text.C (prepareToPrint): use width, not textWidth. adjust
1396         (redoParagraphInternal, cursorX): adjust
1397         * text2.C (getColumnNearX): adjust
1398         (init): put a default value to the top LyXText::width
1399
1400 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1401
1402         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1403
1404 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1405
1406         * lyxtext.h: add FontIterator class
1407
1408         * text.C (FontIterator, operator*, operator->, operator++): add
1409         (rowBreakPoint, setRowWidth): adjust (fixing a
1410         rebreaking bug)
1411
1412 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1413
1414         * BufferView_pimpl.C (workAreaDispatch): allow also
1415         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1416
1417 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1418
1419         * text.C (rowBreakPoint): fix a bug showing with very large insets
1420
1421 2004-02-25  André Pönitz  <poenitz@gmx.net>
1422
1423         * text3.C:
1424         * cursor.[Ch]: move some mathed specific code to mathed
1425
1426 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1427
1428         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1429         use_tempdir in preferences
1430         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1431         tempfile creation
1432         * lyx_main.C: ensure that tempdir is valid
1433         * lyxlex.h: correct typo
1434         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1435         * paragraph.[Ch] (isMultiLingual): make const
1436         * cursor.[Ch] (openable): make const
1437
1438 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1439
1440         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1441
1442 2004-02-20  André Pönitz  <poenitz@gmx.net>
1443
1444         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1445
1446         * cursor.[Ch]: prepare for localized getStatus()
1447
1448         * lyxtext.h:
1449         * tabular.C:
1450         * text.C:
1451         * text2.C:
1452         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1453
1454 2004-02-20  André Pönitz  <poenitz@gmx.net>
1455
1456         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1457
1458 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1459
1460         * text2.C (setCursorFromCoordinates): switch to absolute coords
1461         (cursorUp): adjust
1462         (cursorDown): adjust
1463         * text3.C (dispatch): adjust
1464
1465 2004-02-16  André Pönitz  <poenitz@gmx.net>
1466
1467         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1468           insets/ChangeLog)
1469
1470         * cursor_slice.[Ch]: remove unneeded acessor function
1471
1472         * lyxtext.h: rename rtl() to isRTL()
1473
1474         * rowpainter.C:
1475         * tabular.C:
1476         * text.C:
1477         * text2.C:
1478         * text3.C: adjust
1479
1480 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1481
1482         * rowpainter.C (paintSelection): coord fix
1483
1484 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1485
1486         * Spacing.C: compile fix
1487
1488 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1489
1490         * cursor.C (dispatch): restore current_ before returning
1491
1492 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1493
1494         * text2.C (cursorUp, cursorDown): fix coords
1495         (moveUp): fix crash
1496
1497 2004-02-12  André Pönitz  <poenitz@gmx.net>
1498
1499         * lyxtext.h:
1500         * text.C:
1501         * text2.C:
1502         * text3.C: add LCursor & parameter to most cursor movement functions
1503           remove usage of LyXText::cursorRow() and cursorPar()
1504
1505         * cursor.[Ch]: add textRow() needed members
1506
1507         * BufferView.C:
1508         * BufferView_pimpl.C:
1509         * paragraph.[Ch]:
1510         * BufferView.C:
1511         * BufferView_pimpl.C: adjust
1512
1513 2004-02-11  André Pönitz  <poenitz@gmx.net>
1514
1515         * lyxfunc.C:
1516         * BufferView.[Ch]:
1517         * BufferView_pimpl.C: shift undo/redo handling
1518
1519         * cursor.[Ch]: fix mathed crash
1520
1521         * lyxfind.C:
1522         * lyxtext.h: move selectionAsText to LCursor
1523
1524         * output_latex.C:
1525         * paragraph.C:
1526         * text.C:
1527         * text2.C:
1528         * text3.C: adjust
1529
1530         * rowpainter.C: fix excessive drawing
1531
1532 2004-02-06  André Pönitz  <poenitz@gmx.net>
1533
1534         * BufferView.[Ch]:
1535         * BufferView_pimpl.[Ch]:
1536         * text3.C: move some text specific LFUN handling
1537
1538 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1539
1540         * text3.C (checkInsetHit): adjust coords
1541         * text2.C (getColumnNearX): adjust coords
1542         (edit): adjust coords
1543         * text.C (getRowNearY): add two asserts
1544
1545 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1546
1547         * converter.C:
1548         * format.C: add using std::distance to compile on gcc 2.95/stlport
1549
1550 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1551
1552         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1553
1554 2004-02-04  André Pönitz  <poenitz@gmx.net>
1555
1556         * BufferView.[Ch] (insertInset):
1557         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1558
1559         * text2.C:
1560         * text3.C: adjust
1561
1562 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1563
1564         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1565         on the default clause of the switch
1566         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1567         wasn't catched by LCursor::dispatch
1568
1569 2004-02-03  André Pönitz  <poenitz@gmx.net>
1570
1571         * BufferView.C:
1572         * cursor.[Ch]: some additional asserts
1573
1574         * undo.[Ch]: remove LyXText dependency in interface
1575
1576         * lyxfunc.C: adjust
1577
1578         * lyxtext.h (firstPar, lastPar): remove dead functions
1579
1580         * text.C:
1581         * text2.C:
1582         * text3.C:
1583         * paragraph.[Ch]: adjust
1584
1585 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1586
1587         * lyxfind.C (find): fix argument order in call to ::find
1588
1589 2004-02-02  André Pönitz  <poenitz@gmx.net>
1590
1591         * cursor.[Ch]: remove direct access to anchor
1592
1593         * text.C: remove findText() hack
1594
1595 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1596
1597         * iterators.[Ch] (lockPath): remove in favour of...
1598         * BufferView.[Ch] (setCursor): this addition
1599         * BufferView.C (putSelectionAt): adjust
1600         * undo.C (performUndoOrRedo): adjust
1601         * lyxfunc.C (dispatch): adjust
1602
1603 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1604
1605         * iterators.C (lockPath): add a missing slice
1606         * undo.C (performUndoOrRedo): remove redundant positioning code
1607
1608 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1609
1610         * vc-backend.C (scanMaster): ";" -> ';'
1611
1612 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1613
1614         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1615         std::binary_function
1616
1617         * lyxtextclass.C (compare_name): rename to...
1618         (LayoutNamesEqual): ...this
1619
1620         * lyxlex_pimpl.C (compare_tags): inherit from
1621         std::binary_function, put back into anon namespace
1622
1623         * lyxfind.C (MatchString): inherig from std::binary_function
1624         (findChange): use empty() istead of !size()
1625
1626         * format.C (FormatNamesEqual): new functor
1627         (getFormat): use it
1628         (getNumber): use it
1629         (add): use it
1630         (erase): use it
1631         (setViewer): use it
1632
1633         * converter.C (compare_Converter): rename to...
1634         (ConverterEqual): ...this, and fixup a bit.
1635         (getConverter): use it, and make function const
1636         (getNumber): use it, and make function const
1637         (add): use it
1638         (erase): use it:
1639
1640         * bufferlist.C: add using boost::bind
1641
1642         * MenuBackend.C (MenuNamesEqual): new functor
1643         (hasMenu): use it, and make function const
1644         (hasSubmenu): use nested bind to get rid of compare_memfun.
1645
1646 2004-01-30  André Pönitz  <poenitz@gmx.net>
1647
1648         * BufferView_pimpl.C:
1649         * cursor.C:
1650         * cursor.h:
1651         * cursor_slice.[Ch]:
1652         * lyxfunc.C:
1653         * lyxtext.h:
1654         * paragraph_funcs.C:
1655         * paragraph_funcs.h:
1656         * rowpainter.C:
1657         * text.C:
1658         * text2.C:
1659         * text3.C: move some of the edit(x,y) handling to the insets
1660         some coordinate changes.
1661
1662 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1663
1664         * text.C: add using statements for std::advance and std::distance
1665
1666         * paragraph.C: add using statement for std::distance
1667
1668         * lyxfind.C: add using statement for std::advance
1669
1670         * cursor.C (region): remove std:: from swap
1671         (openable): use nucleus in stead of operator->
1672
1673         * BufferView.C: add using statements for std::distance and std::swap
1674
1675 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1676
1677         * iterators.C: Remove the pimple, move the needed structures to
1678         the header file. Create accessor for the positions stack.
1679         (asPosIterator): remove function
1680
1681         * PosIterator.C (PosIterator): move constructors to top of file
1682         (PosIterator): reimplement the constructor taking a ParIterator in
1683         terms of setFrom.
1684         (setFrom): new function
1685         (operator!=): inline it
1686
1687 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1688
1689         * lyxfind.C (replaceAll): use std::advance
1690
1691         * iterators.h: inherit from std::iterator.
1692
1693         * PosIterator.C (advance, distance): remove
1694         * PosIterator.h: interit from std::iterator.
1695
1696 2004-01-26  André Pönitz  <poenitz@gmx.net>
1697
1698         * BufferView.[Ch]:
1699         * BufferView_pimpl.[Ch]:
1700         * InsetList.[Ch]:
1701         * PosIterator.[Ch]:
1702         * buffer.h:
1703         * bufferview_funcs.C:
1704         * cursor.[Ch]:
1705         * cursor_slice.h:
1706         * factory.[Ch]:
1707         * iterators.[Ch]:
1708         * lyxfind.C:
1709         * lyxfunc.C:
1710         * lyxtext.h:
1711         * output_docbook.C:
1712         * output_latex.C:
1713         * output_linuxdoc.C:
1714         * output_plaintext.C:
1715         * paragraph.[Ch]:
1716         * paragraph_funcs.[Ch]:
1717         * paragraph_pimpl.[Ch]:
1718         * rowpainter.C:
1719         * tabular.C:
1720         * tabular.h:
1721         * text.C:
1722         * text2.C:
1723         * text3.C: more IU:  dumps most of the rest of the mathcursor
1724     implementation into cursor.[Ch]; "globalize" a bit of it.
1725
1726 2004-01-25  Angus Leeming  <leeming@lyx.org>
1727
1728         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1729
1730 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1731
1732         * LaTeXFeatures.h: add nice_ and nice() const
1733         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1734
1735 2004-01-20  André Pönitz  <poenitz@gmx.net>
1736
1737         * BufferView.[Ch]:
1738         * BufferView_pimpl.C:
1739         * PosIterator.C:
1740         * bufferview_funcs.C:
1741         * cursor.[Ch]:
1742         * cursor_slice.[Ch]:
1743         * factory.C:
1744         * iterators.C:
1745         * lyx_cb.C:
1746         * lyxfind.C:
1747         * lyxfunc.C:
1748         * lyxtext.h:
1749         * rowpainter.C:
1750         * text.C:
1751         * text2.C:
1752         * text3.C:
1753         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1754           LCursor and mathcursor parts to LCursor and InsetBase.
1755
1756 2004-01-15  André Pönitz  <poenitz@gmx.net>
1757
1758         * cursor_slice.[Ch]: add a few covienience functions
1759
1760         * funcrequest.[Ch]: remove BufferView * member
1761
1762         * BufferView_pimpl.C:
1763         * cursor.C:
1764         * factory.[Ch]:
1765         * lyxfind.[Ch]:
1766         * lyxfunc.C:
1767         * lyxtext.h:
1768         * text3.C:
1769         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1770
1771 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1772
1773         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1774         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1775
1776 2004-01-13  André Pönitz  <poenitz@gmx.net>
1777
1778         * textcursor.[Ch]:
1779         * lyxtext.h: hide cursor and selection anchor behind accessor function
1780
1781         * BufferView.C:
1782         * BufferView_pimpl.[Ch]:
1783         * PosIterator.C:
1784         * bufferview_funcs.C:
1785         * cursor.h:
1786         * lyxfind.C:
1787         * lyxfunc.C:
1788         * text.C:
1789         * text2.C:
1790         * text3.C:
1791         * undo.C: adjust
1792
1793         * cursor.h:
1794         * cursor_slice.[Ch]: some integer type changes for inset unification
1795
1796         * lyxcursor.[hC]: remove, it's CursorSlice now.
1797
1798         * Makefile.am:
1799         * BufferView_pimpl.[Ch]:
1800         * bufferview_funcs.C:
1801         * cursor_slice.C:
1802         * lyxtext.h:
1803         * text.C:
1804         * text2.C:
1805         * text3.C:
1806         * textcursor.[Ch]: adjust
1807
1808 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1809
1810         * text2.C (undoSpan): add and use
1811         * text.C (breakParagraph): use undoSpan (fix bug 578)
1812         * lyxtext.h: adjust
1813
1814 2004-01-08  Angus Leeming  <leeming@lyx.org>
1815
1816         * BufferView_pimpl.C (MenuInsertLyXFile):
1817         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1818         * lyxfunc.C (menuNew, open, doImport):
1819         FileFilterList change to the FileDialog open and save functions.
1820
1821 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1822
1823         * ShareContainer.h: make isEqual and isUnique adaptable
1824
1825         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1826
1827 2004-01-07  Angus Leeming  <leeming@lyx.org>
1828
1829         * LyXAction.C:
1830         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1831
1832         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1833
1834         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1835         functions replacing find, replace and replaceAll.
1836
1837         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1838         LFUN_WORDFIND(FORWARD|BACKWARD).
1839
1840 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1841
1842         * text.C (breakParagraph): remove an outdated #warning
1843
1844 2004-01-07  André Pönitz  <poenitz@gmx.net>
1845
1846         * lyxfind.C: somewhat clearer logic
1847
1848         * text.C: prevent crash in cursorX on unitialized row cache
1849
1850 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1851
1852         * lyxcursor.[Ch] (operator>): add
1853         * textcursor.C (selStart, selEnd): use std::min and std::max
1854
1855 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1856
1857         * Chktex.C: include boost/format.hpp
1858
1859 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1860
1861         * InsetList.C: replace functor MathcIt with adaptable functor
1862         InsetTablePosLess
1863         (insetIterator): modify accordingly
1864
1865         * BranchList.h: move the BranchNamesEqual functor here from...
1866         * BranchList.C: ... to here
1867
1868         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1869         SameName and match.
1870         (add): replace a finding loop with std::find_if.
1871
1872 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1873
1874         * output_docbook.C: moving LatexParam functionality into
1875         .layout files
1876
1877 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1878
1879         * buffer.C: increment format to 229.
1880
1881 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1882
1883         * LaTeXFeatures.C:
1884         * lyx_sty.[Ch]: remove minipageindent_def
1885
1886         * LyXAction.C:
1887         * factory.C:
1888         * lfuns.h:
1889         * lyxfunc.C:
1890         * text3.C: remove LFUN_INSET_MINIPAGE
1891
1892 2003-12-28  Angus Leeming  <leeming@lyx.org>
1893
1894         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1895
1896 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1897
1898         * text2.C (setParagraph): fix off-by-one crash
1899
1900 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1901
1902         * output_docbook.C: header stuff for AGU
1903
1904 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1905
1906         * text2.C (redoCursor): remove
1907         * text.C:
1908         * text3.C:
1909         * BufferView_pimpl.C: remove calls to redoCursor and
1910         setCursor(cursor.par(), cursor.pos()) all around
1911
1912 2003-12-15  Angus Leeming  <leeming@lyx.org>
1913
1914         * buffer.C: up the format to 228.
1915
1916 2003-12-15  André Pönitz  <poenitz@gmx.net>
1917
1918         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1919         slices
1920
1921         * Makefile.am:
1922
1923         * BufferView_pimpl.C:
1924         * cursor.[Ch]:
1925         * lyxcursor.[Ch]:
1926         * rowpainter.[Ch]:
1927         * lyxtext.h:
1928         * text.C:
1929         * text2.C:
1930         * text3.C: adjust
1931
1932 2003-12-15  Angus Leeming  <leeming@lyx.org>
1933
1934         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1935         than getFromGUIName to manipulate the color.
1936
1937 2003-12-14  Angus Leeming  <leeming@lyx.org>
1938
1939         * BranchList.[Ch]: minimize the API.
1940         (Branch::getBranch, getColor): now return a 'const &'.
1941         (Branch::setSelected) now returns a bool set to true if the
1942         selection status changes.
1943         (BranchList::clear, size, getColor, setColor, setSelected,
1944         allBranches, allSelected, separator): removed.
1945         (BranchList::find): new functions, returning the Branch with
1946         the given name.
1947         (BranchList::add, remove): return a bool indicating that
1948         the operation was successful.
1949
1950         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1951         new InsetBranch::isBranchSlected member function.
1952
1953         * LColor.[Ch]: mimimize the API.
1954         (fill): renamed as addColor and made private.
1955         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1956         versions of these functions taking a string arg have been removed.
1957
1958         * bufferparams.C (readToken):
1959         * lyxfunc.C (dispatch):
1960         * lyxrc.C (read): changes due to the altered BranchList and
1961         LColor APIs.
1962
1963         * factory.C (createInset, readInset): changes due to altered
1964         InsetBranch c-tor.
1965
1966 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1967
1968         * factory.C:
1969         * lyxfunc.C: remove insetminipage. "minipage-insert"
1970         now produces a frameless minipage box inset.
1971
1972 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1973
1974         * textcursor.[Ch] (selStart,selEnd): add new methods
1975         remove selection::start, end, use LyXCursor::operator<
1976         * lyxcursor.[Ch] (operator<): add
1977         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1978         * BufferView.[Ch] (unsetXSel): add
1979         * text2.C (clearSelection): use unsetXSel,adjust
1980         * text.C: adjust
1981         * text3.C: adjust
1982         * rowpainter.C: adjust
1983         * bufferview_funcs.C (put_selection_at): adjust
1984
1985 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * BufferView_pimpl.C: small coord. correction
1988
1989 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1990
1991         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1992         dragging over the splash screen.
1993
1994 2003-12-11  Angus Leeming  <leeming@lyx.org>
1995
1996         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1997         as it is now handled in LyXText::dispatch.
1998
1999         * text3.C (doInsertInset): remove a level of nesting.
2000
2001 2003-12-11  Angus Leeming  <leeming@lyx.org>
2002
2003         * factory.C (createInset): changes due to the changed interface to
2004         InsetCommandMailer::string2params.
2005
2006 2003-12-10  Angus Leeming  <leeming@lyx.org>
2007
2008         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2009         'dialog-show-new-inset <inset name>'
2010
2011 2003-12-10  Angus Leeming  <leeming@lyx.org>
2012
2013         * buffer.C: up the format to 227.
2014
2015         * factory.C: the box inset is now identified simply by 'Box'.
2016
2017 2003-12-10  Angus Leeming  <leeming@lyx.org>
2018
2019         * buffer.C: up the format to 226.
2020
2021         * factory.C: the note inset is now identified simply by 'Note'.
2022
2023 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2024
2025         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2026         when a pit is enough. Standarize a couple of loops.
2027
2028 2003-12-05  Angus Leeming  <leeming@lyx.org>
2029
2030         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2031         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2032         data to the re-worked "log" dialog.
2033
2034 2003-12-03  André Pönitz  <poenitz@gmx.net>
2035
2036         * PosIterator.C:
2037         * iterators.C:
2038         * lyxtext.h:
2039         * output_latex.C:
2040         * paragraph_funcs.C:
2041         * text.C:
2042         * text2.C: use Inset::getText instead of Inset::getParagraph
2043
2044 2003-12-03  André Pönitz  <poenitz@gmx.net>
2045
2046         * buffer.[Ch]:
2047         * lyxtext.h:
2048         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2049         InsetText::read() as LyXText::read()
2050
2051 2003-12-02  Angus Leeming  <leeming@lyx.org>
2052
2053         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2054         type. Add a comment in the implementation that the function uses
2055         the stream's bad() function rather than fail() as the std::streams
2056         would do.
2057
2058 2003-12-02  André Pönitz  <poenitz@gmx.net>
2059
2060         * lyxlex.[Ch]: make interface more similar to std::stream
2061
2062         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2063
2064 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2065
2066         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2067
2068 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2069
2070         * vspace.[Ch]: remove VSpace::NONE
2071
2072 2003-12-01  André Pönitz  <poenitz@gmx.net>
2073
2074         * buffer.[Ch]:
2075         * lyxtext.h: move ParagraphList member to LyXText
2076         rename LyXText::ownerParagraphs to LyXText::paragraph
2077
2078         * CutAndPaste.C:
2079         * bufferview_funcs.C:
2080         * iterators.[Ch]:
2081         * lyx_cb.C:
2082         * paragraph.C:
2083         * rowpainter.C:
2084         * tabular.C:
2085         * text.C:
2086         * text2.C:
2087         * text3.C: adjust
2088
2089         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2090
2091         * undo.C: fix cursor positioning
2092
2093 2003-12-01  John Levon  <levon@movementarian.org>
2094
2095         * BufferView_pimpl.C: fix a crash on exit with
2096         a buffer open
2097
2098 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2099
2100         * BranchList.C: fix setSelected() method.
2101
2102 2003-11-28  André Pönitz  <poenitz@gmx.net>
2103
2104         * ParagraphParameters.[Ch]:
2105         * ParameterStruct.h: remove space above/below from Paragraph to
2106          InsetVSpace
2107
2108         * BufferView_pimpl.C:
2109         * factory.C:
2110         * lyxfunc.C:
2111         * lyxtext.h:
2112         * output_latex.C:
2113         * paragraph.C:
2114         * paragraph_funcs.C:
2115         * rowpainter.[Ch]:
2116         * text.C:
2117         * text2.C:
2118         * text3.C: adjust
2119
2120 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2121
2122         * factory.C: Syntax change for CharStyles
2123
2124 2003-11-28  André Pönitz  <poenitz@gmx.net>
2125
2126         * BufferView.[Ch]:
2127         * BufferView.[Ch]:
2128         * buffer.[Ch]:
2129         * buffer.[Ch]: move LyXText member
2130
2131 2003-11-28  André Pönitz  <poenitz@gmx.net>
2132
2133         * BufferView.[Ch]: make LyXText * text a private member
2134
2135         * BufferView_pimpl.C:
2136         * cursor.C:
2137         * iterators.C:
2138         * lyx_cb.C:
2139         * lyxfind.C:
2140         * lyxtext.h:
2141         * rowpainter.[Ch]:
2142         * text.C:
2143         * text2.C:
2144         * undo.C: adjust
2145
2146         * output_plaintext.C: cleanup
2147
2148 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2149
2150         * buffer.C:
2151         * lyxtextclass.[Ch]: parametrize SGML document header
2152
2153 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2154
2155         * converter.[Ch]:
2156         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2157         getFlavor().
2158
2159 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2160
2161         * text2.C (setFont): rework using PosIterator (no more recursive)
2162         (setCharFont): no more needed
2163         (setLayout): no more selection cursors fiddling (done by redoCursor)
2164         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2165         destroy remaining ones)
2166
2167 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2168
2169         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2170         * lyxtext.h: ditto
2171         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2172         selection cursors
2173         * lyxfunc.C: adjust
2174         * text3.C: adjust + re-allow multi par depth changes
2175         * textcursor.C: simplify a bit
2176
2177 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2178
2179         * src/buffer.C:
2180         * src/lyxlayout.C:
2181         * src/lyxlayout.h:
2182         * src/lyxtext.h:
2183         * src/output_docbook.C:
2184         * src/output_latex.C:
2185         * src/paragraph.C:
2186         * src/paragraph.h:
2187         * src/sgml.C:
2188         * src/sgml.h:
2189         * src/text2.C: Introducing a number of tags parametrizing various
2190         XML formats that we may want to support
2191
2192 2003-11-25  André Pönitz  <poenitz@gmx.net>
2193
2194         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2195
2196         * lyxtext.h (leftMargin/rightMargin): simplify interface
2197
2198         * rowpainter.C:
2199         * text.C:
2200         * text2.C:
2201         * text3.C: adjust
2202
2203 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2204
2205         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2206         master file to any child files. Fixes bug 546.
2207
2208 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2209
2210         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2211
2212 2003-11-24  André Pönitz  <poenitz@gmx.net>
2213
2214         * rowpainter.C: simplification
2215
2216         * text2.C (updateCounters): remove call to redoParagraph on
2217         changed labels as this is far too expensive.
2218
2219 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2220
2221         * converter.C (convert): fix a crash: this function gets
2222         called with buffer == 0 from importer code.
2223
2224 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2225
2226         * text3.C (cursorPrevious): make sure that we do not compare
2227         iterators form different containers.
2228         (cursorNext): ditto
2229
2230         * rowpainter.C (paintSelection): make sure that we do not compare
2231         iterators from different containers.
2232
2233         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2234         iterators from different ParagraphList containers.
2235         [NEXT] ditto
2236
2237         * text2.C (LyXText): change order of initialization slightly
2238         (operator=): new function. copy all variables except cache_par_
2239         (moveUp): make sure that we do not compare iterators from
2240         different ParagraphList constainers.
2241         (moveDown): ditto
2242
2243         * text.C (firstPar): new function
2244         (lastPar): new function
2245         (endPar): new function
2246
2247         * lyxtext.h: move things around and group public functions, public
2248         variables, private functions, private variables
2249
2250 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2251
2252         * factory.C: change call to InsetERT constructor to avoid
2253         additional invocation of method status
2254         * text2.C (toggleInset): remove redundant update() call
2255         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2256         instead of a Bufferview pointer
2257
2258 2003-11-21  André Pönitz  <poenitz@gmx.net>
2259
2260         * rowpainter.C: simplification
2261
2262 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2263
2264         * text3.C (dispatch): make possible to extend a word/row selection
2265         with the mouse
2266
2267 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2268
2269         * lyxtext.h: x0_,y0_ -> xo_,yo_
2270         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2271         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2272         * rowpainter.C (paintRows): paint full paragraphs
2273
2274 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2275
2276         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2277         screen coordinates)
2278
2279 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2280
2281         * lyxtext.h: add x0_, y0_
2282         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2283         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2284
2285 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2286
2287         * text2.C (setCursorIntern): move the x_target update here *
2288         * text3.C: change some bv() to true/false in calls to
2289         cursorUp/Down/Right/Left
2290         * cursor.C: use helper function.
2291
2292 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2293
2294         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2295         * paragraph_funcs.[Ch]: correct comment
2296         * rowpainter.C: do not paint selections away from bv->cursor()
2297         Fix a long standing selection painting bug.
2298         * text3.C: generalize mouse-selection code to LyXTexts other that
2299         top one
2300         * textcursor.C: do not use y coords if we can use par offsets
2301
2302 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2303
2304         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2305         cursor position after e.g. inset insert)
2306
2307 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2308
2309         * lyxfind.C (replace): adjust to locking removal + some
2310         code simplification
2311
2312 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2313
2314         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2315         of the path
2316
2317 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2318
2319         * lyxlayout.[Ch]:
2320         * output_docbook.C: XML sanitation: new layout
2321         parameters InnerTag and CommandDepth
2322
2323 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2324
2325         * BufferView_pimpl.C:
2326         * factory.C:
2327         * text3.C: Fix the insertion and modification of button-style
2328         insets
2329
2330 2003-11-13  André Pönitz  <poenitz@gmx.net>
2331
2332         * InsetList.[Ch]: remove deleteLyXText
2333
2334         * paragraph.[Ch]: cache beginOfBody position
2335
2336         * Bidi.C:
2337         * text.C:
2338         * text2.C:
2339         * text3.C: remove superfluous update() calls
2340
2341         * vspace.C: cleanup
2342
2343 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2344
2345         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2346         * BufferView.C (fitLockedInsetCursor): remove
2347         * cursor.[Ch] (getDim): add
2348         * text.C (getRowNearY): add faster version
2349         * text3.C: remove some update calls
2350
2351 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2352
2353         * LaTeXFeatures.C:
2354         * LyXAction.C:
2355         * MenuBackend.C:
2356         * MenuBackend.h:
2357         * dispatchresult.h:
2358         * factory.C:
2359         * lfuns.h:
2360         * lyxfunc.C:
2361         * lyxtextclass.C:
2362         * lyxtextclass.h:
2363         * text3.C: The Character Style /XML short element patch.
2364
2365 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2366
2367         * text3.C:
2368         * factory.C: Small step to solving 'unable to insert some insets'
2369         problem
2370
2371 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2372
2373         * cursor.[Ch] (updatePos): new function for updating the y
2374         position of the tip inset
2375         * bufferview_funcs.C (put_selection_at):
2376         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2377
2378 2003-11-11  André Pönitz  <poenitz@gmx.net>
2379
2380         * text.C: remove big comment on invalid Paragraph pointers as it is
2381         not valid anymore
2382
2383 2003-11-11  André Pönitz  <poenitz@gmx.net>
2384
2385         * text_funcs.[Ch]: merge with ...
2386
2387         * text.C: ... this
2388
2389         * lyxtext.h:
2390         * text2.C:
2391         * text3.C: adjust
2392
2393         * Makefile.am: remove text_funcs.[Ch]
2394
2395 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2396
2397         * cursor.C (getPos): return absolute cached y coord
2398
2399         * BufferView_pimpl.C (fitCursor): new simplistic code
2400         (workAreaDispatch): add a fitCursor call
2401
2402 2003-11-10  André Pönitz  <poenitz@gmx.net>
2403
2404         * BufferView.[Ch]:
2405         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2406
2407 2003-11-10  André Pönitz  <poenitz@gmx.net>
2408
2409         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2410         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2411         indicate that the cursor needs to leave an inset
2412
2413         * lyxtext.h: remove inset locking
2414
2415         * cursor.[Ch]: re-implement functionality provided by inset locking
2416
2417         * BufferView.[Ch]:
2418         * BufferView_pimpl.[Ch]:
2419         * LyXAction.C:
2420         * bufferview_funcs.[Ch]:
2421         * factory.C:
2422         * funcrequest.[Ch]:
2423         * iterators.C:
2424         * lyx_cb.C:
2425         * lyxfind.C:
2426         * lyxfunc.C:
2427         * text.C:
2428         * text2.C:
2429         * text3.C:
2430         * undo.C: adjust
2431
2432 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2433
2434         * PosIterator.[Ch]: replace the stack with a vector, add inset
2435         accesor
2436         * iterators.[C]: adjust
2437
2438 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2439
2440         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2441         replaced
2442         * paragraph_funcs.C (readParToken): put the correct id in the
2443         error item, not the id of the top paragraph
2444
2445 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2446
2447         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2448         * bufferview_funcs.C (put_selection_at): use the above
2449
2450 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2451
2452         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2453
2454 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2455
2456         * output_linuxdoc.h:
2457         * output_plaintext.h:
2458         * output.h:
2459         * output_docbook.h: add #include statements
2460
2461 2003-11-05  José Matos  <jamatos@lyx.org>
2462
2463         * output_docbook.[Ch]:
2464         * output_latex.[Ch]:
2465         * output_linuxdoc.[Ch]:
2466         * output_plaintext.[Ch]: New files for output formats.
2467         * output.[Ch]: New file for helper functions.
2468
2469         * buffer.[Ch]:
2470         * paragraph_funcs.[Ch]: output functions moved to new files.
2471
2472         * outputparams.h: rename of latexrunparams.h
2473
2474         * LaTeX.[Ch]:
2475         * buffer.[Ch]:
2476         * bufferlist.[Ch]:
2477         * converter.[Ch]:
2478         * exporter.C:
2479         * paragraph.[Ch]:
2480         * paragraph_funcs.[Ch]:
2481         * paragraph_pimpl.[Ch]:
2482         * tabular.[Ch]: rename ascii to plaintext
2483         and LatexRunParams to OutputParams.
2484
2485 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2486
2487         * iterators.[Ch] (text): require bv argument
2488         * undo.C (recordUndo):
2489         * lyxfunc.C (dispatch):
2490         * bufferview_funcs.C (put_selection_at): adjust
2491
2492 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2493
2494         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2495
2496 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2497
2498         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2499         nestings
2500
2501 2003-11-04  André Pönitz  <poenitz@gmx.net>
2502
2503         * cursor.[Ch]: restructure
2504
2505         * BufferView.[Ch]:
2506         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2507
2508         * iterators.[Ch] (asCursor): remove
2509
2510         * lfuns.h: remove LFUN_INSET_EDIT
2511
2512         * lyxfunc.C:
2513         * tabular.C:
2514         * text.C:
2515         * text2.C:
2516         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2517
2518 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2519
2520         * lyxfind.[Ch]: complete overhaul
2521         * BufferView_pimpl.C:
2522         * lyxfunc.C: adjust
2523         * paragraph.[Ch] (insert): add
2524
2525 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2526
2527         * BufferView.[Ch]:
2528         * lyxtext.h:
2529         * text.C: remove dead spellcheck code
2530
2531 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2532
2533         * dispatchresult.h: add a val setter
2534
2535         * cursor.C (dispatch): use a tempvar for data_[i]
2536
2537 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2538
2539         * PosIterator.[Ch]: compile fix
2540
2541 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2542
2543         * text.C (cursorPar): deactivate the cursor cache
2544
2545 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2546
2547         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2548
2549 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2550
2551         * text3.C (dispatch): adjust for new DisptchResult semantics.
2552
2553         * lyxfunc.C (dispatch): handle update when return from
2554         Cursor::dispatch, adjust for new DispatchResult semantics.
2555
2556         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2557         DispatchResult(true) mean to not update. Add class functions for
2558         setting dispatched and update, as well as reading.
2559
2560         * cursor.C (dispatch): don't handle update here
2561
2562 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2563
2564         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2565         * trans_mgr.C: adjust
2566
2567         * paragraph_funcs.C (readParToken): exception safety
2568
2569         * lyxvc.h: store the vcs pointer in a scoped_ptr
2570         * lyxvc.C: adjust
2571
2572         * lyxsocket.C (serverCallback): exception safety
2573
2574         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2575
2576         * ispell.C (clone): make it return a auto_ptr
2577
2578         * factory.C (createInset): exception safety
2579         (readInset): exception safety
2580
2581         * bufferlist.C (newBuffer): exception safety
2582
2583         * Thesaurus.C (Thesaurus): use initialization for aik_
2584
2585         * MenuBackend.C (expandToc): exception safety.
2586
2587 2003-11-03  André Pönitz  <poenitz@gmx.net>
2588
2589         * buffer.C:
2590         * buffer.h:
2591         * bufferview_funcs.C: remove getInsetFromId()
2592
2593         * lyxcursor.[Ch]:
2594         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2595
2596         * lyxfunc.C:
2597         * text2.C:
2598         * text3.C: adjust
2599
2600 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2601
2602         * PosIterator.C (distance, advance): new
2603         * bufferview_funcs.[Ch] (put_selection_at): new
2604         * iterators.[Ch] (lockPath): new
2605
2606 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2607
2608         * iterators.[Ch] (asPosIterator): added
2609         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2610         * PosIterator.[Ch]: added
2611
2612 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2613
2614         * text3.C:
2615         * lyxfunc.C:
2616         * cursor.C (dispatch):
2617         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2618
2619         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2620         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2621         contructor, add a class function dispatched. Remove operator>=
2622
2623 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * debug.C: only use the default constructor for debugstream
2626         (lyxerr) here.
2627
2628         * main.C (main): include debug.h and setup the lyxerr streambuf
2629         here.
2630
2631 2003-10-31  José Matos  <jamatos@lyx.org>
2632
2633         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2634
2635         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2636         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2637         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2638         * paragraph_pimpl.C (simpleTeXSpecialC):
2639         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2640         add LatexRunParams argument.
2641
2642         * exporter.C (Export): change call accordingly.
2643
2644         * latexrunparams.h: add new member to take care of the other backends.
2645 2003-10-30  José Matos  <jamatos@lyx.org>
2646
2647         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2648         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2649         factorise code for paragraph output.
2650         * buffer.[Ch]:
2651         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2652         move functions.
2653
2654 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * text3.C (dispatch):
2657         * lyxfunc.C (dispatch):
2658         * cursor.C (dispatch):
2659         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2660
2661         * dispatchresult.h: make the dispatch_result_t ctor explicit
2662
2663 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2664
2665         * sgml.[Ch]:
2666         * buffer.C: small refactoring of docbook stuff
2667
2668 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2669
2670         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2671         meaning.
2672
2673 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2674
2675         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2676         operator dispatch_result_t, and operators for == != and >=
2677
2678         * cursor.C (dispatch): adjust for operator dispatch_result_t
2679         removal. comment out call to update
2680
2681         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2682
2683 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2684
2685         * text3.C:
2686         * text2.C:
2687         * text.C:
2688         * lyxtext.h:
2689         * lyxfunc.C:
2690         * cursor.C:
2691         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2692         (dispatch):
2693
2694         * dispatchresult.h: new file, DispatchResult broken out of
2695         insets/insetbase.h
2696
2697         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2698
2699 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2700
2701         * text.C (rowBreakPoint): put a hack inside #if 0
2702
2703 2003-10-28  André Pönitz  <poenitz@gmx.net>
2704
2705         * lyxtext.h:
2706         * metricsinfo.C:
2707         * paragraph_funcs.C:
2708         * rowpainter.C:
2709         * text.C:
2710         * text2.C: general cleanup (lots of small stuff)
2711
2712 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2713
2714         * text2.C (cursorEnd): simple fix to the "end key goes to one
2715         before the end on last row" bug
2716
2717 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2718
2719         * text.C (backspace): fix the "zombie characters"
2720
2721 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2722
2723         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2724
2725 2003-10-27  André Pönitz  <poenitz@gmx.net>
2726
2727         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2728
2729         * factory.C: handle new InsetPagebreak, InsetLine
2730
2731         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2732         and move handling into new InsetPagebreak, InsetLine
2733
2734         * BufferView_pimpl.C:
2735         * LyXAction.C:
2736         * ParagraphParameters.C:
2737         * ParameterStruct.h:
2738         * lyxfunc.C:
2739         * lyxtext.h:
2740         * paragraph.C:
2741         * paragraph.h:
2742         * paragraph_funcs.C:
2743         * paragraph_pimpl.C:
2744         * rowpainter.C:
2745         * text.C:
2746         * text2.C:
2747         * text3.C: adjust
2748
2749 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2750
2751         * text.C:
2752         * lyxrow_funcs.[Ch]:
2753         * Bidi.C:
2754         * paragraph.C:
2755         * lyxtext.h:
2756         * rowpainter.C:
2757         * text2.C:
2758         * text3.C: remove lastPos uses in favour of Row::endpos
2759
2760 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2761
2762         * undo.C (performUndoOrRedo): fix two crashes by setting a
2763         cursor by hand and reordering some calls. Use bv->lockInset instead
2764         of inset->edit because the latter loses cursor information
2765
2766 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2767
2768         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2769         by Martin
2770         (rowBreakPoint): fix width. change point to point + 1.
2771         Add a missing check.
2772
2773 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2774
2775         * MenuBackend.C:
2776         * lyxfunc.C: fix (at least partly) the problems
2777         with the Nav menu and headers inside branch insets
2778         reported by Kayvan
2779
2780 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2781
2782         * paragraph.C (getChar): add strong asserts
2783
2784         * lyxrow_funcs.C (lastPos): remove hideous hack
2785
2786         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2787         (fill): adjust to that (avoid an infinite loop)
2788
2789 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2790
2791         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2792
2793 2003-10-23  André Pönitz  <poenitz@gmx.net>
2794
2795         * RowList_fwd.h: change list<> to vector<> to gain speed
2796         after suggestion from Alfredo
2797
2798 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2799
2800         * lyxtext.h: move the bidi stuff from here...
2801         * text.C: and here
2802         * text2.C: and here
2803         * Bidi.[Ch]: ... to here
2804
2805 2003-10-23  André Pönitz  <poenitz@gmx.net>
2806
2807         * lyxtext.h:
2808         * text.C (isLastRow, isFirstRow): new functions
2809
2810         * paragraph.h: new width cache member
2811
2812         * rowpainter.C: replace RowList::iterator with Row & where possible
2813
2814         * lyxfunc.C: replace several view()->text with a single call
2815
2816         * toc.C: fix 'unused' warning
2817
2818 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2819
2820         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2821         when woring with stream::pos_type
2822         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2823
2824 2003-10-22  André Pönitz  <poenitz@gmx.net>
2825
2826         * lyxtext.h:
2827         * text.C: use Row & instead of RowList::iterator
2828
2829         * lyxrow.h: rename end() to endpos()
2830
2831         * rowpainter.C:
2832         * text.C:
2833         * text2.C: adjust
2834
2835 2003-10-22  Angus Leeming  <leeming@lyx.org>
2836
2837         * buffer.[Ch] (fully_loaded): new member function, returning true
2838         only when the file has been loaded fully.
2839         Used to prevent the premature generation of previews and by the
2840         citation inset to prevent computation of the natbib-style label.
2841
2842         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2843         templates are all set up.
2844
2845         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2846
2847 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2848
2849         * text.C: fixed an "oops" in the "is a bit silly"
2850         bug fix
2851
2852 2003-10-21  André Pönitz  <poenitz@gmx.net>
2853
2854         * FuncStatus.[Ch]: small stuff, whitespace
2855
2856         * lyxfont.[Ch]: operator<<() for debug reasons
2857
2858         * lyxfunc.C:
2859         * lyxrow_funcs.C:
2860         * lyxtext.h: whitespace, spelling
2861
2862         * paragraph.C: naming of variables
2863
2864         * text.C:
2865         * text2.C: small stuff
2866
2867
2868 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2869
2870         * text.C: (1) finish off the inset display() work;
2871         (2) fix the "is a bit silly" bug (accessing char
2872         past end of par).
2873
2874 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2875
2876         * text.C: re-introduce display() for insets, fixing the
2877         various bugs (stretch of line above, math inset
2878         positioning, ...)
2879
2880 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2881
2882         * text.C (rightMargin): remove spurious semicolon
2883
2884         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2885         1415)
2886
2887 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2888
2889         * text3.C: fix one crash due to wrong cursor def
2890
2891 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2892
2893         * vc-backend.C (scanMaster): make the regex static
2894
2895         * LaTeX.C (scanAuxFile): make the regexs static
2896
2897         * text3.C (doInsertInset, dispatch, dispatch):
2898         * text2.C (cursorUp, cursorDown):
2899         * text.C (selectNextWordToSpellcheck):
2900         * BufferView_pimpl.C (dispatch):
2901         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2902
2903 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2904
2905         * lyxsocket.C: include <cerrno>
2906
2907 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * lyxfunc.C (dispatch): remove textcache stuff
2910
2911         * bufferlist.C (release): remove textcache stuff
2912         (closeAll): ditto
2913
2914         * TextCache.C: delete file
2915         * TextCache.h: delete file
2916
2917         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2918
2919         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2920         delete of the bv_->text.
2921         (resizeCurrentBuffer): remove texcache stuff
2922         (workAreaResize): ditto
2923
2924 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2925
2926         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2927         action.
2928
2929 2003-10-16  André Pönitz  <poenitz@gmx.net>
2930
2931         * lyxrow.[Ch]:
2932         * paragraph.h:
2933         * rowpainter.C:
2934         * text.C:
2935         * text2.C:
2936         * text3.C: speed up by storing y positions per paragraph plus per-row
2937         offset instead of having a 'full' y position in the row.
2938
2939 2003-10-15  André Pönitz  <poenitz@gmx.net>
2940
2941         * iterators.[Ch]:
2942         * iterators.[Ch]:
2943         * undo.[Ch]: make undo aware of inner insets
2944
2945 2003-10-14  Angus Leeming  <leeming@lyx.org>
2946
2947         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2948         static member functions LyX::ref() and LyX::cref.
2949         (lastfiles): new accessor functions for the new lastfiles_ member var.
2950         (addLyXView, views_): add a new LyXView to the list of views_.
2951         (updateInset): loop over all LyXViews to call their own updateInset
2952         member function, returning a pointer to the Buffer owning the inset.
2953
2954         * BufferView_pimpl.C (loadLyXFile):
2955         * MenuBackend.C (expandLastfiles):
2956         * bufferlist.C (MenuWrite, QuitLyX):
2957         lastfiles is no longer a global variable.
2958         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2959
2960         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2961         static function. Access through LyX::cref().emergencyCleanup().
2962
2963 2003-10-14  André Pönitz  <poenitz@gmx.net>
2964
2965         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2966
2967         * undo.[Ch]: restoring part of 'undo in insets'
2968
2969         * Makefile.am:
2970         * undo_funcs.[Ch]: merge with undo.[Ch]
2971
2972         * tabular.C: small cleansing stuff
2973
2974 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2975
2976         * paragraph_funcs.C (readParToken): report unknown insets as error
2977         boxes. Use the outer paragraph as location (also for unknown
2978         tokens).
2979
2980         * factory.C (readInset): do not abort on reading an unknown inset.
2981         Eat it and return 0.
2982
2983 2003-10-13  Angus Leeming  <leeming@lyx.org>
2984
2985         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2986
2987         * lyxrc.C: displayTranslator is now a function,
2988         declared in GraphicsTypes.h.
2989
2990 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2991
2992         * format.C: new placeholder $$a to pass the socket address.
2993
2994         * bufferlist.[Ch]: new function getBufferFromTmp.
2995
2996         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2997           files in the temporary dir.
2998
2999 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3000
3001         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3002
3003         * Makefile.am: add lyxsocket.[Ch].
3004
3005         * lyx_main.C (error_handler): handle SIGPIPE.
3006
3007 2003-10-13  André Pönitz  <poenitz@gmx.net>
3008
3009         * BufferView_pimpl.C:
3010         * lyxtext.h:
3011         * text.C:
3012         * text2.C:
3013         * text3.C:
3014         * undo_funcs.[Ch]: use paroffset_type instead of
3015           ParagraphList::iterators to prevent multiple conversion
3016           (and get a more robust interface)
3017
3018 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3021         * lyxtext.h: ditto
3022         * text3.C (dispatch): ditto
3023
3024 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3025
3026         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3027         move the onlyfile, use onlyfile instead of foundfile in a couple
3028         of places.
3029
3030         * DepTable.C (update): flush the error stream a bit more
3031
3032 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3033
3034         * lyxserver.C (callback): adjust
3035
3036         * lyxfunc.C (getStatus): add a missing brace in commented code
3037         (ensureBufferClean): reindent
3038         (dispatch): delete version taking a string
3039
3040 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3041
3042         * LaTeX.C (deplog): move found file handlig from here...
3043         (handleFoundFile): .. to new function here.
3044         (deplog): make sure to discover several files mentioned on the
3045         same log line.
3046
3047 2003-10-10  André Pönitz  <poenitz@gmx.net>
3048
3049         * lyxfunc.C:
3050         * lyxtext.h:
3051         * tabular.C:
3052         * text.C:
3053         * text2.C:
3054         * text3.C: fix some of the tabular crashes
3055
3056 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3057
3058         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3059
3060         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3061
3062 2003-10-09  André Pönitz  <poenitz@gmx.net>
3063
3064         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3065
3066         * BufferView.C:
3067         * BufferView_pimpl.C:
3068         * bufferview_funcs.C:
3069         * lyx_cb.C:
3070         * lyxcursor.C:
3071         * lyxfind.C:
3072         * lyxfunc.C:
3073         * lyxtext.h:
3074         * text.C:
3075         * text2.C:
3076         * text3.C:
3077         * text_funcs.[Ch]:
3078         * textcursor.[Ch]:
3079         * undo_funcs.C: adjust
3080
3081 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3082
3083         * text2.C (incrementItemDepth): new function, use a backtracking
3084         algorithm to discover the correct item depth.
3085         (resetEnumCounterIfNeeded): new function, use a backtracking
3086         algorithm to discover if counter reset is needed.
3087         (setCounter): use them. Simplify a bit. Add different labels for
3088         different item depths for itemize.
3089
3090         * paragraph.C (Paragraph): remove initialization of enumdepth
3091         (operator=): ditto
3092
3093         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3094         enumerate and itemize. Change the type of itemdepth to signed char.
3095
3096 2003-10-08  André Pönitz  <poenitz@gmx.net>
3097
3098         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3099           thing assignable.
3100         * text.C:
3101         * text2.C: adjust
3102
3103         * tabular.[Ch]: fix crash after 'row-insert'
3104
3105 2003-10-08  Angus Leeming  <leeming@lyx.org>
3106
3107         Fix doxygen warnings.
3108
3109         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3110         Remove CutAndPaste:: prefix from header file declaration.
3111
3112         * LColor.h (fill): remove LColor:: prefix from declaration.
3113
3114         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3115         use lyx::depth_type rather than Paragraph::depth_type so that
3116         header file and .C file match.
3117
3118         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3119
3120         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3121         * aspell.C: \file aspell_local.C -> \file aspell.C
3122         * gettext.C: \file gettext.C -> \file src/gettext.C
3123         * gettext.h: \file gettext.h -> \file src/gettext.h
3124         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3125         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3126         * text.C: \file text.C -> \file src/text.C
3127
3128         * toc.C: move comment so that doxygen is not confused.
3129
3130 2003-10-07  Angus Leeming  <leeming@lyx.org>
3131
3132         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3133
3134 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3135
3136         * aspell.C:
3137         * aspell_local.h: add forgotten std::string's.
3138
3139 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3140
3141         * LaTeXFeatures.C:
3142         * LyXAction.C:
3143         * factory.C:
3144         * lfuns.h:
3145         * lyxfunc.C:
3146         * text3.C: The Box patch. Fancybox support, minipage, parbox
3147
3148 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3149
3150         * CutAndPaste.h:
3151         * DepTable.h:
3152         * FloatList.h:
3153         * LaTeXFeatures.h:
3154         * ParagraphParameters.h:
3155         * TextCache.h:
3156         * Thesaurus.h:
3157         * bufferlist.h:
3158         * exporter.h:
3159         * importer.h:
3160         * lastfiles.h:
3161         * lyxfind.h:
3162         * lyxfont.h:
3163         * lyxlex.h:
3164         * lyxtextclasslist.h:
3165         * messages.h:
3166         * paragraph.h:
3167         * paragraph_pimpl.C:
3168         * textcursor.h: add <string> and other small fixes to make Lars'
3169         std::string patch compile with STLport.
3170
3171 2003-10-06  Angus Leeming  <leeming@lyx.org>
3172
3173         * LColor.h: Add missing #include <string>.
3174
3175 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3176
3177         * All most all file in all subdirs: Make <string> be the prefered
3178         way of getting to std::string, add using declarations.
3179
3180 2003-10-06  André Pönitz  <poenitz@gmx.net>
3181
3182         * metricsinfo.C: initialize LyXFont before changing attribute.
3183         (fixes the 'math in \emph is upright' bug)
3184
3185 2003-10-06  André Pönitz  <poenitz@gmx.net>
3186
3187         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3188
3189 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3190
3191         * graph.C:
3192         * paragraph_pimpl.C: Small fixes to build using STLport
3193
3194 2003-10-02  André Pönitz  <poenitz@gmx.net>
3195
3196         * lyxfunc.C:
3197         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3198
3199 2003-10-01  André Pönitz  <poenitz@gmx.net>
3200
3201         * factory.C: assert early
3202
3203 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3204
3205         * lyx_main.C: remove the global debug object
3206
3207         * debug.h: adjust for new debugstream
3208
3209         * debug.C: adjust for new debugstream and keep the global debug
3210         object here.
3211
3212 2003-09-22  Angus Leeming  <leeming@lyx.org>
3213
3214         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3215         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3216         an incomplete class LyXFont.
3217
3218 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3219
3220         * factory.C: bug fix in branches
3221
3222 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3223
3224         * lyxfunc.C (processKeySym): adjust
3225         (dispatch): adjust
3226         (dispatch): change arg name from ev to func, adjust
3227         (sendDispatchMessage): ditto
3228
3229         * lyx_main.C (defaultKeyBindings): adjust keybindings
3230         (deadKeyBindings): ditto
3231
3232         * kbsequence.C (addkey): return a FuncRequest
3233
3234         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3235
3236         * kbmap.C (bind): take a FuncRequest as arg, adjust
3237         (read): adjust
3238         (lookup): adjust
3239         (defkey): change to take a FuncRequest as arg, adjust
3240         (findbinding): take a FuncRequest as arg, adjust.
3241
3242         * funcrequest.h (operator=): added
3243
3244         * funcrequest.C (FuncRequest): default kb_action changed from
3245         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3246
3247         * buffer.C (dispatch): simplify
3248         (dispatch): adjust to take a FuncRequest as arg, adjust
3249
3250         * boost.C (assertion_failed): change assertion message slightly
3251
3252         * ToolbarBackend.C (read): simplify
3253
3254         * MenuBackend.C (binding): adjust call to findbinding, add a
3255         message if no binding is found.
3256         (read): simplify
3257         (expandToc): correct by adding a empty FuncRequest
3258
3259         * LyXAction.C: include <boost/assert.hpp>
3260         (isPseudoAction): delete function
3261         (LookupFunc): change name to...
3262         (lookupFunc): this. change return type to FuncRequest.
3263         (getActionName): take kb_action as arg, simplify
3264         (funcHasFlag): add an assert, simplify.
3265
3266 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3267
3268         * toc.C (action): return a FuncRequest, simplify
3269
3270         * lyxfunc.C (processKeySym): adjust
3271         (getStatus): delete version that takes an int.
3272         (getStatus): adjust
3273         (dispatch): delete version that takes action as int
3274         (dispatch): adjust
3275         (sendDispatchMessage): simplify and adjust
3276
3277         * funcrequest.C (getArg): take unsigned int as arg
3278
3279         * ToolbarBackend.C (read): adjust
3280         (add): delete version that takes func as a string.
3281         (getIton): take a FuncRequest as arg
3282
3283         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3284         action.
3285
3286         * MenuBackend.C (MenuItem): add a new construct that only takes a
3287         Kind, simplify the constructor use for submenus.
3288         (add): adjust
3289         (expandLastfiles): adjust
3290         (expandDocuments): adjust
3291         (expandFormats): adjust
3292         (expandFloatListInsert): adjust
3293         (expandFloatInsert): adjust
3294         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3295
3296         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3297         Remove class variables lyx_pseudo_map and lyx_arg_map
3298
3299         * LyXAction.C (searchActionArg): delete function
3300         (getPseudoAction): delete function
3301         (retrieveActionArg): delete function
3302         (LookupFunc): make it return kb_action, simplify.
3303         (getActionName): simplify
3304
3305         * factory.C (createInset): fix new bug
3306
3307 2003-09-19  Angus Leeming  <leeming@lyx.org>
3308
3309         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3310         masterFilename_ parameter in the include inset.
3311
3312         * factory.C (createInset): changes due to the changes to InsetInclude.
3313
3314 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3315
3316         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3317
3318 2003-09-18  Angus Leeming  <leeming@lyx.org>
3319
3320         * buffer.C:
3321         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3322         Inset::fillWithBibKeys.
3323         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3324
3325 2003-09-18  Angus Leeming  <leeming@lyx.org>
3326
3327         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3328         variables.
3329         (ctor): pass and store a 'Buffer const &'
3330         (buffer): new member function.
3331
3332         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3333         '*this' to the LaTeXFeatures ctor.
3334
3335 2003-09-18  Angus Leeming  <leeming@lyx.org>
3336
3337         * LColor.h:
3338         * lyxfont.C:
3339         * lyxfont.h:
3340         * lyxtext.h:
3341         * text.C: rename EnumLColor as LColor_color.
3342
3343 2003-09-18  Angus Leeming  <leeming@lyx.org>
3344
3345         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3346         remove #include "insets/insetbase.h" from cursor.h.
3347
3348 2003-09-18  Angus Leeming  <leeming@lyx.org>
3349
3350         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3351         InsetOld_code to remove #include "inset.h".
3352
3353         * iterators.C: add #include "insets/inset.h"
3354
3355 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3356
3357         * BufferView.C: remove more locking stuff that apparently doesn't
3358         do anything sensible.
3359
3360 2003-09-16  André Pönitz  <poenitz@gmx.net>
3361
3362         * paragraph.[Ch]:
3363         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3364           performance boost.
3365
3366 2003-09-16  Angus Leeming  <leeming@lyx.org>
3367
3368         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3369
3370         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3371         arg/return type.
3372
3373         * paragraph.h: remove #include "lyxfont.h". Forward declare
3374         LyXFont_size.
3375
3376 2003-09-16  Angus Leeming  <leeming@lyx.org>
3377
3378         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3379         of support/textutils.h.
3380         (isWord): move the contents of support/textutils.h's IsWordChar here.
3381
3382         * buffer.C:
3383         * lyxfind.C:
3384         * rowpainter.C:
3385         * text.C:
3386         * text2.C: add #include "paragraph.h".
3387
3388         * rowpainter.C:
3389         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3390
3391 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3392
3393         * main.C:
3394         * lyx_main.C:
3395         * lyx_cb.C:
3396         * buffer.C:
3397         * LaTeX.C: use namespace alias for lyx::support::os
3398
3399 2003-09-16  Angus Leeming  <leeming@lyx.org>
3400
3401         * bufferparams.C:
3402         * bufferview_funcs.C:
3403         * factory.C:
3404         * lyxfunc.C:
3405         * paragraph_pimpl.C:
3406         * rowpainter.C:
3407         * text.C: add #include "LColor.h".
3408
3409 2003-09-16  Angus Leeming  <leeming@lyx.org>
3410
3411         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3412         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3413         return LyXFont &.
3414         Store the FontBits::color variable as an int rather than as an
3415         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3416         file.
3417
3418         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3419         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3420         string calls together.
3421
3422         * lyxrc.C: add #include "LColor.h".
3423
3424 2003-09-15  Angus Leeming  <leeming@lyx.org>
3425
3426         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3427         a cow_ptr.
3428
3429 2003-09-15  Angus Leeming  <leeming@lyx.org>
3430
3431         * LColor.h: add an EnumLColor wrapper for LColor::color.
3432
3433         * lyxfont.[Ch] (color, setColor, realColor):
3434         * lyxtext.h, text.C (backgroundColor):
3435         pass EnumLColor args to/from the functions, rather than LColor::color
3436         ones.
3437
3438         * lyxfont.h:
3439         * lyxtext.h: forward declare EnumLColor.
3440
3441         * lyx_main.C: add #include "LColor.h".
3442
3443 2003-09-15  Angus Leeming  <leeming@lyx.org>
3444
3445         * .cvsignore: add lyx-gtk.
3446
3447 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3448
3449         * Chktex.C
3450         * LaTeX.C
3451         * LaTeXFeatures.C
3452         * ParagraphParameters.C
3453         * Spacing.C
3454         * buffer.C
3455         * bufferparams.C
3456         * bufferview_funcs.C
3457         * chset.C
3458         * counters.C
3459         * funcrequest.C
3460         * lyxfont.C
3461         * lyxgluelength.C
3462         * lyxlength.C
3463         * paragraph.C
3464         * paragraph_funcs.C
3465         * text3.C
3466         * vc-backend.C: remove usage of STRCONV
3467
3468 2003-09-15  Angus Leeming  <leeming@lyx.org>
3469
3470         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3471         explicitly define the color passed to the painter.
3472
3473 2003-09-15  Angus Leeming  <leeming@lyx.org>
3474
3475         * bufferparams.C (BufferParams): reorder member initializers to avoid
3476         compiler warning.
3477
3478 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3479
3480         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3481         * text.C (updateRowPositions): remove an unusual nop
3482
3483 2003-09-12  André Pönitz  <poenitz@gmx.net>
3484
3485         * BufferView_pimpl.C:
3486         * Bullet.C:
3487         * layout.h:
3488         * lyxfunc.C:
3489         * lyxlayout.[Ch]:
3490         * lyxtextclass.C:
3491         * rowpainter.C:
3492         * text.C:
3493         * text2.C:
3494         * Counters.[Ch]: finish the 'automatic counters' job
3495
3496 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3497
3498         * aspell.C: include <boost/assert.cpp> (compile fix)
3499
3500 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3501
3502         * boost.C (assertion_failed): use lyx::support::abort instead of
3503         assert.
3504
3505 2003-09-10  Angus Leeming  <leeming@lyx.org>
3506
3507         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3508         with their _fwd progeny.
3509
3510 2003-09-09  Angus Leeming  <leeming@lyx.org>
3511
3512         134 files throughtout the source tree: replace 'using namespace abc;'
3513         directives with the appropriate 'using abc::xyz;' declarations.
3514
3515 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3516
3517         * boost.C (emergencyCleanup): moved here from LAssert.c
3518         (assertion_failed): new function, called by BOOST_ASSERT
3519
3520         * several files: change Assert to BOOST_ASSERT
3521
3522 2003-09-09  Angus Leeming  <leeming@lyx.org>
3523
3524         * buffer.[Ch]: Add an Impl class and move Buffer's member
3525         variables into it. As a result move several header files out of
3526         buffer.h.
3527
3528         Add header files to lots of .C files all over the tree as a result.
3529
3530 2003-09-09  Angus Leeming  <leeming@lyx.org>
3531
3532         * buffer.[Ch]: make Buffer's member variables private. Add
3533         accessor functions.
3534
3535         Lots of changes all over the tree as a result.
3536
3537 2003-09-08  Angus Leeming  <leeming@lyx.org>
3538
3539         * graph.C: #include <config.h>.
3540
3541 2003-09-08  Angus Leeming  <leeming@lyx.org>
3542
3543         * BranchList.C:
3544         * BufferView.C:
3545         * BufferView_pimpl.C:
3546         * CutAndPaste.C:
3547         * DepTable.C:
3548         * LaTeX.C:
3549         * LaTeXFeatures.C:
3550         * LyXAction.C:
3551         * MenuBackend.C:
3552         * TextCache.C:
3553         * aspell.C:
3554         * buffer.C:
3555         * bufferlist.C:
3556         * changes.C:
3557         * chset.C:
3558         * converter.C:
3559         * counters.C:
3560         * debug.C:
3561         * graph.C:
3562         * ispell.C:
3563         * lyx_cb.C:
3564         * lyxfind.C:
3565         * lyxfunc.C:
3566         * lyxlex_pimpl.C:
3567         * lyxrc.C:
3568         * lyxrow.C:
3569         * paragraph.C:
3570         * rowpainter.C:
3571         * texrow.C:
3572         * text.C:
3573         * text2.C:
3574         * toc.C: remove redundant using directives.
3575
3576 2003-09-07  Angus Leeming  <leeming@lyx.org>
3577
3578         * LaTeXFeatures.h: remove #include "support/types.h".
3579         * ToolbarBackend.h: remove #include <algorithm>.
3580         * changes.h: remove #include <ctime>.
3581         * debug.h: remove #include <iosfwd>.
3582         * graph.h: remove #include "support/std_string.h".
3583         * lyx_main.h: remove #include <csignal>.
3584         * lyxlex_pimpl.h: remove #include <fstream>.
3585         * sgml.h: remove #include <algorithm>, <utility>.
3586         * toc.h: remove #include "support/std_ostream.h".
3587         Add #include <iosfwd>.
3588
3589 2003-09-07  Angus Leeming  <leeming@lyx.org>
3590
3591         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3592
3593         * converter.h: forward declare LatexRunParams.
3594         * encoding.h: remove #include "lyxrc.h".
3595         * lyxtext.h: remove #include "LColor.h".
3596         * lyxtextclass.h: remove #include "support/types.h".
3597         * trans.h: remove #include "tex-accent.h".
3598         * trans_mgr.h: remove #include "tex-accent.h".
3599         * insets/inset.h: remove #include "support/types.h", <vector>.
3600         * insets/insetcollapsable.h: remove #include "LColor.h".
3601         * insets/insetinclude.h: remove #include "dimension.h".
3602         * insets/insetlatexaccent.h: remove #include "dimension.h".
3603         * insets/insetoptarg.h:: remove #include "insettext.h".
3604         * insets/insettext.h: remove #include "dimension.h",
3605         <boost/shared_ptr.hpp>
3606
3607         * insets/renderers.h: add #include "dimension.h".
3608         * insets/updatableinset.h: add #include "support/types.h".
3609
3610         * many .C files: Associated changes.
3611
3612 2003-09-06  Angus Leeming  <leeming@lyx.org>
3613
3614         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3615         one, inside testInvariant.
3616
3617         * PrinterParams.C: new file.
3618         * PrinterParams.[Ch]: move the function bodies out of line.
3619
3620 2003-09-06  Angus Leeming  <leeming@lyx.org>
3621
3622         * ParagraphParameters.h: forward declare ParameterStruct rather than
3623         including its header file.
3624         (depth): moved out-of-line.
3625
3626 2003-09-06  Angus Leeming  <leeming@lyx.org>
3627
3628         * BufferView_pimpl.h:
3629         * kbmap.h:
3630         * kbsequence.h:
3631         * lyxfunc.h: forward declare LyXKeySym rather than
3632         #include "frontends/LyXKeySym.h".
3633
3634         * BufferView_pimpl.C:
3635         * kbmap.C:
3636         * kbsequence.C:
3637         * lyxfunc.C: associated changes.
3638
3639 2003-09-06  Angus Leeming  <leeming@lyx.org>
3640
3641         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3642         As a result, can remove the #include "insets/inset.h" from BufferView.h
3643
3644 2003-09-06  Angus Leeming  <leeming@lyx.org>
3645
3646         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3647         As a result, can remove the #include "insets/inset.h" from BufferView.h
3648
3649 2003-09-06  Angus Leeming  <leeming@lyx.org>
3650
3651         * buffer_funcs.C:
3652         * buffer.h:
3653         * bufferlist.C:
3654         * BufferView.C:
3655         * bufferview_funcs.C:
3656         * BufferView_pimpl.C:
3657         * CutAndPaste.C:
3658         * lyx_cb.C:
3659         * lyxfunc.C:
3660         * paragraph.h:
3661         * ParagraphParameters.C:
3662         * tabular.C:
3663         * text3.C:
3664         * toc.C:
3665         * undo_funcs.C:
3666         * frontends/controllers/ControlDocument.C:
3667         * insets/insetcaption.C: rearrange the #includes into some sort of
3668         coherent order.
3669
3670         * buffer.h: remove #includes ErrorList.h, undo.h
3671
3672 2003-09-06  Angus Leeming  <leeming@lyx.org>
3673
3674         * support/types.h: add a 'depth_type' typedef, used to store the
3675         nesting depth of a paragraph.
3676
3677         * paragraph.h:
3678         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3679         defining explicitly.
3680
3681         * buffer.h:
3682         * paragraph_funcs.h:
3683         * ParagraphParameters.h:
3684         * sgml.h: use lyx::depth_type rather than Paragraph or
3685         ParameterStruct's depth_type.
3686
3687         * buffer.h
3688         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3689
3690         * BufferView.C:
3691         * BufferView_pimpl.C:
3692         * CutAndPaste.C:
3693         * ParagraphParameters.C:
3694         * buffer_funcs.C:
3695         * bufferlist.C:
3696         * bufferview_funcs.C:
3697         * lyx_cb.C:
3698         * lyxfunc.C:
3699         * tabular.C:
3700         * text3.C:
3701         * toc.C:
3702         * undo_funcs.C:
3703         * frontends/LyXView.C:
3704         * frontends/controllers/ControlDocument.C:
3705         * frontends/controllers/ControlErrorList.C:
3706         * insets/insetbibitem.C:
3707         * insets/insetbranch.C:
3708         * insets/insetcaption.C:
3709         * insets/insetcollapsable.C:
3710         * insets/insetenv.C:
3711         * insets/insetert.C:
3712         * insets/insetfloat.C:
3713         * insets/insetfoot.C:
3714         * insets/insetfootlike.C:
3715         * insets/insetnewline.C:
3716         * insets/insetquotes.C:
3717         * insets/insettabular.C:
3718         * insets/insettext.C:
3719         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3720
3721         * frontends/controllers/ControlChanges.C: #include "changes.h".
3722
3723 2003-09-06  Angus Leeming  <leeming@lyx.org>
3724
3725         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3726         than #including paragraph.h.
3727
3728         * ParagraphList.h:
3729         * RowList.h: deleted. Superfluous.
3730
3731         * CutAndPaste.h:
3732         * iterators.h:
3733         * lyxcursor.h:
3734         * lyxtext.h:
3735         * text_funcs.h:
3736         * undo.h:
3737         * undo_funcs.h:
3738         * insets/inset.h:
3739         * insets/insettext.h: use ParagraphList_fwd.h rather than
3740         ParagraphList.h.
3741
3742         * paragraph.h: don't forward declare ParagraphList.
3743
3744         * buffer.h:
3745         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3746         rather than ParagraphList.h. paragraph.h is still needed for the
3747         Paragraph::depth_type parameters.
3748
3749         * textcursor.h: enable it to compile stand-alone in light of the
3750         above changes.
3751
3752         * bufferview_funcs.C:
3753         * iterators.C:
3754         * lyxfunc.C:
3755         * lyxrow_funcs.C:
3756         * paragraph.C:
3757         * rowpainter.C:
3758         * text.C:
3759         * text2.C:
3760         * text3.C:
3761         * text_funcs.C:
3762         * textcursor.C:
3763         * undo.C:
3764         * frontends/controllers/ControlParagraph.C:
3765         * frontends/controllers/ControlTabular.C:
3766         * insets/insetmarginal.C:
3767         * insets/insetminipage.C:
3768         * insets/insetnote.C:
3769         * insets/insetoptarg.C: add header files needed to compile again.
3770
3771 2003-09-06  Angus Leeming  <leeming@lyx.org>
3772
3773         * RowList_fwd.h: new file, forward-declaring Row rather than
3774         #including lyxrow.h.
3775
3776         * lyxrow_funcs.h:
3777         * lyxtext.h:
3778         * paragraph.h:
3779         * insets/insettext.h: use it instead of RowList.h
3780
3781         * bufferview_funcs.C:
3782         * lyxfunc.C:
3783         * lyxrow_funcs.C:
3784         * paragraph.C:
3785         * rowpainter.C:
3786         * text.C:
3787         * text2.C:
3788         * text3.C: #include "RowList.h".
3789
3790 2003-09-05  Angus Leeming  <leeming@lyx.org>
3791
3792         * factory.C (createInset):
3793         * vspace.C (c-tor): replace sscanf call with an istringstream.
3794         * ispell.C: re-add missing HP/UX headers.
3795         * lyxserver.C: re-add missing  os2 headers.
3796
3797 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3798
3799         * BranchList.C:
3800         * graph.C:
3801         * ispell.C:
3802         * lastfiles.C:
3803         * lyx_cb.C:
3804         * lyxserver.C:
3805         * texrow.C:
3806         * text3.C: re-add missing system headers, needed for 2.95.2.
3807
3808 2003-09-05  Angus Leeming  <leeming@lyx.org>
3809
3810         Changes most place everywhere due to the removal of using directives
3811         from support/std_sstream.h.
3812
3813 2003-09-05  Angus Leeming  <leeming@lyx.org>
3814
3815         Replace LString.h with support/std_string.h,
3816         Lsstream.h with support/std_sstream.h,
3817         support/LIstream.h with support/std_istream.h,
3818         support/LOstream.h with support/std_ostream.h.
3819
3820         Changes resulting throughout the tree.
3821
3822 2003-09-05  Angus Leeming  <leeming@lyx.org>
3823
3824         * sgml.h: ensure that the header file can be compiled stand-alone.
3825         * *.C: strip out redundant #includes. (320 in total.)
3826
3827 2003-09-04  Angus Leeming  <leeming@lyx.org>
3828
3829         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3830         here (from getPackages).
3831
3832         * debug.[Ch]: add a new EXTERNAL tag.
3833
3834 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3835
3836         * text2.C (cursorEnd): simplify
3837         (setCursor): adjust
3838         (getColumnNearX): adjust
3839
3840         * text.C (computeBidiTables): adjust
3841         (fill): adjust
3842
3843         * rowpainter.C (paintChars): adjust
3844         (paintSelection): adjust
3845         (paintChangeBar): adjust
3846         (paintText): adjust
3847
3848         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3849         lastPos instead.
3850         (numberOfSeparators): adjust
3851
3852 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3853
3854         * LyXAction.C:
3855         * box.[Ch]:
3856         * lfuns.h:
3857         * lyxfunc.C:
3858         * text3.C: Restricts the mouse click functionality
3859         of insets like bibtex, include, toc and floatlist to the visible
3860         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3861         up the dialogs. Cursor has to be in front of the inset (i.e.
3862         start of row) for this to function.
3863
3864 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3865
3866         * bufferview_funcs.C (currentState): output row information
3867
3868 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3869
3870         * bufferview_funcs.C (currentState): output paragraph position
3871
3872 2003-09-04  Angus Leeming  <leeming@lyx.org>
3873
3874         * FloatList.h: move out #include "Floating.h".
3875         * LaTeX.h: move out #include "DepTable.h".
3876         * LyXAction.h: move out #include "funcrequest.h".
3877         * buffer.h: move out #include "author.h", "iterators.h".
3878         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3879         * lyx_main.h: move out #include "errorlist.h".
3880         * lyxfunc.h: move out #include "FuncStatus.h".
3881         * lyxtext: move out #include "lyxcursor.h".
3882         * paragraph_pimpl.h: move out #include "counters.h".
3883
3884 2003-09-03  Angus Leeming  <leeming@lyx.org>
3885
3886         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3887         preamble_snippets list, enabling us to add snippets to the preamble
3888         only if the snippet was not there already.
3889
3890 2003-09-04  Angus Leeming  <leeming@lyx.org>
3891
3892         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3893
3894 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3895
3896         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3897         update
3898
3899 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3900
3901         * BranchList.C: point fix, earlier forgotten
3902
3903 2003-09-02  Angus Leeming  <leeming@lyx.org>
3904
3905         * box.C (contains): renamed from 'contained' after a fantastic
3906         amount of hot air.
3907
3908 2003-09-02  John Levon  <levon@movementarian.org>
3909
3910         * BufferView.C:
3911         * lyxcursor.h:
3912         * lyxcursor.C:
3913         * lyxfunc.C:
3914         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3915
3916 2003-09-02  John Levon  <levon@movementarian.org>
3917
3918         * text2.C: simplification of cursorEnd(), including partial
3919         fix for bug 1376
3920
3921 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * buffer.C (readFile): add a space
3924
3925 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3926
3927         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3928
3929 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * buffer.C (readFile): new function, take a filename and a
3932         ParagraphList::iterator
3933         (readFile): adjust
3934         (readFile): adjust, make it private. don't use setStream, make
3935         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3936         always contain the filename.
3937
3938         * BufferView.C (insertLyXFile): simplify and make it work for
3939         gzipped files.
3940
3941 2003-08-30  John Levon  <levon@movementarian.org>
3942
3943         * Makefile.am: fix dist (from Kayvan)
3944
3945 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * most files: change to use const Buffer refs
3948
3949 2003-08-27  André Pönitz  <poenitz@gmx.net>
3950
3951         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3952         on top of ownerPar().
3953
3954 2003-08-27  John Levon  <levon@movementarian.org>
3955
3956         * funcrequest.C: properly initialise POD members
3957
3958 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3959
3960         * lyxtext.h (top_y): move top_y from here
3961         * text.C:
3962         * text2.C:
3963         * text3.C:
3964         * BufferView.[Ch]:
3965         * BufferView_pimpl.[Ch]: to here
3966         * frontends/screen.C:
3967         * insets/insettabular.C:
3968         * insets/insettext.C: adjust
3969         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3970
3971 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3972
3973         * BufferView.[Ch]:
3974         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3975
3976 2003-08-26  André Pönitz  <poenitz@gmx.net>
3977
3978         * paragraph_func.[Ch] (outerPar): new function
3979
3980         * paragraph.C:
3981         * paragraph_funcs.C:
3982         * paragraph_funcs.h:
3983         * paragraph_pimpl.C:
3984         * text2.C: remove Inset::par_owner
3985
3986 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3987
3988         * lyxrow_funcs.C:
3989         * lyxtext.h:
3990         * text.C:
3991         * text2.C: eliminates the needFullRow/display() stuff
3992         altogether, putting the logic in metrics/draw in the insets.
3993
3994 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3995
3996         * text2.C (redoParagraphInternal, redoParagraphs):
3997         * text.C (redoParagraph): add a call to updateRowPositions at the
3998         end of each 'metrics-like' call. Remove all others.
3999         (getRow): remove the 'y-computing' version.
4000         (getRowNearY): do not compute nor return the real y. Solve the
4001         'y < 0' problem and simplify.
4002
4003 2003-08-22  Angus Leeming  <leeming@lyx.org>
4004
4005         * *.[Ch]: clean-up of licence and author blurbs.
4006         Also move config.h out of a few .h files and into a few .C files.
4007
4008 2003-08-22  André Pönitz  <poenitz@gmx.net>
4009
4010         * lyxrow.[Ch]: add x_ and *fill_ members
4011
4012         * lyxtext.h:
4013         * text.C:
4014         * rowpainter.C:
4015         * text2.C: adjust/remove prepareToPrint() calls
4016
4017 2003-08-22  André Pönitz  <poenitz@gmx.net>
4018
4019         * lyxrow.[Ch]: add  end_ member
4020
4021         * lyxrow_funcs.C: use LyXRow::end_
4022
4023         * lyxtext.h (singleWidth): add LyXFont parameter
4024
4025         * rowpainter.C:
4026         * text2.C: adjust LyXText::singleWidth() calls
4027
4028         * text.C (redoParagraph): simplify row breaking logic
4029
4030
4031 2003-08-19  André Pönitz  <poenitz@gmx.net>
4032
4033         * funcrequest.C: initialize button_ member
4034
4035         * text3.C:
4036         * rowpainter.[Ch]: interface consolidation
4037
4038 2003-08-18  André Pönitz  <poenitz@gmx.net>
4039
4040         * BufferView.C:
4041         * BufferView_pimpl.C:
4042         * lyxfind.C:
4043         * paragraph_funcs.C:
4044         * rowpainter.C:
4045         * text3.C: remove LyXScreen::draw() and fitCursor calls
4046
4047         * BranchList.h: remove spurious semicolons
4048
4049         * MenuBackend.C: fix branchlist related crash
4050
4051 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4052
4053         * BranchList.[Ch]:
4054         * InsetList.[Ch]:
4055         * LColor.[Ch]:
4056         * LyXAction.C:
4057         * Makefile.am:
4058         * MenuBackend.[Ch]:
4059         * bufferparams.[Ch]:
4060         * factory.C:
4061         * lfuns.h:
4062         * lyxfunc.C:
4063         * text3.C: implements the 'branch inset'
4064         idea. This allows the output of various versions of a document
4065         from a single source version, selectively outputing or suppressing
4066         output of parts of the text.
4067         This implementation contains a 'branch list editor' in a separate
4068         tab of the document settings dialog. Branches are user definable
4069         and have a "display colour" to distinguish them on-screen.
4070
4071         ColorHandler was somewhat cleaned up.
4072         (1) make possible a dynamically growing LColor list by allowing
4073         the graphic context cache to grow along (vector);
4074         (2) eliminate an IMHO unnecessary step in colour allocation.
4075
4076 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4077
4078         * BufferView_pimpl.C: compile fix
4079
4080 2003-08-15  André Pönitz  <poenitz@gmx.net>
4081
4082         * rowpainter.C: remove extra metrics calls
4083
4084         * lyxtext.h: merge the two constructors into a single one,
4085           pass reference to owner's par list
4086
4087         * BufferView_pimpl.C:
4088         * text.C:
4089         * text2.C: adjust
4090
4091 2003-08-15  André Pönitz  <poenitz@gmx.net>
4092
4093         * lyxrow_funcs.[Ch]:
4094         * lyxtext.h:
4095         * paragraph.h:
4096         * paragraph_funcs.C:
4097         * rowpainter.C:
4098         * text.C:
4099         * text2.C:
4100         * text3.C:
4101         * text_funcs.C: split LyXText::rowlist_ into individual
4102         Paragraph::rows_ chunks
4103
4104         * BufferView.[Ch]:
4105         * BufferView_pimpl.[Ch]:
4106         * lyxfind.C:
4107         * lyxtext.h:
4108         * text3.C: remove toggleSelection()
4109
4110 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4111
4112         * bufferlist.C: beautify two alerts (shorter text of buttons)
4113         * buffer.C: Remove redundant ' ' from message
4114         * tabular.h:
4115         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4116         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4117         rename VALIGN_CENTER to VALIGN_MIDDLE
4118
4119 2003-08-11  André Pönitz  <poenitz@gmx.net>
4120
4121         * lyxtext.h (getPar):
4122         * text.C: new function
4123
4124 2003-08-11  André Pönitz  <poenitz@gmx.net>
4125
4126         * Makefile.am:
4127         * tracer.[Ch]: remove unneeded files
4128
4129         * InsetList.[Ch]: remove resizeInsetsLyXText()
4130
4131         * lyxtext.h:
4132         * text.C:
4133         * text2.C:
4134         * text3.C: merge insertParagraphs() and appendParagraph()
4135         remove breakAgain(), update()
4136
4137         * BufferView_pimpl.[Ch]:
4138         * bufferview_funcs.[Ch]:
4139         * lyxfunc.C:
4140         * paragraph.[Ch]:
4141         * rowpainter.C:
4142         * tabular.C: adjust after text & InsetList changes.
4143
4144 2003-08-08  André Pönitz  <poenitz@gmx.net>
4145
4146         * text.C (insertChar, backspace): replace rowlist fiddling
4147         with rebreak of full par
4148
4149         * lyxtext.h:
4150         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4151         checkParagraph, updateInset): removed
4152
4153 2003-08-07  André Pönitz  <poenitz@gmx.net>
4154
4155         * paragraph.C:
4156         * text3.C: merge some LFUN handlers, remove dead code
4157
4158 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4159
4160         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4161
4162 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4163
4164         * text2.C (DEPM): fix part of bug 1255 and 1256
4165
4166 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4167
4168         * BufferView_pimpl.C (workAreaDispatch): change to use
4169         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4170         that are no mouse related.
4171
4172 2003-08-05  André Pönitz  <poenitz@gmx.net>
4173
4174         * BufferView.[Ch]:
4175         * BufferView_pimpl.[Ch]:
4176         * bufferview_funcs.C:
4177         * text2.C:
4178         * text3.C: rip out "deep update"
4179
4180         * textcursor.[Ch] (last_sel_cursor): remove unused member
4181
4182 2003-08-04  André Pönitz  <poenitz@gmx.net>
4183
4184         * BufferView.[Ch]:
4185         * BufferView_pimpl.[Ch]:
4186         * ParagraphParameters.C:
4187         * bufferview_funcs.C:
4188         * lyx_cb.C:
4189         * lyxfind.C:
4190         * lyxfunc.C:
4191         * text.C:
4192         * text2.C:
4193         * text3.C: replace "complicated" BufferView::update(...) calls with
4194         simpler ones.
4195
4196         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4197
4198 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4199
4200         * Makefile.am (lyx_SOURCES): add paper.h
4201
4202 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4203
4204         * Makefile.am: move things around so that both lyx-qt and
4205         lyx-xforms can be built (according to --with-frontend). Then lyx
4206         is a symbolic link to lyx-[firstfrontend]
4207
4208 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4209
4210         * Always use std::endl with lyxerr
4211
4212 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4213
4214         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4215
4216 2003-08-01  André Pönitz  <poenitz@gmx.net>
4217
4218         * BufferView.[Ch]:
4219         * BufferView_pimpl.[Ch]:
4220         * lyxfunc.C:
4221         * text3.C: merge BufferView::repaint() and BufferView::update()
4222
4223 2003-08-01  José Matos  <jamatos@lyx.org>
4224
4225         * buffer.[Ch]: file_format is no longer a buffer data element.
4226
4227 2003-08-01  André Pönitz  <poenitz@gmx.net>
4228
4229         * BufferView.C:
4230         * lyxtext.h:
4231         * text.C:
4232         * text2.C: make redoParagraph more independent of current cursor
4233
4234         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4235         * text.C:
4236         * text2.C: remove unneeded members
4237
4238 2003-07-30  André Pönitz  <poenitz@gmx.net>
4239
4240         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4241
4242         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4243           create a single function...
4244
4245         * paragraph_funcs.C (moveItem): ... here.
4246
4247         * text.C:
4248           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4249
4250 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4251
4252         * LColor.[Ch]: Add comment and greyedout logical colors.
4253
4254 2003-07-30  André Pönitz  <poenitz@gmx.net>
4255
4256         * tabular.C: don't use Assert too heavily. This crashes where it
4257           shouldn't
4258
4259 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4260
4261         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4262         is disabled (bug 1232)
4263
4264 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4265
4266         * factory.C: limited 'arg' scope
4267
4268 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4269
4270         * factory.C: fixed Note submenu issues
4271
4272 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4273
4274         * factory.C: submenu for Note/Comment/Greyedout
4275
4276 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4277
4278         * lyx_main.C (LyX):
4279         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4280
4281 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4282
4283         * LaTeXFeatures.C:
4284         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4285         greyedout. Patch provided by Jürgen Spitzmüller.
4286
4287 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4288
4289         * kbmap.C (read): fix error message when reading bind files
4290
4291 2003-07-29  Angus Leeming  <leeming@lyx.org>
4292
4293         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4294         certainly does not do what it purports to do. I am doing it, and
4295         us, a favour by killing it.
4296
4297 2003-07-28  José Matos  <jamatos@lyx.org>
4298
4299         * buffer.C (readBody, do_writeFile):
4300         * paragraph.C(readParagraph): \end_document replaces \the_end.
4301
4302 2003-07-29  André Pönitz  <poenitz@gmx.net>
4303
4304         * BufferView.[Ch]:
4305         * BufferView_pimpl.[Ch]:
4306         * lyxfunc.C:
4307         * text2.C:
4308         * text3.C:
4309         * textcursor.[Ch]: remove toggleToggle & Co
4310
4311 2003-07-28  José Matos  <jamatos@fep.up.pt>
4312
4313         * buffer.C (readParagraph):
4314         * params_func (readParToken, readParagraph):
4315         * paragraph.C (write): \layout -> \begin_layout.
4316
4317 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4318
4319         * lyxlex_pimpl.C (setFile): clean up slightly.
4320
4321         * bufferparams.h: add compressed var
4322
4323         * buffer_funcs.C (readFile): adjust for LyXLex change
4324         (newFile): ditto + simplify
4325
4326         * buffer.C (writeFile): handle writing of compressed files
4327
4328         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4329         Check if the file is compressed and set a bufferparm if so.
4330
4331         * Makefile.am (lyx_LDADD): remove explicit -lz
4332
4333 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4334
4335         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4336         makeDocBookFile): put the real LyX version in the first line of
4337         the file
4338
4339         * version.h:
4340         * version.C.in: remove lyx_docversion
4341
4342         * tabular.C (write_attribute): add a template-based version to
4343         write enums properly
4344
4345 2003-07-28  André Pönitz  <poenitz@gmx.net>
4346
4347         * lyxtext.h:
4348         * text.C:
4349         * text2.C:
4350         * text3.C: use doubles again for x-coordinates. They are needed.
4351
4352 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4353
4354         * messages.C (getLocaleDir): use lyx_localedir()
4355
4356         * lyxlex_pimpl.C (setFile): compress stuff
4357
4358         * buffer.C (writeFile): add some compression stuff
4359         (do_writeFile): new func, dont call expliti close... will this
4360         breake anything?
4361
4362         * Makefile.am (lyx_LDADD): add -lz
4363
4364 2003-07-28  José Matos  <jamatos@fep.up.pt>
4365
4366         * buffer.C: increment file format.
4367         * paragraph_funcs (readParagraph, readParToken):
4368         * paragraph.C (readParagraph): add \end_layout.
4369
4370 2003-07-27  Angus Leeming  <leeming@lyx.org>
4371
4372         * Makefile.am: remove special casing for configure-time setting of
4373         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4374
4375         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4376         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4377
4378 2003-07-26  André Pönitz  <poenitz@gmx.net>
4379
4380         * paragraph_func.[Ch]:
4381         * paragraph.C (realizeFont): inline it whereever it is used
4382
4383         * rowpainter.C:
4384         * text.C:
4385         * text2.C:
4386         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4387
4388
4389 2003-07-26  André Pönitz  <poenitz@gmx.net>
4390
4391         *       lyxtext.h:
4392         * text.C:
4393         * text2.C: get rid of LyXText::need_break_row
4394
4395 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4396
4397         * toc.[Ch]: put namespace toc inside namespace lyx
4398
4399         * MenuBackend.C (expandToc2): adjust for lyx::toc
4400         (expandToc): ditto
4401
4402         * lyxfunc.C (dispatch): adjust for lyx::find
4403
4404         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4405         lyx::find instead. Reorganize a bit.
4406         (LyXReplace): rename to replace
4407         (LyXFind): rename to find
4408
4409         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4410         (dispatch): ditto
4411
4412 2003-07-26  André Pönitz  <poenitz@gmx.net>
4413
4414         * text.C (setHeightOfRow): restrict scope of temporary variable
4415
4416         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4417           code (never has been used?)
4418
4419 2003-07-27  Asger Alstrup  <alstrup@local>
4420
4421         * text.C (fill): Optimise algorithm to exploit that we can reuse
4422         the LyXFont for many characters.
4423         (setHeightOfRow): Same thing.
4424         (rowBreakPoint): Same thing.
4425
4426 2003-07-26  Asger Alstrup  <alstrup@local>
4427
4428         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4429
4430         * text.C (singleWidth): Spurious font copying in hot-spot
4431         singleWidth avoided. Reorder tests for arabic for efficiency.
4432
4433         * text.C (fill): handle empty paragraphs better.
4434
4435 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4436
4437         * ispell.C:
4438         * encoding.h: add includes
4439
4440         * lyxrc.C: remove reading of bind files
4441
4442         * lyx_main.C (init): setup bindings and menus only if we have a
4443         gui.
4444
4445         * kbmap.C (read): new method. Do the actual reading of bind
4446         files.
4447
4448         * converter.C (dvipdfm_options):
4449         * bufferparams.C:
4450         * lyxrc.C (read):
4451         (output): adapt PAPER_* enums.
4452
4453         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4454
4455         * bufferparams.h: remove paper-related enums from there
4456
4457         * paper.h: New file. A trivial header file to hold paper-related
4458         enums. It should later expand to contain many paper-related
4459         horrors access.
4460
4461         * lyxrc.C: declare extern displayTranslator
4462
4463 2003-07-27  José Matos  <jamatos@fep.up.pt>
4464
4465         * tabular.[Ch] (linuxdoc): add support for tables and figures
4466         (linuxdoc).
4467
4468 2003-07-27  José Matos  <jamatos@fep.up.pt>
4469
4470         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4471         consistency in both functions.
4472         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4473
4474 2003-07-26  Asger Alstrup  <alstrup@local>
4475
4476         * rowpainter.C (paintRows): Change algorithm to work directly on
4477         the insets rather than asking every character in the document
4478         whether its an inset.
4479
4480 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4481
4482         * buffer.C (openFileWrite): factorize some code
4483
4484 2003-07-26  Angus Leeming  <leeming@lyx.org>
4485
4486         * lyx_cb.C:
4487         * lyx_main.[Ch]: replace occurances of system_tempdir with
4488         os::getTmpDir().
4489
4490 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4491
4492         * rename Inset to InsetOld
4493
4494 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4495
4496         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4497         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4498         which I think is a bit clearer. EDIT is gone, since it was
4499         premature optimisation, and broken for mathed anyway.
4500         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4501         with cursor positioning in insets as well (math insets still do not
4502         work, but that's a different story anyway.) It mysteriously
4503         crashes sometimes with undo in the first paragraph, but I'm fairly
4504         confident that this is a compiler bug.
4505
4506 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * paragraph.C (Paragraph): adjust for new clone return type
4509         (operator==): ditto
4510         (copyIntoMinibuffer): ditto
4511
4512 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4513
4514         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4515         by not having a special case, and always doing a full rebreak of
4516         the document after undo.
4517
4518 2003-07-23  Angus Leeming  <leeming@lyx.org>
4519
4520         * factory.C (createInset): InsetExternal::setParams now takes a
4521         Buffer const * arg.
4522
4523 2003-07-23  Angus Leeming  <leeming@lyx.org>
4524
4525         * factory.C (createInset): changed interface to the external and
4526         graphics mailers' string2params functions.
4527
4528 2003-07-23  Angus Leeming  <leeming@lyx.org>
4529
4530         * factory.C (createInset): pass a
4531         Buffer const * parameter to InsetExternalMailer's string2params.
4532
4533 2003-07-22  John Levon  <levon@movementarian.org>
4534
4535         * Thesaurus.h: include the right aiksaurus header
4536
4537 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4538
4539         * MenuBackend.C (expand): check menu shortcuts unconditionally
4540
4541 2003-07-21  Angus Leeming  <leeming@lyx.org>
4542
4543         * factory.C (createInset): pass a
4544         buffer_path parameter to InsetGraphicsMailer's string2params.
4545
4546 2003-07-21  Angus Leeming  <leeming@lyx.org>
4547
4548         * BufferView_pimpl.C (buffer):
4549         * buffer.C (d-tor):
4550         * lyx_main.C (LyX):
4551         * lyxfunc.C (dispatch):
4552         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4553         rather than the grfx shortcut.
4554
4555 2003-07-21  André Pönitz  <poenitz@gmx.net>
4556
4557         * rowpainter.C: remove unused variables
4558
4559         * tabular_funcs.C:
4560         * tabular_funcs.h: move to tabular.C
4561         * Makefile.am: adjust
4562
4563         * tabular.[Ch]: basic optical cleaning
4564
4565         * author.h: pass references, not values
4566
4567 2003-07-18  André Pönitz  <poenitz@gmx.net>
4568
4569         * lyxtext.h:
4570         * metricsinfo.C:
4571         * metricsinfo.h:
4572         * rowpainter.C:
4573         * text.C:
4574         * text2.C:
4575         * text3.C: two-phase drawing for InsetText and InsetTabular
4576         some float -> int changes.
4577
4578 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4579
4580         * lyx_main.C: fix the fix
4581
4582 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4583
4584         * lyx_main.C: fix a crash in batch mode if no files specified
4585         * converter.C: ws
4586
4587 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4588
4589         * format.[Ch] (papersize): moved to BufferParams
4590         * converter.[Ch] (dvips_options): moved to BufferParams
4591         (dvipdfm_options): moved to anon namespace
4592         * bufferparams.[Ch]: added above functions.
4593
4594 2003-07-17  André Pönitz  <poenitz@gmx.net>
4595
4596         * lyxtext.h:
4597         * rowpainter.C:
4598         * text2.C: don't call inset->update() anymore
4599
4600         * metricsinfo.[Ch]: add convenience constructor
4601
4602 2003-07-16  André Pönitz  <poenitz@gmx.net>
4603
4604         * lyxcursor.[Ch]:
4605         * lyxfunc.[Ch]:
4606         * text.C:
4607         * text2.C: replace the LyXCursor::irow_ member with
4608          on-demand computation of the value
4609
4610 2003-07-16  John Levon  <levon@movementarian.org>
4611
4612         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4613
4614 2003-07-15  André Pönitz  <poenitz@gmx.net>
4615
4616         * text.C:
4617         * text2.C: remove no more needed refresh_row
4618
4619 2003-07-15  André Pönitz  <poenitz@gmx.net>
4620
4621         * lyxtext.h:
4622         * rowpainter.C:
4623         * text2.C:
4624         * text3.C: refresh_status tristate -> need_update bool
4625
4626 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4627
4628         * lyxtext.h (init): remove reinit argument (act as if always true)
4629         * text2.C: adjust to that
4630
4631 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4632
4633         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4634         * text3.C: use it to delete selections in some cases
4635         (bugs 441, 673, 702, 954).
4636
4637 2003-07-14  André Pönitz  <poenitz@gmx.net>
4638
4639         * rowpainter.[Ch]: reduce interface
4640
4641 2003-07-14  André Pönitz  <poenitz@gmx.net>
4642
4643         * BufferView_pimpl.C:
4644         * text2.C: adjust after removing unused BufferView * argument
4645
4646 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4647
4648         * text2.C (init): fix a crash fired on resize
4649
4650 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4651
4652         * buffer.[Ch]: added new closing signal
4653         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4654         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4655         BufferView::Pimpl via the closing the signal
4656
4657 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4658
4659         * buffer.[Ch]: take out all bv-related from buffer
4660         * BufferView.C:
4661         * BufferView_pimpl.[Ch]: connect to new signals
4662         * CutAndPaste.C: removed useless asserts
4663         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4664         * lyxvc.[Ch]:
4665         * vc-backend.[Ch]:
4666         * lyxfunc.C: moved view-related funciontality from vc here
4667         * paragraph.C: removed outdated comments
4668         * text.C: ws
4669
4670 2003-07-10  André Pönitz  <poenitz@gmx.net>
4671
4672         * BufferView_pimpl.C:
4673         * tabular.h:
4674         * tabular_funcs.C:
4675         * text.C:
4676         * text2.C: remove InsetText::InnerCache, clean up consequences
4677
4678 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4679
4680         * ispell.C: fix two typos in error messages
4681
4682 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4683
4684         * Extend Note inset to other forms of annotation like Comment
4685         and Greyedout. Right button click gives dialog.
4686
4687         Files modified or added (+):
4688
4689         * insetnote.[Ch]
4690         * FormNote.[Ch]      +
4691         * ControlNote.[Ch]   +
4692         * form_note.fd       +
4693         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4694         frontends/controllers
4695         * xforms/Dialogs.C
4696         * factory.C
4697
4698 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4699
4700         * aspell.C: add missing namespace lyx::support
4701
4702 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4703
4704         * BufferView.[Ch] (newFile): Add
4705         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4706         * LaTeX.[Ch] (message): added this signal and use it
4707         * buffer.[Ch] (busy, message): added these signals and use them
4708         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4709         * converter.C:
4710         * exporter.C:
4711         * format.C:
4712         * importer.C: use buffer signals instead of direct bv calling
4713         * lyx_cb.[Ch] (ShowMessage): removed
4714         * lyx_main.C:
4715         * lyxfunc.C:
4716         * paragraph_funcs.C:
4717         * text2.C: use buffer signals
4718
4719 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4720
4721         * introduce namespace lyx::graphics
4722
4723 2003-07-02  André Pönitz  <poenitz@gmx.net>
4724
4725         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4726
4727 2003-07-01  André Pönitz  <poenitz@gmx.net>
4728
4729         * text.C:
4730         * text2.C:
4731         * text3.C:
4732         * text_funcs.[Ch]:
4733         * textcursor.h:
4734         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4735           text*.C to text_func.C
4736
4737 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * introduce namespace lyx::support
4740
4741 2003-06-30  André Pönitz  <poenitz@gmx.net>
4742
4743         * Chktex.C:
4744         * funcrequest.C:
4745         * lyxtext.h:
4746         * text.C: re-enable --with-included-string
4747
4748 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * textcursor.C: add <config.h>
4751
4752         * text.C (getWord): remove const from word_location arg
4753
4754         * lyxvc.C (getLogFile): fix const type order
4755
4756         * lyxtext.h: remove const from word_location arg, add arg name
4757
4758         * lyxlayout.h: currect type on labeltype.
4759
4760         * importer.C: correct \file
4761
4762         * converter.C (intToFormat): use std:: on ret val, ws changes
4763
4764         * bufferlist.h: correct \file
4765
4766         * buffer.C (makeLinuxDocFile): fix const type order
4767         (makeDocBookFile): ditto
4768         (fillWithBibKeys): use std:: on stdlib args.
4769
4770         * CutAndPaste.C: fix authors.
4771         (availableSelections): use std:: on return vector
4772
4773 2003-06-27  André Pönitz  <poenitz@gmx.net>
4774
4775         * BufferView_pimpl.C:
4776         * bufferview_funcs.C:
4777         * lyxcursor.C:
4778         * lyxcursor.h:
4779         * lyxfunc.C:
4780         * lyxtext.h:
4781         * rowpainter.C:
4782         * text.C:
4783         * text2.C:
4784         * text3.C: remove LyXCursor::row_ member
4785
4786         * lyxtext.h:
4787         * text.C: rename fullRebreak() to partialRebreak() and implement
4788           a fullRebreak() that really bereks fully
4789
4790         * textcursor.h: new struct for cursor-related data
4791
4792 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4793
4794         * lyx_main.C (LyX): get full path of document loaded on the
4795         command line
4796
4797 2003-06-26  André Pönitz  <poenitz@gmx.net>
4798
4799         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4800           remove unused/broken operator>,<,>=.
4801
4802         *       text.C: remove only use of broken operator<= in an Assert().
4803
4804 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4805
4806         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4807         moved errorlist_.clear to showErrorList
4808
4809 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4810
4811         * converter.C (scanLog, runLaTeX):
4812         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4813         move the bv->showErrorList call to the callers
4814         * lyxfunc.C: i.e. here...
4815         * text2.C: and here
4816         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4817         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4818         namespace, the second to...
4819         * buffer_funcs (BufferFormat, parseErrors): added
4820         * errorlist.C (ErrorList(TeXErrors const &)): removed
4821
4822 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4823
4824         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4825
4826 2003-06-24  "Garst R. Reese" <reese@isn.net>
4827
4828         * debug.C: fix typo
4829
4830 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4831
4832         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4833
4834         * version.C.in: change docversion to 1.4
4835
4836 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4837
4838         * buffer.C: fix a bug just introduced
4839
4840 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4841
4842         * buffer.[Ch]: added the parseError signal and use it, removed
4843         sgmlError
4844         * BufferView.[Ch] (addError): moved to ...
4845         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4846         to the Buffer::parseError signal to catch (guess what) parse errors
4847         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4848
4849 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4852         ability to create a buffer and to return an existing one from
4853         the list. Moved these functions to...
4854         * buffer_funcs.[Ch]: added
4855         * BufferView.[Ch] (loadLyXFile): added
4856         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4857         job removed from bufferlist::loadLyXFile.
4858         * buffer.C (setReadOnly): make it work without view
4859         (i.e added an if (users))
4860
4861 2003-06-19  Angus Leeming  <leeming@lyx.org>
4862
4863         * lfuns.h:
4864         * LyXAction.C (init):
4865         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4866         with LFUN_DIALOG_SHOW <name> <data>.
4867
4868 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4869
4870         * CutAndPaste.C (availableSelections): small compilation fix for
4871         ancient (gcc 2.9x) compilers
4872
4873 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4874
4875         * text3.C (cursorNext): add tmp var
4876
4877         * text2.C (updateCounters): for function calling out of for clause
4878         (replaceSelectionWithString): ditto
4879         (insertStringAsParagraphs): ditto
4880         (getColumnNearX): add tmp var
4881         (setCursorFromCoordinates): add tmp var
4882         (cursorDownParagraph): add tmp var
4883         (deleteEmptyParagraphMechanism): add tmp var
4884
4885         * text.C (insertChar): add tmp var
4886
4887         * rowpainter.C (paintDepthBar): add tmp var
4888
4889         * CutAndPaste.C (availableSelections): potentially check all
4890         paragraphs in a cut to fill the shown strings.
4891
4892 2003-06-18  André Pönitz  <poenitz@gmx.net>
4893
4894         * kbmap.[Ch]: use vector<> instead of list<>
4895
4896 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4897
4898         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4899         pasteSelection with index
4900
4901         * text2.C (pasteSelection): modify, call pasteSelection with index
4902
4903         * paragraph.C (asString): reimplement version with no interval to
4904         call the one with interval.
4905
4906         * lyxtext.h: add index arg to pasteSelection
4907
4908         * MenuBackend.C (MenuItem): handle PasteRecent
4909         (Menu::read::Menutags): add md_pasterecent
4910         (read): handle it
4911         (expandPasteRecent): new function
4912         (expand): use it
4913
4914         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4915
4916         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4917         the limited stack
4918         (availableSelections): new function
4919
4920 2003-06-17  Angus Leeming  <leeming@lyx.org>
4921
4922         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4923
4924 2003-06-17  Angus Leeming  <leeming@lyx.org>
4925
4926         * lfuns.h:
4927         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4928
4929         * lyxfunc.C (dispatch): invoke it.
4930
4931 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4932
4933         * iterators.C (operator++, ParPosition): reintroduce some
4934         const_cast for the benefit of older compilers.
4935
4936 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4937
4938         * text3.C (dispatch): do not modify clipboard when doing
4939         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4940         LFUN_DELETE_SKIP on a selection selection
4941
4942 2003-06-16  André Pönitz  <poenitz@gmx.net>
4943
4944         * BufferView.C:
4945         * buffer.C:
4946         * buffer.h:
4947         * paragraph.C:
4948         * tabular.[Ch]: IU of clone() and getLabelList();
4949
4950 2003-06-13  André Pönitz  <poenitz@gmx.net>
4951
4952         * tabular.h: compactification
4953
4954 2003-06-12  André Pönitz  <poenitz@gmx.net>
4955
4956         * tabular.C:
4957         * tabular.h:
4958         * tabular_funcs.h: some renaming plus whitespace
4959
4960 2003-06-12  André Pönitz  <poenitz@gmx.net>
4961
4962         * BufferView.C:
4963         * BufferView_pimpl.C:
4964         * CutAndPaste.C:
4965         * buffer.C:
4966         * iterators.[Ch]:
4967         * lyxfunc.C:
4968         * text.C:
4969         * toc.C: Return a Paragraph & for ParIterator::operator*()
4970
4971 2003-06-11  John Levon  <levon@movementarian.org>
4972
4973         * lyx_main.C:
4974         * ToolbarBackend.h:
4975         * ToolbarBackend.C: add "Toolbars" section and
4976         put the flags there
4977
4978 2003-06-10  Angus Leeming  <leeming@lyx.org>
4979
4980         * lfuns.h:
4981         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4982
4983         * lyxfunc.C (dispatch): invoke it.
4984
4985 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * main.C: protect <ios> with HAVE_IOS
4988         (main): protect sync_with_stdio with HAVE_IOS
4989
4990 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4991
4992         * text2.C (cutSelection): adjust
4993         (pasteSelection): adjust
4994
4995         * messages.C: handle get of empty string
4996
4997         * main.C (main): use sync_with_stdio(false)
4998
4999         * lyxfunc.C (dispatch): adjust
5000
5001         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5002         (WriteAs): remove unneeded BufferView arg.
5003
5004         * bufferparams.h: use correct types on papersize, papersize2 and
5005         paperpackage.
5006
5007         * bufferparams.C (readToken): adjust for type
5008         (writeLaTeX): add missing cases to switch.
5009
5010         * bufferlist.C (quitWriteBuffer): adjust
5011         (close): adjust
5012
5013         * buffer.C (asciiParagraph): remove some commented code.
5014
5015         * CutAndPaste.C: remove current_view extern variable.
5016         (cutSelection): add BufferParams arg.
5017         (eraseSelection): add BufferParams arg.
5018         (pasteSelection): add Buffer const & arg
5019
5020 2003-06-07  John Levon  <levon@movementarian.org>
5021
5022         * buffer.C:
5023         * paragraph_funcs.C:
5024         * paragraph_pimpl.C:
5025         * text.C:
5026         * text2.C:
5027         * paragraph.h:
5028         * paragraph.C: allow InsetERT to freely space lines,
5029         and some consolidation of code
5030
5031 2003-06-06  José Matos  <jamatos@fep.up.pt>
5032
5033         * buffer.C (makeDocBookFile): fix bug #821
5034
5035 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5036
5037         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5038
5039 2003-06-04  Angus Leeming  <leeming@lyx.org>
5040
5041         * buffer.C: bump format to 224.
5042
5043 2003-06-05  André Pönitz  <poenitz@gmx.net>
5044
5045         * text2.C (redoParagraphs): remove two const_cast<>
5046
5047 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5048
5049         * ParagraphList.h: remove last remnants of NO_STD_LIST
5050
5051 2003-06-03  Angus Leeming  <leeming@lyx.org>
5052
5053         * factory.C (createInset): small change to the way InsetExternal's params
5054         are set.
5055
5056 2003-06-04  André Pönitz  <poenitz@gmx.net>
5057
5058         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5059
5060         * paragraph_pimpl.h:
5061         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5062
5063         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5064
5065         * undo_funcs.C: make some simple cases of undo work again
5066
5067 2003-06-03  John Levon  <levon@movementarian.org>
5068
5069         * ispell.C: HPUX doesn't have sys/select.h
5070         (from Albert Chin)
5071
5072 2003-06-03  John Levon  <levon@movementarian.org>
5073
5074         * CutAndPaste.C: update tabular and include inset
5075         buffer references
5076
5077         * buffer.h:
5078         * paragraph.h:
5079         * paragraph.C: remove owningBuffer(), don't pass Buffer
5080         to clone()
5081
5082         * factory.C: insetGraphicsParams changed
5083
5084 2003-06-02  John Levon  <levon@movementarian.org>
5085
5086         * LyXAction.C:
5087         * factory.C:
5088         * lfuns.h:
5089         * lyxfunc.C:
5090         * text3.C: remove insetparent
5091
5092 2003-06-02  John Levon  <levon@movementarian.org>
5093
5094         * buffer.h:
5095         * buffer.C: fix inset_iterator.end(), move out of line
5096         (bug 1149)
5097
5098 2003-06-01  John Levon  <levon@movementarian.org>
5099
5100         * text3.C: use a proper cut/paste when doing inset
5101         insert (from Jürgen Spitzmüller)
5102
5103 2003-06-01  John Levon  <levon@movementarian.org>
5104
5105         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5106
5107 2003-05-30  André Pönitz  <poenitz@gmx.net>
5108
5109         * rowpainter.C: unify second drawing phase
5110
5111 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5112
5113         * trans_mgr.C: remove one case of current_view
5114
5115         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5116
5117         * paragraph_funcs.h: remove paragraph.h include
5118
5119         * paragraph.h: delete NO_STD_LIST stuff
5120
5121         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5122
5123         * buffer.h: remove paragraph.h include
5124
5125         * ParagraphList.C: delete file
5126
5127         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5128
5129         * toc.C (getTocList): adjust
5130
5131         * paragraph_pimpl.C (validate): adjust
5132
5133         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5134
5135         * paragraph.C (Paragraph): adjust
5136         (getPositionOfInset): use const_iterator, adjust
5137         (bibitem): use const_iterator, adjust
5138         (setInsetOwner): adjust
5139
5140         * iterators.C (operator++): adjust
5141
5142         * InsetList.[Ch]: Replace selfmade iterator with standard
5143         vector::iterator also introduce const_iterator. Remove getPos,
5144         getInset and setInset from InsetTable. Adjust accordingly.
5145
5146         * BufferView.C (lockInset): adjust
5147         (ChangeInsets): adjust
5148
5149         * tabular.[Ch]: delete commented same_id functions
5150
5151 2003-05-28  John Levon  <levon@movementarian.org>
5152
5153         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5154
5155 2003-05-28  André Pönitz  <poenitz@gmx.net>
5156
5157         * metricsinfo.[Ch]: remove 'fullredraw' member
5158
5159 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5160
5161         * lyxtextclass.C (operator): remove caching.
5162
5163 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * text3.C: adjust
5166
5167         * text2.C (cursorBottom): adjust
5168         (setCounter): use ParagraphList::find, adjust
5169
5170         * text.C (workWidth): use ParagraphList::find, adjust
5171
5172         * lyxcursor.C (LyXCursor): adjust
5173
5174         * buffer.C (inset_iterator): adjust
5175
5176         * ParagraphList.h: make iterator(value_type) private, make
5177         ParagraphList a friend of iterator.
5178
5179         * ParagraphList.C (find): new function
5180
5181         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5182
5183 2003-05-27  André Pönitz  <poenitz@gmx.net>
5184
5185         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5186
5187 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5188
5189         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5190
5191 2003-05-26  John Levon  <levon@movementarian.org>
5192
5193         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5194
5195 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * remove same_id from function signatures, adjust.
5198
5199 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5202
5203         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5204
5205         * paragraph.C (Paragraph): get rid of same_ids parameter
5206
5207         * ParagraphList.C (insert): adjust
5208         (push_back): adjust
5209
5210 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * paragraph_funcs.C (breakParagraph): adjust
5213         (breakParagraphConservative): adjust
5214
5215         * buffer.C (readParagraph): adjust
5216
5217         * ParagraphList.C (insert): take a reference instead of a pointer
5218         (insert): adjust
5219
5220         * paragraph.[Ch] (id): new function
5221
5222         * bufferlist.C (newFile): adjust
5223
5224         * ParagraphList.C (ParagraphList): adjust
5225         (assign): adjust
5226         (push_back): take a reference instead of a pointer.
5227
5228         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5229
5230         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5231         instead.
5232
5233         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5234         set else use old code.
5235
5236         * ParagraphList.C: remove all NO_NEXT code and only compile this
5237         code of NO_STD_LIST is set.
5238
5239 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5240
5241         * BufferView_pimpl.C:
5242         * TextCache.C:
5243         * TextCache.h:
5244         * bufferlist.C:
5245         * errorlist.h:
5246         * format.C:
5247         * format.h:
5248         * graph.C:
5249         * lyxfunc.C:
5250         * lyxrc.C:
5251         * graphics/GraphicsConverter.C:
5252         * graphics/PreviewLoader.C: header adjustment
5253
5254 2003-05-23  Angus Leeming  <leeming@lyx.org>
5255
5256         * LaTeXFeatures.[Ch] (useBabel): new method.
5257         * bufferparams.C (writeLaTeX): use it.
5258
5259 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * ParagraphList.h (set): remove unused function.
5262
5263 2003-05-23  André Pönitz  <poenitz@gmx.net>
5264
5265         * BufferView.C:
5266         * BufferView_pimpl.C:
5267         * buffer.C:
5268         * buffer.h:
5269         * lyxfunc.C:
5270         * undo_funcs.C: setUndo reworked
5271
5272         * iterators.[Ch]: add access to topmost ParagraphList
5273
5274         * lyxtext.[Ch] (workWidth): add a const
5275
5276 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5277
5278         * texrow.[Ch] (increasePos): remove function
5279         * exporter.C (export): removed unused var and outdated comment
5280
5281 2003-05-23  Angus Leeming  <leeming@lyx.org>
5282
5283         * latexrunparams.h: rename fragile as moving_arg.
5284         * paragraph.C (simpleTeXOnePar): ditto.
5285         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5286
5287 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5288
5289         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5290         (createUndo): ditto
5291         (textUndoOrRedo): comment out a currently unused var.
5292
5293         * paragraph.h (NO_NEXT): enable NO_NEXT
5294
5295         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5296
5297         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5298
5299         * exporter.C (Export): adjust for removeAutoInsets removal.
5300
5301         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5302
5303         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5304
5305         * BufferView.[Ch] (removeAutoInsets): delete function
5306
5307 2003-05-22  Angus Leeming  <leeming@lyx.org>
5308
5309         * latexrunparams.h: add a free_spacing variable.
5310
5311         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5312         to pass moving_arg, as the data is stored in runparams.fragile.
5313
5314         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5315         to Inset::latexOptional or to simpleTeXOnePar.
5316
5317         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5318         free_spacing arg to Inset::latexOptional.
5319
5320         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5321         free_spacing arg.
5322
5323 2003-05-22  Angus Leeming  <leeming@lyx.org>
5324
5325         * latexrunparams.h: add fragile and use_babel variables.
5326
5327         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5328         * buffer.C (makeLaTeXFile): store this returned value in
5329         runparams.use_babel, thus passing it to the inset::latex methods.
5330
5331         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5332         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5333
5334         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5335         longer has a fragile arg, as it is stored in runparams.fragile.
5336
5337         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5338         moving_arg parameter as the data is stored in runparams.fragile.
5339
5340         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5341         a fragile parameter as the data is stored in runparams.fragile.
5342
5343 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5346
5347 2003-05-22  Angus Leeming  <leeming@lyx.org>
5348
5349         * latexrunparams.h: add a 'bool nice' which defaults to false.
5350
5351         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5352         now encapsulated within runparams.
5353
5354         * bufferlist.C (updateIncludedTeXfiles):
5355         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5356
5357 2003-05-22  Angus Leeming  <leeming@lyx.org>
5358
5359         * latexrunparams.h: new file containing struct LatexRunParams.
5360         * Makefile.am: add new file.
5361
5362         * LaTeX.[Ch] (c-tor, run):
5363         * buffer.[Ch] (makeLaTeXFile):
5364         * bufferlist.[Ch] (updateIncludedTeXfiles):
5365         * converter.C (convert, scanLog):
5366         * converter.[Ch] (runLaTeX):
5367         * exporter.C (Export):
5368         * paragraph.[Ch] (simpleTeXOnePar):
5369         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5370         * paragraph_funcs.[Ch] (latexParagraphs):
5371         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5372         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5373         pass around a LatexRunParams parameter.
5374
5375 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * paragraph.[Ch]: remove unused constructor
5378
5379         * ParagraphList.C (erase): new function, taking two iterators
5380
5381 2003-05-22  André Pönitz  <poenitz@gmx.net>
5382
5383         * undo_funcs.C: remove duplicated code
5384
5385         * iterator.[Ch]: operator=
5386
5387 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5388
5389         * tabular.C (SetMultiColumn): ws changes
5390
5391         * rowpainter.C (paintFirst): get rid of a ->previous
5392
5393         * lyx_cb.C (getPossibleLabel): parlist simplification
5394
5395         * BufferView.C (ChangeInsets): simplify slightly.
5396
5397 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5398
5399         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5400         * lfuns.h: new LFUN_SPACE
5401         * lyxfunc.C: protected space has a new lfun
5402         * paragraph_funcs.C: read new space insets
5403         * text3.C:
5404         * factory.C: handle new space insets
5405
5406 2003-05-22  André Pönitz  <poenitz@gmx.net>
5407
5408         * BufferView.C:
5409         * BufferView_pimpl.C:
5410         * buffer.[Ch]:
5411         * lyxfunc.C:
5412         * undo_funcs.C: return a ParIterator from getParFromID.
5413
5414         * iterators.[Ch]: add two const's
5415
5416 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5417
5418         * toc.C (getTocList): adjust
5419
5420         * iterators.[Ch]: rework for parlist
5421
5422         * buffer.C (par_iterator_begin): adjust
5423         (par_iterator_end): adjust
5424
5425         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5426
5427         * BufferView.C (removeAutoInsets): adjust
5428         (ChangeInsets): adjust
5429
5430 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5431
5432         * text.C (top_y): fix bug 1110
5433
5434 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5435
5436         * errorlist.[Ch]: added
5437         * buffer.C:
5438         * BufferView.[Ch]:
5439         * BufferView_pimpl.C:
5440         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5441         instead
5442
5443 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * Makefile.am: ensure that lyx is relinked upon changes to the
5446         various "convenience" libs.
5447
5448 2003-05-20  Angus Leeming  <leeming@lyx.org>
5449
5450         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5451         files are compiled in alphabetical order again.
5452
5453         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5454
5455 2003-05-19  Angus Leeming  <leeming@lyx.org>
5456
5457         * gettext.[Ch]: remove "char const * _(char const *)".
5458
5459 2003-05-19  André Pönitz  <poenitz@gmx.net>
5460
5461         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5462
5463         * Makefile.am:
5464         * BufferView.C:
5465         * DepTable.h:
5466         * LaTeXFeatures.C:
5467         * buffer.C:
5468         * lyxfont.C:
5469         * lyxlex.h:
5470         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5471
5472 2003-05-19  André Pönitz  <poenitz@gmx.net>
5473
5474         * buffer.C:
5475         * lyxlayout.[Ch]:
5476         * lyxtextclass.[Ch]:
5477         * paragraph.C:
5478         * paragraph_funcs.[Ch]:
5479         * text2.C:
5480         * text3.C: more insetenv work
5481
5482 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5483
5484         * ParagraphParameters.C (params2string): small bug fixed
5485
5486 2003-05-16  André Pönitz  <poenitz@gmx.net>
5487
5488         * debug.C:
5489         * bufferview_funcs.C: patch from Kornel Benko to prevent
5490           crash when _(...) is called twice in a statement
5491
5492 2003-05-16  André Pönitz  <poenitz@gmx.net>
5493
5494         * BufferView.C:
5495         * lyxfunc.C:
5496         * text.C:
5497         * text2.C:
5498         * text3.C:
5499         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5500
5501 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5502
5503         * lyx_main.C (init): remove spurious static_cast
5504
5505 2003-05-14  André Pönitz  <poenitz@gmx.net>
5506
5507         * BufferView.C: fix format string
5508
5509 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5510
5511         * BufferView.[Ch] (insertErrors): removed
5512         * BufferView.[Ch] (showErrorList): added
5513         * buffer.C (runChkTeX):
5514         * converter.C (scanLog): call showErrorList instead of inserterrors
5515
5516 2003-05-13  André Pönitz  <poenitz@gmx.net>
5517
5518         * BufferView_pimpl.C:
5519         * buffer.C:
5520         * bufferview_func.C:
5521         * MenuBackend.C:
5522         * lyxfunc.C:
5523         * lyxrc.C:
5524         * tex-accent.C:
5525         * text3.C:
5526         * toc.C:
5527         * tabular_funcs.h: tostr() from its own header
5528
5529         * ParagraphParameters.C:
5530         * ToolbarBackend.C:
5531         * bufferparams.C:
5532         * format.C:
5533         * lyxlex_pimpl.C:
5534         * text3.C: STRCONV()
5535
5536 2003-05-12  André Pönitz  <poenitz@gmx.net>
5537
5538         * BufferView.C:
5539         * BufferView_pimpl.C:
5540         * CutAndPaste.C:
5541         * LaTeX.C:
5542         * LaTeXFeatures.C:
5543         * ParagraphParameters.C:
5544         * buffer.C:
5545         * bufferlist.C:
5546         * bufferparams.C:
5547         * bufferview_funcs.C:
5548         * converter.C:
5549         * counters.C:
5550         * debug.C:
5551         * exporter.C:
5552         * format.C:
5553         * importer.C:
5554         * lyx_cb.C:
5555         * lyx_main.C:
5556         * lyxfont.C:
5557         * lyxfunc.C:
5558         * lyxvc.C:
5559         * paragraph.C:
5560         * paragraph_funcs.C:
5561         * tabular.C:
5562         * tabular_funcs.C:
5563         * text2.C:
5564         * text3.C:  boost::format -> bformat  all over the place
5565
5566
5567 2003-05-09  André Pönitz  <poenitz@gmx.net>
5568
5569         * LColor.[Ch]: Pimpl the #include <map> away
5570
5571 2003-05-09  John Levon  <levon@movementarian.org>
5572
5573         * bufferlist.C: never remove emergency saves
5574
5575 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * Makefile.am: better lib building
5578
5579 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5582         instead.
5583         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5584         (simpleTeXSpecialChars): adjust
5585         (simpleTeXSpecialChars): adjust
5586         * paragraph.C (simpleTeXOnePar): adjust
5587         * buffer.C (makeLaTeXFile): adjust
5588
5589         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5590
5591         * text2.C (changeDepth): parlist cleanup
5592         (getColumnNearX): ditto
5593
5594         * rowpainter.C (getLabelFont): parlist cleanup
5595
5596         * bufferlist.C (newFile): parlist cleanup
5597
5598         * CutAndPaste.C (eraseSelection): parlist cleanup
5599
5600         * BufferView_pimpl.C (trackChanges): parlist cleanup
5601         (dispatch): ditto
5602
5603         * BufferView.C (lockInset): parlist cleanup.
5604         (ChangeInsets): ditto
5605
5606 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * CutAndPaste.h: Update file header.
5609
5610         * CutAndPaste.C: Update file header.
5611         Store the parts cut out of the Document in a limited_stack.
5612         (copySelection): adjust
5613         (pasteSelection): new function, takes the index in the limited stack.
5614         (nrOfParagraphs): adjust
5615         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5616         simplify error inset insertion.
5617         (checkPastePossible): adjust
5618
5619 2003-05-06  John Levon  <levon@movementarian.org>
5620
5621         * text2.C: don't cast wrap inset to float
5622
5623 2003-05-05  André Pönitz  <poenitz@gmx.net>
5624
5625         * iterator.C:
5626         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5627
5628         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5629           few naked Paragraph *.
5630
5631 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5632
5633         * bufferparams.C: Output warning if a document with missing
5634         TeX document class is loaded
5635         * exporter.C: Disable TeX exports if the document class is missing
5636         * lyxtextclass.C:
5637         * lyxtextclass.h:
5638         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5639         isTeXClassAvailable()
5640
5641 2003-05-03  John Levon  <levon@movementarian.org>
5642
5643         * BufferView.h:
5644         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5645         explicit cursor show/hide
5646
5647         * BufferView_pimpl.h:
5648         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5649         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5650
5651         * lyxfunc.C: hide cursor before dispatching.
5652
5653         * lyx_cb.C:
5654         * lyxfind.C:
5655         * text.C:
5656         * text3.C: remove explicit cursor hides
5657
5658 2003-05-02  André Pönitz  <poenitz@gmx.net>
5659
5660         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5661
5662         * undo_funcs.C:
5663         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5664           linked lists
5665
5666         * text2.C: tiny whitespace
5667
5668 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5669
5670         * undo_funcs.C: almost only ws changes.
5671
5672         * ParagraphList.C (splice): just return if pl is empty.
5673
5674 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5675
5676         * ParagraphList.C (splice): new function.
5677
5678         * CutAndPaste.C (pasteSelection): use it
5679
5680 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * CutAndPaste.C (pasteSelection): remove the last next and
5683         previous from this file.
5684
5685 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5686
5687         * CutAndPaste.C (pasteSelection): more clean up, user proper
5688         ParagraphList functions for pasteing.
5689
5690         * ParagraphList.C (insert): new function, three arg insert
5691
5692 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5693
5694         * ParagraphList.C (insert): new function, three arg insert
5695
5696         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5697         not on paragraphs.
5698
5699 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5702
5703 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5704
5705         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5706
5707 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5708
5709         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5710         (copySelection): clean up a bit.
5711         (pasteSelection): use make_pair
5712
5713         * ParagraphList.C (ParagraphList): implement copy constructor
5714         (operator=): implement, base on copy constructor.
5715         (assign): new func
5716
5717         * paragraph.C (erase): return a bool
5718
5719         * paragraph_pimpl.C (erasePos): remove function, move contents...
5720         (erase): ... here. Return a bool.
5721         (erase): call erase instead of erasePos.
5722
5723 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5724
5725         * ParagraphList.h: define PitPosPair
5726         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5727         ParagraphList, fix a bug on pasting multiple pars
5728         * text2.C: change interface to C&P
5729
5730 2003-04-30  André Pönitz  <poenitz@gmx.net>
5731
5732         * undo_func.C: revert part of yesterday's patch 2
5733
5734 2003-04-30  John Levon  <levon@movementarian.org>
5735
5736         * LColor.C: s/tabular/table/
5737
5738 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5739
5740         * text3.C (dispatch): do not convert iterator -> pointer
5741         * undo_funcs.C (setCursorParUndo): ditto
5742         * text_funcs.C (transposeChars): ditto
5743
5744         * text2.C (setLayout): ws changes only
5745
5746         * text.C (breakParagraph): do not convert iterator -> pointer
5747         (insertChar): ditto
5748         (acceptChange): ditto
5749         (rejectChange): ditto
5750         (changeCase): ditto
5751         (Delete): ditto
5752         (backspace): ditto
5753
5754         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5755         pointer
5756
5757 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5758
5759         * text3.C (gotoInset): YABG (yet another bad getChar)
5760
5761 2003-04-29  André Pönitz  <poenitz@gmx.net>
5762
5763         * paragraph.h: make operator= private unimplemented as long as
5764           it is unusable
5765
5766         * ParagraphList.C: whitespace
5767
5768         * paragraph.[Ch]:
5769         * paragraph_pimpl.[Ch]:
5770         * paragraph_funcs.C:
5771         * CutAndPaste.C:
5772         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5773
5774         * text2.C:
5775           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5776
5777 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5778
5779         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5780         * paragraph.[Ch] (erase):
5781         * paragraph_pimpl.[Ch] (erase): change return type and value
5782         * text2.C (cutSelection): some rework
5783
5784 2003-04-28  John Levon  <levon@movementarian.org>
5785
5786         * bufferlist.C: changes for unsaved changes dialog
5787
5788 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5789
5790         * bufferlist.C (newFile): set language (messages_) for new
5791         documents also.
5792
5793         * buffer.C (readFile): ws changes only.
5794
5795 2003-04-28  André Pönitz  <poenitz@gmx.net>
5796
5797         * undo_funcs.C:
5798         * lyxfunc.C:
5799         * buffer.[Ch]:
5800         * BufferView_pimpl.C:
5801         * BufferView.C: getParFromID related ParagraphList::iterator changes
5802
5803 2003-04-28  André Pönitz  <poenitz@gmx.net>
5804
5805         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5806           Changes
5807
5808 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5809
5810         * messages.C: remove one more localedir class variable.
5811
5812 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * messages.C (getLocaleDir): singleton generation function
5815         (Pimpl): use it.
5816         (Messages): add a default constructor.
5817
5818         * main.C (main): do not setup localedir here, do not call
5819         gettext_init.
5820
5821         * gettext.C (_): use it.
5822         (gettext_init): delete funciton
5823
5824 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * gettext.C (getLyXMessages): new singleton generating function.
5827
5828         * buffer.C (updateDocLang): adjust
5829
5830         * Makefile.am (messages.o): add target
5831         (main.o): remove target
5832
5833 2003-04-27  John Levon  <levon@movementarian.org>
5834
5835         * bufferlist.C:
5836         * lyx_cb.C:
5837         * lyxfunc.C:
5838         * lyxvc.C: specify cancel button in Alert::prompt
5839
5840 2003-04-26  John Levon  <levon@movementarian.org>
5841
5842         * text3.C:
5843         * lyxfunc.C:
5844         * lfuns.h:
5845         * LyXAction.C: add LFUN_INSET_SETTINGS
5846
5847         * lyxfunc.C: don't enable tabular-feature when there's
5848         just any locking inset
5849
5850 2003-04-26  John Levon  <levon@movementarian.org>
5851
5852         * bufferlist.C: re-add Cancel to buffer close question
5853
5854         * lyxfunc.C: fix import UI a bit
5855
5856 2003-04-25  John Levon  <levon@movementarian.org>
5857
5858         * gettext.C: remove the broken asserts for now
5859
5860 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5861
5862         * messages.C: make case where setlocale cannot comply work better.
5863
5864         * buffer.C (updateDocLang): new function
5865         (changeLanguage): use it
5866         (readFile): use it
5867
5868         * text2.C (setCounter): use B_ a bit.
5869
5870         * lyxlayout.C (Read): be sure to trim the label strings.
5871
5872         * messages.C (Messages): fix typo in comment
5873
5874         * buffer.C (readFile): set message_ after file is loaded.
5875         (makeDocBookFile): remove double return
5876         (changeLanguage): reset message_ upon language change.
5877         (B_): new func, use this to get translated buffer strings.
5878
5879         * main.C: add myself and Jean Marc as authors.
5880
5881 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * messages.[hC]: pimplify Messages, and three different pimpls to be
5884         used in different circumstances.
5885
5886         * gettext.[Ch]: change for use with new message code.
5887
5888 2003-04-24 André Pönitz <poenitz@gmx.net>
5889
5890         * factory.C: support for eqref
5891
5892 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * messages.[Ch]: add missing char
5895
5896         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5897
5898         * messages.[Ch]: New files
5899
5900 2003-04-18  John Levon  <levon@movementarian.org>
5901
5902         * BufferView.h:
5903         * BufferView.C:
5904         * BufferView_pimpl.C:
5905         * lfuns.h:
5906         * LyXAction.C:
5907         * lyxtext.h:
5908         * text2.C: remove layout-copy/paste (bug 778)
5909
5910 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5911
5912         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5913
5914 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5915
5916         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5917         if they succeed. Act accordingly.
5918
5919 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * text2.C (setCharFont): adjust
5922         (setCounter): adjust
5923         (insertStringAsLines): adjust
5924
5925         * text.C (leftMargin): adjust
5926         (setHeightOfRow): adjust
5927
5928         * rowpainter.C (paintFirst): adjust
5929         (paintLast): adjust
5930
5931         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5932         (outerHook): ditto
5933         (isFirstInSequence): ditto
5934         (getEndLabel): ditto
5935         (outerFont): adjust
5936
5937         * paragraph.C (getParLanguage): comment out some hard stuff.
5938
5939         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5940         (sgmlError): ditto
5941         (simpleDocBookOnePar): ditto
5942         (makeDocBookFile): use ParagraphList::iterator
5943
5944         * CutAndPaste.C (pasteSelection): adjust
5945
5946 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * text2.C (getFont): adjust
5949         (getLayoutFont): adjust
5950         (getLabelFont): adjust
5951
5952         * paragraph_funcs.C (TeXOnePar): adjust
5953
5954         * buffer.C (simpleLinuxDocOnePar): adjust
5955         (simpleDocBookOnePar): adjust
5956
5957         * CutAndPaste.C (pasteSelection): adjust
5958
5959         * BufferView.C (getEncoding): adjust
5960
5961         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5962
5963 2003-04-16  John Levon  <levon@movementarian.org>
5964
5965         * lyxfind.C: use parlist stuff for search/changes
5966
5967 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5970
5971         * text2.C (deleteEmptyParagraphMechanism): adjust
5972
5973         * text2.[Ch] (ownerParagraph): delete func (both of them
5974
5975 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5978
5979 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5980
5981         * ParagraphList.C: prepare for NO_NEXT
5982
5983 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5984
5985         * text2.C (getFont): adjust
5986         (getLayoutFont): adjust
5987         (getLabelFont): adjust
5988
5989         * paragraph.C (getFont): adjust
5990         (getLabelFont): adjust
5991         (getLayoutFont): adjust
5992
5993         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5994
5995 2003-04-15  John Levon  <levon@movementarian.org>
5996
5997         From Angus Leeming
5998
5999         * lyx_main.C: handle Include in .ui files
6000
6001 2003-04-15  John Levon  <levon@movementarian.org>
6002
6003         * MenuBackend.C: make the doc files length shorter
6004
6005         * ToolbarBackend.h:
6006         * ToolbarBackend.C: handle toolbar placement flags,
6007         Minibuffer
6008
6009 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6010
6011         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6012         adjust
6013
6014         * paragraph_funcs.C (TeXOnePar): adjust
6015
6016         * paragraph.C (getLabelFont): add outerfont arg, adjust
6017         (getLayoutFont): ditto
6018         (simpleTeXOnePar): adjust
6019
6020         * paragraph_pimpl.C (realizeFont): delete func
6021
6022 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6023
6024         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6025         row argument, constify cur argument.
6026
6027 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6028
6029         * text2.C (getFont): adjust
6030         (getLayoutFont): adjust
6031         (getLabelFont): adjust
6032
6033         * paragraph_funcs.C (TeXOnePar): adjust
6034         (outerFont): new func...
6035         (realizeFont): ...moved out from here, changed this to facilitate
6036         transition
6037
6038         * paragraph.C (getFont): take outerfont as arg, adjust
6039         (simpleTeXOnePar): add outerfont arg, adjust
6040
6041         * buffer.C (simpleLinuxDocOnePar): adjust
6042         (simpleDocBookOnePar): adjust
6043
6044         * CutAndPaste.C (pasteSelection): adjust
6045
6046         * BufferView.C (getEncoding): adjust
6047
6048 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6049
6050         * text2.C (setCharFont): adjust
6051         (setCounter): adjust
6052
6053         * text.C (leftMargin): adjust
6054         (setHeightOfRow): adjust
6055
6056         * rowpainter.C (paintFirst): adjust
6057         (paintLast): adjust
6058
6059         * paragraph_pimpl.C (realizeFont): adjust
6060
6061         * paragraph.C (isFirstInSequence): move from here...
6062         * paragraph_funcs.C (isFirstInSequence): ...to here
6063
6064         * paragraph.C (outerHook): move from here...
6065         * paragraph_funcs.C (outerHook): ...to here
6066
6067         * paragraph.C (depthHook): move from here...
6068         * paragraph_funcs.C (depthHook): ...to here
6069
6070         * paragraph.C (getEndLabel): move from here...
6071         * paragraph_funcs.C (getEndLabel): ...to here
6072
6073         * text2.C (realizeFont): move from here...
6074         * paragraph_funcs.C (realizeFont): ...to here
6075
6076 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6077
6078         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6079
6080 2003-04-14  Angus Leeming  <leeming@lyx.org>
6081
6082         * LColor.[Ch]: scrap LColor mathcursor.
6083
6084 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * lyxlex.[Ch] (text): delete function
6087         * trans.C (Load): adjust
6088         * paragraph_funcs.C (readParToken): adjust
6089
6090 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6093         vector<char> instead of a char[].
6094
6095         * lyxlex_pimpl.C (getString): adjust
6096         (next): adjust
6097         (lex): use getString
6098         (eatLine): adjust
6099         (nextToken): adjust
6100
6101         * lyxlex.C (text): use pimpl_->getString()
6102         (getBool): ditto
6103         (findToken): ditto
6104
6105 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6108         (makeFontEntriesLayoutSpecific): temp var for par.size()
6109         (setLayout): temp var for ownerParagraphs().end()
6110         (fullRebreak): temp var for rows().end()
6111         (selectionAsString): temp var for boost::next(startpit), realize
6112         that the while really is a regular for loop.
6113         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6114         setCursor in one place.
6115         (setParagraph): temp vr for ownerParagraphs().end()
6116         (updateCounters): make the while loop a for loop
6117         (cutSelection): temp var for ownerParagraphs().end()
6118         (updateInset): make the do {} while() a regular for loop
6119         (getCursorX): use temp vars
6120         (setCurrentFont): use temp vars
6121         (getColumnNearX): use temp vars
6122
6123 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6124
6125         * text.C (transformChar): use temp var for getChar
6126         (computeBidiTables): use temp var for row->par()
6127         (fill): move temp vars for row->par() and pit->layout() earlier in
6128         the function.
6129         (labelFill): use temp var for row->par()
6130         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6131         asc and desc, realize that pit never changes and that firstpit is
6132         just a duplicate and not needed. Exchange rit->par() with pit in a
6133         lot of places.
6134         (breakAgain): use a temp var for boost::next(rit)
6135         (breakAgainOneRow): ditto
6136         (breakParagraph): use a temp var for rows().begin()
6137         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6138         (cursorRightOneWord): use temp var for cursor.par() and
6139         cursor.pos(), remove usage of tmpcursor.
6140         (cursorLeftOneWord): use temp var for cursor.par() and
6141         cursor.pos() only set cur at end of function.
6142
6143 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6144
6145         * text.C, text2.C: exchange all usage of Paragraph::next with
6146         boost::next(ParagraphList::iterator)
6147
6148         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6149
6150         * text2.C (cursorTop): simplify implementation
6151         (cursorBottom): ditto
6152         (setParagraph): use ParagraphList::iterator
6153         (setCurrentFont): adjust
6154         (getColumnNearX): adjust
6155         (cursorRight): adjust
6156         (cursorLeft): remove usage of Paragraph::previous
6157         (cursorUpParagraph): ditto
6158         (deleteEmptyParagraphMechanism): slight cleanup
6159
6160         * text.C (isBoundary): take a Paragraph const & instead of a
6161         pointer as arg.
6162         (addressBreakPoint): ditto
6163         (leftMargin): remove usage of Paragraph::previous.
6164         (setHeightOfRow): ditto
6165         (cursorLeftOneWord): ditto
6166         (selectNextWordToSpellcheck): ditto
6167         (Delete): ditto
6168         (backspace): ditto
6169         (breakParagraph): remove one usage of Paragraph::next
6170         (redoParagraph): ditto
6171         (acceptChange): ditto
6172         (insertChar): adjust
6173         (rowBreakPoint): adjust
6174
6175         * bufferview_funcs.C (toggleAndShow): adjust
6176
6177 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6178
6179         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6180         methods to access it.
6181         * lyxtext.h:
6182         * text.C: Added updateRowPositions to compute all row positions.
6183         Make top_y and getRowNearY() to use the cached y position
6184
6185 2003-04-11  John Levon  <levon@movementarian.org>
6186
6187         * text.C (rowBreakPoint): reintroduce the labelEnd
6188         checks, code copied from the row fill stuff. Deep voodoo.
6189
6190         * text.C (fill): add a comment and debugging for the
6191         next poor soul.
6192
6193 2003-04-11  John Levon  <levon@movementarian.org>
6194
6195         * text.C: make sure fullrow insets get wrapped to the next line,
6196         even when they're in a manual label
6197
6198 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * text2.C (insertParagraph): make it take ParagraphList::iterator
6201         as arg.
6202         (setLayout): make it return ParagraphList::iterator
6203         (redoParagraphs): ditto
6204         (setCounter): ditto
6205         (checkParagraph): ditto
6206
6207         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6208
6209         * text2.C: adjust several funcs.
6210         (realizeFont): take a ParagraphList::iterator as arg.
6211         (getLayoutFont): ditto
6212         (getLabelFont): ditto
6213         (setCharFont): ditto
6214
6215         * text.C: adjust several funcs.
6216
6217 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6218
6219         * text.C (selectNextWordToSpellcheck): don't accidentally
6220         skip insets
6221
6222 2003-04-10  John Levon  <levon@movementarian.org>
6223
6224         * ToolbarBackend.C (getIcon): special handling for
6225         LFUN_MATH_DELIM
6226
6227 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6228
6229         * text2.C (cursorRight): a getChar assert fixed
6230
6231 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * text2.C (getFont): change to take a ParagraphList::iterator
6234         instead of Paragraph*
6235         Adjust several functions.
6236
6237         * text.C (transformChar): change to take a ParagraphList::iterator
6238         instead of Paragraph*
6239         (singleWidth): ditto
6240         Adjust several functions.
6241
6242         * rowpainter.C: adjust several functions
6243         * rowpainter.h:store a ParagraphList::iterator and not a
6244         Paragraph&.
6245
6246
6247 2003-04-09  John Levon  <levon@movementarian.org>
6248
6249         * lyxfunc.C:
6250         * lfuns.h:
6251         * LyXAction.h:
6252         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6253         and the "help" bits as well
6254
6255 2003-04-09  John Levon  <levon@movementarian.org>
6256
6257         * ToolbarBackend.h:
6258         * ToolbarBackend.C: allow multiple toolbars
6259
6260 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * undo_funcs.C (setCursorParUndo): adjust
6263
6264         * text_funcs.C (transposeChars): adjust
6265
6266         * text3.C (gotoNextInset): adjust
6267         (dispatch): adjust
6268
6269         * text2.C (setLayout): adjust
6270         (changeDepth): adjust
6271         (setFont): adjust
6272         (redoParagraphs): adjust
6273         (selectionAsString): adjust
6274         (setParagraph): adjust
6275         (insertInset): adjust
6276         (cutSelection): adjust
6277         (copySelection): adjust
6278         (pasteSelection): adjust
6279         (insertStringAsLines): adjust
6280         (updateInset): adjust
6281         (setCursor): change to take a ParagraphList::iterator parameter
6282         (setCursorIntern): change to take a ParagraphList::iterator parameter
6283         (setCurrentFont): adjust
6284         (cursorLeft): adjust
6285         (cursorRight): adjust
6286         (deleteEmptyParagraphMechanism): adjust
6287
6288         * text.C (breakParagraph): adjust
6289         (insertChar): adjust
6290         (acceptChange): adjust
6291         (rejectChange): adjust
6292         (selectNextWordToSpellcheck): adjust
6293         (changeCase): adjust
6294         (Delete): adjust
6295         (backspace): adjust
6296
6297         * lyxfind.C (SearchForward): adjust
6298         (SearchBackward): adjust
6299         (nextChange): adjust
6300
6301         * lyxcursor.C (par): adjust
6302
6303         * lyxcursor.h: store a ParagraphList::iterator instead of a
6304         Paragraph*
6305
6306         * lyx_cb.C (getPossibleLabel): adjust
6307
6308         * bufferview_funcs.C (toggleAndShow): adjust
6309
6310         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6311         (dispatch): adjust
6312
6313         * BufferView.C (removeAutoInsets): adjust
6314         (lockedInsetStoreUndo): adjust
6315
6316 2003-04-09  John Levon  <levon@movementarian.org>
6317
6318         * ToolbarBackend.C: try icon without argument
6319         if with argument fails
6320
6321 2003-04-08  John Levon  <levon@movementarian.org>
6322
6323         * ToolbarBackend.h:
6324         * ToolbarBackend.C: add getIcon(), handle tooltip,
6325         and change from "Icon" to "Item".
6326
6327 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6328
6329         * BufferView.C (lockInset): another bad getchar crunched
6330
6331 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6332
6333         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6334         again)
6335
6336 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6337
6338         * lyxfind.C (searchForward, searchBackwards): bug 782
6339
6340 2003-04-07  John Levon  <levon@movementarian.org>
6341
6342         * paragraph.C: remove dead comment
6343
6344         * text.C: remove troublesome depth-fiddling code
6345         in leftMargin() and rightMargin() (bug 1017)
6346
6347         * text.C: fix breaking of rows in nested lists
6348         (bug 1004)
6349
6350         * text2.C (updateCounters): fix up depth values
6351         (bug 1013)
6352
6353 2003-04-07  John Levon  <levon@movementarian.org>
6354
6355         * BufferView_pimpl.C: clear message when doc finishes resizing,
6356         and after a mouse event
6357
6358         * lyxfunc.C: clear message after exiting inset
6359
6360 2003-04-07  John Levon  <levon@movementarian.org>
6361
6362         * bufferview_funcs.C: show math status not outside
6363         status in the statusbar
6364
6365 2003-04-07  John Levon  <levon@movementarian.org>
6366
6367         * lyxfunc.C: note status changed after a depth change
6368
6369 2003-04-04  Angus Leeming  <leeming@lyx.org>
6370
6371         * LaTeX.h: move AuxInfo operator==, != out of line.
6372         Remove LaTeX virtual destructor; nothing derives from it.
6373         Move operator()() out of public area and rename it startscript().
6374         Change protected for private.
6375
6376 2003-04-04  Angus Leeming  <leeming@lyx.org>
6377
6378         * lyxfunc.C:
6379         * text2.C: remove unneeded #includes.
6380
6381 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6382
6383         * text2.C (dEPM): fix the heigth of the next row
6384
6385 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6386
6387         * text.C: squashed an invalid getChar requester + some ws changes
6388
6389 2003-04-03  John Levon  <levon@movementarian.org>
6390
6391         * bufferview_funcs.h:
6392         * bufferview_funcs.C:
6393         * lyxfunc.C:
6394         * lyxtext.h:
6395         * text2.C: make getStatus work for the env depth lfuns
6396
6397 2003-04-03  John Levon  <levon@movementarian.org>
6398
6399         * bufferview_funcs.h:
6400         * bufferview_funcs.C:
6401         * lyxfunc.C:
6402         * lyxtext.h:
6403         * text2.C: parlistize decDepth(), by merging it with incDepth()
6404
6405 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * lyxrow.h: store a ParagraphList::iterator instead of a
6408         Paragraph* and adjust other class functions to suit.
6409
6410         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6411         above.
6412
6413 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6414
6415         * text2.C (setCursor): do not anchor to cursor row for the time being
6416
6417 2003-04-02  John Levon  <levon@movementarian.org>
6418
6419         * LyXAction.C:
6420         * lfuns.h:
6421         * lyx_main.C:
6422         * lyxtext.h:
6423         * text.C:
6424         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6425
6426 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * paragraph.h: make ParagraphList and ParagraphList::iterator
6429         friends of Paragraph.
6430
6431         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6432
6433         * ParagraphList.C: Use the private next_ and previous_ from
6434         Paragraph.
6435
6436 2003-04-01  John Levon  <levon@movementarian.org>
6437
6438         * ToolbarBackend.h:
6439         * ToolbarBackend.C:
6440         * Makefile.am: rename, remove defaults gunk
6441
6442         * MenuBackend.h:
6443         * MenuBackend.C: remove defaults gunk
6444
6445         * Languages.h:
6446         * Languages.C: remove defaults gunk
6447
6448         * lyx_main.h:
6449         * lyx_main.C: error out if files couldn't be found.
6450
6451 2003-04-02  John Levon  <levon@movementarian.org>
6452
6453         * text2.C: make incDepth() use parlist
6454
6455 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * undo_funcs.C (firstUndoParagraph): adjust
6458
6459         * text3.C (gotoInset): adjust
6460         (dispatch): adjust, and rewrite loop.
6461
6462         * text2.C (init): adjust, and rewrite loop.
6463         (redoParagraphs): adjust
6464         (updateInset): adjust, and rewrite loop.
6465         (deleteEmptyParagraphMechanism): adjust
6466
6467         * tabular.C (LyXTabular): adjust
6468         (SetMultiColumn): adjust
6469         (TeXRow): adjust
6470
6471         * lyxtext.[Ch] (ownerParagraph): delete function
6472         (ownerParagraphs): new function returns a ParagraphList.
6473
6474         * BufferView.C (removeAutoInsets): adjust
6475         (insertErrors): adjust
6476         (setCursorFromRow): adjust
6477
6478 2003-04-01  Angus Leeming  <leeming@lyx.org>
6479
6480         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6481         in the frontends.
6482
6483 2003-04-02  John Levon  <levon@movementarian.org>
6484
6485         * lyxtext.h:
6486         * text.C:
6487         * Makefile.am:
6488         * text_funcs.h:
6489         * text_funcs.C: make transposeChars a free function
6490
6491         * lyxrow_funcs.C: remove wrong comment
6492
6493 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6494
6495         * lyxtext.h: adjust
6496         * rowpainter.C: adjust
6497         * text.C: adjust
6498         * text2.C: adjust
6499         * text3.C: adjust
6500
6501         * lyxrow_funcs. [Ch]: new files
6502
6503         * lyxrow.[Ch]: remove next and previous pointers
6504         (next,previous): remove accessor functions
6505         (isParEnd): move to lyxrow_funcs
6506         (lastPos): move to lyxrow_funcs
6507         (nextRowIsAllInset): move to lyxrow_funcs
6508         (lastPrintablePos): move to lyxrow_funcs
6509         (numberOfSeparators): move to lyxrow_funcs
6510         (numberOfHfills): move to lyxrow_funcs
6511         (numberOfLabelHfills): move to lyxrow_funcs
6512         (hfillExpansion): move to lyxrow_funcs
6513
6514         * lyxfunc.C: adjust
6515
6516         * bufferview_funcs.C (toggleAndShow): adjust
6517
6518         * RowList.h: Remove class RowList from file leave just a
6519         std::list<Row>.
6520
6521         * RowList.C: delete file
6522
6523         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6524         and lyxrow_funcs.h
6525
6526 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6527
6528         * text3.C (cursorPrevious): adjust
6529         (cursorNext): adjust
6530         (dispatch): adjust
6531
6532         * text2.C (redoHeightOfParagraph): adjust
6533         (redoDrawingOfParagraph): adjust
6534         (setCursor): adjust
6535
6536         * text.C (breakParagraph): adjust
6537         (insertChar): adjust
6538         (backspace): adjust
6539
6540         * rowpainter.C (RowPainter): adjust
6541         (leftMargin): simplify and adjust
6542         (most rowpainter functions): adjust.
6543
6544         * rowpainter.h: store the row as RowList::iterator not as Row*
6545
6546         * lyxcursor.C (row): taka RowList::iterator as arg
6547         (irow): ditto
6548
6549         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6550         of Row*.
6551
6552 2003-04-01  Angus Leeming  <leeming@lyx.org>
6553
6554         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6555         stuff like bool Bool.
6556
6557 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6558
6559         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6560         rewrite a loop
6561
6562 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6563
6564         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6565         RowList::iterator.
6566
6567         * lyxtext.h (rows): drop one version and leve a const variant that
6568         returns a RowList::iterator.
6569
6570 2003-03-31  Angus Leeming  <leeming@lyx.org>
6571
6572         * text.C (fill): ensure that the signature is the same as that in the
6573         header file.
6574
6575 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * text2.C (redoParagraphs): adjust
6578         (updateCounters): adjust
6579         (checkParagraph): adjust
6580         (getColumnNearX): adjust and reformat a bit.
6581
6582         * text.C (top_y): adjust
6583         (workWidth): adjust
6584         (leftMargin): adjust
6585         (prepareToPrint): adjust
6586         (getRow): adjust
6587         (getRowNearY): adjust
6588
6589         * lyxtext.h: make rowlist_ mutable.
6590
6591         * RowList.h: add const_iterator
6592         * RowList.C: adjust for RowList::const_iterator.
6593
6594         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6595         adjust.
6596
6597 2003-03-31  John Levon  <levon@movementarian.org>
6598
6599         * lyxrc.h:
6600         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6601
6602         * lyx_main.C: set default fonts from using lyx_gui funcs
6603
6604         * exporter.C: pdf_mode moved from lyxrc
6605
6606         * lyx_cb.C:
6607         * lyxfunc.C: changes from above
6608
6609 2003-03-31  John Levon  <levon@movementarian.org>
6610
6611         * lyx_main.C: fix to the last fix
6612
6613 2003-03-31  John Levon  <levon@movementarian.org>
6614
6615         * bufferlist.C: "Load original" -> "Load Original"
6616
6617         * converter.C:
6618         * exporter.C:
6619         * importer.C:
6620         * lyx_main.C:
6621         * format.C: more Alert cleanups
6622
6623 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * text2.C (removeParagraph): make it take a RowList::iterator as
6626         arg, adjust.
6627         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6628         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6629
6630         * text.C (anchor_row): make it take a RowList::iterator as arg,
6631         adjust.
6632         (computeBidiTables): make it take a const reference to Row instead
6633         of Row pointer, adjust.
6634         (leftMargin): make it take a RowList::iterator as arg, adjust.
6635         (rowBreakPoint): adjust
6636         (breakAgainOneRow): make it take a RowList::iterator as arg,
6637         adjust.
6638         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6639
6640         * bufferview_funcs.C (toggleAndShow): adjust
6641
6642 2003-03-30  John Levon  <levon@movementarian.org>
6643
6644         * Makefile.am:
6645         * BoostFormat.h:
6646         * boost-inst.C: moved to support
6647
6648         * several files: changes as a result
6649
6650 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6651
6652         * text2.C (LyXText): adjust.
6653         (init): adjust
6654         (removeRow): make it take a RowList::iterator as arg, adjust.
6655         (fullRebreak): adjust
6656         (deleteEmptyParagraphMechanism): adjust
6657         (clearPaint): adjust
6658         (postPaint): adjust
6659
6660         * text.C (top_y): adjust
6661         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6662         (breakAgain): make it take a RowList::iterator as arg, adjust.
6663         (breakParagraph): adjust
6664         (insertChar): adjust
6665         (backspace): adjust
6666
6667         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6668         need_break_row, and refresh_row.
6669
6670         * text3.C (dispatch): adjust
6671
6672         * text2.C (checkParagraph): adjust
6673         (setCursor): adjust
6674         (setCursorFromCoordinates): adjust
6675
6676         * text.C (top_y): adjust
6677         (workWidth): adjust
6678         (getRow): make it return a RowList::iterator, adjust
6679         (getRowNearY): make it return a RowList::iterator, adjust
6680
6681         * text2.C (init): adjust
6682         (insertRow): remove function
6683         (insertParagraph): adjust
6684         (redoParagraphs): adjust
6685         (fullRebreak): adjust
6686         (updateCounters): adjust
6687
6688         * text.C (top_y): rewrite to use RowList iterators.
6689         (top_y): adjust
6690         (setHeightOfRow): rewrite to sue RowList iterators.
6691         (appendParagraph): adjust
6692         (breakAgain): adjust
6693         (breakAgainOneRow): adjust
6694         (breakParagraph): adjust
6695         (getRow): adjust
6696         (getRowNearY): adjust, and remove commented code.
6697
6698         * lyxtext.h (firstRow): delete function
6699         (lastRow): delete function
6700         (rows): new function (const and non-const versions.)
6701         (insertRow): delete function
6702
6703         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6704
6705 2003-03-29  John Levon  <levon@movementarian.org>
6706
6707         * BufferView_pimpl.C: always update scrollbar top
6708         because pasting text when we're anchored could mean we
6709         miss an update altogether
6710
6711 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * text2.C (init): use rowlist_.end() and not 0.
6714         (insertRow): change to take a RowList::iterator as arg, adjust
6715         for this.
6716         (insertParagraph): change to take a RowList::iterator as arg,
6717         adjust for this.
6718         (redoParagraphs): remove some debug msgs.
6719
6720         * text.C (appendParagraph): change to take a RowList::iterator
6721         arg, adjust for this.
6722         (breakAgain): add an assert
6723         (breakAgainOneRow): ditto
6724
6725 2003-03-29  John Levon  <levon@movementarian.org>
6726
6727         * text2.C: do not clear selection after inc/decDepth
6728         (bug 550)
6729
6730 2003-03-29  John Levon  <levon@movementarian.org>
6731
6732         * BufferView.C:
6733         * buffer.C: fix broken strerrors according to Lars
6734
6735 2003-03-29  John Levon  <levon@movementarian.org>
6736
6737         * converters.C: more Alert cleanups
6738
6739 2003-03-29  John Levon  <levon@movementarian.org>
6740
6741         * bufferview_funcs.C: remove pointless Alert
6742
6743         * buffer.C: fix confusing error message when
6744         a template is chmoded 000
6745
6746 2003-03-29  John Levon  <levon@movementarian.org>
6747
6748         * BufferView.C:
6749         * BufferView.h:
6750         * BufferView_pimpl.C: Alert fixes
6751
6752         * Makefile.am:
6753         * tabular.C:
6754         * tabular-old.C: remove unused table compat reading
6755
6756 2003-03-29  John Levon  <levon@movementarian.org>
6757
6758         * BufferView.C:
6759         * buffer.C:
6760         * lyx_cb.h:
6761         * lyx_cb.C: more Alert cleanups
6762
6763         * lyxfunc.C: don't allow chktex if not latex document
6764
6765 2003-03-29  John Levon  <levon@movementarian.org>
6766
6767         * lyx_cb.C:
6768         * BufferView.C:
6769         * buffer.C: warnings pushed down from support/,
6770         kill err_alert
6771
6772 2003-03-29  John Levon  <levon@movementarian.org>
6773
6774         * lyxfunc.C: safety check for C-r (revert)
6775
6776 2003-03-29  John Levon  <levon@movementarian.org>
6777
6778         * bufferlist.h:
6779         * bufferlist.C: several UI fixes using Alert::prompt.
6780         Fix the pointless looping quit code. Fix stupid revert
6781         behaviour (bug 938)
6782
6783         * lyxvc.h:
6784         * lyxvc.C:
6785         * lyx_cb.C: use Alert::prompt
6786
6787         * lyx_main.C: remove a silly question
6788
6789         * lyxfunc.C: remove a couple of silly questions,
6790         use Alert::prompt
6791
6792 2003-03-28  John Levon  <levon@movementarian.org>
6793
6794         * text2.C: fix bug 974 (End on empty par)
6795
6796 2003-03-28  John Levon  <levon@movementarian.org>
6797
6798         * BufferView_pimpl.C:
6799         * LyXAction.C:
6800         * lfuns.h: remove do-nothing math greek lfuns
6801
6802 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6803
6804         * lyxgluelength.h (isValidGlueLength): add default arg on
6805         parameter 2. Remove default arg from friend in class.
6806
6807         * lyxlength.h (isValidLength): add default arg on parameter 2.
6808         Remove default arg from friend in class.
6809
6810         * text2.C (LyXText): adjust, initialize refresh_row.
6811         (init): adjust
6812         (removeRow): adjust
6813         (insertRow): adjust
6814         (insertParagraph): adjst
6815         (redoParagraphs): adjust
6816         (fullRebreak): adjust
6817         (updateCounters): adjust
6818         (deleteEmptyParagraphMechanism): first attempt at fixing a
6819         crashing bug.
6820
6821         * text.C (top_y): adjust
6822         (setHeightOfRow): adjust
6823         (getRow): adjust
6824         (getRowNearY): adjust
6825
6826         * lyxtext.h: include RowList.h
6827         (~LyXText): not needed anymore, deleted.
6828         (firstRow): modify for RowList
6829         (lastRow): new function
6830         Delete firstrow and lastrow class variables, add a Rowlist
6831         rowlist_ class variable.
6832
6833         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6834         paragraph is empty.
6835
6836         * RowList.C (insert): fix case where it == begin().
6837
6838 2003-03-26  Angus Leeming  <leeming@lyx.org>
6839
6840         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6841         the thesaurus dialog.
6842
6843 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6846
6847         * RowList.[Ch]: new files
6848
6849         * ParagraphList.C (erase): handle the case where it == begin
6850         correctly.
6851
6852 2003-03-25  John Levon  <levon@movementarian.org>
6853
6854         * Makefile.am:
6855         * aspell_local.h:
6856         * aspell.C: add new aspell support
6857
6858         * lyxrc.h:
6859         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6860         have it accessible.
6861
6862 2003-03-25  Angus Leeming  <leeming@lyx.org>
6863
6864         * lfuns.h:
6865         * LyXAction.C (init): new LFUN_INSET_INSERT.
6866
6867         * BufferView_pimpl.C (dispatch): split out part of the
6868         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6869
6870         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6871         LFUN_INSET_APPLY.
6872
6873 2003-03-25  Angus Leeming  <leeming@lyx.org>
6874
6875         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6876
6877 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6878
6879         * text2.C:
6880         * text3.C: remove useless row->height(0)
6881
6882 2003-03-25  John Levon  <levon@movementarian.org>
6883
6884         * lyxtext.h:
6885         * text2.C:
6886         * text3.C: rename the refreshing stuff to better names
6887
6888 2003-03-24  John Levon  <levon@movementarian.org>
6889
6890         * BufferView_pimpl.h:
6891         * BufferView_pimpl.C: update layout choice on a mouse
6892         press/release
6893
6894 2003-03-23  John Levon  <levon@movementarian.org>
6895
6896         * Makefile.am: fix commandtags.h reference
6897
6898 2003-03-22  John Levon  <levon@movementarian.org>
6899
6900         * BufferView_pimpl.C:
6901         * lyxtext.h:
6902         * rowpainter.C:
6903         * rowpainter.h:
6904         * text.C:
6905         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6906
6907 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6908
6909         * lyxtext.h:
6910         * text.C: take the rtl methods out of line
6911
6912 2003-03-21 André Pönitz <poenitz@gmx.net>
6913
6914         * metricsinfo.[Ch]: new files containing structures to be passed around
6915         during the two-phase-drawing...
6916
6917 2003-03-21 André Pönitz <poenitz@gmx.net>
6918
6919         * lyxtextclass.C: read 'environment' tag.
6920
6921 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6922
6923         * text2.C (removeRow): fix bug 964
6924
6925 2003-03-20  John Levon  <levon@movementarian.org>
6926
6927         * rowpainter.C:
6928         * text.C:
6929         * text2.C: paint cleanups. Inset::update() dropped font
6930         parameter
6931
6932 2003-03-19  John Levon  <levon@movementarian.org>
6933
6934         * lyxfunc.C: only fitcursor/markDirty if available()
6935
6936 2003-03-19  John Levon  <levon@movementarian.org>
6937
6938         * commandtags.h: rename to ...
6939
6940         * lfuns.h: ... this, and renumber / cleanup
6941
6942 2003-03-19  John Levon  <levon@movementarian.org>
6943
6944         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6945         fit the cursor after an lfun
6946
6947         * BufferView.h:
6948         * BufferView.C:
6949         * BufferView_pimpl.h:
6950         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6951
6952         * LyXAction.C: layout-character should have ReadOnly
6953
6954         * ParagraphParameters.C:
6955         * buffer.C:
6956         * bufferview_funcs.C:
6957         * lyx_cb.C:
6958         * lyxfind.C:
6959         * lyxtext.h:
6960         * text.C:
6961         * text2.C:
6962         * text3.C:
6963         * undo_funcs.C: changes from above
6964
6965 2003-03-18  John Levon  <levon@movementarian.org>
6966
6967         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6968         remove it from update()
6969
6970         * lyxfunc.C: update layout choice after an lfun
6971
6972         * text3.C: remove extra updateLayoutChoice()s
6973
6974 2003-03-18  John Levon  <levon@movementarian.org>
6975
6976         * text.C: top_y change means full repaint, fix
6977         a drawing bug with cursor movement
6978
6979 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6980
6981         * lyxtext.h:
6982         * text.C:
6983         * text2.C: anchor row on setCursor
6984
6985 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6986
6987         * lyxtext.h: remove almost all mutable keywords
6988         * text.C:
6989         * text2.C:
6990         * text3.C: remove const keywords accordingly
6991
6992 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6993
6994         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6995         anon namespace
6996         (TeXEnvironment): ditto
6997         (TeXOnePar): ditto
6998
6999 2003-03-17  John Levon  <levon@movementarian.org>
7000
7001         * text.C (rowBreakPoint): remove attempt to fix displayed
7002         math insets inside a manual label
7003
7004 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7005
7006         * lyxtext.h: remove BufferView* as first arg from almost all class
7007         functions.
7008         * other files: adjust.
7009
7010 2003-03-17  John Levon  <levon@movementarian.org>
7011
7012         * lyxtext.h:
7013         * undo_funcs.C:
7014         * text2.C: more paint cleanups
7015
7016         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7017
7018         * rowpainter.h:
7019         * rowpainter.C: remove "smart" background painting code
7020
7021 2003-03-16  John Levon  <levon@movementarian.org>
7022
7023         * lyxtext.h:
7024         * text.C:
7025         * text2.C:
7026         * text3.C: add helper functions for setting refresh_row/y
7027
7028 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7029
7030         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7031         newline inset which *can* get inserted in the pass_thru layouts.
7032         This is primarily for literate documents.
7033
7034 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7035
7036         * buffer.C: increment LYX_FORMAT to 223
7037
7038 2003-03-14 André Pönitz <poenitz@gmx.net>
7039
7040         * textclass.h: prepare for environment handling, ws changes
7041         * lyxlayout.C: read latexheader and latexfooter tags
7042
7043 2003-03-14  John Levon  <levon@movementarian.org>
7044
7045         * text2.C: rewrite ::status() a bit
7046
7047 2003-03-13  John Levon  <levon@movementarian.org>
7048
7049         * lyxtext.h: add some docs
7050
7051 2003-03-13  John Levon  <levon@movementarian.org>
7052
7053         * lyxtext.h:
7054         * text.C:
7055         * text2.C:
7056         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7057
7058 2003-03-13  John Levon  <levon@movementarian.org>
7059
7060         * text3.C: fix appendix redrawing
7061
7062 2003-03-13  John Levon  <levon@movementarian.org>
7063
7064         * text.C (setHeightOfRow):
7065         * rowpainter.h:
7066         * rowpainter.C: make appendix mark have the text
7067           "Appendix" so the user knows what it is
7068
7069         * LColor.h:
7070         * LColor.C: s/appendixline/appendix/ from above
7071
7072 2003-03-13  John Levon  <levon@movementarian.org>
7073
7074         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7075
7076         * text.C: fix a getChar(pos) bug properly
7077
7078 2003-03-13  Angus Leeming  <leeming@lyx.org>
7079
7080         * commandtags.h:
7081         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7082         Probably only temporary. Let's see how things pan out.
7083
7084         * BufferView.C (unlockInset):
7085         * BufferView_pimpl.C (fitCursor):
7086         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7087
7088         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7089         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7090
7091         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7092         new functions that convert ParagraphParameters to and from a string.
7093
7094         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7095         BufferView::Pimpl's dispatch.
7096         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7097
7098 2003-03-13 André Pönitz <poenitz@gmx.net>
7099
7100         * lyxfunc.C:
7101         * text3.C:
7102         * factory.C: make it aware of InsetEnv
7103
7104 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * text2.C (setCursor): never ask for one past last
7107         (setCursor): add some debugging messages.
7108
7109         * text.C (singleWidth): never ask for one past last
7110         (singleWidth): ditto
7111         (leftMargin): ditto
7112         (rightMargin): ditto
7113         (rowBreakPoint): ditto
7114         (setHeightOfRow): ditto
7115         (prepareToPrint): ditto
7116
7117         * rowpainter.C (paintBackground): never ask for one past last
7118         (paintText): never ask for one past last
7119
7120         * paragraph_pimpl.C (getChar): make the assert stricter, never
7121         allow the one past last pos to be taken
7122
7123         * paragraph.C (getChar): ws changes only
7124
7125         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7126         (numberOfSeparators): ditto
7127         (numberOfHfills): ditto
7128
7129 2003-03-12  John Levon  <levon@movementarian.org>
7130
7131         * author.h:
7132         * author.C:
7133         * bufferparams.h:
7134         * bufferparams.C:
7135         * paragraph_funcs.C: fix per-buffer authorlists
7136
7137 2003-03-12  John Levon  <levon@movementarian.org>
7138
7139         * text.C: fix newline in right address
7140
7141 2003-03-12  Angus Leeming  <leeming@lyx.org>
7142
7143         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7144         duplicate those in LyXFunc::dispatch.
7145
7146         * commandtags.h:
7147         * LyXAction.C:
7148         * ToolbarDefaults.C:
7149         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7150         Add LFUN_FONTFREE_UPDATE.
7151
7152         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7153         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7154
7155         * bufferview_func.[Ch]: several new functions to facilliate
7156         transfer of data to and from the character dialog.
7157
7158 2003-03-12  John Levon  <levon@movementarian.org>
7159
7160         * buffer.C:
7161         * paragraph.h:
7162         * paragraph.C:
7163         * paragraph_funcs.C:
7164         * paragraph_pimpl.C:
7165         * sgml.C:
7166         * tabular.C:
7167         * text.C:
7168         * text3.C: remove META_NEWLINE in favour of an inset
7169
7170         * rowpainter.h:
7171         * rowpainter.C: remove paintNewline (done by inset)
7172
7173 2003-03-12  John Levon  <levon@movementarian.org>
7174
7175         * paragraph_pimpl.C: complain about bad getChar()s
7176         for a while at least
7177
7178 2003-03-12  John Levon  <levon@movementarian.org>
7179
7180         * buffer.h:
7181         * buffer.C: move paragraph read into a separate function,
7182         a little renaming to reflect that.
7183
7184         * bufferparams.h:
7185         * bufferparams.C: remove the author_ids map, not necessary now
7186
7187         * factory.h:
7188         * factory.C: moved Buffer::readInset to here
7189
7190         * paragraph_funcs.h:
7191         * paragraph_funcs.C: readParagraph free function moved from
7192         buffer.C
7193
7194         * tabular.C: name change
7195
7196 2003-03-12  John Levon  <levon@movementarian.org>
7197
7198         * buffer.C:
7199         * ParagraphParameters.C: move par params input to
7200         a read() method
7201
7202         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7203         behave like a normal read from the stream wrt reading
7204         a line vs. a \\token
7205
7206 2003-03-12  John Levon  <levon@movementarian.org>
7207
7208         * paragraph.C:
7209         * ParagraphParameters.h:
7210         * ParagraphParameters.C: move output code to a
7211         ::write() method
7212
7213 2003-03-12  John Levon  <levon@movementarian.org>
7214
7215         * BufferView.C (insertLyXFile):
7216         * buffer.h:
7217         * buffer.C:
7218         * tabular.C: use a parlist iterator for creating the
7219           document.
7220
7221 2003-03-12  John Levon  <levon@movementarian.org>
7222
7223         * buffer.C: make current_change static local not
7224           static file-scope
7225
7226 2003-03-12  John Levon  <levon@movementarian.org>
7227
7228         * buffer.C: fix insertStringAsLines for change tracking
7229
7230 2003-03-12  John Levon  <levon@movementarian.org>
7231
7232         * BufferView.C:
7233         * tabular.C:
7234         * buffer.h:
7235         * buffer.C:
7236         * bufferparams.h:
7237         * bufferparams.C: move author list into params. Rename some
7238           functions. Move the header reading into a separate token
7239           loop. Move the header token reading into BufferParams.
7240
7241 2003-03-12  John Levon  <levon@movementarian.org>
7242
7243         * changes.C: put debug inside lyxerr.debugging() checks
7244
7245 2003-03-11 André Pönitz <poenitz@gmx.net>
7246
7247         * factory.C: make it aware of InsetHFill
7248
7249 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7250
7251         * buffer.C (latexParagraphs): move function from here...
7252         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7253         args.
7254
7255 2003-03-10  Angus Leeming  <leeming@lyx.org>
7256
7257         * LyXAction.C (init): fix bug in poplating array with multiple entries
7258         with the same LFUN (spotted by JMarc).
7259
7260 2003-03-10  John Levon  <levon@movementarian.org>
7261
7262         * text.C:
7263         * text2.C: move getColumnNearX() near its
7264         only call site
7265
7266 2003-03-10  John Levon  <levon@movementarian.org>
7267
7268         * text.C: fix break before a minipage
7269
7270 2003-03-10  John Levon  <levon@movementarian.org>
7271
7272         * text.C: fix the last commit
7273
7274 2003-03-09  John Levon  <levon@movementarian.org>
7275
7276         * lyxtext.h:
7277         * text.C:
7278         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7279         bug 365 (don't break before insets unless needed). Don't
7280         return a value > last under any circumstances.
7281
7282 2003-03-09  Angus Leeming  <leeming@lyx.org>
7283
7284         * BufferView_pimpl.C (trackChanges, dispatch): call
7285         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7286
7287 2003-03-09  Angus Leeming  <leeming@lyx.org>
7288
7289         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7290         than Dialogs::showAboutlyx().
7291
7292 2003-03-09  Angus Leeming  <leeming@lyx.org>
7293
7294         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7295         than Dialogs::showTabularCreate().
7296
7297 2003-03-09  John Levon  <levon@movementarian.org>
7298
7299         * lyxtext.h:
7300         * text.C:
7301         * text2.C: 3rd arg to nextBreakPoint was always the same.
7302           Use references.
7303
7304 2003-03-08  John Levon  <levon@movementarian.org>
7305
7306         * lyxrow.C:
7307         * paragraph.C:
7308         * paragraph.h:
7309         * rowpainter.C:
7310         * text.C:
7311         * text2.C: Remove the "main" bit from the "main body"
7312           notion.
7313
7314 2003-03-08  John Levon  <levon@movementarian.org>
7315
7316         * text.C (leftMargin): The left margin of an empty
7317         manual label paragraph should not include the label width
7318         string length.
7319
7320         * text.C (prepareToPrint): don't attempt to measure hfills
7321         for empty manual label paragraphs - the answer should be 0
7322
7323 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7324
7325         * CutAndPaste.C: remove commented code and reindent.
7326
7327 2003-03-08  John Levon  <levon@movementarian.org>
7328
7329         * lyxfunc.h:
7330         * lyxfunc.C: move reloadBuffer()
7331
7332         * BufferView.h:
7333         * BufferView.C: to here
7334
7335         * lyxvc.C: add comment
7336
7337         * vc-backend.h:
7338         * vc-backend.C: call bv->reload() to avoid
7339           getStatus() check on MENURELOAD
7340
7341 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7342
7343         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7344         to an old format .dep file.
7345
7346 2003-03-07  Angus Leeming  <leeming@lyx.org>
7347
7348         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7349         when the LFUN_MOUSE_RELEASE should have been handled by
7350         inset->localDispatch.
7351
7352 2003-03-07  Angus Leeming  <leeming@lyx.org>
7353
7354         * BufferView_pimpl.C (dispatch):
7355         * LyXAction.C (init):
7356         * ToolbarDefaults.C (init):
7357         * commandtags.h:
7358         * lyxfunc.C (getStatus):
7359         remove LFUN_INSET_GRAPHICS.
7360
7361         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7362
7363 2003-03-07  Angus Leeming  <leeming@lyx.org>
7364
7365         * commandtags.h:
7366         * LyXAction.C (init):
7367         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7368
7369         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7370
7371         * commandtags.h:
7372         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7373
7374         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7375         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7376
7377 2003-03-07  Angus Leeming  <leeming@lyx.org>
7378
7379         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7380         remove "ert".
7381
7382 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7383
7384         * ParagraphList.C (front): new function
7385         (back): implement
7386
7387 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7388
7389         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7390         and top_row_offset_. removed var first_y.
7391         * text.C (top_y):
7392         * text2.C (LyXText, removeRow):
7393         * text3.C:
7394         * BufferView_pimpl.C:
7395         use these methods instead of using first_y
7396
7397 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7398
7399         * text2.C (pasteSelection): adjust for checkPastePossible
7400
7401         * CutAndPaste.C: remove Paragraph * buf and replace with
7402         ParagraphList paragraphs.
7403         (DeleteBuffer): delete
7404         (cutSelection): change the tc type to textclass_type
7405         (copySelection): change the tc type to textclass_type
7406         (copySelection): adjust for ParagraphList
7407         (pasteSelection): change the tc type to textclass_type
7408         (pasteSelection): adjust for Paragraphlist
7409         (nrOfParagraphs): simplify for ParagraphList
7410         (checkPastePossible): simplify for ParagraphList
7411         (checkPastePossible): remove unused arg
7412
7413         * ParagraphList.C (insert): handle the case where there are no
7414         paragraphs yet.
7415
7416         * CutAndPaste.h: make CutAndPaste a namespace.
7417
7418         * text3.C (dispatch): adjust
7419
7420         * text.C (breakParagraph): add a ParagraphList as arg
7421
7422         * paragraph_funcs.C (breakParagraph): change to take a
7423         BufferParams and a ParagraphList as args.
7424         (breakParagraphConservative): ditto
7425         (mergeParagraph): ditto
7426         (TeXDeeper): add a ParagraphList arg
7427         (TeXEnvironment): ditto
7428         (TeXOnePar): ditto
7429
7430         * buffer.C (readLyXformat2): adjust
7431         (insertStringAsLines): adjust
7432         (latexParagraphs): adjust
7433
7434         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7435         (cutSelection): adjust
7436         (pasteSelection): adjust
7437
7438         * BufferView_pimpl.C (insertInset): adjust
7439
7440 2003-03-05  Angus Leeming  <leeming@lyx.org>
7441
7442         * commandtags.h:
7443         * LyXAction.C (init):
7444         * BufferView_pimpl.C (dispatch):
7445         * lyxfunc.C (getStatus):
7446         remove LFUN_CHILD_INSERT.
7447
7448         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7449
7450 2003-03-05  Angus Leeming  <leeming@lyx.org>
7451
7452         * commandtags.h:
7453         * LyXAction.C (init):
7454         * src/factory.C (createInset):
7455         * lyxfunc.C (getStatus):
7456         * text3.C (dispatch):
7457         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7458
7459         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7460
7461 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7462
7463         * ParagraphList.C (insert): handle insert right before end()
7464         (erase): fix cases where it can be first or last paragraph.
7465
7466 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7467
7468         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7469         Paragraph::next and Paragraph::previous
7470         (TeXOnePar): ditto
7471
7472         * text.C (breakParagraph): adjust
7473
7474         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7475         BufferParams& as arg.
7476         (breakParagraph): use ParagraphList::insert
7477         (breakParagraphConservative): take a Buffer* instead of a
7478         BufferParams& as arg.
7479         (breakParagraphConservative): use ParagraphList::insert.
7480
7481         * buffer.C (insertStringAsLines): un-const it
7482         (insertStringAsLines): adjust
7483
7484         * ParagraphList.C (insert): new function
7485
7486         * CutAndPaste.C (pasteSelection): adjust
7487
7488         * text.C (backspace): adjust
7489
7490         * tabular.C (SetMultiColumn): adjust
7491
7492         * CutAndPaste.C (cutSelection): adjust
7493         (pasteSelection): adjust
7494
7495         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7496         Buffer const * as arg
7497
7498         * ParagraphList.C (erase): new function
7499         * paragraph_funcs.C (mergeParagraph): use it
7500         (mergeParagraph): make it take a Buffer* instead of a
7501         BufferParams* as arg
7502
7503         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7504         as arg
7505         (breakParagraphConservative): ditto
7506
7507         * paragraph.h: remove the breakParagraph friend
7508
7509         * paragraph.C (eraseIntern): new function
7510         (setChange): new function
7511
7512         * paragraph_funcs.C (mergeParagraph): make it take a
7513         ParagraphList::iterator instead of a Paragraph *, adjust
7514         accordingly.
7515
7516         * paragraph.h: move an #endif so that the change tracking stuff
7517         also works in the NO_NEXT case.
7518
7519 2003-03-04  Angus Leeming  <leeming@lyx.org>
7520
7521         * commandtags.h:
7522         * LyXAction.C: new LFUN_INSET_MODIFY.
7523
7524         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7525         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7526
7527 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7528
7529         * several files: ws changes only
7530
7531         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7532         (TeXEnvironment): ditto
7533         (TeXDeeper): ditto
7534
7535         * buffer.C (makeLaTeXFile): adjust
7536         (latexParagraphs): make it take ParagraphList::iterator as args
7537
7538 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7539
7540         * buffer.C (latexParagraphs): adjust
7541
7542         * paragraph.C (TeXOnePar): move function...
7543         (optArgInset): move function...
7544         (TeXEnvironment): move function...
7545         * paragraph_pimpl.C (TeXDeeper): move function...
7546         * paragraph_funcs.C: ...here
7547
7548         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7549
7550 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * buffer.C (readInset): remove compability code for old Figure and
7553         InsetInfo insets
7554
7555 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * buffer.C: ws changes
7558         (readInset):
7559
7560         * BufferView_pimpl.C: ditto
7561         * author.C: ditto
7562         * buffer.h: ditto
7563         * bufferlist.h: ditto
7564         * changes.h: ditto
7565         * lyxfunc.C: ditto
7566
7567 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7568
7569         * converter.[Ch]: split into itself +
7570         * graph.[Ch]
7571         * format.[Ch]
7572         * Makefile.am: += graph.[Ch] + format.[Ch]
7573         * MenuBackend.C
7574         * buffer.C
7575         * exporter.C
7576         * importer.C
7577         * lyx_main.C
7578         * lyxfunc.C
7579         * lyxrc.C: added #include "format.h"
7580
7581 2003-02-27  Angus Leeming  <leeming@lyx.org>
7582
7583         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7584           a label.
7585
7586         * factory.C (createInset): add "label" to the factory.
7587
7588         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7589           string and do no more.
7590
7591 2003-02-27  Angus Leeming  <leeming@lyx.org>
7592
7593         * commandtags.h:
7594         * LyXAction.C (init):
7595         * factory.C (createInset):
7596         * BufferView_pimpl.C (dispatch):
7597           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7598
7599         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7600
7601         * lyxfunc.C (dispatch):
7602         * text3.C (dispatch): pass name to params2string.
7603
7604 2003-02-26  Angus Leeming  <leeming@lyx.org>
7605
7606         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7607           blocks together.
7608           Rearrange the ~includes. Strip out the unnecessary ones.
7609
7610         * factory.C (createInset): reformat.
7611           create new insets for the various LFUN_XYZ_APPLY lfuns.
7612
7613 2003-02-26  John Levon  <levon@movementarian.org>
7614
7615         * lyxrow.h:
7616         * lyxrow.C: add isParStart,isParEnd helpers
7617
7618         * paragraph.h: make isInserted/DeletedText take refs
7619
7620         * paragraph_funcs.h:
7621         * paragraph_funcs.C: remove #if 0'd code
7622
7623         * lyxtext.h:
7624         * text3.C:
7625         * text2.C:
7626         * text.C: use lyxrow helpers above.
7627           Move draw and paint routines to RowPainter.
7628           Make several methods use refs not pointers.
7629           Make backgroundColor() const.
7630           Add markChangeInDraw(), isInInset().
7631           Merge changeRegionCase into changeCase.
7632           Make workWidth() shouldn't-happen code into an Assert.
7633
7634         * rowpainter.h:
7635         * rowpainter.C: new class for painting a row.
7636
7637         * vspace.h:
7638         * vspace.C: make inPixels take a ref
7639
7640 2003-02-26  Angus Leeming  <leeming@lyx.org>
7641
7642         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7643         LFUN_REF_APPLY.
7644
7645 2003-02-25  John Levon  <levon@movementarian.org>
7646
7647         * ispell.C: give the forked command a more accurate name
7648
7649 2003-02-22  John Levon  <levon@movementarian.org>
7650
7651         * toc.h:
7652         * toc.C: make TocItem store an id not a Paragraph *
7653           (bug #913)
7654
7655 2003-02-21  Angus Leeming  <leeming@lyx.org>
7656
7657         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7658           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7659           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7660           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7661           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7662           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7663
7664         * BufferView_pimpl.C (dispatch):
7665         * LyXAction.C (init):
7666         * factory.C (createInset):
7667         * lyxfunc.C (getStatus, dispatch):
7668         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7669
7670 2003-02-21  Angus Leeming  <leeming@lyx.org>
7671
7672         * BufferView_pimpl.C (MenuInsertLyXFile):
7673         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7674         * lyxfunc.C (menuNew, open, doImport):
7675           no longer pass a LyXView & to fileDlg.
7676
7677 2003-02-21  Angus Leeming  <leeming@lyx.org>
7678
7679         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7680         * LyXAction.C: change, BIBKEY to BIBITEM.
7681         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7682         Change InsetBibKey to InsetBibitem.
7683         Change BIBKEY_CODE to BIBITEM_CODE.
7684         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7685         * factory.C: replace insetbib.h with insetbibitem.h.
7686         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7687         * paragraph.C: replace insetbib.h with insetbibitem.h.
7688         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7689         Change bibkey() to bibitem().
7690         * text.C: remove insetbib.h.
7691         * text2.C: replace insetbib.h with insetbibitem.h.
7692         change bibkey() to bibitem().
7693         * text3.C: remove insetbib.h.
7694         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7695
7696 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7697
7698         * lyxrc.C (output): enclose user email in quotes (in case there are
7699         several words)
7700
7701 2003-02-18  John Levon  <levon@movementarian.org>
7702
7703         * buffer.h: add std::
7704
7705 2003-02-17  John Levon  <levon@movementarian.org>
7706
7707         * SpellBase.h:
7708         * ispell.h:
7709         * ispell.C:
7710         * pspell.h:
7711         * pspell.C: reworking. Especially in ispell, a large
7712           number of clean ups and bug fixes.
7713
7714         * lyxfunc.C: fix revert to behave sensibly
7715
7716 2003-02-17 André Pönitz <poenitz@gmx.net>
7717
7718         * LyXAction.C:
7719         * commandtags.h: new LFUN_INSERT_BIBKEY
7720
7721         * layout.h:
7722         * lyxlayout.C:
7723         * buffer.C:
7724         * factory.C:
7725         * text.C:
7726         * text2.C:
7727         * text3.C:
7728         * paragraph.[Ch]:
7729         * paragraph_func.C: remove special bibkey handling
7730
7731 2003-02-17  John Levon  <levon@movementarian.org>
7732
7733         * text.C (Delete): fix case where delete at the end of
7734           the very first paragraph would not merge the pars
7735
7736 2003-02-17  John Levon  <levon@movementarian.org>
7737
7738         * lyxrow.C: fix lastPrintablePos()
7739
7740 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7741
7742         * bufferparams.C (writeLaTeX): add a std:here
7743
7744         * buffer.C: and remove a using directive there
7745
7746 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7747
7748         * buffer.C (makeLaTeXFile): move the code that generates the
7749           preamble...
7750
7751         * bufferparams.C (writeLaTeX): ... in this new method
7752
7753         * LaTeXFeatures.C (getEncodingSet): make const
7754           (getLanguages): make const
7755
7756         * MenuBackend.C (binding): returns the binding associated to this
7757           action
7758           (add): sets the status of each item by calling getStatus. Adds
7759           some intelligence.
7760           (read): add support for OptSubMenu
7761           (expand): remove extra separator at the end of expanded menu
7762
7763 2003-02-15  John Levon  <levon@movementarian.org>
7764
7765         * BufferView.C:
7766         * BufferView_pimpl.C:
7767         * bufferlist.h:
7768         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7769           inset code that had no actual effect. Remove unneeded status
7770           code.
7771
7772 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7773
7774         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7775           in preamble
7776
7777 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7778
7779         * text.C (drawLengthMarker): also draw an arrow marker for
7780           symbolic lengths (medskip...)
7781
7782 2003-02-14  John Levon  <levon@movementarian.org>
7783
7784         * tabular.h:
7785         * tabular.C: better method names
7786
7787 2003-02-14  John Levon  <levon@movementarian.org>
7788
7789         * BufferView_pimpl.C:
7790         * bufferlist.C:
7791         * buffer.C:
7792         * converter.C:
7793         * lyx_cb.C:
7794         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7795           it's a more accurate name. Remove some pointless uses.
7796
7797 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7798
7799         * text2.C (LyXText): change order of initilizers to shut off
7800           warnings
7801
7802 2003-02-14  John Levon  <levon@movementarian.org>
7803
7804         * buffer.C: use ParIterator for getParFromID()
7805
7806         * paragraph.h:
7807         * paragraph.C:
7808         * paragraph_pimpl.h:
7809         * paragraph_pimpl.C: remove unused getParFromID()
7810
7811 2003-02-14  John Levon  <levon@movementarian.org>
7812
7813         * buffer.C: remove some very old #if 0'd parse code
7814
7815 2003-02-13  John Levon  <levon@movementarian.org>
7816
7817         * text.h:
7818         * text.C:
7819         * text2.C: move hfillExpansion(), numberOfSeparators(),
7820           rowLast(), rowLastPrintable(), numberofHfills(),
7821           numberOfLabelHfills() ...
7822
7823         * lyxrow.h:
7824         * lyxrow.C: ... to member functions here.
7825
7826         * paragraph.h:
7827         * paragraph.C:
7828         * lyxtext.h:
7829         * text.C: remove LyXText::beginningOfMainBody(), and call
7830           p->beginningOfMainBody() directly. Move the check for
7831           LABEL_MANUAL into the latter.
7832
7833         * text.h:
7834         * text.C:
7835         * text2.C:
7836         * vspace.C:
7837         * BufferView.h:
7838         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7839
7840         * text.h:
7841         * text.C:
7842         * text2.C:
7843         * text3.C:
7844         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7845           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7846
7847 2003-02-13  John Levon  <levon@movementarian.org>
7848
7849         * CutAndPaste.C: remove debug
7850
7851 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7852
7853         * paragraph.C (asString): remove two unused variables
7854
7855         * lyxtextclass.C (readTitleType):
7856           (Read):
7857           (LyXTextClass): handle new members titletype_ and titlename_
7858
7859         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7860
7861 2003-02-09  John Levon  <levon@movementarian.org>
7862
7863         * buffer.h:
7864         * buffer.C: replace hand-coded list with a map for the dep clean
7865
7866 2003-02-08  John Levon  <levon@movementarian.org>
7867
7868         * LaTeX.C: consolidate code into showRunMessage() helper
7869
7870 2003-02-08  John Levon  <levon@movementarian.org>
7871
7872         * lyxfind.C:
7873         * lyxtext.h:
7874         * text2.C:
7875         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7876           and pass the size in explicitly
7877
7878         * BufferView_pimpl.h:
7879         * BufferView_pimpl.C:
7880         * BufferView.h:
7881         * BufferView.C: add getCurrentChange()
7882
7883         * BufferView_pimpl.h:
7884         * BufferView_pimpl.C: handle change lfuns
7885
7886         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7887           for changes. Mark pasted paragraphs as new.
7888
7889         * support/lyxtime.h:
7890         * support/lyxtime.C:
7891         * DepTable.C: abstract time_t as lyx::time_type
7892
7893         * LColor.h:
7894         * LColor.C: add colours for new text, deleted text, changebars
7895
7896         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7897           package use "usenames" option.
7898
7899         * commandtags.h:
7900         * lyxfunc.C:
7901         * LyXAction.C: add change lfuns
7902
7903         * Makefile.am:
7904         * author.h:
7905         * author.C: author handling
7906
7907         * buffer.h:
7908         * buffer.C: add a per-buffer author list, with first entry as
7909           current author. Handle new .lyx tokens for change tracking. Output
7910           author list to .lyx file. Output dvipost stuff to .tex preamble.
7911           Bump lyx format to 222.
7912
7913         * bufferlist.h:
7914         * bufferlist.C: add setCurrentAuthor() to reset current author details
7915           in all buffers.
7916
7917         * bufferparams.h:
7918         * bufferparams.C: add param for tracking
7919
7920         * bufferview_funcs.C: output change info in minibuffer
7921
7922         * Makefile.am:
7923         * changes.h:
7924         * changes.C: add change-tracking structure
7925
7926         * debug.h:
7927         * debug.C: add CHANGES debug flag
7928
7929         * lyxfind.h:
7930         * lyxfind.C: add code for finding the next change piece
7931
7932         * lyxrc.h:
7933         * lyxrc.C: add user_name and user_email
7934
7935         * lyxrow.h:
7936         * lyxrow.C: add a metric for the top of the text line
7937
7938         * lyxtext.h:
7939         * text.C: implement accept/rejectChange()
7940
7941         * lyxtext.h:
7942         * text.C: paint changebars. Paint new/deleted text in the chosen
7943         colours. Strike through deleted text.
7944
7945         * paragraph.h:
7946         * paragraph.C:
7947         * paragraph_pimpl.h:
7948         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7949           in the current change to the insert functions. Rework erase to
7950           mark text as deleted, adding an eraseIntern() and a range-based
7951           erase(). Implement per-paragraph change lookup and
7952           accept/reject.
7953
7954         * paragraph_funcs.C: Fixup paste for change tracking.
7955
7956         * tabular.C: mark added row/columns as new.
7957
7958         * text.C: fix rowLast() to never return -1. Don't allow
7959           spellchecking of deleted text. Track transpose changes. Don't
7960           allow paragraph break or merge where appropriate.
7961
7962         * text2.C: leave cursor at end of selection after a cut.
7963
7964 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7965
7966         * text.C (getLengthMarkerHeight):
7967         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7968         visible on screen too.
7969
7970 2003-02-07  John Levon  <levon@movementarian.org>
7971
7972         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7973
7974 2003-02-05  Angus Leeming  <leeming@lyx.org>
7975
7976         * lyxserver.C (read_ready): revert my patch of 11 September last year
7977         as it sends PC cpu through the roof. Presumably this means that
7978         the lyxserver will no longer run on an Alpha...
7979
7980 2003-01-30  Angus Leeming  <leeming@lyx.org>
7981
7982         * factory.C (createInset): create an InsetCommandParam of type "index"
7983         and use it to 'do the right thing'.
7984
7985         * text2.C (getStringToIndex): ensure that cursor position is always
7986         reset to the reset_cursor position.
7987
7988 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7989
7990         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7991         disabled.
7992
7993 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7994
7995         * bufferview.C:
7996         * lyxcb.C:
7997         * lyxfunc.C: Output messages with identical spelling, punctuation,
7998         and spaces
7999
8000 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8001
8002         * MenuBackend.C (expandFormats): List only viewable export formats
8003         in "View" menu
8004
8005         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8006         message
8007
8008         * lyxfunc.C (getStatus): Make sure that formats other than
8009         "fax" can also be disabled
8010
8011 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8012
8013         * text3.C (dispatch): put the lfuns that insert insets in 3
8014         groups, and call doInsertInset with appropriate arguments.
8015         (doInsertInset): new function, that creates an inset and inserts
8016         it according to some boolean parameters.
8017
8018 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8019
8020         * buffer.C (readFile): remember to pass on 'par' when calling
8021         readFile recursively.
8022
8023 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8024
8025         * MenuBackend.C (expandFormats): add "..." to import formats.
8026
8027 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8028
8029         * paragraph.C (asString): Remove XForms RTL hacks.
8030
8031 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8032         * buffer.C: fix typo
8033
8034 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8035
8036         * Makefile.am (LIBS): delete var
8037         (lyx_LDADD): add @LIBS@ here instead.
8038
8039 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8040
8041         * Clarify the meaning of "wheel mouse jump"
8042
8043 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8044
8045         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8046         tabular in a float
8047
8048 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8049
8050         * importer.C (Loaders): do not preallocate 3 elements in the
8051         vector, since one ends up with 6 elements otherwise
8052
8053 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8054
8055         * DepTable.C (write): write the file name as last element of the
8056         .dep file (because it may contain spaces)
8057         (read): read info in the right order
8058
8059 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8060
8061         * paragraph_pimpl.C (simpleTeXBlanks):
8062         (simpleTeXSpecialChars):
8063         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8064
8065         * tabular.C (latex): add some missing case statements. Reindent.
8066
8067         * MenuBackend.C (expandToc): remove unused variable.
8068
8069 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8070
8071         * LColor.C:
8072         * LaTeX.C:
8073         * LyXAction.C:
8074         * MenuBackend.C:
8075         * buffer.C:
8076         * exporter.C:
8077         * lyxfunc.C:
8078         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8079         and the like.
8080
8081 2003-01-05  John Levon  <levon@movementarian.org>
8082
8083         * BufferView.h:
8084         * BufferView.C: add getEncoding()
8085
8086         * kbsequence.h:
8087         * kbsequence.C: do not store last keypress
8088
8089         * lyxfunc.h:
8090         * lyxfunc.C: store last keypress here instead. Pass encoding
8091           to getISOEncoded()
8092
8093 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8094
8095         * lyx_main.C (init): remove annoying error message when following
8096         symbolic links (bug #780)
8097
8098 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8099
8100         * text.C (insertChar):
8101         * lyxrc.C (getDescription): remove extra spaces
8102
8103 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8104
8105         * lyxrc.C (getDescription): remove extra spaces
8106
8107 2002-12-20  John Levon  <levon@movementarian.org>
8108
8109         * text3.C: hack fix for page up/down across tall rows
8110
8111 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8112
8113         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8114         not been invoked
8115
8116 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8117
8118         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8119         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8120         thesaurus is not compiled in
8121
8122 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8123
8124         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8125
8126 2002-12-16  Angus Leeming  <leeming@lyx.org>
8127
8128         * lyxrc.[Ch]:
8129         * lyx_main.C (init): remove override_x_deadkeys stuff.
8130
8131 2002-12-12  John Levon  <levon@movementarian.org>
8132
8133         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8134           insert. Only remove shift modifier under strict
8135           circumstances.
8136
8137 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * MenuBackend.C (expandToc): fix crash.
8140
8141 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * MenuBackend.C (expandToc): gettext on float names.
8144
8145 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8146
8147         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8148         implement bool empty() [bug 490]
8149
8150 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8153
8154 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * several files: ws changes
8157
8158 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * text2.C (setCounter): clean up a bit, use boost.format.
8161         (updateCounters): initialize par upon declaration.
8162
8163         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8164         if the layout exists. We do not just store the layout any more.
8165         (SwitchLayoutsBetweenClasses): use boost.format
8166
8167 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8168
8169         * converter.C (convert): if from and to files are the same, use a
8170         temporary files as intermediary
8171
8172 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8173
8174         * commandtags.h:
8175         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8176
8177 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8178
8179         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8180
8181 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * tabular.C (asciiPrintCell): use string(size, char) instead of
8184         explicit loop.
8185
8186         * sgml.C (openTag): fix order of arguments to string constructor
8187         (closeTag): ditto
8188
8189         * lyxfunc.C (dispatch): use boost.format
8190
8191         * lots of files: change "c" -> 'c'
8192
8193 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8194
8195         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8196
8197 2002-11-25  Angus Leeming  <leeming@lyx.org>
8198
8199         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8200
8201         * lyx_main.C (init): compile fix.
8202
8203 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8204
8205         * lyx_cb.C (start): boost.formatify
8206         do not include <iostream>
8207
8208         * lengthcommon.C: ws only
8209
8210         * boost-inst.C,BoostFormat.h: add more explict instantations
8211
8212 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8213
8214         * lots of files: handle USE_BOOST_FORMAT
8215
8216 2002-11-21  John Levon  <levon@movementarian.org>
8217
8218         * pspell.C: fix compile
8219
8220 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8221
8222         * lyxfunc.C (dispatch): use boost::format
8223         (open): ditto
8224         (doImport): ditto
8225
8226         * lyxfont.C (stateText): use boost::format
8227
8228         * lyx_main.C (LyX): use boost::format
8229         (init): ditto
8230         (queryUserLyXDir): ditto
8231         (readRcFile): ditto
8232         (parse_dbg): ditto
8233         (typedef boost::function): use the recommened syntax.
8234
8235         * importer.C (Import): use boost::format
8236
8237         * debug.C (showLevel): use boost::format
8238
8239         * converter.C (view): use boost::format
8240         (convert): ditto
8241         (move): ditto
8242         (scanLog): ditto
8243
8244         * bufferview_funcs.C (currentState): use boost::format
8245
8246         * bufferlist.C (emergencyWrite): use boost::format
8247
8248         * buffer.C (readLyXformat2): use boost::format
8249         (parseSingleLyXformat2Token): ditto
8250
8251         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8252
8253         * LaTeX.C (run): use boost::format
8254
8255         * Chktex.C (scanLogFile): use boost::format
8256
8257         * BufferView_pimpl.C (savePosition): use boost::format
8258         (restorePosition): ditto
8259         (MenuInsertLyXFile): ditto
8260
8261         * BoostFormat.h: help file for explicit instation.
8262
8263 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8264
8265         * tabular.C (latex): Support for block alignment in fixed width
8266         columns.
8267
8268 2002-11-17  John Levon  <levon@movementarian.org>
8269
8270         * BufferView_pimpl.C:
8271         * lyx_cb.C:
8272         * lyxfunc.C: split filedialog into open/save
8273
8274 2002-11-08  Juergen Vigna  <jug@sad.it>
8275
8276         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8277         by my last patch (hopefully).
8278
8279 2002-11-08  John Levon  <levon@movementarian.org>
8280
8281         * iterators.h:
8282         * iterators.C:
8283         * buffer.h:
8284         * buffer.C:
8285         * paragraph.h:
8286         * paragraph.C:
8287         * toc.h:
8288         * toc.C: ParConstIterator, and use it (from Lars)
8289
8290 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8291
8292         * lyxtextclass.[Ch]: revise and add doxygen comments
8293
8294 2002-11-07  John Levon  <levon@movementarian.org>
8295
8296         * text.C: fix progress value for spellchecker
8297
8298         * toc.C: fix navigate menu for insetwrap inside minipage
8299
8300         * paragraph_funcs.C: added FIXME for suspect code
8301
8302 2002-11-07  John Levon  <levon@movementarian.org>
8303
8304         * BufferView_pimpl.C: fix redrawing of insets
8305           on buffer switch
8306
8307 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8308
8309         * text2.C (updateCounters): fix bug 668
8310
8311 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8312
8313         * text3.C (dispatch): Do not make the buffer dirty when moving the
8314         cursor.
8315
8316 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8317
8318         * vc-backend.C: STRCONV
8319         (scanMaster): ditto
8320
8321         * text2.C (setCounter): STRCONV
8322
8323         * paragraph.C (asString): STRCONV
8324
8325         * lyxlength.C (asString): STRCONV
8326         (asLatexString): ditto
8327
8328         * lyxgluelength.C (asString): STRCONV
8329         (asLatexString): ditto
8330
8331         * lyxfunc.C (dispatch): STRCONV
8332         (open): ditto
8333
8334         * lyxfont.C (stateText): STRCONV
8335
8336         * importer.C (Import): STRCONV
8337
8338         * counters.C (labelItem): STRCONV
8339         (numberLabel): ditto
8340         (numberLabel): remove unused ostringstream o
8341
8342         * chset.C: STRCONV
8343         (loadFile): ditto
8344
8345         * bufferview_funcs.C (currentState): STRCONV
8346
8347         * buffer.C (readFile): STRCONV
8348         (asciiParagraph): ditto
8349         (makeLaTeXFile): ditto
8350
8351         * Spacing.C (writeEnvirBegin): STRCONV
8352
8353         * LaTeXFeatures.C (getLanguages): STRCONV
8354         (getPackages): ditto
8355         (getMacros): ditto
8356         (getBabelOptions): ditto
8357         (getTClassPreamble): ditto
8358         (getLyXSGMLEntities): ditto
8359         (getIncludedFiles): ditto
8360
8361         * LaTeX.C: STRCONV
8362         (run): ditto
8363         (scanAuxFile): ditto
8364         (deplog): ditto
8365
8366         * LString.h: add the STRCONV macros
8367
8368         * BufferView_pimpl.C (savePosition): STRCONV
8369         (restorePosition): ditto
8370         (MenuInsertLyXFile): ditto
8371
8372         * vc-backend.C (scanMaster): change from submatch[...] to
8373         submatch.str(...)
8374
8375         * funcrequest.C: include config.h
8376
8377         * factory.C: include config.h
8378
8379         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8380
8381         * box.C: include config.h
8382
8383         * LaTeX.C (scanAuxFile): change from submatch[...] to
8384         submatch.str(...)
8385         (deplog): ditto
8386
8387 2002-10-25  Angus Leeming  <leeming@lyx.org>
8388
8389         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8390
8391         * ispell.[Ch] (setError): new method.
8392         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8393         Use setError() insetead of goto END.
8394
8395         * lyx_cb.C (AutoSave): move out child process into new class
8396         AutoSaveBuffer.
8397
8398 2002-10-30  John Levon  <levon@movementarian.org>
8399
8400         * text3.C: make start appendix undoable
8401
8402 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8403
8404         * lyxlength.C (inPixels): Fix returned value.
8405
8406         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8407         environment.
8408
8409 2002-10-24  Angus Leeming  <leeming@lyx.org>
8410
8411         * lyxgluelength.h: no need to forward declare BufferParams
8412         or BufferView, so don't.
8413
8414 2002-10-21  John Levon  <levon@movementarian.org>
8415
8416         * BufferView.C: menuUndo ->undo, redo
8417
8418         * BufferView.h: document, remove dead, make some methods private
8419
8420         * paragraph_funcs.h:
8421         * paragraph_funcs.C:
8422         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8423
8424         * buffer.h:
8425         * buffer.C:
8426         * sgml.h:
8427         * sgml.C: move sgml open/close tag into sgml.C
8428
8429         * bufferview_funcs.h: unused prototype
8430
8431         * lyxfunc.h:
8432         * lyxfunc.C: remove unused
8433
8434         * lyxtext.h:
8435         * text.C: remove unused
8436
8437 2002-10-21  John Levon  <levon@movementarian.org>
8438
8439         * BufferView.h:
8440         * BufferView.C:
8441         * BufferView_pimpl.h:
8442         * BufferView_pimpl.C: fix mouse wheel handling based on
8443           patch from Darren Freeman
8444
8445 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8446
8447         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8448
8449 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8450
8451         * lyxlength.C (inPixels): Fix hanfling of negative length.
8452         Fix LyXLength::MU case.
8453
8454 2002-10-16  John Levon  <levon@movementarian.org>
8455
8456         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8457
8458 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8459
8460         * converter.C (view): add support for $$i (file name) and $$p
8461         (file path) for the viewer command. If $$i is not specified, then
8462         it is appended to the command (for compatibility with old syntax)
8463
8464 2002-10-14  Juergen Vigna  <jug@sad.it>
8465
8466         * undo_funcs.C (textHandleUndo): alter the order in which the
8467         new undopar is added to the LyXText, as we have to set first
8468         the right prev/next and then add it as otherwise the rebuild of
8469         LyXText is not correct. Also reset the cursor to the right paragraph,
8470         with this IMO we could remove the hack in "redoParagraphs()".
8471
8472 2002-10-09  Angus Leeming  <leeming@lyx.org>
8473
8474         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8475         to turn off an optimisation if a new inset is to be inserted.
8476
8477 2002-10-11 André Pönitz <poenitz@gmx.net>
8478
8479         * lyxtext.h: make some functions public to allow access
8480         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8481
8482 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8483
8484         * text3.C (dispatch): when changing layout, avoid an infinite loop
8485         [bug #652]
8486
8487 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8488
8489         * lyxrc.C (read): treat a viewer or converter command of "none" as
8490         if it were empty.
8491
8492         * MenuBackend.C (expandFormats): for an update, also allow the
8493         formats that are not viewable
8494
8495         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8496         script if it is newer than the lyxrc.defaults in user directory
8497
8498 2002-10-07 André Pönitz <poenitz@gmx.net>
8499
8500         * text.C: Vitaly Lipatov's small i18n fix
8501
8502 2002-09-25  Angus Leeming  <leeming@lyx.org>
8503
8504         * ispell.h: doxygen fix.
8505
8506 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8507
8508         * buffer.h (readFile): Add a new argument to the method, to allow
8509         reading of old-format templates.
8510
8511 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8512
8513         * toc.C (getTocList): Get TOC from InsetWrap.
8514
8515 2002-09-16  John Levon  <levon@movementarian.org>
8516
8517         * lyxfunc.C: check tabular for cut/copy too
8518
8519 2002-09-12  John Levon  <levon@movementarian.org>
8520
8521         * LyXAction.C: tidy
8522
8523         * factory.h:
8524         * factory.C: add header
8525
8526         * paragraph_funcs.h:
8527         * paragraph_funcs.C: cleanup
8528
8529 2002-09-11  John Levon  <levon@movementarian.org>
8530
8531         * PrinterParams.h: odd/even default to true
8532
8533 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8534
8535         * PrinterParams.h: update printer parameters for new xforms dialog
8536
8537 2002-09-11  Angus Leeming  <leeming@lyx.org>
8538
8539         * lyxserver.C (read_ready): re-write to make it more transparent
8540         and to make it work in coherent fashion under Tru64 Unix.
8541
8542 2002-09-11  André Pönitz <poenitz@gmx.net>
8543
8544         * commandtags.h:
8545         * LyXAction.C:
8546         * text3.C: implement LFUN_WORDSEL
8547
8548 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8549
8550         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8551         make floatlist_ a boost::shared_ptr<FloatList>
8552
8553         * lyxtextclass.C: include FloatList.h
8554         (LyXTextClass): initialize floatlist_
8555         (TextClassTags): add TC_NOFLOAT
8556         (Read): match "nofloat" to TC_NOFLOAT and use it.
8557         (readFloat): modify call to floatlist_
8558         (floats): ditto
8559         (floats): ditto
8560
8561         * FloatList.[Ch] (FloatList): remove commented out float
8562         initialization.
8563         (erase): new function
8564
8565 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8566
8567         * MenuBackend.C (expandToc): fix crash when there is no document
8568         open
8569
8570 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8571
8572         * many files: Add insetwrap.
8573
8574 2002-09-09  John Levon  <levon@movementarian.org>
8575
8576         * text2.C: remove confusing and awkward depth wraparound
8577
8578 2002-09-09  John Levon  <levon@movementarian.org>
8579
8580         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8581
8582         * buffer.h:
8583         * buffer.C: remove getIncludeonlyList()
8584
8585         * paragraph.C:
8586         * lyxfunc.C: remove headers
8587
8588 2002-09-09  Juergen Vigna  <jug@sad.it>
8589
8590         * text.C (getColumnNearX): fix form Michael this is most
8591         probably a cut&paste bug.
8592
8593 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8594
8595         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8596
8597         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8598         references, ws changes.
8599
8600         * text2.C (init): update counters after init
8601         (insertParagraph): no need to set counter on idividual paragraphs.
8602         (setCounter): access the counters object in the textclass object
8603         on in the buffer object.
8604         (updateCounters): ditto
8605
8606         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8607         shared_ptr<Counters> to avoid loading counters.h in all
8608         compilation units.
8609         (LyXTextClass): initialize ctrs_
8610         (TextClassTags): add TC_COUNTER, and ...
8611         (Read): use it here.
8612         (CounterTags): new tags
8613         (readCounter): new function
8614         (counters): new funtion
8615         (defaultLayoutName): return a const reference
8616
8617         * counters.C (Counters): remove contructor
8618         (newCounter): remove a couple of unneeded statements.
8619         (newCounter): simplify a bit.
8620         (numberLabel): some small formatting changes.
8621
8622         * buffer.[Ch]: remove all traces of counters, move the Counters
8623         object to the LyXTextClass.
8624
8625 2002-09-06  Alain Castera  <castera@in2p3.fr>
8626
8627         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8628         package to set the horizontal alignment on fixed width columns.
8629
8630         * lyx_sty.C:
8631         * lyx_sty.h: added tabularnewline macro def.
8632
8633         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8634
8635 2002-09-06  John Levon  <levon@movementarian.org>
8636
8637         * LyXAction.C: tooltips for sub/superscript
8638
8639         * MenuBackend.C: a bit more verbose
8640
8641         * lyxfunc.C: tiny clean
8642
8643         * undo_funcs.C: document undo_frozen
8644
8645 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8646
8647         * counters.C (Counters): add missing algorithm counter.
8648
8649         * text2.C (setCounter): lookup the counter with layouts latexname
8650         instead of by section number.
8651         (setCounter): use a hackish way to lookup the correct enum
8652         counter.
8653         a float name->type change
8654         reset enum couners with counter name directly instead of depth value.
8655
8656         * counters.C (Counters): remove the push_backs, change to use the
8657         float type not the float name.
8658         (labelItem): remove unused string, float name->type change
8659
8660         * counters.h: don't include vector, loose the enums and sects vectors
8661
8662 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8663
8664         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8665         (Read): add float->TC_FLOAT to textclassTags
8666         (Read): and handle it in the switch
8667         (readFloat): new function
8668
8669         * FloatList.C (FloatList): comment out the hardcoded float
8670         definitions.
8671
8672         * lyxlayout.h: ws change.
8673
8674 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8675
8676         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8677
8678 2002-09-03  Angus Leeming  <leeming@lyx.org>
8679
8680         * BufferView_pimpl.h: qualified name is not allowed in member
8681         declaration: WorkArea & Pimpl::workarea() const;
8682
8683         * factory.C: added using std::endl directive.
8684
8685         * text3.C: added using std::find and std::vector directives.
8686
8687 2002-08-29  André Pönitz <poenitz@gmx.net>
8688
8689         * lyxtext.h:
8690         * text2.C: remove unused member number_of_rows
8691
8692         * Makefile.am:
8693         * BufferView2.C: remove file, move contents to...
8694         * BufferView.C: ... here
8695
8696         * BufferView_pimpl.C:
8697         * factory.C: move more inset creation to factory
8698
8699         * vspace.C: avoid direct usage of LyXText, ws changes
8700
8701         * BufferView.[Ch]:
8702                 don't provide direct access to WorkArea, use two simple
8703                 acessors haveSelction() and workHeight() instead
8704
8705
8706 2002-08-29  John Levon  <levon@movementarian.org>
8707
8708         * BufferView_pimpl.C (dispatch): do not continue when
8709           no buffer
8710
8711 2002-08-28  André Pönitz <poenitz@gmx.net>
8712
8713         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8714
8715         * BufferView.h:
8716         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8717
8718 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8719
8720         * buffer.C: increment LYX_FORMAT to 221
8721
8722         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8723         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8724
8725         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8726
8727         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8728
8729 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8730
8731         * factory.C (createInset): use LyXTextClass::floats
8732
8733         * MenuBackend.C (expandFloatListInsert):
8734         (expandFloatInsert):
8735         (expandToc):
8736
8737         * text2.C (setCounter):
8738
8739         * LaTeXFeatures.C (useFloat):
8740         (getFloatDefinitions):
8741
8742         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8743
8744         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8745         floatlist_, with accessor floats().
8746
8747         * FloatList.h: remove global FloatList
8748
8749 2002-08-26  André Pönitz <poenitz@gmx.net>
8750
8751         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8752
8753         * BufferView.h:
8754         * BufferView2.C:
8755         * BufferView_pimpl.C:
8756         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8757
8758 2002-08-25  John Levon  <levon@movementarian.org>
8759
8760         * LyXAction.C: fix margin note description
8761
8762 2002-08-24  John Levon  <levon@movementarian.org>
8763
8764         * buffer.C:
8765         * bufferlist.C:
8766         * bufferview_funcs.C:
8767         * lyxfont.C:
8768         * undo_funcs.C: cleanups
8769
8770         * lyxfunc.C: disable CUT/COPY when no selection
8771
8772 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8773
8774         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8775         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8776
8777         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8778         Add backward compatibility to "mono", "gray" and "no".
8779
8780 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8781
8782         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8783         (and file_format >= 200).
8784
8785 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8786
8787         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8788
8789 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8790
8791         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8792
8793 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8794
8795         * BufferView_pimpl.C:
8796         * LyXAction.C:
8797         * buffer.C:
8798         * commandtags.h:
8799         * lyxfunc.C:
8800         * paragraph.[Ch]:
8801         * text2.C:
8802         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8803         inset and code to make it  work with the paragraph code. The inset
8804         can be anywhere in the paragraph, but will only do the expected
8805         thing in LaTeX if the layout file contains the parameter line
8806                         OptionalArgs    1
8807         (or more generally, a nonzero value) for that layout.
8808
8809 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8810
8811         * paragraph.h: remove the declaration of undefined counters class
8812         function.
8813
8814 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8815
8816         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8817         Dr. Richard Hawkins.
8818
8819 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8820
8821         * paragraph_funcs.h: remove some unneeded includes
8822
8823         * text.C (backspace): pasteParagraph now in global scipe
8824
8825         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8826         (pasteSelection): ditto
8827
8828         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8829         * paragraph_funcs.C (pasteParagraph): ... here
8830
8831 2002-08-20  André Pönitz <poenitz@gmx.net>
8832
8833         * commandtags.h: new LFUNs for swapping/copying table row/colums
8834
8835         * LyXAction.C:
8836         * lyxfunc.C: support for new lfuns
8837
8838 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8839
8840         * tabular.C:
8841         * buffer.[Ch]: remove NO_COMPABILITY stuff
8842
8843 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8844
8845         * boost.C (throw_exception): new file, with helper function for
8846         boost compiled without exceptions.
8847
8848         * paragraph.h:
8849         * lyxlength.C:
8850         * buffer.C:
8851         * ParameterStruct.h:
8852         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8853
8854         * bufferlist.C (emergencyWriteAll): use boost bind
8855
8856         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8857
8858         * text.C: include paragraph_funcs.h
8859         (breakParagraph): breakParagraph is now in global scope
8860
8861         * paragraph_funcs.[Ch]: new files
8862
8863         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8864         global scope
8865
8866         * buffer.C: include paragraph_funcs.h
8867         (insertStringAsLines): breakParagraph is now in global scope
8868
8869         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8870         paragraph_funcs.C
8871
8872         * CutAndPaste.C: include paragraph_funcs.h
8873         (cutSelection): breakParagraphConservative is now in global scope
8874         (pasteSelection): ditto
8875
8876         * buffer.h: declare oprator== and operator!= for
8877         Buffer::inset_iterator
8878
8879         * bufferlist.C (emergencyWrite): don't use fmt(...)
8880
8881         * text3.C: add using std::endl
8882
8883         * BufferView.C (moveCursorUpdate): remove default arg
8884
8885 2002-08-20  André Pönitz <poenitz@gmx.net>
8886
8887         * buffer.[Ch]: move inline functions to .C
8888
8889         * BufferView2.C:
8890         * BufferView_pimpl.C:
8891         * text.C:
8892         * buffer.[Ch]: use improved inset_iterator
8893
8894         * buffer.C:
8895         * paragraph.[Ch]: write one paragraph at a time
8896
8897 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8898
8899         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8900         style if style is not specified.
8901
8902 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8903
8904         * text2.C (setCounter): when searching for right label for a
8905         caption, make sure to recurse to parent insets (so that a caption
8906         in a minipage in a figure float works) (bug #568)
8907
8908 2002-08-20  André Pönitz <poenitz@gmx.net>
8909
8910         * text3.C: new file for LyXText::dispatch() and helpers
8911
8912         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8913
8914         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8915
8916 2002-08-19  André Pönitz <poenitz@gmx.net>
8917
8918         * lyxtext.h:
8919         * text.C: new LyXText::dispatch()
8920
8921         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8922
8923 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8924
8925         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8926
8927         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8928         Hebrew text.
8929
8930 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8931
8932         * Makefile.am: use $(variables) instead of @substitutions@
8933
8934 2002-08-15  André Pönitz <poenitz@gmx.net>
8935
8936         * lyxfunc.C:
8937         * BufferView_pimpl.C: streamlining mathed <-> outer world
8938         interaction
8939
8940         * commandtags.h:
8941         * LyXAction.C: remove unused LFUN_MATH
8942
8943 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8944
8945         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8946
8947 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8948
8949         * paragraph.C (Paragraph): reformat a bit
8950         (cutIntoMinibuffer): use builtin InsetList function instad of
8951         doing it manually.
8952         (getInset): ditto
8953
8954         * buffer.C: include boost/bind.hpp, add using std::for_each
8955         (writeFileAscii): use ParagraphList iterators
8956         (validate): use for_each for validate traversal of paragraphs
8957         (getBibkeyList): use ParagraphList iterators
8958         (resizeInsets): use for_each to resizeInsetsLyXText for all
8959         paragraphs.
8960         (getParFromID): use ParagraphList iterators
8961
8962         * BufferView2.C (lockInset): use paragraph list and iterators
8963
8964 2002-08-14  John Levon  <levon@movementarian.org>
8965
8966         * lyxserver.C: remove spurious xforms include
8967
8968 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8969
8970         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8971
8972 2002-08-13  André Pönitz <poenitz@gmx.net>
8973
8974         * LyXAction.[Ch]:
8975         * lyxfunc.C: further cleaning
8976
8977 2002-08-13  André Pönitz <poenitz@gmx.net>
8978
8979         * funcrequest.h: new constructor
8980
8981         * funcrequest.C: move stuff here from .h
8982
8983         * Makefile.am:
8984         * BufferView_pimpl.C:
8985         * LyXAction.C:
8986         * toc.C:
8987         * lyxfunc.C: subsequent changes
8988
8989         * lyxfunc.h: new view() member function
8990
8991         * lyxfunc.C: subsequent changes
8992
8993 2002-08-13  Angus Leeming  <leeming@lyx.org>
8994
8995         * BufferView2.C:
8996         * BufferView_pimpl.C:
8997         * buffer.C:
8998         * converter.C:
8999         * importer.C:
9000         * lyxfunc.C:
9001         * lyxvc.C:
9002         * toc.C:
9003         * vc-backend.C:
9004         changes due to the changed LyXView interface that now returns references
9005         to member variables not pointers.
9006
9007 2002-08-13  Angus Leeming  <leeming@lyx.org>
9008
9009         * WordLangTuple (word, lang_code): return references to strings,
9010         not strings.
9011
9012         * BufferView.h:
9013         * SpellBase.h:
9014         * lyxtext.h: forward-declare WordLangTuple.
9015
9016         * BufferView2.C:
9017         * ispell.C:
9018         * pspell.C:
9019         * text.C: #include "WordLangTuple.h".
9020
9021         * lyxtext.h:
9022         * text.C: (selectNextWordToSpellcheck): constify return type.
9023
9024 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9025
9026         * buffer.C:
9027         * buffer.h:
9028         * lyxtext.h:
9029         * paragraph.C:
9030         * paragraph_pimpl.h:
9031         * text.C:
9032         * text2.C:
9033         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9034         suggested by Angus.
9035         Made updateCounter always count from start of buffer, and removed
9036         second argument (par).
9037         Reverted floats number display to '#'. Perhaps I'll try again when the
9038         code base is sanitized a bit.
9039
9040 2002-08-12  Angus Leeming  <leeming@lyx.org>
9041
9042         * buffer.[Ch] (getLabelList): constify.
9043
9044 2002-08-07  André Pönitz <poenitz@gmx.net>
9045
9046         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9047
9048         * funcrequest.h: extension to keep mouse (x,y) position
9049
9050 2002-08-12  Juergen Vigna  <jug@sad.it>
9051
9052         * BufferView2.C (insertErrors): forbid undo when inserting error
9053         insets.
9054
9055         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9056
9057 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9058
9059         * ParagraphList.[Ch]: new files
9060
9061         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9062
9063         * BufferView2.C (lockInset): ParagraphList changes
9064         * toc.C: ditto
9065         * text2.C: ditto
9066         * bufferlist.C: ditto
9067         * buffer.h: ditto
9068         * buffer.C: ditto
9069
9070 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9073         unused class variable counter_,
9074
9075         * paragraph.[Ch] (getFirstCounter): delete unused function
9076
9077         * counters.C: include LAssert.h
9078         (reset): add a new function with no arg, change other version to
9079         not have def. arg and to not allow empty arg.
9080
9081         * text2.C (setCounter): remove empty arg from call to Counters::reset
9082
9083 2002-08-11  John Levon  <levon@movementarian.org>
9084
9085         * Makefile.am: add WordLangTuple.h
9086
9087 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9088
9089         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9090         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9091
9092         * insets/insettext.C: InsetList changes
9093
9094         * graphics/GraphicsSupport.C (operator()): InsetList changes
9095
9096         * toc.C (getTocList): InsetList changes
9097
9098         * paragraph_pimpl.[Ch]: InsetList changes
9099
9100         * paragraph.[Ch]: InsetList changes
9101
9102         * buffer.C (inset_iterator): InsetList changes
9103         (setParagraph): ditto
9104         * buffer.h (inset_iterator): ditto
9105         * iterators.C (operator++): ditto
9106         * iterators.h: ditto
9107
9108         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9109
9110         * InsetList.[Ch]: new files, most InsetList handling moved out of
9111         paragraph.C.
9112
9113         * BufferView2.C (removeAutoInsets): InsetList changes
9114         (lockInset): ditto
9115         (ChangeInsets): ditto
9116
9117 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9118
9119         * paragraph_pimpl.h (empty): new function
9120
9121         * paragraph.[Ch] (empty): new function
9122
9123         * other files: use the new Paragraph::empty function
9124
9125 2002-08-09  John Levon  <levon@movementarian.org>
9126
9127         * lyxtext.h: remove unused refresh_height
9128
9129 2002-08-09  John Levon  <levon@movementarian.org>
9130
9131         * Makefile.am:
9132         * sgml.h:
9133         * sgml.C:
9134         * buffer.C:
9135         * paragraph.h:
9136         * paragraph.C: move sgml char escaping out of paragraph
9137
9138         * paragraph.h:
9139         * paragraph.C: remove id setter
9140
9141         * buffer.C:
9142         * paragraph.C:
9143         * paragraph_pimpl.C: remove dead tex_code_break_column
9144
9145         * bufferview_funcs.C: small cleanup
9146
9147         * lyxfunc.C: remove dead proto
9148
9149         * lyxtext.h: make some stuff private. Remove some dead stuff.
9150
9151         * lyxgluelength.C: make as[LyX]String() readable
9152
9153 2002-08-08  John Levon  <levon@movementarian.org>
9154
9155         * LyXAction.h:
9156         * LyXAction.C:
9157         * MenuBackend.C:
9158         * ToolbarDefaults.C:
9159         * lyxfunc.C:
9160         * lyxrc.C:
9161         * toc.C: lyxaction cleanup
9162
9163 2002-08-08  John Levon  <levon@movementarian.org>
9164
9165         * BufferView2.C: small cleanup
9166
9167         * lyxfind.h:
9168         * lyxfind.C: move unnecessary header into the .C
9169
9170 2002-08-08  John Levon  <levon@movementarian.org>
9171
9172         * funcrequest.h: just tedious nonsense
9173
9174         * lyx_main.h:
9175         * lyx_main.C: cleanups
9176
9177         * buffer.C:
9178         * vspace.C: remove dead header lyx_main.h
9179
9180 2002-08-07  Angus Leeming  <leeming@lyx.org>
9181
9182         * Paragraph.[Ch]:
9183         * paragraph_pimpl.h:
9184         Forward declare class Counters in paragraph.h by moving the ctrs member
9185         variable into Paragraph::Pimpl.
9186         (counters): new method, returning a reference to pimpl_->ctrs.
9187
9188         * text2.C: ensuing changes.
9189
9190 2002-08-07  John Levon  <levon@movementarian.org>
9191
9192         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9193
9194         * BufferView_pimpl.C: announce X selection on double/triple
9195           click
9196
9197         * lyx_main.C: use correct bool in batch dispatch
9198
9199         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9200
9201 2002-08-07  André Pönitz <poenitz@gmx.net>
9202
9203         * funcrequest.h: new class to wrap a kb_action and its argument
9204
9205         * BufferView.[Ch]:
9206         * BufferView_pimpl[Ch]:
9207         * LaTeX.C:
9208         * LyXAction.[Ch]:
9209         * lyxfunc.[Ch]:
9210         * lyxrc.C: subsequent changes
9211
9212
9213 2002-08-07  John Levon  <levon@movementarian.org>
9214
9215         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9216           document options change.
9217
9218 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9219
9220         * counters.[Ch]
9221         * text2.C
9222         * paragraph.[Ch]
9223         * makefile.am: move counters functionality over from
9224         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9225
9226 2002-08-06  John Levon  <levon@movementarian.org>
9227
9228         * WordLangTuple.h: new file for word + language code tuple
9229
9230         * SpellBase.h:
9231         * pspell.h:
9232         * pspell.C:
9233         * ispell.h:
9234         * ispell.C:
9235         * lyxtext.h:
9236         * text.C:
9237         * text2.C:
9238         * BufferView.h:
9239         * BufferView2.C: use WordLangTuple
9240
9241         * layout.h:
9242         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9243
9244 2002-08-06  John Levon  <levon@movementarian.org>
9245
9246         * lyx_main.C: fix cmdline batch handling
9247
9248 2002-08-06  André Pönitz <poenitz@gmx.net>
9249
9250         * lyxrc.C: set default for show_banner to true
9251
9252 2002-08-06  John Levon  <levon@movementarian.org>
9253
9254         * pspell.C: fix a crash, and allow new aspell to work
9255
9256 2002-08-06  John Levon  <levon@movementarian.org>
9257
9258         * lyxfunc.C:
9259         * kbmap.C: small cleanup
9260
9261         * vspace.h:
9262         * vspace.C: add const
9263
9264 2002-08-05  John Levon  <levon@movementarian.org>
9265
9266         * LyXAction.C: back to tabular-insert
9267
9268 2002-08-04  John Levon  <levon@movementarian.org>
9269
9270         * BufferView.h:
9271         * BufferView.C: cosmetic change
9272
9273         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9274
9275         * bufferlist.C:
9276         * buffer.h:
9277         * buffer.C:
9278         * lyxcb.h:
9279         * lyxcb.C:
9280         * lyxserver.C:
9281         * lyxvc.C:
9282         * vc-backend.C:
9283         * BufferView2.C: purge all "Lyx" not "LyX" strings
9284
9285         * lyxcursor.h:
9286         * lyxcursor.C: attempt to add some documentation
9287
9288         * lyxfunc.C:
9289         * commandtags.h:
9290         * LyXAction.C:
9291         * ToolbarDefaults.C:
9292         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9293           merge with LFUN_TABULAR_INSERT
9294
9295         * Makefile.am:
9296         * SpellBase.h:
9297         * ispell.h:
9298         * ispell.C:
9299         * pspell.h:
9300         * pspell.C: split up i/pspell implementations into separate
9301           files, many cleanups
9302
9303         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9304
9305         * text2.C: some cleanup
9306
9307         * lyxfunc.C: don't check for isp_command == "none" any more, it
9308           didn't make any sense
9309
9310 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9311
9312         * counters.[Ch]
9313         * text2.C
9314         * paragraph.[Ch]
9315         * makefile.am: move counters functionality over
9316         from text2.C/paragraph.[Ch] to counters.[Ch], and
9317         make proper C++.
9318 2002-08-02  John Levon  <levon@movementarian.org>
9319
9320         * buffer.C: s/lyxconvert/lyx2lyx/
9321
9322 2002-08-02  Angus Leeming  <leeming@lyx.org>
9323
9324         * lyxlex.C: revert John's change as it breaks reading of the user
9325         preamble.
9326
9327 2002-08-02  Angus Leeming  <leeming@lyx.org>
9328
9329         * importer.C (Import):
9330         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9331         changes due to LyXView::view() now returning a boost::shared_ptr.
9332
9333 2002-08-02  John Levon  <levon@movementarian.org>
9334
9335         * lyxlex.C: small cleanup
9336
9337 2002-08-02  John Levon  <levon@movementarian.org>
9338
9339         * text2.C (status): small cleanup, no logic change
9340
9341 2002-08-01  John Levon  <levon@movementarian.org>
9342
9343         * buffer.h:
9344         * buffer.C (writeFile): don't output alerts, caller
9345           handles this
9346
9347         * bufferlist.C:
9348         * lyx_cb.C: from above
9349
9350         * lyxfunc.C: allow to open non-existent files
9351
9352 2002-07-31  John Levon  <levon@movementarian.org>
9353
9354         * lyxserver.C: don't let incidental errors get
9355           in the way (errno)
9356
9357 2002-07-30  John Levon  <levon@movementarian.org>
9358
9359         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9360
9361 2002-07-30  John Levon  <levon@movementarian.org>
9362
9363         * lyxserver.h:
9364         * lyxserver.C: remove I/O callback too
9365
9366 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9367
9368         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9369         log.
9370
9371 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9372
9373         * many files: strip,frontStrip -> trim,ltrim,rtrim
9374
9375 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9376
9377         * PrinterParams.h: remove extern containsOnly, and include
9378         support/lstrings.h instead.
9379
9380         * LaTeX.C (scanAuxFile): modify because of strip changes
9381         (deplog): ditto
9382         * buffer.C (makeLaTeXFile): ditto
9383         * bufferparams.C (writeFile): ditt
9384         * lyxfont.C (stateText): ditto
9385         * lyxserver.C (read_ready): ditto
9386         * vc-backend.C (scanMaster): ditto
9387
9388         * BufferView_pimpl.h: ws changes
9389
9390         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9391
9392 2002-07-26  André Pönitz <poenitz@gmx.net>
9393
9394         * kb_sequence.C: remove unnedred usings
9395
9396 2002-07-26  Juergen Vigna  <jug@sad.it>
9397
9398         * lyxfind.C (LyXReplace): we have to check better if the returned
9399         text is not of theLockingInset()->getLockingInset().
9400
9401 2002-07-25  Juergen Vigna  <jug@sad.it>
9402
9403         * lyxfind.C (LyXReplace): don't replace if we don't get the
9404         right LyXText.
9405
9406         * undo_funcs.C (createUndo): remove debugging code.
9407
9408 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9409
9410         * buffer.C (parseSingleLyXformat2Token): Use default placement
9411         when reading old floats.
9412
9413         * FloatList.C (FloatList): Change the default placement of figure
9414         and tables to "tbp".
9415
9416 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9417
9418         * MenuBackend.C: using std::max
9419
9420 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9421
9422         * MenuBackend.C (expandToc):
9423         (expandToc2): code moved from xforms menu frontend. It is now
9424         generic and TOCs are transparent to menu frontends.
9425
9426 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9427
9428         * toc.C (getTocList): protect against buf=0
9429
9430         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9431         Menu as first parameter. Now, this calls itself recursively to
9432         expand a whole tree (this will be useful for TOC handling)
9433         (expandFloatInsert): remove 'wide' version of floats
9434
9435         * MenuBackend.h (submenuname): returns the name of the submenu.
9436         (submenu): returns the submenu itself, provided it has been
9437         created by MenuBackend::expand
9438
9439 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9440
9441         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9442         insets which have noFontChange == true. (bug #172)
9443
9444 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9445
9446         * BufferView_pimpl.C: add connection objects and use them...
9447         (Pimpl): here.
9448
9449 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9450
9451         * MenuBackend.C (expandLastfiles):
9452         (expandDocuments):
9453         (expandFormats):
9454         (expandFloatListInsert):
9455         (expandFloatInsert):
9456         (expand): split expand in parts
9457
9458 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9459
9460         * lyx_gui.C: use lyx_gui::exit()
9461
9462 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9463
9464         * LyXAction.C: show the failing pseudo action
9465
9466 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9467
9468         * buffer.C (readFile): Run the lyxconvert script in order to read
9469         old files.
9470
9471 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9472
9473         * LyXAction.C:
9474         * commandtags.h:
9475         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9476
9477 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9478
9479         * LyXAction.C:
9480         * commandtags.h:
9481         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9482
9483 2002-07-22  Herbert Voss  <voss@lyx.org>
9484
9485         * lengthcommon.C:
9486         * lyxlength.[Ch]: add support for the vertical lengths
9487
9488 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * toc.[Ch]: std:: fixes
9491
9492 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9493
9494         * lyxrc.C: do not include lyx_main.h
9495
9496         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9497         for layouts
9498
9499         * lyxrc.C:
9500         * encoding.C:
9501         * bufferlist.C:
9502         * BufferView2.C: include "lyxlex.h"
9503
9504         * tabular.h:
9505         * bufferparams.h: do not #include "lyxlex.h"
9506
9507         * lyxtextclasslist.C (Add): remove method
9508         (classlist): renamed to classlist_
9509
9510         * paragraph_pimpl.C:
9511         * paragraph.C:
9512         * text2.C:
9513         * CutAndPaste.C:
9514         * bufferview_funcs.C:
9515         * bufferlist.C:
9516         * text.C:
9517         * LaTeXFeatures.C:
9518         * buffer.C:
9519         * toc.C (getTocList): use BufferParams::getLyXTextClass
9520
9521         * toc.C (getTocList): use InsetFloat::addToToc
9522
9523         * toc.[Ch]: new files, containing helper functions to handle table
9524         of contents
9525
9526         * lyxfunc.C (dispatch): no need to remove spaces around command
9527         given as a string
9528         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9529         first command of the sequence; it is not very clever, but I do not
9530         have a better idea, actually
9531
9532         * LyXAction.C (LookupFunc): make sure to remove space at the
9533         beginning and end of the command
9534
9535 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9536
9537         * MenuBackend.C (getMenubar): new method: return the menubar of
9538         this menu set
9539         (read): treat differently reading of menu and menubar (in
9540         particular, the menubar has no name now)
9541         (Menu::menubar): remove
9542
9543         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9544         saving is finished
9545
9546 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9547
9548         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9549         a bibitem inset in a RTL paragraph.
9550
9551 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9552
9553         * paragraph_pimpl.C: constify
9554
9555         * BufferView_pimpl.C:
9556         * LaTeX.C:
9557         * lyxfunc.C: fix dispatch in a nicer way
9558
9559 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9560
9561         * lyxfunc.C (dispatch):
9562         * BufferView_pimpl.C:
9563         * BufferView_pimpl.h:
9564         * BufferView.C:
9565         * BufferView.h: rename Dispatch() to dispatch()
9566
9567         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9568
9569         * lyxlayout.C (Read): honor DependsOn tag
9570
9571         * lyxlayout.[Ch] (depends_on): new method
9572
9573         * version.C.in: update lyx_docversion
9574
9575         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9576
9577         * paragraph.C (validate): remove from here...
9578         * paragraph_pimpl.C (validate): ... and move here
9579         (isTextAt): make it const
9580
9581         * buffer.C (getLists): ws cleanup
9582
9583 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9584
9585         * language.C (read): Use iso8859-1 encoding in latex_lang
9586         (this prevents LyX from crashing when using iso10646-1 encoding).
9587
9588 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9589
9590         * text2.C (toggleInset): if cursor is inside an inset, close the
9591         inset and leave cursor _after_ it
9592
9593 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9594
9595         * lyxfunc.C: move minibuffer completion handling out of here
9596
9597 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9598
9599         * BufferView_pimpl.C:
9600         * LaTeX.C: fix dispatch calls
9601
9602 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9603
9604         * text.C (drawChars): Fix Arabic text rendering.
9605
9606 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9607
9608         * LyXAction.C:
9609         * commandtags.h:
9610         * lyxfunc.C: remove message-push/pop
9611
9612         * lyxserver.C:
9613         * lyxfunc.h:
9614         * lyxfunc.C: rationalise some code by removing verboseDispatch
9615           in favour of a bool argument to dispatch()
9616
9617 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9618
9619         * lyx_main.C (init): make sure to read symlinks as absolute paths
9620
9621 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9622
9623         * lyxfunc.h:
9624         * lyxfunc.C: no need for commandshortcut to be a member
9625
9626 2002-07-15  André Pönitz <poenitz@gmx.net>
9627
9628         * converter.C: add support for $$s (scripts from lib/scripts dir)
9629         * lyx_main.C: white space
9630
9631 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9632
9633         * bufferlist.C:
9634         * lyxrc.h:
9635         * lyxrc.C: remove second exit confirmation
9636
9637 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9638
9639         * BufferView.h:
9640         * BufferView.C:
9641         * BufferView2.C:
9642         * BufferView_pimpl.h:
9643         * BufferView_pimpl.C:
9644         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9645
9646 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9647
9648         * MenuBackend.C (expand): add numeric shortcuts to document menu
9649
9650         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9651
9652 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9653
9654         * lyxfont.C (setLyXFamily):
9655         (setLyXSeries):
9656         (setLyXShape):
9657         (setLyXSize):
9658         (setLyXMisc):
9659         (lyxRead):
9660         * debug.C (value):
9661         * buffer.C (asciiParagraph): use ascii_lowercase
9662
9663 2002-07-15  Mike Fabian  <mfabian@suse.de>
9664
9665         * lyxlex_pimpl.C (search_kw):
9666         * lyxlex.C (getLongString):
9667         * converter.h (operator<):
9668         * converter.C (operator<):
9669         * buffer.C (parseSingleLyXformat2Token):
9670         (asciiParagraph):
9671         * ToolbarDefaults.C (read):
9672         * MenuBackend.C (checkShortcuts):
9673         (read):
9674         * LColor.C (getFromGUIName):
9675         (getFromLyXName): use the compare_ascii_no_case instead of
9676         compare_no_case, because in turkish, 'i' is not the lowercase
9677         version of 'I', and thus turkish locale breaks parsing of tags.
9678
9679 2002-07-16  Angus Leeming  <leeming@lyx.org>
9680
9681         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9682         now takes a Buffer const & argument.
9683
9684 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9685
9686         * BufferView.C (resize): check there's a buffer to resize
9687
9688 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * lyxfunc.C: remove dead code
9691
9692         * lyxserver.h:
9693         * lyxserver.C: use lyx_guii::set_read_callback
9694
9695 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9696
9697         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9698         an inset in a RTL paragraph.
9699
9700 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9701
9702         * lyxfunc.C: repaint after a font size update
9703
9704 2002-07-15  André Pönitz <poenitz@gmx.net>
9705
9706         * lyxlength.C: inBP should be able to return negative values
9707
9708 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9709
9710         * lyxfunc.C: use lyx_gui::update_fonts()
9711
9712 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9713
9714         * lyxfunc.C: use lyx_gui::update_color()
9715
9716 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * bufferlist.C:
9719         * lyxfunc.h:
9720         * lyxfunc.C:
9721         * lyxrc.h:
9722         * lyxrc.C: remove file->new asks for name option, and let
9723           buffer-new take an argument
9724
9725 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * BufferView_pimpl.C: remove unneeded extra repaint()
9728
9729 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * LyXAction.C: allow command-sequence with NoBuffer
9732
9733         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9734
9735 2002-07-10  Angus Leeming  <leeming@lyx.org>
9736
9737         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9738
9739 2002-07-09  Angus Leeming  <leeming@lyx.org>
9740
9741         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9742
9743 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9744
9745         * lengthcommon.h: whitespace
9746
9747         * lyxfunc.C: update scrollbar after goto paragraph
9748
9749         * lyxtext.h: factor out page break drawing, and fix it so
9750           page break/added space paints as selected nicely
9751
9752 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9753
9754         * BufferView_pimpl.C: add FIXMEs, clean up a little
9755
9756 2002-07-09  André Pönitz <poenitz@gmx.net>
9757
9758         * lyxfont.[Ch]: support for wasy symbols
9759
9760 2002-07-08  André Pönitz <poenitz@gmx.net>
9761
9762         * BufferView_pimpl.C: apply John's patch for #93.
9763
9764 2002-07-05  Angus Leeming  <leeming@lyx.org>
9765
9766         * BufferView_pimpl.C (buffer): generate previews if desired.
9767
9768         * LColor.h: add "preview" to the color enum.
9769
9770         * LColor.C (LColor): add a corresponding entry to the items array.
9771
9772         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9773         with this buffer.
9774
9775 2002-07-05  Angus Leeming  <leeming@lyx.org>
9776
9777         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9778         The body of the code is now in the method that is passed an ostream &
9779         rather than a file name.
9780         Pass an additional only_preamble parameter, useful for the forthcoming
9781         preview stuff.
9782
9783 2002-07-03  André Pönitz <poenitz@gmx.net>
9784
9785         * lyxfunc.C: simplify getStatus() a bit for math stuff
9786
9787 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9788
9789         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9790
9791 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * text.C (changeRegionCase): do not change case of all the
9794         document when region ends at paragraph end (bug #461)
9795
9796 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9797
9798         * paragraph.C (startTeXParParams):
9799         (endTeXParParams): add \protect when necessary
9800
9801 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9802
9803         * BufferView_pimpl.C (workAreaExpose): remove warning
9804
9805 2002-06-27  Angus Leeming  <leeming@lyx.org>
9806
9807         * Makefile.am: add lyxlayout_ptr_fwd.h.
9808
9809 2002-06-26  André Pönitz <poenitz@gmx.net>
9810
9811         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9812
9813 2002-06-25  Angus Leeming  <leeming@lyx.org>
9814
9815         * lyxfunc.C (dispatch): Comment out the call to
9816         grfx::GCache::changeDisplay. The method no longer exists now that the
9817         pixmap generation part of the graphics loader has been moved into
9818         InsetGraphics.
9819
9820 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9821
9822         * text2.C: layout as layout
9823
9824         * text.C: layout as layout
9825
9826         * tabular.C (OldFormatRead): layout as layout
9827
9828         * paragraph_pimpl.C (TeXDeeper): layout as layout
9829         (realizeFont): layout as layout
9830
9831         * paragraph.C (writeFile): layout as layout
9832         (validate): layout as layout
9833         (getFont): layout as layout
9834         (getLabelFont): layout as layout
9835         (getLayoutFont): layout as layout
9836         (breakParagraph): layout as layout
9837         (stripLeadingSpaces): layout as layout
9838         (getEndLabel): layout as layout
9839         (getMaxDepthAfter): layout as layout
9840         (applyLayout): layout as layout
9841         (TeXOnePar): layout as layout
9842         (simpleTeXOnePar): layout as layout
9843         (TeXEnvironment): layout as layout
9844         (layout): layout as layout
9845         (layout): layout as layout
9846
9847         * lyxtextclass.C (compare_name): new functor to work with
9848         shared_ptr, layout as layout
9849         (Read): layout as layout
9850         (hasLayout): layout as layout
9851         (operator): layout as layout
9852         (delete_layout): layout as layout
9853         (defaultLayout): layout as layout
9854
9855         * lyxlayout_ptr_fwd.h: new file
9856
9857         * lyxlayout.C (Read): layout as layout
9858
9859         * lyx_cb.C (MenuInsertLabel): layout as layout
9860
9861         * bufferlist.C (newFile): layout as layout
9862
9863         * buffer.C (readLyXformat2): layout as layout
9864         (parseSingleLyXformat2Token): layout as layout
9865         (insertStringAsLines): layout as layout
9866         (asciiParagraph): layout as layout
9867         (latexParagraphs): layout as layout
9868         (makeLinuxDocFile): layout as layout
9869         (simpleLinuxDocOnePar): layout as layout
9870         (makeDocBookFile): layout as layout
9871         (simpleDocBookOnePar): layout as layout
9872         (getLists): layout as layout
9873
9874         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9875
9876         * CutAndPaste.C (cutSelection): layout as layout
9877         (pasteSelection): layout as layout
9878         (SwitchLayoutsBetweenClasses): layout as layout
9879
9880         * BufferView_pimpl.C (Dispatch): layout as layout
9881         (smartQuote): layout as layout
9882
9883         * BufferView2.C (unlockInset): layout as layout
9884
9885 2002-06-24  André Pönitz <poenitz@gmx.net>
9886
9887         * lyxfunc.C: fix #487
9888
9889 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9890
9891         * lyxrc.h:
9892         * lyxrc.C:
9893         * lyxfunc.C: remove display_shortcuts, show_banner
9894
9895 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * Buffer_pimpl.C: oops, update on resize
9898
9899 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9900
9901         * buffer.C:
9902         * converter.C:
9903         * exporter.C:
9904         * lyxfunc.C:
9905         * BufferView.h:
9906         * BufferView.C: use repaint()
9907
9908         * BufferView_pimpl.h:
9909         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9910           as it's a clearer description. Remove superfluous
9911           redraws.
9912
9913 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9914
9915         * text.C: fix bug 488. Not ideal, but getting
9916           getWord() to work properly for the insets that
9917           matter is more difficult ...
9918
9919 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9920
9921         * BufferView_pimpl.C:
9922         * LyXAction.C:
9923         * commandtags.h:
9924         * lyxfunc.C: remove the six million index lyxfuncs to just
9925           one, and DTRT (bug 458)
9926
9927 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9928
9929         * BufferView.h:
9930         * BufferView.C:
9931         * BufferView_pimpl.h:
9932         * BufferView_pimpl.C: clean up resize() stuff,
9933           and unnecessary updateScreen()s
9934
9935 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * BufferView.h:
9938         * BufferView.C:
9939         * BufferView_pimpl.h:
9940         * BufferView_pimpl.C:
9941         * lyxfind.h:
9942         * lyxfind.C:
9943         * minibuffer.C: remove focus management of workarea,
9944           not needed. Use screen's greyOut()
9945
9946 2002-06-17  Herbert Voss  <voss@lyx.org>
9947
9948         * converter.C: (convert) do not post a message, when converting
9949         fails, let the calling function decide what to do in this case
9950
9951 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9952
9953         * lyxfunc.C: tidy up a little
9954
9955 2002-06-16    <alstrup@diku.dk>
9956
9957         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9958         Got rid of FORMS_H_LOCATION include. Now we are
9959         GUII.
9960
9961 2002-06-15  LyX Development team  <lyx@rilke>
9962
9963         * buffer.[Ch] (sgmlOpenTag):
9964         (sgmlCloseTag): Added support for avoiding pernicious mixed
9965         content. Return number of lines written.
9966
9967         (makeLinuxDocFile):
9968         (makeDocBookFile): Fixed calls to sgml*Tag.
9969         Simple white space clean.
9970
9971         (simpleDocBookOnePar): Simple white space clean.
9972
9973         * tabular.[Ch] (docBook): Renamed to docbook and got another
9974         argument to related with the pernicious mixed content.
9975
9976         (docbookRow): Fixed calls for docbook inset method.
9977
9978 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9979
9980         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9981         so it's X11 independent.
9982
9983         * kb*.[Ch]: ditto.
9984
9985         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9986
9987 2002-06-15  Lyx Development team  <lyx@electronia>
9988
9989         * intl.h: Renamed getTrans to getTransManager.
9990
9991 2002-06-14  Angus Leeming  <leeming@lyx.org>
9992
9993         * Makefile.am: nuke forgotten stl_string_fwd.h.
9994
9995 2002-06-12  Angus Leeming  <leeming@lyx.org>
9996
9997         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9998
9999 2002-06-13  Angus Leeming  <leeming@lyx.org>
10000
10001         * LaTeX.C:
10002         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10003
10004 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10005
10006         * kbmap.C (getiso): add support for cyrillic and greek
10007
10008 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10009
10010         * BufferView.h:
10011         * BufferView.C:
10012         * BufferView_pimpl.h:
10013         * BufferView_pimpl.C: move bogus scrolling logic
10014           to xforms
10015
10016 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * lyxfunc.C:
10019         * BufferView_pimpl.C: view->resize() change
10020
10021 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10022
10023         * BufferView_pimpl.C: topCursorVisible
10024           prototype change
10025
10026 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * Makefile.am:
10029         * lyx_gui.h:
10030         * lyx_gui.C: move to frontends/
10031
10032         * main.C:
10033         * lyx_main.h:
10034         * lyx_main.C: changes from above
10035
10036 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10037
10038         * intl.C:
10039         * intl.h:
10040         * kbmap.C:
10041         * kbsequence.C:
10042         * lyx_cb.C:
10043         * lyx_main.C: minor tidy
10044
10045 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10046
10047         * BufferView_pimpl.h:
10048         * BufferView_pimpl.C:
10049         * BufferView.h:
10050         * BufferView.C: make painter() const,
10051           remove dead code
10052
10053         * BufferView2.C: use screen() accessor
10054
10055         * lyx_main.h:
10056         * lyx_main.C: some minor cleanup
10057
10058 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10059
10060         * BufferView_pimpl.h:
10061         * BufferView_pimpl.C: remove enter/leaveView,
10062           use workHeight()
10063
10064 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10065
10066         * BufferView.h:
10067         * BufferView.C:
10068         * BufferView2.C:
10069         * BufferView_pimpl.h:
10070         * BufferView_pimpl.C: only construct screen once,
10071           rename
10072
10073         * lyxrc.C: remove pointless comment
10074
10075 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10076
10077         * BufferView.h:
10078         * BufferView.C: remove active() and belowMouse()
10079
10080         * BufferView_pimpl.h:
10081         * BufferView_pimpl.C: use workarea() not workarea_,
10082           and make it use a scoped_ptr instead
10083
10084 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10085
10086         * lyx_gui.C: add debug message on BadWindow
10087
10088 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10089
10090         * sp_spell.C: fdopen is not part of the C++ standard.
10091
10092         * paragraph.C (InsetIterator): use >= instead of ==
10093
10094 2002-06-07  Angus Leeming  <leeming@lyx.org>
10095
10096         Fixes needed to compile with Compaq cxx 6.5.
10097         * BufferView_pimpl.C:
10098         * DepTable.C:
10099         * buffer.C:
10100         * converter.C:
10101         * encoding.C:
10102         * lyx_gui.C:
10103         * lyx_main.C:
10104         * lyxtextclasslist.C:
10105         * minibuffer.C:
10106         * sp_spell.C:
10107         * tabular_funcs.C:
10108         * vc-backend.C:
10109         all c-library variables have been moved into namespace std. Wrap
10110         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10111
10112         * lyxlength.C:
10113         * tabular-old.C:
10114         * tabular.C:
10115         Add a using std::abs declaration.
10116
10117         * kbmap.h (modifier_pair):
10118         * paragraph.h (InsetTable, InsetList):
10119         * lyxfont.h (FontBits):
10120         type definition made public.
10121
10122         * bufferlist.C (emergencyWriteAll): the compiler complains that
10123         there is more than one possible lyx::class_fun template to choose from.
10124         I re-named the void specialisation as lyx::void_class_fun.
10125
10126         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10127
10128         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10129         the compiler is is unable to find tostr in write_attribute.
10130
10131 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * buffer.C (sgmlError): hide #warning
10134
10135 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10136
10137         * xtl/*: get rid of xtl, which is not in use anyway
10138
10139         * LyXAction.C (init):
10140         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10141         were unimplemented xtl experimentation
10142
10143 2002-06-04  André Pönitz <poenitz@gmx.net>
10144
10145         * lyxfunc.C: disable array operation on simple formulae
10146
10147 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * converter.C: constify a bit
10150
10151 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10152
10153         * lyx_gui.C: check xforms version correctly
10154
10155 2002-04-30  Herbert Voss  <voss@lyx.org>
10156
10157         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10158         "keep" option
10159
10160 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10163           attempt to register it with a VCS)
10164
10165 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10166
10167         * lyx_main.C (init): honor variables LYX_DIR_13x and
10168         LYX_USERDIR_13x
10169
10170 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10171
10172         * buffer.h:
10173         * buffer.C:
10174         * lyx_main.C: fix a crash on bad command line,
10175           and give a useful exit status on error
10176
10177         * lyxfunc.C (doImport): allow -i lyx to work
10178
10179 2002-03-30  André Pönitz <poenitz@gmx.net>
10180
10181         * lyxfunc.C: mathed font changes
10182
10183 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10184
10185         * LaTeX.C:
10186         * importer.h:
10187         * importer.C:
10188         * lyx_sty.h:
10189         * lyx_sty.C:
10190         * lyxlex.C:
10191         * lyxrow.h:
10192         * lyxtext.h:
10193         * paragraph.h:
10194         * paragraph.C:
10195         * texrow.h:
10196         * texrow.C:
10197         * text.C:
10198         * trans_mgr.h: srcdocs, and some minor cleanups
10199
10200 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10201
10202         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10203         call getFont all the time)
10204
10205 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10206
10207         * switch from SigC signals to boost::signals
10208
10209 2002-05-29  André Pönitz <poenitz@gmx.net>
10210
10211         * paragraph_pimpl.C (getChar): don't call size() too often...
10212
10213 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10214
10215         * paragraph_pimpl.C (insertChar): do not try to update tables when
10216         appending (pos == size())
10217
10218         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10219         in order to reduce drastically the number of comparisons needed to
10220         parse a large document
10221
10222 2002-05-29  André Pönitz <poenitz@gmx.net>
10223
10224         * text.C:
10225         * text2.C:
10226         * lyxtextclass.C:
10227         * sp_pspell.h:
10228         * textclasslist.[Ch]:
10229         * sp_ispell.h: whitespace change
10230
10231 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10232
10233         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10234         lyxaction directly now.
10235
10236 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10237
10238         * trans.C:
10239         * lyxfont.C:
10240         * lyxvc.C: remove unused headers
10241
10242 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * Makefile.am:
10245         * buffer.h:
10246         * undostack.h:
10247         * undostack.C:
10248         * undo_funcs.h:
10249         * undo_funcs.C: some cleanups. Use shared_ptr
10250           and a template for the undo stacks.
10251
10252 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10253
10254         * BufferView_pimpl.h:
10255         * BufferView_pimpl.C:
10256         * kbmap.h:
10257         * kbmap.C:
10258         * kbsequence.h:
10259         * kbsequence.C:
10260         * lyxfunc.h:
10261         * lyxfunc.C:
10262         * text2.C: use key_state/mouse_state
10263
10264 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10265
10266         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10267         and LSubstring
10268
10269         * chset.C: change include order
10270         (loadFile): use boost regex and get rid of LRegex and LSubstring
10271
10272         * Makefile.am (BOOST_LIBS): new variable
10273         (lyx_LDADD): use it
10274
10275         * LaTeX.C: change include order.
10276         (scanAuxFile): use boost regex and get rid of LRegex and
10277         LSubstring
10278         (deplog): ditto
10279
10280 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * ColorHandler.h:
10283         * ColorHandler.C:
10284         * FontInfo.h:
10285         * FontInfo.C: moved to frontends/xforms/
10286
10287         * FontLoader.h:
10288         * FontLoader.C: moved into frontends for GUIIzation
10289
10290         * Makefile.am:
10291         * lyx_gui.C:
10292         * lyxfont.C:
10293         * lyxfunc.C: changes from above
10294
10295 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * LColor.C: remove spurious X include
10298
10299         * BufferView_pimpl.C:
10300         * Makefile.am:
10301         * font.h:
10302         * font.C:
10303         * text.C:
10304         * text2.C: move font metrics to frontends/
10305
10306 2002-05-24  Juergen Vigna  <jug@sad.it>
10307
10308         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10309         setting the undo_cursor.
10310
10311         * ParagraphParameters.h: include local includes first.
10312
10313 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * BufferView_pimpl.C:
10316         * BufferView_pimpl.h:
10317         * Makefile.am:
10318         * WorkArea.h:
10319         * WorkArea.C:
10320         * screen.C: move WorkArea into frontends/
10321
10322         * lyxscreen.h:
10323         * screen.C:
10324         * text.C:
10325         * BufferView.C:
10326         * BufferView2.C: move LyXScreen into frontends/
10327
10328         * lyxlookup.h:
10329         * lyxlookup.C:
10330         * lyx_gui.C: move lyxlookup into frontends/xforms/
10331
10332 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10333
10334         * BufferView2.C:
10335         * BufferView_pimpl.C:
10336         * FontLoader.C:
10337         * LyXView.h:
10338         * LyXView.C:
10339         * Makefile.am:
10340         * WorkArea.C:
10341         * XFormsView.h:
10342         * XFormsView.C:
10343         * buffer.C:
10344         * bufferlist.C:
10345         * bufferview_funcs.C:
10346         * converter.C:
10347         * importer.C:
10348         * lyx_cb.C:
10349         * lyx_gui.C:
10350         * lyx_main.C:
10351         * lyx_find.C:
10352         * lyxfunc.C:
10353         * lyxvc.C:
10354         * minibuffer.C:
10355         * text.C:
10356         * text2.C:
10357         * trans.C:
10358         * vc-backend.C: move LyX/XFormsView into frontends/
10359
10360 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * Makefile.am:
10363         * PainterBase.C:
10364         * PainterBase.h:
10365         * Painter.C:
10366         * Painter.h:
10367         * WorkArea.C:
10368         * WorkArea.h:
10369         * screen.C:
10370         * tabular.C:
10371         * text.C:
10372         * text2.C: move Painter to frontends/
10373
10374 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10375
10376         * buffer.C: comment out some some code that depend upon lyx_format
10377         < 220
10378
10379         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10380         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10381
10382         * buffer.h (NO_COMPABILITY): turn off compability
10383
10384         * ColorHandler.C: include scoped_array.hpp
10385
10386         * font.C: Use more specific smart_ptr header.
10387         * Painter.C: ditto
10388         * gettext.C: ditto
10389         * ShareContainer.h: ditto
10390         * lyx_main.h: ditto
10391         * kbmap.h: ditto
10392         * FontInfo.h: ditto
10393         * BufferView_pimpl.h: ditto
10394         * ColorHandler.h: ditto
10395
10396         * kbmap.C (defkey): change call to shared_ptr::reset
10397
10398 2002-05-21  Juergen Vigna  <jug@sad.it>
10399
10400         * buffer.C (insertErtContents): fix to insert ert asis if it is
10401         non empty. Skip it completely if it contains only whitespaces.
10402
10403 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * BufferView_pimpl.C:
10406         * BufferView2.C: clear selection on paste (bug 393)
10407
10408 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10409
10410         * DepTable.C: include ctime
10411
10412 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10413
10414         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10415
10416 2002-05-14  Juergen Vigna  <jug@sad.it>
10417
10418         * text.C (breakParagraph): fixed function to honor the keepempty
10419         layout in the right maner and also to permit the right breaking
10420         algorithm on empty or non empyt keepempty paragraphs.
10421
10422         * paragraph.C (breakParagraph): we have to check also if the par
10423         is really empty (!size()) for isempty otherwise we do the wrong
10424         paragraph break.
10425
10426 2002-05-10  Juergen Vigna  <jug@sad.it>
10427
10428         * buffer.[Ch] : The following are only changes to the ert
10429         compatibility read reading old LaTeX layout and font stuff and
10430         convert it to ERTInsets.
10431
10432         * buffer.h: added isErtInset().
10433
10434         * buffer.C (struct ErtComp): add a fromlayout bool to check
10435         if we're inside a LaTeX layout.
10436         (isErtInset): new helper function.
10437         (insertErtContents): look for other ert insets before this one
10438         and insert the contents there, so that we don't have subsequent
10439         ERT insets with nothing between them. This way we create only one
10440         inset with multiple paragraphs. Also check if we don't insert only
10441         spaces ' ' as they are ignored anyway afterwards in the .tex file
10442         so if we have only spaces we will ignore this latex part in the
10443         new file.
10444         (parseSingleLyXformat2Token \\layout): better compatibility when
10445         reading layout-latex stuff.
10446         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10447         language tag.
10448         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10449         stuff after reading the inset only get the information back from
10450         the stack.
10451
10452 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10453
10454         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10455
10456         * LaTeXFeatures.C (getBabelOptions): New method.
10457
10458 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10459
10460         * BufferView_pimpl.C (Dispatch): work around missing argument for
10461         'layout'
10462
10463 2002-05-08  Juergen Vigna  <jug@sad.it>
10464
10465         * text.C (leftMargin): handle paragraph leftindent.
10466
10467         * paragraph.C (writeFile): write the new \\leftindent tag.
10468         (validate): handle leftindent code.
10469         (TeXEnvironment): handle paragraphleftindent code again.
10470
10471         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10472
10473         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10474         for paragrap_extra indent code and new token \\leftindent.
10475         (latexParagraphs): handle the leftindent as environment.
10476
10477         * ParameterStruct.h: added leftindent support.
10478
10479         * ParagraphParameters.C (leftIndent): added support functions for
10480         the paragraph left indent.
10481
10482         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10483         more appropriate.
10484
10485 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10486
10487         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10488         inside insetERT.
10489
10490         * text.C (computeBidiTables): No bidi in insetERT.
10491
10492         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10493         in RTL documents.
10494
10495 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10496
10497         * version.C.in: pre 5
10498
10499 2002-05-02  José Matos  <jamatos@fep.up.pt>
10500         * buffer.C (makeDocBookFile): white space changes, add newline to
10501         command styles.
10502         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10503
10504         * tabular.C (docBook): fix typo.
10505
10506 2002-05-03  Juergen Vigna  <jug@sad.it>
10507
10508         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10509         change in LyXText as we can not be sure it was not freed.
10510         (drawOneRow): remove unused code.
10511
10512         * text.C (drawInset): redo the calculation of the need_break_row as
10513         it could have a row which was already freed.
10514         (draw): look at the return value of drawInset and return false if
10515         it also returned false.
10516         (paintRowText): look at the return value of draw and return false if
10517         it also returned false.
10518
10519         * lyxtext.h: added bool return type to drawInset() and draw() so that
10520         if we have a change in the row so that the rowbreak has to be redone
10521         we abort drawing as it will be called again.
10522
10523 2002-05-02  Juergen Vigna  <jug@sad.it>
10524
10525         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10526         a change in the maintext also if we're inside an inset.
10527         (Dispatch): set the cursor again after a break line and after the
10528         screen has been updated as it could be we're in a different row.
10529
10530         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10531         to set the cursor behind the pargraph with > size().
10532         (setCursor): check also for the same paragraph when checking where
10533         to put the cursor if we have a NFR inset.
10534
10535         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10536         parts of layout read further up as it still was in the wrong
10537         position.
10538
10539 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * screen.C (drawFromTo): change sine fullRebreak always return
10542         true.
10543
10544         * buffer.C (parseSingleLyXformat2Token): reindent some
10545
10546         * BufferView_pimpl.C (update): change since fullRebreak always
10547         return true.
10548         (Dispatch): git rid of the last hardcoded "Standard"s.
10549
10550 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10551
10552         * text2.[Ch] (fullRebreak): make it return void now that we always
10553         returned true.
10554
10555 2002-04-30  Juergen Vigna  <jug@sad.it>
10556
10557         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10558         ert compatibility check for "latex" layout.
10559
10560 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10561
10562         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10563         minipages: use col% instead of p%, and also use the current font.
10564         (makeLaTeXFile): Fix use babel condition.
10565         (parseSingleLyXformat2Token): Correct font when reading old floats.
10566
10567 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10568
10569         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10570         inserting list of floats.
10571
10572 2002-04-25  Herbert Voss  <voss@lyx.org>
10573
10574         * MenuBackend.C (expand): don't add the graphics extensions to the
10575         export menu
10576
10577 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10578
10579         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10580         non-existing layout, do not complain if it was the default layout
10581         of the original class (bug #342)
10582
10583 2002-04-24  Juergen Vigna  <jug@sad.it>
10584
10585         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10586         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10587
10588 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10589
10590         * buffer.C (getBibkeyList): If using \bibliography, return the
10591         option field with the reference itself. Enables us to provide natbib
10592         support when using \bibliography.
10593
10594 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10595
10596         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10597
10598         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10599         natbib is provided by the LaTeX class.
10600
10601 2002-04-23  Juergen Vigna  <jug@sad.it>
10602
10603         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10604         Wakeup functions.
10605
10606         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10607
10608 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10609
10610         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10611
10612         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10613         ensuremath around textordmasculine, textordfeminine and
10614         textdegree.
10615
10616 2002-04-19  Juergen Vigna  <jug@sad.it>
10617
10618         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10619         reinitializing the buffer otherwise row-dimensions may be wrong.
10620         (update): reset also the selection cursors if they do exits otherwise
10621         their x/y positions may be wrong.
10622
10623         * text2.C (cursorDown): don't enter the inset if we came from a row
10624         above and are one row over the inset.
10625
10626         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10627         really leaving an inset.
10628
10629 2002-04-18  Juergen Vigna  <jug@sad.it>
10630
10631         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10632         of the selected paragraph does not have the selected layout also if
10633         the last one had!
10634
10635         * text2.C (setLayout): fixed bug which did not change last selected
10636         paragraph.
10637
10638         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10639         changed the read and substituted \\end_float with \\end_inset!
10640
10641         * BufferView_pimpl.C (cursorPrevious):
10642         (cursorNext): fixed to make it work with rows heigher than the work
10643         area without moving the cursor only the draw of the row.
10644         (workAreaMotionNotify): fix jumping over high rows.
10645
10646 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10647
10648         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10649         Ressler.
10650
10651 2002-04-16  Juergen Vigna  <jug@sad.it>
10652
10653         * text2.C (setCursor): set also the irow().
10654         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10655         (cursorUp):
10656         (cursorDown): support for locking an inset if the x_fix value goes
10657         inside it. That way I can transverse insets too with cursor up/down.
10658
10659         * lyxrow.h: added irow helper function same as other (i) functions.
10660
10661         * BufferView_pimpl.C (cursorPrevious):
10662         (cursorNext): fixed for insets!
10663
10664 2002-04-15  Juergen Vigna  <jug@sad.it>
10665
10666         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10667         position otherwise it is wrong in some cases.
10668
10669         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10670         inside the inset before the call.
10671
10672 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10673
10674         * buffer.[Ch] (getBibkeyList): make it const.
10675
10676 2002-04-12  Juergen Vigna  <jug@sad.it>
10677
10678         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10679
10680         * text2.C (getCursorX): new helper function
10681         (setCursor): compute also ix_
10682         (setCursorFromCoordinates): set also ix.
10683
10684         * lyxcursor.h: added ix_ and helper functions.
10685
10686         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10687
10688         * buffer.C (insertStringAsLines): dont break paragraph if the this
10689         paragraph is inside an inset which does not permit it!
10690
10691         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10692         also with no chars on this paragraph.
10693         (paintRowText): only paint stuff if it's inside the workarea!
10694
10695         * paragraph.C (breakParagraph): honor keepempty flag and break the
10696         paragraph always below not above.
10697
10698         * BufferView2.C (unlockInset): update the paragraph layout on inset
10699         unlock as we changed paragraph in such a case.
10700
10701         * lyxfind.C (LyXFind): clear the former selection if not found!
10702
10703         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10704         again called in insertChar().
10705
10706         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10707         an inset which uses the whole row!
10708         (rightMargin): ditto.
10709         (insertChar): force a rebreak if we inserted an inset!
10710
10711 2002-03-28  Herbert Voss  <voss@lyx.org>
10712
10713         * lyxlength.[Ch]: add inBP() to get the right PS-point
10714         units (BigPoint). With inPixels we have rounding errors
10715
10716 2002-04-11  Juergen Vigna  <jug@sad.it>
10717
10718         * text2.C (setCursorFromCoordinates): set iy to the right value.
10719         (setCursor): add check if row->previous exists!
10720
10721         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10722         an old float_type as this was the case in the old code!
10723
10724         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10725
10726         * BufferView2.C (showLockedInsetCursor): use iy
10727         (fitLockedInsetCursor): ditto
10728
10729         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10730         locked insets as there we have the right value now.
10731
10732         * lyxcursor.C: added iy_ variable and iy functions to set to the
10733         baseline of cursor-y of the locked inset.
10734
10735         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10736         (setCursor): fixed for insets which need a full row.
10737
10738         * text.C (rowLastPrintable): don't ignore the last space when before
10739         an inset which needs a full row.
10740         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10741         as last character of a row when before a inset which needs a full row.
10742
10743 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10744
10745         * version.C.in: update date
10746
10747         * text2.C (fullRebreak): try to always return true and see what
10748         happens...
10749
10750 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10751
10752         * MenuBackend.C (expand): use Floating::listName
10753
10754         * FloatList.C (FloatList): add listName argument to the built-in
10755         floats
10756
10757         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10758         text associated with the float.
10759
10760 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10761
10762         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10763
10764 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * ShareContainer.h: add a couple of missing typenames.
10767
10768 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10769
10770         * lyxrc.C (getDescription): use _() correctly rather than N_().
10771
10772 2002-03-28  Herbert Voss  <voss@lyx.org>
10773
10774         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10775         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10776
10777 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10778
10779         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10780         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10781
10782 2002-03-29  Juergen Vigna  <jug@sad.it>
10783
10784         * lyxfunc.C (dispatch): add a missing fitCursor call.
10785
10786         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10787         it was scrolled by a cursor move, so return the bool status.
10788
10789         * BufferView.C (fitCursor): return the bool flag also to the outside
10790         world as this is needed.
10791
10792         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10793
10794         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10795         call the edit() as it is not needed (and wrong) IMO.
10796         (workAreaButtonPress): set the screen_first variable before evt.
10797         unlock the inset as this may change screen_first and then we have
10798         a wrong y position for the click!
10799
10800 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10801
10802         * MenuBackend.C (expand): another translation that I missed
10803
10804 2002-03-28  Juergen Vigna  <jug@sad.it>
10805
10806         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10807
10808         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10809
10810 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10811
10812         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10813
10814         * MenuBackend.C (expand): fix export/view/update when there is no
10815         document open.
10816
10817 2002-03-27  Herbert Voss  <voss@lyx.org>
10818
10819         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10820         and text%
10821
10822 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10823
10824         * bufferview_funcs.C (currentState): only show paragraph number
10825         for is DEVEL_VERSION is set.
10826
10827         * lyxfunc.C (dispatch): put warning in INFO channel
10828
10829         * MenuBackend.C (expand): translate the name of floats
10830
10831         * FloatList.C (FloatList): mark the float names for translation
10832
10833         * converter.C (convert): use LibScriptSearch
10834
10835 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10836
10837         * MenuBackend.C (defaults): fix default menu (we might as well get
10838         rid of it...)
10839
10840 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10841
10842         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10843         directory.
10844
10845 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10846
10847         * lyxvc.C: reorder includes.
10848
10849 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10852           properly
10853
10854 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10855
10856         * CutAndPaste.C: change layouts earlier on paste
10857           to avoid crashing when calling getFont()
10858
10859 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10860
10861         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10862         irritating #error.
10863
10864 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10865
10866         * WorkArea.C: remove 'Pending' debug message.
10867
10868         * most files: ws cleanup
10869
10870         * buffer.[Ch]: ws changes
10871
10872         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10873
10874 2002-03-21  Juergen Vigna  <jug@sad.it>
10875
10876         * tabular.C (SetMultiColumn): collapse also the contents of the
10877         cells and set the last border right. Added a Buffer const * param.
10878
10879 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10880
10881         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10882         linking or not.
10883
10884 2002-03-19  Juergen Vigna  <jug@sad.it>
10885
10886         * text2.C (clearSelection): reset also xsel_cache.
10887
10888         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10889         where it needs to be called (John tells us to do so too :)
10890         (selectionLost): reset sel_cache.
10891
10892         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10893
10894 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10895
10896         * text2.C (setCursorIntern): put debuging code in INSETS channel
10897
10898 2002-03-19  André Pönitz <poenitz@gmx.net>
10899
10900         * lyxfunc.C: tiny whitespace change
10901
10902 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10903
10904         * ToolbarDefaults.C (init):
10905         * LyXAction.C (init):
10906         * commandtags.h:
10907         * BufferView_pimpl.C (Dispatch):
10908         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10909
10910 2002-03-19  Allan Rae  <rae@lyx.org>
10911
10912         * exporter.C (Export): removeAutoInsets before doing anything else.
10913         While I've just introduced a dependency on BufferView this really is
10914         the best place to clean the buffer otherwise you need to cleanup in
10915         a dozen places before calling export or cleanup in a dozen functions
10916         that export calls.
10917
10918         * converter.C (runLaTeX):
10919         (scanLog): Better handling of removeAutoInsets and screen updates.
10920
10921         * lyxfunc.C (dispatch): small whitespace changes
10922
10923 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10924
10925         * WorkArea.C (C_WorkAreaEvent): return a value.
10926         (event_cb): return 1 if we handled the event, 0 otherwise.
10927
10928         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10929
10930 2002-03-18  Juergen Vigna  <jug@sad.it>
10931
10932         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10933         (GetAdditionalWidth): ditto.
10934         (RightLine): ditto.
10935         (LeftLine): ditto.
10936
10937         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10938         inset if we're there actually (probably not used right now but this
10939         is the direction to go for unifying code).
10940         (paste): disable code to clear the selection.
10941
10942         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10943         inside an InsetText and move the check further up as it is in the
10944         wrong place.
10945
10946         * text2.C (pasteSelection): set a selection over the pasted text.
10947
10948 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10949
10950         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10951         and libgraphics to build on Cygwin.
10952
10953 2002-03-15  Juergen Vigna  <jug@sad.it>
10954
10955         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10956         inserting an Inset into the paragraph. I know this is not the best
10957         fix but we already use current_view in CutAndPaste so we will remove
10958         all of it's using at the same time.
10959
10960         * buffer.C (sgmlError): deactivated function till it is rewritten in
10961         the right mode, now it can create problems.
10962
10963         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10964         before accessing it.
10965
10966 2002-03-14  Juergen Vigna  <jug@sad.it>
10967
10968         * undo_funcs.C (textHandleUndo): do the right thing when updating
10969         the inset after the undo/redo.
10970
10971         * text2.C (setCursor): just some testcode for #44 not ready yet.
10972
10973         * undo_funcs.C (textHandleUndo): set the next() and previous()
10974         pointers of the paragraph to 0 before deleting otherwise we have
10975         problems with the Paragraph::[destructor].
10976
10977         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10978         on a paragraph insertion.
10979
10980 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10981
10982         * buffer.C (asciiParagraph): use += operator for char append to
10983         string.
10984
10985         * paragraph.C (getFontSettings): compare >= not just >
10986         (highestFontInRange): ditto
10987         (setFont): ditto
10988
10989 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * paragraph.C: change several algorithm to be more appripriate for
10992         the problem domain. This is lookip in FontList and in the InsetList.
10993
10994 2002-03-13  André Pönitz <poenitz@gmx.net>
10995
10996         * commandtags.h:
10997         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10998
10999 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * commandtags.h:
11002         * LyXAction.C:
11003         * lyxfunc.C:
11004         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11005
11006 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11007
11008         * Painter.C (display): anon helper function, adjust code for this
11009         change.
11010         (pixmap): remove function.
11011
11012         * Painter.h: remove private display variable.
11013
11014         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11015
11016 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11017
11018         * WorkArea.[Ch]: remove figinset_canvas cruft.
11019
11020 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11021
11022         * lyxtextclass.C (operator): add one item cache optimization.
11023
11024         * bufferlist.h: doxy changes
11025
11026         * bufferlist.C: ws changes
11027
11028         * DepTable.[Ch] (ext_exist): place const in the right spot.
11029
11030         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11031         call resizeInsets.
11032         (workAreaExpose): call resizeInsets when the with BufferView changes.
11033         (Dispatch): adjust for protectedBlank removal
11034         (specialChar): call updateInset if the insert went ok.
11035
11036         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11037         specialChar instead.
11038
11039         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11040
11041         * BufferView.h: doxy change
11042
11043         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11044
11045         * lyxtextclass.C (operator[]): remove non-const version
11046         (defaultLayout): remove non-const version
11047
11048 2002-03-12  Juergen Vigna  <jug@sad.it>
11049
11050         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11051         did resize the LyXText too.
11052
11053         * buffer.C (readLyXformat2): set layout information on newly allocated
11054         paragraphs.
11055
11056         * tabular.C (OldFormatRead): set layout information on the paragraph.
11057
11058 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11059
11060         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11061
11062 2002-03-11  Juergen Vigna  <jug@sad.it>
11063
11064         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11065         plainly wrong.
11066         (resizeCurrentBuffer): force also the insets to resize themselfes.
11067         (moveCursorUpdate): fixed up for InsetText.
11068
11069 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11070
11071         * commandtags.h:
11072         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11073         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11074         value of Dialogs::tooltipsEnabled().
11075         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11076
11077 2002-03-08  Juergen Vigna  <jug@sad.it>
11078
11079         * BufferView_pimpl.C (updateInset): update inset inside inset also
11080         if it isn't inside theLockingInset().
11081
11082 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11083
11084         * buffer.C (asciiParagraph): redo some of the word and line length
11085         handling.
11086         (getLists): look for Caption instead of caption.
11087
11088 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11089
11090         * buffer.C (Buffer): initialize niceFile to true
11091         (makeLaTeXFile):
11092         (makeLinuxDocFile):
11093         (makeDocBookFile): make sure niceFile is true on exit
11094
11095 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11096
11097         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11098
11099 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11100
11101         * LyXSendto.C: remove.
11102         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11103         * lyx_gui.C: remove now-redundant comment.
11104         * ColorHandler.h: remove forward declaration of class WorkArea.
11105         * lyxfunc.C: remove #include "WorkArea.h".
11106
11107 2002-03-07  Juergen Vigna  <jug@sad.it>
11108
11109         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11110         got moved away with the DEPM and also set the inset_owner always
11111         right which before could have been omitted.
11112
11113 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11114
11115         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11116         wanted layout is not found.
11117
11118 2002-03-07  Juergen Vigna  <jug@sad.it>
11119
11120         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11121
11122 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11123
11124         * paragraph.C (breakParagraph): use default layout not layout of
11125         prev paragraph.
11126         (Paragraph): clear ParagraphParameters.
11127
11128 2002-03-06  Juergen Vigna  <jug@sad.it>
11129
11130         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11131         otherwise it would not be a valid lenght. Fixed a special case in
11132         the minipage compatibility read where we end the document with a
11133         minipage.
11134
11135         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11136         was set as it could be 0 for InsetTexts first entry.
11137
11138 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11139
11140         * paragraph.C (writeFile): if layout is empty write out
11141         defaultLayoutName().
11142
11143         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11144         file without named layout we set layout to defaultLayoutName().
11145
11146 2002-03-06  Juergen Vigna  <jug@sad.it>
11147
11148         * CutAndPaste.C (copySelection): set layout for new paragraph.
11149
11150         * text.C (prepareToPrint): leave ERT inset left aligned
11151         (leftMargin): don't indent paragraphs inside ERT insets
11152
11153 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11154
11155         * paragraph.C (breakParagraph): dont call clear do the work manually
11156
11157         * paragraph.[Ch] (clear): remove function
11158
11159 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11160
11161         * paragraph.C (Paragraph): dont call clear, the work has already
11162         been done.
11163
11164         * lyxtextclass.C (operator): assert if n is empty
11165
11166         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11167         work manually instead.
11168
11169 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * BufferView_pimpl.C: protect selectionLost against text == 0
11172
11173 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11174
11175         * text.C (breakParagraph): fix a setting layout to '0' problem.
11176
11177 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11178
11179         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11180         final location of file, for the included files, and graphics.
11181
11182 2002-03-05  Juergen Vigna  <jug@sad.it>
11183
11184         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11185
11186 2002-03-04  Juergen Vigna  <jug@sad.it>
11187
11188         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11189
11190         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11191         last column of multicolumn cells.
11192         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11193
11194 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11195
11196         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11197         file if it doesn't go to a temporary file.
11198
11199         * buffer.C (sgmlOpenTag):
11200         (sgmlCloseTag):  remove extra newline insertion.
11201
11202 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11203
11204         * text.C (getRowNearY): comment out debug msg
11205
11206 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11207
11208         * text2.C: first -> first_y
11209
11210         * text.C (getRowNearY): add some attemts at a possible
11211         optimization, not working.
11212
11213         * tabular.[Ch]: add BufferParams to several function so that newly
11214         created paragraph can be initialized to he default layotu for the
11215         buffers textclass.
11216
11217         * tabular-old.C (ReadOld): add buf->params to call of Init
11218
11219         * screen.C: rename text->first to text->first_y
11220
11221         * paragraph.C (breakParagraph): always set layout in the broken
11222         paragraph
11223
11224         * lyxtextclass.C (Read): remove lowercase
11225         (hasLayout): ditto
11226         (operator): ditto
11227         (delete_layout): ditto
11228
11229         * lyxtext.h: rename first -> first_y
11230
11231         * lyxlayout.C (Read): remove lowercase
11232         (name): ditto
11233         (setName): ditto
11234         (obsoleted_by): ditto
11235
11236         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11237
11238         * buffer.C (insertErtContents): add params are to InsetERT
11239         (parseSingleLyXformat2Token): add code to check if a paragraphs
11240         layout really exist.
11241         (parseSingleLyXformat2Token): add params to several inset
11242         constructors
11243         (asciiParagraph): remove lowercase, do the layout comparisons with
11244         no_case
11245
11246         * BufferView_pimpl.C (cursorNext): first -> first_y
11247         (resizeCurrentBuffer): first -> first_y
11248         (updateScrollbar): first -> first_y
11249         (scrollCB): first -> first_y
11250         (workAreaMotionNotify): first -> first_y
11251         (workAreaButtonPress): first -> first_y
11252         (checkInsetHit): first -> first_y
11253         (cursorPrevious): first -> first_y
11254         (cursorNext): first -> first_y
11255         (Dispatch): add buffer_->params to severl inset contructors
11256
11257 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11258
11259         * lyxlayout.C (Read): remove some debug info that I forgot.
11260
11261         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11262         clean up the code slightly.
11263         (makeLinuxDocFile): ditto
11264         (makeDocBookFile): ditto
11265
11266         * text2.C: layout as string
11267
11268         * text.C: layout as string
11269
11270         * paragraph_pimpl.C: layout as string
11271
11272         * paragraph.[Ch]: layout as string
11273
11274         * lyxtextclasslist.[Ch]: layout as string
11275
11276         * lyxtextclass.[Ch]: layout as string
11277
11278         * lyxtext.h: layout as string
11279
11280         * lyxlayout.[Ch]: layout as string
11281
11282         * lyx_cb.C: layout as string
11283
11284         * bufferview_funcs.C: layout as string
11285
11286         * bufferparams.C: layout as string
11287
11288         * buffer.C: layout as string
11289
11290         * LyXView.[Ch]: layout as string
11291
11292         * LaTeXFeatures.[Ch]: layout as string
11293
11294         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11295
11296         * BufferView_pimpl.C: change current_layout to string, remove
11297         lyx::layout_type.
11298         (Dispatch):
11299         (smartQuote):
11300         (insertInset):
11301         (workAreaButtonRelease): layout as string
11302
11303         * BufferView2.C (unlockInset): adjust
11304
11305         * vspace.C (asLatexCommand): use an explict temp variable.
11306
11307 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11308
11309         * Makefile.am: use FRONTEND_*
11310
11311 2002-03-01  Juergen Vigna  <jug@sad.it>
11312
11313         * tabular.C (SetWidthOfMulticolCell): changed to something better
11314         I hope but still work in progress.
11315         (recalculateMulticolumnsOfColumn): renamed function from
11316         recalculateMulticolCells as it is more appropriate now.
11317         (SetWidthOfCell): calculate multicols better.
11318
11319 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11320
11321         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11322
11323         * lyxfunc.C (processKeySym): print sequence also if it is
11324         `deleted' (complete)
11325
11326         * kbsequence.C (print): print sequence even if it is deleted
11327         (complete would be a better word, actually).
11328
11329         * lyxfunc.C (dispatch): print complete options after a prefix key
11330
11331         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11332
11333 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11334
11335         * text2.C (setCharFont): eliminate setCharFont code duplication.
11336
11337 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11338
11339         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11340         LFUN_TABULAR_FEATURE (bug #177)
11341
11342 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11343
11344         * Makefile.am: remove figure.h
11345
11346 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11347
11348         * Bufferview_pimpl.C:
11349         * CutAndPasteC:
11350         * LaTeX.C:
11351         * LyXSendto.C:
11352         * buffer.C:
11353         * bufferlist.C:
11354         * converter.C:
11355         * language.C:
11356         * lyxfunc.C:
11357         * lyxvc.C:
11358         * paragraph.C:
11359         * text.C:
11360         * text2.C: remove #include "lyx_gui_misc.h".
11361
11362         * LaTeX.C: added #include <cstdio>
11363
11364 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11365
11366         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11367         that the paragraph following this one can have.
11368
11369         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11370
11371         * vspace.C (asLatexCommand): fix bogus gcc warning
11372
11373         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11374
11375 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11376
11377         * text2.C (setLayout): get rid of redundant code
11378
11379 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11380
11381         * text2.C (incDepth): make sure depth cannot be increased beyond
11382         reasonable values.
11383
11384 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11385
11386         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11387         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11388
11389         * PainterBase.h (image):
11390         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11391         a LyXImage const *.
11392
11393 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * BufferView.C:
11396         * BufferView.h:
11397         * BufferView_pimpl.C:
11398         * BufferView_pimpl.h:
11399         * LaTeXFeatures.C:
11400         * LyXAction.C:
11401         * LyXView.C:
11402         * Makefile.am:
11403         * UpdateList.h:
11404         * UpdateList.C:
11405         * buffer.C:
11406         * figure.h:
11407         * figureForm.C:
11408         * figureForm.h:
11409         * figure_form.C:
11410         * figure_form.h:
11411         * lyx_cb.C:
11412         * lyx_gui.C:
11413         * lyx_gui_misc.C:
11414         * lyxfunc.C:
11415         * sp_base.h:
11416         * sp_ispell.h:
11417         * sp_pspell.h:
11418         * sp_spell.C: remove fig inset, and the crap house of
11419           cards that follows it
11420
11421 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * Makefile.am:
11424         * lyxserver.C:
11425         * os2_defines.h:
11426         * os2_errortable.h:
11427         * nt_defines.h: move .h into support/
11428
11429         * vms_defines.h: remove
11430
11431         * WorkArea.C: add space in debug output
11432
11433         * text2.C:
11434         * paragraph.C:
11435         * buffer.C: add WITH_WARNINGS
11436
11437         * vc-backend.h:
11438         * vc-backend.C:
11439         * bufferlist.C: s/retrive/retrieve/, add docs
11440
11441         * vspace.h:
11442         * vspace.C:
11443         * kbmap.h:
11444         * lyxlength.h:
11445         * lyxgluelength.h:
11446         * length_common.h:
11447         * chset.h:
11448         * chset.C: add docs
11449
11450         * lyxgui.C: add ID to X error handler
11451
11452         * lyxtestclass.c: fix typo
11453
11454 2002-02-26  Juergen Vigna  <jug@sad.it>
11455
11456         * tabular_funcs.C (write_attribute): changed so that some default
11457         attributes are not written at all.
11458         (getTokenValue): set default values before trying to read the
11459         value so we have the return value always set as default if we don't
11460         find the token we search for.
11461
11462         * tabular.C (Write): write bools as bools not as strings!
11463
11464 2002-02-22  Juergen Vigna  <jug@sad.it>
11465
11466         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11467         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11468
11469         * text.C (leftMargin): don't add an indent for paragraphs inside
11470         tabular cells (fix #208).
11471
11472 2002-02-21  José Matos  <jamatos@fep.up.pt>
11473
11474         * tabular.C (docBook): fixed support for long tables.
11475
11476 2002-02-20  Juergen Vigna  <jug@sad.it>
11477
11478         * text2.C (getFont): get the drawing font of the Inset if this
11479         paragraph is inside an inset (only important for InsetERT for now).
11480
11481         * buffer.C (insertErtContents): use new lanugage params in ERT
11482         constructor.
11483
11484         * CutAndPaste.C: commenting out seemingly uneeded code.
11485
11486 2002-02-19  Allan Rae  <rae@lyx.org>
11487
11488         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11489         Iterators might be simple to use but they also get invalidated.
11490         (removeAutoInsets): renamed saved cursor tracking variables and added
11491         some comments to clarify what everything does.
11492
11493 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11494
11495         * Chktex.C:
11496         * LaTeX.C:
11497         * LyXSendto.C:
11498         * converter.C:
11499         * lyx_cb.C:
11500         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11501         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11502
11503         * lyxfunc.C:
11504         * vc-backend.h: remove #include "support/syscall.h"
11505
11506         * LaTeX.C:
11507         * LyXSendto.C:
11508         * converter.C: rearrange #includes in Lars' approved fashion.
11509
11510         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11511         forward declare class Timeout in the header file.
11512
11513         * XFormsView.C: changes due to the above.
11514
11515         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11516         similar to LyXView.
11517
11518         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11519         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11520
11521 2002-02-18  José Matos  <jamatos@fep.up.pt>
11522
11523         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11524         insets contents.
11525
11526 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11527
11528         * a lot of small ws changes
11529         * add a lot of using std::XXX
11530         * use std construcs some places where approp.
11531         * use some exisint stuff from lyxfunctional where approp.
11532         * Make file changes to use partial linking (lets test this now...)
11533
11534 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11535
11536         * Chktex.C:
11537         * buffer.C:
11538         remove #include "support/syscontr.h" as it's redundant. Always has been.
11539
11540         * Chktex.C:
11541         * LaTeX.C:
11542         * LyXSendto.C:
11543         * converter.C:
11544         * lyx_cb.C:
11545         * vc-backend.C:
11546         change Systemcalls::System to Systemcalls::Wait and
11547         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11548         No change of functionality, just reflects the stripped down Systemcalls
11549         class.
11550
11551 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11552
11553         * debug.[Ch]: add a GRAPHICS type to the enum.
11554
11555 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11558
11559         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11560         there is an inset.
11561
11562 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11563
11564         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11565         match the changes below.
11566
11567         * text2.C (toggleInset): if there is not editable inset at cursor
11568         position, try to see if cursor is _inside_ a collapsable inset
11569         and close it.
11570
11571 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11572
11573         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11574         document menu has a nice checkbox
11575
11576 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11577
11578         * lyxlength.C (asLatexString): change PW to output as percent of
11579         \textwidth.
11580
11581         * lengthcommon.C: change '%' to 't%'
11582
11583         * lyxfunc.C (dispatch): a few comments from Martin
11584
11585 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11586
11587         * WorkArea.h:
11588         * WorkArea.C:
11589         * BufferView_pimpl.h:
11590         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11591           the X selection.
11592
11593 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11594
11595         * vspace.C (inPixels): fix compiler warning
11596
11597 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * lyxfunc.C (getStatus): fix status message for disabled commands.
11600
11601 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11602
11603         * BufferView_pimpl.C: fix crash on close buffer
11604         during selection (#227)
11605
11606 2002-01-27  Herbert Voss  <voss@lyx.org>
11607
11608         * buffer.C: link old Figure to new graphic inset
11609
11610 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11611
11612         * FontLoader.C (getFontinfo): Change the latex font names in order
11613         to match the names of type1inst.
11614
11615 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616
11617         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11618
11619         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11620         (extchanged): ditto
11621         (ext_exist): ditto
11622         (remove_files_with_extension): ditto
11623         (remove_file): ditto
11624         (write): ditto
11625
11626         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11627         document is smaller than the work area height. Do not initialize
11628         static variables to 0.
11629
11630 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11631
11632         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11633
11634         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11635         LFUN_LAYOUT_PARAGRAPHS.
11636
11637         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11638         tabular. It is possible to provide a possible cell, which will
11639         typically be the actcell from the corresponding insettabular
11640
11641         * lyxfunc.C (getStatus): small cleanup; disable
11642         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11643         true
11644
11645 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11646
11647         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11648
11649         * paragraph.C (startTeXParParams):
11650         (endTeXParParams): new methods. The LaTeX code to
11651         start/end paragraph formatting
11652         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11653         empty (fixes bug #200)
11654
11655         * vspace.C (inPixels): adapt to the change below
11656         (inPixels): [later] more cleanups (remove unused variables)
11657
11658         * lyxlength.C (inPixels): change to use a width and a height as
11659         parameter.
11660
11661 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11662
11663         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11664         Replaced with \paperwidth
11665
11666         * DepTable.C (insert): add std:: qualifier
11667
11668 2002-01-18  Allan Rae  <rae@lyx.org>
11669
11670         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11671         updated also?
11672
11673         * text.C (drawInset): Turned out I didn't know enough about how
11674         rebreaking worked.  This fixes most of the redraw problems.  I see
11675         an occasional cursor trail when a line is broken now and the cursor
11676         placement can seem out by a few pixels also after a rebreak.
11677
11678 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11679
11680         * buffer.C (parseSingleLyXformat2Token): update because minipage
11681         width is now a LyXLength
11682
11683         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11684
11685         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11686         math insets
11687
11688 2002-01-17  Juergen Vigna  <jug@sad.it>
11689
11690         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11691
11692         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11693         is set correctly and the inset is updated correctly.
11694
11695 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11696
11697         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11698         the beginning of the loop.
11699
11700 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * lyxrc.C: improve help for use_scalable_fonts
11703
11704 2002-01-17  Allan Rae  <rae@lyx.org>
11705
11706         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11707
11708 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11709
11710         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11711         make sure to set their inset_owner to the right value (bug #171)
11712
11713 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11714
11715         * DepTable.h
11716         * DepTable.C: Implement mtime checking to reduce time spent doing
11717         CRCs.
11718
11719 2002-01-16  Juergen Vigna  <jug@sad.it>
11720
11721         * tabular.C (GetAdditionalHeight): one of error fixed.
11722
11723         * lyxrc.C (output): small fix in writing use_pspell.
11724
11725 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11726
11727         * sp_base.h: #include LString.h
11728
11729 2002-01-16  Allan Rae  <rae@lyx.org>
11730
11731         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11732         Can someone check this please?
11733
11734         * text.C (drawInset): It was possible that p.row would be removed by
11735         breakAgainOneRow upsetting a few other settings.  There may be another
11736         small tweak possible by setting need_break_row = 0 when p.row has been
11737         removed but I don't know enough about the logic here.
11738
11739 2002-01-15  Allan Rae  <rae@lyx.org>
11740
11741         * text.C (insertChar): removed conditional truism.
11742
11743         * BufferView2.C (removeAutoInsets): More tweaks.
11744         cur_par_prev could be a stray pointer.  Check for trailing empty line
11745         in case last line was cur_par and only had an error inset on it.
11746
11747 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11748
11749         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11750         absolute
11751
11752         * vc-backend.C (most methods):
11753         * exporter.C (Export):
11754         * converter.C (convert):
11755         (runLaTeX):
11756         * LyXSendto.C (SendtoApplyCB):
11757         * lyxfunc.C (dispatch):
11758         (menuNew):
11759         (open):
11760         (doImport):
11761         * lyx_cb.C (AutoSave):
11762         (InsertAsciiFile):
11763         * BufferView_pimpl.C (MenuInsertLyXFile):
11764         * buffer.C (runChktex): use Buffer::filePath().
11765
11766         * buffer.h: rename filename to filename_; rename filepath to
11767         filepath_ and make it private
11768         (filePath): new method
11769
11770         * buffer.C (writeFile): use fileName()
11771         (getLatexName):
11772
11773         * lyx_main.C (init): fix starting  of LyX when the binary is a
11774         link from so,ewhere else.
11775
11776         * minibuffer.C: include <cctype> for isprint
11777
11778 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11779
11780         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11781         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11782         name clash with InsetCollapsable's width function.
11783
11784 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11785
11786         * lastfiles.C: include <iterator>
11787
11788 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11789
11790         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11791         std::count.
11792
11793         * buffer.C (makeLaTeXFile): ditto.
11794         Also make loop operation more transparent.
11795
11796 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11797
11798         * ToolbarDefaults.C: remove trailing comma closing namespace.
11799
11800         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11801
11802         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11803         as in WorkArea.
11804
11805         * trans.C (Load): comment out unused variable, allowed.
11806
11807 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11808
11809         * minibuffer.[Ch] (append_char): new method to recieve input from the
11810         drop-down completion browser. If a key was pressed, then recieve this
11811         char and append it to the existing string.
11812         (peek_event): modify the positioning data passed to the completion
11813         browser so that it can be placed above the minibuffer rather than below.
11814 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11815
11816         * LyXAction.C (init): alloe error-next for readonly documents.
11817
11818         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11819         count.
11820
11821 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11822
11823         * bufferlist.C (readFile): create the buffer _after_ checking that
11824         the file exists.
11825
11826         * lyxfunc.C (verboseDispatch): fix handling of arguments
11827
11828         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11829
11830         * lyxrc.C: use string::erase() instead of initializing to "".
11831
11832
11833 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * BufferView_pimpl.h:
11836         * BufferView_pimpl.C:
11837         * WorkArea.h:
11838         * WorkArea.C:
11839         * text2.C: tell X when we have made a selection for copying
11840
11841 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11842
11843         * BufferView_pimpl.C (MenuInsertLyXFile):
11844         * lyxfunc.C (menuNew):
11845         (open):
11846         (doImport): add shortcuts to directory buttons
11847
11848         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11849         open a float)
11850
11851         * lyxfunc.C (setStatusMessage):
11852         (getStatusMessage): new methods
11853         (getStatus):use setStatusMessage instead of setErrorMessage
11854         (dispatch): when function is disabled, set error message here
11855         [instead of in getStatus previously]
11856
11857         * BufferView_pimpl.C (workAreaButtonRelease): update
11858         toolbar/menubar here too.
11859
11860 2002-01-13  Allan Rae  <rae@lyx.org>
11861
11862         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11863         Now seems indestructible.  Remaining task is to audit all other
11864         code affected by deleteEmptyParagraphMechanism.  One small quirk
11865         left is that an empty document with an error in the preamble can
11866         be made to report an error but no error box appears.  I don't know
11867         where it goes.
11868         (removeAutoInsets): Improved comments.
11869
11870 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11871
11872         * Thesaurus.h:
11873         * Thesaurus.C: update for Aiksaurus 0.14
11874
11875 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11876
11877         * text2.C (firstParagraph): removed member function, all uses
11878         replaces with ownerParagraph
11879         (redoParagraphs): here
11880         (updateInset): here
11881         (toggleAppendix): here
11882         * BufferView2.C (insertErrors): here
11883         (setCursorFromRow): here
11884
11885 2002-01-13  Allan Rae  <rae@lyx.org>
11886
11887         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11888         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11889         There is still a way to segfault this although you may have to do this
11890         multiple times: Have an InsetERT with an unknown command in it.
11891         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11892         <down-arrow>, <Enter> again, View->DVI, BANG!
11893
11894         * text2.C (setCursor):
11895         (deleteEmptyParagraphMechanism):
11896         * lyxtext.h (setCursor):
11897         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11898         Making use of the return value may help fix other bugs.
11899
11900 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11903
11904         * LyXView.C (updateMenubar): call MenuBar::update here
11905         (updateToolbar): but not here
11906         (showState): do not update toolbar/menubar
11907
11908         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11909         should need to care about that.
11910
11911         * lyxfunc.C (verboseDispatch): simplify a bit
11912         (getStatus): have a version which takes a pseudoaction, and
11913         another which requires a (kb_action,string).
11914
11915         * LyXAction.C (retrieveActionArg): make it work also when action
11916         is not a pseudo-action.
11917         (getActionName): simplify a bit
11918         (helpText):
11919
11920 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11921
11922         * lyxfunc.C (verboseDispatch): new families of methods with
11923         several ways to specify a command and a bool to indicate whether
11924         the command name and shortcut should be displayed in minibuffer
11925         (eventually, we could extend that to a finer bitmask like
11926         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11927         (dispatch): the pristine dispatch command which just, well,
11928         dispatchs! Note it still sets its result to minibuffer; I'm not
11929         sure we want that.
11930
11931         * lyxfunc.h: remove setHintMessage
11932
11933         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11934
11935 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11936
11937         * BufferView_pimpl.C (specialChar): delete new inset if we have
11938         not been able to insert it.
11939
11940         * kbmap.C: revert to using int instead of kb_action, since all we
11941         are dealing with is pseudo-actions.
11942
11943         * LyXAction.C (searchActionArg): change to return int instead of
11944         kb_action, since the result is a pseudoaction.
11945
11946 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11947
11948         * buffer.C (insertErtContents): Fix (partially) the font bug.
11949
11950 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11951
11952         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11953         as the other one is broken on my machine!
11954
11955 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11956
11957         * commandtags.h:
11958         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11959
11960 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11961
11962         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11963         reflect their actual use. Provide compatibility code for older lyxrc
11964         files.
11965
11966         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11967         FL_NORMAL_STYLE.
11968         change names of popup font variables in line with the changes to lyxrc.C
11969
11970 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11971
11972         * buffer.C (asciiParagraph): avoid outputing a word twice after
11973         an inset.
11974
11975         * lyxrc.C (getDescription): document that document_path and
11976         template_path can be empty.
11977
11978 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11979
11980         * LaTeXFeatures.C (getMacros):
11981         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11982
11983         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11984
11985         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11986         getPackages.
11987         (getPackages): rename feature "floats" to "float". Use an array to
11988         iterate over 'simple' features (i.e. just a \usepackage). Add
11989         handling of "amsmath" (renamed from "amsstyle").
11990
11991 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11992
11993         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11994         features list.
11995
11996 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11997
11998         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11999         FuncStaus::FuncStatus & FuncStaus::some_method().
12000
12001 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12002
12003         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12004         of the func_satus stuff. Edited and massaged in various ways by
12005         JMarc.
12006
12007         * lyxfunc.C (getStatus): use FuncStatus
12008
12009 2002-01-08  Juergen Vigna  <jug@sad.it>
12010
12011         * text.C (nextBreakPoint): use function Inset::isChar().
12012
12013         * paragraph.C (TeXOnePar): use function
12014         Inset::forceDefaultParagraphs.
12015
12016         * buffer.C (latexParagraphs): use function
12017         Inset::forceDefaultParagraphs.
12018
12019 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12020
12021         * lyx_gui.C (init): set the style of the menu popups to
12022         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12023
12024 2002-01-07  Juergen Vigna  <jug@sad.it>
12025
12026         * text.C (setHeightOfRow): small fix
12027         (prepareToPrint): don't look at alignment if we don't have the place
12028         for doing it.
12029
12030 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12031
12032         * box.C: New file. Move the Box methods and functions out of box.h,
12033         following Lars' suggestion.
12034
12035 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12036
12037         * box.h: #include "support/LOstream.h", needed for inlined function.
12038
12039         * lyxtextclass.C:
12040         * lyxtextclasslist.C: added some using std declarations.
12041
12042 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * box.h: make signed dimensions to allow insets wider than
12045           the screen (bug #162)
12046
12047         * BufferView_pimpl.C: add some insetHit debug
12048
12049 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12050
12051         * vc-backend.C: add FIXME
12052
12053 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12054
12055         * lyxfunc.C (getStatus): enable code for showing math font status
12056         in toolbar/menu.
12057
12058 2002-01-07  Juergen Vigna  <jug@sad.it>
12059
12060         * text.C (nextBreakPoint): removed debug output not needed anymore.
12061
12062 2002-01-06  Juergen Vigna  <jug@sad.it>
12063
12064         * text.C (nextBreakPoint): fixed up this function we had this bug
12065         since ever but now hopefully we break row better.
12066         (insertChar): we have to check if an inset is the next char as it
12067         could now happen that a large inset is causing a break.
12068
12069 2002-01-05  Juergen Vigna  <jug@sad.it>
12070
12071         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12072         if it doesn't like to be drawed.
12073
12074 2002-01-04  Juergen Vigna  <jug@sad.it>
12075
12076         * BufferView2.C (lockInset): forgot to set a cursor.
12077
12078         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12079
12080 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12081
12082         * FormMathsPanel.C:
12083         * FormMathsPanel.h
12084         * MathsSymbols.C:
12085         * form_maths_panel.C:
12086         * form_maths_panel.h:
12087         * form_maths_panel.fd: implemented sub- and super- buttons in math
12088         panel.
12089
12090         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12091         (or ^ space) to be used as in TeX (req'd by André).
12092
12093         * lyxfunc.C: Allow ^ and _ again to be used both as
12094         super/subscript (mathed) and as themselves (in text).
12095
12096 2002-01-03  Allan Rae  <rae@lyx.org>
12097
12098         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12099         "LyX" or the filename of the current buffer if it has one.  This is a
12100         modified form of John Levon's patch.
12101
12102         * XFormsView.C (setWindowTitle): also set icon title.
12103
12104         * LyXView.h (setWindowTitle): signature changed.
12105         * XFormsView.h (setWindowTitle): ditto.
12106
12107 2002-01-02  Juergen Vigna  <jug@sad.it>
12108
12109         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12110
12111 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * screen.C (topCursorVisible): introduce a temp var for
12114         text->cursor.row(), handle the case where this row is null. (kindo
12115         hachish)
12116
12117         * text2.C (setCursor): add a couple of asserts.
12118
12119         * paragraph.h (inset_iterator): add -> operator
12120
12121         * paragraph.[Ch] (autoDeleteInsets): remove member function
12122
12123         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12124         cursor pos correctly and handle inset deletion by itself.
12125         (insertErrors): move iterator declaration out of for expression
12126
12127         * lyxtextclass.C: add <algorithm>
12128
12129         * Makefile.am: added the new files to sources, removed layout.C
12130
12131         * layout.C: removed file
12132
12133         * layout.h: remove LYX_DUMMY_LAYOUT
12134
12135         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12136         layout.
12137
12138         * lyxlayout.[Ch]:
12139         * lyxtextclass.[Ch]:
12140         * lyxtextclasslist.[Ch]: new files
12141
12142         * include order changes to a lot of files, also changes because of
12143         the six new files.
12144
12145 2001-12-27  Juergen Vigna  <jug@sad.it>
12146
12147         * buffer.C (asciiParagraph): more fixes.
12148
12149         * tabular.C (ascii): make ascii export support export of only the
12150         data separated by a column-delimiter.
12151         (ascii): better support for ascii export.
12152
12153         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12154
12155 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12156
12157         * tabular_funcs.C: use a "using std::getline" instead of the
12158         previous fix from Angus (necessary for cxx + lyxstring)
12159
12160 2001-12-24  Juergen Vigna  <jug@sad.it>
12161
12162         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12163
12164         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12165         problems. First check a minipage also if we have some ert-contents
12166         (not only on par->size(), second set the right depth of the paragraph
12167         on the relink to the root-paragraph-list!
12168
12169         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12170         which then did not anymore update the main paragraphs on undo/redo!
12171
12172 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12173
12174         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12175         code. Support all font-changing funcs (even those which are not in
12176         menu currently). Support for reporting font settings in
12177         mathed (disabled until Andre provides a function on mathed's side).
12178
12179         * func_status.h (toggle): small helper function to set toggle
12180         state on a flag.
12181
12182 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12183
12184         * tabular_funcs.C: getline -> std::getline
12185
12186 2001-12-21  Juergen Vigna  <jug@sad.it>
12187
12188         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12189         accessed and could be 0 (I couldn't generate this but it seems
12190         Michael could!).
12191
12192 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12193
12194         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12195         * tabular_funcs.h: here and include iosfwd
12196
12197 2001-12-20  Juergen Vigna  <jug@sad.it>
12198
12199         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12200         inside inset but undo_par was.
12201
12202 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12203
12204         * Thesaurus.C: always include <config.h> in sources.
12205
12206         * Painter.h:
12207         * lyxlookup.h:
12208         * box.h: do not include <config.h> in header files
12209
12210         * text.C (paintLastRow): remove unused variable
12211
12212         * text.C (transformChar):
12213         (insertChar):
12214         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12215
12216         * Painter.C (text):
12217         * font.C (width): rewrite to use uppercase() instead of
12218         islower/toupper.
12219
12220         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12221
12222 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12223
12224         * lyxfind.C: clean up of find failure position change
12225
12226 2001-12-20  Juergen Vigna  <jug@sad.it>
12227
12228         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12229
12230         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12231         (TeXRow): added to LaTeX a single tabular row.
12232         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12233         (Latex): simplified and finally good LT-h/f support.
12234         (various_functions): just small adaptions for LT-h/f support.
12235
12236         * tabular_funcs.[hC]: added and moved here all not classfunctions
12237         of LyXTabular.
12238
12239 2001-12-19  Juergen Vigna  <jug@sad.it>
12240
12241         * tabular.[Ch]: better support for longtabular options (not finished
12242         yet!)
12243
12244 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12245
12246         * text.C (paintLastRow): use the label font instead of the font of
12247         the last character to compute the size of *_BOX. This makes more
12248         sense and avoids a crash with empty paragraphs.
12249         Use Painter::rectangle to draw EMPTY_BOX.
12250
12251 2001-12-19  Juergen Vigna  <jug@sad.it>
12252
12253         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12254         the paragraphs if the replaced paragraph is not the first one!
12255         Tried to delete not used paragraphs but does not work yet so for
12256         now it's inside #ifdef's and by default off!
12257
12258 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12259
12260         * MenuBackend.C: include "lyx_main.h" instead of declaring
12261         lastfiles (actually was declared as LastFiles* instead of a
12262         scoped_ptr).
12263
12264 2001-12-17  Juergen Vigna  <jug@sad.it>
12265
12266         * tabular.C (AppendColumn): applied John's fix
12267
12268 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * BufferView.h:
12271         * BufferView.C:
12272         * BufferView_pimpl.h:
12273         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12274
12275         * Makefile.am:
12276         * box.h: new start of class for above
12277
12278         * lyxfunc.C: ignore space-only minibuffer dispatches.
12279           Show the command name when it doesn't exist
12280
12281         * minibuffer.C: don't add empty lines to the history
12282
12283         * minibuffer.C: add a space on dropdown completion
12284
12285 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12286
12287         * text.C: fix line above/below drawing in insets
12288
12289 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12290
12291         * lyxlength.C (LyXLength): Initialize private variables.
12292
12293 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12294
12295         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12296         when inserting error insets.
12297
12298 2001-12-13  Juergen Vigna  <jug@sad.it>
12299
12300         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12301         actually sometimes the before-paragraph.
12302         (setUndo): don't clear the redostack if we're not actually undoing!
12303
12304 2001-12-06  Juergen Vigna  <jug@sad.it>
12305
12306         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12307         and fixed redoing of main paragraph, so we can use it now ;)
12308
12309         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12310
12311 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12312
12313         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12314         Juergen's request
12315
12316 2001-12-13  André Pönitz <poenitz@gmx.net>
12317
12318         * undostack.[Ch]:
12319         * undo_func.C: minor cleanup
12320
12321 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12322
12323         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12324         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12325         font in urw-fonts package which is marked as -urw-fontspecific and
12326         does not work (incidentally, changing the encoding in the
12327         fonts.dir of this package to -adobe-fontspecific fixes the
12328         problem).
12329
12330         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12331         is a crash when undoing first paragraph (Juergen, please take a
12332         look). THis does not mean the undo fix is wrong, just that it
12333         uncovers problems.
12334
12335         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12336         the (Paragraph*) version when needed instead of duplicating the
12337         code.
12338
12339         * text.C (workWidth): use Inset::parOwner to find out where the
12340         inset has been inserted. This is a huge performance gain for large
12341         documents with lots of insets. If Inset::parOwner is not set, fall
12342         back on the brute force method
12343
12344         * paragraph_pimpl.C (insertInset):
12345         * paragraph.C (Paragraph):
12346         (cutIntoMinibuffer): set parOwner of insets when
12347         inserting/removing them
12348
12349         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12350
12351 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12352
12353         * commandtags.h:
12354         * LyXAction.C:
12355         * lyx_main.C:
12356         * lyxfunc.C:
12357         * mathed/formulabase.C:
12358         * mathed/math_cursor.[Ch]:
12359         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12360
12361
12362 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * lyxlength.[Ch] (operator!=): new function
12365
12366 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12367
12368         * text.C (workWidth): use Inset::parOwner to find out where the
12369         inset has been inserted. This is a huge performance gain for large
12370         documents with lots of insets. If Inset::parOwner is not set, fall
12371         back on the brute force method
12372
12373         * paragraph_pimpl.C (insertInset):
12374         * paragraph.C (Paragraph):
12375         (cutIntoMinibuffer): set parOwner of insets when
12376         inserting/removing them
12377
12378         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12379
12380 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12381
12382         * tabular-old.C (getTokenValue):
12383         * tabular.C (getTokenValue):
12384         (write_attribute): new versions for LyXLength
12385         (everywhere): adjust the use of widths
12386
12387         * tabular.h: change the type of widths from string to LyXLength
12388
12389 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12390
12391         * paragraph.C: fixed missing line number count when exporting
12392         Environments to LaTeX file
12393
12394         * buffer.C: added informational message for checking line numbers.
12395
12396 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12397
12398         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12399         paragraph, do the 'double space' part, but not the 'empty
12400         paragraph' one.
12401
12402         * text.C (workWidth): small optimization
12403         (getLengthMarkerHeight): use minimal size for negative lengths.
12404
12405 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12406
12407         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12408
12409         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12410
12411 2001-12-11  André Pönitz <poenitz@gmx.net>
12412
12413         * FontLoader.C:
12414         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12415
12416 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12417
12418         * text2.C: keep selection on a setFont()
12419
12420 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * lyx_cb.C: another bv->text misuse, from insert label
12423
12424 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * kbsequence.h:
12427         * kbsequence.C: re-instate nmodifier mask
12428
12429 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12430
12431         * lyx_main.h: make lyxGUI private.
12432
12433 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12434
12435         * lyxfind.C: place the cursor correctly on failed search
12436
12437 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12438
12439         * text.C (getLengthMarkerHeight): for small heights, the arrows
12440         are not always on top/bottom of the text
12441         (drawLengthMarker): smaller arrows; take the left margin in
12442         account; draw also vfills.
12443         (paintFirstRow):
12444         (paintLastRow): remove special code for vfill and standard spaces,
12445         since everything is handled in drawLengthMarker now.
12446
12447 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12448
12449         * buffer.C (insertErtContents): try to handle font and language
12450         interaction a bit better.g
12451
12452         * ColorHandler.C (updateColor): change the hash to cover the whole
12453         LColor enum, ws cleanup
12454         (getGCLinepars): ditto
12455         (getGCLinepars): only lookup in the linecache once.
12456
12457 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12458
12459         * iterators.C (operator++): Make the iterator more robust
12460
12461         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12462         (John's patch)
12463         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12464
12465 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * lyxtext.h:
12468         * text.C: better added space drawing
12469
12470 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * LyXView.C:
12473         * BufferView2.C: fix layout combo update on inset unlock
12474
12475 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * Makefile.am: don't compile unused files
12478
12479 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12480
12481         * lyxfunc.C:
12482         * commandtags.h:
12483         * LyXAction.C: remove old LFUN_LAYOUTNO
12484
12485 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * paragraph_pimpl.h:
12488         * paragraph_pimpl.C: isTextAt() doesn't need font param
12489
12490 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * lyxlex.h:
12493         * lyxlex.C: little cleanup
12494
12495 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * BufferView_pimpl.C: fix insertAscii for insets
12498
12499 2001-12-05  Juergen Vigna  <jug@sad.it>
12500
12501         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12502         set the right font on the "multi" paragraph paste!
12503
12504 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * trans_decl.h:
12507         * trans_mgr.[Ch]:
12508         * trans.[Ch]:
12509         * lyxgluelength.C:
12510         * lyxlength.C: remove out-commented code.
12511
12512         * BufferView_pimpl:
12513         * CutAndPaste.C:
12514         * DepTable.C:
12515         * buffer.C:
12516         * chset.C:
12517         * lastfiles.C:
12518         * lyxlex.C:
12519         * lyxlex_pimpl.C:
12520         * lyxserver.C:
12521         * screen.C:
12522         * tabular-old.C:
12523         * tabular.C:
12524         * text.C:
12525         * trans_mgr.C:
12526         * vc-backend.C: change "while(" to "while ("
12527
12528         * lyxlength.[Ch]: add zero function to check if length is zero or
12529         not
12530         * lyxgluelength.C: use it
12531
12532 2001-12-05  Allan Rae  <rae@lyx.org>
12533
12534         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12535         Works for 2.95.3, from what I understand of Garst's reports this should
12536         work for other g++ versions.  We're screwed if the abs(int) definition
12537         changed between bugfix releases of gcc.
12538
12539 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12540
12541         * text.C: fix chapter label offset !
12542
12543 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * lyxtext.h:
12546         * text.C: fix hfill at end of line, clean up
12547
12548 2001-12-04  Juergen Vigna  <jug@sad.it>
12549
12550         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12551         that we force an update of the inset and it's owners if neccessary.
12552
12553 2001-12-03  Juergen Vigna  <jug@sad.it>
12554
12555         * text.C (rowLast): simplified code
12556
12557 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12558
12559         * lyxfunc.C: fix show options on timeout
12560
12561 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * screen.C (topCursorVisible): scroll half a page when the cursor
12564         reached top of bottom of screen
12565
12566 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * minibuffer.C: deactivate on loss of focus
12569
12570 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * vspace.[Ch] (operator!=): add operator.
12573
12574 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12575
12576         * BufferView_pimpl.C: refuse to open an inset when
12577         there's a selection.
12578
12579 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12580
12581         * BufferView_pimpl.C: allow to click on RHS of full row insets
12582
12583 2001-11-30  Juergen Vigna  <jug@sad.it>
12584
12585         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12586         insets for undo reasons.
12587
12588 2001-11-28  André Pönitz <poenitz@gmx.net>
12589
12590         * vspace.[Ch]: cosmetical changes
12591
12592 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * LyXAction.h:
12595         * LyXAction.C:
12596         * lyxfunc.h:
12597         * lyxfunc.C:
12598         * kbmap.h:
12599         * kbmap.C:
12600         * lyxrc.C:
12601         * kbsequence.h:
12602         * kbsequence.C: part re-write of old kb code
12603
12604         * Painter.C:
12605         * WorkArea.C: remove Lgb_bug_find_hack
12606
12607 2001-11-30  José Matos <jamatos@fep.up.pt>
12608
12609         * buffer.C (makeDocBookFile): add a comment to point a hack.
12610         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12611         Fixed a double write of labels.
12612
12613 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12614
12615         * LaTeX.C:
12616         * LaTeX.h Fixed bug in LaTeX class where it would not
12617         re-run latex if no depfiles were changed, but the .dvi was removed.
12618
12619 2001-11-28  André Pönitz <poenitz@gmx.net>
12620
12621         * all the files from the change on 2001/11/26:
12622         use lyx::layout_type instead of LyXTextClass::size_type
12623         use lyx::textclass_type instead of LyXTextClassList::size_type
12624
12625 2001-11-29  Juergen Vigna  <jug@sad.it>
12626
12627         * text.C: added support for paragraph::isFreeSpacing()
12628
12629         * buffer.C: same as above
12630
12631         * paragraph.h: inserted isFreeSpacing() function to enable
12632         FreeSpacing inside InsetERT.
12633
12634         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12635         of the paragraph's in the cut/copy buffer to 0!
12636
12637         * text2.C (removeRow): remove the assert as it can!
12638
12639         * lyxtext.h: added helper function firstRow returning firstrow and
12640         made firstrow private again.
12641
12642         * BufferView2.C (lockInset): don't relock if we're already locked!
12643
12644         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12645         the only paragraph.
12646         (removeRow): added Assert::(firstrow)
12647
12648         * debug.C: forgot to add INSETTEXT here.
12649
12650 2001-11-28  Juergen Vigna  <jug@sad.it>
12651
12652         * sp_spell.C (initialize): changed error text to more general
12653         spellchecker command use (not only ispell!)
12654
12655         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12656
12657         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12658
12659 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * vspace.C: initialise lyxgluelength on failure
12662
12663 2001-11-28  Allan Rae  <rae@lyx.org>
12664
12665         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12666         declaration & definition that looks like a function declaration.
12667
12668 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12669
12670         * BufferView2.C (copy):
12671         (copyEnvironment): do not clear the selection when doing a copy.
12672
12673         * text.C (paintFirstRow): compilation fix
12674
12675 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12676
12677         * tabular.C (Latex): correct line count when writing latex.
12678
12679 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12680
12681         * paragraph_pimpl.h:
12682         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12683           bug a bit
12684
12685 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12686
12687         * text.C:
12688         * LColor.h:
12689         * LColor.C: change vfillline->added_space
12690
12691         * text.C: add markers and text for added space
12692
12693         * vspace.C: fix comment
12694
12695 2001-11-28  André Pönitz <poenitz@gmx.net>
12696
12697         * paragraph.C: whitespace changes
12698         * all the other files from the change on 2001/11/26:
12699         change *::pos_type into lyx::pos_type
12700
12701 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12702
12703         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12704         language of the document when inserting error insets.
12705
12706 2001-11-26  André Pönitz <poenitz@gmx.net>
12707
12708         * BufferView_pimpl.[Ch]:
12709         *       CutAndPaste.C:
12710         * buffer.[Ch]:
12711         * lyxcursor.[Ch]:
12712         * lyxfind.C:
12713         * lyxfunc.C:
12714         * lyxrow.[Ch]:
12715         * paragraph.[Ch]:
12716         * paragraph_pimpl.[Ch]:
12717         * sp_spell.C:
12718         * text.C:
12719         * text2.C: reduce header dependencies, introduce type for positions
12720
12721 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * <various>: change to use Alert.h
12724
12725 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12726
12727         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12728         when encountering an unknown token.
12729         (readLyXformat2): Show an error message if there were unknown tokens.
12730
12731 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * BufferView2.C:
12734         * BufferView_pimpl.C:
12735         * buffer.C:
12736         * paragraph.h:
12737         * text.C:
12738         * text2.C: use par->isInset()
12739
12740 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12741
12742         * paragraph_pimpl.h:
12743         * paragraph_pimpl.C: cleanup
12744
12745 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12746
12747         * text2.C (removeRow):
12748         * text.C (setHeightOfRow): remove useless (and costly) call to
12749         getRow.
12750
12751 2001-11-20  Allan Rae  <rae@lyx.org>
12752
12753         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12754         Now need Inset*::checkInsertChar() to return true for appropriate
12755         cases so that the characters in the minibuffer will actually be
12756         inserted.
12757
12758 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * text.C: change the order of the includes.
12761         (workWidth): initialize it at once.
12762         (workWidth): make maxw unsigned
12763         (setHeightOfRow): remove unused variable (inset)
12764         (selectSelectedWord): remove unused variable (inset)
12765         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12766
12767 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12768
12769         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12770         server is not running.
12771         (openConnection):
12772         (closeConnection): add debug info when server is disabled.
12773
12774         * ColorHandler.C (getGCForeground): send debug message to GUI
12775         channel.
12776
12777         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12778
12779         * kbmap.C (bind): modify because return conventions of
12780         kb_sequence::parse have changed.
12781
12782         * kbsequence.C (parse): only ignore spaces and not any stupid
12783         control character. This avoids tests like s[i] <= ' ', which are
12784         guaranteed to fail with 8bit characters and signed chars.
12785         Change return code to string::npos when there have been no error
12786         (0 was a bad idea when error is at first character)
12787
12788 2001-11-14  José Matos  <jamatos@fep.up.pt>
12789
12790         * buffer.h:
12791         * buffer.C (simpleDocBookOnePar): removed unused argument.
12792
12793 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12796         insets which are part of a word. Paragraph::isLetter takes care of
12797         that now. Use Paragraph::isInset to identify insets.
12798         (selectSelectedWord): do not test for hyphenation break.
12799
12800         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12801         that protected spaces are considered as spaces.
12802
12803         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12804         Inset::isLetter.
12805
12806 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12807
12808         * lyxserver.h:
12809         * lyxserver.C: fix it. and small cleanup.
12810
12811 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12812
12813         * BufferView_pimpl.C: use inline helpers
12814
12815         * LaTeXFeatures.h:
12816         * LaTeXFeatures.C: fix typos
12817
12818         * Spacing.h:
12819         * Spacing.C: move spacing_string into class
12820
12821         * ToolbarDefaults.C: move stuff into namespace anon
12822
12823         * layout.h: update enum
12824
12825         * lyxfunc.C: use better debug
12826
12827         * minibuffer.h: fix typo
12828
12829         * debug.h:
12830         * debug.C:
12831         * WorkArea.C: add and use Debug::WORKAREA
12832
12833         * lyxtext.h:
12834         * text.C:
12835         * text2.C: code re-organisation, inline helpers
12836
12837 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12838
12839         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12840         std::vector.empty().
12841
12842 2001-11-09  Allan Rae  <rae@lyx.org>
12843
12844         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12845         '\n's after tables.  Tabular and ERT inset work now makes this no
12846         longer necessary.
12847
12848 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12849
12850         * minibuffer.h:
12851         * minibuffer.C: fix crash, improve drop-down completion
12852
12853 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12854
12855         * lyxserver.h:
12856         * lyxserver.C: invalidate fd's when doing endPipe()
12857
12858 2001-11-08  José Matos  <jamatos@fep.up.pt>
12859
12860         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12861         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12862
12863         * paragraph.h:
12864         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12865
12866 2001-11-07  José Matos  <jamatos@fep.up.pt>
12867
12868         * buffer.h:
12869         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12870         const qualifier.
12871
12872         * buffer.C (sgmlOpenTag):
12873         * buffer.C (sgmlCloseTag): removed debug info.
12874
12875         * buffer.h (sgmlOpenTag):
12876         * buffer.h (sgmlCloseTag): made public.
12877
12878 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12879
12880         * buffer.C (saveParamsAsDefaults):
12881         * lyx_cb.C (MenuLayoutSave): remove
12882
12883         * LyXAction.C (init):
12884         * commandtags.h:
12885         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12886
12887 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12888
12889         * buffer.C (setPaperStuff): removed from here...
12890
12891         * bufferparams.C (setPaperStuff): ... and moved there.
12892
12893 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12894
12895         * minibuffer.h:
12896         * minibuffer.C:
12897         * XFormsView.C: add support for drop-down completion
12898
12899 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12900
12901         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12902         commands.
12903
12904 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12905
12906         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12907         disabled.
12908
12909 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12910
12911         * lyx_main.C: change ref to known bugs
12912
12913 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12914
12915         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12916         to work around older babel problems.
12917
12918 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12919
12920         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12921
12922 2001-10-24  Juergen Vigna  <jug@sad.it>
12923
12924         * tabular-old.C (ReadOld): below variable changes reflected.
12925
12926         * tabular.[Ch]: added ltType struct for longtable header/footer
12927         defines and changed all instances where they are used. Added
12928         future support for double top/bottom rows.
12929
12930 2001-10-24  José Matos  <jamatos@fep.up.pt>
12931
12932         * buffer.h (docbookHandleCaption):
12933         * buffer.C (docbookHandleCaption): removed unused function.
12934         (makeDocBookFile): moved docbook supported version to v4.1.
12935
12936 2001-10-24  José Matos  <jamatos@fep.up.pt>
12937
12938         * tabular.h:
12939         * tabular.C (docbookRow): new function to export docbook code of a row.
12940         (DocBook): now honors the longtable flags.
12941
12942 2001-10-23  José Matos  <jamatos@fep.up.pt>
12943
12944         * LaTeXFeatures.h:
12945         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12946         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12947
12948         * buffer.C (makeLinuxDocFile):
12949         (makeDocBookFile): reworked the preamble, more clean, and with
12950         support for lyx defined entities. Changed the document declaration
12951         to be more XML friendly.
12952
12953         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12954         if we need to output XML that should be done with a filter.
12955
12956 2001-10-22  Juergen Vigna  <jug@sad.it>
12957
12958         * sp_pspell.h (class PSpell): add alive function needed in the
12959         controller to see if the spellchecker could be started.
12960
12961 2001-10-22  Juergen Vigna  <jug@sad.it>
12962
12963         * buffer.C (insertStringAsLines): modify the font for inserting
12964         chars in certain conditions by calling checkInsertChar(font).
12965
12966 2001-10-19  Juergen Vigna  <jug@sad.it>
12967
12968         * text.C (workWidth): use getRow instead of wrong algorithm.
12969         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12970
12971 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12972
12973         * lyxserver.h:
12974         * lyxserver.C:
12975         * lyx_main.h:
12976         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12977
12978 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12979
12980         * text.C (workWidth): do not search for the exact row when
12981         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12982         optimization for big documents.
12983
12984 2001-10-18  Juergen Vigna  <jug@sad.it>
12985
12986         * text.C (workWidth): new function with added Inset * parameter.
12987
12988 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12989
12990         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12991
12992         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12993         change return type of getColumnNearX.
12994
12995
12996         * text.C (changeRegionCase): use uppercase/lowercase instead of
12997         toupper/tolower.
12998         (leftMargin):
12999         (rightMargin): simplify code by factoring out the uses of
13000         textclasslist.
13001         (labelFill):
13002         (numberOfHfills):
13003         (setHeightOfRow):
13004         (appendParagraph): use Paragraph::size_type
13005
13006 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13007
13008         * vspace.C (asLatexString): add a missing break
13009
13010 2001-10-15  Herbert Voss  <voss@perce.de>
13011
13012         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13013
13014 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13015
13016         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13017         is not available.
13018
13019 2001-10-10  André Pönitz <poenitz@gmx.net>
13020
13021         * lyxfunc.C: removed greek_kb_flag.
13022
13023 2001-10-10  Herbert Voss  <voss@perce.de>
13024
13025         * lyx_main.C: delete global string help_lyxdir.
13026
13027 2001-10-09  Herbert Voss  <voss@perce.de>
13028
13029         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13030
13031         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13032
13033         * lyx_main.C: added global string help_lyxdir.
13034
13035         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13036
13037 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13038
13039         * lyxrc.C (set_font_norm_type): support iso8859-4
13040
13041 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13042
13043         * LaTeX.C (deplog): add another regex for MikTeX
13044
13045 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13046
13047         * lyxrc.C (set_font_norm_type): support iso8859-3
13048
13049 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13050
13051         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13052
13053         * LaTeXFeatures.C: remove special case of french and index
13054
13055         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13056         before \begin{document}). This solves several incompatibilities.
13057
13058 2001-10-03  Garst Reese  <reese@isn.net>
13059
13060         * lyx_cb.C: change CheckTex error msg.
13061
13062 2001-10-03  José Matos  <jamatos@fep.up.pt>
13063
13064         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13065
13066 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13067
13068         * .cvsignore: update
13069
13070         * lyx_main.C (commandLineVersionInfo): use new style version info.
13071
13072         * buffer.C (writeFile):
13073         (makeLaTeXFile):
13074         (makeLinuxDocFile):
13075         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13076
13077         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13078
13079         * version.h: update to use stuff in version.C
13080
13081         * version.C.in: new file. Contains version information determined
13082         at compile time. This is a merging of version.h and
13083         version_info.h.in.
13084
13085 2001-10-03  Juergen Vigna  <jug@sad.it>
13086
13087         * BufferView_pimpl.C (update): don't change "dirty" status in
13088         updateInset call.
13089
13090 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13091
13092         * WorkArea.C (c-tor): re-position version string slightly.
13093
13094 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13095
13096         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13097         revert to previous code.
13098
13099         WorkArea.[Ch]: (show, destroySplash): methods removed.
13100
13101         WorkArea.C: rework code so that it's an amalgam of the codes before and
13102         after the splash screen was moved to WorkArea.
13103
13104 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13105
13106         * lyxrc.C (read):
13107         * vspace.C (inPixels):
13108         (lyx_advance):
13109         * kbmap.C (bind):
13110         * buffer.C (insertStringAsLines):
13111         (asciiParagraph): fix types to be large enough
13112
13113         * lyxlex_pimpl.h: change member status from short to int
13114
13115         * layout.h: fix type of endlabeltype
13116
13117         * kbmap.C (bind):
13118         * kbsequence.C (parse): change return type to string::size_type
13119
13120         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13121         variable
13122
13123         * Bullet.C (bulletSize):
13124         (bulletEntry): do not use short ints as parameters
13125
13126         * BufferView2.C (insertLyXFile): change a char to an int.
13127
13128         * WorkArea.C (WorkArea): remove unneeded floats in computation
13129
13130 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13131
13132         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13133
13134         * paragraph.C (asString): Do not ignore newline/hfill chars when
13135         copying to the clipboard.
13136
13137 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13138
13139         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13140         after a multi-line inset.
13141
13142 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13143
13144         * paragraph.C (validate): Set NeedLyXFootnoteCode
13145
13146 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13149         and decrease-error to decrease.
13150
13151 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13152
13153         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13154         it more readable (should be equivalent)
13155
13156 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13157
13158         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13159
13160 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13163         of a cursor (row, etc.) after a character has been deleted
13164         (deleteEmptyParagraphMechanism): call the method above on _all_
13165         cursors held by the LyXText when a double space has been
13166         detected/deleted.
13167
13168 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13169
13170         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13171         pixmap.
13172         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13173
13174         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13175         background. Use greyOut() and the new show() methods to toggle between
13176         the foreground and background. Add code to remove the splash after
13177         its initial showing.
13178
13179         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13180         (create_forms): no longer call Dialogs::showSplash.
13181
13182 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13183
13184         * .cvsignore: add version_info.h
13185
13186 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13187
13188         * version_info.h.in: new file
13189
13190         * Makefile.am: add version_info.h.in
13191
13192         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13193         version_info.h instead of VERSION_INFO
13194
13195 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13196
13197         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13198         The ERT inset now returns string().
13199
13200 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13201
13202         * lyxtext.h, text.C (selectNextWord): renamed as
13203         selectNextWordToSpellcheck.
13204
13205         * text.C (selectNextWordToSpellcheck): Modified to not select
13206         words inside an ERT inset.
13207
13208 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13209
13210         * lyx_cb.C (MenuLayoutSave): change a bit the question
13211
13212         * sp_base.h: include <sys/types.h>
13213
13214 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13215
13216         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13217
13218 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13219
13220         * several files: fix typos in user-visible strings
13221
13222 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13223
13224         * text2.C (pasteSelection): do not set the selection, since it
13225         will be cleared later. Actually, the intent was to fix the way the
13226         selection was set, but I figured rmoving the code was just as good.
13227
13228 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13229
13230         * FontLoader.C (available): Check if font is available without
13231         loading the font.
13232
13233 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13234
13235         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13236
13237 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13238
13239         * lyxrc.[Ch]: added display_graphics variable and associated code.
13240
13241 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13242
13243         * bufferparams.C (hasClassDefaults): new method. Returns true if
13244         the buffer parameters correspond to known class defaults
13245
13246 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13247
13248         * XFormsView.C (show): set minimum size to the main window.
13249
13250 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13251
13252         * text2.C (copySelection):
13253         (cutSelection):
13254         * lyxfind.C (LyXReplace):
13255         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13256         LyXText::selectionAsString.
13257
13258         * paragraph.C (asString): add "label" argument to the second form
13259
13260         * text2.C (selectionAsString): add "label" argument and pass it to
13261         Paragraph::asString.
13262
13263 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13264
13265         * lyx_main.C (commandLineHelp): remove version information
13266
13267 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13268
13269         * lyx_main.C: add -version commandline option
13270
13271 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13272
13273         * paragraph.h: make the optional constructor arg required instead.
13274         some modifications to other files because of this.
13275
13276         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13277
13278         * lyxserver.C (C_LyXComm_callback): make it static
13279
13280         * lyx_main.C (error_handler): make it static
13281
13282         * lyx_gui.C (LyX_XErrHandler): make it static
13283
13284         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13285
13286         * WorkArea.C: make the extern "C" methods static.
13287
13288         * Makefile.am (lyx_LDADD): simplify
13289
13290 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13291
13292         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13293         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13294
13295         * LyXAction.C (init):
13296         * lyxfunc.C (dispatch): associated code removal.
13297
13298 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13299
13300         * lyxfont.h (isSymbolFont): shut off warning
13301
13302         * text.C (setHeightOfRow):
13303         (getVisibleRow): fix crash with empty paragraphs which have a
13304         bottom line
13305
13306 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13307
13308         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13309         code.
13310
13311 2001-09-04  José Matos  <jamatos@fep.up.pt>
13312         * buffer.C
13313         * buffer.h
13314         * tabular.C (docbook): rename docBook method to docbook.
13315
13316 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13317
13318         * Makefile.am: add dependencies to main.o.
13319
13320 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13321
13322         * FontLoader.C (available): Return false if !lyxrc.use_gui
13323
13324 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13325
13326         * FontInfo.C (query):
13327         * converter.C (view):
13328         * importer.C (Import):
13329         * exporter.C (Export): Can not -> cannot.
13330
13331 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13332
13333         * BufferView_pimpl.C: allow to create index inset even if
13334           string is empty
13335
13336 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13337
13338         * buffer.C (getLists): replace boost::tie code with an explicit pair
13339         as boost::tie can break some compilers.
13340
13341         * iterators.h: Added a std:: declaration to the return type of
13342         ParIterator::size.
13343
13344 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13345
13346         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13347           case.
13348
13349 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13350
13351         * iterators.[Ch]: New files. Provide paragraph iterators.
13352
13353         * buffer.C (changeLanguage): Use paragraph iterators.
13354         (isMultiLingual): ditto
13355
13356         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13357
13358 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13359
13360         * FontLoader.C: Support for cmr font.
13361
13362 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13363
13364         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13365         (available): New method.
13366
13367         * FontInfo.C (getFontname): Use scalable fonts even when
13368         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13369         found.
13370
13371 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13372
13373         * converter.C (Formats::view): reverted! Incorrect fix.
13374
13375 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13376
13377         * converter.C (Formats::view): only output the -paper option
13378         if the dvi viewer is xdvi, thereby fixing bug #233429.
13379
13380 2001-08-23  Herbert Voss  <voss@perce>
13381
13382         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13383
13384 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13385
13386         * Spacing.h (Spacing): Set space to Default on in the default
13387         constructor.
13388
13389 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13390
13391         * vc-backend.h (RCS::versionString): add RCS to version
13392         (CVS::versionString): add CVS to version
13393
13394         * vc-backend.C (scanMaster): do not add CVS to version.
13395         (scanMaster): do not add RCS to version
13396
13397         * lyxvc.C (versionString): new method
13398
13399         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13400
13401 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * Spacing.C (set): initialize fval
13404
13405 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13406
13407         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13408         " or \.
13409
13410 2001-08-16  Juergen Vigna  <jug@sad.it>
13411
13412         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13413
13414 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13415
13416         * BufferView_pimpl.C:
13417         * figureForm.C:
13418         * lyxtext.h:
13419         * text2.C: setParagraph takes linespacing now
13420
13421 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13422
13423         * LyxAction.C: add internal LFUN_CITATION_INSERT
13424
13425         * LyXView.C: actually apply fix
13426
13427         * bufferlist.C: fix open non-existent file
13428
13429         * lyxfind.C: fix indentation
13430
13431         * lyxfunc.C: remove unneeded assert, fix typo
13432
13433 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13434
13435         * MenuBackend.C: use "Floatname List"
13436
13437 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13438
13439         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13440         when converting LaTeX layout to insetERT.
13441         Generate a non-collapsed float when reading old float
13442
13443 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13444
13445         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13446         ERT insets.
13447
13448 2001-08-13  Juergen Vigna  <jug@sad.it>
13449
13450         * text.C (fill): return 0 instead of 20 as this seems to be the more
13451         correct value.
13452
13453 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13454
13455         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13456         lyxrc.font_norm.
13457
13458 2001-08-13  Juergen Vigna  <jug@sad.it>
13459
13460         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13461         casesensitive off.
13462         (SearchBackward): comment out the unlocking of the inset_owner this
13463         should not be needed!
13464
13465 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13466
13467         * Many files: Remove inherit_language, and add latex_language
13468
13469         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13470         collapsible insets.
13471
13472 2001-08-10  Juergen Vigna  <jug@sad.it>
13473
13474         * text.C (prepareToPrint): fixed hfill-width in draw!
13475
13476         * BufferView2.C (selectLastWord): save the selection cursor as this
13477         now is cleared in the function LyXText::clearSelection!
13478
13479 2001-08-08  Juergen Vigna  <jug@sad.it>
13480
13481         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13482         BACKSPACE type functions.
13483
13484         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13485         is only cutted from the document but not put in the cut-buffer, where
13486         still the old stuff should be.
13487
13488         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13489
13490         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13491
13492         * tabular.C (SetWidthOfCell): fixed special case where the width
13493         was not updated!
13494         (LeftLine): handle '|' in align_special.
13495         (RightLine): ditto
13496         (LeftAlreadyDrawed): ditto
13497         (SetWidthOfCell): ditto
13498
13499 2001-08-07  Juergen Vigna  <jug@sad.it>
13500
13501         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13502
13503 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13504
13505         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13506         * lyxlex.[hC]: ditto
13507
13508 2001-08-06  Juergen Vigna  <jug@sad.it>
13509
13510         * text.C (getVisibleRow): fix up row clearing a bit.
13511
13512 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13513
13514         * minibuffer.C: make sure the X server sees the changes in the input.
13515
13516 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * paragraph.C (getFont): split into...
13519         (getLabelFont): this
13520         (getLayoutFont): and this
13521         * paragraph_pimpl.C (realizeFont): calling this
13522
13523         * text2.C (getFont): split into...
13524         (getLayoutFont): this
13525         (getLabelFont): and this
13526         (realizeFont): all three calling this
13527
13528         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13529         files where used.
13530
13531 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13532
13533         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13534
13535 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13536
13537         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13538         layouts from the Quote inset insertion.
13539
13540 2001-08-03  Juergen Vigna  <jug@sad.it>
13541
13542         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13543
13544         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13545         only if status not is already CHANGED_IN_DRAW (second level).
13546
13547         * text.C (draw): don't set the need_break_row when inside an
13548         InsetText LyXText.
13549
13550 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * buffer.C (parseSingleLyXformat2Token): handle more latex
13553         conversion cases.
13554
13555         * bufferview_funcs.[hC]: change function names to
13556         begin with small char, adjust other files.
13557
13558 2001-08-02  André Pönitz <poenitz@gmx.net>
13559
13560         * lyxfunc.C:
13561         BufferView_pimpl.C: remove broken special code for math-greek
13562
13563 2001-08-02  Juergen Vigna  <jug@sad.it>
13564
13565         * BufferView_pimpl.C (update): redone this function so that we
13566         update the text again if there was a CHANGE_IN_DRAW.
13567
13568         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13569         (drawFromTo): added a new internal bool which is used by draw() and
13570         redraw() function.
13571         (general): some cursor drawing problems fixed.
13572
13573 2001-08-01  Juergen Vigna  <jug@sad.it>
13574
13575         * lyxfind.C (LyXFind): fixed
13576         (SearchForward): ditto
13577         (SearchBackward): ditto
13578
13579         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13580         spurius drawing of the cursor in the main area.
13581
13582         * text2.C (status): small fix which could lead to a segfault!
13583         (clearSelection): remove unneeded BufferView param.
13584
13585 2001-08-01  André Pönitz <poenitz@gmx.net>
13586
13587         * lyxfunc.C: small change due to changed mathed interface
13588
13589 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13590
13591         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13592
13593 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13594
13595         * lyxfunc.c: fail gracefully if file doesn't exist
13596
13597         * LyXSendto.C:
13598         * buffer.C:
13599         * lyxfunc.C:
13600         * BufferView_pimpl.C: IsDirWriteable() proto changed
13601
13602         * LyXView.C: fix updateWindowTitle() to store the last title
13603
13604 2001-07-31  Juergen Vigna  <jug@sad.it>
13605
13606         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13607         the font (wrong since using of Paragraph::highestFontInRange).
13608
13609         * paragraph.C (highestFontInRange): added a default_size parameter.
13610
13611         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13612         (setHeightOfRow): reformat
13613
13614 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13615
13616         * converter.[hC] + affected files: move to (inital-char)lowercase
13617         function names.
13618
13619         * ParagraphParameters.C (ParagraphParameters): remove commented code
13620
13621         * PainterBase.[Ch]: remove commented code
13622
13623         * LaTeXFeatures.h: add "bool floats" for float.sty
13624
13625         * LaTeXFeatures.C (LaTeXFeatures): init floats
13626         (require): handle float
13627         (getPackages): do it with floats
13628
13629 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * BufferView_pimpl.C (Dispatch): improve handling of
13632         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13633
13634         * commandtags.h: #include lyxfont.h here temporarily to avoid
13635         keybinding bug.
13636
13637         * bufferlist.h: include LString.h here.
13638
13639 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13640
13641         * text2.C (getStringToIndex): new method.
13642
13643 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13644
13645         * *: Reduced header file dependencies all over.
13646
13647 2001-07-30  Baruch Even  <baruch@lyx.org>
13648
13649         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13650
13651 2001-07-29  Baruch Even  <baruch@lyx.org>
13652
13653         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13654
13655 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * ParameterStruct.h (endif): add a default constructor to make
13658         sure that all variables is initialized.
13659
13660         * ParagraphParameters.C (ParagraphParameters): adjust
13661
13662 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13663
13664         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13665         index; also, check that there is something to index, and that it
13666         does not span over several paragraphs.
13667         (doubleClick): use WHOLE_WORD_STRICT for double click.
13668
13669         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13670
13671         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13672         scheme.
13673
13674 2001-07-26  Baruch Even  <baruch@lyx.org>
13675
13676         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13677         an InsetFig figure, backwards compatible reading of old figure code.
13678
13679 2001-07-27  Juergen Vigna  <jug@sad.it>
13680
13681         * text2.C: font.realize function adaption.
13682
13683         * text.C (draw): add a warnings lyxerr text if needed.
13684
13685         * layout.C: font.realize function adaption.
13686
13687         * language.C: add inherit_language and implement it's handlings
13688
13689         * bufferview_funcs.C (StyleReset): remove language parameter from
13690         font creation (should be language_inherit now).
13691
13692         * bufferparams.C (writeFile): handle ignore_language.
13693
13694         * paragraph.C (getFontSettings): the language has to be resolved
13695         otherwise we have problems in LyXFont!
13696
13697         * lyxfont.C (lyxWriteChanges): added document_language parameter
13698         (update): removed unneeded language parameter
13699
13700         * paragraph.C (validate): fixed wrong output of color-package when
13701         using interface colors for certain fonts in certain environments,
13702         which should not seen as that on the final output.
13703
13704 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13705
13706         * BufferView_pimpl.C:
13707         * Thesaurus.h:
13708         * Thesaurus.C:
13709         * Makefile.am:
13710         * commandtags.h:
13711         * LyXAction.C: add thesaurus support
13712
13713         * lyxfind.h:
13714         * lyxfind.C: add "once" parameter, for thesaurus, to not
13715           move to the next match
13716
13717 2001-07-26  Juergen Vigna  <jug@sad.it>
13718
13719         * lyxfont.C (realize): honor ignore_language too!
13720         (resolved): ditto.
13721
13722         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13723
13724         * text.C (draw): one place more for ignore_language to not draw
13725         itself!
13726
13727 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13728
13729         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13730
13731 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13732
13733         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13734         the minipage conversion problem.
13735
13736 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13737
13738         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13739         insert an inset.
13740
13741 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13742
13743         * BufferView.h: don't forward declare WorkArea
13744
13745         * BufferView.C: don't include WorkArea.h
13746
13747 2001-07-25  André Pönitz <poenitz@gmx.net>
13748
13749         * commandtags.h:
13750         * LyXAction.C:
13751         * lyxfunc.C:  new LFUN 'math-space'
13752
13753         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13754
13755 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13756
13757         * text2.C (toggleInset): call open/close
13758
13759 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13760
13761         * lyxfunc.C (dispatch): add debug for the disabled case
13762
13763         * font.C (buttonText): make similar to rectText
13764
13765         * buffer.C (readInset): comment out parsing of insetlist and
13766         insttheorem
13767
13768         * PainterBase.C (rectText): small correction
13769
13770         * BufferView_pimpl.C: comment out insettheorem and insetlist
13771         * LyXAction.C: ditto
13772         * commandtags.h: ditto
13773
13774 2001-07-24  Juergen Vigna  <jug@sad.it>
13775
13776         * text.C (draw): honor the ignore_language.
13777
13778         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13779
13780 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13781
13782         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13783         char inset.
13784
13785 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13786
13787         * lyxtext.h: remove unused (and unimplemented) methods
13788
13789 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13790
13791         * text.C (getVisibleRow): honor background color
13792
13793         * PainterBase.h:
13794         * Painter.h: remove default color argument for fillRectangle
13795
13796         * text.C (backgroundColor): new method
13797
13798 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13799
13800         * text.C (getVisibleRow): adjust
13801
13802         * font.[Ch] (rectText): new method, metrics
13803         (buttonText): new method, metrics
13804
13805         * PainterBase.[hC]: make rectText and buttonText always draw and take
13806         fewer paramteres.
13807
13808 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13809
13810         * ToolbarDefaults.C (read):
13811         * MenuBackend.C (read): allow escaping in all strings
13812
13813         * BufferView_pimpl.C (insertAndEditInset): new method.
13814         (Dispatch): use insertAndEditInset whenever appropriate.
13815
13816         * BufferView_pimpl.C (insertNote): removed
13817
13818         * BufferView_pimpl.C (smartQuote): new method, moved from
13819         BufferView; if an insetquote cannot be inserted, insert a '"'
13820         character instead.
13821
13822         * BufferView2.C: remove insertCorrectQuote();
13823
13824         * lyxfunc.C (getStatus): Add support for all remaingin
13825         inset-insert lfuns.
13826
13827         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13828
13829         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13830         command (necessary to pass " as parameter of self-insert.
13831
13832         * text.C (selectWordWhenUnderCursor):
13833         (selectWord): add word_location parameter
13834         (selectWordWhenUnderCursor): same + remove special code for word
13835         boundary.
13836         (selectNextWord): use kind() to guess type of insetspecialchar,
13837         not latex().
13838
13839         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13840         (insertErtContents): create ert insets as collapsed.
13841         (readInset): better compatibility code for Info inset.
13842
13843 2001-07-20  Juergen Vigna  <jug@sad.it>
13844
13845         * lyxfunc.C (dispatch): use always LyXFind now!
13846
13847         * text2.C (init): add a reinit flag so that the LyXText can be
13848         reinited instead of deleted and reallocated (used in InsetText).
13849
13850         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13851
13852         * text.C: ditto
13853
13854         * text2.C: ditto
13855
13856 2001-07-18  Juergen Vigna  <jug@sad.it>
13857
13858         * text.C (selectNextWord): handle insets inside inset by calling
13859         always the bv->text functions so that we can go up the_locking_inset!
13860
13861         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13862         in strange locations when inside an inset!
13863
13864         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13865         handling to include insets.
13866
13867         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13868
13869 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13870
13871         * LyXAction.C (init):
13872         * commandtags.h:
13873         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13874         LIGATURE_BREAK, since the name is so stupid.
13875
13876 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13877
13878         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13879         InsetInfos.
13880
13881         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13882
13883         * sp_form.[Ch]: remove.
13884
13885         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13886
13887         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13888         InsetInfo.
13889
13890         * src/buffer.C (readInset): ditto.
13891
13892 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13893
13894         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13895         menuSeparator(), endOfSentenceDot(), ldots() and
13896         hyphenationPoint(), which are therefore removed.
13897         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13898
13899         * LyXAction.C (init):
13900         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13901
13902         * paragraph.C (getWord): removed.
13903
13904         * BufferView_pimpl.C (Dispatch): use last word or selection for
13905         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13906
13907         * lyx_main.C (queryUserLyXDir): do not ask before creating
13908         user_dir, except if it has been named explicitely.
13909
13910 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13911
13912         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13913         a document of zero size.
13914
13915 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13916
13917         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13918         approriately in the c-tor and in require().
13919         (getPackages): output the appropriate LaTeX for natbib support.
13920
13921         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13922         variables "use_natbib" and "use_numerical_citations" when reading the
13923         LyX file.
13924         (readInset): read the various natbib cite commands.
13925         (validate): white-space change.
13926
13927         * bufferparams.[Ch]: new variables "bool use_natbib" and
13928         "bool use_numerical_citations".
13929         (writeFile): output them in the LyX file.
13930
13931 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13932
13933         * lyxfunc.C (getStatus): add support for all the inset insertion
13934         commands.
13935
13936         * text2.C (insertInset):
13937         * paragraph.C (insetAllowed):
13938         * BufferView_pimpl.C (insertInset): update to take in account the
13939         renaming of insertInsetAllowed
13940
13941         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13942
13943         * text2.C (getInset): new method. returns inset at cursor position.
13944
13945         * BufferView_pimpl.C (Dispatch): changes because of this.
13946
13947         * LyXAction.C (init): rename open-stuff to inset-toggle.
13948
13949         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13950
13951         * text2.C (toggleInset): renamed from openStuff; use
13952         Inset::open().
13953
13954 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13955
13956         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13957
13958         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13959
13960 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13961
13962         * buffer.C (readLyXformat2): Add filename to the error dialog
13963
13964 2001-07-18  Juergen Vigna  <jug@sad.it>
13965
13966         * tabular.C (GetCellNumber): put an assert here instead of the check!
13967
13968 2001-07-17  Juergen Vigna  <jug@sad.it>
13969
13970         * BufferView_pimpl.C (toggleSelection): adapted too.
13971
13972         * text.C (selectNextWord): adapted for use with insets.
13973         (selectSelectedWord): ditto
13974
13975 2001-07-17  Juergen Vigna  <jug@sad.it>
13976
13977         * sp_spell.C (PSpell): fix initialitation order.
13978
13979 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13980
13981         * paragraph.C: spacing
13982
13983 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13984
13985         * sp_spell.C: repair language selection for pspell
13986
13987 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13988
13989         * lyxfunc.h: change more methods to begin with lower char.
13990
13991 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13992
13993         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13994         for unknown layouts.
13995
13996 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13997
13998         * buffer.C (readLyXformat2): Generate an error dialog if there are
13999         unknown layouts.
14000
14001 2001-07-16  Juergen Vigna  <jug@sad.it>
14002
14003         * sp_spell.C: always compile ISpell part.
14004
14005         * lyxrc.C: added use_pspell entry and it's handling.
14006
14007 2001-07-13  Juergen Vigna  <jug@sad.it>
14008
14009         * sp_spell.C: removed double includes.
14010
14011 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14012
14013         Consistent use of Lsstream.h:
14014         * Lsstream.h: added using std::stringstream for consistencies sake.
14015
14016         * buffer.C: removed using std::stringstream
14017
14018         * lyxfont.C (stateText):
14019         * paragraph.C (asString):
14020         * text.C (selectNextWord, selectSelectedWord):
14021         * text2.C (setCounter):
14022         * vspace.C (asString, asLatexString):
14023         std::ostringstream -> ostringstream.
14024
14025 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14026
14027         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14028         * commandtags.h: add LFUN_HELP_ABOUTLYX
14029         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14030
14031 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14032
14033         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14034         cursorToggle()
14035         * lyx_gui_misc.C: remove spellchecker
14036         * lyxfunc.C: showSpellchecker
14037         * sp_base.h: added
14038         * sp_ispell.h: added
14039         * sp_pspell.h: added
14040         * sp_spell.C: added
14041         * sp_form.[Ch]: removed
14042         * spellchecker.[Ch]: removed
14043
14044 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14045
14046         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14047         is set.
14048         (simpleTeXSpecialChars): Simply print the input character without
14049         any special translation if pass_thru is set.
14050
14051         * layout.h: Added bool pass_thru to layout class for being able to
14052         implement pass through of a paragraph for Literate Programming.
14053
14054         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14055         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14056         * layout.C (Read): add "passthru" to list of layout tags and add
14057         code to set the pass_thru boolean when it is read.
14058
14059 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14060
14061         * trans_decl.h: remove allowed from KmodInfo
14062
14063         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14064         remove allowed code
14065         (Load): adjust
14066
14067         * paragraph_pimpl.C (erase): use boost::prior
14068
14069         * Painter.C (text): use data() instead of c_str() when length is
14070         also provided.
14071         * WorkArea.C (putClipboard): ditto
14072         * font.h (width): ditto
14073
14074         * BufferView2.C: use it-> instead of (*it). for iterators
14075         * texrow.C: ditto
14076         * paragraph_pimpl.C: ditto
14077         * paragraph.C: ditto
14078         * minibuffer.C: ditto
14079         * language.C: ditto
14080         * kbmap.C: ditto
14081         * encoding.C: ditto
14082         * counters.C: ditto
14083         * converter.C: ditto
14084         * chset.C: ditto
14085         * Variables.C: ditto
14086         * TextCache.C: ditto
14087         * MenuBackend.C: ditto
14088         * LyXAction.C: ditto
14089         * LColor.C: ditto
14090         * FloatList.C: ditto
14091         * DepTable.C: ditto
14092         * ColorHandler.C (LyXColorHandler): ditto
14093
14094 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14095
14096         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14097
14098         * text2.C (openStuff): reintroduce this method (which had been
14099         nuked in NEW_INSETS frenzy).
14100
14101         * lyxfunc.C (Dispatch): when an action has not been handled, use
14102         its name in the error message, not its number.
14103
14104         * paragraph.C (inInset): change method name to begin with lowercase.
14105
14106         * undo_funcs.C:
14107         * text2.C: updates because of this.
14108
14109 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14110
14111         * ToolbarDefaults.C (add): add spaces in error message
14112
14113 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14114
14115         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14116         (readLyXformat2): rename return_par to first_par, use lyxlex's
14117         pushToken and remove the manual push handling.
14118         (parseSingleLyXformat2Token): add another ert comp. variable:
14119         in_tabular, rename return_par to first_par. handle newlines better
14120
14121 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14122
14123         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14124
14125 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14126
14127         * text2.C (getParFromID): removed
14128
14129         * buffer.C (getParFromID): new method moved form lyxtext.
14130         * BufferView2.C (insertErrors): adjust
14131         (setCursorFromRow): adjust
14132         * BufferView_pimpl.C (restorePosition): adjust
14133         * lyxfunc.C (Dispatch): adjust
14134         * undo_funcs.C (textUndo): adjust
14135         (textRedo): adjust
14136         (textHandleUndo): adjust
14137         (textHandleUndo): adjust
14138
14139 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14140
14141         * buffer.C: up' the LYX_FORMAT
14142
14143         * lyxfont.h: turn NO_LATEX on as default
14144
14145         * buffer.C (insertErtContents): new methods of tex style compability.
14146         (parseSingleLyXformat2Token): use it several places.
14147         * tabular.C (OldFormatRead): and here
14148
14149 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14150
14151         * text2.C: remove some commented code.
14152         reindent file.
14153
14154         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14155         * trans.C: changes because of the above.
14156
14157 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14158
14159         * text2.C (setCounter): Fix counters bug with bibliography layout.
14160
14161 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14162
14163         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14164         own member functions
14165         (simpleTeXSpecialChars): ditto
14166
14167 2001-07-06  Juergen Vigna  <jug@sad.it>
14168
14169         * a lot of files: changed the access to LyXText::status and the
14170         call of undo-functions.
14171
14172         * undo.[Ch]: added a inset_id to the undo informations.
14173
14174         * undo_funcs.[Ch]: added and moved here all undo functions.
14175
14176         * lyxtext.h: give the status enum a weight, made status_ a private
14177         variable and made accessor functions for it, removed the whole bunch
14178         of undo-functions as they are now in their own file, make some
14179         functions publically available. Added function ownerParagraph with
14180         int parameter.
14181
14182         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14183         made InInset() a const function, added getParFromID() function.
14184
14185         * buffer.[Ch]: added const version for inset_iterator functions,
14186         added getInsetFromID() function.
14187
14188         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14189         changed undo functions for new version.
14190
14191 2001-07-05  Juergen Vigna  <jug@sad.it>
14192
14193         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14194         unknow mechanism does not call the proper constructor but only this
14195         one also if I request the other!?
14196
14197 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14198
14199         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14200
14201         * text2.C (LyXText): use initialization lists.
14202
14203         * lyxtext.h (Selection): initialize set_ and mark_
14204         (init): remove method
14205
14206 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14207
14208         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14209
14210 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14211
14212         * screen.[Ch]: change method names to begin with lowercase
14213
14214         * BufferView_pimpl.C (updateScrollbar): simplify further and
14215         hopefully make it a bit faster.
14216
14217 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14218
14219         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14220         calling directly xforms functions.
14221
14222         * Painter.C (Painter):
14223         * lyx_cb.C (MenuWrite):
14224         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14225         fl_display.
14226
14227         * lyx_gui.C: remove bogus guiruntime extern declaration.
14228
14229 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14230
14231         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14232         in NEW_INSETS
14233         (redoDrawingOfParagraph): ditto
14234         (redoParagraphs): ditto
14235         (cutSelection): don't create a object for CutAndPaste use the
14236         static method directly
14237         (pasteSelection): ditto
14238
14239         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14240         LyXview (+ rename)
14241
14242 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14243
14244         * modifications to some other files because of this.
14245
14246         * Makefile.am (lyx_SOURCES): add XFormsView
14247
14248         * XFormsView.[Ch]: new files
14249
14250         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14251         the main window. Move the gui dependent stuff to XFormsView
14252
14253 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14254
14255         * tabular.C (GetCellInset): update cur_cell also in the row/col
14256         version of this function.
14257
14258         * lyxfunc.C: no need to include figure_form.h here.
14259
14260         * FontLoader.h:
14261         * lyxfunc.h:
14262         * lyxscreen.h:
14263         * text2.C:
14264         * lyxvc.C: no need to include forms.h here.
14265
14266 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14267
14268         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14269
14270         * lyxfunc.C (Dispatch):
14271         * Spacing.C (set):
14272         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14273         constructor argument.
14274
14275 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * paragraph.C (Paragraph): dont't clear, and just set layout.
14278         (makeSameLayout): use params's copy contructor.
14279
14280         * ParagraphParameters.[Ch] (makeSame): delete method
14281
14282 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14283
14284         * Variables.[Ch]: fix indentation, rename set to isSet
14285
14286 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14287
14288         * lyxfunc.C (Dispatch): fix typo
14289
14290 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14293         upper_bound.
14294
14295         * bufferlist.C: include assert.h for emergencyWrite().
14296
14297 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14298
14299         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14300           give up at last (bug #425202) !
14301
14302 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14303
14304         * lyx_gui_misc.C:
14305         * sp_form.h:
14306         * sp_form.C:
14307         * spellchecker.h:
14308         * spellchecker.C: strip spellchecker options and bring up
14309           preferences tab instead
14310
14311 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14312
14313         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14314         the istringstream constructor
14315
14316 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14317
14318         * paragraph.C (getLayout): fix return value
14319
14320         * paragraph.h: do not declare getLayout as inline.
14321
14322         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14323
14324 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14325
14326         * lyxcursor.h (operator<): new func
14327         (operator>): new func
14328         (operator>=): new func
14329         (operator<=): new func
14330
14331         * text.C (changeCase): use selection.start and selection.end
14332         (changeRegionCase): require from to be <= to. Require par to be a
14333         valid paragraph.
14334
14335         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14336
14337 2001-06-27  Juergen Vigna  <jug@sad.it>
14338
14339         * text.C (cursorLeftOneWord): changed to return the cursor and added
14340         overlay with BufferView * parameter which calls this one.
14341         (getWord): added
14342         (selectWord): use new getWord function.
14343         (changeCase): renamed from changeWordCase as and extended to work
14344         also on selections.
14345
14346         * lyxtext.h: added enum word_location
14347
14348         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14349         changeCase as this operates now also on selections.
14350
14351 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14352
14353         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14354
14355         * many files: send debug output to Debug::INFO instead of
14356         Debug::ANY.
14357
14358         * converter.C (View):
14359         (Convert):
14360         (Move): send debug output to Debug::FILES instead of console.
14361
14362 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14363
14364         * lyxfunc.C (getStatus): use func_status
14365
14366         * func_status.h: new header, describing the results of
14367         LyXFunc::getStatus;
14368
14369         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14370         LFUN_MATH_HALIGN.
14371
14372 2001-06-25  The LyX Project  <jug@sad.it>
14373
14374         * buffer.C (sgmlOpenTag):
14375         (sgmlCloseTag):
14376         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14377
14378 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14379
14380         * text2.C: remove some dead code
14381
14382         * tabular.C (GetCellInset): store the last cell checked (gotten)
14383
14384         * tabular.h: add the helper for the speedup
14385
14386         * lyxtext.h: remove some dead code
14387
14388 2001-06-26  The LyX Project  <Asger>
14389
14390         * paragraph.C: Change export to LaTeX of alignment to
14391         \begin{center} and family for better roundtrip work with reLyX.
14392
14393         * Tune the math drawing a bit.
14394
14395 2001-06-25  The LyX Project  <Asger>
14396
14397         * LColor.C (LColor): New color for math background. New color
14398         for buttons.
14399
14400 2001-06-25  The LyX Project  <jug@sad.it>
14401
14402         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14403
14404         * lyxfunc.C (Open):
14405         * bufferlist.C (newFile): do not restrict to files ending with
14406         .lyx
14407
14408         * BufferView_pimpl.C (MenuInsertLyXFile):
14409
14410 2001-06-24  The LyX Project  <jug@sad.it>
14411
14412         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14413         of compare_no_case
14414
14415 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14416
14417         * lyxtext.h: rename most methods to begin with a small char.
14418         Lots of changes because of this.
14419
14420         * paragraph.C (Paragraph): do not call fitToSize
14421         (erase): call Pimpl::erase
14422         (insertChar): call Pimpl::insertChar
14423         (insertInset): call Pipl::insertInset
14424         (breakParagraph): do not call fitToSize
14425         (breakParagraphConservative): do not call fitToSize
14426         (fitToSize): remove method
14427
14428         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14429
14430 2001-06-24  The LyX Project  <Asger>
14431
14432         * Fix Qt compilation^2
14433
14434 2001-06-24  The LyX Project  <jug@sad.it>
14435
14436         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14437         depthHook(getDepth()-1).
14438
14439         * paragraph.h:
14440         * ParagraphParameters.h:
14441         * ParameterStruct.h: change type of depth to unsigned int ==
14442         depth_type. Many adaptations to other files before of that.
14443
14444 2001-06-24  The LyX Project  <Asger>
14445
14446         * Fix Qt compilation.
14447
14448 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14449
14450         * paragraph.h: renamed several methods to begin with small letter.
14451         several changes to many parts of the code because of this.
14452
14453 2001-06-23  The LyX Project  <jug@sad.it>
14454
14455         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14456         rewritten to discard all double spaces when KeepEmpty is off
14457         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14458         to only handle newlines but not fiddle with spaces and friends.
14459
14460         * lyxfunc.C (MenuNew): when doing 'new from template', use
14461         template_path as default directory
14462
14463 2001-06-23  The LyX Project  <Asger>
14464
14465         * Clean-up of header file includes all over
14466         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14467
14468 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14469
14470         * paragraph.h: renamed from lyxparagraph.h
14471
14472 2001-06-23  Asger  <lyx@violet.home.sad.it>
14473
14474         * Buffer.h: Removed Buffer::resize
14475         * BufferList.h: Removed BufferList::resize
14476         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14477         the document lazily when we change the width, or the font settings.
14478
14479 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14480
14481         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14482
14483 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14484
14485         * buffer.h: remove out of date comment
14486
14487 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14488
14489         * lyxscreen.h:
14490         * screen.C: fix "theoretical" GC leak
14491
14492 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14493
14494         * LaTeX.C (scanAuxFile):
14495         (deplog): remove trailing \r when reading stream (useful under
14496         win32)
14497
14498 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14499
14500         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14501         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14502         and BufferView::theLockingInset(Inset*), so should use them and not
14503         access bv_->text->the_locking_inset directly.
14504
14505         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14506
14507 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14508
14509         * Makefile.am:
14510         * tex-defs.h: remove old unused file
14511
14512 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14513
14514         * BufferView_pimpl.C: fix typo, remove minibuffer message
14515           when buffer has loaded
14516
14517 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14518
14519         * lyxfunc.C (Dispatch): use stringstream
14520         (MenuNew): use stringstream
14521         (Open): use stringstream
14522
14523         * importer.C (Import): use stringstream
14524
14525         * bufferview_funcs.C (CurrentState): use stringstream
14526
14527         * LaTeX.C (run): use stringstream
14528
14529         * BufferView_pimpl.C (savePosition): use stringstream
14530         (restorePosition): use stringstream
14531         (MenuInsertLyXFile): use stringstream
14532
14533 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14534
14535         * BufferView.C:
14536         * Bullet.C:
14537         * ColorHandler.C:
14538         * FontInfo.C:
14539         * FontLoader.C:
14540         * LColor.C:
14541         * LaTeXFeatures.C:
14542         * Painter.C:
14543         * gettext.C:
14544         * lyx_gui_misc.C:
14545         * lyxserver.C:
14546         * vspace.C: removed // -*- C++ -*- as first line.
14547
14548         * lyxfind.h:
14549         * version.h: added // -*- C++ -*- as first line.
14550
14551 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14552
14553         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14554
14555         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14556         of string
14557
14558 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14559
14560         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14561         of floats.
14562
14563 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14564
14565         * gettext.C: include LString.h even when --disable-nls is on.
14566
14567 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14568
14569         * converter.h (Get): changed argument type from int to
14570         FormatList::size_type to avoid unnecessary conversion.
14571
14572         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14573         before using it.
14574
14575 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14576
14577         * gettext.h: include LString.h even when --disable-nls is on.
14578
14579 2001-06-07  Juergen Vigna  <jug@sad.it>
14580
14581         * text.C (BreakAgain): subst spaces with tabs.
14582
14583         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14584         (resizeInsetsLyXText): set force on resizeLyXText.
14585
14586 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14587
14588         * gettext.h (gettext_init):
14589         (locale_init): use a real definition instead of a macro
14590
14591 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14592
14593         * Bufferview_pimpl.C:
14594         * LColor.h:
14595         * LColor.C: further lcolor tidies
14596
14597 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14598
14599         * BufferView_pimpl.C (updateScrollbar): simplify.
14600
14601         * BufferView2.C: don't include insets/insetinfo.h, change
14602         prototype for insertInset and call the Pimpl version. let
14603         updateInset call Pimpl version.
14604
14605         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14606         gotoInset to BufferView::Pimpl
14607
14608 2001-06-01  Juergen Vigna  <jug@sad.it>
14609
14610         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14611         inside a LockingInset (is the update needed at all?).
14612
14613 2001-05-31  Juergen Vigna  <jug@sad.it>
14614
14615         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14616         here not the old one otherwise how should we compare it afterwards
14617         if it's the same!
14618
14619 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14620
14621         * lyxfont.C:
14622         * tabular.C:
14623         * tabular-old.C:
14624         * FontInfo.C: bring C functions into global namespace when
14625         necessary
14626
14627 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14628
14629         * LString.h: make sure config.h has been loaded before LString.h.
14630
14631         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14632         (one for each char read by EatLine!).
14633
14634         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14635         variables.
14636
14637 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14638
14639         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14640         to the same as the par we break from
14641
14642 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14643
14644         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14645
14646         * MenuBackend.C (expand): also create menu entries for wide
14647         versions of the floats.
14648
14649         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14650
14651         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14652
14653         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14654         frontends/Makefile.am
14655
14656         * text2.C: adjust
14657         * text.C: adjust
14658
14659
14660         * tabular.C (getTokenValue): add std::
14661
14662         * tabular-old.C (getTokenValue): add std::
14663         (getTokenValue): ditto
14664         (getTokenValue): ditto
14665
14666         * screen.C (ToggleSelection): adjust
14667
14668         * lyxtext.h: put selection cursors inside a Selection struct.
14669
14670         * lyxfunc.C (moveCursorUpdate): adjust
14671
14672         * lyxfont.C (latexWriteStartChanges): add std::
14673
14674         * lyxfind.C: adjust
14675
14676         * font.h: delete with(char const *, LyXFont const &)
14677
14678         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14679
14680         * FontInfo.C (getFontname): add std::
14681
14682         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14683         (workAreaButtonPress): adjust
14684         (tripleClick): adjust
14685         (update): adjust
14686         (moveCursorUpdate): adjust
14687         (Dispatch): adjust
14688
14689         * BufferView2.C (gotoInset): adjust
14690
14691 2001-05-30  Juergen Vigna  <jug@sad.it>
14692
14693         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14694         to check pspell I add this as default as I now have new pspell
14695         libraries and they seem to use this.
14696
14697 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14698
14699         * text2.C (CutSelection): make the cursor valid before the call to
14700         ClearSelection.
14701
14702 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14703
14704         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14705         relied on 0 terminated strings and other horrors. Bug found due to
14706         the new assert in lyxstring!
14707
14708         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14709         KP_ keys.
14710
14711 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14712
14713         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14714         to latinkeys.bind.
14715
14716         * lyxfunc.C (processKeySym): change method of getting to the
14717         self-insert char.
14718
14719         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14720         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14721         * BufferView_pimpl.[Ch]: here as private methods.
14722
14723 2001-05-28  Juergen Vigna  <jug@sad.it>
14724
14725         * text.C (SetHeightOfRow): added the update() call again as it is
14726         needed to initialize inset dimensions!
14727
14728 2001-05-16  Juergen Vigna  <jug@sad.it>
14729
14730         * text2.C (SetCharFont): Add new function with BufferView * and
14731         bool toggleall parameters for setting insets internal fonts.
14732         (SetFont): Freeze the undo as we may change fonts in Insets and
14733         all this change should be inside only one Undo!
14734
14735         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14736         setting font's in insets as for them we have the SetFont function!
14737
14738 2001-05-15  Juergen Vigna  <jug@sad.it>
14739
14740         * text2.C (ClearSelection): to be sure we REALLY don't have any
14741         selection anymore!
14742
14743         * tabular.C (TeXCellPreamble): fixed the left border problem for
14744         multicolumn cells.
14745
14746 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14747
14748         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14749         dependancy file
14750
14751 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14754         LFUN_BREAKPARAGRAPH.
14755
14756         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14757         help test to "internal only", similar for LFUN_INSERT_URL
14758
14759         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14760         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14761         auto_region_delete and deadkeys.
14762
14763 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14764
14765         * LColor.h:
14766         * LColor.C: remove some dead entries, tidy a little
14767
14768 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14771         commented code.
14772         (Dispatch): implement LFUN_ESCAPE
14773
14774         * commandtags.h: add LFUN_ESCAPE
14775
14776         * LyXAction.C (init): add entry for LFUN_ESCAPE
14777
14778         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14779         Remove commented code.
14780         (insertNote): moved here
14781         (open_new_inset): moved here
14782
14783         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14784         BufferView_pimpl
14785
14786 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14787
14788         * kbmap.C (findbinding): clean it up and make it work correctly.
14789
14790         * lyx_main.C (init): do not pass argc and argv as parameters
14791
14792 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14793
14794         * buffer.C: fix path for OS/2 & Win32
14795
14796         * lyx_gui.C:
14797         * lyx_main:
14798         * lyx_main.C: Added os:: class.
14799
14800         * os2_defines.h: update
14801
14802 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14803
14804         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14805         better by trying again with reduced state.
14806
14807 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14808
14809         * lyxrc.C (read): print error about invalid key sequence only when
14810         debugging (because not all latinX keysyms are known to some X
14811         servers)
14812
14813         * kbsequence.C (getiso): add a few std:: qualifiers
14814         (getiso): comment out extra return statement.
14815
14816 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14817
14818         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14819         handling.
14820         (Dispatch): enhance the accent inset a bit. (not perfect)
14821
14822 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14823
14824         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14825
14826 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14827
14828         * bufferlist.C (emergencyWrite): fix assert() call
14829
14830 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14831
14832         * text.C (InsertChar): Added trivial patch to only send the "you
14833         can not do multiple spaces this way" message once during a
14834         session.
14835
14836 2001-05-08  Baruch Even  <baruch@lyx.org>
14837
14838         * Makefile.am: Changed order of libraries to get LyX to link properly
14839         with the gnome frontend.
14840
14841 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14842
14843         * LaTeXFeatures.h: add a std:: qualifier
14844
14845 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14846
14847         * paragraph.C (String): use stringstream
14848
14849 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14850
14851         * paragraph.C (writeFile): remove footflag arg
14852
14853         * buffer.C (makeLaTeXFile): use stringstream
14854         (latexParagraphs): remove footnot gurba
14855
14856         * LaTeXFeatures.C (getPackages): use stringstream
14857         (getMacros): likewise
14858         (getTClassPreamble): likewise
14859         (getFloatDefinitions): new method
14860
14861         * paragraph.C (writeFile): reindent
14862         (Erase): reindent
14863
14864         * WorkArea.h: revert the xpos + etc changes.
14865
14866         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14867
14868         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14869
14870         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14871         (pasteSelection): likewise
14872         * text2.C (CreateUndo): likewise
14873
14874 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * minibuffer.C (peek_event): temporarily reduce the functionality
14877         of the minibuffer (to allow args on lfuns)
14878
14879         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14880         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14881
14882         * buffer.C (readInset): add compability reading of old float
14883         lists, add reading of new style float list.
14884         (readInset): avoid reevaluation of inscmd.getCmdName()
14885         (getLists): reindent
14886
14887         * MenuBackend.C (MenuItem): implement parsing of
14888         md_floatlistinsert and md_floatinsert.
14889         (expand::LastFiles): move initalizaton of iterators out of loop,
14890         avoid reevaluation.
14891         (expand::Documents): introduce typdedef vector<string> Strings,
14892         and use it.
14893         (expand::ExportFormats): introduce typedef vector<Format const *>
14894         Formats, and use it.
14895         (expand): implement FloatListInsert and FloatInsert.
14896
14897         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14898         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14899         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14900
14901         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14902         handling.
14903         (Dispatch::LFUN_FLOAT_LIST): implement
14904
14905 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14906
14907         * LaTeX.C (run): Fix problem with --export code.
14908
14909 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14910
14911         * BufferView.[Ch] (workarea): removed.
14912         (getClipboard) new method; wrapper for workarea()->getClipboard()
14913
14914         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14915         bug.
14916
14917         * WorkArea.h (width, height, xpos, ypos): These methods all
14918         returned the dimensions of the work_area sub-area of WorkArea,
14919         resulting in a position error if the WorkArea were resized. Now
14920         return the dimensions of the entire WorkArea.
14921
14922         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14923
14924 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14925
14926         * LaTeX.C (deplog): correct the syntax of regex reg1
14927
14928 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14929
14930         * undo.C: remove !NEW_INSETS cruft
14931
14932 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14933
14934         * text2.C: remove !NEW_INSETS cruft
14935
14936         * text.C: remove !NEW_INSETS cruft
14937
14938         * tabular.C: remove !NEW_INSETS cruft
14939
14940         * spellchecker.C: remove !NEW_INSETS cruft
14941
14942         * lyxtext.h: remove !NEW_INSETS cruft
14943
14944         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14945
14946         * lyxfunc.C: remove !NEW_INSETS cruft
14947
14948         * lyxfind.C: remove !NEW_INSETS cruft
14949
14950         * lyx_cb.C: remove !NEW_INSETS cruft
14951
14952         * figureForm.C: remove  !NEW_INSETS cruft
14953
14954         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14955
14956         * buffer.[Ch]: remove !NEW_INSETS cruft
14957
14958         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14959
14960         * CutAndPaste.C: remove !NEW_INSETS cruft
14961
14962         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14963
14964         * BufferView2.C: remove !NEW_INSETS cruft
14965
14966         * BufferView.h: remove !NEW_INSETS cruft
14967
14968 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14969
14970         * Lsstream.h: include LString.h before the sstream headers to
14971         fix problem with gcc 2.95.3 and lyxstring
14972
14973 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14974
14975         * lyx_main.C: add using directives when needed for C functions
14976         declared in std:: namespace.
14977
14978 2001-04-27  Juergen Vigna  <jug@sad.it>
14979
14980         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14981         (SetHeightOfRow): comment out the update call should not be needed!
14982
14983 2001-04-13  Juergen Vigna  <jug@sad.it>
14984
14985         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14986         (LyXTabular): tried to minimize operator= operations (and realized
14987         hopfully Lars wish).
14988
14989 2001-04-27  Juergen Vigna  <jug@sad.it>
14990
14991         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14992
14993 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14994
14995         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14996
14997         * buffer.C (readInset): hack to make listof algorithm work
14998
14999         * BufferView_pimpl.C: hack to make listof algorithm work
15000
15001 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15002
15003         * LyXAction.C: removed all !NEW_INSETS cruft
15004         (init): moved lfun_item in method
15005
15006         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15007
15008 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15009
15010         * BufferView2.C (theLockingInset): white space.
15011
15012 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15013
15014         * minibuffer.C: include <iostream>
15015
15016         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15017
15018         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15019
15020         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15021
15022         * text.[Ch] (TransposeChars): new method
15023
15024 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15025
15026         * call message directly through LyXView instead of through LyXFunc
15027         * BufferView2.C: adjust
15028         * BufferView_pimpl.C: adjust
15029         * FontLoader.C: adjust
15030         * buffer.C: adjust
15031         * bufferview_funcs.C: adjust
15032         * converter.C: adjust
15033         * figureForm.C: adjust
15034         * importer.C: adjust
15035         * lyx_cb.C: adjust
15036         * lyx_gui_misc.C: adjust
15037         * lyxfunc.C: adjust
15038         * lyxvc.C: adjust
15039         * text2.C: adjust
15040         + more files in subdirs
15041
15042         * lyxparagraph.h (size): move up int file
15043         (GetLayout): ditto
15044
15045         * adjust all uses of Assert to lyx::Assert.
15046
15047         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15048         lyxfunctional in namespace lyx
15049         * layout.C (hasLayout): ditto
15050         (GetLayout): ditto
15051         (GetLayout): ditto
15052         (delete_layout): ditto
15053         (NumberOfClass): ditto
15054         * converter.C (GetFormat): ditto
15055         (GetNumber): ditto
15056         (Add): ditto
15057         (Delete): ditto
15058         (SetViewer): ditto
15059         * bufferlist.C (getFileNames): ditto
15060         (emergencyWriteAll): ditto
15061         (exists): ditto
15062         (getBuffer): ditto
15063         * MenuBackend.C (hasSubmenu): ditto
15064         (hasMenu): ditto
15065         (getMenu): ditto
15066         * BufferView_pimpl.C (getInsetByCode): ditto
15067
15068 2001-04-18  Juergen Vigna  <jug@sad.it>
15069
15070         * vspace.C (asLatexString): fixed the 100% problem.
15071
15072 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15073
15074         * lyxfunc.C (Dispatch):
15075         * minibuffer.C:
15076         * minibuffer.h: add a few std:: qualifiers
15077
15078 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15079
15080         * minibuffer.[Ch]: reimplement so that commands is initiated and
15081         run from lyxfunc, simplified som handling, and made the completion
15082         and history code for complete. wip.
15083
15084         * lyxfunc.C (processKeySym): call message
15085         (miniDispatch): new temporary method
15086         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15087         (LFUN_MESSAGE): implement
15088         (LFUN_MESSAGE_PUSH): implement
15089         (LFUN_MESSAGE_POP): implement
15090         (initMiniBuffer): the initial/defualt minibuffer message.
15091
15092         * lyxfont.[Ch]: inline some more getters
15093
15094         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15095
15096         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15097
15098         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15099         (AutoSave): use LFUN_MESSAGE
15100         (Reconfigure): ditto
15101
15102         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15103
15104         * figureForm.C: use LFUN_MESSAGE
15105
15106         * converter.C (runLaTeX): use LFUN_MESSAGE
15107
15108         * bufferview_funcs.C: use LFUN_MESSAGE
15109         (Melt): ditto
15110         (changeDepth): ditto
15111
15112         * bufferparams.h: use boost::
15113
15114         * bufferlist.h: inherit privately from noncopyable
15115
15116         * bufferlist.C (loadLyXFile): remove some commented code.
15117
15118         * buffer.C (runChktex): use LFUN_MESSAGE
15119
15120         * ShareContainer.h: inherit privately from noncopyable
15121
15122         * ParagraphParameters.[hC] (depth): inline it.
15123
15124         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15125         methods.
15126         (message): new method
15127         (messagePush): ditto
15128         (messagePop): ditto
15129         (show): init minibuffer
15130         (showState): direct call
15131
15132         * LaTeX.[Ch]: inherit privately from noncopyable
15133         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15134         instead of WriteStatus.
15135
15136         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15137
15138         * BufferView_pimpl.C (buffer): don't init minibuffer
15139         (workAreaButtonPress): use LFUN_MESSAGE
15140         (workAreaButtonRelease): ditto
15141         (savePosition): ditto
15142         (restorePosition): ditto
15143         (MenuInsertLyXFile): ditto
15144         (workAreaExpose): don't init minibuffer
15145         (update): remove commented code, simplify
15146
15147         * BufferView2.C (openStuff): use LFUN_MESSAGE
15148         (toggleFloat): ditto
15149         (menuUndo): ditto
15150         (menuRedo): ditto
15151         (copyEnvironment): ditto
15152         (pasteEnvironment): ditto
15153         (copy): ditto
15154         (cut): ditto
15155         (paste): ditto
15156         (gotoInset): ditto
15157         (updateInset): remove some commented code
15158
15159         * lastfiles.h: inherit privately from noncopyable
15160         * layout.h: ditto
15161         * lyx_gui.h: ditto
15162         * lyx_main.h: ditto
15163         * lyxlex.h: ditto
15164         * lyxlex_pimpl.h: ditto
15165
15166         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15167         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15168         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15169
15170         * LyXAction.h: inherit privately from noncopyable, add methods
15171         func_begin, func_end, returning iterators to the func map.
15172
15173         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15174         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15175         (func_begin): new method
15176         (func_end): new method
15177
15178         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15179         and not)
15180         (copySelection): ditto
15181         (pasteSelection): ditto
15182
15183         * BufferView.C: whitespace change
15184         * BufferView.h: inherit privately from noncopyable
15185
15186 2001-04-16  Allan Rae  <rae@lyx.org>
15187
15188         * tabular-old.C (l_getline):
15189         * spellchecker.C (sc_check_word):
15190         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15191         an unrecognised preprocessor directive.  So ensure they're wrapped.
15192
15193 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15194
15195         * src/exporter.C (Export): Give an error message when path to file
15196         contains spaces.
15197
15198 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15199
15200         * LaTeX.C (deplog): Always check that foundfile exists.
15201
15202 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15203
15204         * lyx_main.h:
15205         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15206
15207 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15208
15209         * tabular.[Ch] (getLabelList): implement new method
15210
15211         * minibuffer.h: comment ouf setTiimer
15212
15213         * minibuffer.C (ExecutingCB): constify res
15214         (peek_event): constify s
15215         (Set): constify ntext
15216         (Init): constify nicename
15217
15218         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15219
15220         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15221         (savePosition): use two params to Minibuffer::Set
15222         (restorePosition): ditto
15223
15224 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15225
15226         * lyx_main.C: include language.h
15227
15228         * Makefile.am (lyx_main.o): add language.h
15229
15230 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15231
15232         * exporter.C:
15233         * paragraph.C:
15234         * screen.C:
15235         * tabular.C:
15236         * CutAndPaste.C: include gettext.h
15237
15238         * lyxfont.h: remove old hack with ON and OFF.
15239
15240         * lyxparagraph.h:
15241         * lyxfont.h: do not include language.h...
15242
15243         * BufferView2.C:
15244         * LaTeXFeatures.C:
15245         * Painter.C:
15246         * bufferview_funcs.C:
15247         * font.C:
15248         * lyxfont.C:
15249         * text.C:
15250         * text2.C:
15251         * trans_mgr.C:
15252         * paragraph.C: ... but do it here instead
15253
15254 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15255
15256         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15257
15258         * tabular.C: small reformat
15259
15260         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15261         NEW_INSETS version
15262         (GetChar): ditto
15263         (BreakParagraph): ditto
15264         (SetOnlyLayout): ditto
15265         (SetLayout): ditto
15266
15267         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15268         with one arg less.
15269
15270         * lastfiles.C: removed most using decl, add std:: where needed
15271
15272         * buffer.C: ws changes
15273
15274         * MenuBackend.C (class compare_format): put into anon namespace
15275         (expand): constify label, names, action, action2
15276         (expand):
15277
15278         * text.C (SingleWidth): constify font
15279         (IsBoundary): constify rtl2
15280         (GetVisibleRow): constify ww
15281
15282         * LaTeX.C (deplog): constify logfile
15283
15284         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15285         start_x, end_x
15286         (workAreaExpose): constify widthChange, heightChange
15287
15288         * lyxrow.C (par): moved
15289         (height): moved
15290         (next): moved
15291         * lyxrow.h: as inlines here
15292
15293         * lyxfont.h (shape): moved from lyxfont.C
15294         (emph): moved from lyxfont.C
15295
15296         * lyxfont.C (LyXFont): use initialization list for all
15297         constructors
15298         (shape): move to lyxfont.h as inline
15299         (emph): move to lyxfont.h as inline
15300
15301
15302 2001-04-04  Juergen Vigna  <jug@sad.it>
15303
15304         * vspace.C: had to include stdio.h for use of sscanf
15305
15306 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15307
15308         * BufferView.h:
15309         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15310         independent of xforms.
15311
15312 2001-04-02  Juergen Vigna  <jug@sad.it>
15313
15314         * spellchecker.C: fixed namespace placing!
15315
15316 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15317
15318         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15319         the LyXParagraph * is 0.
15320
15321 2001-03-29  Juergen Vigna  <jug@sad.it>
15322
15323         * vspace.C: added support for %, c%, p%, l%.
15324         (stringFromUnit): added helper function.
15325         (asLatexString): changed to give right results for the %-values.
15326
15327         * buffer.C: convert the widthp in a width%.
15328
15329 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15332         figureForm.[Ch].
15333
15334         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15335         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15336
15337         * lyx_cb.[Ch]: see above.
15338
15339         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15340         form1.[Ch].
15341
15342         * form1.[Ch]:
15343         * lyx.[Ch]: replaced by figure_form.[Ch].
15344
15345         * lyx_gui.C:
15346         * lyx_gui_misc.C:
15347         * lyxfunc.C: changed headers associated with above changes.
15348
15349 2001-03-27  Juergen Vigna  <jug@sad.it>
15350
15351         * BufferView_pimpl.C: set the temporary cursor right!
15352
15353 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15354
15355         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15356
15357 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15358
15359         * LString.h: removed "using std::getline"!
15360
15361         * BufferView_pimpl.C (Dispatch): changes due to changes in
15362         InsetInclude::Params.
15363
15364         * buffer.C (tag_name): removed redundant break statements as they were
15365         producing lots of warnings with my compiler.
15366
15367 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15368
15369         * LString.h: add "using std::getline" when using the real <string>.
15370
15371 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15372
15373         * buffer.C: removed bitset usage.
15374         PAR_TAG moved to an anonymous name space.
15375         (tag_name): new funtion, also in the anonymous namespace.
15376         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15377         (makeDocBookFile): clean code. Completed transition from string arrays
15378         to string vectors.
15379         (SimpleDocBookOnePar): code clean.
15380
15381 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15382
15383         * tabular.C: add some comments.
15384
15385 2001-03-22  Juergen Vigna  <jug@sad.it>
15386
15387         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15388         compatibility read a bit and fixed bug with minipage in different
15389         depth.
15390
15391 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15392
15393         * buffer.C (pop_tag): removed.
15394         (push_tag): removed.
15395         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15396         array replaced with vector. Added support for CDATA sections.
15397         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15398         at any nest level.
15399         (makeDocBookFile): XML conformant declaration of CDATA section,
15400         fixed bug related to <emphasis> in the first paragraph char.
15401         (sgmlOpenTag): exclude empty tags.
15402         (sgmlCloseTag): ditto.
15403
15404         * buffer.h (pop_tag): removed.
15405         (push_tag): removed.
15406
15407 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15408
15409         * language.h (Languages): added size_type and size().
15410
15411 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15412
15413         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15414         response on compability reading of minipages. One probliem is that
15415         the old usage of minipages was «flertydig»
15416
15417         * several files here and in subdirs: don't use static at file
15418         scope use anon namespaces instead.
15419
15420 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15421
15422         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15423         LaTeX output. This is necessary for Literate document
15424         processing.
15425
15426 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15427
15428         * buffer.C: insert hfill when needed.
15429
15430         * tabular.C (l_getline): use string::erase, small whitespace change.
15431
15432         * BufferView_pimpl.C: try the anon namespace.
15433         * WorkArea.C: ditto
15434
15435 2001-03-16  Juergen Vigna  <jug@sad.it>
15436
15437         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15438         otherwise it won't open options-dialogs.
15439
15440         * buffer.C: honor pextraWidth(p) on converting minipages.
15441
15442         * tabular.C (l_getline): changed the functions to strip trailing \r.
15443
15444 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15445
15446         * BufferView_pimpl.C:
15447         * minibuffer..C: added "using SigC::slot" declaration.
15448
15449 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15450
15451         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15452
15453         * text2.C: ditto
15454
15455         * text.C: ditto
15456
15457         * paragraph.C: ditto
15458
15459         * lyxtext.h: NO_PEXTRA
15460
15461         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15462
15463         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15464         * ParameterStruct.h: ditto
15465         * ParagraphParameters.h: ditto
15466         * lyxparagraph.h: ditto
15467
15468 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15469
15470         * buffer.C: add compability for minipage alignment.
15471         (latexParagraphs): remove unwanted pextra check.
15472
15473         * several files: remove CXX_WORKING_NAMESPACES
15474
15475         * buffer.C (pop_tag): tie is in namespace boost
15476
15477         * BufferView.h: noncopyable is in namespace boost
15478         * lyxlex.h: ditto
15479         * lyx_main.h: ditto
15480         * lyx_gui.h: ditto
15481         * layout.h: ditto
15482         * lastfiles.h: ditto
15483         * bufferlist.h: ditto
15484         * ShareContainer.h: ditto
15485         * LyXView.h: ditto
15486         * LyXAction.h: ditto
15487         * LaTeX.h: ditto
15488
15489 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15490
15491         * Merging changes from BRANCH_MVC back into HEAD.
15492
15493         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15494
15495 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15496
15497         * BufferView_pimpl.C: change from intl.C
15498
15499         * combox.h:
15500         * combox.C:
15501         * Makefile.am: move combox.*
15502
15503         * form1.h:
15504         * form1.C:
15505         * lyx_gui.C:
15506         * intl.h:
15507         * intl.C: remove dialog (covered by prefs)
15508
15509 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15510
15511         * lyxfunc.C (Dispatch): removed redundant break statement.
15512
15513 2001-03-14  Juergen Vigna  <jug@sad.it>
15514
15515         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15516
15517 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15518
15519         * buffer.C: add hack to fix compability reading of minipages.
15520
15521 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15522
15523         * buffer.C (getLists): Cleanup.
15524
15525 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15526
15527         * lyxfont.C (update): don't honor toggleall on font size.
15528
15529 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15530
15531         * bmtable.c:
15532         * bmtable.h:
15533         * Makefile.am: moved to frontends/xforms/
15534
15535         * lyx_gui_misc.C:
15536         * lyxfunc.C:
15537         * BufferView_pimpl.C: changes for moved mathpanel
15538
15539 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15540
15541         * gettext.h: fix gettext_init() in --disable-nls
15542
15543 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15544
15545         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15546
15547 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15548
15549         * lyx.C:
15550         * lyx.h: strip external form
15551
15552 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15553
15554         * BufferView_pimpl.C: add comment, destroySplash()
15555
15556 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15557
15558         * BufferView_pimpl.C:
15559         * LyXAction.C:
15560         * buffer.C:
15561         * commandtags.h:
15562         * lyxfunc.C: use re-worked insetinclude
15563
15564 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15565
15566         * buffer.C: add using std::stringstream.
15567
15568         * lyx_cb.C: readd using std::ios.
15569
15570         * buffer.C: add using std::map.
15571
15572         * BufferView_pimpl.C: add using std::vector.
15573
15574         * ShareContainer.h: add std:: to swap.
15575
15576         * buffer.h: add some typedefs
15577         * buffer.C (getLists): use them
15578         (getLists): renamed from getTocList.
15579         add a counter for the different float types and use it in the
15580         generated string.
15581         (getLists): use the same counter for the NEW_INSETS and the "non"
15582         NEW_INSETS
15583
15584         * lyx_cb.h: remove unused items, includes, using etc.
15585
15586         * ShareContainer.h: remove some commented code, add more comments
15587         and "documentation".
15588
15589 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15590
15591         * buffer.C (getTocList): make the list also when NEW_INSETS is
15592         defined.
15593
15594         * buffer.h: remove TocType
15595
15596         * buffer.C (getTocList): change to return a map<string,
15597         vector<TocItem> >, implement for dynamic number of list.
15598
15599         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15600         * text2.C (PasteSelection): adjust
15601         * CutAndPaste.C (pasteSelection): adjust
15602
15603         * FloatList.C (FloatList): update from the new_insets branch.
15604         * Floating.[Ch]: ditto
15605         * LaTeXFeatures.C: ditto
15606         * buffer.C: ditto
15607         * lyxlex_pimpl.C: ditto
15608
15609         * paragraph.C (Last): remove when NEW_INSETS is defined.
15610
15611         * other file: changes because of the above.
15612
15613 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15614
15615         * lyxparagraph.h: rename next to next_, previous to previous_,
15616         make them private for NEW_INSETS. Rename Next() to next(),
15617         Previous() to previous().
15618
15619         * other files: changes because of the above.
15620
15621 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15622
15623         * BufferView.h:
15624         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15625         problem.
15626
15627 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15628
15629         * main.C (main): pass lyx_localedir to gettext_init().
15630
15631         * gettext.h: remove locale_init and gettext_init macros
15632
15633         * gettext.C (locale_init): new function
15634         (gettext_init): new function
15635
15636         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15637         setlocale().
15638
15639 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15640
15641         * Moved credits to frontends:
15642         * credits.[Ch]: removed
15643         * credits_form.[Ch]: removed
15644         * lyx_gui_misc.C: remove credits stuff
15645         * Makefile.am:
15646
15647 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15648
15649         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15650
15651         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15652         unneeded destructor.
15653
15654         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15655         a standalone pointer again.
15656
15657         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15658
15659 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15660
15661         * Makefile.am:
15662         * filedlg.h:
15663         * filedlg.C:
15664         * LyXAction.C:
15665         * ToolbarDefaults.C:
15666         * bufferlist.C:
15667         * commandtags.h:
15668         * form1.C:
15669         * form1.h:
15670         * lyx_cb.C:
15671         * lyx_cb.h:
15672         * lyxfunc.h:
15673         * lyxfunc.C:
15674         * BufferView_pimpl.C: use new file dialog in GUII
15675
15676         * lyx_cb.h:
15677         * lyx_cb.C: remove LayoutsCB to Toolbar
15678
15679 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15680
15681         * ShareContainer.h (get): add std:: qualifier
15682
15683 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15684
15685         * ShareContainer.h: define a proper ShareContainer::value_type
15686         type (and use typename to please compaq cxx)
15687
15688 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15689
15690         * lyxparagraph.h: move serveral local vars to
15691         ParameterStruct/ParagraphParameters., use ShareContainer in
15692         FontTable., make vars in FontTable private and add getter and
15693         setter.
15694
15695         * paragraph.C: changes because of the above.
15696
15697         * lyxfont.h: remove copy constructor and copy assignment. (the
15698         default ones is ok), move number inside FontBits. move inlines to
15699         lyxfont.C
15700
15701         * lyxfont.C: add number to initializaton of statics, move several
15702         inlines here. constify several local vars. some whitespace
15703         cleanup. Dont hide outerscope variables.
15704
15705         * Spacing.h: add two new constructors to match the set methods.
15706
15707         * ShareContainer.h: new file, will perhaps be moved to support
15708
15709         * ParameterStruct.h: new file
15710
15711         * ParagraphParameters.h: new file
15712
15713         * ParagraphParameters.C: new file
15714
15715         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15716         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15717
15718         * BufferView_pimpl.C: ParagraphParameter changes.
15719         * buffer.C: Likewise.
15720         * bufferview_funcs.C: Likewise.
15721         * text.C: Likewise.
15722         * text2.C: Likewise.
15723
15724 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15725
15726         * lyxfind.C (LyXReplace): do not redefine default argument in
15727         implementation.
15728         (IsStringInText): ditto
15729         (SearchForward): ditto
15730         (SearchBackward): ditto
15731
15732 2001-03-06  Juergen Vigna  <jug@sad.it>
15733
15734         * lyxfind.C (IsStringInText): put parentes around expressions.
15735
15736 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15737
15738         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15739
15740 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15741
15742         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15743
15744         * stl_string_fwd.h: add comment
15745
15746         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15747
15748         * tabular.h:
15749         * tabular.C: remove unused DocBook methods
15750
15751         * intl.C:
15752         * language.C:
15753         * paragraph.C:
15754         * buffer.C:
15755         killed DO_USE_DEFAULT_LANGUAGE
15756
15757 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15758
15759         * lyx_gui.C: do not include language.h.
15760
15761         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15762         arguments in function implementation.
15763
15764 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15765
15766         * BufferView_pimpl.C: add <ctime>
15767
15768 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15769
15770         * BufferView_pimpl.C: add using std::find_if
15771
15772 2001-02-27  José Matos  <jamatos@fep.up.pt>
15773
15774         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15775         by OnlyPath.
15776
15777 2001-02-11  José Matos  <jamatos@fep.up.pt>
15778
15779         * buffer.C (makeDocBookFile): command styles now have a parameter as
15780         "title" by default.
15781
15782 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15783
15784         * layout_forms.[Ch]: removed
15785         * lyx_cb.[Ch]: out character
15786         * lyx_gui.C: out character
15787         * lyx_gui_misc.C: out character
15788         * bufferview_funcs.C: : out character,
15789         added toggleall as parameter in ToggleAndShow
15790
15791 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15792
15793         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15794
15795         * text2.C (SetCurrentFont): Disable number property at boundary.
15796
15797 2001-02-26  Juergen Vigna  <jug@sad.it>
15798
15799         * lyxfunc.C (getStatus): added a string argument override function so
15800         that this is correctly called from LyXFunc::Dispatch if it contains a
15801         do_not_use_argument which is used!
15802         (Dispatch): added check for "custom" export and call appropriate func.
15803
15804 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15805
15806         * lyxrc.C: Add language_command_local, language_use_babel and
15807         language_global_options.
15808
15809         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15810
15811         * buffer.C (makeLaTeXFile): Use language_use_babel and
15812         language_global_options.
15813
15814 2001-02-23  Juergen Vigna  <jug@sad.it>
15815
15816         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15817         which works with LyXText and putted it inside BufferView. Here now we
15818         only call for that part the BufferView::Dispatch() function.
15819
15820         * BufferView.C (Dispatch): added.
15821
15822         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15823         functions which needs to use a LyXText over from LyXFunc.
15824         (MenuInsertLyXFile): added
15825         (getInsetByCode): added
15826         (moveCursorUpdate): added
15827         (static TEXT): added
15828
15829 2001-02-22  Juergen Vigna  <jug@sad.it>
15830
15831         * BufferView_pimpl.C (update): call a status update to see if LyXText
15832         needs it.
15833
15834 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15835
15836         * vc-backend.C (revert): implement for CVS
15837         (getLog): implement for CVS
15838
15839 2001-02-20  Juergen Vigna  <jug@sad.it>
15840
15841         * text2.C (ClearSelection): added BufferView param for inset_owner call
15842
15843         * lyxfunc.C (TEXT): added this function and use it instead of
15844         directly owner->view()-text of getLyXText().
15845
15846 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15847
15848         * src/layout_forms.C: out preamble
15849         * src/layout_forms.h: out preamble
15850         * src/lyx_cb.C: out preamble
15851         * src/lyx_cb.h: out preamble
15852         * src/lyx_gui.C: out preamble
15853         * src/lyx_gui_misc.C: out preamble
15854         * src/lyxfunc.C: connect with guii preamble
15855
15856 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15857
15858         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15859
15860 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15861
15862         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15863         whether to run bibtex.
15864
15865 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15866
15867         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15868
15869 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15870
15871         * Makefile.am (lyx_SOURCES): removed bibforms.h
15872
15873         * vspace.h: doxygen
15874
15875         * text.C (GetVisibleRow): make several local vars const
15876
15877         * tabular.C: small cleanup.
15878
15879         * lyxserver.C (callback): use compare instead of strncmp
15880
15881         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15882         inlines to after class or to paragraph.C
15883
15884         * lyxfont.h: remove friend operator!=
15885
15886         * converter.h: move friend bool operator< to non friend and after
15887         class def.
15888
15889         * combox.h: small cleanup
15890
15891         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15892         to inlines after class def.
15893
15894         * buffer.C (pop_tag): use string operations instead of strcmp
15895
15896         * bmtable.c: doxygen, small cleanup
15897
15898         * LaTeX.h: remove friend operator==
15899
15900 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15901
15902         * screen.C:
15903         * lyxrc.[Ch]:
15904         * lyxfunc.C:
15905         * lyxfont.[Ch]:
15906         * lyx_cb.C:
15907         * intl.[Ch]:
15908         * commandtags.h:
15909         * buffer.C:
15910         * WorkArea.[Ch]:
15911         * LyXAction.C:
15912         * BufferView_pimpl.C:
15913         * BufferView.[Ch]: remove cruft
15914
15915 2001-02-14  Juergen Vigna  <jug@sad.it>
15916
15917         * lyxfunc.C: removed #if 0 unused code
15918
15919         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15920
15921         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15922
15923         * text2.C (SetSelection): added a BufferView * parameter
15924
15925 2001-02-13  Juergen Vigna  <jug@sad.it>
15926
15927         * lyxfunc.C (Dispatch): fixed protected blank problem.
15928         * BufferView2.C (protectedBlank): added LyxText * parameter.
15929
15930         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15931         (AppendColumn): same as above for column_info.
15932
15933         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15934         (moveCursorUpdate): use a LyXText param for support of InsetText.
15935
15936         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15937         (tripleClick): ditto
15938
15939         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15940
15941         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15942
15943         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15944
15945         * text2.C (SetSelection): set correct update status if inset_owner
15946         (ToggleFree): ditto
15947
15948 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15949
15950         * tabular.C: remove some commented code.
15951
15952 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15953
15954         * BufferView_pimpl.C: call hideSplash()
15955
15956         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15957
15958         * include_form.h:
15959         * bibforms.h: remove
15960
15961         * lyxfunc.C:
15962         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15963           add LFUN_CHILD_CREATE
15964
15965         * counters.h: fix tiny typo
15966
15967         * lyx_cb.C:
15968         * lyx.h:
15969         * lyx_gui.C:
15970         * lyx.C: move splash to frontends/xforms/
15971
15972         * lyx_gui_misc.C: move Include and Bibform to frontends
15973
15974         * lyxvc.h: clarify comment
15975
15976         * vspace.C: tiny housekeeping
15977
15978 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15979
15980         * text.C (PrepareToPrint): RTL Fix.
15981
15982         * paragraph.C (GetUChar): New method.
15983         (String):  Use GetUChar.
15984
15985         * buffer.C (asciiParagraph): Use GetUChar.
15986
15987 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15988
15989         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15990
15991 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15992
15993         * buffer.h:
15994         * buffer.C: rename to getLogName(), handle
15995           build log / latex log nicely
15996
15997 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15998
15999         * MenuBackend.C:
16000         * MenuBackend.h: remove support for reference menuitem type.
16001
16002 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16003
16004         * BufferView_pimpl.C: housekeeping
16005         * BufferView_pimpl.h:
16006         * LyXView.h:
16007         * Makefile.am:
16008         * Timeout.C:
16009         * Timeout.h:
16010         * minibuffer.h: move Timeout GUI-I
16011
16012 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16013
16014         * lyxrc.C (read): Update converters data-structures.
16015
16016 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16017
16018         * LaTeX.h (operator!=): add operator != for Aux_Info
16019
16020 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16021
16022         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16023
16024         * LaTeXLog.C: deleted, useful code moved to Buffer
16025
16026         * buffer.h:
16027         * buffer.C: new function getLatexLogName()
16028
16029         * lyx_gui_misc.C:
16030         * lyx_gui.C:
16031         * lyxvc.C:
16032         * lyxvc.h:
16033         * lyxfunc.C: use frontends for LaTeX and VC logs
16034
16035 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16036
16037         * LaTeX.h: yet another std:: that Allan forgot.
16038
16039         * Variables.C (set): renamed from isset(), because this clashes
16040         with some HP-UX macros (grr).
16041
16042 2001-02-06  Allan Rae  <rae@lyx.org>
16043
16044         * LaTeX.h: Another bug fix.  Missing std:: this time.
16045
16046 2001-02-04  Allan Rae  <rae@lyx.org>
16047
16048         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16049         floats problem. I've left it commented out because it's not quite
16050         correct.  It should also test that the current object is a table or
16051         figure inset.  But I haven't gotten around to figuring out how to do
16052         that.  I *think* it'll be something like: "table" == inset.type()
16053
16054         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16055         bool.
16056
16057 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16058
16059         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16060         all the citation/databases/styles in the auxilary file.
16061         (run): Rerun latex if there was a babel language error.
16062
16063 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16064
16065         * text.C (Backspace): Preserve the font when changing newline char
16066         with a space.
16067         (BreakParagraph): If the cursor is before a space, delete the space.
16068
16069         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16070
16071 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16072
16073         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16074         new argument (code).
16075         (ChangeCitationsIfUnique): New method.
16076
16077         * paragraph.C (GetPositionOfInset): Handle bibkey.
16078
16079 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16080
16081         * BufferView_pimpl.h: change type of Position::par_pos to
16082         LyXParagraph::size_type.
16083
16084 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16085
16086         * BufferView_pimpl.C (savePosition, restorePosition): Write
16087         messages to minibuffer.
16088
16089 2001-01-28  José Matos  <jamatos@fep.up.pt>
16090
16091         * buffer.C (makeDocBookFile): adds support for document language.
16092         A silly restriction on the name of LatexCommand types where removed.
16093         Added support for CDATA sections, allows to chars unescaped, used
16094         among others in code, to avoid escape < and >.
16095
16096 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16097
16098         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16099         saved positions instrad of a stack. Furthermore, a position is
16100         stored using paragraph id/paragraph position.
16101
16102         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16103         Remove LFUN_REF_BACK.
16104
16105 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16106
16107         * converter.C (dvipdfm_options): New method.
16108
16109 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * vspace.C (isValidLength): Fix for empty input string.
16112
16113 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16114
16115         * LyXAction.C (init): change description of LFUN_FIGURE to
16116         "Insert Graphics"
16117
16118 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16119
16120         * LaTeX.C: add using directive
16121
16122 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16123
16124         * MenuBackend.C (expand): Fix the sorting of the formats.
16125
16126 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16127
16128         * lyx_main.C: tiny error message fix
16129
16130 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16131
16132         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16133         calling fl_initialize(). This fixes the problem with ',' as
16134         decimal separator in text files.
16135
16136 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16137
16138         * trans.C (process): Fix the keymap bug.
16139
16140 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16141
16142         * LaTeX.C (scanAuxFiles): New method. Provides support for
16143         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16144         (scanLogFile) Scan for "run BibTeX" messages.
16145
16146         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16147         OT1 font encoding. Also, load the aecompl package if the ae
16148         package is loaded.
16149
16150         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16151
16152 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16153
16154         * texrow.C (increasePos): turn two error messages into debug
16155         messages.
16156
16157 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16158
16159         * LaTeX.C (scanAux): Handle the \@input macro.
16160         (runBibTeX): Use scanAux().
16161
16162         * language.C (latex_options_): New field.
16163
16164         * LaTeXFeatures.C (getMacros): Add language macros.
16165
16166         * buffer.C (makeLaTeXFile): Small fix.
16167
16168 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16169
16170         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16171
16172         * text2.C: add a using directive.
16173
16174 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16175
16176         * BufferView2.C:
16177         * lyx_gui_misc.h:
16178         * lyxfr1.C:
16179         * lyxfunc.C: kill LyXBell.
16180
16181 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16182
16183         * text.C (IsBoundary): Remove the error message
16184
16185         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16186
16187         * lyxrc.C (setDefaults): Correct initialization value for
16188         font_norm_type.
16189
16190 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16191
16192         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16193         gotoError().
16194
16195         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16196         and GotoNextNote().
16197
16198         * src/LyXAction.C: Added reference-next.
16199
16200         * text.C (InsertChar): Use contains instead of strchr.
16201
16202         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16203
16204 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16205
16206         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16207         alignment commands (when needed).
16208
16209         * text.C (InsertChar): Add ':' to number separator chars.